Documentation

LeanOA.MulNonneg

Product of commuting nonnegative elements is nonnnegative #

theorem Commute.mul_nonneg {A : Type u_1} [NonUnitalCStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {a b : A} (hab : Commute a b) (ha : 0 a := by cfc_tac) (hb : 0 b := by cfc_tac) :
0 a * b
theorem CStarAlgebra.prod_nonneg_of_commute {A : Type u_1} [CStarAlgebra A] [PartialOrder A] [StarOrderedRing A] {l : List A} (hl_nonneg : xl, 0 x) (hl_comm : xl, yl, Commute x y) :
0 l.prod