Claim ยท pairs 0.1.3
pairs^22 Won exactly when every card is matched
An invariant of pairs 0.1.3.
- Id
pairs^22- Kind
- invariant
- Reads as
- proved
- Version
- 0.1.3
What it says
The game is won, and its time recorded, exactly when every card on the board is matched.
Evidence
| proved | init | Pairs.wonIff.init |
| proved | step | Pairs.wonIff.step |
| proved | receive | Pairs.wonIff.receive |
| proved | reachable | Pairs.wonIff.reachable |
| proved | reachableAll | Pairs.wonIff.reachableAll |
| fuzzed | Not shown yet: the claim-driven fuzzer held it in every random sequence (docs/fuzz.md). A CI step will publish it (#95). | |
| tested | Not shown yet: the running app matched the model at every step that exercised it (docs/conformance.md). A CI step will publish it (#95). | |
Where it's defined
- Declaration
Pairs.wonIff- Module
Pairs.Claims- Source
lean/Pairs/Claims.lean:340atv0.1.3- Machine
Pairs.machine- Statement
Pairs.wonIff.holds- Statement hash
d8549b36739f618d
Ledger
pairs^22 is active in this version's claims.lock, statement d8549b36739f618d. An id never moves or changes meaning.