]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_1/C/defs.ma
update in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_1 / C / defs.ma
index cecc082677e494c409001a1d93ced6ff865642f1..9d41d8ce5a9c3eabd5893a9d9eab4f8cf431a490 100644 (file)
 
 (* This file was automatically generated: do not edit *********************)
 
-include "Basic-1/T/defs.ma".
+include "basic_1/T/defs.ma".
 
-inductive C: Set \def
+inductive C: Type[0] \def
 | CSort: nat \to C
 | CHead: C \to (K \to (T \to C)).
 
-definition cweight:
- C \to nat
-\def
- let rec cweight (c: C) on c: nat \def (match c with [(CSort _) \Rightarrow O 
-| (CHead c0 _ t) \Rightarrow (plus (cweight c0) (tweight t))]) in cweight.
+rec definition cweight (c: C) on c: nat \def match c with [(CSort _) 
+\Rightarrow O | (CHead c0 _ t) \Rightarrow (plus (cweight c0) (tweight t))].
 
 definition clt:
  C \to (C \to Prop)
@@ -36,10 +33,7 @@ definition cle:
 \def
  \lambda (c1: C).(\lambda (c2: C).(le (cweight c1) (cweight c2))).
 
-definition CTail:
- K \to (T \to (C \to C))
-\def
- let rec CTail (k: K) (t: T) (c: C) on c: C \def (match c with [(CSort n) 
-\Rightarrow (CHead (CSort n) k t) | (CHead d h u) \Rightarrow (CHead (CTail k 
-t d) h u)]) in CTail.
+rec definition CTail (k: K) (t: T) (c: C) on c: C \def match c with [(CSort 
+n) \Rightarrow (CHead (CSort n) k t) | (CHead d h u) \Rightarrow (CHead 
+(CTail k t d) h u)].