Fix goal recovery
This commit is contained in:
parent
3846556035
commit
996f586bc1
1 changed files with 783 additions and 145 deletions
13
codex-keep/model/Controls.tla
Normal file
13
codex-keep/model/Controls.tla
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
----------------------------- MODULE Controls -----------------------------
|
||||
EXTENDS Keep
|
||||
|
||||
\* Bounded append-only controls partition all traces; fair actions never change inputs.
|
||||
CONSTANTS First, Last
|
||||
ASSUME First \in GoalStates /\ Last \in GoalStates
|
||||
Control == <<First, Last>>
|
||||
|
||||
Prefix == Len(inputs') <= Len(Control) /\
|
||||
\A i \in 1..Len(inputs') : inputs'[i] = Control[i]
|
||||
PartNext == Next /\ Prefix
|
||||
PartSpec == Init /\ [][PartNext]_vars /\ Fairness
|
||||
=============================================================================
|
||||
Loading…
Reference in a new issue