Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(order/ideal): Generalize definition and lemmas (#11421)
* Generalize the `order_top` instance to `[nonempty P] [is_directed P (≤)]`. * Delete `order.ideal.ideal_inter_nonempty` in favor of the equivalent condition `is_directed P (swap (≤))`. * Delete `order.ideal.sup`/`order.ideal.inf` in favor of a direct instance declaration. * Generalize defs/lemmas from `preorder` to `has_le` or `partial_order` to `preorder`. * Two more `is_directed` lemmas and instances for `order_bot` and `order_top`.
- Loading branch information
1 parent
9becbc7
commit 7ddb9a3
Showing
3 changed files
with
148 additions
and
154 deletions.
There are no files selected for viewing
This file contains 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 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.