Skip to content

Conversation

@kim-em
Copy link
Collaborator

@kim-em kim-em commented Dec 11, 2025

This PR adds @[suggest_for ℤ] on Int and @[suggest_for ℚ] on Rat, following the pattern established by @[suggest_for ℕ] on Nat in #11554.

🤖 Prepared with Claude Code

This PR adds `@[suggest_for ℤ]` on `Int` and `@[suggest_for ℚ]` on `Rat`,
following the pattern established by `@[suggest_for ℕ]` on `Nat` in #11554.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Dec 11, 2025
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 95e33d88a85526e9d33a065e3a463cef82e464fb --onto 19e1fe55f33a8aadc4243da32828b70a4b4677cc. You can force Mathlib CI using the force-mathlib-ci label. (2025-12-11 02:29:30)

@leanprover-bot
Copy link
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 95e33d88a85526e9d33a065e3a463cef82e464fb --onto 19e1fe55f33a8aadc4243da32828b70a4b4677cc. You can force reference manual CI using the force-manual-ci label. (2025-12-11 02:29:31)

@kim-em kim-em added the changelog-library Library label Dec 11, 2025
@kim-em kim-em requested a review from robsimmons December 11, 2025 02:53
Copy link
Contributor

@robsimmons robsimmons left a comment

Choose a reason for hiding this comment

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

Great! These won't have substantial effect yet, but this is exactly intended use and in line with the \mathbb{N} -> Nat suggestion.

@robsimmons
Copy link
Contributor

And #11619 is the PR that will make these more effective (see here)

@kim-em kim-em added this pull request to the merge queue Dec 12, 2025
Merged via the queue into master with commit 552fa10 Dec 12, 2025
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-library Library toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants