From: Wilmer Ricciotti Date: Tue, 12 Jan 2010 12:23:37 +0000 (+0000) Subject: Fixed a bug in the discrimination principle: the refiner was not able to X-Git-Tag: make_still_working~3126 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=829b998d08ec1bfcd68e82b42c369e1e35eb5bed;p=helm.git Fixed a bug in the discrimination principle: the refiner was not able to synthesize the return type of the inner match correctly. --- diff --git a/helm/software/components/ng_tactics/nDestructTac.ml b/helm/software/components/ng_tactics/nDestructTac.ml index 4f87707eb..8b2065a43 100644 --- a/helm/software/components/ng_tactics/nDestructTac.ml +++ b/helm/software/components/ng_tactics/nDestructTac.ml @@ -206,7 +206,8 @@ let mk_discriminator it status = Some (CicNotationPt.Binder (`Lambda, (mk_id "y",None), CicNotationPt.Binder (`Forall, (mk_id "_", Some (mk_appl [mk_id "eq";CicNotationPt.Implicit - `JustOne;CicNotationPt.Implicit `JustOne;mk_id "y"])), + `JustOne;(*CicNotationPt.Implicit `JustOne*) + mk_appl (mk_id (kname it i)::ts);mk_id "y"])), CicNotationPt.Implicit `JustOne ))), List.map (fun j ->