Lemma 3 (as proved, with C = 1): approximate predictable-energy gap
ProvedControlledWorldModels.approx_predictable_energy_gapAssume Assumptions 1–2 and . Let be an admissible encoder. Write , where is the linear Hermite component under , and let . If and with , then
A small encoder excess risk thus forces small energy outside the linear Hermite component.
Formalization Note The paper states with an unspecified constant . Its proof ends with , i.e. , which is the statement formalized. The paper's symbol for the nonlinear part is written here to avoid a clash with the observation map.
import Mathlib import Definitions.Def_ControlledWorldModels_Basic open MeasureTheory ProbabilityTheory
namespace ControlledWorldModels
theorem approx_predictable_energy_gap {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) (hrep : 0 < repMargin A B μ)
(Δ : ℝ) (hΔ0 : 0 ≤ Δ)
(hΔ : condLoss A B μ ν e ≤ ENNReal.ofReal (optValue A B μ) + ENNReal.ofReal Δ) :
nonlinEnergy e ≤ ENNReal.ofReal (Δ / repMargin A B μ) := by sorry
end ControlledWorldModelsRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix natural numbers (state dimension) and (action dimension). Either may be , though is excluded in effect; see the margin hypothesis below. The data are:
- real matrices and ;
- a measure on , the joint law of state and action ;
- a measure on , the noise law of ;
- a function , the encoder;
- a real number .
A sample is drawn from the product measure . Its next state is
denotes the product of independent standard real Gaussians, and .
Hypotheses. The theorem assumes all of the following.
-
Gaussian policy. is a Gaussian (probability) measure on , its mean vector is , and its first marginal (the law of ) is exactly . Nothing further is assumed about the action marginal, the state–action dependence, or non-degeneracy.
-
Stationary transition. is a Gaussian (probability) measure on with mean . Its covariance is not specified. The pushforward of under equals .
-
Admissible encoder. is measurable, and if then .
-
Positive representation margin. Let be the covariance matrix, under , of the vector , with entries
Define
-
,
-
,
-
.
The hypothesis is . When the unit sphere is empty, both quantities default to , so and the hypothesis cannot hold.
-
Sign of . .
-
Near-optimal loss. Let be the conditional expectation, under , of given the σ-algebra generated by the pair . This is defined up to null sets and would default to if were not integrable. Define the conditional loss
The hypothesis is
compared in . The quantity is replaced by if it is negative.
Conclusion. Let have entries
Each entry is taken as if the integrand is not integrable. Then the theorem asserts
The left side is a value in . The right side is a nonnegative real number, since and . In particular the left side is asserted to be finite.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.