∀ {n : Type u_2} {R : Type u_3} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : StarRing R] [StarOrderedRing R]
  [inst_4 : DecidableEq n] [NoZeroDivisors R] {d : n → R}, (∀ (i : n), 0 < d i) → (Matrix.diagonal d).PosDef