diff options
| author | Christian Doczkal | 2020-06-18 11:19:03 +0200 |
|---|---|---|
| committer | Christian Doczkal | 2020-06-18 16:46:23 +0200 |
| commit | 7fd6f9ba051ecc7be7bd95ca3e31bb1a798598ba (patch) | |
| tree | 618911dc534dec482afef6aef15d032073a59f70 /mathcomp/ssreflect/finset.v | |
| parent | c5008933e4f17c122a0b23e6e6cfe8d198423214 (diff) | |
conform to 80 chars limit
Diffstat (limited to 'mathcomp/ssreflect/finset.v')
| -rw-r--r-- | mathcomp/ssreflect/finset.v | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mathcomp/ssreflect/finset.v b/mathcomp/ssreflect/finset.v index 351c472..f4c1dd5 100644 --- a/mathcomp/ssreflect/finset.v +++ b/mathcomp/ssreflect/finset.v @@ -834,7 +834,8 @@ apply: (iffP idP) => [|[x ->]]; last by rewrite cards1. by have [[|x []]// _] := cards_eqP; exists x; apply/setP => y; rewrite !inE. Qed. -Lemma cards2P A : reflect (exists x y : T, x != y /\ A = [set x; y]) (#|A| == 2). +Lemma cards2P A : reflect (exists x y : T, x != y /\ A = [set x; y]) + (#|A| == 2). Proof. apply: (iffP idP) => [|[x] [y] [xy ->]]; last by rewrite cards2 xy. have [[|x [|y []]]//=] := cards_eqP; rewrite !inE andbT => neq_xy. |
