hol4
HOL4 proof development pipeline - planning, sketching, and proving phases. (project)
When & Why to Use This Skill
The HOL4 Proof Pipeline is a specialized Claude skill designed for formal verification and interactive theorem proving. It streamlines the complex process of developing mathematical proofs by providing a structured three-phase methodology: interactive planning, SML code sketching, and autonomous or interactive proving. This tool is essential for formal methods engineers and researchers looking to automate and manage rigorous proof developments within the HOL4 environment.
Use Cases
- Formal Software Verification: Automate the creation of proof scripts to verify the correctness of critical software systems and algorithms.
- Mathematical Theorem Proving: Assist researchers in breaking down complex mathematical conjectures into validated assumptions and executable SML sketches.
- Proof Engineering Automation: Use the autonomous execution scripts to fill in proof 'cheats' and complete sub-tasks without manual intervention.
- Educational Logic Training: Provide a structured framework for students to learn formal methods by following the planning-to-proving pipeline.
| name | hol4 |
|---|---|
| description | HOL4 proof development pipeline - planning, sketching, and proving phases. (project) |
HOL4 Proof Pipeline Skills
Three-phase proof development methodology:
/hol4-plan
Interactive proof planning. Creates mathematical argument with validated assumptions. See plan.md
/hol4-sketch
Translate plan to HOL4 sketch. Creates SML with cheats + task files for subagents. See sketch.md
/hol4-prove
Fill in cheats and complete proofs. Interactive or autonomous mode. See prove.md
Autonomous Execution
python hol_planner.py --goal "prove theorem X"
python hol_sketch.py --plan plan.md --workdir /path
python hol_proof_agent.py --task TASK_foo.md
python hol_pipeline.py --theorem X --workdir /path # end-to-end
Methodology Prompts
Full prompts in prompts/hol4/:
planner.md- Planning methodologysketch_impl.md- Sketching methodologyproof_agent.template.md- Proving methodology