Exact positive semidefinite certificate calculus #
Integer fraction-free Schur certificates are checked by the Lean kernel.
Nonnegativity of the quadratic form; symmetry is verified independently.
Equations
- PersistentSOS.IsPSD A = ∀ (x : Fin n → ℝ), 0 ≤ PersistentSOS.quadraticForm A x
Instances For
theorem
PersistentSOS.schur_step
{n : ℕ}
(A : Fin (n + 1) → Fin (n + 1) → ℝ)
(B : Fin n → Fin n → ℝ)
(p : ℝ)
(hp : 0 < p)
(ha : 0 < A 0 0)
(hsym : ∀ (i : Fin n), A i.succ 0 = A 0 i.succ)
(hstep : ∀ (i j : Fin n), p * B i j = A 0 0 * A i.succ j.succ - A i.succ 0 * A 0 j.succ)
(hB : IsPSD B)
:
IsPSD A
One fraction - free Schur step, with an independently checked previous pivot.
theorem
PersistentSOS.integer_schur_step
{n : ℕ}
(A : Fin (n + 1) → Fin (n + 1) → ℤ)
(B : Fin n → Fin n → ℤ)
(p : ℤ)
(hp : 0 < p)
(ha : 0 < A 0 0)
(hsym : ∀ (i : Fin n), A i.succ 0 = A 0 i.succ)
(hstep : ∀ (i j : Fin n), p * B i j = A 0 0 * A i.succ j.succ - A i.succ 0 * A 0 j.succ)
(hB : IsPSD fun (i j : Fin n) => ↑(B i j))
:
Integer identities suffice for a Schur step over the reals.