]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground/lib/list_eq.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / lib / list_eq.ma
index be528fc9add20ef0e5cd83766c7efef101df1e21..d0c607275445c71e0e1b5761c5c3d22d474b77c2 100644 (file)
@@ -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
   ]
 ].