proof-writer
Skill11 starsChanged 6 months agoMITView on GitHub
Writes rigorous mathematical proofs for ML/AI theory as a provisional proof package that stays `Verification: Not checked` until a cross-model pass (inside /proof-repair step 5B it writes to the per-issue path it is given). Use when asked to prove a theorem, lemma, proposition, or corollary, fill in missing proof steps, formalize a proof sketch, 补全证明, 写证明, 证明某个命题, or determine whether a claimed proof can actually be completed under the stated assumptions.
9 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
- Immortalqx/my_codex_skillstheir own version, first seen Jun 10, 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
Used with
Projects with it also use formula-derivation and research-wiki.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
raja21068Skillformula-derivation
Structures and derives research formulas when the user wants to 推导公式, build a theory line, organize assumptions, turn scattered equations into a coherent derivation, or rewrite theory notes into a paper-ready formula document. Use when the derivation target is not yet fully fixed, the main object still needs to be chosen, or the user needs a coherent derivation package rather than a finished theorem proof.
Also in 3 projects that use this
YuchengZhang256Skillresearch-wiki
In an existing research wiki, ingest papers, answer wiki queries, or lint compiled Markdown pages.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- wanshuiyin/Auto-claude-code-research-in-sleep★ 20ksame name
- voidful/academic-skills★ 126same name
- Immortalqx/my_codex_skills★ 54same name
- Chanw-research/claude-code-paper-writing★ 42same name
- sjtuytc/ResearchMathAgent★ 35same name
- catalsqlb-cmd/Prism-H★ 16same name
- Yusong-Enceladus/claude-skills★ 8same name
- raja21068/AutoResearch★ 2same 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.
- proof-checkerSkill
- proofcheckSkill
- proof-repairSkill
- theory-designSkill
- theory-sharpenSkill
- theory-simulationSkill
The file
We split this skill into the rules it gives an agent
6 rules. 1 is common, 1 is distinctive, and 4 are very specific to this project.
1
Common
Most of the 8 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 14
Write a mathematically honest proof package, not a polished fake proof.
- Very specific: line 30
Write only PACKAGE_PATH (the caller's per-issue path.
- Very specific: line 33
Every nontrivial obligation ends CLOSED-LOCAL, CLOSED-CITED (with applicability block) or BLOCKED (with attack record).
- Distinctive: line 34
No sketch, partial expansion or deferred step.
- Very specific: line 38
Always uv run python with absolute script paths (system python is a Store stub).
- Very specific: line 51
Run the Trap Catalogue checks and record each in ## Verification Checks.
“Common” is measured: kept by at least 6 in 10 of the 8 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 Write: Rigorous Theorem / Lemma Drafting
🔬 Run this skill on Claude Opus. Writing rigorous proofs needs deep reasoning; run
/model opusfirst if your session is not on Opus.
Write a mathematically honest proof package, not a polished fake proof. The surrounding audit is a cooperative,
honest-executor audit (no broker; review traces are SELF_ATTESTED_TRACE_BOUND): a package is never "verified"
by this skill and nothing it produces is tamper-resistant evidence.
Purpose: produce exactly one of three terminal outputs for a claim, never a sketch: (1) a complete proof with every
obligation closed, (2) a corrected (usually weaker) claim plus its complete proof, or (3) a Blockage Record stating
why the claim is not currently justified. Completion means every nontrivial obligation is a typed closure object,
not that the prose reads smoothly. Detail lives in references\; read the file named in each step.
Context: $ARGUMENTS
Hard rules (never skip)
- Cooperative honest-executor audit: nothing this skill writes is "verified" or tamper-resistant evidence (review traces are
SELF_ATTESTED_TRACE_BOUND). - proof-writer never self-verifies: the package header always reads
Verification: Not checked; never writeVerified, "Conditionally verified" or any reviewed status; a clean lint certifies closure only. - Result is a separate line
Writer result: DRAFTED_COMPLETE | BLOCKED;STATUSis exactly one ofPROVABLE AS STATED | PROVABLE AFTER WEAKENING / EXTRA ASSUMPTION | NOT CURRENTLY JUSTIFIED. - Write only PACKAGE_PATH (the caller's per-issue path; standalone:
PROOF_PACKAGE_<claim-slug>_<YYYYMMDD>.md, never overwrite another package); never the paper.tex,assumptions.lock.md,cited_results.lock.md,audit/stateoraudit/01-06. assumptions.lock.mdis strictly read-only: invoke assumptions by registry ID, never append a row, never inventA_new1; a needed new one is anASSUMPTION_CHANGE_REQUESTwith premisePROPOSED:<issue-id>:<n>.- Preserve the user's original statement; a weaker claim or added assumption is a labeled request to the caller, never a silent replacement.
- Every nontrivial obligation ends
CLOSED-LOCAL,CLOSED-CITED(with applicability block) orBLOCKED(with attack record); never close an obligation with prose. - No sketch, partial expansion or deferred step; no "clearly/obviously/by standard arguments"; if only a sketch is completable, output a Blockage Record.
- Any
BLOCKEDobligation forbidsPROVABLE AS STATED; anunverified-sourceload-bearing citation caps the package atAUDIT_PASS_CONDITIONALterritory. - Locate the verification target and bottleneck before forward algebra (Trap Catalogue in
../stat-shared-references/proof-strategy.md); write the proof in Big Four register, not bullet lists. - Cited classical theorems get one chosen hypothesis set and a use-point obligation per hypothesis, ordered by the stage DAG; boundaries, rate ledger and failure-probability budget are explicit lines; never self-pass. must-read: references\theory-logic.md BEFORE step 5.
- Always
uv run pythonwith absolute script paths (systempythonis a Store stub).
Run order
Each step: read the named reference BEFORE executing it (must-read:).
- Gather context: caller's package path and frozen statement revision, else user path, else local notes. must-read: references\workflow-steps.md BEFORE this step (section 1, gather context).
- Normalize the claim; bind assumptions to the lock store read-only. must-read: references\workflow-steps.md BEFORE this step (section 2, normalize the claim).
- Feasibility triage into exactly one STATUS. must-read: references\workflow-steps.md BEFORE this step (section 3, feasibility triage).
- Record verification target, bottleneck, resolution path, literature anchor. must-read: references\workflow-steps.md BEFORE this step (strategy-selection part).
- Build the dependency map and raise numbered obligations
O1..Ok, lemmasL1.., bridgesB1... must-read: references\workflow-steps.md BEFORE this step (section 5, build the dependency map and raise obligations). - Construct the proof and close every obligation into the ledger. must-read: references\proof-construction.md BEFORE this step (construction and obligation-ledger parts).
- Fill the package using the exact file structure. must-read: references\package-template.md BEFORE this step.
- Run the Trap Catalogue checks and record each in
## Verification Checks. must-read: references\proof-construction.md BEFORE this step (verification-checks part). - Lint, resolve every
STRUCTURAL-INCOMPLETE, review eachCANDIDATE. must-read: references\proof-construction.md BEFORE this step (verification-checks part).
uv run python "C:\Users\yguo12\.claude\skills\stat-shared-references\scripts\proof_gap_scan.py" --proof "<PACKAGE_PATH>"- Reply briefly: status,
Writer result,Verification: Not checked, claim unchanged or not, obligation count and BLOCKED count, assumption change requests, lint result, file path. must-read: references\constants-and-goal.md BEFORE this step (chat response and key rules part).
Read on demand
| Situation | File |
| Constants, STATUS and WRITER_RESULT values, goal | references\constants-and-goal.md |
| Cited classical theorem; hypothesis sets, stage order, ledgers | references\theory-logic.md |
| User asks for a sketch, outline, or "just expand a bit" (termination rule) | references\constants-and-goal.md |
| Citing an imported result (applicability block fields) | references\proof-construction.md |
Lint output unclear, malformed Verification line | references\proof-construction.md |
| Where did an old section go | references\MOVED.md |
Stop conditions / hand-offs
- Claim false or not completable: write the Blockage Record (
NOT CURRENTLY JUSTIFIED) with counterexample or repaired statement. - Verification is never granted here; the orchestrator sets it after a Codex pass (
/proof-repairstep 8 / reference 5B,/proofcheck). - Output produced after a plan reached
CONVERGEDre-opens the plan (the caller forces a new--post-repair). - Missing lock file for a multi-theorem framework: proceed with local assumptions and flag that
theory-designshould initialize one.
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.

