proof-checker
Skill11 starsChanged 6 months agoMITView on GitHub
Cross-model deep-review worker for the proof pipeline. Reviews one theorem/lemma or cluster (or a whole paper when run standalone) through independent GPT-5.6-Sol xhigh review, records issues with failure certificates in the shared proofaudit workspace, and never edits the paper. Whole-paper orchestration and the final report belong to /proofcheck. Use when user says "verify proof", "审证明", "check this proof", "deep review this lemma", or wants an independent cross-model check of a specific proof; use /proofcheck for "proof check" of a full paper.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- sjtuytc/ResearchMathAgenttheir own version, first seen Oct 20, 2026
- talhaMah56/claude_skillstheir own version, first seen Sep 12, 2026
- wanshuiyin/Auto-claude-code-research-in-sleeptheir own version, first seen Jul 15, 2026
- m5fmg7cw2f-ui/claude-skillstheir own version, first seen Jun 2, 2026
- catalsqlb-cmd/Prism-Htheir own version, first seen May 29, 2026
- Chanw-research/claude-code-paper-writingtheir own version, first seen May 10, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- wanshuiyin/Auto-claude-code-research-in-sleep★ 20ksame name
- Chanw-research/claude-code-paper-writing★ 42same name
- sjtuytc/ResearchMathAgent★ 35same name
- catalsqlb-cmd/Prism-H★ 16same name
- raja21068/AutoResearch★ 2same name
- m5fmg7cw2f-ui/claude-skills★ 0same name
- talhaMah56/claude_skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- proofcheckSkill
- proof-repairSkill
- proof-writerSkill
- theory-designSkill
- theory-sharpenSkill
- theory-simulationSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Every S0, S1 and INVALID issue needs a failure certificate (exact counterexample or failing step).
- Distinctive: line 33
No Lean or other formalization (project decision: mechanisms only).
- Very specific: line 45
Read the canonical index; pick the target unit/cluster.
- Very specific: line 48
Call mcp__codex__codex (model: gpt-5.6-sol, config: {"model_reasoning_effort": "xhigh"}) with prompt.txt verbatim.
- Very specific: line 57
If a wiki is active add claim-ledger entries (additive, non-blocking).
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Proof Checker: Rigorous Mathematical Verification & Fixing
Cross-model deep-review worker of the proof pipeline (/proofcheck is the orchestrator and report owner).
It reviews one theorem/lemma or cluster (or a whole paper standalone) through independent fresh-thread
gpt-5.6-sol xhigh review and records issues with failure certificates in the shared proofaudit
workspace. It is read-only: no paper edits; fixes belong to /proof-repair. Do not wrap it in /loop,
/schedule or CronCreate (verdict-bearing, threads reviewer memory across phases).
proofaudit <sub> = uv run python "C:\Users\yguo12\.claude\skills\stat-shared-references\scripts\proofaudit_cli.py" <sub>;
absolute --workspace paths, never bare python. Spec files in ../stat-shared-references/ win over any wording here.
Hard rules (never skip)
- Cooperative, honest-executor audit (traces
SELF_ATTESTED_TRACE_BOUND): a submission PASS is not tamper-resistant; never claim otherwise. - The CLI is the agreed single entry point for authority files (not OS-enforced; direct edits are caught later by the hash chain); structured output goes through
capture --stdinthenrecord. - This worker is read-only: it never edits the paper, never applies a fix, and owns no final verdict or report.
- Reviewer is fixed
gpt-5.6-sol+xhigh(manual backend: non-Claude atxhigh); no model or effort fallback; unavailable meansREVIEW_UNAVAILABLEand blocks the gate. - Review prompts are path-only, rendered by
review-begin; never paste or paraphrase the proof or tell the reviewer what you found. - Fresh thread for every independent unit/cluster review;
codex-replyonly re-checks the reviewer's own finding with updated artifact paths and finding IDs, never fix summaries. - Every S0, S1 and INVALID issue needs a failure certificate (exact counterexample or failing step); without one it stays a candidate.
- Label "counterexample found" only if verified in exact arithmetic via
evidence-run; maxMAX_REVIEW_ROUNDS = 3per finding. - TIMEOUT/ERROR calls block the verdict and are never silently retried or downgraded.
- Verdicts are derived by
finalize-result, never LLM-set; every count in a report comes from the CLI (report-data) plus an independent fact-check. PROOF_AUDIT.jsonis produced only byproofaudit export, never hand-written (key set inreferences\submission-artifact.md; the pre-2.0 schema inreferences\legacy-submission-schema.mdis superseded).- Main labels are frozen by the orchestrator before any issue is recorded; a later main-label change triggers the mechanical impact recompute, never a hand re-grade. Submission assurance is raised only by
set-assurance --to submission (--anchor ABS | --accept-no-anchor). - Theory layer (optional): audit the route for missed patterns, read the REQUIRED references, follow the stage DAG (upstream FAIL/CONDITIONAL => downstream BLOCKED/CONDITIONAL); an unmet hypothesis of a cited theorem is a failed use step, never a false theorem, and one textbook hypothesis set must not reject a valid alternative route.
- No Lean or other formalization (project decision: mechanisms only); one result or tight cluster per review, never 20+ pages at once.
- Suggestions that add conditions or weaken a claim are flagged L4/L5 candidates (they need a Change Log in
/proof-repair); they never edit a statement.
Run order
Each step: read the named reference BEFORE executing it (must-read:).
- Resolve the workspace:
proofaudit status --workspace ABS/proofaudit resume --workspace ABSifaudit/state/RESULTS.jsonexists, else:uv run python "C:\Users\yguo12\.claude\skills\stat-shared-references\scripts\proofaudit_cli.py" init --workspace "C:\abs\paper-root" --main "C:\abs\paper-root\paper.tex"uv run python "C:\Users\yguo12\.claude\skills\stat-shared-references\scripts\proofaudit_cli.py" index --workspace "C:\abs\paper-root"uv run python "C:\Users\yguo12\.claude\skills\stat-shared-references\scripts\proofaudit_cli.py" freeze --workspace "C:\abs\paper-root"must-read: references\phase-0-5-obligation-ledger.md BEFORE this step. - Read the canonical index; pick the target unit/cluster; the statement gate must be
PASSED(else run thestatement-gatereview first). must-read: references\phase-0-5-obligation-ledger.md BEFORE this step. - Build the proof-obligation ledger (DAG, assumptions, symbols, quantified statements, micro-claims, limit-order map). must-read: references\phase-0-5-obligation-ledger.md BEFORE this step. For units citing classical results also
theory-routeand a use-point matrix. must-read: references\theory-logic.md BEFORE this step. - Render the prompt:
proofaudit review-begin ...(writes the callPENDING). must-read: references\role-and-commands.md BEFORE this step (reviewer protocol and Phase 1 prompts are parts of it). - Call
mcp__codex__codex(model: gpt-5.6-sol,config: {"model_reasoning_effort": "xhigh"}) withprompt.txtverbatim; first action on returnproofaudit review-bind, thenproofaudit review-complete --receipt ...(review-correct-response, max 2, for malformed output). must-read: references\role-and-commands.md BEFORE this step. - Capture and record findings:
proofaudit capture --stdinthenproofaudit record; the CLI allocates IDs and computes severity. must-read: references\taxonomy.md BEFORE this step (taxonomy, severity axes, side-condition checklists). - Counterexample red team on every key lemma and every INVALID/S0 candidate:
proofaudit evidence-run,proofaudit evidence-validate; inputs viaproofaudit input-check. must-read: references\red-team.md BEFORE this step. - Optional
--deep-fix: repair-suggestion records for/proof-repair --from-review. must-read: references\deep-fix-mode.md BEFORE this step. - After the paper changed (newer freeze): re-check own findings by reply on the same thread, then blind fresh-thread re-review for every semantic diff or S0/S1 repair;
proofaudit diff;diff-recordis the last source-sensitive step beforeissue-close. must-read: references\red-team.md BEFORE this step (closure and blind re-review part). - Optional
--restatement-check. must-read: references\red-team.md BEFORE this step (restatement regression part). - Per unit:
proofaudit finalize-result; if the gate is stuck after MAX_REVIEW_ROUNDS write the Proof Unrecoverable Report. must-read: references\report-and-state.md BEFORE this step. - Standalone report:
proofaudit report-data, narrative slots viacapture+report-record, then the full fact-check lifecycle (factcheck-begin, MCP call,review-bind,review-complete,factcheck-record),proofaudit finalize-audit. must-read: references\report-and-state.md BEFORE this step (full sequence:/proofcheckreport-template). - Export:
proofaudit export --format proof-audit-v1(never hand-writePROOF_AUDIT.json). must-read: references\submission-artifact.md BEFORE this step. - If a wiki is active add claim-ledger entries (additive, non-blocking); optional
/render-htmlof the final report (RENDER_HTML = true). must-read: references\phase-0-5-obligation-ledger.md BEFORE this step (wiki claim-ledger part).
Read on demand
| Situation | Reference |
| Constants, role, command conventions, reviewer call states, acceptance gate, Phase 1 prompt, rigor/cross-model/scope rules | references\role-and-commands.md |
Unit cites a classical theorem; route, use-point matrix, probes, theory_logic | references\theory-logic.md |
| Classifying an issue; severity axes; applying a named theorem (DCT, Fubini, ...) | references\taxonomy.md |
| Building the obligation ledger; research wiki | references\phase-0-5-obligation-ledger.md |
Counterexample search; re-check, global closure, blind re-review; --restatement-check | references\red-team.md |
--deep-fix; example invocations | references\deep-fix-mode.md |
| Report, state persistence, unrecoverable proof, output file list | references\report-and-state.md |
PROOF_AUDIT.json keys, verdict table, thread independence | references\submission-artifact.md |
Old (pre-2.0) PROOF_AUDIT.json schema, superseded, archive only | references\legacy-submission-schema.md |
| Where did an old section go | references\MOVED.md |
Stop conditions / hand-offs
- Acceptance gate unmet after MAX_REVIEW_ROUNDS, or a gate stuck on TIMEOUT: result stays
UNFINISHED, emit the Proof Unrecoverable Report; never declare success silently. - Manual backend unavailable: stop and print the install command; do not fall back to Codex.
- Source changed since freeze (
STALE, exit code 3): re-runindex/freeze; do not review stale text. - Fix design, ladder, change logs, patches: hand to
/proof-repair(--from-reviewfor deep-fix suggestions). - Whole-paper orchestration, final report, convergence:
/proofcheck. - Context for this run: $ARGUMENTS
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

