Skip to content

Commit 99ba102

Browse files
nikswamygebner
authored andcommitted
Automate elimination of on l _; treat on specially in matching, inheriting the match keys of its second argument
1 parent 5fa86c0 commit 99ba102

File tree

3 files changed

+499
-16
lines changed

3 files changed

+499
-16
lines changed

lib/pulse/lib/Pulse.Lib.Inv.fst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,15 @@ ghost fn move i p l1 l2
6060
ensures on l' p
6161
{
6262
bwd ();
63+
rewrite on l1 p as on l_ p;
6364
let f = f; f ()
6465
};
6566
ghost fn g' ()
6667
requires on l' p
6768
ensures on l2 p
6869
{
6970
let g = g; g ();
71+
rewrite on l_ p as on l1 p;
7072
fwd ();
7173
};
7274
fold move_tag l2 l' p f' g';

0 commit comments

Comments
 (0)