| name | aristotle |
| description | Run Aristotle automated theorem prover on Lean files to fill sorry placeholders. Use when you have a file with sorries that needs automated proof search. Handles API setup, axiom import checks, and result verification. |
Aristotle Automated Theorem Prover
Run Aristotle to automatically fill sorry placeholders in Lean 4 files.
Workflow
- Validate file: Check for
sorry in the target file
- Check for axiom imports: Aristotle may fail on files importing axiom-heavy modules
- Run Aristotle: Submit file for proof search
- Apply results: Replace sorries with generated proofs
- Verify: Run
lake build to confirm
Axiom Import Checks
Check for imports that may cause issues:
grep -E "import.*Axiom|axiom " "path/to/file.lean"
If axiom imports are found, consider:
- Moving the proof to a separate file
- Using manual proof instead
Usage Notes
- Aristotle works best on pure computational proofs
- May struggle with axiom-heavy modules
- Always verify generated proofs compile