Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions projection/bakery_to_endpointScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ val _ = new_theory "bakery_to_endpoint";

val split_sel_def = Define `
(split_sel proc p (Sel p1 b p2 c) =
if proc = p2 then
if p1 = p then
if p1 = p then
if proc = p2 then
SOME(b,c)
else NONE
else if proc ≠ p1 then
split_sel proc p c
else split_sel proc p c
else NONE)
∧ (split_sel proc _ _ = NONE)`

Expand Down
Loading