Skip to content

Commit

Permalink
refactor(order/complete_lattice): Sup lemmas before Inf lemmas (#…
Browse files Browse the repository at this point in the history
…14868)

Throughout the file, we make sure that `Sup` theorems always appear immediately before their `Inf` counterparts. This ensures consistency, and makes it much easier to golf theorems or detect missing API.

We choose to put `Sup` before `Inf` rather than the other way around, since this seems to minimize the amount of things that need to be moved around, and it matches the order that we define the two operations.

We also golf a few proofs throughout, and add some missing corresponding theorems, namely:
- `infi_extend_top`
- `infi_supr_ge_nat_add`
- `unary_relation_Inf_iff`
- `binary_relation_Inf_iff`



Co-authored-by: YaelDillies <yael.dillies@gmail.com>
  • Loading branch information
vihdzp and YaelDillies committed Jun 24, 2022
1 parent 649ca66 commit cb94893
Showing 1 changed file with 236 additions and 267 deletions.

0 comments on commit cb94893

Please sign in to comment.