From: Claudio Sacerdoti Coen Date: Wed, 19 Jul 2006 16:29:06 +0000 (+0000) Subject: Bug fixed in rewrite in multiple hypothesis and/or conclusion: a lifting was X-Git-Tag: 0.4.95@7852~1179 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=4b1d60115a153a0bd42840d4c9516bf143234d45;p=helm.git Bug fixed in rewrite in multiple hypothesis and/or conclusion: a lifting was missing, as usual :-) --- diff --git a/components/tactics/equalityTactics.ml b/components/tactics/equalityTactics.ml index 69466c272..1ef330bd2 100644 --- a/components/tactics/equalityTactics.ml +++ b/components/tactics/equalityTactics.ml @@ -44,14 +44,16 @@ let rec rewrite_tac ~direction ~(pattern: ProofEngineTypes.lazy_pattern) equalit (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 =