We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sim
1 parent ccff776 commit 6ea6bdcCopy full SHA for 6ea6bdc
1 file changed
src/ecPV.ml
@@ -1139,6 +1139,10 @@ module Mpv2 = struct
1139
when EcReduction.EqTest.for_type env ty1 ty2
1140
&& EcReduction.EqTest.for_type env b1.e_ty b2.e_ty ->
1141
List.fold_left2 (add_eqs_loc env local) eqs (b1::es1) (b2::es2)
1142
+ | _, _ when EcReduction.EqTest.for_expr env e1 e2 ->
1143
+ let fv1 = e_read env e1 in
1144
+ let fv2 = e_read env e2 in
1145
+ union eqs (eq_refl (PV.inter fv1 fv2))
1146
| _, _ -> raise EqObsInError
1147
1148
let add_eqs env e1 e2 eqs = add_eqs_loc env Mid.empty eqs e1 e2
0 commit comments