X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbasic_1%2Ftlist%2Fdefs.ma;h=d0eed7f52dc6abe23bfb275eeb0070d3f2ab3263;hb=57ae1762497a5f3ea75740e2908e04adb8642cc2;hp=9445013d42ded787b4727d854c46438859da4c3d;hpb=88a68a9c334646bc17314d5327cd3b790202acd6;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/basic_1/tlist/defs.ma b/matita/matita/contribs/lambdadelta/basic_1/tlist/defs.ma index 9445013d4..d0eed7f52 100644 --- a/matita/matita/contribs/lambdadelta/basic_1/tlist/defs.ma +++ b/matita/matita/contribs/lambdadelta/basic_1/tlist/defs.ma @@ -14,31 +14,22 @@ (* This file was automatically generated: do not edit *********************) -include "Basic-1/T/defs.ma". +include "basic_1/T/defs.ma". -inductive TList: Set \def +inductive TList: Type[0] \def | TNil: TList | TCons: T \to (TList \to TList). -definition THeads: - K \to (TList \to (T \to T)) -\def - let rec THeads (k: K) (us: TList) on us: (T \to T) \def (\lambda (t: +rec definition THeads (k: K) (us: TList) on us: T \to T \def \lambda (t: T).(match us with [TNil \Rightarrow t | (TCons u ul) \Rightarrow (THead k u -(THeads k ul t))])) in THeads. +(THeads k ul t))]). -definition TApp: - TList \to (T \to TList) -\def - let rec TApp (ts: TList) on ts: (T \to TList) \def (\lambda (v: T).(match ts -with [TNil \Rightarrow (TCons v TNil) | (TCons t ts0) \Rightarrow (TCons t -(TApp ts0 v))])) in TApp. +rec definition TApp (ts: TList) on ts: T \to TList \def \lambda (v: T).(match +ts with [TNil \Rightarrow (TCons v TNil) | (TCons t ts0) \Rightarrow (TCons t +(TApp ts0 v))]). -definition tslen: - TList \to nat -\def - let rec tslen (ts: TList) on ts: nat \def (match ts with [TNil \Rightarrow O -| (TCons _ ts0) \Rightarrow (S (tslen ts0))]) in tslen. +rec definition tslen (ts: TList) on ts: nat \def match ts with [TNil +\Rightarrow O | (TCons _ ts0) \Rightarrow (S (tslen ts0))]. definition tslt: TList \to (TList \to Prop)