Skip to content

feat: prove xs.extract start stop = (xs.take stop).drop start for lists#12359

Open
datokrat wants to merge 2 commits intomasterfrom
paul/takedrop
Open

feat: prove xs.extract start stop = (xs.take stop).drop start for lists#12359
datokrat wants to merge 2 commits intomasterfrom
paul/takedrop

Conversation

@datokrat
Copy link
Contributor

@datokrat datokrat commented Feb 6, 2026

This PR deprecates extract_eq_drop_take in favor of the more correct name extract_eq_take_drop, so that we'll be able to use the old name for a lemma xs.extract start stop = (xs.take stop).drop start. Until the deprecation deadline has passed, this new lemma will be called extract_eq_drop_take'.

@datokrat datokrat added the changelog-library Library label Feb 6, 2026
@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 Feb 6, 2026
@mathlib-lean-pr-testing
Copy link

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 9b7a8eb7c88aa4c93cb59ba07777c1827daec2fa --onto 75d7f7eb227bc54dc6ea3d8ead090ee4180debaf. You can force Mathlib CI using the force-mathlib-ci label. (2026-02-06 18:25:18)

@leanprover-bot
Copy link
Collaborator

leanprover-bot commented Feb 6, 2026

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 9b7a8eb7c88aa4c93cb59ba07777c1827daec2fa --onto 75d7f7eb227bc54dc6ea3d8ead090ee4180debaf. You can force reference manual CI using the force-manual-ci label. (2026-02-06 18:25:19)
  • ✅ Reference manual branch lean-pr-testing-12359 has successfully built against this PR. (2026-02-06 20:28:53) View Log
  • 🟡 Reference manual branch lean-pr-testing-12359 build against this PR didn't complete normally. (2026-02-06 20:30:31) View Log

mathlib-nightly-testing bot pushed a commit to leanprover-community/batteries that referenced this pull request Feb 6, 2026
@github-actions github-actions bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label Feb 6, 2026
mathlib-nightly-testing bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Feb 6, 2026
leanprover-bot added a commit to leanprover/reference-manual that referenced this pull request Feb 6, 2026
@leanprover-bot leanprover-bot added the builds-manual CI has verified that the Lean Language Reference builds against this PR label Feb 6, 2026
@mathlib-lean-pr-testing mathlib-lean-pr-testing bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Feb 6, 2026
@mathlib-lean-pr-testing
Copy link

Mathlib CI status (docs):

@datokrat datokrat marked this pull request as ready for review February 6, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-manual CI has verified that the Lean Language Reference builds against this PR builds-mathlib CI has verified that Mathlib builds against this PR changelog-library Library mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN 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.

2 participants