X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2Ftests%2Ffirst.ma;h=4fca7b1999664dc66b24e92e1184cc08b681ebe2;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=69b4adf26f4221a6a19b006617740fe4e253c0b4;hpb=6b5e1d495c61f459738187e8d71efadb162abdbe;p=helm.git diff --git a/helm/matita/tests/first.ma b/helm/matita/tests/first.ma index 69b4adf26..4fca7b199 100644 --- a/helm/matita/tests/first.ma +++ b/helm/matita/tests/first.ma @@ -1,3 +1,17 @@ +(**************************************************************************) +(* ___ *) +(* ||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/tests/first/". inductive nat : Set \def @@ -12,8 +26,7 @@ inductive list (A:Set) : Set \def | cons : A \to list A \to list A. let rec list_len (A:Set) (l:list A) on l \def - [\lambda x.nat] - match (l:list A) with + match l with [ nil \Rightarrow O | (cons a tl) \Rightarrow S (list_len A tl)].