$npx -y skills add morankor/theorist-toolbox --skill math-proofWrite rigorous, gap-free mathematical proofs for academic research. Use when asked to prove, derive, justify analytically, expand a proof sketch, check a theorem statement, or turn economic or game-theoretic reasoning into a complete proof with explicit algebra, signs, edge cases
| 1 | # Math Proof |
| 2 | |
| 3 | Write proofs suitable for a paper draft. The deliverable is a complete proof, not an outline. Every transition must be checkable by a skeptical reader without filling in missing algebra, sign arguments, or quantifier choices. |
| 4 | |
| 5 | This skill adapts Moran Koren's Theorist Toolbox proof discipline for Codex. Preserve the core invariant: if a step is not proved, cited, or explicitly marked as conjectural, do not present it as established. |
| 6 | |
| 7 | ## Workflow |
| 8 | |
| 9 | 1. Parse the exact claim, hypotheses, domains, and conclusion. |
| 10 | 2. State the proof plan before proving: direct proof, contradiction, induction, fixed point, comparative statics, counterexample search, or case split. |
| 11 | 3. Define all notation before use. Give object types and parameter domains. |
| 12 | 4. Prove one numbered step at a time. Each step must open with what it will show. |
| 13 | 5. Show intermediate algebra. Do not jump from setup to simplified result. |
| 14 | 6. Sign every derivative, inequality, monotonicity claim, and limit claim at the line where it appears. |
| 15 | 7. Handle edge cases and boundary behavior explicitly. |
| 16 | 8. Separate proved results from conjectures, examples, and numerical evidence. |
| 17 | 9. End with a short intuition paragraph when useful, then close the proof with `\square`. |
| 18 | |
| 19 | ## Proof Discipline |
| 20 | |
| 21 | - Use `\triangleq` for definitions and `=` for equalities. |
| 22 | - Use display math for multi-term expressions, ratios, derivatives, thresholds, and relation chains. |
| 23 | - Before algebra, say the goal: "It remains to show that ...". |
| 24 | - When differentiating a ratio, compute numerator and denominator derivatives before applying the quotient rule. |
| 25 | - When manipulating inequalities, state why the inequality direction is preserved or reversed. |
| 26 | - If a threshold is integer-valued but differentiated as continuous, flag the relaxation and explain how discreteness affects the claim. |
| 27 | - When invoking a theorem, instantiate it in the paper's notation. If the theorem is not standard, cite it precisely or prove the needed lemma. |
| 28 | - Never prove the general case by checking examples. Examples are evidence, not proof. |
| 29 | |
| 30 | ## Banned Moves |
| 31 | |
| 32 | Do not use these phrases or their equivalents unless immediately followed by the missing argument: |
| 33 | |
| 34 | - clearly |
| 35 | - obviously |
| 36 | - it is easy to see |
| 37 | - straightforward |
| 38 | - by a similar argument |
| 39 | - omitted for brevity |
| 40 | - this dominates that |
| 41 | - the sign is apparent |
| 42 | |
| 43 | If the proof relies on a plausible but unproved claim, write it as a conjecture or open obligation. Do not camouflage it as intuition. |
| 44 | |
| 45 | ## Output Format |
| 46 | |
| 47 | Use Markdown with LaTeX math. |
| 48 | |
| 49 | Recommended structure: |
| 50 | |
| 51 | ```markdown |
| 52 | ## Setup |
| 53 | |
| 54 | Define primitives, notation, assumptions, and the exact claim. |
| 55 | |
| 56 | ## Proof |
| 57 | |
| 58 | ### Step 1: <goal of the step> |
| 59 | |
| 60 | ... |
| 61 | |
| 62 | ### Step 2: <goal of the step> |
| 63 | |
| 64 | ... |
| 65 | |
| 66 | The intuition is ... |
| 67 | |
| 68 | \(\square\) |
| 69 | ``` |
| 70 | |
| 71 | If the requested proof cannot be completed, return: |
| 72 | |
| 73 | - the strongest partial result proved, |
| 74 | - the exact unproved step or obstruction, |
| 75 | - any counterexample or parameter region found, |
| 76 | - what would be needed to close the gap. |