X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_1%2Fdrop1%2Fdefs.ma;h=41b084879aa85bc4687975ae5f502c35a76a7320;hb=045c74915022181e288d9a950cc485437b08d002;hp=c1953427f0e25bbec2fff160d5ca8dbd99e80fb0;hpb=7b95759c5011a25f96d5171561ea79d063770db4;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_1/drop1/defs.ma b/matita/matita/contribs/lambdadelta/basic_1/drop1/defs.ma index c1953427f..41b084879 100644 --- a/matita/matita/contribs/lambdadelta/basic_1/drop1/defs.ma +++ b/matita/matita/contribs/lambdadelta/basic_1/drop1/defs.ma @@ -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])))]).