AFTD Auto-Formalizing Theoretical Domains

hermitian_l1_residual_factorization_pos_semidef

theoremverified

A positive multiple of a complex matrix is positive semidefinite if it is a Gram matrix plus a Hermitian diagonally dominant residual.

Statement

theorem hermitian_l1_residual_factorization_pos_semidef
    {n : Type*} [Fintype n] [DecidableEq n]
    (G B R : Matrix n n ℂ) (c : ℝ) (hc : 0 < c)
    (hR : R.IsHermitian)
    (hdom : ∀ i, (∑ j ∈ Finset.univ.erase i, (|(R i j).re| + |(R i j).im|)) ≤ (R i i).re)
    (hfactor : c • G = B * Bᴴ + R) : G.PosSemidef
Source
Residual factorization method for OP-2299, experiments 40944 and 41047.
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1

The proof, explained

The theorem decomposes the scaled matrix c • G as the sum of a Gram matrix B * Bᴴ and a diagonally dominant Hermitian residual R. Both B * Bᴴ and R are positive semidefinite, so their sum c • G is also positive semidefinite. Multiplying by the positive scalar c⁻¹ preserves positive semidefiniteness and recovers G.

  1. The residual matrix R is positive semidefinite.

    By assumption, R is Hermitian and diagonally dominant with respect to the ℓ₁-norm of its off-diagonal entries. Applying the lemma hermitian_l1_diagonal_dominance_pos_semidef directly establishes that R is positive semidefinite.

    line 9

    uses hermitian_l1_diagonal_dominance_pos_semidef

      have hres := hermitian_l1_diagonal_dominance_pos_semidef R hR hdom
  2. The scaled matrix c • G is positive semidefinite.

    Using the given factorization c • G = B * Bᴴ + R, the matrix c • G is the sum of the Gram matrix B * Bᴴ and the residual R. The Gram matrix is positive semidefinite by Matrix.posSemidef_self_mul_conjTranspose, and the sum of two positive semidefinite matrices is positive semidefinite.

    lines 10–12

    uses Matrix.posSemidef_self_mul_conjTranspose

      have hscaled : (c • G).PosSemidef := by
        rw [hfactor]
        exact (Matrix.posSemidef_self_mul_conjTranspose B).add hres
  3. The matrix c⁻¹ • (c • G) is positive semidefinite.

    Since c > 0, its inverse c⁻¹ is strictly positive by inv_pos.mpr, and therefore non-negative by le_of_lt. Scaling a positive semidefinite matrix by a non-negative scalar preserves positive semidefiniteness.

    line 13

    uses inv_pos.mpr, le_of_lt

      have h := hscaled.smul (le_of_lt (inv_pos.mpr hc))
  4. The matrix G is positive semidefinite.

    Simplifying the scalar product c⁻¹ • (c • G) via smul_smul gives (c⁻¹ * c) • G. Since c > 0 implies c ≠ 0 by ne_of_gt, the inverse cancels to 1 by inv_mul_cancel₀. Finally, 1 • G simplifies to G by one_smul, completing the proof.

    line 14

    uses smul_smul, inv_mul_cancel₀, ne_of_gt, one_smul

      simpa only [smul_smul, inv_mul_cancel₀ (ne_of_gt hc), one_smul] using h
hermitian_l1_diagonal_dominance_pos_semidef
A Hermitian complex matrix whose diagonal entries dominate the sum of absolute values of real and imaginary parts of off-diagonal entries in each row is positive semidefinite.
Matrix.posSemidef_self_mul_conjTranspose
For any matrix A, the product A * Aᴴ (the matrix multiplied by its conjugate transpose) is positive semidefinite.
inv_pos.mpr
If a number a is strictly positive, then its inverse a⁻¹ is also strictly positive.
le_of_lt
If a < b, then a ≤ b.
smul_smul
Associativity of scalar multiplication: a • (b • x) = (a * b) • x.
inv_mul_cancel₀
In a group with zero, if a ≠ 0, then a⁻¹ * a = 1.
ne_of_gt
If b < a, then a ≠ b.
one_smul
Scalar multiplication by 1 is the identity: 1 • x = x.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

open scoped Matrix ComplexOrdertheorem hermitian_l1_residual_factorization_pos_semidef    {n : Type*} [Fintype n] [DecidableEq n]    (G B R : Matrix n n ℂ) (c : ℝ) (hc : 0 < c)    (hR : R.IsHermitian)    (hdom : ∀ i, (∑ j ∈ Finset.univ.erase i, (|(R i j).re| + |(R i j).im|)) ≤ (R i i).re)    (hfactor : c • G = B * Bᴴ + R) : G.PosSemidef := by  have hres := hermitian_l1_diagonal_dominance_pos_semidef R hR hdom  have hscaled : (c • G).PosSemidef := by    rw [hfactor]    exact (Matrix.posSemidef_self_mul_conjTranspose B).add hres  have h := hscaled.smul (le_of_lt (inv_pos.mpr hc))  simpa only [smul_smul, inv_mul_cancel₀ (ne_of_gt hc), one_smul] using h
See it in the graphDiscuss this resultChallenge it