lean-fuel-induction - Lean 4 fuel induction and loop invariant proofs
Provides patterns for proving fuel independence, loop invariants, suffix invariance, recursive function properties, and Lean proof resource tuning.
Tags
Updated: 2026-09-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Prove fuel independence
- Prove loop invariants
- Thread state invariants
- Handle recursive termination
- Prove suffix invariance
- Unfold recursive definitions once
- Tune proof resource limits
Inputs
- Lean 4 proof goals
- Recursive function definitions
- Loop state invariants
- Operation hypotheses
- Suffix and append lemmas
Outputs
- Lean proof scripts
- Proof build status
- Proof resource settings
Requirements
- Lean 4 environment
- Access to Lean source files
- Read, Bash, and Grep tools
