Gluing two independent standard Gaussian vectors along an orthogonal projection:
ProvedStdGaussianProjection.map_glueThis is a resampling identity for the standard Gaussian law.
Let be a finite-dimensional real inner product space and let be an orthogonal projection, that is, a linear map with for all and . Let and be independent random vectors in , each with the standard Gaussian law . Then
In words: replacing the component of in the range of by the corresponding component of an independent copy gives again a standard Gaussian vector. The identity realizes one Gaussian vector from two independent sources. It is used in simulation arguments in which part of the hidden Gaussian coefficients of a random instance is supplied by the random seed of an algorithm.
Formalization Note The pair is the identity map of under the product measure (stdGaussian E).prod (stdGaussian E), and the statement is the equality of the push-forward of this measure under with stdGaussian E. The map is a continuous linear map, and self-adjointness and idempotence are stated pointwise.
import Mathlib
namespace StdGaussianProjection
open MeasureTheory ProbabilityTheory
open scoped RealInnerProductSpace
/-- **Gluing two independent standard Gaussian vectors along an orthogonal projection.**
Let `E` be a finite-dimensional real inner product space and `P` an orthogonal projection of
`E`: a linear map that is self-adjoint (`hsa`) and idempotent (`hidem`). If `G'` and `G` are
independent, each with the standard Gaussian law `N(0, I_E)`, then `P G' + (G - P G)` has the
law `N(0, I_E)`.
**Formalization Note.** The pair `(G', G)` is the identity of `E × E` under the product measure
`(stdGaussian E).prod (stdGaussian E)`. The statement is the equality of the push-forward of
this measure under `(g', g) => P g' + (g - P g)` with `stdGaussian E`. -/
theorem map_glue {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
[FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E] (P : E →L[ℝ] E)
(hsa : ∀ x y : E, ⟪P x, y⟫ = ⟪x, P y⟫) (hidem : ∀ x : E, P (P x) = P x) :
((stdGaussian E).prod (stdGaussian E)).map (fun z : E × E => P z.1 + (z.2 - P z.2)) =
stdGaussian E := by sorry
end StdGaussianProjection