Claim ยท cairn_examples 0.2.0
cairn_examples^216 Add two todos and complete one
A flow of cairn_examples 0.2.0, in Todos window.
- Id
cairn_examples^216- Kind
- flow
- Reads as
- proved
- Place
- Todos window
^201 - Version
- 0.2.0
What you do
Type milk and press Enter, type eggs with spaces around it and press Enter, then check milk.
What you see
Two todos in order, eggs trimmed, milk completed, the field empty, and 1 item left.
Steps
The witness its liveness proof follows, from the app's first state.
- edit insert
"milk"on^202New todo - submit on
^202New todo - edit insert
" eggs "on^202New todo - submit on
^202New todo - press on
^204#1Complete a todo
Evidence
| proved | live | Examples.Todo.addAndComplete.live |
| proved | reaches | Examples.Todo.addAndComplete.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.addAndComplete- Module
Todo- Source
lean/Todo.lean:219atv0.2.0- Machine
Examples.Todo.machine- Statement
Examples.Todo.addAndComplete.goalExamples.Todo.addAndComplete.witness- Statement hash
059a40708193b6f5
Ledger
cairn_examples^216 is active in this version's claims.lock, statement 059a40708193b6f5. An id never moves or changes meaning.