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=1e1080c89c842dc0d31a89c99e3039c3788d3b34;hb=7b95759c5011a25f96d5171561ea79d063770db4;hp=1f473cbcecdfc54b967797bd30a0a2c10804cb5a;hpb=d795687ffe924872a5e36122c2bd3069d6409454;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 1f473cbce..1e1080c89 100644 --- a/matita/matita/contribs/lambdadelta/basic_1/lift1/defs.ma +++ b/matita/matita/contribs/lambdadelta/basic_1/lift1/defs.ma @@ -14,27 +14,18 @@ (* This file was automatically generated: do not edit *********************) -include "Basic-1/lift/defs.ma". +include "basic_1/lift/defs.ma". -definition trans: - PList \to (nat \to nat) -\def - 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 -\Rightarrow (plus j h)]))])) in trans. +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 (let TMP_1 \def (blt j d) in (match TMP_1 with [true +\Rightarrow j | false \Rightarrow (plus j h)])))]). -definition lift1: - PList \to (T \to T) -\def - 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))])) in lift1. +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 (let TMP_1 \def +(lift1 hds0 t) in (lift h d TMP_1))]). -definition lifts1: - PList \to (TList \to TList) -\def - 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))]) in lifts1. +let rec lifts1 (hds: PList) (ts: TList) on ts: TList \def match ts with [TNil +\Rightarrow TNil | (TCons t ts0) \Rightarrow (let TMP_1 \def (lift1 hds t) in +(let TMP_2 \def (lifts1 hds ts0) in (TCons TMP_1 TMP_2)))].