∀ {n : Type u_2} {R : Type u_3} [inst : Ring R] [inst_1 : PartialOrder R] [inst_2 : StarRing R] [inst_3 : Fintype n]
  [StarOrderedRing R] [inst_5 : DecidableEq n] {M : Matrix n n R}, M.PosSemidef → ∀ (k : ℕ), (M ^ k).PosSemidef