Skip to content

Commit

Permalink
cloning: fix regression bug in operators convertibilty check
Browse files Browse the repository at this point in the history
The check should use the full conversion.

fix #437
  • Loading branch information
strub authored and bgregoir committed Sep 14, 2023
1 parent 287106a commit 8746da3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ecTheoryReplay.ml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ let get_open_oper exn env p tys =
let rec oper_compatible exn env ob1 ob2 =
match ob1, ob2 with
| OP_Plain(f1,_), OP_Plain(f2,_) ->
error_body exn (EcReduction.is_conv (EcEnv.LDecl.init env []) f1 f2)
let ri = { EcReduction.full_red with delta_p = fun _-> `Force; } in
error_body exn (EcReduction.is_conv ~ri:ri (EcEnv.LDecl.init env []) f1 f2)
| OP_Plain({f_node = Fop(p,tys)},_), _ ->
let ob1 = get_open_oper exn env p tys in
oper_compatible exn env ob1 ob2
Expand Down

0 comments on commit 8746da3

Please sign in to comment.