aboutsummaryrefslogtreecommitdiff
path: root/theories
diff options
context:
space:
mode:
Diffstat (limited to 'theories')
-rw-r--r--theories/Lists/List.v4
1 files changed, 3 insertions, 1 deletions
diff --git a/theories/Lists/List.v b/theories/Lists/List.v
index 4fe83e9804..79d5a95b03 100644
--- a/theories/Lists/List.v
+++ b/theories/Lists/List.v
@@ -517,7 +517,7 @@ Section Elts.
(** ** Counting occurences of a element *)
(****************************************)
- Axiom eqA_dec : forall x y : A, {x = y}+{x <> y}.
+ Hypotheses eqA_dec : forall x y : A, {x = y}+{x <> y}.
Fixpoint count_occ (l : list A) (x : A){struct l} : nat :=
match l with
@@ -961,6 +961,8 @@ Section ListOps.
(** ** Decidable equality on lists *)
(***********************************)
+ Hypotheses eqA_dec : forall (x y : A), {x = y}+{x <> y}.
+
Lemma list_eq_dec :
forall l l':list A, {l = l'} + {l <> l'}.
Proof.