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/bigop.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/bigop.v')
| -rw-r--r-- | mathcomp/ssreflect/bigop.v | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/mathcomp/ssreflect/bigop.v b/mathcomp/ssreflect/bigop.v index c1f420f..10c0849 100644 --- a/mathcomp/ssreflect/bigop.v +++ b/mathcomp/ssreflect/bigop.v @@ -453,12 +453,10 @@ Definition simpm := (mulm1, mulm0, mul1m, mul0m, mulmA). End Theory. -Notation "@ 'mulm_addl'" := - (deprecate mulm_addl mulmDl) (at level 10, only parsing) : fun_scope. -Notation "@ 'mulm_addr'" := - (deprecate mulm_addr mulmDr) (at level 10, only parsing) : fun_scope. -Notation mulm_addl := (@mulm_addl _ _ _) (only parsing). -Notation mulm_addr := (@mulm_addr _ _ _) (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use mulmDl instead.")] +Notation mulm_addl := mulmDl (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use mulmDr instead.")] +Notation mulm_addr := mulmDr (only parsing). End Theory. Include Theory. @@ -1991,14 +1989,9 @@ Lemma biggcdn_inf (I : finType) i0 (P : pred I) F m : Proof. by move=> Pi0; apply: dvdn_trans; rewrite (bigD1 i0) ?dvdn_gcdl. Qed. Arguments biggcdn_inf [I] i0 [P F m]. -Notation filter_index_enum := - ((fun _ => @deprecated_filter_index_enum _) - (deprecate filter_index_enum big_enumP)) (only parsing). - -Notation big_rmcond := - ((fun _ _ _ _ => @big_rmcond_in _ _ _ _) - (deprecate big_rmcond big_rmcond_in)) (only parsing). - -Notation big_uncond_in := - ((fun _ _ _ _ => @big_rmcond_in _ _ _ _) - (deprecate big_uncond_in big_rmcond_in)) (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use big_enumP instead.")] +Notation filter_index_enum := deprecated_filter_index_enum (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use big_rmcond_in instead.")] +Notation big_rmcond := big_rmcond_in (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use big_rmcond_in instead.")] +Notation big_uncond_in := big_rmcond_in (only parsing). |
