Conversation
PR summary 1157d7379aImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| refine h.2 (by simpa) (lt_of_le_not_le hcb ?_) | ||
| simp [le_update_iff, h₂.not_le] | ||
|
|
||
| lemma exists_forall_antisymmRel_of_covBy (h : a ⋖ b) : |
There was a problem hiding this comment.
Optional:
| lemma exists_forall_antisymmRel_of_covBy (h : a ⋖ b) : | |
| lemma _root_.CovBy.exists_forall_antisymmRel (h : a ⋖ b) : |
There was a problem hiding this comment.
I agree dot-notation here would be nice, but this loses the Pi mention of the original; which I think needs to be present here, and I don't see how to fit it nicely in the new name. Putting exists_forall_antisymmRel in the CovBy namespace without mentioning pi feels confusing to me
Mathlib/Order/Cover.lean
Outdated
| A characterisation of the `WCovBy` relation in products of preorders. See `Pi.wcovBy_iff` for the | ||
| (more common) version in products of partial orders. | ||
| -/ | ||
| lemma wcovBy_iff' [Nonempty ι] : |
There was a problem hiding this comment.
Optional, not sure if it's better:
| lemma wcovBy_iff' [Nonempty ι] : | |
| lemma wcovBy_iff_antisymmRel [Nonempty ι] : |
| · rintro ⟨i, x, h, rfl⟩ | ||
| exact ⟨i, by simpa +contextual⟩ | ||
|
|
||
| lemma wcovBy_iff_exists_left_eq [Nonempty ι] [DecidableEq ι] : |
There was a problem hiding this comment.
Can you get left versions from OrderDual? Or do you consider it to be defeq abuse?
There was a problem hiding this comment.
I think it is defeq abuse, but more importantly it seems quite a bit more painful to do: there's juggling between the order dual on each of the component types and on the pi type, and commuting the toDual/ofDual with Function.update; overall I don't think it's worth it.
|
I left some optional naming suggestions (move more theorems to |
|
✌️ b-mehta can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Thanks for the review! I kept one batch of renames. |
|
bors merge |
Characterise the covering relation in products of partial orders. Generalise this characterisation to products of preorders. Use the characterisation to significantly simplify the characterisation of atoms in products of partial orders.
|
Pull request successfully merged into master. Build succeeded: |
Characterise the covering relation in products of partial orders. Generalise this characterisation to products of preorders. Use the characterisation to significantly simplify the characterisation of atoms in products of partial orders.
Characterise the covering relation in products of partial orders. Generalise this characterisation to products of preorders. Use the characterisation to significantly simplify the characterisation of atoms in products of partial orders.
Characterise the covering relation in products of partial orders. Generalise this characterisation to products of preorders. Use the characterisation to significantly simplify the characterisation of atoms in products of partial orders.
Characterise the covering relation in products of partial orders.
Generalise this characterisation to products of preorders.
Use the characterisation to significantly simplify the characterisation of atoms in products of partial orders.