]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_1/tlt/defs.ma
update in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_1 / tlt / defs.ma
index 546bdb78d60b98b5b2d33747839bca62e5914738..17474004236ddbcd49a5a55c17c60c5445055cf2 100644 (file)
@@ -14,7 +14,7 @@
 
 (* This file was automatically generated: do not edit *********************)
 
-include "Basic-1/T/defs.ma".
+include "basic_1/T/defs.ma".
 
 definition wadd:
  ((nat \to nat)) \to (nat \to (nat \to nat))
@@ -22,17 +22,14 @@ definition wadd:
  \lambda (f: ((nat \to nat))).(\lambda (w: nat).(\lambda (n: nat).(match n 
 with [O \Rightarrow w | (S m) \Rightarrow (f m)]))).
 
-definition weight_map:
- ((nat \to nat)) \to (T \to nat)
-\def
- let rec weight_map (f: ((nat \to nat))) (t: T) on t: nat \def (match t with 
-[(TSort _) \Rightarrow O | (TLRef n) \Rightarrow (f n) | (THead k u t0) 
+rec definition weight_map (f: (nat \to nat)) (t: T) on t: nat \def match t 
+with [(TSort _) \Rightarrow O | (TLRef n) \Rightarrow (f n) | (THead k u t0) 
 \Rightarrow (match k with [(Bind b) \Rightarrow (match b with [Abbr 
 \Rightarrow (S (plus (weight_map f u) (weight_map (wadd f (S (weight_map f 
 u))) t0))) | Abst \Rightarrow (S (plus (weight_map f u) (weight_map (wadd f 
 O) t0))) | Void \Rightarrow (S (plus (weight_map f u) (weight_map (wadd f O) 
 t0)))]) | (Flat _) \Rightarrow (S (plus (weight_map f u) (weight_map f 
-t0)))])]) in weight_map.
+t0)))])].
 
 definition weight:
  T \to nat