-
Notifications
You must be signed in to change notification settings - Fork 298
[Merged by Bors] - feat(data/finsupp): lattice structure on finsupp #3335
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes on order embeddings seem uncontroversial. If you want to get them merged, you could split them into another PR.
The part on lattice structure on finsupp still needs some polishing. I'm sorry that I don't have a good suggestion... I'll try to think more about it, but I'm quite busy. All I know right now, is that it feels like there is some abstraction right around the corner, and we should try to figure out what it is.
I see this is blocking a few other PRs. Is it ready for review once the build is fixed? |
Yeah, I'm getting back to making this build today, and then it should be reviewable. Unfortunately I've had some recurrent olean problems, so it's been hard for me to even code on this. |
Just in case you're having trouble building --- this currently builds fine for me, giving the same error as reported by CI. Let us know on zulip if you're having trouble with oleans. |
Do you mind running |
I've added that, and also added an |
src/data/finsupp/lattice.lean
Outdated
|
||
variable [partial_order β] | ||
|
||
/-- The order on `finsupp`s over a partial order-embeds into that on functions -/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Garbled?
Looks good --- one last doc-string request, and then you can hit merge. Thanks! bors d+ |
✌️ awainverse can now approve this pull request. To approve and merge a pull request, simply reply with |
bors r+ |
adds facts about order_isos respecting lattice operations defines lattice structures on finsupps to N constructs an order_iso out of finsupp.to_multiset Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
Pull request successfully merged into master. Build succeeded: |
adds facts about order_isos respecting lattice operations
defines lattice structures on finsupps to N
constructs an order_iso out of finsupp.to_multiset