Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1: identifiability of state and controlled transition

Proved
ControlledWorldModels.identifiability_state_transition

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

hermite-expansionidentifiabilityjepalinear-gaussian-dynamicsworld-models

Assume Assumptions 1–2. Let g:Rd→Xg:\mathbb{R}^d\to\mathcal Xg:Rd→X be an invertible observation map, measurable with measurable inverse. Let F\mathcal FF be a class of measurable predictors that realises the optimal conditional-mean predictor Fh⋆F_h^\starFh⋆​ of every admissible encoder (Assumption 3). Minimize Lπ(h,F)\mathcal L_\pi(h,F)Lπ​(h,F) over measurable encoders h:X→Rdh:\mathcal X\to\mathbb{R}^dh:X→Rd with h(xt)∼N(0,Id)h(x_t)\sim\mathcal N(0,I_d)h(xt​)∼N(0,Id​) and over F∈FF\in\mathcal FF∈F. Suppose

γrep(π)=λmin⁡(Rπ)−λmax⁡(Rπ)2>0andρtr(π)=λmin⁡(Σtr(π))>0.\gamma_{\rm rep}(\pi)=\lambda_{\min}(R_\pi)-\lambda_{\max}(R_\pi)^2>0\qquad\text{and}\qquad\rho_{\rm tr}(\pi)=\lambda_{\min}(\Sigma_{\rm tr}(\pi))>0.γrep​(π)=λmin​(Rπ​)−λmax​(Rπ​)2>0andρtr​(π)=λmin​(Σtr​(π))>0.
  1. Let (h,F)(h,F)(h,F) be a global minimizer whose predictor FFF is continuous. Then there is Q∈O(d)Q\in O(d)Q∈O(d) such that h(g(zt))=Qzth(g(z_t))=Qz_th(g(zt​))=Qzt​ almost surely, F(h(g(zt)),at)=Q(Azt+Bat)F(h(g(z_t)),a_t)=Q(Az_t+Ba_t)F(h(g(zt​)),at​)=Q(Azt​+Bat​) almost surely, and
F(y,a)=QAQ⊤y+QBafor every (y,a)∈Rd×Rm.F(y,a)=QAQ^\top y+QBa\qquad\text{for every }(y,a)\in\mathbb{R}^d\times\mathbb{R}^m.F(y,a)=QAQ⊤y+QBafor every (y,a)∈Rd×Rm.
  1. The objective is at least d−tr⁡(Rπ)d-\operatorname{tr}(R_\pi)d−tr(Rπ​) for every admissible encoder and every F∈FF\in\mathcal FF∈F, and tr⁡Cov⁡(ξt)=d−tr⁡(Rπ)\operatorname{tr}\operatorname{Cov}(\xi_t)=d-\operatorname{tr}(R_\pi)trCov(ξt​)=d−tr(Rπ​).
  2. Conversely, for every Q∈O(d)Q\in O(d)Q∈O(d), the encoder hQ=Q g−1h_Q=Q\,g^{-1}hQ​=Qg−1 is admissible, and with the predictor FQ(y,a)=QAQ⊤y+QBaF_Q(y,a)=QAQ^\top y+QBaFQ​(y,a)=QAQ⊤y+QBa it attains Lπ(hQ,FQ)=d−tr⁡(Rπ)\mathcal L_\pi(h_Q,F_Q)=d-\operatorname{tr}(R_\pi)Lπ​(hQ​,FQ​)=d−tr(Rπ​).

Every global minimizer of the action-conditioned predictive objective therefore recovers the latent state and the controlled conditional-mean dynamics up to one common orthogonal transformation.

Formalization Note Assumption 3's sentence "the learned predictor is continuous" is read as continuity of the minimizing predictor FFF, not of every member of F\mathcal FF. A class consisting only of continuous predictors cannot realise every Fh⋆F_h^\starFh⋆​ (see the mission report), so that reading would make the theorem vacuous. The minimum value is stated as a lower bound attained by (hQ,FQ)(h_Q,F_Q)(hQ​,FQ​); FQF_QFQ​ need not belong to F\mathcal FF.

