Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1 (proof, rotation): an orthogonal matrix preserves the standard normal law

Proved
DisentanglementImpossibility.orthogonal_map_std_gaussian

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

disentanglementidentifiabilitynonlinear-icarepresentation-learning

Let AAA be an orthogonal d×dd\times dd×d real matrix and let xxx have the ddd-dimensional standard normal distribution N(0,Id)N(0,I_d)N(0,Id​). Then AxAxAx also has the distribution N(0,Id)N(0,I_d)N(0,Id​):

A#N(0,Id)=N(0,Id).A_\#N(0,I_d)=N(0,I_d).A#​N(0,Id​)=N(0,Id​).

In the proof of Theorem 1 this is applied to x=h(g(z))x=h(g(z))x=h(g(z)), because the covariance matrix of AxAxAx is AA⊤=IdAA^\top=I_dAA⊤=Id​.

Preamble
import Mathlib
import Definitions.Def_DisentanglementImpossibility_Basic

open MeasureTheory ProbabilityTheory
Formal statement
namespace DisentanglementImpossibility

theorem orthogonal_map_std_gaussian {d : ℕ} (A : Matrix (Fin d) (Fin d) ℝ)
    (hA : A ∈ Matrix.orthogonalGroup (Fin d) ℝ) :
    (stdGaussian d).map (fun x => A.mulVec x) = stdGaussian d := by sorry

end DisentanglementImpossibility
Source
Locatello, Bauer, Lucic, Rätsch, Gelly, Schölkopf, Bachem, Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representations, ICML 2019, arXiv:1811.12359v4, Appendix A (Proof of Theorem 1), sentence 'The random variable Ah(g(z)) ... is hence an independent, multivariate standard normal distribution', p. 12
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

For every natural number d≥0d \ge 0d≥0 and every real d×dd \times dd×d matrix AAA that is orthogonal, the ddd-dimensional standard Gaussian law is invariant under the linear map x↦Axx \mapsto Axx↦Ax. Here "orthogonal" means membership in the orthogonal group O(d)O(d)O(d), i.e.

ATA=IdandAAT=Id.A^{\mathsf T} A = I_d \quad\text{and}\quad A A^{\mathsf T} = I_d .ATA=Id​andAAT=Id​.

The law γd\gamma_dγd​. The standard Gaussian law on Rd\mathbb{R}^dRd, written here γd\gamma_dγd​, is the product measure of ddd copies of the one-dimensional standard normal law N(0,1)N(0,1)N(0,1) (mean 000, variance 111), one copy for each coordinate:

γd  =  ⨂i=1dN(0,1)on Rd.\gamma_d \;=\; \bigotimes_{i=1}^{d} N(0,1) \quad \text{on } \mathbb{R}^d .γd​=i=1⨂d​N(0,1)on Rd.

Here Rd\mathbb{R}^dRd means real-valued functions on the index set {1,…,d}\{1,\dots,d\}{1,…,d}, with the product σ\sigmaσ-algebra.

The map. The map x↦Axx \mapsto Axx↦Ax is the ordinary matrix–vector product:

(Ax)i=∑j=1dAijxj.(Ax)_i = \sum_{j=1}^{d} A_{ij} x_j .(Ax)i​=j=1∑d​Aij​xj​.

This map is linear and continuous, hence measurable, so its pushforward is the usual image measure.

The claim. The theorem asserts the equality of measures

γd∘(x↦Ax)−1  =  γd,\gamma_d \circ (x \mapsto Ax)^{-1} \;=\; \gamma_d ,γd​∘(x↦Ax)−1=γd​,

that is, γd({x:Ax∈B})=γd(B)\gamma_d(\{x : Ax \in B\}) = \gamma_d(B)γd​({x:Ax∈B})=γd​(B) for every measurable set B⊆RdB \subseteq \mathbb{R}^dB⊆Rd. Equivalently, if X∼γdX \sim \gamma_dX∼γd​ then AX∼γdAX \sim \gamma_dAX∼γd​.

The case d=0d = 0d=0. This case is included. Then R0\mathbb{R}^0R0 is a single point, the only matrix is the empty one, and γ0\gamma_0γ0​ is the unit point mass, so the statement holds trivially.

Hypotheses. No hypothesis beyond orthogonality of AAA is imposed.

Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 24, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me