diff options
| -rw-r--r-- | CHANGELOG_UNRELEASED.md | 7 | ||||
| -rw-r--r-- | mathcomp/ssreflect/seq.v | 3 |
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. |
