Claim ยท cairn_examples 0.2.0
cairn_examples^220 Escape cancels an edit
A flow of cairn_examples 0.2.0, in Todos window.
- Id
cairn_examples^220- Kind
- flow
- Reads as
- proved
- Place
- Todos window
^201 - Version
- 0.2.0
What you do
Add milk, double-click it, delete its text, press Escape.
What you see
The title is still milk, and edit mode has ended (T31).
Steps
The witness its liveness proof follows, from the app's first state.
- edit insert
"milk"on^202New todo - submit on
^202New todo - doublePress on
^205#1Edit a todo - edit selectAll on
^207#1Edit field - edit deleteBackward on
^207#1Edit field - cancel on
^207#1Edit field
Evidence
| proved | live | Examples.Todo.escapeCancels.live |
| proved | reaches | Examples.Todo.escapeCancels.reaches |
| 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). | |
| seen | Not shown yet: a screenshot of the app shows it. A CI step will publish it (#95). | |
Where it's defined
- Declaration
Examples.Todo.escapeCancels- Module
Todo- Source
lean/Todo.lean:249atv0.2.0- Machine
Examples.Todo.machine- Statement
Examples.Todo.escapeCancels.goalExamples.Todo.escapeCancels.witness- Statement hash
b646e7f81edd3bef
Ledger
cairn_examples^220 is active in this version's claims.lock, statement b646e7f81edd3bef. An id never moves or changes meaning.