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=9355f9c56185175fa263fba844548e432a7672f9;hb=d6909ee6f43e0f29efbaf28b75b69723634c3af2;hp=d21e1b52b5b487bfb2bb9b7bf153b9265db1802b;hpb=886d7c4b7a21b4ca8f148d42555a5d89e8222fc8;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 index d21e1b52b..9355f9c56 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/lib/list.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/lib/list.ma @@ -12,10 +12,9 @@ (* *) (**************************************************************************) -include "ground_2/notation/constructors/nil_1.ma". -include "ground_2/notation/constructors/nil_2.ma". +include "ground_2/notation/constructors/nil_0.ma". +include "ground_2/notation/constructors/cons_2.ma". include "ground_2/notation/constructors/cons_3.ma". -include "ground_2/notation/constructors/cons_5.ma". include "ground_2/notation/functions/append_2.ma". include "ground_2/lib/arith.ma". @@ -25,9 +24,9 @@ inductive list (A:Type[0]) : Type[0] := | nil : list A | cons: A → list A → list A. -interpretation "nil (list)" 'Nil A = (nil A). +interpretation "nil (list)" 'Nil = (nil ?). -interpretation "cons (list)" 'Cons A hd tl = (cons A hd tl). +interpretation "cons (list)" 'Cons hd tl = (cons ? hd tl). let rec all A (R:predicate A) (l:list A) on l ≝ match l with @@ -39,9 +38,9 @@ inductive list2 (A1,A2:Type[0]) : Type[0] := | nil2 : list2 A1 A2 | cons2: A1 → A2 → list2 A1 A2 → list2 A1 A2. -interpretation "nil (list of pairs)" 'Nil A1 A2 = (nil2 A1 A2). +interpretation "nil (list of pairs)" 'Nil = (nil2 ? ?). -interpretation "cons (list of pairs)" 'Cons A1 A2 hd1 hd2 tl = (cons2 A1 A2 hd1 hd2 tl). +interpretation "cons (list of pairs)" 'Cons hd1 hd2 tl = (cons2 ? ? hd1 hd2 tl). let rec append2 (A1,A2:Type[0]) (l1,l2:list2 A1 A2) on l1 ≝ match l1 with [ nil2 ⇒ l2