Skip to content
Skillpedia
Research18k · #10612

proof-checker

What it does

This Codex version of the proof checker finds and fixes gaps in a LaTeX proof. It is for researchers who need a theory proof verified before submission.

When to use it

  • ✓When you have a theory proof and want it checked step by step.
  • ✓When you want gaps fixed with full derivations and an audit report.
  • ✓When you need to know which parts of the proof are verified and which are only provisional.

Skill link

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/proof-checker/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/proof-checker/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“I want my LaTeX theory proof checked for gaps, with each gap fixed and an audit report written.”

5 new skills a week. 1 minute to read.

How it works

A fresh Codex reviewer identifies gaps. The agent fixes each one with full derivations, sends the proof back for another check, and writes an audit report with proof obligation counts.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Proof Checker: Rigorous Mathematical Verification & Fixing

Before each reviewer slot, follow Selectable Reviewers: resolve invocation → .aris/reviewer.json → Codex default (fresh native reviewer) with reviewer_route.py through the canonical helper resolver, preserving this slot's tier, fresh contexts, source/image inputs and deterministic gates. Codex examples/pins below apply only to backend=codex; other routes use their own first-call/reply contract. Save the route and actual returned identity; unavailable selections are REVIEW_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-family and acceptance_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-astra via Codex reviewer agent, reasoning effort ultra for this deep-audit skill (capability fallback never below xhigh)
  • REVIEWER_BACKEND = codex — Default: Codex reviewer agent (spawn_agent, ultra — deep-audit tier). Override with — reviewer: oracle-pro for GPT-5.5 Pro via Oracle MCP. See shared-references/reviewer-routing.md.
  • AUDIT_DOC: PROOF_AUDIT.md at the paper directory root, alongside main.tex (cumulative log; when invoked via /paper-writing, this is paper/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-render PROOF_AUDIT.md to HTML at workflow end via /render-html. Uses full review gate (audit-class, math-heavy — render-fidelity check protects against MathJax breakage). Set false to 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:

  1. Zero open FATAL or CRITICAL issues
  2. Every theorem/lemma has: (i) explicit hypotheses, (ii) proof with all interchanges justified, (iii) every application discharges hypotheses in the ledger
  3. All big-O/Θ/o statements have declared parameter dependence and uniformity scope
  4. 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
FAQ

Why is some of the verdict provisional?

The base Codex reviewer is the same model family as the writer, so semantic proof judgments are marked provisional.

Are algebra checks verified?

Deterministic compilation and algebra checks can be accepted directly.

Should I run it on a timer?

No. The reviewer's memory across rounds would be lost, and the verdict should follow changes to the proof.

Details

Original description by the author

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.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

Popularity

GitHub stars
18k
Ranking position
#10612
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills