]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_1/drop1/defs.ma
update in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_1 / drop1 / defs.ma
index c1953427f0e25bbec2fff160d5ca8dbd99e80fb0..41b084879aa85bc4687975ae5f502c35a76a7320 100644 (file)
@@ -24,10 +24,9 @@ inductive drop1: PList \to (C \to (C \to Prop)) \def
 nat).((drop h d c1 c2) \to (\forall (c3: C).(\forall (hds: PList).((drop1 hds 
 c2 c3) \to (drop1 (PCons h d hds) c1 c3)))))))).
 
-let rec ptrans (hds: PList) on hds: nat \to PList \def \lambda (i: 
+rec definition ptrans (hds: PList) on hds: nat \to PList \def \lambda (i: 
 nat).(match hds with [PNil \Rightarrow PNil | (PCons h d hds0) \Rightarrow 
-(let j \def (trans hds0 i) in (let q \def (ptrans hds0 i) in (let TMP_1 \def 
-(blt j d) in (match TMP_1 with [true \Rightarrow (let TMP_2 \def (S j) in 
-(let TMP_3 \def (minus d TMP_2) in (PCons h TMP_3 q))) | false \Rightarrow 
-q]))))]).
+(let j \def (trans hds0 i) in (let q \def (ptrans hds0 i) in (match (blt j d) 
+with [true \Rightarrow (PCons h (minus d (S j)) q) | false \Rightarrow 
+q])))]).