Commit 2021-09-28 11:33 4a02fd3b
View on Github →refactor(algebra/order/ring,data/complex): redefine ordered_comm_ring and complex order (#9420)
ordered_comm_ringno longer extendsordered_comm_semiring. We add an instanceordered_comm_ring.to_ordered_comm_semiringinstead.- redefine complex order in terms of
reandiminstead of existence of a nonnegative real number. - simplify
has_star.staroncomplextoconj; - rename
complex.complex_partial_orderetc tocomplex.partial_orderetc, make them protected.