Proposition 3.3 — Gaussian regression: the conditional law of a Gaussian vector given a full-row-rank linear image
ProvedIteratedLP.Gaussian.proposition_3_3gaussian-regressionp2o-gran-per-chapterp2o-plan-paperp2o-v1probability
Let in with , and let be a linear map of full row rank. Then:
- the conditional law of given is
- the regression residual is Gaussian and independent of ;
- when , with the point of the affine subspace closest to , , , where is the orthogonal projection onto .
These formulas describe the law of the data matrix conditioned on the linear history of ITERATED-LP.
Differences from the source:
- encoding: Z | {TZ = b} ∼ N(m_b, Σ_c) (a conditional law given a continuous variable) → every Markov kernel κ with κ(b) = multivariateGaussian(m_b, Σ_c) for all b is a version: Law(TZ, Z) = Law(TZ) ⊗ₘ κ; reason: conditional laws given continuous variables are defined up to versions; this states that the Gaussian family is one
- encoding: Z ∼ N(m, Σ) in ℝ^d; T linear of full row rank → a measurable Z on an arbitrary probability space with Law(Z) = multivariateGaussian m Σ on EuclideanSpace ℝ (Fin d); T a k × d matrix of rank k acting by toEuclideanLin; reason: same objects
- encoding: E[Z | TZ]; 'Gaussian and independent of TZ' → Mathlib's condExp of Z w.r.t. the σ-algebra generated by TZ; IsGaussian of the residual's law and IndepFun of residual and TZ; reason: independence and law do not depend on the a.e. version of the conditional expectation
- encoding: Σ = σ²I_d; z_b the closest point of {Tz = b} to m; P_ker T → σ > 0 with Σ = σ² • 1; any function zb with T zb(b) = b and ‖zb(b) − m‖ ≤ ‖z − m‖ on {Tz = b} (the closest point is unique); the starProjection onto ker T; reason: Σ ≻ 0 forces σ ≠ 0, and σ and −σ give the same law by symmetry of G
Preamble
import Mathlib open MeasureTheory ProbabilityTheory Matrix
Formal statement
namespace IteratedLP.Gaussian
/-- Proposition 3.3 (Gaussian regression, p. 14). Let `Z ∼ N(m, Σ)` in `ℝ^d` with `Σ ≻ 0`, and
let `T : ℝ^d → ℝ^k` be linear of full row rank. Then
1. `Z | {TZ = b} ∼ N(m + ΣT⊤(TΣT⊤)⁻¹(b - Tm), Σ - ΣT⊤(TΣT⊤)⁻¹TΣ)`: every kernel `κ` with these
Gaussian laws is a version of the conditional law, i.e. `Law(TZ, Z) = Law(TZ) ⊗ κ`;
2. the regression residual `Z - E[Z | TZ]` is Gaussian and independent of `TZ`;
3. when `Σ = σ² I_d` (`σ > 0`) and `z_b` is the point of `{z : Tz = b}` closest to `m`,
`Law(Z | TZ = b) = Law(z_b + σ P_{ker T} G)` with `G ∼ N(0, I_d)`: every kernel with these
laws is a version of the conditional law. -/
theorem proposition_3_3 (d k : ℕ) (m : EuclideanSpace ℝ (Fin d))
(Sig : Matrix (Fin d) (Fin d) ℝ) (hSig : Sig.PosDef)
(T : Matrix (Fin k) (Fin d) ℝ) (hT : T.rank = k)
{Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(Z : Ω → EuclideanSpace ℝ (Fin d)) (hZ : Measurable Z)
(hlaw : P.map Z = multivariateGaussian m Sig) :
(∀ κ : ProbabilityTheory.Kernel (EuclideanSpace ℝ (Fin k)) (EuclideanSpace ℝ (Fin d)),
(∀ b, κ b = multivariateGaussian
(m + toEuclideanLin (Sig * Tᵀ * (T * Sig * Tᵀ)⁻¹) (b - toEuclideanLin T m))
(Sig - Sig * Tᵀ * (T * Sig * Tᵀ)⁻¹ * T * Sig)) →
P.map (fun ω => (toEuclideanLin T (Z ω), Z ω)) =
(P.map (fun ω => toEuclideanLin T (Z ω))) ⊗ₘ κ) ∧
(IsGaussian (P.map (fun ω => Z ω -
(P[Z | MeasurableSpace.comap (fun ω => toEuclideanLin T (Z ω)) inferInstance]) ω)) ∧
IndepFun (fun ω => Z ω -
(P[Z | MeasurableSpace.comap (fun ω => toEuclideanLin T (Z ω)) inferInstance]) ω)
(fun ω => toEuclideanLin T (Z ω)) P) ∧
(∀ σ : ℝ, 0 < σ → Sig = σ ^ 2 • (1 : Matrix (Fin d) (Fin d) ℝ) →
∀ zb : EuclideanSpace ℝ (Fin k) → EuclideanSpace ℝ (Fin d),
(∀ b, toEuclideanLin T (zb b) = b ∧
∀ z, toEuclideanLin T z = b → ‖zb b - m‖ ≤ ‖z - m‖) →
∀ κ : ProbabilityTheory.Kernel (EuclideanSpace ℝ (Fin k)) (EuclideanSpace ℝ (Fin d)),
(∀ b, κ b = (stdGaussian (EuclideanSpace ℝ (Fin d))).map
(fun g => zb b + σ • (LinearMap.ker (toEuclideanLin T)).starProjection g)) →
P.map (fun ω => (toEuclideanLin T (Z ω), Z ω)) =
(P.map (fun ω => toEuclideanLin T (Z ω))) ⊗ₘ κ) := by sorry
end IteratedLP.Gaussian
Source
Zhang, Li, State Evolution and Universality of Iterated Linear Programs for the Binary Perceptron, arXiv:2611.04294v1, p. 14, Proposition 3.3
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.