X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=inline;f=helm%2Fsoftware%2Fmatita%2Ftests%2Fcoercions_dupelim.ma;fp=helm%2Fsoftware%2Fmatita%2Ftests%2Fcoercions_dupelim.ma;h=bfe2b34380578973edefcac4ed29517ba65555bc;hb=31cd60ef97eb2b90791b1470f389544de788bcd1;hp=0000000000000000000000000000000000000000;hpb=8554834e58019a70f9a8755c5245fee293c39820;p=helm.git diff --git a/helm/software/matita/tests/coercions_dupelim.ma b/helm/software/matita/tests/coercions_dupelim.ma new file mode 100644 index 000000000..bfe2b3438 --- /dev/null +++ b/helm/software/matita/tests/coercions_dupelim.ma @@ -0,0 +1,31 @@ +(**************************************************************************) +(* ___ *) +(* ||M|| *) +(* ||A|| A project by Andrea Asperti *) +(* ||T|| *) +(* ||I|| Developers: *) +(* ||T|| The HELM team. *) +(* ||A|| http://helm.cs.unibo.it *) +(* \ / *) +(* \ / This file is distributed under the terms of the *) +(* v GNU General Public License Version 2 *) +(* *) +(**************************************************************************) + +set "baseuri" "cic:/matita/test/". + +include "nat/nat.ma". + +axiom A : Type. + +inductive vec : nat -> Type := + | vnil : vec O + | vcons : ∀x:A.∀n:nat. vec n -> vec (S n). + +definition f := λx,n.λv:vec n.vcons x n v. +definition g := λn,x.λv:vec n.vcons x n v. + +include "logic/equality.ma". + +(* definition xx := f = g. *) +theorem xx1 : ∀n.∀x1:vec n.f ? ? x1 = g ? ? x1.