@@ -435,22 +435,23 @@ let process_eqs env tc f =
435435 (EcPrinting. pp_form ppe) f.inv)
436436
437437(* -------------------------------------------------------------------- *)
438- let process_hint tc hyps (feqs , inv ) =
438+ let process_hint ml mr tc hyps (feqs , inv ) =
439439 let env = LDecl. toenv hyps in
440440 let doinv pf = TTC. tc1_process_prhl_form tc tbool pf in
441441 let doeq pf = process_eqs env tc (doinv pf) in
442442 let dof g = omap (EcTyping. trans_gamepath env) g in
443443 let geqs =
444444 List. map (fun ((f1 ,f2 ),geq ) -> dof f1, dof f2, doeq geq)
445445 feqs in
446- let ginv = odfl {ml= mleft ;mr= mright ;inv= f_true} (omap doinv inv) in
446+ let ginv = odfl {ml;mr;inv= f_true} (omap doinv inv) in
447447 geqs, ginv
448448
449449(* -------------------------------------------------------------------- *)
450450let process_eqobs_inS info tc =
451451 let env, hyps, _ = FApi. tc1_eflat tc in
452452 let es = tc1_as_equivS tc in
453- let spec, inv = process_hint tc hyps info.EcParsetree. sim_hint in
453+ let ml, mr = fst es.es_ml, fst es.es_mr in
454+ let spec, inv = process_hint ml mr tc hyps info.EcParsetree. sim_hint in
454455 let eqo =
455456 match info.EcParsetree. sim_eqs with
456457 | Some pf ->
@@ -492,7 +493,8 @@ let process_eqobs_inF info tc =
492493 tc_error !! tc " no positions excepted" ;
493494 let env, hyps, _ = FApi. tc1_eflat tc in
494495 let ef = tc1_as_equivF tc in
495- let spec, inv = process_hint tc hyps info.EcParsetree. sim_hint in
496+ let ml, mr = ef.ef_ml, ef.ef_mr in
497+ let spec, inv = process_hint ml mr tc hyps info.EcParsetree. sim_hint in
496498 let fl = ef.ef_fl and fr = ef.ef_fr in
497499 let eqo =
498500 match info.EcParsetree. sim_eqs with
0 commit comments