Preamble
import Mathlib
import Definitions.Def_ControlledWorldModels_Basic

open MeasureTheory ProbabilityTheory
Formal statement
namespace ControlledWorldModels

theorem identifiability_state_transition {X : Type*} [MeasurableSpace X] {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 μ ν)
    (g : (Fin d → ℝ) ≃ᵐ X)
    (Fc : Set ((Fin d → ℝ) → (Fin m → ℝ) → Fin d → ℝ)) (hFc : IsRichPredictorClass A B μ ν Fc)
    (hrep : 0 < repMargin A B μ) (hexc : 0 < transMargin μ) :
    (∀ (h : X → Fin d → ℝ) (F : (Fin d → ℝ) → (Fin m → ℝ) → Fin d → ℝ),
      Measurable h → IsAdmissible (h ∘ g) → F ∈ Fc →
      (∀ (h' : X → Fin d → ℝ) (F' : (Fin d → ℝ) → (Fin m → ℝ) → Fin d → ℝ),
        Measurable h' → IsAdmissible (h' ∘ g) → F' ∈ Fc →
        loss A B μ ν (h ∘ g) F ≤ loss A B μ ν (h' ∘ g) F') →
      Continuous (Function.uncurry F) →
      ∃ Q : Matrix.orthogonalGroup (Fin d) ℝ,
        (∀ᵐ z ∂(stdGauss d), h (g z) = (Q : Matrix (Fin d) (Fin d) ℝ).mulVec z) ∧
        (∀ᵐ w ∂μ, F (h (g w.1)) w.2 =
          (Q : Matrix (Fin d) (Fin d) ℝ).mulVec (A.mulVec w.1 + B.mulVec w.2)) ∧
        (∀ (y : Fin d → ℝ) (a : Fin m → ℝ), F y a = trueMean A B (Q : Matrix (Fin d) (Fin d) ℝ) y a)) ∧
    (∀ (h' : X → Fin d → ℝ) (F' : (Fin d → ℝ) → (Fin m → ℝ) → Fin d → ℝ),
      Measurable h' → IsAdmissible (h' ∘ g) → F' ∈ Fc →
      ENNReal.ofReal (optValue A B μ) ≤ loss A B μ ν (h' ∘ g) F') ∧
    (covMat ν (fun x => x)).trace = optValue A B μ ∧
    (∀ Q : Matrix.orthogonalGroup (Fin d) ℝ,
      Measurable (fun x => (Q : Matrix (Fin d) (Fin d) ℝ).mulVec (g.symm x)) ∧
      IsAdmissible ((fun x => (Q : Matrix (Fin d) (Fin d) ℝ).mulVec (g.symm x)) ∘ g) ∧
      loss A B μ ν ((fun x => (Q : Matrix (Fin d) (Fin d) ℝ).mulVec (g.symm x)) ∘ g)
        (trueMean A B (Q : Matrix (Fin d) (Fin d) ℝ)) = ENNReal.ofReal (optValue 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), Section 3.2, Theorem 1, eqs. (1)-(3), p. 4; Assumptions 1-3, pp. 3-4; proof in Appendix A, p. 9
Read-back

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

Setting. Fix natural numbers ddd and mmm, a measurable space XXX, 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 whose points are written (z,a)(z,a)(z,a), and a measure ν\nuν on Rd\mathbb{R}^dRd whose points are written ξ\xiξ. Write Nk=N(0,Ik)N_k = N(0, I_k)Nk​=N(0,Ik​) for the standard Gaussian product measure on Rk\mathbb{R}^kRk, and ∥v∥2=∑ivi2\|v\|^2 = \sum_i v_i^2∥v∥2=∑i​vi2​. A sample is a triple ω=((z,a),ξ)\omega = ((z,a),\xi)ω=((z,a),ξ) drawn from the product measure μ⊗ν\mu \otimes \nuμ⊗ν. Its next state is

z+=Az+Ba+ξ.z^+ = Az + Ba + \xi.z+=Az+Ba+ξ.

Hypotheses.

  1. Policy law. μ\muμ is a Gaussian probability measure: every continuous linear functional has a real Gaussian law, possibly degenerate. Its (Bochner) mean 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. Transition. ν\nuν is a Gaussian probability measure with mean 000. The law of Az+Ba+ξAz + Ba + \xiAz+Ba+ξ under μ⊗ν\mu \otimes \nuμ⊗ν is exactly NdN_dNd​. The covariance of ν\nuν is not otherwise constrained.

  3. Observation map. g:Rd→Xg : \mathbb{R}^d \to Xg:Rd→X is a measurable bijection with measurable inverse g−1g^{-1}g−1.

  4. Encoders. Call e:Rd→Rde : \mathbb{R}^d \to \mathbb{R}^de:Rd→Rd admissible if eee is measurable and the pushforward of NdN_dNd​ under eee is again NdN_dNd​.

  5. Predictor class. F\mathcal{F}F is a set of functions F:Rd×Rm→RdF : \mathbb{R}^d \times \mathbb{R}^m \to \mathbb{R}^dF:Rd×Rm→Rd such that:

    • every F∈FF \in \mathcal{F}F∈F is jointly measurable;
    • for every admissible eee, some F∈FF \in \mathcal{F}F∈F satisfies, for (μ⊗ν)(\mu\otimes\nu)(μ⊗ν)-almost every sample,
F(e(z),a)=Eμ⊗ν ⁣[ e(z+)  |  σ(e(z),a)].F(e(z), a) = \mathbb{E}_{\mu\otimes\nu}\!\left[\, e(z^+) \;\middle|\; \sigma(e(z), a)\right].F(e(z),a)=Eμ⊗ν​[e(z+)​σ(e(z),a)].

This is the conditional expectation of e(z+)e(z^+)e(z+) given the σ-algebra generated by the pair (e(z),a)(e(z), a)(e(z),a). By convention it is set to 000 when e(z+)e(z^+)e(z+) is not integrable.

  1. Representation margin. Let R=Covμ(Az+Ba)R = \mathrm{Cov}_\mu(Az + Ba)R=Covμ​(Az+Ba), computed entrywise by Bochner integrals. For a square matrix MMM, define λmax⁡(M)\lambda_{\max}(M)λmax​(M) and λmin⁡(M)\lambda_{\min}(M)λmin​(M) as the supremum and infimum of x⊤Mxx^\top M xx⊤Mx over unit vectors ∥x∥2=1\|x\|^2 = 1∥x∥2=1. The supremum or infimum of an empty set is taken to be 000. The hypothesis is
λmin⁡(R)−λmax⁡(R)2>0.\lambda_{\min}(R) - \lambda_{\max}(R)^2 > 0.λmin​(R)−λmax​(R)2>0.

When d=0d = 0d=0 the unit sphere is empty, so this quantity is 000 and the hypothesis cannot hold.

  1. Transition margin. Let
Σ=Eμ ⁣[(a−Eμ[a∣σ(z)])(a−Eμ[a∣σ(z)])⊤]∈Rm×m.\Sigma = \mathbb{E}_\mu\!\left[(a - \mathbb{E}_\mu[a \mid \sigma(z)])(a - \mathbb{E}_\mu[a \mid \sigma(z)])^\top\right] \in \mathbb{R}^{m\times m}.Σ=Eμ​[(a−Eμ​[a∣σ(z)])(a−Eμ​[a∣σ(z)])⊤]∈Rm×m.

The hypothesis is λmin⁡(Σ)>0\lambda_{\min}(\Sigma) > 0λmin​(Σ)>0, with the same convention as above. When m=0m = 0m=0 this quantity is 000 and the hypothesis cannot hold.

Loss and reference quantities. For an encoder eee and a predictor FFF, the loss is the extended-real value in [0,∞][0,\infty][0,∞]

L(e,F)=∫∥e(z+)−F(e(z),a)∥2 d(μ⊗ν).\mathcal{L}(e,F) = \int \|e(z^+) - F(e(z), a)\|^2 \, d(\mu\otimes\nu).L(e,F)=∫∥e(z+)−F(e(z),a)∥2d(μ⊗ν).

Encoders h:X→Rdh : X \to \mathbb{R}^dh:X→Rd enter only through the composite h∘gh \circ gh∘g, which acts on latent states.

Set the real number L⋆=d−tr⁡(R)L^\star = d - \operatorname{tr}(R)L⋆=d−tr(R), and write L+⋆=max⁡(L⋆,0)L^\star_+ = \max(L^\star, 0)L+⋆​=max(L⋆,0) for its value as an extended real.

For a d×dd\times dd×d matrix QQQ, define FQ⋆F^\star_QFQ⋆​ by

FQ⋆(y,a)=QAQ⊤y+QBa.F^\star_Q(y,a) = QAQ^\top y + QBa.FQ⋆​(y,a)=QAQ⊤y+QBa.

Conclusions. Under these hypotheses, all four of the following hold.

(i) Characterisation of minimisers. Take any h:X→Rdh : X \to \mathbb{R}^dh:X→Rd and any FFF satisfying all of the following:

  • hhh is measurable;
  • h∘gh\circ gh∘g is admissible;
  • F∈FF \in \mathcal{F}F∈F;
  • L(h∘g,F)≤L(h′∘g,F′)\mathcal{L}(h\circ g, F) \le \mathcal{L}(h'\circ g, F')L(h∘g,F)≤L(h′∘g,F′) for every measurable h′:X→Rdh' : X \to \mathbb{R}^dh′:X→Rd with h′∘gh'\circ gh′∘g admissible and every F′∈FF' \in \mathcal{F}F′∈F;
  • FFF is jointly continuous on Rd×Rm\mathbb{R}^d \times \mathbb{R}^mRd×Rm.

Then there is an orthogonal matrix QQQ (so Q⊤Q=QQ⊤=IdQ^\top Q = QQ^\top = I_dQ⊤Q=QQ⊤=Id​) such that:

  • h(g(z))=Qzh(g(z)) = Qzh(g(z))=Qz for NdN_dNd​-almost every zzz;
  • F(h(g(z)),a)=Q(Az+Ba)F(h(g(z)), a) = Q(Az + Ba)F(h(g(z)),a)=Q(Az+Ba) for μ\muμ-almost every (z,a)(z,a)(z,a);
  • F(y,a)=FQ⋆(y,a)=QAQ⊤y+QBaF(y,a) = F^\star_Q(y,a) = QAQ^\top y + QBaF(y,a)=FQ⋆​(y,a)=QAQ⊤y+QBa for every y∈Rdy \in \mathbb{R}^dy∈Rd and a∈Rma \in \mathbb{R}^ma∈Rm.

(ii) Lower bound. For every measurable h′h'h′ with h′∘gh'\circ gh′∘g admissible and every F′∈FF' \in \mathcal{F}F′∈F,

L+⋆≤L(h′∘g,F′).L^\star_+ \le \mathcal{L}(h'\circ g, F').L+⋆​≤L(h′∘g,F′).

(iii) Noise trace. The trace of the covariance matrix of ν\nuν, computed by Bochner integrals, equals L⋆L^\starL⋆:

tr⁡Covν(ξ)=d−tr⁡(R).\operatorname{tr}\mathrm{Cov}_\nu(\xi) = d - \operatorname{tr}(R).trCovν​(ξ)=d−tr(R).

(iv) Attainment by every orthogonal matrix. For every orthogonal QQQ:

  • the map x↦Q g−1(x)x \mapsto Q\,g^{-1}(x)x↦Qg−1(x) on XXX is measurable;
  • the induced latent encoder z↦Qzz \mapsto Qzz↦Qz is admissible;
  • the loss of this encoder paired with FQ⋆F^\star_QFQ⋆​ is exactly L+⋆L^\star_+L+⋆​:
L(z↦Qz,  FQ⋆)=L+⋆.\mathcal{L}(z\mapsto Qz,\; F^\star_Q) = L^\star_+.L(z↦Qz,FQ⋆​)=L+⋆​.

Clause (iv) does not assert that FQ⋆F^\star_QFQ⋆​ belongs to F\mathcal{F}F.

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