Cairn Docs Claims Blog Packages

Claim ยท cairn_examples 0.2.0

cairn_examples^219 Saving a blank edit deletes the todo

A flow of cairn_examples 0.2.0, in Todos window.

Id
cairn_examples^219
Kind
flow
Reads as
proved
Place
Todos window ^201
Version
0.2.0

All of cairn_examples 0.2.0's claims

What you do

Add milk, double-click it, delete its text, and click elsewhere.

What you see

The todo is gone (T29, T30).

Steps

The witness its liveness proof follows, from the app's first state.

  1. edit insert "milk" on ^202 New todo
  2. submit on ^202 New todo
  3. doublePress on ^205#1 Edit a todo
  4. edit selectAll on ^207#1 Edit field
  5. edit deleteBackward on ^207#1 Edit field
  6. blur on ^207#1 Edit field

Evidence

provedliveExamples.Todo.editToBlankDeletes.live
provedreachesExamples.Todo.editToBlankDeletes.reaches
testedNot shown yet: the running app matched the model at every step that exercised it (docs/conformance.md). A CI step will publish it (#95).
seenNot shown yet: a screenshot of the app shows it. A CI step will publish it (#95).

Where it's defined

Declaration
Examples.Todo.editToBlankDeletes
Module
Todo
Source
lean/Todo.lean:242 at v0.2.0
Machine
Examples.Todo.machine
Statement
Examples.Todo.editToBlankDeletes.goal Examples.Todo.editToBlankDeletes.witness
Statement hash
49af08f7a1c67a0b

Ledger

cairn_examples^219 is active in this version's claims.lock, statement 49af08f7a1c67a0b. An id never moves or changes meaning.