Skip to content

Conversation

@pi8027
Copy link
Member

@pi8027 pi8027 commented Jan 6, 2026

Motivation for this change

math-comp/math-comp#1515 (comment)

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

by rewrite -addnn addSnnS ltn_addl.
have := h (truncn `|x|) Logic.I.
have Bxx : B (truncn `|x|) x.
rewrite /B /ball/= sub0r normrN doubleS -truncn_le_nat.
Copy link
Member Author

@pi8027 pi8027 Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps, one thing you missed was the lemmas for going back and forth between inequations over reals and integers (including nat), e.g., truncn_le_nat, floor_ge_int, and floor_lt_int.

Ideally, this kind of proof should be fully automated, since mixed real-integer linear arithmetic (with floor, ceil, and truncn) is decidable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant