File contents Proof Theory
When to Use
Use this skill when working on proof-theory problems in mathematical logic.
Decision Tree
Proof Strategy Selection
Direct proof: assume premises, derive conclusion
Proof by contradiction: assume negation, derive false
Proof by cases: split on disjunction
Induction: base case + inductive step
Structural Induction
Define well-founded ordering on structures
Base: prove for minimal elements
Step: assume for smaller, prove for current
z3_solve.py prove "induction_principle"
Cut Elimination
Gentzen's Hauptsatz: cuts can be eliminated
Subformula property: only subformulas appear
Useful for proof normalization
Completeness/Soundness Check
Soundness: if provable then valid
Completeness: if valid then provable
z3_solve.py prove "soundness_theorem"
Proof Verification
Check each step follows from rules
Verify dependencies are satisfied
math_scratchpad.py verify "proof_steps"
Tool Commands
Z3_Induction_Base
uv run python -m runtime.harness scripts/cc_math/z3_solve.py prove "P(0)"
Z3_Induction_Step
uv run python -m runtime.harness scripts/cc_math/z3_solve.py prove "ForAll([n], Implies(P(n), P(n+1)))"
Z3_Soundness
uv run python -m runtime.harness scripts/cc_math/z3_solve.py prove "Implies(derivable(phi), valid(phi))"
Math_Verify
uv run python -m runtime.harness scripts/cc_math/math_scratchpad.py verify "proof_structure"
Cognitive Tools Reference
See .claude/skills/math-mode/SKILL.md for full tool documentation.
1 --- 2 name: proof-theory 3 description: Proof Theory 4 --- 5 6 # Proof Theory 7 8 ## When to Use 9 10 Use this skill when working on proof-theory problems in mathematical logic. 11 12 ## Decision Tree 13 14 15 1. **Proof Strategy Selection** 16 - Direct proof: assume premises, derive conclusion 17 - Proof by contradiction: assume negation, derive false 18 - Proof by cases: split on disjunction 19 - Induction: base case + inductive step 20 21 2. **Structural Induction** 22 - Define well-founded ordering on structures 23 - Base: prove for minimal elements 24 - Step: assume for smaller, prove for current 25 - `z3_solve.py prove "induction_principle"` 26 27 3. **Cut Elimination** 28 - Gentzen's Hauptsatz: cuts can be eliminated 29 - Subformula property: only subformulas appear 30 - Useful for proof normalization 31 32 4. **Completeness/Soundness Check** 33 - Soundness: if provable then valid 34 - Completeness: if valid then provable 35 - `z3_solve.py prove "soundness_theorem"` 36 37 5. **Proof Verification** 38 - Check each step follows from rules 39 - Verify dependencies are satisfied 40 - `math_scratchpad.py verify "proof_steps"` 41 42 43 ## Tool Commands 44 45 ### Z3_Induction_Base 46 ```bash 47 uv run python -m runtime.harness scripts/cc_math/z3_solve.py prove "P(0)" 48 ``` 49 50 ### Z3_Induction_Step 51 ```bash 52 uv run python -m runtime.harness scripts/cc_math/z3_solve.py prove "ForAll([n], Implies(P(n), P(n+1)))" 53 ``` 54 55 ### Z3_Soundness 56 ```bash 57 uv run python -m runtime.harness scripts/cc_math/z3_solve.py prove "Implies(derivable(phi), valid(phi))" 58 ``` 59 60 ### Math_Verify 61 ```bash 62 uv run python -m runtime.harness scripts/cc_math/math_scratchpad.py verify "proof_structure" 63 ``` 64 65 ## Cognitive Tools Reference 66 67 See `.claude/skills/math-mode/SKILL.md` for full tool documentation.
DojoGenesis/plugins/tree/main/plugins/community-skills/skills/proof-theory commit ffe595d474
Frequently asked questions How do I install the Proof Theory skill? Run npx skillmds@latest add dojogenesis/proof-theory in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Proof Theory skill do? Proof Theory It is listed under Coding & Dev Tools on SkillMD.
Is Proof Theory safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Proof Theory? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Proof Theory free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Proof Theory? DojoGenesis (@dojogenesis) published this skill. Their other Agent Skills are listed on their SkillMD profile.