Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4: approximate orthogonal identification

Proved
ControlledWorldModels.approx_orthogonal_identification

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

hermite-expansionidentifiabilityjepalinear-gaussian-dynamicsworld-models

There is a universal constant C>0C>0C>0 with the following property. Assume Assumptions 1–2 (in any dimensions d,md,md,m) and γrep(π)>0\gamma_{\rm rep}(\pi)>0γrep​(π)>0. Let hhh be an admissible encoder with Lπ(h,Fh⋆)≤d−tr⁡Rπ+Δ\mathcal L_\pi(h,F_h^\star)\le d-\operatorname{tr}R_\pi+\DeltaLπ​(h,Fh⋆​)≤d−trRπ​+Δ for some Δ≥0\Delta\ge0Δ≥0. Then there exists Q∈O(d)Q\in O(d)Q∈O(d) with

E∥h(g(zt))−Qzt∥2≤C Δγrep(π).\mathbb E\|h(g(z_t))-Qz_t\|^2\le C\,\frac{\Delta}{\gamma_{\rm rep}(\pi)}.E∥h(g(zt​))−Qzt​∥2≤Cγrep​(π)Δ​.

Formalization Note "Universal constant" is read as a single CCC chosen before ddd, mmm, the dynamics, the policy and the encoder.

Preamble
import Mathlib
import Definitions.Def_ControlledWorldModels_Basic

open MeasureTheory ProbabilityTheory
Formal statement
namespace ControlledWorldModels

theorem approx_orthogonal_identification :
    ∃ C : ℝ, 0 < C ∧
    ∀ {d m : ℕ} (A : Matrix (Fin d) (Fin d) ℝ) (B : Matrix (Fin d) (Fin m) ℝ)
      (μ : Measure ((Fin d → ℝ) × (Fin m → ℝ))) (ν : Measure (Fin d → ℝ)),
      IsJointGaussianPolicy μ → IsStationaryTransition A B μ ν →
      ∀ e : (Fin d → ℝ) → Fin d → ℝ, IsAdmissible e → 0 < repMargin A B μ →
      ∀ Δ : ℝ, 0 ≤ Δ →
      condLoss A B μ ν e ≤ ENNReal.ofReal (optValue A B μ) + ENNReal.ofReal Δ →
      ∃ Q : Matrix.orthogonalGroup (Fin d) ℝ,
        ∫⁻ z, ENNReal.ofReal (sqNorm (e z - (Q : Matrix (Fin d) (Fin d) ℝ).mulVec z)) ∂(stdGauss d) ≤
          ENNReal.ofReal (C * (Δ / repMargin A B μ)) := by sorry

end ControlledWorldModels
Source
Zhang, Guan, Zhang, Li, Zhang and Li, On the Identifiability of Controlled World Models, arXiv:2607.22430v2 (2026), Appendix B, Lemma 4, p. 10 (setting: Section 3.3, Theorem 2, p. 4)
Read-back

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

There is a single real constant C>0C > 0C>0 such that the following holds for every pair of dimensions d,m∈Nd, m \in \mathbb{N}d,m∈N (including d=0d = 0d=0 and m=0m = 0m=0). The constant is chosen once, before ddd and mmm, so it does not depend on ddd, mmm or any of the data below.

Data. Take any of the following:

  • a real d×dd \times dd×d matrix AAA;
  • a real d×md \times md×m matrix BBB;
  • a measure μ\muμ on Rd×Rm\mathbb{R}^d \times \mathbb{R}^mRd×Rm, whose points are written (z,a)(z, a)(z,a);
  • a measure ν\nuν on Rd\mathbb{R}^dRd, whose points are written ξ\xiξ.

A sample is ω=((z,a),ξ)\omega = ((z, a), \xi)ω=((z,a),ξ), drawn from the product measure μ⊗ν\mu \otimes \nuμ⊗ν, so (z,a)(z, a)(z,a) is independent of ξ\xiξ. The next state of a sample is

z′=Az+Ba+ξ.z' = Az + Ba + \xi .z′=Az+Ba+ξ.

