Theorem 5 (Confidence) —
ProvedStochLinOpt.UpperBound.confidenceModel. As in Lemma 14: a probability space with a filtration ; a compact decision set containing ; an unknown mean with on ; ; -measurable decisions ; -measurable losses with and ; and a run of ConfidenceBall₂ on every outcome. Assume in addition . Then
The confidence ellipsoids of ConfidenceBall₂ contain the true mean at all times simultaneously with probability at least ; this is the probabilistic half of the upper bound.
Formalization Note The paper states "Let "; is added, as Algorithm 3.1 and Lemma 14 assume. The hypothesis is added: the proof asserts " by the definition of ", which fails for close to , and is deterministic. The hypothesis is added because the proof uses while the model gives only . The Section 5 coordinates are without loss of generality. The event is a single event over all .
import Mathlib import Definitions.Def_StochLinOpt_UpperBound_confidenceBall2 import Definitions.Def_StochLinOpt_UpperBound_analysisQuantities open Matrix MeasureTheory
namespace StochLinOpt.UpperBound
theorem confidence {n : ℕ} {Ω : Type*} {mΩ : MeasurableSpace Ω}
(P : Measure Ω) [IsProbabilityMeasure P] (𝓕 : Filtration ℕ mΩ)
(D : Set (Fin n → ℝ)) (hD_compact : IsCompact D)
(hD_basis : ∀ i : Fin n, (Pi.single i (1 : ℝ) : Fin n → ℝ) ∈ D)
(hD_cube : ∀ y ∈ D, ∀ i, |y i| ≤ 1)
(μ : Fin n → ℝ) (hμD : ∀ y ∈ D, |μ ⬝ᵥ y| ≤ 1)
(δ : ℝ) (hδ : 0 < δ) (hδ1 : δ < 1)
(x : ℕ → Ω → Fin n → ℝ) (ℓ : ℕ → Ω → ℝ)
(hx_meas : ∀ t : ℕ, 1 ≤ t → Measurable[𝓕 t] (x t))
(hℓ_meas : ∀ t : ℕ, 1 ≤ t → Measurable[𝓕 (t + 1)] (ℓ t))
(hℓ_bdd : ∀ t : ℕ, 1 ≤ t → ∀ ω, |ℓ t ω| ≤ 1)
(hη_bdd : ∀ t : ℕ, 1 ≤ t → ∀ ω, |ℓ t ω - μ ⬝ᵥ x t ω| ≤ 1)
(hmean : ∀ t : ℕ, 1 ≤ t → P[ℓ t | 𝓕 t] =ᵐ[P] fun ω => μ ⬝ᵥ x t ω)
(hrun : ∀ ω, IsConfidenceBall2Run D δ (fun t => x t ω) (fun t => ℓ t ω))
(hβ₁ : (n : ℝ) ≤ (8 / 3 * Real.log (1 / δ)) ^ 2) :
1 - δ ≤ P.real {ω | ∀ t : ℕ, 1 ≤ t →
μ ∈ confBall δ (fun s => x s ω) (fun s => ℓ s ω) t} := by sorry
end StochLinOpt.UpperBound
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Throughout, is the ordinary dot product on , and is the -th standard basis vector. The statement relies on two imported definitions whose code was not provided: IsConfidenceBall2Run (written below) and confBall (written below). Their content cannot be expanded here. The statement's meaning depends entirely on them, and they must be checked separately.
Setting. The statement fixes the following:
- a dimension ;
- a measurable space with a probability measure ;
- a filtration of sub-σ-algebras of ;
- a set ;
- a vector ;
- a real number ;
- for every , including , a vector-valued function and a real-valued function .
Hypotheses.
- is compact.
- for every .
- Every satisfies for every coordinate .
- for every . Together with hypothesis 2, this forces for every .
- .
- For every , is -measurable.
- For every , is -measurable.
- For every and every (not just almost every ), .
- For every and every , . This is a separate assumption. The code does not require , unless does.
- For every , the conditional expectation satisfies
- For every , the pair of deterministic sequences satisfies . This is a pointwise condition on every sample path, whatever means.
- The dimension is bounded in terms of :
When , this is equivalent to .
Conclusion. Let
Then
Here is taken as a real number. The event is simultaneous over all times , so it is an infinite-horizon, time-uniform statement. The time is not included in the event. The code does not assert that is measurable. If is not measurable, the value assigned to it is its outer measure, so the bound is then a lower bound on the outer measure.
Edge cases. All of the hypotheses on and (measurability, the bounds, the conditional mean) apply only for . The values and are completely unconstrained, yet they are still passed to and as part of the full sequences. The same holds for the value of any that at time might read beyond index .
The conditional expectation in hypothesis 10 is not a junk value: is bounded and measurable on a probability space, so it is integrable. cannot be empty, because is a probability measure. is well defined and positive, because .
When :
- is a single point, and is that point.
- Every dot product is .
- Hypotheses 2 and 3 are vacuous, and hypothesis 4 holds trivially.
- is either empty or the single point.
- Hypothesis 12 holds automatically.
- Hypothesis 10 then says almost surely.
When , hypothesis 12 excludes every . In that range the theorem says nothing.
Hypothesis 11 is required for every sample path. Whether it can be satisfied at all, and so whether the theorem is vacuous, depends on the definition of , which is not visible here. Likewise, how strong the conclusion is depends entirely on the definition of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.