Action-conditioned co-occurrence model, JEPA and spectral JEPA risks, planning regret and finite-sample objects
DefinitionJEPAGeneralization_BasicObjects of Section 3 and Appendix A.1 of Cui, Zhang, Wen, Cheng and Wang (2026).
- Observations, actions, embeddings. The observation space is a finite set and is a set of actions. An encoder is a map and a predictor is a map . We write and .
- Co-occurrence model (Section 3.1). For each action , is the joint law of a current observation and the next observation . Hence for every , with . The second marginal is and the transition probability is . Both marginals are required to be positive.
- Co-occurrence matrices. , and with and , that is . Its singular values are , the square roots of the eigenvalues of , counted with multiplicity.
- Risks (eq. 3 and Theorem 3.1). The JEPA risk is
With and (two matrices), the spectral JEPA risk is . The pair is normalized at if for all . The spectral loss is with , and an independent . 5. Single-step planning (Sections 3.2–3.3, ). The planning loss is , the value is and the regret is . For a law of and an action rule , and . 6. Finite-sample objects (Appendix A.1). For a dataset (probability ), is the empirical JEPA risk of Definition A.1, with the uniform law on the dataset and the uniform law on ordered pairs , . For , Definition A.3 draws a uniform permutation and sets , and . The tuple risk is . Unconditionally the tuples are i.i.d. with law . 7. Rademacher complexities (Theorem 4.4). For a class of real functions on , the worst-case Rademacher complexity is , with i.i.d. uniform signs. is its maximum over coordinates of the classes , and is its maximum over coordinates of the classes .
Formalization Note The singular values are the square roots of the roots of the characteristic polynomial of , sorted in decreasing order and zero-indexed, so the Lean singVal i is . All expectations over finite sets are written as exact finite sums. The paper does not specify the law of , so it is a parameter . Suprema over a class use Lean's real supremum; every class used is nonempty and bounded.
import Mathlib
/-!
Cui, Zhang, Wen, Cheng and Wang, *A Generalization Theory for JEPA-Based World Models*,
arXiv:2606.27014v2 (2026): the action-conditioned co-occurrence model, the JEPA and spectral
JEPA risks, single-step planning and regret, the singular values of the normalized co-occurrence
matrix, and the finite-sample objects (sampled tuples, empirical risks, Rademacher complexities)
of Section 3 and Appendix A.1.
The observation space is a finite type `X` (the paper indexes the co-occurrence matrix by
observations and writes all expectations as finite sums), latent embeddings are vectors
`Fin k → ℝ`, an encoder is `f : X → Fin k → ℝ` and a predictor is
`g : (Fin k → ℝ) → A → Fin k → ℝ`.
-/
noncomputable section
namespace JEPAGeneralization
variable {X A : Type*} [Fintype X] {k : ℕ}
/-- Euclidean inner product `uᵀv` of two latent vectors in `ℝ^k`. -/
def dot (u v : Fin k → ℝ) : ℝ := ∑ i, u i * v i
/-- Squared Euclidean norm `‖v‖²` of a latent vector in `ℝ^k`. -/
def sqNorm (v : Fin k → ℝ) : ℝ := ∑ i, v i ^ 2
/-- Section 3.1, p. 4: `w(x, x⁺, a) = P(x, x⁺ | a) ≥ 0` is the joint law of a current and a next
observation given the action `a`, with `x ∼ P_X` for every action, so that the first marginal
`w(x) = ∑_{x⁺} w(x, x⁺, a)` equals `P_X(x)` and does not depend on `a`. The normalization
`D^{-1/2} M(a) D_+(a)^{-1/2}` requires the marginals `w(x)` and `w(x⁺ | a)` to be positive;
this is written in. -/
def IsCoOccurrence (pX : X → ℝ) (w : X → X → A → ℝ) : Prop :=
(∀ x x' a, 0 ≤ w x x' a) ∧ (∑ x, pX x = 1) ∧ (∀ x, 0 < pX x) ∧
(∀ x a, ∑ x', w x x' a = pX x) ∧ (∀ x' a, 0 < ∑ x, w x x' a)
/-- Section 3.1, p. 4: the second marginal `w(x⁺ | a) = ∑_x w(x, x⁺, a) = P_{X|a}(x⁺)`. -/
def nextMarg (w : X → X → A → ℝ) (a : A) (x' : X) : ℝ := ∑ x, w x x' a
/-- Section 3.1–3.3: the transition probability `P(x⁺ | x, a) = w(x, x⁺, a) / w(x)`. -/
def transProb (pX : X → ℝ) (w : X → X → A → ℝ) (a : A) (x x' : X) : ℝ := w x x' a / pX x
/-- Section 3.1, eq. (5), p. 4: the conditional co-occurrence matrix
`M(a) = (w(x, x⁺, a))_{x, x⁺}`. -/
def coOccMat (w : X → X → A → ℝ) (a : A) : Matrix X X ℝ := fun x x' => w x x' a
/-- Section 3.1, p. 4: the normalized co-occurrence matrix `M̄(a) = D^{-1/2} M(a) D_+(a)^{-1/2}`
with `D = diag(w(x))` and `D_+(a) = diag(w(x⁺ | a))`, written entrywise as
`w(x, x⁺, a) / √(w(x) w(x⁺ | a))`. -/
def normCoOcc (pX : X → ℝ) (w : X → X → A → ℝ) (a : A) : Matrix X X ℝ :=
fun x x' => coOccMat w a x x' / Real.sqrt (pX x * nextMarg w a x')
/-- Section 3.1, eq. (3), p. 3: the population JEPA risk
`R_JEPA(f, g, a) = E_{x∼P_X} E_{x⁺∼P(·|x,a)} ‖g(f(x), a) − f(x⁺)‖²
+ E_{x∼P_X, x'∼P_{X|a}} [g(f(x), a)ᵀ f(x')]²`, written as finite sums. -/
def jepaRisk (pX : X → ℝ) (w : X → X → A → ℝ) (f : X → Fin k → ℝ)
(g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A) : ℝ :=
(∑ x, ∑ x', w x x' a * sqNorm (g (f x) a - f x')) +
∑ x, ∑ x', pX x * nextMarg w a x' * dot (g (f x) a) (f x') ^ 2
/-- Theorem 3.1, p. 4: the `k × |X|` matrix `F = [√(w(x | a)) f(x)]_{x ∈ X}`. -/
def encMat (w : X → X → A → ℝ) (f : X → Fin k → ℝ) (a : A) : Matrix (Fin k) X ℝ :=
fun i x => Real.sqrt (nextMarg w a x) * f x i
/-- Theorem 3.1, p. 4: the `k × |X|` matrix `G(F, a) = [√(w(x)) g(f(x), a)]_{x ∈ X}`. -/
def predMat (pX : X → ℝ) (f : X → Fin k → ℝ) (g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A) :
Matrix (Fin k) X ℝ :=
fun i x => Real.sqrt (pX x) * g (f x) a i
/-- The squared Frobenius norm `‖B‖_F² = ∑_{x, x'} B_{x x'}²` of a real `X × X` matrix. -/
def frobSq (B : Matrix X X ℝ) : ℝ := ∑ x, ∑ x', B x x' ^ 2
/-- Section 3.1, p. 4 (after Theorem 3.1): the spectral JEPA (matrix factorization) risk
`R_{S-JEPA}(f, g, a) = ‖M̄(a) − G(F, a)ᵀ F‖_F²`. -/
def sJepaRisk (pX : X → ℝ) (w : X → X → A → ℝ) (f : X → Fin k → ℝ)
(g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A) : ℝ :=
frobSq (normCoOcc pX w a - (predMat pX f g a).transpose * encMat w f a)
/-- Theorem 3.1, p. 4: the embeddings `f(x)` and `g(f(x), a)` are normalized,
`‖f(x)‖ = ‖g(f(x), a)‖ = 1` for every observation `x`. -/
def IsNormalized (f : X → Fin k → ℝ) (g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A) : Prop :=
∀ x, sqNorm (f x) = 1 ∧ sqNorm (g (f x) a) = 1
/-- The squared singular values `σ₁(a)² ≥ σ₂(a)² ≥ …` of `M̄(a)` with multiplicity: the
eigenvalues of `M̄(a)ᵀ M̄(a)`, i.e. the roots of its characteristic polynomial, sorted in
decreasing order (a list of length `|X|`). -/
def sqSingVals [DecidableEq X] (pX : X → ℝ) (w : X → X → A → ℝ) (a : A) : List ℝ :=
((normCoOcc pX w a).transpose * normCoOcc pX w a).charpoly.roots.sort (· ≥ ·)
/-- Theorem 4.3, p. 6: the singular values of `M̄(a)` in decreasing order, zero-indexed:
`singVal pX w a i = σ_{i+1}(a)` for `i < |X|` (and `0` for `i ≥ |X|`, never used). -/
def singVal [DecidableEq X] (pX : X → ℝ) (w : X → X → A → ℝ) (a : A) (i : ℕ) : ℝ :=
Real.sqrt ((sqSingVals pX w a).getD i 0)
/-- Section 3.2, eq. (8), p. 4, for `T = 1`: the planning loss
`L_plan(a; f, g, x₀, x_g) = ‖g(f(x₀), a) − f(x_g)‖²`. -/
def planLoss1 (f : X → Fin k → ℝ) (g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A) (x0 xg : X) : ℝ :=
sqNorm (g (f x0) a - f xg)
/-- Section 3.3, eq. (10), p. 5, for `T = 1`: the value
`V(a) = P(x̂₁ = x_g | x₀, a) = w(x₀, x_g, a) / w(x₀)` of action `a` from `x₀` to the goal `x_g`. -/
def value1 (pX : X → ℝ) (w : X → X → A → ℝ) (a : A) (x0 xg : X) : ℝ := w x0 xg a / pX x0
/-- Section 3.3, eq. (11), p. 5, for `T = 1`: the pointwise regret
`r(a; x₀, x_g) = V(a**) − V(a)` with `V(a**) = max_{a'} V(a')`. -/
def regret1 (pX : X → ℝ) (w : X → X → A → ℝ) (a : A) (x0 xg : X) : ℝ :=
(⨆ a' : A, value1 pX w a' x0 xg) - value1 pX w a x0 xg
/-- A probability law `ρ` of the pair `(x₀, x_g)` of initial and goal observations, with respect
to which `E_{x₀, x_g}` is taken in Section 3.3 (the paper does not specify it). -/
def IsPairDist (ρ : X → X → ℝ) : Prop :=
(∀ x0 xg, 0 ≤ ρ x0 xg) ∧ ∑ x0, ∑ xg, ρ x0 xg = 1
/-- Section 3.3, eq. (12), p. 5, for `T = 1`: the expected planning regret
`E(ã) = E_{x₀, x_g} r(ã(x₀, x_g); x₀, x_g)` of an action rule `ã`, which may depend on
`(x₀, x_g)`. -/
def expRegret1 (pX : X → ℝ) (w : X → X → A → ℝ) (ρ : X → X → ℝ) (act : X → X → A) : ℝ :=
∑ x0, ∑ xg, ρ x0 xg * regret1 pX w (act x0 xg) x0 xg
/-- Theorem 4.1, p. 5: the constant `c₀ = E_{x₀, x_g} √(max_a w(x_g | a) / w(x₀))`. -/
def cZero (pX : X → ℝ) (w : X → X → A → ℝ) (ρ : X → X → ℝ) : ℝ :=
∑ x0, ∑ xg, ρ x0 xg * Real.sqrt ((⨆ a : A, nextMarg w a xg) / pX x0)
/-- Proof of Theorem 4.4, p. 15: the population spectral loss
`E[(g(f(z), a)ᵀ f(z'))² − 2 g(f(z), a)ᵀ f(z⁺)]` with `z ∼ P_X`, `z⁺ ∼ P(·|z, a)` and
`z' ∼ P_{X|a}` independent of `(z, z⁺)`; the quantity `R(f, g, a)` of Lemma A.2. -/
def spectralLoss (pX : X → ℝ) (w : X → X → A → ℝ) (f : X → Fin k → ℝ)
(g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A) : ℝ :=
(∑ x, ∑ x', pX x * nextMarg w a x' * dot (g (f x) a) (f x') ^ 2) -
2 * ∑ x, ∑ x', w x x' a * dot (g (f x) a) (f x')
/-- Definition A.1, eq. (26), p. 12: the empirical JEPA risk of a dataset `x₁, …, xₙ`,
`R̂ₙ(f, g, a) = −2 E_{x∼P̂_X, x⁺∼P(·|x,a)} [g(f(x), a)ᵀ f(x⁺)]
+ E_{(x, x⁻)∼P̂_{x,x⁻}, x'∼P(·|x⁻,a)} [g(f(x), a)ᵀ f(x')]²`, where `P̂_X` is uniform on the
dataset and `P̂_{x,x⁻}` is uniform on the ordered pairs `(xᵢ, xⱼ)`, `i ≠ j`. The expectations over
`x⁺` and `x'` are exact sums against the transition probabilities. -/
def empRiskN (pX : X → ℝ) (w : X → X → A → ℝ) (f : X → Fin k → ℝ)
(g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A) {n : ℕ} (D : Fin n → X) : ℝ :=
-2 * ((1 / (n : ℝ)) * ∑ i, ∑ x', transProb pX w a (D i) x' * dot (g (f (D i)) a) (f x')) +
(1 / ((n : ℝ) * ((n : ℝ) - 1))) * ∑ i, ∑ j,
(if i = j then 0 else
∑ x', transProb pX w a (D j) x' * dot (g (f (D i)) a) (f x') ^ 2)
/-- Definition A.1, p. 12: the probability `∏ᵢ P_X(xᵢ)` of a dataset `x₁, …, xₙ` drawn i.i.d.
from `P_X`. -/
def datasetProb (pX : X → ℝ) {n : ℕ} (D : Fin n → X) : ℝ := ∏ i, pX (D i)
/-- Definition A.3, eq. (29), p. 12: the tuple loss
`(g(f(z), a)ᵀ f(z'))² − 2 g(f(z), a)ᵀ f(z⁺)` of a tuple `t = (z, z⁺, z')`. -/
def tupleLoss (f : X → Fin k → ℝ) (g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A)
(t : X × X × X) : ℝ :=
dot (g (f t.1) a) (f t.2.2) ^ 2 - 2 * dot (g (f t.1) a) (f t.2.1)
/-- Definition A.3, eq. (29), p. 12: the tuple risk
`R̂_S(f, g, a) = (1/m) ∑_{i=1}^m [(g(f(zᵢ), a)ᵀ f(zᵢ'))² − 2 g(f(zᵢ), a)ᵀ f(zᵢ⁺)]` of
`S = ((zᵢ, zᵢ⁺, zᵢ'))_{i ≤ m}`, `m = n/2`. -/
def empRiskS (f : X → Fin k → ℝ) (g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A) {m : ℕ}
(S : Fin m → X × X × X) : ℝ :=
(1 / (m : ℝ)) * ∑ i, tupleLoss f g a (S i)
/-- Definition A.3, eq. (28), p. 12: the indices `(π(2i−1), π(2i))` (zero-indexed:
`(π(2i), π(2i+1))`) of the `i`-th pair of the permuted dataset, `i < m`, `n = 2m`. -/
def pairIdx {m : ℕ} (π : Equiv.Perm (Fin (2 * m))) (i : Fin m) : Fin (2 * m) × Fin (2 * m) :=
(π ⟨2 * i.val, by have := i.isLt; omega⟩, π ⟨2 * i.val + 1, by have := i.isLt; omega⟩)
/-- Lemma A.4, eq. (30), p. 12: `E_S R̂_S(f, g, a)` given the dataset `x₁, …, x_{2m}`, for the
sampling of Definition A.3: a uniform permutation `π` of the indices, `zᵢ = x_{π(2i−1)}`,
`zᵢ⁺ ∼ P(·|zᵢ, a)` and `zᵢ' ∼ P(·|x_{π(2i)}, a)`, all draws independent given `π`. -/
def expEmpRiskS (pX : X → ℝ) (w : X → X → A → ℝ) (f : X → Fin k → ℝ)
(g : (Fin k → ℝ) → A → Fin k → ℝ) (a : A) {m : ℕ} (D : Fin (2 * m) → X) : ℝ :=
(1 / ((Nat.factorial (2 * m) : ℕ) : ℝ)) * ∑ π : Equiv.Perm (Fin (2 * m)),
∑ zp : Fin m → X, ∑ zq : Fin m → X,
(∏ i, transProb pX w a (D (pairIdx π i).1) (zp i) *
transProb pX w a (D (pairIdx π i).2) (zq i)) *
empRiskS f g a (fun i => (D (pairIdx π i).1, zp i, zq i))
/-- Definition A.3, p. 12: the law of one sampled tuple `(z, z⁺, z')`:
`P(z, z⁺, z') = w(z, z⁺, a) · w(z' | a)`, since `z ∼ P_X`, `z⁺ ∼ P(·|z, a)` and
`z' ∼ P(·|x, a)` for an independent `x ∼ P_X`. -/
def tupleProb (w : X → X → A → ℝ) (a : A) (t : X × X × X) : ℝ :=
w t.1 t.2.1 a * nextMarg w a t.2.2
open Classical in
/-- Definition A.3 and Theorem 4.4, p. 6: the probability of an event `E` about the sample
`S = ((zᵢ, zᵢ⁺, zᵢ'))_{i ≤ m}` of `m = n/2` tuples. The tuples of Definition A.3 come from disjoint
pairs of an i.i.d. dataset, so they are i.i.d. with law `tupleProb w a`. -/
def sampleProb (w : X → X → A → ℝ) (a : A) (m : ℕ) (E : (Fin m → X × X × X) → Prop) : ℝ :=
∑ S : Fin m → X × X × X, if E S then ∏ i, tupleProb w a (S i) else 0
/-- Theorem 4.4, p. 6: the empirical Rademacher average
`E_σ [sup_{φ ∈ H} (1/m) ∑_{i=1}^m σᵢ φ(zᵢ)]` of a class `H` of real functions at the points
`z₁, …, z_m`, with `σᵢ` i.i.d. uniform signs (`true ↦ +1`, `false ↦ −1`). -/
def empRad (m : ℕ) (H : Set (X → ℝ)) (z : Fin m → X) : ℝ :=
(1 / 2 ^ m : ℝ) * ∑ σ : Fin m → Bool,
⨆ φ : H, (1 / (m : ℝ)) * ∑ i, (if σ i then (1 : ℝ) else -1) * φ.1 (z i)
/-- Theorem 4.4, p. 6: the worst-case Rademacher complexity `max_{z₁, …, z_m} E_σ […]` of a class
of real functions on `X`. -/
def worstRad (m : ℕ) (H : Set (X → ℝ)) : ℝ := ⨆ z : Fin m → X, empRad m H z
/-- The class `{x ↦ f(x)_ℓ : f ∈ 𝓕}` of `ℓ`-th coordinates of the encoders. -/
def encCoord (F : Set (X → Fin k → ℝ)) (l : Fin k) : Set (X → ℝ) :=
{φ | ∃ f ∈ F, φ = fun x => f x l}
/-- Proof of Theorem 4.4, p. 15: the class `𝓗_{a,ℓ} = {x ↦ g(f(x), a)_ℓ : f ∈ 𝓕, g ∈ 𝓖}` of
`ℓ`-th coordinates of the composed predictions `h = g ∘ f ∘ a`. -/
def predCoord (F : Set (X → Fin k → ℝ)) (G : Set ((Fin k → ℝ) → A → Fin k → ℝ)) (a : A)
(l : Fin k) : Set (X → ℝ) :=
{φ | ∃ f ∈ F, ∃ g ∈ G, φ = fun x => g (f x) a l}
/-- Theorem 4.4, p. 6: `𝔑_m(𝓕) = max_ℓ max_{z₁, …, z_m} E_σ [sup_{f ∈ 𝓕} (1/m) ∑ᵢ σᵢ f_ℓ(zᵢ)]`. -/
def radEnc (m : ℕ) (F : Set (X → Fin k → ℝ)) : ℝ := ⨆ l : Fin k, worstRad m (encCoord F l)
/-- Proof of Theorem 4.4, pp. 15–16: the Rademacher complexity of the composed class
`𝓖 ∘ 𝓕` used in the proof, `max_ℓ max_{z₁, …, z_m} E_σ [sup_{f ∈ 𝓕, g ∈ 𝓖} (1/m) ∑ᵢ σᵢ g(f(zᵢ), a)_ℓ]`
(the coordinatewise complexity of `𝓗_a`, as `𝔑_m(𝓕)` is for `𝓕`). -/
def radPred (m : ℕ) (F : Set (X → Fin k → ℝ)) (G : Set ((Fin k → ℝ) → A → Fin k → ℝ)) (a : A) :
ℝ :=
⨆ l : Fin k, worstRad m (predCoord F G a l)
end JEPAGeneralization
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Common setting and conventions. Throughout, is a finite set of observations (possibly empty) and is an arbitrary set of actions (possibly empty or infinite, with no finiteness assumed). is a natural number, possibly , and latent vectors are elements of . An encoder is any function . A predictor is any function ; only its values on the image of ever enter below. The functions , and are arbitrary real-valued functions in every definition unless a hypothesis is stated. The following conventions hold everywhere:
- Division by yields .
- The square root of a negative number is .
- A supremum of reals is the least upper bound of when that set is nonempty and bounded above. Otherwise (empty index set, or unbounded above) it is defined to be .
- A supremum over an infinite index set need not be attained.
dot. For ,
which is when .
sqNorm. For ,
which is when .
IsCoOccurrence. The pair is called a co-occurrence model when all five of the following hold:
- for all and ;
- , which in particular forces ;
- for every ;
- for every and every , ;
- for every and every , .
No other condition is imposed. Conditions 2 and 4 together imply for each . If is empty, conditions 1, 4 and 5 are vacuous.
nextMarg. The second marginal is
No hypothesis on is assumed.
transProb. The transition quantity is
which equals whenever .
coOccMat. is the real matrix with entries .
normCoOcc. is the matrix with entries
The square root is taken of the product. The entry is if that product is , by the square-root and division conventions.
jepaRisk. For an encoder , a predictor and an action ,
The first sum is weighted by itself, not by . No hypothesis on is assumed.
encMat. is the matrix with entries
so column is . The weight is the action-dependent second marginal.
predMat. is the matrix with entries
so column is .
frobSq. For an real matrix ,
sJepaRisk. The spectral risk is
where the entry of is
No hypothesis is assumed.
IsNormalized. The condition means that for every both
This is a condition at the single action only. When it can hold only if is empty.
sqSingVals. This definition assumes decidable equality on . It is the list of real roots of the characteristic polynomial of , counted with multiplicity and sorted in non-increasing order. Since is a real symmetric positive-semidefinite matrix, these are its eigenvalues , a list of nonnegative numbers.
singVal. For a natural-number index , is the square root of the -th entry of that list. The indexing is zero-based, so index gives the largest value . For the value is .
planLoss1. For an action , an initial observation and a goal ,
value1. The value of an action is
which is if .
regret1. The regret is
The supremum follows the convention above. It is if is empty or if the values are unbounded above. It need not be attained when is infinite. No hypothesis on or is assumed.
IsPairDist. is a pair distribution when
expRegret1. For an action rule , which is an arbitrary function,
No condition on is part of this definition.
cZero. The constant is
Note the mixed indices: the second marginal is taken at the goal , while the denominator is at the initial observation . The supremum convention applies, so the supremum is if is empty or the values are unbounded. Division by zero and the square root of a negative number give .
spectralLoss. The spectral loss is
empRiskN. For any and any dataset ,
Here is the transition quantity above, with its division-by-zero convention, and and are real numbers. Edge cases:
- For both terms are empty, so the value is .
- For the second coefficient is and its sum is empty.
datasetProb. For ,
which equals for .
tupleLoss. For a triple ,
The squared term uses the third component . The linear term uses the second component .
empRiskS. For and ,
which is when .
pairIdx. For a permutation of and , the -th index pair is
expEmpRiskS. For and a dataset (zero-indexed),
The outer sum runs over all permutations of , and is the transition quantity above. No hypothesis makes the weights a probability distribution. For the value is .
tupleProb. For ,
sampleProb. For and any property of samples ,
This is the product law of independent triples, each with weight given by tupleProb. It depends only on and , and no normalization is assumed. For it is if holds of the empty sample and otherwise.
empRad. For , a set of functions and points ,
The supremum follows the convention above, so it is if is empty or the values are unbounded above. For the value is .
worstRad. The worst-case complexity is
This is a maximum over a finite set, and it equals if is empty and .
encCoord. For a set of encoders and a coordinate ,
predCoord. For sets of encoders and of predictors, an action and a coordinate ,
radEnc. The encoder complexity is
which is when .
radPred. The predictor complexity is
for the single fixed action , and it is when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.