lean_verify
Verify theorem axioms and detect suspicious patterns in Lean source files to ensure correctness.
Instructions
Check theorem axioms + optional source scan. Only scans the given file, not imports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to Lean file | |
| scan_source | No | Scan source file for suspicious patterns | |
| theorem_name | Yes | Fully qualified name (e.g. `Namespace.theorem`) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axioms | No | Axioms used. Standard 3: propext, Classical.choice, Quot.sound | |
| warnings | No | Suspicious source patterns (if enabled) |