]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_1/plist/defs.ma
update in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / ground_1 / plist / defs.ma
index fb5163dde66c142ddb6df118b42bc2800769f16c..13a7bd07a079a8be249126995c45de937dfc87e2 100644 (file)
@@ -20,16 +20,15 @@ inductive PList: Type[0] \def
 | PNil: PList
 | PCons: nat \to (nat \to (PList \to PList)).
 
-let rec PConsTail (hds: PList) on hds: nat \to (nat \to PList) \def \lambda 
-(h0: nat).(\lambda (d0: nat).(match hds with [PNil \Rightarrow (PCons h0 d0 
-PNil) | (PCons h d hds0) \Rightarrow (let TMP_1 \def (PConsTail hds0 h0 d0) 
-in (PCons h d TMP_1))])).
+rec definition PConsTail (hds: PList) on hds: nat \to (nat \to PList) \def 
+\lambda (h0: nat).(\lambda (d0: nat).(match hds with [PNil \Rightarrow (PCons 
+h0 d0 PNil) | (PCons h d hds0) \Rightarrow (PCons h d (PConsTail hds0 h0 
+d0))])).
 
-let rec Ss (hds: PList) on hds: PList \def match hds with [PNil \Rightarrow 
-PNil | (PCons h d hds0) \Rightarrow (let TMP_1 \def (S d) in (let TMP_2 \def 
-(Ss hds0) in (PCons h TMP_1 TMP_2)))].
+rec definition Ss (hds: PList) on hds: PList \def match hds with [PNil 
+\Rightarrow PNil | (PCons h d hds0) \Rightarrow (PCons h (S d) (Ss hds0))].
 
-let rec papp (a: PList) on a: PList \to PList \def \lambda (b: PList).(match 
-a with [PNil \Rightarrow b | (PCons h d a0) \Rightarrow (let TMP_1 \def (papp 
-a0 b) in (PCons h d TMP_1))]).
+rec definition papp (a: PList) on a: PList \to PList \def \lambda (b: 
+PList).(match a with [PNil \Rightarrow b | (PCons h d a0) \Rightarrow (PCons 
+h d (papp a0 b))]).