verify
Check whether a claimed answer is actually correct — call this on any number you computed yourself before passing it downstream. verdict=verified means it is a certified real root; verdict=refuted_or_unverified means it is NOT, and nearestCertifiedRoot then carries the correct value so you can self-correct in the same turn. Deterministic and reproducible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| equation | Yes | A single equation containing an equals sign, e.g. "x^2 = 4". | |
| candidate | Yes | The claimed answer: a number (single variable, default variable x), {variable:value} for multiple variables, or an array in variables order. | |
| tolerance | No | Neighbourhood radius (optional, default 1e-3) within which a matching certified root is searched. | |
| variables | No | Variable names (required for multiple variables or array candidates), e.g. ["x","y"]. |