-
Notifications
You must be signed in to change notification settings - Fork 297
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 by Bors] - feat(order/irreducible): Sup-irreducible elements #18999
Conversation
Define sup- and inf- irreducible and prime elements in a lattice.
|
||
/-- A sup-irreducible element is a non-bottom element which isn't the supremum of anything smaller. | ||
-/ | ||
def sup_irred (a : α) : Prop := ¬ is_min a ∧ ∀ ⦃b c⦄, b ⊔ c = a → b = a ∨ c = a |
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.
This definition has the disadvantage of not working for finset α
without decidable_eq α
. Do you think that's worth a TODO?
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.
I doubt it really matters. Even though I will indeed set α := finset α
in later code, this will be done in the context of category theory, where we don't have the luxury of restricting to types with decidable equality.
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.
Let's wait an hour to see the status of out-of-sync before merging
bors d+ |
✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with |
Is there any point keeping out-of-sync down now that it can't interfere with porting PRs? I'm going to assume that the answer is no. bors merge |
Define sup- and inf- irreducible and prime elements in a lattice.
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Define sup- and inf- irreducible and prime elements in a lattice.