Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(algebra/order): replace typeclasses with constructors (#9725)
This RFC suggests removing some unused classes for the ordered algebra hierarchy, replacing them with constructors We have `nonneg_add_comm_group extends add_comm_group`, and an instance from this to `ordered_add_comm_group`. The intention is to be able to construct an `ordered_add_comm_group` by specifying its positive cone, rather than directly its order. There are then `nonneg_ring` and `linear_nonneg_ring`, similarly. (None of these are actually used later in mathlib at this point.) Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
- Loading branch information
1 parent
442382d
commit 98d07d3
Showing
2 changed files
with
104 additions
and
137 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