proof-writer

Writes rigorous mathematical proofs for ML/AI theory with feasibility triage and dependency maps.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/Lingjie-wang/autoRL --skill proof-writer-lingjie-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: proof-writer
Source: https://github.com/Lingjie-wang/autoRL/tree/main/Auto-claude-code-research-in-sleep/skills/proof-writer
Command: npx skills add https://github.com/Lingjie-wang/autoRL --skill proof-writer-lingjie-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Drafting proofs for ML/AI theory often produces polished but flawed arguments with hidden gaps, unstated assumptions, or misapplied theorems. This Skill produces mathematically honest proof packages that either prove the claim, prove a corrected version, or explain exactly why the claim is not justified. ## Core Features & Use Cases - Feasibility Triage: Classifies every claim as PROVABLE AS STATED, PROVABLE AFTER WEAKENING / EXTRA ASSUMPTION, or NOT CURRENTLY JUSTIFIED before writing any proof. - Structured Proof Packages: Writes a PROOF_PACKAGE.md containing the exact claim, assumptions, notation, proof strategy, dependency map, numbered steps, and open risks. - Honest Blockage Reports: When a proof cannot be completed, it documents the exact blocker, missing lemma, or counterexample instead of fabricating steps. - Use Case: You are drafting a convergence lemma for an optimization paper and have a rough proof sketch. The Skill normalizes the claim, checks whether the sketch actually supports it, and writes a complete appendix-ready proof or flags the missing assumption. ## Quick Start Ask the assistant to prove your stated theorem or lemma under the listed assumptions and write the result into a proof package file.

Frequently Asked Questions about proof-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a rigorous proof for an ML theory lemma?

State the exact claim, assumptions, and notation, then choose a proof strategy such as induction, contradiction, or inequality chaining. The Skill builds a dependency map, writes numbered justified steps into a proof package file, and verifies every nontrivial implication before finishing.

How to check whether a theorem is provable under given assumptions?

The Skill performs feasibility triage before proving, classifying the claim as provable as stated, provable after weakening, or not currently justified. It checks for misapplied cited theorems, hidden assumptions, quantifier errors, and counterexamples.

What happens if my proof sketch has a gap that cannot be filled?

Instead of fabricating a step, the Skill writes a blockage report marking the status as NOT CURRENTLY JUSTIFIED. It identifies the exact blocker, such as a missing lemma or invalid implication, and suggests the extra assumption or corrected weaker statement needed.

Can it write proofs directly into my paper's LaTeX appendix?

By default it writes to PROOF_PACKAGE.md in the project root and does not modify paper sections or .tex files. It only writes into LaTeX appendix files when you explicitly request that target.

What are the limitations of automated mathematical proof writing?

The Skill cannot guarantee correctness of deep novel results and may downgrade a claim when a key step cannot be justified. Remaining uncertainty is recorded explicitly in the Open Risks section rather than hidden in polished prose.