Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2: quantitative identifiability under the behavior policy

Proved
ControlledWorldModels.quantitative_identifiability

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

hermite-expansionidentifiabilityjepalinear-gaussian-dynamicsworld-models

There are universal constants c,C>0c,C>0c,C>0 with the following property. Assume Assumptions 1–3, with ggg invertible and bi-measurable, and γrep(π)>0\gamma_{\rm rep}(\pi)>0γrep​(π)>0, ρtr(π)>0\rho_{\rm tr}(\pi)>0ρtr​(π)>0. Let hhh be a measurable encoder with h(xt)∼N(0,Id)h(x_t)\sim\mathcal N(0,I_d)h(xt​)∼N(0,Id​), and let F∈FF\in\mathcal FF∈F be a continuous predictor; (h,F)(h,F)(h,F) need not minimize Lπ\mathcal L_\piLπ​. Let Δenc=Lπ(h,Fh⋆)−L⋆\Delta_{\rm enc}=\mathcal L_\pi(h,F_h^\star)-\mathcal L^\starΔenc​=Lπ​(h,Fh⋆​)−L⋆ and Δpred=E∥F(h(xt),at)−Fh⋆(h(xt),at)∥2\Delta_{\rm pred}=\mathbb E\|F(h(x_t),a_t)-F_h^\star(h(x_t),a_t)\|^2Δpred​=E∥F(h(xt​),at​)−Fh⋆​(h(xt​),at​)∥2. If Δenc≤c γrep(π)\Delta_{\rm enc}\le c\,\gamma_{\rm rep}(\pi)Δenc​≤cγrep​(π), then there is Q∈O(d)Q\in O(d)Q∈O(d) such that, with η=Δenc/γrep(π)\eta=\Delta_{\rm enc}/\gamma_{\rm rep}(\pi)η=Δenc​/γrep​(π),

E∥h(g(zt))−Qzt∥2≤Cη,\mathbb E\|h(g(z_t))-Qz_t\|^2\le C\eta,E∥h(g(zt​))−Qzt​∥2≤Cη,

and, with εF(z,a)=F(h(g(z)),a)−Q(Az+Ba)\varepsilon_F(z,a)=F(h(g(z)),a)-Q(Az+Ba)εF​(z,a)=F(h(g(z)),a)−Q(Az+Ba),

EPπ∥εF(zt,at)∥2≤C Δpred+C (1+∥A∥op2) η.\mathbb E_{P_\pi}\|\varepsilon_F(z_t,a_t)\|^2\le C\,\Delta_{\rm pred}+C\,(1+\|A\|_{\rm op}^2)\,\eta.EPπ​​∥εF​(zt​,at​)∥2≤CΔpred​+C(1+∥A∥op2​)η.

The representation error degrades as the inverse of the spectral margin, and predictor error enters the transition bound additively.

Formalization Note The constants are quantified before all data, including the dimensions. Errors are valued in [0,∞][0,\infty][0,∞], so Δpred=∞\Delta_{\rm pred}=\inftyΔpred​=∞ is allowed and makes the second bound trivial.

Preamble
import Mathlib
import Definitions.Def_ControlledWorldModels_Basic

open MeasureTheory ProbabilityTheory
Formal statement
namespace ControlledWorldModels

