proof-checker
できること
このCodex版のproof checkerは、LaTeXの証明の穴を見つけて修正します。提出前に理論の証明を検証する必要がある研究者向けです。
使う場面
- ✓理論の証明があり、一歩ずつ検証したいとき。
- ✓穴を完全な導出で修正し、監査報告書を書いてほしいとき。
- ✓証明のどの部分が検証済みで、どの部分が暫定かを知りたいとき。
スキルのリンク
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/proof-checker/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のLaTeXの理論証明に穴がないか確認し、各穴を修正して監査報告書を書いてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
新しいCodexのレビュアーが穴を特定します。エージェントは各穴を完全な導出で修正し、証明を再確認に回して、証明の義務の数を含む監査報告書を書きます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Proof Checker: Rigorous Mathematical Verification & Fixing
Before each reviewer slot, follow Selectable Reviewers: resolve invocation →
.aris/reviewer.json→ Codex default (fresh native reviewer) withreviewer_route.pythrough the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only tobackend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections areREVIEW_UNAVAILABLE. Classify acceptance from actual families/completion/scope. Forward invocation reviewer/model/effort overrides to reviewer-bearing children. Generation workers are unchanged.
Codex assurance: base Codex proof judgments are
review_independence: same-familyandacceptance_status: provisional. Deterministic compilation/algebra checks may be accepted; a semantic proof acceptance requires a completed positive review with known different model families. Reviewer failure emits BLOCKED.
Systematically verify a mathematical proof via fresh-agent adversarial review, fix identified gaps, re-review until convergence, and generate a detailed audit report with proof-obligation accounting.
Context: $ARGUMENTS
Constants
- MAX_REVIEW_ROUNDS = 3
- REVIEWER_MODEL =
gpt-6-astravia Codex reviewer agent, reasoning effortultrafor this deep-audit skill (capability fallback never belowxhigh) - REVIEWER_BACKEND =
codex— Default: Codex reviewer agent (spawn_agent, ultra — deep-audit tier). Override with— reviewer: oracle-profor GPT-5.5 Pro via Oracle MCP. Seeshared-references/reviewer-routing.md. - AUDIT_DOC:
PROOF_AUDIT.mdat the paper directory root, alongsidemain.tex(cumulative log; when invoked via/paper-writing, this ispaper/PROOF_AUDIT.md) - REPORT_TEX:
proof_audit_report.tex(formal before/after PDF) - STATE_FILE:
PROOF_CHECK_STATE.json(for recovery) - SKELETON_DOC:
PROOF_SKELETON.md(micro-claim inventory) - RENDER_HTML = true — When
true(default), auto-renderPROOF_AUDIT.mdto HTML at workflow end via/render-html. Uses full review gate (audit-class, math-heavy — render-fidelity check protects against MathJax breakage). Setfalseto skip, or pass— render html: false. Non-blocking: failures don't invalidate the proof audit.
Acceptance Gate (objective, replaces subjective scoring)
The proof passes when ALL of the following hold:
- Zero open FATAL or CRITICAL issues
- Every theorem/lemma has: (i) explicit hypotheses, (ii) proof with all interchanges justified, (iii) every application discharges hypotheses in the ledger
- All big-O/Θ/o statements have declared parameter dependence and uniformity scope
- Counterexample pass executed on all key lemmas (log candidates even if none found)
Issue Taxonomy (20 categories, 4 groups)
Group A: Logic & Proof Structure
| Category | Description | Example |
|---|---|---|
| UNJUSTIFIED_ASSERTION | Claim stated without proof or reference | "The Hessian splits into Gram blocks" |
| UNPROVEN_SUBCLAIM | "Clearly" / "it follows" hides a nontrivial lemma | "By symmetry, the cross-terms vanish" without checking |
| QUANTIFIER_ERROR | Wrong order ∀/∃, missing "for sufficiently small κ" | "For all π, there exists ε" vs "there exists ε for all π" |
| IMPLICATION_REVERSAL | Uses (A⇒B) as (B⇒A), or claims equivalence with only one direction | |
| CASE_INCOMPLETE | Misses boundary/degenerate cases | Singular covariance, zero weight, non-unique argmin |
| CIRCULAR_DEPENDENCY | Lemma uses theorem that depends on it | |
| LOGICAL_GAP | A step is not justified by what precedes it | B=Θ(1) → β_K=0 without analyzing W |
Group B: Analysis & Measure Theory
| Category | Description | Example |
|---|---|---|
| ILLEGAL_INTERCHANGE | Swaps limit/expectation/derivative/integral without DCT/MCT/Fubini | Differentiating under E without domination |
| NONUNIFORM_CONVERGENCE | Pointwise convergence used as uniform | sup and limit swapped |
| MISSING_DOMINATION | DCT cited but no dominating function given | |
| INTEGRABILITY_GAP | Uses E | X |
| REGULARITY_GAP | Differentiability/Lipschitz/convexity used but not established | |
| STOCHASTIC_MODE_CONFUSION | M |
よくある質問
判定の一部が暫定なのはなぜですか?
基本のCodexのレビュアーは執筆者と同じモデルのファミリーなので、意味レベルの証明の判断は暫定とされます。
代数の確認は検証済みになりますか?
決定論的なコンパイルと代数の確認は、そのまま受理されます。
タイマーで実行すべきですか?
いいえ。ラウンドをまたぐレビュアーの記憶が失われ、判定は証明の変更に従うべきだからです。
詳細
作者による元の説明
Rigorous mathematical proof verification and fixing workflow. Reads a LaTeX proof, identifies gaps via fresh-agent Codex GPT-6-Astra ultra review, fixes each gap with full derivations, re-reviews, and generates an audit report. Base review is same-family provisional. Use when user says "检查证明", "verify proof", "proof check", "审证明", "check this proof", or wants rigorous mathematical verification of a theory paper.
人気
- GitHubのスター
- 18k
- ランキング
- #10612
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
ablation-planner
18kエージェントが論文のアブレーション研究を計画し、主要な結果が良好に見えた後に、査読者が求めそうな試験を選ぶよう支援します。
alphaxiv
18kエージェントが、AlphaXivの要約を使って1本の研究論文を素早く読めるよう支援します。arXivのリンクやIDから読み込みます。
analyze-results
18kエージェントが機械学習の実験結果を分析し、実行結果をベースラインと比較して、数値を明確な所見と次の作業につなげるよう支援します。
arxiv
18kエージェントが、arXivで学術論文を検索し、詳細を読んで、研究テーマに合わせてPDFをライブラリに保存できるよう支援します。