Commit 2024-04-05 15:59 bfa88435
View on Github →feat: make StarOrderedRing a mixin (#11872)
This makes StarOrderedRing take StarRing as a parameter instead of extending it, and as a result moves the typeclass to Prop. It was already a mixin with respect to the order and algebraic structure. There are two primary motivations:
- This makes it possible to directly assume that
C(α, R)is aStarOrderedRingwith[StarOrderedRing C(α, R)], as currently there is no typeclass onRwhich would naturally guarantee this property. This is relevant as we want this type class on continuous functions for the continuous functional calculus. - We will eventually want a
StarOrderedRinginstance onC(α, A)whereAis a complex (or even real) C⋆-algebra, and making this a mixin avoids loops withStarRing.