Skip to content

Commit

Permalink
update Program.thy
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Dec 1, 2024
1 parent 41eef7a commit 5da7a09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/positive/Isabelle/isabelle/Program.thy
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,12 @@ fun message :: "'MessageType MessagePacket \<Rightarrow> 'MessageType" where
message'"

fun sender :: "'MessageType EnvelopedMessage \<Rightarrow> nat option" where
"sender (| EnvelopedMessage.sender = sender', EnvelopedMessage.packet = packet' |) = sender'"
"sender (| EnvelopedMessage.sender = sender', EnvelopedMessage.packet = packet' |) =
sender'"

fun packet :: "'MessageType EnvelopedMessage \<Rightarrow> 'MessageType MessagePacket" where
"packet (| EnvelopedMessage.sender = sender', EnvelopedMessage.packet = packet' |) = packet'"
"packet (| EnvelopedMessage.sender = sender', EnvelopedMessage.packet = packet' |) =
packet'"

fun time :: "'HandleType Timer \<Rightarrow> nat" where
"time (| Timer.time = time', Timer.handle = handle' |) = time'"
Expand Down

0 comments on commit 5da7a09

Please sign in to comment.