let gty'' =
ProofEngineReduction.replace_lifting
~equality:ProofEngineReduction.alpha_equivalence
- ~what:t1' ~with_what:(C.Rel 1) ~where:gty'
+ ~what:[t1'] ~with_what:[C.Rel 1] ~where:gty'
in
C.Lambda
(ProofEngineHelpers.mk_fresh_name context C.Anonymous ty, ty, gty'')
let gty'' =
ProofEngineReduction.replace_lifting
~equality:ProofEngineReduction.alpha_equivalence
- ~what:t1' ~with_what:(C.Rel 1) ~where:gty'
+ ~what:[t1'] ~with_what:[C.Rel 1] ~where:gty'
in
C.Lambda
(ProofEngineHelpers.mk_fresh_name context C.Anonymous ty, ty, gty'')