audit_lean_proof
Scan Lean 4 proofs for sorry, admit, custom axioms, unsafe blocks, and @[implemented_by] overrides, with optional local Lean compilation to verify soundness.
Instructions
Scan a Lean 4 proof for sorry, admit, custom axioms, unsafe blocks, and @[implemented_by] overrides, and optionally run local lean if installed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "audit_lean_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Lean 4 source code to audit. | |
| compile | No | If true, also attempt local `lean` compilation (15s timeout). Default false. |