From: Claudio Sacerdoti Coen Date: Wed, 26 Jul 2006 14:05:31 +0000 (+0000) Subject: Elim now performs whd to find the inductive type. X-Git-Tag: 0.4.95@7852~1146 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=245c8538406d49df459efb1fe9d87474db4bd332;p=helm.git Elim now performs whd to find the inductive type. --- diff --git a/components/tactics/primitiveTactics.ml b/components/tactics/primitiveTactics.ml index 7a732a572..63c51d9ef 100644 --- a/components/tactics/primitiveTactics.ml +++ b/components/tactics/primitiveTactics.ml @@ -472,6 +472,7 @@ let elim_tac ~term = let (curi,metasenv,proofbo,proofty) = proof in let metano,context,ty = CicUtil.lookup_meta goal metasenv in let termty,_ = T.type_of_aux' metasenv context term CicUniv.empty_ugraph in + let termty = CicReduction.whd context termty in let (termty,metasenv',arguments,fresh_meta) = ProofEngineHelpers.saturate_term (ProofEngineHelpers.new_meta_of_proof proof) metasenv context termty 0 in