From 6d0c4a258bcad918a6ef5582ec44b4c7b523387d Mon Sep 17 00:00:00 2001 From: Andrea Asperti Date: Fri, 17 Jun 2011 09:49:27 +0000 Subject: [PATCH] New syntax of dummy with the type --- matita/matita/lib/lambdaN/terms.ma | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/matita/matita/lib/lambdaN/terms.ma b/matita/matita/lib/lambdaN/terms.ma index 554f8099c..0227f1e94 100644 --- a/matita/matita/lib/lambdaN/terms.ma +++ b/matita/matita/lib/lambdaN/terms.ma @@ -18,7 +18,7 @@ inductive T : Type[0] ≝ | App: T → T → T (* function, argument *) | Lambda: T → T → T (* type, body *) | Prod: T → T → T (* type, body *) - | D: T → T (* dummifier *) + | D: T → T → T (* dummy term, type *) . (* Appl F l generalizes App applying F to a list of arguments @@ -30,7 +30,7 @@ let rec Appl F l on l ≝ match l with ]. lemma appl_append: ∀N,l,M. Appl M (l @ [N]) = App (Appl M l) N. -#N #l elim l -l // #hd #tl #IHl #M >IHl // +#N #l elim l normalize // qed. (* @@ -43,9 +43,13 @@ let rec is_dummy t ≝ match t with | D _ ⇒ true ]. *) -(* nautral terms *) + +(* neutral terms + secondo me questa definzione non va qui, comunque la + estendo al caso dummy *) inductive neutral: T → Prop ≝ | neutral_sort: ∀n.neutral (Sort n) | neutral_rel: ∀i.neutral (Rel i) | neutral_app: ∀M,N.neutral (App M N) + | neutral_dummy: ∀M,N.neutral (D M N) . -- 2.39.2