Skip to content

Commit eb5fccf

Browse files
committed
update active memory when reading transitivity argument
1 parent 6a5e1d4 commit eb5fccf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/phl/ecPhlTrans.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,14 +190,14 @@ let process_trans_stmt tf s ?pat c tc =
190190
| TFform (p1, q1, p2, q2) ->
191191
let p1, q1 =
192192
let ml, mr = (fst es.es_ml), (EcIdent.create "&hr") in
193-
let hyps = LDecl.push_all [es.es_ml; (mr, mt)] hyps in
194-
let p1 = TTC.pf_process_form !!tc hyps tbool p1 in
193+
let hyps = LDecl.push_active_ts es.es_ml (mr, mt) hyps in
194+
let p1 = TTC.pf_process_form !!tc hyps tbool p1 in
195195
let q1 = TTC.pf_process_form !!tc hyps tbool q1 in
196196
{ml;mr;inv=p1}, {ml;mr;inv=q1}
197197
in
198198
let p2, q2 =
199199
let ml, mr = (EcIdent.create "&hr"), (fst es.es_mr) in
200-
let hyps = LDecl.push_all [(ml, mt); es.es_mr] hyps in
200+
let hyps = LDecl.push_active_ts (ml, mt) es.es_mr hyps in
201201
let p2 = TTC.pf_process_form !!tc hyps tbool p2 in
202202
let q2 = TTC.pf_process_form !!tc hyps tbool q2 in
203203
{ml;mr;inv=p2}, {ml;mr;inv=q2}

0 commit comments

Comments
 (0)