∀ {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] [Nonempty n] [Nontrivial R] (d : ℤ), (↑d).PosSemidef ↔ 0 ≤ d