X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground%2Flib%2Flist_eq.ma;h=d0c607275445c71e0e1b5761c5c3d22d474b77c2;hb=dd41efaab7f147d5673cc30a27d36375f9b52c9d;hp=be528fc9add20ef0e5cd83766c7efef101df1e21;hpb=742e21da086654af82f308027250d00b50d67f52;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground/lib/list_eq.ma b/matita/matita/contribs/lambdadelta/ground/lib/list_eq.ma index be528fc9a..d0c607275 100644 --- a/matita/matita/contribs/lambdadelta/ground/lib/list_eq.ma +++ b/matita/matita/contribs/lambdadelta/ground/lib/list_eq.ma @@ -19,15 +19,15 @@ include "ground/lib/list.ma". rec definition list_eq A (l1,l2:list A) on l1 ≝ match l1 with -[ list_nil ⇒ +[ list_empty ⇒ match l2 with - [ list_nil ⇒ ⊤ - | list_cons _ _ ⇒ ⊥ + [ list_empty ⇒ ⊤ + | list_lcons _ _ ⇒ ⊥ ] -| list_cons a1 l1 ⇒ +| list_lcons a1 l1 ⇒ match l2 with - [ list_nil ⇒ ⊥ - | list_cons a2 l2 ⇒ a1 = a2 ∧ list_eq A l1 l2 + [ list_empty ⇒ ⊥ + | list_lcons a2 l2 ⇒ a1 = a2 ∧ list_eq A l1 l2 ] ].