surete tp1
This commit is contained in:
parent
41bc6fdbf2
commit
a85bb57d9a
12 changed files with 199 additions and 0 deletions
15
surete/tp1/temp_prop/once_since.ec
Normal file
15
surete/tp1/temp_prop/once_since.ec
Normal file
|
@ -0,0 +1,15 @@
|
|||
node once_since
|
||||
(a: bool;
|
||||
reset: bool)
|
||||
returns
|
||||
(o: bool);
|
||||
|
||||
var
|
||||
V14_a_happened: bool;
|
||||
|
||||
let
|
||||
o = ((a and (not reset)) -> V14_a_happened);
|
||||
V14_a_happened = (a -> (if reset then false else ((pre V14_a_happened) or a))
|
||||
);
|
||||
tel
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue