agda_case_split
Performs case split on a variable in an Agda goal to generate new proof clauses. Specify the file, goal id, and variable to refactor the proof.
Instructions
Case split on a variable in a goal. Returns the new clauses.
Args: file_path: Absolute path to the .agda file goal_id: The goal/hole number (from agda_load output) variable: The variable name to split on
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": {
"file_path": "<file_path>",
"goal_id": "<goal_id>",
"variable": "<variable>"
},
"name": "agda_case_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal_id | Yes | ||
| variable | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |