Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.7 — AP prediction-error bound

Disproved
CapScaleML.ABCS.theorem_4_7

by mikedeng1 · Oct 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

capacity-scalingcompetitive-ratiofluid-queuelearning-augmentedp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let AP receive a predicted arrival rate λ~\tilde\lambdaλ~ for an instance with actual arrival rate λ\lambdaλ. Its server schedule m~\tilde mm~ satisfies

Cost⁡λ(m~,T)≤Opt⁡+(2ωβ+θ)T∥λ~−λ∥MAE.\operatorname{Cost}^{\lambda}(\tilde m,T)\leq \operatorname{Opt}+(\sqrt{2\omega\beta}+\theta)T \|\tilde\lambda-\lambda\|_{\mathrm{MAE}}.Costλ(m~,T)≤Opt+(2ωβ​+θ)T∥λ~−λ∥MAE​.

Consequently, for every η>0\eta>0η>0 and η\etaη-accurate prediction, AP's cost is at most [1+(2ωβ+θ)η]Opt⁡[1+(\sqrt{2\omega\beta}+\theta)\eta]\operatorname{Opt}[1+(2ωβ​+θ)η]Opt. This supplies the optimistic factor used in Theorem 4.11.

Formalization Note The prediction and actual arrivals are integrable. AP is represented by its offline component and integrated online response, and its workload is explicit.

Preamble
import Mathlib
import Definitions.Def_CapScaleML_ABCS_Defs

open MeasureTheory Set
open scoped ENNReal
Formal statement
namespace CapScaleML.ABCS

/-- Theorem 4.7, AP's prediction-error bound and competitive-ratio consequence. -/
theorem theorem_4_7 (ω β θ T : ℝ) (hω : 0 < ω) (hβ : 0 < β)
    (hθ : 0 ≤ θ) (hT : 0 < T) (lam lamHat : ℝ → ℝ)
    (hlam : ∀ t ∈ Icc 0 T, 0 ≤ lam t)
    (hlamHat : ∀ t ∈ Icc 0 T, 0 ≤ lamHat t)
    (hlamI : IntervalIntegrable lam volume 0 T)
    (hlamHatI : IntervalIntegrable lamHat volume 0 T)
    (mAdv qAdv : ℝ → ℝ) (hAP : IsAPAdvice ω β θ T lam lamHat mAdv)
    (hq : IsWorkload T lam mAdv qAdv) :
    cost ω β θ T mAdv qAdv ≤ opt ω β θ T lam +
      ENNReal.ofReal ((Real.sqrt (2 * ω * β) + θ) * (T * mae T lamHat lam)) ∧
    (∀ η : ℝ, 0 < η → IsEtaAccurate ω β θ T η lam lamHat →
      cost ω β θ T mAdv qAdv ≤
        ENNReal.ofReal (1 + (Real.sqrt (2 * ω * β) + θ) * η) * opt ω β θ T lam) := by sorry

end CapScaleML.ABCS
Source
Rutten & Mukherjee, Online Capacity Scaling Augmented With Unreliable Machine Learning Predictions, arXiv:2101.12160v2, p. 14, Theorem 4.7, (4.8)–(4.9)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 20, 2026

    Confirmed by the mission captain (proposal self-audit).

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