From 4e52e512184168f0b4ac3c174240cb92e23de91b Mon Sep 17 00:00:00 2001 From: Andres Erbsen Date: Thu, 29 May 2025 23:04:17 -0400 Subject: [PATCH] removed alias Zmod:=Z.modulo (deprecated since 8.17) --- doc/changelog/04-removed/149-remove-alias-Zmod.rst | 6 ++++++ theories/ZArith/Zdiv.v | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 doc/changelog/04-removed/149-remove-alias-Zmod.rst diff --git a/doc/changelog/04-removed/149-remove-alias-Zmod.rst b/doc/changelog/04-removed/149-remove-alias-Zmod.rst new file mode 100644 index 0000000000..8811621585 --- /dev/null +++ b/doc/changelog/04-removed/149-remove-alias-Zmod.rst @@ -0,0 +1,6 @@ +- in `Zdiv.v` + + + alias `Zmod` for `Z.modulo`, deprecated since 8.17 + (`#149 `_, + by Andres Erbsen). + diff --git a/theories/ZArith/Zdiv.v b/theories/ZArith/Zdiv.v index 270f937730..8b45e9ae15 100644 --- a/theories/ZArith/Zdiv.v +++ b/theories/ZArith/Zdiv.v @@ -22,8 +22,6 @@ Local Open Scope Z_scope. #[deprecated(since="8.17",note="Use Coq.ZArith.BinIntDef.Z.pos_div_eucl instead")] Notation Zdiv_eucl_POS := Z.pos_div_eucl (only parsing). -#[deprecated(since="8.17",note="Use Coq.ZArith.BinIntDef.Z.modulo instead")] -Notation Zmod := Z.modulo (only parsing). #[deprecated(since="8.17",note="Use BinInt.Z.pos_div_eucl_bound instead")] Notation Zmod_POS_bound := Z.pos_div_eucl_bound (only parsing).