(Tacticals.then_
(rewrite_tac ~direction
~pattern:(None,[he],None) equality)
- (rewrite_tac ~direction ~pattern:(None,tl,concl_pat) equality)
+ (rewrite_tac ~direction ~pattern:(None,tl,concl_pat)
+ (CicSubstitution.lift 1 equality))
) status
| [_] as hyps_pat when concl_pat <> None ->
PET.apply_tactic
(Tacticals.then_
(rewrite_tac ~direction
~pattern:(None,hyps_pat,None) equality)
- (rewrite_tac ~direction ~pattern:(None,[],concl_pat) equality)
+ (rewrite_tac ~direction ~pattern:(None,[],concl_pat)
+ (CicSubstitution.lift 1 equality))
) status
| _ ->
let arg,dir2,tac,concl_pat,gty =