agda_give
Fill an Agda goal or hole with a proposed solution; the tool verifies the expression and replaces the hole in the source file if valid.
Instructions
Fill a goal/hole with a complete solution.
Agda will check the expression and, if correct, replace the hole in the source file. 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: The expression to fill the hole with
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expr | Yes | ||
| goal_id | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |