Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2: controlled Hermite energy bound

Proved
ControlledWorldModels.controlled_hermite_energy_bound

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

hermite-expansionidentifiabilityjepalinear-gaussian-dynamicsworld-models

Assume Assumptions 1–2. Let Rπ=Cov⁡(Azt+Bat)R_\pi=\operatorname{Cov}(Az_t+Ba_t)Rπ​=Cov(Azt​+Bat​) have extreme eigenvalues λ1=λmax⁡(Rπ)<1\lambda_1=\lambda_{\max}(R_\pi)<1λ1​=λmax​(Rπ​)<1 and λd=λmin⁡(Rπ)>0\lambda_d=\lambda_{\min}(R_\pi)>0λd​=λmin​(Rπ​)>0. Let hhh be an admissible encoder. Write the linear Hermite component of z↦h(g(z))z\mapsto h(g(z))z↦h(g(z)) under z∼N(0,Id)z\sim\mathcal N(0,I_d)z∼N(0,Id​) as LzLzLz, with Lij=E[hi(g(z))zj]L_{ij}=\mathbb E[h_i(g(z))z_j]Lij​=E[hi​(g(z))zj​], and let τ1=tr⁡(LL⊤)\tau_1=\operatorname{tr}(LL^\top)τ1​=tr(LL⊤). Then

J(h)≤tr⁡(Rπ)−(λd−λ12)(d−τ1).J(h)\le\operatorname{tr}(R_\pi)-(\lambda_d-\lambda_1^2)(d-\tau_1).J(h)≤tr(Rπ​)−(λd​−λ12​)(d−τ1​).

This bound is the core of the identification argument: when λd>λ12\lambda_d>\lambda_1^2λd​>λ12​, every unit of energy outside the linear Hermite component costs predictable energy.

Formalization Note The paper's hypothesis 1>λ1≥⋯≥λd>01>\lambda_1\ge\cdots\ge\lambda_d>01>λ1​≥⋯≥λd​>0 is stated through the largest and smallest eigenvalues only. J(h)J(h)J(h), which is at most ddd by Lemma 1, is converted to a real number.

Preamble
import Mathlib
import Definitions.Def_ControlledWorldModels_Basic

open MeasureTheory ProbabilityTheory
Formal statement
namespace ControlledWorldModels

theorem controlled_hermite_energy_bound {d m : ℕ} (A : Matrix (Fin d) (Fin d) ℝ) (B : Matrix (Fin d) (Fin m) ℝ)
    (μ : Measure ((Fin d → ℝ) × (Fin m → ℝ))) (ν : Measure (Fin d → ℝ))
    (hpol : IsJointGaussianPolicy μ) (htr : IsStationaryTransition A B μ ν)
    (e : (Fin d → ℝ) → Fin d → ℝ) (he : IsAdmissible e)
    (hmax : lamMax (repCov A B μ) < 1) (hmin : 0 < lamMin (repCov A B μ)) :
    (predEnergy A B μ ν e).toReal ≤ (repCov A B μ).trace -
      (lamMin (repCov A B μ) - lamMax (repCov A B μ) ^ 2) * ((d : ℝ) - hermEnergy1 e) := by sorry

end ControlledWorldModels
Source
Zhang, Guan, Zhang, Li, Zhang and Li, On the Identifiability of Controlled World Models, arXiv:2607.22430v2 (2026), Appendix A, Lemma 2, p. 9
Read-back

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

Let d,m≥0d, m \ge 0d,m≥0 be natural numbers; the case d=0d = 0d=0 or m=0m = 0m=0 is not excluded. The data are:

  • real matrices A∈Rd×dA \in \mathbb{R}^{d\times d}A∈Rd×d and B∈Rd×mB \in \mathbb{R}^{d\times m}B∈Rd×m;
  • a measure μ\muμ on Rd×Rm\mathbb{R}^d \times \mathbb{R}^mRd×Rm, the joint law of a state–action pair (z,a)(z, a)(z,a);
  • a measure ν\nuν on Rd\mathbb{R}^dRd, the law of a noise vector ξ\xiξ;
  • a function e:Rd→Rde : \mathbb{R}^d \to \mathbb{R}^de:Rd→Rd, the encoder.

Write Nn=N(0,In)N_n = N(0, I_n)Nn​=N(0,In​) for the standard Gaussian on Rn\mathbb{R}^nRn, i.e. the product of nnn standard normal laws. Write ∥v∥2=∑ivi2\|v\|^2 = \sum_i v_i^2∥v∥2=∑i​vi2​.

