Skip to content

Use Num.bound#1862

Open
pi8027 wants to merge 1 commit intomath-comp:masterfrom
pi8027:num_bound
Open

Use Num.bound#1862
pi8027 wants to merge 1 commit intomath-comp:masterfrom
pi8027:num_bound

Conversation

@pi8027
Copy link
Member

@pi8027 pi8027 commented Feb 26, 2026

Motivation for this change

Given R : archiNumDomainType and x : R, if we need an upper bound of x of type nat, what we need is often Num.bound (math-comp/math-comp#1510 (comment)):

Definition bound (x : R) := (truncn `|x|).+1.
Checklist
  • added corresponding entries in CHANGELOG_UNRELEASED.md
  • added corresponding documentation in the headers

Reference: How to document

Merge policy

As a rule of thumb:

  • PRs with several commits that make sense individually and that
    all compile are preferentially merged into master.
  • PRs with disorganized commits are very likely to be squash-rebased.
Reminder to reviewers

@pi8027 pi8027 added the renaming/refactoring 🔧 This is about a renaming or refactoring in the library label Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renaming/refactoring 🔧 This is about a renaming or refactoring in the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant