Termination with abstract stuttering — definitions
Lax755887.Stuttering · concepts/Lax755887/Stuttering.lean · lax-755887
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
A concrete step may leave the abstract state unchanged. Abstract well-foundedness does not rule out infinitely many such steps.
Concept map
Lean source view on GitHub
| 1 | import Mathlib |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Termination with abstract stuttering — definitions |
| 6 | type: definition |
| 7 | --- |
| 8 | A concrete step may leave the abstract state unchanged. Abstract well-foundedness does not rule out infinitely many such steps. |
| 9 | -/ |
| 10 | |
| 11 | namespace Lax755887.Stuttering |
| 12 | |
| 13 | abbrev State := ℕ × Bool |
| 14 | |
| 15 | def tick (s : State) : State := if s.2 then (s.1 - 1, false) else (s.1, true) |
| 16 | |
| 17 | def Step (next current : State) : Prop := next = tick current |
| 18 | |
| 19 | end Lax755887.Stuttering |
| 20 |
Builds on
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments