Skip to content

Commit

Permalink
Fix While timeout in Isabelle semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
palas committed Apr 14, 2019
1 parent b626bfb commit 7a5749d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semantics-2.0/formalisation/Semantics.thy
Expand Up @@ -563,7 +563,7 @@ function reduceRec :: "BlockNumber \<Rightarrow> State \<Rightarrow> Environment
(Constant (evalValue blockNum state def)) (Constant (evalValue blockNum state def))
(reduceRec blockNum state env contract)" | (reduceRec blockNum state env contract)" |
"reduceRec blockNum state env (While obs timeout contractWhile contractAfter) = "reduceRec blockNum state env (While obs timeout contractWhile contractAfter) =
(if isExpired timeout blockNum (if isExpired blockNum timeout
then reduceRec blockNum state env contractAfter then reduceRec blockNum state env contractAfter
else (if evalObservation blockNum state obs else (if evalObservation blockNum state obs
then (While obs timeout (reduceRec blockNum state env contractWhile) contractAfter) then (While obs timeout (reduceRec blockNum state env contractWhile) contractAfter)
Expand Down

0 comments on commit 7a5749d

Please sign in to comment.