Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Nat and Int implementations in Numbers #18500

Merged
merged 2 commits into from Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/stdlib/hidden-files
Expand Up @@ -96,3 +96,6 @@ theories/ssr/ssrsetoid.v
theories/Reals/Cauchy/ConstructiveExtra.v
theories/Reals/Cauchy/PosExtra.v
theories/Reals/Cauchy/QExtra.v
theories/Numbers/Natural/Binary/NBinary.v
theories/Numbers/Integer/Binary/ZBinary.v
theories/Numbers/Integer/NatPairs/ZNatPairs.v
3 changes: 0 additions & 3 deletions doc/stdlib/index-list.html.template
Expand Up @@ -304,7 +304,6 @@ through the <tt>Require Import</tt> command.</p>
theories/Numbers/Natural/Abstract/NLcm0.v
theories/Numbers/Natural/Abstract/NBits.v
theories/Numbers/Natural/Abstract/NProperties.v
theories/Numbers/Natural/Binary/NBinary.v
</dd>

<dt> <b>&nbsp;&nbsp;Integer</b>:
Expand All @@ -330,8 +329,6 @@ through the <tt>Require Import</tt> command.</p>
theories/Numbers/Integer/Abstract/ZDivEucl.v
theories/Numbers/Integer/Abstract/ZDivFloor.v
theories/Numbers/Integer/Abstract/ZDivTrunc.v
theories/Numbers/Integer/Binary/ZBinary.v
theories/Numbers/Integer/NatPairs/ZNatPairs.v
</dd>

<dt> <b>&nbsp;&nbsp;Floats</b>:
Expand Down
1 change: 1 addition & 0 deletions theories/Numbers/Integer/Binary/ZBinary.v
Expand Up @@ -10,6 +10,7 @@
(* Evgeny Makarov, INRIA, 2007 *)
(************************************************************************)

Attributes deprecated(since="8.20", note="Use Coq.ZArith.BinInt instead.").

Require Import ZAxioms ZProperties BinInt.

Expand Down
1 change: 1 addition & 0 deletions theories/Numbers/Integer/NatPairs/ZNatPairs.v
Expand Up @@ -10,6 +10,7 @@
(* Evgeny Makarov, INRIA, 2007 *)
(************************************************************************)

Attributes deprecated(since="8.20", note="Use Coq.ZArith.BinInt instead.").
Require Import NSub ZAxioms.
Require Export Ring.

Expand Down
2 changes: 2 additions & 0 deletions theories/Numbers/Natural/Binary/NBinary.v
Expand Up @@ -10,6 +10,8 @@
(* Evgeny Makarov, INRIA, 2007 *)
(************************************************************************)

Attributes deprecated(since="8.20", note="Use Coq.NArith.BinNat instead.").

Require Import BinPos.
Require Export BinNat.
Require Import NAxioms NProperties.
Expand Down