diff options
| author | Kazuhiko Sakaguchi | 2020-12-15 22:05:15 +0900 |
|---|---|---|
| committer | Kazuhiko Sakaguchi | 2021-01-16 00:28:21 +0900 |
| commit | 5f748f7ed9940c0db56e7dadd166f5e69bde6da9 (patch) | |
| tree | d7013ad66741ab20ec57e29ad013daf55f4dd902 /mathcomp/ssreflect/fintype.v | |
| parent | 68fab9412b287079164aab5f3eda71fcd65df8cc (diff) | |
Drop support for Coq 8.10 and deprecate the `deprecate` notation
- The `deprecate` notation and `iota_add` have been deprecated. All the uses of
the `deprecate` notation have been replaced with the `deprecated` attribute.
- Deprecation aliases in `ssrnat` and `ssrnum` introduced in MathComp 1.11+beta1
have been removed.
- Remove `VDFILE` related hacks from `Makefile.common`.
Diffstat (limited to 'mathcomp/ssreflect/fintype.v')
| -rw-r--r-- | mathcomp/ssreflect/fintype.v | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mathcomp/ssreflect/fintype.v b/mathcomp/ssreflect/fintype.v index 9d2b6c0..4fc602c 100644 --- a/mathcomp/ssreflect/fintype.v +++ b/mathcomp/ssreflect/fintype.v @@ -917,8 +917,8 @@ Proof. by rewrite !disjoint_has has_cat negb_or. Qed. End OpsTheory. -Notation disjoint_trans := - (deprecate disjoint_trans disjointWl _ _ _ _) (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use disjointWl instead.")] +Notation disjoint_trans := disjointWl (only parsing). Hint Resolve subxx_hint : core. @@ -1723,12 +1723,10 @@ End ArgMinMax. End Extrema. -Notation "@ 'arg_minP'" := - (deprecate arg_minP arg_minnP) (at level 10, only parsing) : fun_scope. -Notation arg_minP := (@arg_minP _ _ _) (only parsing). -Notation "@ 'arg_maxP'" := - (deprecate arg_maxP arg_maxnP) (at level 10, only parsing) : fun_scope. -Notation arg_maxP := (@arg_maxP _ _ _) (only parsing). +#[deprecated(since="mathcomp 1.11.0", note="Use arg_minnP instead.")] +Notation arg_minP := arg_minnP (only parsing). +#[deprecated(since="mathcomp 1.11.0", note="Use arg_maxnP instead.")] +Notation arg_maxP := arg_maxnP (only parsing). Notation "[ 'arg' 'min_' ( i < i0 | P ) F ]" := (arg_min i0 (fun i => P%B) (fun i => F)) @@ -2352,5 +2350,7 @@ Proof. by rewrite !cardT !enumT [in LHS]unlock size_cat !size_map. Qed. End SumFinType. -Notation bump_addl := (deprecate bump_addl bumpDl) (only parsing). -Notation unbump_addl := (deprecate unbump_addl unbumpDl) (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use bumpDl instead.")] +Notation bump_addl := bumpDl (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use unbumpDl instead.")] +Notation unbump_addl := unbumpDl (only parsing). |
