X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Flib%2Flist.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Flib%2Flist.ma;h=0000000000000000000000000000000000000000;hb=68b4f2490c12139c03760b39895619e63b0f38c9;hp=fb643311a4a5082d5f0483ae77315f9af01623f2;hpb=1fd63df4c77f5c24024769432ea8492748b4ac79;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/lib/list.ma b/matita/matita/contribs/lambdadelta/ground_2/lib/list.ma deleted file mode 100644 index fb643311a..000000000 --- a/matita/matita/contribs/lambdadelta/ground_2/lib/list.ma +++ /dev/null @@ -1,33 +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 *) -(* *) -(**************************************************************************) - -include "ground_2/notation/functions/circledE_1.ma". -include "ground_2/notation/functions/oplusright_3.ma". -include "ground_2/lib/relations.ma". - -(* LISTS ********************************************************************) - -inductive list (A:Type[0]) : Type[0] := - | nil : list A - | cons: A → list A → list A. - -interpretation "nil (list)" 'CircledE A = (nil A). - -interpretation "cons (list)" 'OPlusRight A hd tl = (cons A hd tl). - -rec definition all A (R:predicate A) (l:list A) on l ≝ - match l with - [ nil ⇒ ⊤ - | cons hd tl ⇒ ∧∧ R hd & all A R tl - ].