| name | lean-prove |
| description | Interactive Lean 4 proof development for this repo — the sorrify-then-fill loop driven over lean-lsp-mcp (goal state, diagnostics, Loogle search), with Duper/lean-auto escalation and a hard |
| argument-hint | [package] (Validator | Ckd | ValidatorUPLC) |
Lean Prove
Mathlib-free proof development. Set SKILL=skills/lean-prove. All builds in WSL with
export PATH=$HOME/.elan/bin:$HOME/.local/bin:$PATH.
Loop (references/loop.md)
- Sorrify: state the theorem,
sorry the body, lake build green.
- Fill: drive lean-lsp-mcp — read the goal state, search (Loogle/local), attempt tactics,
escalate to
duper / lean-auto (Mathlib-free hammer) on leaf goals.
- Gate:
#print axioms <thm> shows only allow-listed axioms (docs/lean/AXIOMS.md). Any
sorryAx / native_decide / off-list axiom = not done.
Guardrails
- Never introduce a new
axiom without adding it to docs/lean/AXIOMS.md with justification.
- Commits: terse, no AI attribution, stage explicitly.