theorem quantitative_identifiability.{u} :
    ∃ c C : ℝ, 0 < c ∧ 0 < C ∧
    ∀ {d m : ℕ} {X : Type u} [MeasurableSpace X] (g : (Fin d → ℝ) ≃ᵐ X)
      (A : Matrix (Fin d) (Fin d) ℝ) (B : Matrix (Fin d) (Fin m) ℝ)
      (μ : Measure ((Fin d → ℝ) × (Fin m → ℝ))) (ν : Measure (Fin d → ℝ)),
      IsJointGaussianPolicy μ → IsStationaryTransition A B μ ν →
      ∀ Fc : Set ((Fin d → ℝ) → (Fin m → ℝ) → Fin d → ℝ), IsRichPredictorClass A B μ ν Fc →
      0 < repMargin A B μ → 0 < transMargin μ →
      ∀ (h : X → Fin d → ℝ) (F : (Fin d → ℝ) → (Fin m → ℝ) → Fin d → ℝ),
      Measurable h → IsAdmissible (h ∘ g) → F ∈ Fc → Continuous (Function.uncurry F) →
      encExcess A B μ ν (h ∘ g) ≤ ENNReal.ofReal (c * repMargin A B μ) →
      ∃ Q : Matrix.orthogonalGroup (Fin d) ℝ,
        ∫⁻ z, ENNReal.ofReal (sqNorm (h (g z) - (Q : Matrix (Fin d) (Fin d) ℝ).mulVec z))
            ∂(stdGauss d) ≤
          ENNReal.ofReal C * (encExcess A B μ ν (h ∘ g) / ENNReal.ofReal (repMargin A B μ)) ∧
        ∫⁻ w, ENNReal.ofReal (sqNorm (F (h (g w.1)) w.2 -
            (Q : Matrix (Fin d) (Fin d) ℝ).mulVec (A.mulVec w.1 + B.mulVec w.2))) ∂μ ≤
          ENNReal.ofReal C * predExcess A B μ ν (h ∘ g) F +
            ENNReal.ofReal (C * (1 + opNorm A ^ 2)) *
              (encExcess A B μ ν (h ∘ g) / ENNReal.ofReal (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), Section 3.3, Theorem 2, eq. (4), pp. 4-5; proof in Appendix B, p. 10
Read-back

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

There exist two real constants c>0c > 0c>0 and C>0C > 0C>0, fixed once and for all, such that the following holds for every choice of the data below. The constants do not depend on ddd, mmm, XXX, ggg, AAA, BBB, μ\muμ, ν\nuν, the predictor class, hhh or FFF.

Data (all universally quantified).

  • Natural numbers ddd (latent dimension) and mmm (action dimension). Both may a priori be 000; see the edge cases below.
  • An arbitrary measurable space XXX (the observation space) and a measurable bijection g:Rd→Xg : \mathbb{R}^d \to Xg:Rd→X whose inverse is also measurable.
  • 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 (law of state–action pairs (z,a)(z,a)(z,a)).
  • A measure ν\nuν on Rd\mathbb{R}^dRd (noise law).

Hypotheses on the system.

  1. Joint Gaussian policy. μ\muμ satisfies three conditions:

    • It is a Gaussian measure: every continuous linear functional pushes it forward to a one-dimensional Gaussian law. Degenerate (zero-variance) Gaussians are allowed, and such a measure is in particular a probability measure.
    • Its mean is 000.
    • Its first marginal (law of zzz) is exactly the standard Gaussian N(0,Id)N(0, I_d)N(0,Id​).

    No condition is placed on the action marginal, on the dependence between zzz and aaa, or on the non-degeneracy of μ\muμ beyond these.

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

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

has law exactly N(0,Id)N(0, I_d)N(0,Id​). The noise ξ\xiξ is independent of (z,a)(z,a)(z,a) by construction of the product. 3. Rich predictor class. A set F\mathcal{F}F of maps F:Rd×Rm→RdF : \mathbb{R}^d \times \mathbb{R}^m \to \mathbb{R}^dF:Rd×Rm→Rd is given, with two properties:

  • Every member is jointly measurable.
  • For every admissible encoder eee (defined below) there is some F∈FF \in \mathcal{F}F∈F with F(e(z),a)=Fe⋆F(e(z), a) = F^\star_eF(e(z),a)=Fe⋆​ almost surely under μ⊗ν\mu\otimes\nuμ⊗ν.

Here Fe⋆F^\star_eFe⋆​ is the conditional expectation of e(z′)e(z')e(z′) given the σ\sigmaσ-algebra generated by (e(z),a)(e(z), a)(e(z),a), under μ⊗ν\mu\otimes\nuμ⊗ν. 4. Positive representation margin. Let R=Cov⁡μ(Az+Ba)R = \operatorname{Cov}_\mu(Az + Ba)R=Covμ​(Az+Ba), the d×dd\times dd×d covariance matrix computed entrywise by integrals against μ\muμ. Define

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

The hypothesis is

γrep:=λmin⁡(R)−λmax⁡(R)2>0.\gamma_{\mathrm{rep}} := \lambda_{\min}(R) - \lambda_{\max}(R)^2 > 0.γrep​:=λmin​(R)−λmax​(R)2>0.
  1. Positive transition margin. Let
Σtr=Eμ[(a−E[a∣z])(a−E[a∣z])⊤]∈Rm×m,\Sigma_{\mathrm{tr}} = \mathbb{E}_\mu\big[(a - \mathbb{E}[a\mid z])(a - \mathbb{E}[a\mid z])^\top\big] \in \mathbb{R}^{m\times m},Σtr​=Eμ​[(a−E[a∣z])(a−E[a∣z])⊤]∈Rm×m,

where E[a∣z]\mathbb{E}[a \mid z]E[a∣z] is the conditional expectation given the σ\sigmaσ-algebra of the first coordinate. The hypothesis is

ρtr:=inf⁡∥y∥2=1y⊤Σtr y>0.\rho_{\mathrm{tr}} := \inf_{\|y\|_2=1} y^\top \Sigma_{\mathrm{tr}}\, y > 0.ρtr​:=∥y∥2​=1inf​y⊤Σtr​y>0.

Hypotheses on the learned encoder and predictor. For all maps h:X→Rdh : X \to \mathbb{R}^dh:X→Rd and F:Rd×Rm→RdF : \mathbb{R}^d\times\mathbb{R}^m \to \mathbb{R}^dF:Rd×Rm→Rd such that:

  • hhh is measurable.
  • e:=h∘ge := h\circ ge:=h∘g is admissible: eee is measurable and pushes N(0,Id)N(0,I_d)N(0,Id​) forward to exactly N(0,Id)N(0,I_d)N(0,Id​).
  • F∈FF \in \mathcal{F}F∈F, and FFF is jointly continuous in (y,a)(y,a)(y,a).
  • The encoder excess risk is small: Δenc≤c γrep\Delta_{\mathrm{enc}} \le c\,\gamma_{\mathrm{rep}}Δenc​≤cγrep​, where
Δenc:=max⁡ ⁣(Eμ⊗ν∥e(z′)−Fe⋆∥22  −  max⁡(d−tr⁡R, 0),  0)∈[0,∞].\Delta_{\mathrm{enc}} := \max\!\Big(\mathbb{E}_{\mu\otimes\nu}\big\|e(z') - F^\star_e\big\|_2^2 \;-\; \max\big(d - \operatorname{tr} R,\, 0\big),\; 0\Big) \in [0,\infty].Δenc​:=max(Eμ⊗ν​​e(z′)−Fe⋆​​22​−max(d−trR,0),0)∈[0,∞].

Both the subtraction and the value d−tr⁡Rd - \operatorname{tr}Rd−trR are truncated at 000. This hypothesis forces Δenc\Delta_{\mathrm{enc}}Δenc​ to be finite.

Conclusion. There exists a single orthogonal matrix Q∈Rd×dQ \in \mathbb{R}^{d\times d}Q∈Rd×d (so Q⊤Q=QQ⊤=IdQ^\top Q = QQ^\top = I_dQ⊤Q=QQ⊤=Id​) satisfying both of the following bounds.

  1. Encoder recovery:
Ez∼N(0,Id)∥h(g(z))−Qz∥22  ≤  C Δencγrep.\mathbb{E}_{z\sim N(0,I_d)}\big\|h(g(z)) - Qz\big\|_2^2 \;\le\; C\,\frac{\Delta_{\mathrm{enc}}}{\gamma_{\mathrm{rep}}}.Ez∼N(0,Id​)​​h(g(z))−Qz​22​≤Cγrep​Δenc​​.
  1. Predictor recovery:
E(z,a)∼μ∥F(h(g(z)),a)−Q(Az+Ba)∥22  ≤  C Δpred  +  C (1+∥A∥op2) Δencγrep.\mathbb{E}_{(z,a)\sim\mu}\big\|F(h(g(z)), a) - Q(Az + Ba)\big\|_2^2 \;\le\; C\,\Delta_{\mathrm{pred}} \;+\; C\,(1 + \|A\|_{\mathrm{op}}^2)\,\frac{\Delta_{\mathrm{enc}}}{\gamma_{\mathrm{rep}}}.E(z,a)∼μ​​F(h(g(z)),a)−Q(Az+Ba)​22​≤CΔpred​+C(1+∥A∥op2​)γrep​Δenc​​.

In the second bound:

  • Δpred:=Eμ⊗ν∥F(e(z),a)−Fe⋆∥22∈[0,∞]\Delta_{\mathrm{pred}} := \mathbb{E}_{\mu\otimes\nu}\|F(e(z),a) - F^\star_e\|_2^2 \in [0,\infty]Δpred​:=Eμ⊗ν​∥F(e(z),a)−Fe⋆​∥22​∈[0,∞]. It may be +∞+\infty+∞, in which case this bound holds trivially.
  • ∥A∥op=sup⁡∥x∥2≤1∥Ax∥2\|A\|_{\mathrm{op}} = \sup_{\|x\|_2\le 1}\|Ax\|_2∥A∥op​=sup∥x∥2​≤1​∥Ax∥2​.

All expectations are integrals of nonnegative quantities valued in [0,∞][0,\infty][0,∞]. In particular, if Δenc=0\Delta_{\mathrm{enc}} = 0Δenc​=0, the first bound forces h(g(z))=Qzh(g(z)) = Qzh(g(z))=Qz for almost every zzz.

Edge cases.

  • d=0d = 0d=0: the unit sphere in R0\mathbb{R}^0R0 is empty, so the infimum and supremum defining λmin⁡(R)\lambda_{\min}(R)λmin​(R) and λmax⁡(R)\lambda_{\max}(R)λmax​(R) are both conventionally 000. Then γrep=0\gamma_{\mathrm{rep}} = 0γrep​=0 and the statement is vacuous.
  • m=0m = 0m=0: by the same convention ρtr=0\rho_{\mathrm{tr}} = 0ρtr​=0, so the statement is also vacuous whenever there are no action coordinates.
  • Role of the transition margin: ρtr>0\rho_{\mathrm{tr}} > 0ρtr​>0 enters only as a hypothesis and does not appear in either bound.
  • Role of richness: the richness of F\mathcal{F}F is assumed, but the conclusion concerns only the particular FFF chosen.
  • Form of the predictor target: the predictor target is Q(Az+Ba)Q(Az+Ba)Q(Az+Ba), evaluated against FFF at the encoded state h(g(z))h(g(z))h(g(z)) rather than at QzQzQz.
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