X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_1%2Flift1%2Fdefs.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_1%2Flift1%2Fdefs.ma;h=4ab2589050f3a4a028468c2b4ae454043e126819;hb=ab2f735d97d2b9c965f13527d5f6f61048d29b22;hp=94e6343dfa034faf5d3ef607de01c74c65329f67;hpb=c3904c007394068ed823575e3be3d73a9ad92cce;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_1/lift1/defs.ma b/matita/matita/contribs/lambdadelta/basic_1/lift1/defs.ma index 94e6343df..4ab258905 100644 --- a/matita/matita/contribs/lambdadelta/basic_1/lift1/defs.ma +++ b/matita/matita/contribs/lambdadelta/basic_1/lift1/defs.ma @@ -16,16 +16,16 @@ include "basic_1/lift/defs.ma". -let rec trans (hds: PList) on hds: nat \to nat \def \lambda (i: nat).(match -hds with [PNil \Rightarrow i | (PCons h d hds0) \Rightarrow (let j \def -(trans hds0 i) in (match (blt j d) with [true \Rightarrow j | false +rec definition trans (hds: PList) on hds: nat \to nat \def \lambda (i: +nat).(match hds with [PNil \Rightarrow i | (PCons h d hds0) \Rightarrow (let +j \def (trans hds0 i) in (match (blt j d) with [true \Rightarrow j | false \Rightarrow (plus j h)]))]). -let rec lift1 (hds: PList) on hds: T \to T \def \lambda (t: T).(match hds -with [PNil \Rightarrow t | (PCons h d hds0) \Rightarrow (lift h d (lift1 hds0 -t))]). +rec definition lift1 (hds: PList) on hds: T \to T \def \lambda (t: T).(match +hds with [PNil \Rightarrow t | (PCons h d hds0) \Rightarrow (lift h d (lift1 +hds0 t))]). -let rec lifts1 (hds: PList) (ts: TList) on ts: TList \def match ts with [TNil -\Rightarrow TNil | (TCons t ts0) \Rightarrow (TCons (lift1 hds t) (lifts1 hds -ts0))]. +rec definition lifts1 (hds: PList) (ts: TList) on ts: TList \def match ts +with [TNil \Rightarrow TNil | (TCons t ts0) \Rightarrow (TCons (lift1 hds t) +(lifts1 hds ts0))].