Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7.3 — the full effective mistake-budget implication chain

Open
WeightedMajority.Shifting.Supplement.theorem_7_3

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

online-learningp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1prediction-with-expert-adviceweighted-majority

Let (Mi)i≥1(M_i)_{i\ge1}(Mi​)i≥1​ be a computable sequence of nonnegative integers. Define the following four statements.

  1. (a) ∑i2−Mi\sum_i2^{-M_i}∑i​2−Mi​ is finite and its real value is computable to arbitrary precision.
  2. (b) There exists c∈Rc\in\mathbb Rc∈R such that, for every effectively presented domain XXX and every uniformly total-recursive binary pool (ϕi)(\phi_i)(ϕi​), there is an effective total online learner AAA with MA(S)≤Mi+cM_A(\mathcal S)\le M_i+cMA​(S)≤Mi​+c for every i≥1i\ge1i≥1 and every finite ϕi\phi_iϕi​-consistent sequence.
  3. (c) For every such domain and pool there exist c∈Rc\in\mathbb Rc∈R, a positive cutoff jjj, and an effective total online learner AAA with MA(S)≤Mi+cM_A(\mathcal S)\le M_i+cMA​(S)≤Mi​+c for every i≥ji\ge ji≥j and every finite ϕi\phi_iϕi​-consistent sequence.
  4. (d) ∑i2−Mi\sum_i2^{-M_i}∑i​2−Mi​ is finite.

Then all three implications hold:

(a)⟹(b),(b)⟹(c),(c)⟹(d).(a)\Longrightarrow(b),\qquad(b)\Longrightarrow(c),\qquad(c)\Longrightarrow(d).(a)⟹(b),(b)⟹(c),(c)⟹(d).

This separates effective summability, uniform attainable budgets, eventual budgets, and mere summability. In (b) the constant precedes the domain and pool; in (c) it follows them. Computability is part of the mathematical claim, for both the pool evaluator and the learner.

Differences from the source:

  • encoding: positive member indices and positive inclusive cutoff j → natural indices shifted down by one, with an inclusive natural cutoff; reason: the correspondence i ↔ i+1 preserves every member and inequality
  • encoding: domains supporting total recursive evaluation and algorithms → all primitive-codable domain presentations; Mathlib Computable on uncurried pool and learner maps; reason: this supplies an explicit effective presentation without limiting the domain or the horizon to be finite
  • encoding: arbitrary-precision real sum → published IsComputableReal with recursive rational approximations and explicit Summable; reason: precision 2^(-r) is cofinal among positive error tolerances and the convergence premise prevents a default sum
Preamble
import Definitions.Def_WeightedMajority_Shifting_Supplement_EffectiveBudgets
Formal statement
namespace WeightedMajority.Shifting.Supplement

theorem theorem_7_3 (M : ℕ → ℕ) (hM : Computable M) :
    (BudgetA M → BudgetB M) ∧ (BudgetB M → BudgetC M) ∧ (BudgetC M → BudgetD M) := by sorry

end WeightedMajority.Shifting.Supplement
Source
Littlestone, Warmuth, The Weighted Majority Algorithm, Inform. and Comput. 108 (1994), DOI 10.1006/inco.1994.1009, p. 247, Theorem 7.3

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