Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

GLS estimator is linear and unbiased: (ATWA)−1ATW A=I(A^{\mathsf T}WA)^{-1}A^{\mathsf T}W\,A=I(ATWA)−1ATWA=I

Proved
LocalDistanceNetwork.gls_unbiased

by Lucas · Oct 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

least-squareslinear-algebrastatistics

Let A∈Rm×nA\in\mathbb R^{m\times n}A∈Rm×n have full column rank and let W∈Rm×mW\in\mathbb R^{m\times m}W∈Rm×m be symmetric positive definite. Then the GLS estimator matrix LW=(ATWA)−1ATWL_W=(A^{\mathsf T}WA)^{-1}A^{\mathsf T}WLW​=(ATWA)−1ATW is a left inverse of AAA:

LW A=In.L_W\,A=I_n .LW​A=In​.

Consequently, if the data satisfy Y=AX0+εY=AX_0+\varepsilonY=AX0​+ε with E[ε]=0\mathbb E[\varepsilon]=0E[ε]=0, then E[LWY]=X0\mathbb E[L_WY]=X_0E[LW​Y]=X0​: the GLS estimator is a linear unbiased estimator, one half of the "Best Linear Unbiased Estimator" property invoked in Appendix B.

Preamble
import Mathlib
import Definitions.Def_LocalDistanceNetwork_GLS

open Matrix
Formal statement
namespace LocalDistanceNetwork
theorem gls_unbiased {m n : Type*} [Fintype m] [Fintype n] [DecidableEq n]
    (A : Matrix m n ℝ) (hA : Function.Injective A.mulVec)
    (W : Matrix m m ℝ) (hW : W.PosDef) :
    glsEstimatorMatrix A W * A = 1 := by sorry
end LocalDistanceNetwork
Source
H0DN Collaboration (S. Casertano et al.), The Local Distance Network: A community consensus report on the measurement of the Hubble constant at ~1% precision, A&A 708, A166 (2026), https://doi.org/10.1051/0004-6361/202557993, Appendix B (p. 34) and Appendix B.2 (pp. 34-35), Eqs. (B.1)-(B.2)
Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me