agda_refine
Refine a goal in an Agda file by filling it with an expression, which may generate new subgoals. Specify the file path and goal ID to apply the refinement.
Instructions
Refine a goal by filling it with an expression that may create new subgoals.
If expr is empty, Agda tries to refine using the goal type. Call agda_load afterwards to refresh goals.
Args: file_path: Absolute path to the .agda file goal_id: The goal/hole number (from agda_load output) expr: Expression to refine with (can be empty)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | No | ||
| goal_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |