aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Doczkal2020-06-07 11:17:14 +0200
committerChristian Doczkal2020-06-18 16:46:23 +0200
commit96efc4fa2a3b643c6c4ea19047c3e633c5af145f (patch)
tree4563024c8eed3e61c813b51d8168bc3211a9527f
parent5b4b9ad71794cc68f9c94520e91fd8ab56a5b577 (diff)
drop_uniq / CHANGELOG
-rw-r--r--CHANGELOG_UNRELEASED.md7
-rw-r--r--mathcomp/ssreflect/seq.v3
2 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG_UNRELEASED.md b/CHANGELOG_UNRELEASED.md
index 415fc10..a1f334c 100644
--- a/CHANGELOG_UNRELEASED.md
+++ b/CHANGELOG_UNRELEASED.md
@@ -12,6 +12,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Added contrapostion lemmas involving propositions: `contra_not`, `contraPnot`, `contraTnot`, `contraNnot`, `contraPT`, `contra_notT`, `contra_notN`, `contraPN`, `contraFnot`, `contraPF` and `contra_notF` in ssrbool.v and `contraPeq`, `contra_not_eq`, `contraPneq`, and `contra_neq_not` in eqtype.v
+- in `seq.v`, new lemmas: `take_uniq`, `drop_uniq`
+- in `fintype.v`, new lemmas: `card_geqP`, `card_gt1P`, `card_gt2P`,
+ `card_le1_eqP` (generalizes `fintype_le1P`),
+- in `finset.v`, neq lemmas: `set_enum`, `cards_eqP`, `cards2P`
+- in `fingraph.v`, new lemmas: `fcard_gt0P`, `fcard_gt1P`
+
+
### Changed
### Renamed
diff --git a/mathcomp/ssreflect/seq.v b/mathcomp/ssreflect/seq.v
index b202dd0..dec68a3 100644
--- a/mathcomp/ssreflect/seq.v
+++ b/mathcomp/ssreflect/seq.v
@@ -2011,6 +2011,9 @@ Proof. by case/subseqP=> m _ -> Us2; apply: mask_uniq. Qed.
Lemma take_uniq s n : uniq s -> uniq (take n s).
Proof. exact/subseq_uniq/take_subseq. Qed.
+Lemma drop_uniq s n : uniq s -> uniq (drop n s).
+Proof. exact/subseq_uniq/drop_subseq. Qed.
+
End Subseq.
Prenex Implicits subseq.