repair
Finds named constant values within specified ranges that make a check pass using the least change, or minimizes/maximizes a term, returning adjusted values, cost, and status.
Instructions
The values of named constants, within their ranges, that make a check
pass, at the least change from their present values (the sum of
|new - present|), or at the least minimize / the greatest maximize
(a term over the constants). parameters: the constants that may
change, {name: {low, high, integer}}; they are among the constants of
the contracts. The check: refines (refined, abstract), impl or env
(contract and implementation / environment as a formula, or smv,
machine, rtl), verify, compat, consist (contract).
status: holds (the present values pass), repaired (values, cost,
optimal), impossible (no values in the ranges pass), or unknown with a
reason. check is the result of the check with the values; the method
(projection, counterexamples, witnesses, enumeration) and its rounds are
given. time_limit (seconds) stops the whole repair: unknown, with the
least cost proved so far (bound).
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": {
"check": "<check>",
"parameters": "<parameters>"
},
"name": "repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rtl | No | ||
| smv | No | ||
| check | Yes | ||
| method | No | auto | |
| rounds | No | ||
| backend | No | auto | |
| machine | No | ||
| refined | No | ||
| timeout | No | ||
| abstract | No | ||
| contract | No | ||
| maximize | No | ||
| minimize | No | ||
| parameters | Yes | ||
| time_limit | No | ||
| environment | No | ||
| implementation | No |