-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: move theorems about lists to batteries #12540
Open
chabulhwi
wants to merge
2
commits into
master
Choose a base branch
from
chabulhwi/list-theorems
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chabulhwi
added
blocked-by-other-PR
This PR depends on another PR to Mathlib
blocked-by-batt-PR
This PR depends on a PR to Batteries
labels
Apr 30, 2024
This PR/issue depends on:
|
1 task
chabulhwi
force-pushed
the
chabulhwi/list-theorems
branch
from
May 6, 2024 09:05
f1d64b0
to
c627472
Compare
chabulhwi
added
the
dependency-bump
This PR bumps the version of an upstream dependency (but not toolchain).
label
May 6, 2024
chabulhwi
changed the title
refactor: move theorems about lists to std
refactor: move theorems about lists to batteries
May 7, 2024
chabulhwi
force-pushed
the
chabulhwi/list-theorems
branch
4 times, most recently
from
May 10, 2024 01:44
a9f7bb7
to
cd6d973
Compare
chabulhwi
force-pushed
the
chabulhwi/list-theorems
branch
from
June 8, 2024 13:35
cd6d973
to
2c43a0a
Compare
PR summaryImport changesNo significant changes to the import graph Declarations diff
You can run this locally as follows## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>
## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit> |
* `List.isEmpty_iff_eq_nil` and `List.modifyHead_modifyHead` are from `Mathlib.Data.List.Basic`. I removed the `simp` priority and `nolint` attribute from `modifyHead_modifyHead` because we don't need them anymore. * `List.cons_prefix_cons` is from `Mathlib.Data.List.Infix`. Its previous name was `List.cons_prefix_iff`. We need these theorems to prove `String.splitOn_of_valid`. See leanprover-community/batteries#756.
Use `List.cons_prefix_cons` instead of `List.cons_prefix_iff`.
chabulhwi
force-pushed
the
chabulhwi/list-theorems
branch
from
June 8, 2024 13:38
2c43a0a
to
4fcf5e4
Compare
leanprover-community-mathlib4-bot
added
the
merge-conflict
The PR has a merge conflict with master, and needs manual merging.
label
Jun 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
blocked-by-batt-PR
This PR depends on a PR to Batteries
blocked-by-other-PR
This PR depends on another PR to Mathlib
dependency-bump
This PR bumps the version of an upstream dependency (but not toolchain).
merge-conflict
The PR has a merge conflict with master, and needs manual merging.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
List.isEmpty_iff_eq_nil
andList.modifyHead_modifyHead
are fromMathlib.Data.List.Basic
. I removed thesimp
priority andnolint
attribute from
modifyHead_modifyHead
because we don't need themanymore.
List.cons_prefix_cons
is fromMathlib.Data.List.Infix
. Itsprevious name was
List.cons_prefix_iff
. I replaced the deprecatedname with the new one.
We need these theorems to prove
String.splitOn_of_valid
. Seeleanprover-community/batteries#756.