Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(data/ennreal/basic): prove has_ordered_sub instance (#9582)
* Give `has_sub` and `has_ordered_sub` instances on `with_top α`. * This gives a new subtraction on `ennreal`. The lemma `ennreal.sub_eq_Inf` proves that it is equal to the old value. * Simplify many proofs about `sub` on `ennreal` * Proofs that are instantiations of more general lemmas will be removed in a subsequent PR * Many lemmas that require `add_le_cancellable` in general are reformulated using `≠ ∞` * Lemmas are reordered, but no lemmas are renamed, removed, or have a different type. Some `@[simp]` tags are removed if a more general simp lemma applies. * Minor: generalize `preorder` to `has_le` in `has_ordered_sub` (not necessary for this PR, but useful in another (abandoned) branch).
- Loading branch information
1 parent
bf76a1f
commit 8a60fd7
Showing
5 changed files
with
173 additions
and
129 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
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.