Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
progress xover
Browse files Browse the repository at this point in the history
  • Loading branch information
mlimbeck committed Feb 20, 2024
1 parent e7316f2 commit 105c642
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion router/dataplane_concurrency_test.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,20 @@ func Process(p Pkt, ghost m *sync.Mutex, ghost y SharedArg, ghost dp io.DataPlan
assume false
} else {
assume currseg.LeftSeg != none[io.IO_seg2] && len(get(currseg.LeftSeg)) > 0 // have to prove

ghost nextseg := get(currseg.LeftSeg)
ghost traversedseg_inc := io.establishGuardTraversedsegInc(currseg, currseg.ConsDir)
ghost hf2 := nextseg.Future[0]
ghost pkt_internal := io.IO_val(io.IO_Internal_val1{
pkt.IO_val_Pkt2_2,
get(pkt.IO_val_Pkt2_1),
io.IO_pkt2(
io.IO_Packet2{
nextseg,
pkt.IO_val_Pkt2_2.MidSeg,
pkt.IO_val_Pkt2_2.RightSeg,
some(traversedseg_inc)}),
nextif_opt})
assert dp.dp2_xover_common_guard(pkt.IO_val_Pkt2_2, currseg, nextseg, traversedseg_inc, pkt_internal.Internal_val1_3, hf1, hf2, dp.Asid(), pkt.IO_val_Pkt2_1)
}
} else{
//enter
Expand Down

0 comments on commit 105c642

Please sign in to comment.