What problem does it solve?
Lean 4 proof development is notoriously complex, time-consuming, and prone to errors, especially when dealing with type class inference, axiom management, and navigating the vast Mathlib. This Skill empowers you to overcome these challenges by providing battle-tested workflows, automation tools, and expert guidance, ensuring your formal proofs are correct and complete.
Core Features & Use Cases
- Systematic 4-Phase Workflow: Structure proofs before solving, build helper lemmas bottom-up, fill sorries incrementally, and manage type class instances effectively.
- 16 Automation Scripts: Leverage tools for searching Mathlib, analyzing proof complexity, tracking incomplete proofs (
sorry statements), verifying axiom usage, and minimizing imports.
- Comprehensive Reference Guides: Access in-depth documentation on essential tactics, Mathlib integration, common compilation errors, and domain-specific patterns for measure theory, probability, and algebra.
- Use Case: Automate the formalization of complex mathematical theorems, contribute to Mathlib, or debug persistent "failed to synthesize instance" errors, all while ensuring your proofs are axiom-free and fully verified.
Quick Start
Example: Get a quick report on all incomplete proofs (sorries)
scripts/sorry_analyzer.py src/ --format=markdown > SORRIES.md