Skip to content

Commit 22127bc

Browse files
committed
another fix to transitivity
1 parent 32a6087 commit 22127bc

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/phl/ecPhlTrans.ml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ module Low = struct
2525
let fv2 = PV.fv env p.ml p2.inv in
2626
let fv = PV.union fv1 fv2 in
2727
let elts, glob = PV.ntr_elements fv in
28-
let bd, s = generalize_subst env mhr elts glob in
29-
let s1 = PVM.of_mpv s mright in
30-
let s2 = PVM.of_mpv s mleft in
28+
let m = EcIdent.create "&m" in
29+
let bd, s = generalize_subst env m elts glob in
30+
let s1 = PVM.of_mpv s p.mr in
31+
let s2 = PVM.of_mpv s p.ml in
3132
let concl = map_ts_inv2 f_and (map_ts_inv1 (PVM.subst env s1) p1) (map_ts_inv1 (PVM.subst env s2) p2) in
3233
EcSubst.f_forall_mems_ts_inv prml prmr (map_ts_inv2 f_imp p (map_ts_inv1 (f_exists bd) concl)) in
3334
let cond2 =
@@ -46,6 +47,7 @@ module Low = struct
4647
let cond1, cond2 =
4748
transitivity_side_cond hyps
4849
m1 m3 m1 m3 (es_pr es) (es_po es) p1 q1 mt p2 q2 in
50+
!pp_debug_form (FApi.tc1_env tc) cond1;
4951
let cond3 =
5052
f_equivS (snd es.es_ml) mt p1 es.es_sl c2 q1 in
5153
let cond4 =

0 commit comments

Comments
 (0)