X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fnlibrary%2Fbasics%2Flist.ma;h=94ef847b00c4aa70ba0ed10f5b97b8d6c3146082;hb=1d7773584ddd6463b0941026f114b0173e3b6b72;hp=d30ed7dfc2a4833f503224f940b7d37c2a866392;hpb=14aa468ded0030440dbc9cc8fb5b936d927bb6fd;p=helm.git diff --git a/helm/software/matita/nlibrary/basics/list.ma b/helm/software/matita/nlibrary/basics/list.ma index d30ed7dfc..94ef847b0 100644 --- a/helm/software/matita/nlibrary/basics/list.ma +++ b/helm/software/matita/nlibrary/basics/list.ma @@ -73,13 +73,14 @@ ntheorem associative_append: ∀A:Type.associative (list A) (append A). #A; #l1; #l2; #l3; nelim l1; nnormalize; //; nqed. +(* deleterio per auto ntheorem cons_append_commute: ∀A:Type.∀l1,l2:list A.∀a:A. a :: (l1 @ l2) = (a :: l1) @ l2. -//; nqed. +//; nqed. *) ntheorem append_cons:∀A.∀a:A.∀l,l1.l@(a::l1)=(l@[a])@l1. -#A; #a; #l; #l1; napply symmetric_eq. +#A; #a; #l; #l1; napply sym_eq. napply associative_append. (* /2/; *) nqed.