Hol Check Proof
hol_check_proofChecks whether a theorem's proof completes after edits, so you can verify fixes without relying on stale line numbers.
Instructions
Check if a theorem's proof completes after editing.
Use this after editing a proof to see if it works now. More reliable than hol_state_at with line numbers which may be stale after edits.
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": {
"theorem": "<theorem>"
},
"name": "hol_check_proof"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to .sml file (auto-inits cursor if no cursor exists) | |
| trace | No | If True, include full per-step timing trace | |
| session | No | Session name (default: "default") | default |
| theorem | Yes | Theorem name to check | |
| workdir | No | Working directory for HOL (used with file) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |