aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/ssreflect/finset.v
diff options
context:
space:
mode:
authorAnton Trunov2019-05-29 15:17:39 +0300
committerAnton Trunov2019-05-29 15:17:39 +0300
commit42db44ce8df9f24d90c321d57e81e2d5bf83bd48 (patch)
treec928479b8231901da1cfb4efece42ebe2d419da7 /mathcomp/ssreflect/finset.v
parent1aa27b589c437b88cc6fb556edfceac42da449ea (diff)
Replace eqVneq with eqPsym
Also changed eqsVneq.
Diffstat (limited to 'mathcomp/ssreflect/finset.v')
-rw-r--r--mathcomp/ssreflect/finset.v6
1 files changed, 4 insertions, 2 deletions
diff --git a/mathcomp/ssreflect/finset.v b/mathcomp/ssreflect/finset.v
index 204843a..c01fb39 100644
--- a/mathcomp/ssreflect/finset.v
+++ b/mathcomp/ssreflect/finset.v
@@ -232,14 +232,16 @@ Definition setTfor (phT : phant T) := [set x : T | true].
Lemma in_setT x : x \in setTfor (Phant T).
Proof. by rewrite in_set. Qed.
-Lemma eqsVneq A B : {A = B} + {A != B}.
-Proof. exact: eqVneq. Qed.
+Lemma eqsVneq A B : eq_xor_neq A B (B == A) (A == B).
+Proof. by apply: eqVneq. Qed.
Lemma eq_finset (pA pB : pred T) : pA =1 pB -> finset pA = finset pB.
Proof. by move=> eq_p; apply/setP => x; rewrite !(in_set, inE) eq_p. Qed.
End BasicSetTheory.
+Arguments eqsVneq {T} A B, {T A B}.
+
Definition inE := (in_set, inE).
Arguments set0 {T}.