-
Notifications
You must be signed in to change notification settings - Fork 717
feat: add union on DTreeMap/TreeMap/TreeSet #10896
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
Merged
wkrozowski
merged 43 commits into
leanprover:master
from
wkrozowski:wojciech/treemap_union
Nov 3, 2025
Merged
Changes from 39 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
c06e1ed
initial commit
wkrozowski d618357
Add wellformedness
wkrozowski 441b175
Pre-meeting push
wkrozowski 7ba7184
union now works
wkrozowski 54bb235
`toListModel_union_list` is working now
wkrozowski 45d9caf
First lemmas are working
wkrozowski d909f30
Add Equiv lemmas
wkrozowski 4723ef0
Add all non const lemmas
wkrozowski cd91c44
Add const lemmas
wkrozowski 9261691
Add `union!`
wkrozowski 6a00a89
Progress on lemmas
wkrozowski 360fa81
Add lemmas about the slow versions
wkrozowski 1155757
Add remaining const lemmas
wkrozowski 1dc3989
Add non-const raw lemmas
wkrozowski 9ff0d11
Add const raw lemmas
wkrozowski 3a5a5db
Add non-const DTreeMap lemmas
wkrozowski c776f95
chore: add const DTreeMap lemmas
wkrozowski d548a45
Add Raw TreeMap lemmas
wkrozowski 39dcf79
Add union on TreeMaps
wkrozowski 51c99f3
chore: add TreeMap union lemmas
wkrozowski 31dcd02
Add Raw lemmas for TreeSet
wkrozowski 095490e
Add HashSet lemmas
wkrozowski 4e9d7dc
chore: remove deprecated lemma usage
wkrozowski 677875c
Update src/Std/Data/DTreeMap/Internal/Lemmas.lean
wkrozowski 7b4616b
Update src/Std/Data/DTreeMap/Internal/Lemmas.lean
wkrozowski c3bb38b
Update src/Std/Data/TreeSet/Lemmas.lean
wkrozowski 0508b5d
Update src/Std/Data/TreeSet/Lemmas.lean
wkrozowski 0371fb3
Update src/Std/Data/TreeSet/Lemmas.lean
wkrozowski e1736e9
Update src/Std/Data/TreeMap/Lemmas.lean
wkrozowski 58d3780
Update src/Std/Data/DTreeMap/Internal/Lemmas.lean
wkrozowski a856464
Update src/Std/Data/DTreeMap/Internal/Lemmas.lean
wkrozowski 5de79d5
Update src/Std/Data/DTreeMap/Raw/Basic.lean
wkrozowski ecf687b
Update src/Std/Data/DTreeMap/Basic.lean
wkrozowski 25a2051
Update src/Std/Data/DTreeMap/Internal/Operations.lean
wkrozowski d4210d5
Update src/Std/Data/DTreeMap/Lemmas.lean
wkrozowski 2f5028e
Update src/Std/Data/TreeMap/Lemmas.lean
wkrozowski dbd6020
Update src/Std/Data/TreeMap/Lemmas.lean
wkrozowski 65a8dfb
Respond to Paul's comments
wkrozowski 76328c7
fix docstring
wkrozowski 1a2830d
chore: fix names for (D)DTreeMap equiv lemma
wkrozowski 8b52b63
Deprecate `union_insert_right_equiv_union_insert`
wkrozowski 5e61ae5
Add depreciation tag
wkrozowski 899d24c
Remove unnecessary lemma
wkrozowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.