Skip to content

Commit

Permalink
edit, cf #223
Browse files Browse the repository at this point in the history
  • Loading branch information
nikswamy committed Oct 2, 2024
1 parent e7b2161 commit c003b97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/pulse/lib/Pulse.Lib.MonotonicGhostRef.fst
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ ensures pts_to r #(f +. g) v
unfold pts_to;
with hg. assert (GR.pts_to r (Some g, hg));
GR.gather r (Some f, hf) (Some g, hg);
let q : perm = f +. g; //annoying; can't write (f +. g) inline below
rewrite (GR.pts_to r ((Some f, hf) `(FP.fp_pcm p).p.op` (Some g, hf)))
as (GR.pts_to r (Some q, hf));
as (GR.pts_to r (Some #perm (f +. g), hf));
fold (pts_to r #(f +. g) v);
}

Expand Down

0 comments on commit c003b97

Please sign in to comment.