A generalized-inverse Gram condition implies a positive operator lower bound
OpenQAlgorithms.Papers.Independent.Extend50.P19.generalized_inverse_lower_boundLet be a finite-dimensional complex Hilbert space, let be a positive semidefinite operator on , let be an integer, and let . Suppose that nonzero vectors satisfy for all . Here is the generalized inverse, which inverts the positive eigenvalues and vanishes on the kernel. Then
The vectors need not be normalized or orthogonal for the original Hilbert-space inner product. The result supplies the operator comparison used in the PGM optimality arguments.
Formalization Note The positive-index convention follows the source's induction beginning with ; the printed positivity assertion would fail for an empty collection.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P19
set_option backward.isDefEq.respectTransparency.types false
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
open QAlgorithms
namespace QAlgorithms.Papers.Independent.Extend50.P19
attribute [local instance] Classical.propDecidable
/-- Lemma 1, PDF pp.4 and 17 (Appendix A). K is positive: the source proof
starts at K=1, and the claimed positivity of c fails for an empty collection.
The vectors are nonzero and in im(X); they need not be normalized or
orthogonal in the ordinary inner product. -/
theorem generalized_inverse_lower_bound {ι : Type*} [Fintype ι] [DecidableEq ι]
(X : Matrix ι ι ℂ) (hX : X.PosSemidef) (K : ℕ) (hK : 0 < K)
(xi : Fin K → EuclideanSpace ℂ ι) (c : ℝ)
(hxi : ∀ k, xi k ≠ 0 ∧ xi k ∈ LinearMap.range (Matrix.toEuclideanLin X))
(hgram : ∀ j k, inner ℂ (xi j) (act (spectralInverse X) (xi k)) =
if j = k then (c : ℂ) else 0) :
0 < c ∧ (X - ((c⁻¹ : ℝ) : ℂ) • ∑ k, pureDensity (xi k)).PosSemidef := by sorry
end QAlgorithms.Papers.Independent.Extend50.P19
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be any finite type equipped with decidable equality, let be a positive semidefinite complex matrix indexed by , let be a natural number with , let , and let . Let denote the matrix obtained by applying the real spectral function to , with ; thus it acts by on each positive-eigenvalue eigenspace and by zero on the kernel. Suppose that every is nonzero and lies in the range of the linear map represented by , and that, for every ,
where the complex inner product conjugates its first argument and the real number is viewed as complex. Then
where . Although an empty is permitted by the type assumptions, in that case the nonzero-vector hypotheses cannot hold because .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.