Eqs. (5)-(6): the jackknife covariance is positive semidefinite
ProvedSZFilaments.jackknifeCovariance_posSemidefEquations (5) and (6) of the paper: the jackknife covariance estimator is a covariance matrix.
The paper replaces the naive covariance by a resampled one: the galaxy pairs are split into sky regions, each yielding a residual profile , and
This matrix is symmetric and positive semidefinite for every number of sub-samples and every data set: the jackknife prefactor is nonnegative, so it cannot spoil the positive semidefiniteness of the outer-product sum.
import Definitions.Def_szStackStatistics open Finset Matrix
namespace SZFilaments
theorem jackknifeCovariance_posSemidef {Nsub n : ℕ} (y : Fin Nsub → Fin n → ℝ) :
(jackknifeCovariance y).PosSemidef := by sorry
end SZFilaments
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Disclosure — this read-back is not blind and not independent. It was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal owner, and no separate auditor saw the code. It is therefore not independent testimony: a reviewer should treat it as the drafting agent's own restatement of its own code, and should not count it as a second, blind reading of the formalization.
For arbitrary natural numbers and and an arbitrary real array with in an -element index type and in an -element index type, the statement asserts that the real matrix with entries
is positive semidefinite: symmetric, with nonnegative quadratic form on every real vector.
No hypotheses are imposed. The counts are cast to reals before subtraction, so for the prefactor is (division by zero) and the matrix vanishes; for the prefactor is as well, so the matrix again vanishes and the claim is trivially true in that case. The statement concerns this estimator as written; it asserts nothing about its statistical bias or about the resampling scheme that produced the .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.