File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1753,9 +1753,9 @@ module Fun = struct
17531753 (pre1,pre2), (post1,post2)
17541754
17551755 let equivF ml mr path1 path2 env =
1756- let (pre1,pre2 ),(post1,post2 ) = equivF_memenv ml mr path1 path2 env in
1757- Memory. push_all [pre1; pre2] env,
1758- Memory. push_all [post1; post2] env
1756+ let (prel,prer ),(postl,postr ) = equivF_memenv ml mr path1 path2 env in
1757+ Memory. push_active_ts prel prer env,
1758+ Memory. push_active_ts postl postr env
17591759
17601760 let equivS path1 path2 env =
17611761 let fun1 = by_xpath path1 env in
Original file line number Diff line number Diff line change @@ -3030,7 +3030,7 @@ and trans_form_or_pattern env mode ?mv ?ps ue pf tt =
30303030 let trans1 (x , s ) =
30313031 let mem =
30323032 match s with
3033- | None -> odfl mhr (EcEnv.Memory. get_active_ss env)
3033+ | None -> oget (EcEnv.Memory. get_active_ss env)
30343034 | Some s -> transmem env s
30353035
30363036 in (transpvar env mem x, mem) in
@@ -3171,8 +3171,9 @@ and trans_form_or_pattern env mode ?mv ?ps ue pf tt =
31713171
31723172 let do1 = function
31733173 | GVvar x ->
3174- let x1 = lookup EcFol. mleft (qual (om |> omap fst) x) in
3175- let x2 = lookup EcFol. mright (qual (om |> omap snd) x) in
3174+ let ml, mr = oget (EcEnv.Memory. get_active_ts env) in
3175+ let x1 = lookup ml (qual (om |> omap fst) x) in
3176+ let x2 = lookup mr (qual (om |> omap snd) x) in
31763177 unify_or_fail env ue x.pl_loc ~expct: x1.f_ty x2.f_ty;
31773178 f_eq x1 x2
31783179
You can’t perform that action at this time.
0 commit comments