]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_1/drop1/defs.ma
legacy_1, ground_1, and basic_1 recommitted without anticipation
[helm.git] / matita / matita / contribs / lambdadelta / basic_1 / drop1 / defs.ma
index c1953427f0e25bbec2fff160d5ca8dbd99e80fb0..ff42adbf5a4a8c20703ce103aec613b9d3111123 100644 (file)
@@ -26,8 +26,7 @@ c2 c3) \to (drop1 (PCons h d hds) c1 c3)))))))).
 
 let rec 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])))]).