Hypotheses. The following are assumed:

  1. Joint Gaussian policy. μ\muμ is a Gaussian probability measure on Rd+m\mathbb{R}^{d+m}Rd+m, possibly degenerate: every continuous linear functional of (z,a)(z,a)(z,a) is a real Gaussian, with point masses allowed. Its mean ∫(z,a) dμ\int (z,a)\, d\mu∫(z,a)dμ is 000, and its first marginal (the law of zzz) is exactly NdN_dNd​. Nothing else is assumed about the action marginal or the dependence between zzz and aaa.

  2. Stationary transition. ν\nuν is a Gaussian probability measure (possibly degenerate) with mean 000. Under the product law μ⊗ν\mu \otimes \nuμ⊗ν of ((z,a),ξ)((z,a),\xi)((z,a),ξ), the next state

z′=Az+Ba+ξz' = Az + Ba + \xiz′=Az+Ba+ξ

has law exactly NdN_dNd​. No other condition is placed on the noise covariance.

  1. Admissible encoder. eee is measurable, and eee pushes NdN_dNd​ forward to NdN_dNd​: if z∼Ndz \sim N_dz∼Nd​, then e(z)∼Nde(z) \sim N_de(z)∼Nd​.

  2. Spectral bounds. Let RRR be the d×dd\times dd×d covariance matrix of the vector Az+BaAz + BaAz+Ba under μ\muμ:

Rij=∫(Xi−∫Xi dμ)(Xj−∫Xj dμ) dμ,X=Az+Ba,R_{ij} = \int \big(X_i - \textstyle\int X_i\,d\mu\big)\big(X_j - \textstyle\int X_j\,d\mu\big)\,d\mu, \qquad X = Az + Ba,Rij​=∫(Xi​−∫Xi​dμ)(Xj​−∫Xj​dμ)dμ,X=Az+Ba,

with Bochner integrals, so a non-integrable integrand would contribute 000. Define

λmax⁡(R)=sup⁡∥x∥=1x⊤Rx,λmin⁡(R)=inf⁡∥x∥=1x⊤Rx,\lambda_{\max}(R) = \sup_{\|x\|=1} x^\top R x, \qquad \lambda_{\min}(R) = \inf_{\|x\|=1} x^\top R x,λmax​(R)=∥x∥=1sup​x⊤Rx,λmin​(R)=∥x∥=1inf​x⊤Rx,

taken over unit vectors x∈Rdx\in\mathbb{R}^dx∈Rd. The hypotheses are

λmax⁡(R)<1and0<λmin⁡(R).\lambda_{\max}(R) < 1 \quad\text{and}\quad 0 < \lambda_{\min}(R).λmax​(R)<1and0<λmin​(R).

When d=0d = 0d=0 there are no unit vectors, and both quantities are by convention 000. The hypothesis 0<λmin⁡(R)0 < \lambda_{\min}(R)0<λmin​(R) then fails, so the statement is vacuous for d=0d = 0d=0.

Quantities in the conclusion. Let G\mathcal{G}G be the σ-algebra on sample space generated by the pair (e(z),a)(e(z), a)(e(z),a). Let

F^=Eμ⊗ν[ e(z′)∣G ]\hat F = \mathbb{E}_{\mu\otimes\nu}\big[\, e(z') \mid \mathcal{G}\,\big]F^=Eμ⊗ν​[e(z′)∣G]

be the conditional expectation of e(z′)e(z')e(z′) given (e(z),a)(e(z), a)(e(z),a). This is a chosen a.e.-version; by convention it would be 000 if e(z′)e(z')e(z′) were not integrable.

The predictable energy is

J=∫∥F^∥2 d(μ⊗ν)∈[0,∞].J = \int \|\hat F\|^2 \, d(\mu\otimes\nu) \in [0,\infty].J=∫∥F^∥2d(μ⊗ν)∈[0,∞].

It is computed as an extended nonnegative number and then converted to a real number, with the convention that the value +∞+\infty+∞ becomes 000.

The linear Hermite coefficient matrix of eee is L∈Rd×dL\in\mathbb{R}^{d\times d}L∈Rd×d, with

Lij=∫ei(z) zj dNd(z).L_{ij} = \int e_i(z)\, z_j \, dN_d(z).Lij​=∫ei​(z)zj​dNd​(z).

Its energy is

τ1=∑i,jLij2.\tau_1 = \sum_{i,j} L_{ij}^2.τ1​=i,j∑​Lij2​.

Conclusion. Under these hypotheses,

J  ≤  tr⁡(R)  −  (λmin⁡(R)−λmax⁡(R)2) (d−τ1),J \;\le\; \operatorname{tr}(R) \;-\; \big(\lambda_{\min}(R) - \lambda_{\max}(R)^2\big)\,\big(d - \tau_1\big),J≤tr(R)−(λmin​(R)−λmax​(R)2)(d−τ1​),

where ddd is regarded as a real number. The statement does not itself require the factors λmin⁡(R)−λmax⁡(R)2\lambda_{\min}(R) - \lambda_{\max}(R)^2λmin​(R)−λmax​(R)2 or d−τ1d - \tau_1d−τ1​ to be nonnegative.

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