Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

YaelDillies
Copy link
Collaborator

@YaelDillies YaelDillies commented May 12, 2023

Define sup- and inf- irreducible and prime elements in a lattice.


Open in Gitpod

Define sup- and inf- irreducible and prime elements in a lattice.
@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR t-order Order hierarchy labels May 12, 2023
@github-actions github-actions bot added the modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. label Jun 20, 2023
@eric-wieser eric-wieser added the not-too-late This PR was ready at the point mathlib3 was frozen: we will try to merge it and port it to mathlib4 label Jul 15, 2023

/-- 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
Copy link
Member

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?

Copy link
Collaborator Author

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.

Copy link
Member

@eric-wieser eric-wieser left a 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

@eric-wieser
Copy link
Member

bors d+

@bors
Copy link

bors bot commented Jul 16, 2023

✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Jul 16, 2023
@YaelDillies
Copy link
Collaborator Author

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

bors bot pushed a commit that referenced this pull request Jul 16, 2023
Define sup- and inf- irreducible and prime elements in a lattice.
@bors
Copy link

bors bot commented Jul 16, 2023

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.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title feat(order/irreducible): Sup-irreducible elements [Merged by Bors] - feat(order/irreducible): Sup-irreducible elements Jul 16, 2023
@bors bors bot closed this Jul 16, 2023
@bors bors bot deleted the sup_irred branch July 16, 2023 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. not-too-late This PR was ready at the point mathlib3 was frozen: we will try to merge it and port it to mathlib4 t-order Order hierarchy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants