X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Ftests%2Fcoercions.ma;h=ca8c4abab583ff93c6bf583a4a5dc329c7f7847c;hb=a7e618ad478e4203068668f5fe90e7985a1dc2c5;hp=8e7582a147113a99b67e93e6bf484fe2865efb26;hpb=2bd3b029f7f67d9c616b7756278573cc9e96510c;p=helm.git diff --git a/helm/software/matita/tests/coercions.ma b/helm/software/matita/tests/coercions.ma index 8e7582a14..ca8c4abab 100644 --- a/helm/software/matita/tests/coercions.ma +++ b/helm/software/matita/tests/coercions.ma @@ -107,10 +107,41 @@ definition map: \forall n:nat.\forall l:listn nat n. nat \to nat \def definition church: nat \to nat \to nat \def times. coercion cic:/matita/tests/coercions/church.con 1. +lemma foo0 : ∀n:nat. n n = n * n. +intros; reflexivity; +qed. +lemma foo01 : ∀n:nat. n n n = n * n * n. +intros; reflexivity; +qed. definition mapmult: \forall n:nat.\forall l:listn nat n. nat \to nat \to nat \def \lambda n:nat.\lambda l:listn nat n.\lambda m,o:nat. l (m m) o (o o o). + +lemma foo : ∀n:nat. n n n n n n = n * n * n * n * n * n. +intros; reflexivity; +qed. + +axiom f : nat → nat. + +lemma foo1 : ∀n:nat. f n n = f n * n. + +axiom T0 : Type. +axiom T1 : Type. +axiom T2 : Type. +axiom T3 : Type. + +axiom c1 : T0 -> T1. +axiom c2 : T1 -> T2. +axiom c3 : T2 -> T3. +axiom c4 : T2 -> T1. + +coercion cic:/matita/tests/coercions/c1.con. +coercion cic:/matita/tests/coercions/c2.con. +coercion cic:/matita/tests/coercions/c3.con. +coercion cic:/matita/tests/coercions/c4.con. + +