X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matitaB%2Fmatita%2Fcontribs%2FLAMBDA-TYPES%2FBasic-1%2Flift1%2Fdefs.ma;fp=matitaB%2Fmatita%2Fcontribs%2FLAMBDA-TYPES%2FBasic-1%2Flift1%2Fdefs.ma;h=0000000000000000000000000000000000000000;hb=88a68a9c334646bc17314d5327cd3b790202acd6;hp=1f473cbcecdfc54b967797bd30a0a2c10804cb5a;hpb=4904accd80118cb8126e308ae098d87f8651c9f4;p=helm.git diff --git a/matitaB/matita/contribs/LAMBDA-TYPES/Basic-1/lift1/defs.ma b/matitaB/matita/contribs/LAMBDA-TYPES/Basic-1/lift1/defs.ma deleted file mode 100644 index 1f473cbce..000000000 --- a/matitaB/matita/contribs/LAMBDA-TYPES/Basic-1/lift1/defs.ma +++ /dev/null @@ -1,40 +0,0 @@ -(**************************************************************************) -(* ___ *) -(* ||M|| *) -(* ||A|| A project by Andrea Asperti *) -(* ||T|| *) -(* ||I|| Developers: *) -(* ||T|| The HELM team. *) -(* ||A|| http://helm.cs.unibo.it *) -(* \ / *) -(* \ / This file is distributed under the terms of the *) -(* v GNU General Public License Version 2 *) -(* *) -(**************************************************************************) - -(* This file was automatically generated: do not edit *********************) - -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. - -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. - -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. -