Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Identify and verify loop invariants for correctness proofs
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -27% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -31% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 13% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 14% | 0% |
Identify and verify loop invariants to help construct correctness proofs for algorithms.
json{ "type": "object", "properties": { "code": { "type": "string" }, "language": { "type": "string" }, "loopIndex": { "type": "integer" }, "expectedInvariant": { "type": "string" } }, "required": ["code"] }
json{ "type": "object", "properties": { "success": { "type": "boolean" }, "invariants": { "type": "array" }, "preconditions": { "type": "array" }, "postconditions": { "type": "array" }, "proofOutline": { "type": "string" } }, "required": ["success"] }
Other measured skills in the registry, with their headline benchmark lift.