-
Notifications
You must be signed in to change notification settings - Fork 717
feat: add DTreeMap/TreeMap/TreeSet iterators and slices #10776
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 66 commits into
leanprover:master
from
wkrozowski:wojciech/treemap_iterators
Nov 11, 2025
Merged
Changes from 47 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
e7c3a35
push code
wkrozowski 4b4aba5
stash work
wkrozowski fb6192e
push intermediate work
wkrozowski 02b00a4
push intermediate work
wkrozowski 7d1fc8e
First slice iterator correct
wkrozowski 8767892
further verification work
wkrozowski 71fecdd
progress
wkrozowski e957481
end of day push
wkrozowski 05ba72e
left open iterator work
wkrozowski 41780f7
Rcc slice
wkrozowski 9f131d4
some golfing
wkrozowski 87b9017
Add rxo iterator
wkrozowski c0e9549
Add Raw iterators
wkrozowski 3c3bed7
minor changes
wkrozowski e6821e0
Add productiveness relation
wkrozowski e14d54c
Add `DTreeMap` iterators
wkrozowski 83c2127
Add productiveness relation for the ordinary zipper
wkrozowski fe870d6
fix
wkrozowski a573195
Further refactor
wkrozowski 0e59f32
Add rco
wkrozowski 8618bca
add roc
wkrozowski e8e797b
Add rci
wkrozowski 76f4f44
Add roi
wkrozowski c56bab2
Rii slice now works
wkrozowski f51bed2
module system issues
wkrozowski 1568a15
see if it buiilds
wkrozowski 72f6450
and slices for raw dtreemaps and their correctenss lemmas
wkrozowski fa7fcb8
chore: add imports to `Raw.lean`
wkrozowski 5c3750d
Add 'DTreeMap' slices
wkrozowski 9ef6ac3
some imports editing
wkrozowski 351c2c1
dirty fix
wkrozowski 123dcb1
Fix some imports
wkrozowski fcce3fa
Add imports to Raw
wkrozowski 166f413
chore: rewrite map lemma
wkrozowski 619cf51
minor cleanup
wkrozowski 06ce30a
Rename correctness lemmas names
wkrozowski 80727b5
Add simp lemmas to non-raw slice instances
wkrozowski bd4afe1
chore: refactor
wkrozowski b0cf25d
chore: rearrange files a bit
wkrozowski 9278457
chore: further refactor
wkrozowski 816e158
chore: remove productiveness instances
wkrozowski 3e439f7
chore : fix user facing instances
wkrozowski b41c25e
chore: add comments
wkrozowski a7b5efc
chore: further renaming
wkrozowski c4dc8c7
Fix imports
wkrozowski 465b91f
Add TreeMap iterators
wkrozowski f32d394
fix imports
wkrozowski 8a91d04
push
wkrozowski 298b7eb
chore: refactor
wkrozowski b9e7575
chore: refactor
wkrozowski 008adc4
chore: refactor
wkrozowski f19e38b
Yet another const iterator is done
wkrozowski 5d29dd6
chore: get const rco iterator working
wkrozowski 0da49e9
TreeMap Raw slices are done
wkrozowski 265ece2
chore TreeMap slices are done
wkrozowski a0e9f7c
chore: slices are done for treemaps
wkrozowski da87f95
TreeSet iterators
wkrozowski ddd85ef
feat: add `TreeSet` slices
wkrozowski 9986361
chore: add iterator tests
wkrozowski 8731535
Add slice unit tests
wkrozowski 5f791c9
chore: address Markus' comments
wkrozowski 6f3f00f
Fix some minor issues
wkrozowski d586985
Fix WF impliciteness
wkrozowski 980a18b
Update src/Std/Data/TreeSet/Iterator.lean
wkrozowski 95f5d36
Merge branch 'master' into wojciech/treemap_iterators
wkrozowski af9c7ed
chore: merge with master
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
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.