Skip to content

Commit 5c1263a

Browse files
committed
nudge an example
1 parent 0b2935e commit 5c1263a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/pulse/lib/Pulse.Lib.Swap.Slice.fst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ fn slice_swap_aux(#t: Type0) (a: S.slice t) (mb: (mb: SZ.t {0 < SZ.v mb /\ SZ.v
7373
S.op_Array_Assignment a idx x;
7474
pj := j';
7575
pidx := idx';
76-
()
76+
#set-options "--z3refresh" { () } //restart the solver to prove the invariant at the end in a clean state
7777
};
7878
();
7979
with s . assert (pts_to a s);

src/checker/Pulse.Checker.Prover.fst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ let prove_atom (g: env) (ctxt: list slprop_view) (allow_amb: bool) (goal: slprop
625625
with_uf_transaction (fun _ ->
626626
match mkeys, mkeys' with
627627
| Some mkeys, Some mkeys' ->
628-
T.zip mkeys mkeys' |> forallb (fun (a, b) -> RU.teq_nosmt_force (elab_env g) a b)
628+
T.zip mkeys mkeys' |> forallb (fun (a, b) -> RU.teq_nosmt_force_phase1 (elab_env g) a b)
629629
| _, _ ->
630630
teq_nosmt_force_args (elab_env g) ctxt goal true
631631
)

0 commit comments

Comments
 (0)