§3.4 (p. 187): h_t(x_t) ≥ ∫_P h_t ∏_{τ<t} h_τ / ∫_P ∏_{τ<t} h_τ for the EWOO point
ProvedLogRegretOCO.EWOO.jensen_weighted_meanLet be nonempty, closed, bounded and convex with positive Lebesgue volume, let , and let be continuous on and -exp-concave on . Write and let be the point played by Exponentially Weighted Online Optimization on round . Then for every round ,
Since is the EWOO weight, is the mean of under the probability density proportional to , and the inequality is Jensen's inequality for the concave function under that distribution. It is the per-round step from which Eq. (18) follows by multiplying over rounds.
Formalization Note Continuity of on is the part of the paper's standing assumption (§2.2: the costs are twice differentiable and convex) that the argument uses; it makes every integral here a genuine (integrable) integral. Positive volume of is presupposed by the algorithm, which divides by .
import Mathlib import Definitions.Def_LogRegretOCO_EWOO_IsExpConcave import Definitions.Def_LogRegretOCO_EWOO_ewooPoint open MeasureTheory
namespace LogRegretOCO.EWOO
/-- §3.4, first display on p. 187 (Hazan–Agarwal–Kale 2007): for `h_t(x) = exp(-α f_t(x))`,
the EWOO point satisfies
`h_t(x_t) ≥ ∫_P h_t(x) ∏_{τ=1}^{t-1} h_τ(x) dx / ∫_P ∏_{τ=1}^{t-1} h_τ(x) dx`. -/
theorem jensen_weighted_mean (n : ℕ) (P : Set (EuclideanSpace ℝ (Fin n)))
(hPconv : Convex ℝ P) (hPclosed : IsClosed P) (hPbdd : Bornology.IsBounded P)
(hPne : P.Nonempty) (hPvol : volume P ≠ 0)
(α : ℝ) (hα : 0 < α) (f : ℕ → EuclideanSpace ℝ (Fin n) → ℝ)
(hexp : ∀ t, IsExpConcave α P (f t)) (hcont : ∀ t, ContinuousOn (f t) P)
(t : ℕ) (ht : 1 ≤ t) :
(∫ x in P, Real.exp (-α * f t x) * ∏ τ ∈ Finset.Ico 1 t, Real.exp (-α * f τ x)) /
(∫ x in P, ∏ τ ∈ Finset.Ico 1 t, Real.exp (-α * f τ x))
≤ Real.exp (-α * f t (ewooPoint P α f t)) := by sorry
end LogRegretOCO.EWOO
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix and a set (Euclidean space). Assume that :
- is convex;
- is closed;
- is bounded;
- is nonempty;
- has nonzero Lebesgue measure, .
Fix a real and a sequence of functions , indexed by all including . Assume that for every :
- Exp-concavity: is convex and is concave on .
- Continuity: is continuous on .
These conditions are imposed on all indices, including and indices beyond the round considered. Write
The point . For a natural number , is defined as
The integrals are Lebesgue integrals over . There are two default conventions: a non-integrable integral is taken to be , and the inverse of is taken to be .
Claim. The theorem asserts
Both products run over . The statement does not assert that . The right-hand side evaluates at wherever that point lies, and is defined on all of .
Degenerate cases.
- . Both products are empty, equal to . The claim becomes
where is the Lebesgue centroid .
- . Excluded by the hypothesis .
- . The space is a single point with Lebesgue measure . The hypotheses force to be that point, and every quantity reduces to values at that point.
- Satisfiability. The hypotheses can be satisfied simultaneously, for example with constant . The nonemptiness hypothesis is implied by .
- Default values. Because is compact and the integrands are continuous on and positive, the integrals are genuine and the denominators are positive. The division and inverse defaults are therefore not triggered.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.