A diagonal matrix as two simultaneous inverse averages
ProvedQAlgorithms.Papers.Independent.Frontier30.P02.diagonal_inverse_averagesLet and be a real diagonal matrix with for every . There are real diagonal matrices , each with strictly positive diagonal entries, such that
The inverses are genuine inverses. This simultaneous averaging identity is used in the two-Gram representation of Gaussian covariances.
Formalization Note Diagonal matrices are represented by their full functions of diagonal entries; each equality is imposed at every coordinate.
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier30_P02
noncomputable section
open scoped ComplexOrder
open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase complexify)
namespace QAlgorithms.Papers.Independent.Frontier30.P02
/-- Lemma 1, arXiv:1101.5041v1, PDF p.10: both diagonal averages.
Functions denote the complete diagonal, and positivity guards every reciprocal. -/
theorem diagonal_inverse_averages {n : ℕ} (hn : 0 < n) (d : Fin n → ℝ)
(hd : ∀ j, 1 ≤ d j) :
∃ d1 d2 : Fin n → ℝ,
(∀ j, 0 < d1 j) ∧ (∀ j, 0 < d2 j) ∧
(∀ j, d j = (d1 j + d2 j) / 2) ∧
(∀ j, d j = ((d1 j)⁻¹ + (d2 j)⁻¹) / 2) := by sorry
end QAlgorithms.Papers.Independent.Frontier30.P02
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number with and every function satisfying for every , there exist two functions such that, for every index ,
The lower bound on is non-strict and includes . The strict positivity of both constructed functions ensures that none of the displayed reciprocals is taken at zero. No uniqueness is asserted, and is excluded.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.