Skip to content

Commit

Permalink
and it goes through almost instantly with a restart-solver to reset t…
Browse files Browse the repository at this point in the history
…he context
  • Loading branch information
nikswamy committed Sep 4, 2024
1 parent 9a36d9e commit 6195723
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/preorders/Protocol.fst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
limitations under the License.
*)
module Protocol
#set-options "--ext context_pruning="
open FStar.Seq

open FStar.Preorder
Expand Down Expand Up @@ -427,7 +426,7 @@ val send_aux
from <= ctr c h1 /\
(forall (k:nat). k < n ==> Some? (Seq.index (as_seq file h0) k)) /\
sent_bytes (as_initialized_seq file h0) c from (ctr c h1) h1))
#push-options "--z3rlimit 500"
#restart-solver
let rec send_aux #n file c from pos
= if pos = n then ()
else
Expand Down

0 comments on commit 6195723

Please sign in to comment.