Skip to content

Conversation

@datokrat
Copy link
Contributor

@datokrat datokrat commented Nov 22, 2025

This PR provides specialized lemmas about Nat ranges, including simp annotations and induction principles for proving properties for all ranges.

@datokrat
Copy link
Contributor Author

datokrat commented Dec 1, 2025

!radar

@leanprover-radar
Copy link

leanprover-radar commented Dec 1, 2025

Benchmark results for b89b83c against 1ecda60 are in! @datokrat

Major changes (5)
  • 🟥 build//instructions: +50.2G (+0.4%)
  • 🟥 import Lean//instructions: +30.9M (+1.6%)
  • 🟥 size/init/.olean.private//bytes: +2MiB (+0.8%)
  • 🟥 size/init/.olean.server//bytes: +212kiB (+2.3%)
  • 🟥 size/stdlib/.olean.server//bytes: +212kiB (+0.8%)
Minor changes (3)
  • 🟥 size/init/.olean//bytes: +411kiB (+0.5%)
  • 🟥 size/stdlib/.ilean//bytes: +193kiB (+0.3%)
  • 🟥 size/stdlib/.lean//lines: +2.4k (+0.4%)

@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 1, 2025
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented Dec 1, 2025

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase fc6e0454c739313058b4eb209d64916023ced496 --onto 16508196e0dfa0702868333eecf6f6dc8b58d632. You can force Mathlib CI using the force-mathlib-ci label. (2025-12-01 10:05:49)
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase fc6e0454c739313058b4eb209d64916023ced496 --onto 5bd331e85d9d110a29fb3367dbb21854010ffcbd. You can force Mathlib CI using the force-mathlib-ci label. (2025-12-01 11:38:42)
  • ❌ Mathlib branch lean-pr-testing-11321 built against this PR, but testing failed. (2025-12-02 10:59:06) View Log
  • ✅ Mathlib branch lean-pr-testing-11321 has successfully built against this PR. (2025-12-02 15:13:01) View Log

@leanprover-bot
Copy link
Collaborator

leanprover-bot commented Dec 1, 2025

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase fc6e0454c739313058b4eb209d64916023ced496 --onto d3dda9f6d4428a906c096067ecb75e432afc4615. You can force reference manual CI using the force-manual-ci label. (2025-12-01 10:05:51)
  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2025-12-01 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2025-12-02 09:58:00)

@datokrat datokrat marked this pull request as ready for review December 1, 2025 10:13
@datokrat datokrat requested a review from kim-em as a code owner December 1, 2025 10:13
@datokrat datokrat force-pushed the paul/base/ranges/lemmas3 branch from 1ecda60 to 5bd331e Compare December 2, 2025 08:50
@datokrat datokrat force-pushed the paul/ranges/lemmas3 branch from b6ad5ef to d6ff666 Compare December 2, 2025 08:50
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Dec 2, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Dec 2, 2025
@leanprover-community-bot leanprover-community-bot added breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan builds-mathlib CI has verified that Mathlib builds against this PR and removed breaks-mathlib This is not necessarily a blocker for merging: but there needs to be a plan labels Dec 2, 2025
@datokrat datokrat changed the base branch from paul/base/ranges/lemmas3 to master December 2, 2025 17:25
@datokrat datokrat added this pull request to the merge queue Dec 4, 2025
Merged via the queue into master with commit 31d629c Dec 4, 2025
42 of 45 checks passed
algebraic-dev pushed a commit that referenced this pull request Dec 8, 2025
This PR provides specialized lemmas about `Nat` ranges, including `simp`
annotations and induction principles for proving properties for all
ranges.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR 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