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/algebra/poly.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/algebra/poly.v')
| -rw-r--r-- | mathcomp/algebra/poly.v | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/mathcomp/algebra/poly.v b/mathcomp/algebra/poly.v index 21e8ada..e74c917 100644 --- a/mathcomp/algebra/poly.v +++ b/mathcomp/algebra/poly.v @@ -2769,27 +2769,19 @@ Qed. End ClosedField. -Notation "@ 'polyC_add'" := - (deprecate polyC_add polyCD) (at level 10, only parsing) : fun_scope. -Notation "@ 'polyC_opp'" := - (deprecate polyC_opp polyCN) (at level 10, only parsing) : fun_scope. -Notation "@ 'polyC_sub'" := - (deprecate polyC_sub polyCB) (at level 10, only parsing) : fun_scope. -Notation "@ 'polyC_muln'" := - (deprecate polyC_muln polyCMn) (at level 10, only parsing) : fun_scope. -Notation "@ 'polyC_mul'" := - (deprecate polyC_mul polyCM) (at level 10, only parsing) : fun_scope. -Notation "@ 'polyC_inv'" := - (deprecate polyC_inv polyCV) (at level 10, only parsing) : fun_scope. -Notation "@ 'lead_coef_opp'" := - (deprecate lead_coef_opp lead_coefN) (at level 10, only parsing) : fun_scope. -Notation "@ 'derivn_sub'" := - (deprecate derivn_sub derivnB) (at level 10, only parsing) : fun_scope. -Notation polyC_add := (@polyC_add _) (only parsing). -Notation polyC_opp := (@polyC_opp _) (only parsing). -Notation polyC_sub := (@polyC_sub _) (only parsing). -Notation polyC_muln := (@polyC_muln _) (only parsing). -Notation polyC_mul := (@polyC_mul _) (only parsing). -Notation polyC_inv := (@polyC_inv _) (only parsing). -Notation lead_coef_opp := (@lead_coef_opp _) (only parsing). -Notation derivn_sub := (@derivn_sub _) (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use polyCD instead.")] +Notation polyC_add := polyCD (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use polyCN instead.")] +Notation polyC_opp := polyCN (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use polyCB instead.")] +Notation polyC_sub := polyCB (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use polyCMn instead.")] +Notation polyC_muln := polyCMn (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use polyCM instead.")] +Notation polyC_mul := polyCM (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use polyCV instead.")] +Notation polyC_inv := polyCV (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use lead_coefN instead.")] +Notation lead_coef_opp := lead_coefN (only parsing). +#[deprecated(since="mathcomp 1.12.0", note="Use derivnB instead.")] +Notation derivn_sub := derivnB (only parsing). |