Hypotheses. Assume all of the following.

  1. Policy law. μ\muμ is a Gaussian measure: a probability measure under which every continuous linear functional is real-Gaussian, possibly degenerate. Its mean is 000, and its first marginal (the law of zzz) is exactly the standard Gaussian N(0,Id)N(0, I_d)N(0,Id​). Nothing else is assumed about the law of aaa or its dependence on zzz; the action covariance may be singular.

  2. Stationary transition. ν\nuν is a Gaussian measure with mean 000, with arbitrary (possibly singular) covariance. The law of z′=Az+Ba+ξz' = Az + Ba + \xiz′=Az+Ba+ξ under μ⊗ν\mu \otimes \nuμ⊗ν is exactly N(0,Id)N(0, I_d)N(0,Id​). No other condition is placed on AAA or BBB.

  3. Admissible encoder. e:Rd→Rde : \mathbb{R}^d \to \mathbb{R}^de:Rd→Rd is any measurable map that pushes N(0,Id)N(0, I_d)N(0,Id​) forward to N(0,Id)N(0, I_d)N(0,Id​). The encoder acts directly on latent states; no observation map appears.

  4. Positive representation margin. Define the predictable-signal covariance RRR as the d×dd \times dd×d covariance matrix of Az+BaAz + BaAz+Ba under μ\muμ:

Rij=Eμ[(Az+Ba−Eμ[Az+Ba])i (Az+Ba−Eμ[Az+Ba])j].R_{ij} = \mathbb{E}_\mu\big[(Az + Ba - \mathbb{E}_\mu[Az + Ba])_i \,(Az + Ba - \mathbb{E}_\mu[Az + Ba])_j\big].Rij​=Eμ​[(Az+Ba−Eμ​[Az+Ba])i​(Az+Ba−Eμ​[Az+Ba])j​].

Define λmax⁡(R)\lambda_{\max}(R)λmax​(R) as the supremum of the Rayleigh quotient x⊤Rxx^\top R xx⊤Rx over unit vectors ∥x∥2=1\|x\|_2 = 1∥x∥2​=1, and λmin⁡(R)\lambda_{\min}(R)λmin​(R) as the corresponding infimum. The hypothesis is

γ:=λmin⁡(R)−λmax⁡(R)2>0.\gamma := \lambda_{\min}(R) - \lambda_{\max}(R)^2 > 0 .γ:=λmin​(R)−λmax​(R)2>0.

When d=0d = 0d=0 there are no unit vectors. Both quantities are then the empty-set convention 000, so γ=0\gamma = 0γ=0 and the statement is vacuous in that case.

  1. Near-optimal loss. Take any real number Δ≥0\Delta \ge 0Δ≥0 satisfying the inequality below. Here F^\widehat{F}F is the conditional expectation, under μ⊗ν\mu \otimes \nuμ⊗ν, of e(z′)e(z')e(z′) given the σ\sigmaσ-algebra generated by the pair (e(z),a)(e(z), a)(e(z),a); this uses the standard convention that it is 000 when undefined. The left-hand side is valued in [0,∞][0, \infty][0,∞]:
Eμ⊗ν[∥e(z′)−F^∥22]  ≤  max⁡ ⁣(d−tr⁡(R), 0)+Δ.\mathbb{E}_{\mu \otimes \nu}\Big[\big\| e(z') - \widehat{F} \big\|_2^2\Big] \;\le\; \max\!\big(d - \operatorname{tr}(R),\, 0\big) + \Delta .Eμ⊗ν​[​e(z′)−F​22​]≤max(d−tr(R),0)+Δ.

The value d−tr⁡(R)d - \operatorname{tr}(R)d−tr(R) is truncated at 000 when negative. Δ\DeltaΔ is only an upper allowance; it need not equal the actual excess.

Conclusion. There exists an orthogonal d×dd \times dd×d matrix QQQ, meaning Q⊤Q=QQ⊤=IdQ^\top Q = Q Q^\top = I_dQ⊤Q=QQ⊤=Id​, such that

Ez∼N(0,Id)[∥e(z)−Qz∥22]  ≤  C⋅Δγ.\mathbb{E}_{z \sim N(0, I_d)}\Big[\big\| e(z) - Qz \big\|_2^2\Big] \;\le\; C \cdot \frac{\Delta}{\gamma} .Ez∼N(0,Id​)​[​e(z)−Qz​22​]≤C⋅γΔ​.

Here ∥v∥22=∑ivi2\|v\|_2^2 = \sum_i v_i^2∥v∥22​=∑i​vi2​. The left side is a [0,∞][0, \infty][0,∞]-valued integral, so the inequality in particular asserts that it is finite.

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

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 23, 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