OAI.KServer.JointEmbedding.key_bound: intermediate lemma from OpenAI, Squared-logarithmic randomized k-server on arbitrary metrics
ProvedOAI.KServer.JointEmbedding.key_boundAn intermediate lemma of the split of OpenAI's proof of OAI.KServer.main_theorem, carved from OpenAI's openai/math development for this platform. The statement and its proof are OpenAI's (OpenAI, Squared-logarithmic randomized k-server on arbitrary metrics, OpenAI Math Release, September 24, 2026, result family 110, github.com/openai/math, Apache License 2.0); in Lean it is the declaration OAI.KServer.JointEmbedding.key_bound of lean/OAI/Combinatorics/KServer/KServer/JointBudget.lean at commit adc7f12, ported to Lean 4.33.1 and Mathlib 0df444a.
The statement, as published (namespace OAI.KServer.JointEmbedding, with open scoped BigOperators, open Finset, open JointExperiment RankTracking ActualCharges):
lemma key_bound {R τ:ℝ} (hR:0<R) (hτ:2≤τ) (hrad:∀ d,r d=R/τ^(d.val+1)):
total (weight law hr) H (JointBudget.stepKey s law hr)≤
(EmbeddedCost.tierCoefficient k+EmbeddedCost.heavyCoefficient k+EmbeddedCost.spatialCoefficient k)*
EmbeddedCost.opt s law+
(299+Fintype.card (LevelKeys.Tier k))*EmbeddedCost.inventory k (R/τ^L) τ L
Definitions. The statement is written with OAI.KServer.FiniteDistribution, OAI.KServer.ActualCharges.total, OAI.KServer.EmbeddedCost.heavyCoefficient, OAI.KServer.EmbeddedCost.inventory, OAI.KServer.EmbeddedCost.opt, OAI.KServer.EmbeddedCost.spatialCoefficient, OAI.KServer.EmbeddedCost.tierCoefficient, OAI.KServer.JointBudget.stepKey, OAI.KServer.JointExperiment.Atom, OAI.KServer.JointExperiment.Raw, OAI.KServer.JointExperiment.Tape, OAI.KServer.JointExperiment.levelTapeFintype, OAI.KServer.JointExperiment.rawWeight, OAI.KServer.JointExperiment.weight, OAI.KServer.LevelKeys.Tape, OAI.KServer.LevelKeys.Tier and OAI.KServer.TierDyadic.index (definitions bundle OAIQ17Ks000 of this split); OAI.KServer.Configuration (the published bundle Def_KServer).
Used by. The proof of OAI.KServer.main_theorem of this split imports it.
import Mathlib import Definitions.Def_KServer import Definitions.Def_OAIQ17Ks000
section
set_option linter.all false
set_option linter.unusedVariables false
set_option linter.unusedTactic false
set_option linter.unreachableTactic false
namespace OAI
noncomputable section
open scoped BigOperators
open Finset
namespace KServer.JointEmbedding
open JointExperiment RankTracking ActualCharges
attribute [local instance] Classical.propDecidable Classical.decEq
variable {Y:Type} [MetricSpace Y] [Fintype Y] {k H L:ℕ} [NeZero k]
variable (s:Configuration k Y) (law:FiniteDistribution (Fin H→Y))
variable {r:Fin L→ℝ} (hr:∀ d,0 < r d)
lemma key_bound {R τ:ℝ} (hR:0<R) (hτ:2≤τ) (hrad:∀ d,r d=R/τ^(d.val+1)):
total (weight law hr) H (JointBudget.stepKey s law hr)≤
(EmbeddedCost.tierCoefficient k+EmbeddedCost.heavyCoefficient k+EmbeddedCost.spatialCoefficient k)*
EmbeddedCost.opt s law+
(299+Fintype.card (LevelKeys.Tier k))*EmbeddedCost.inventory k (R/τ^L) τ L:= by
sorry
end KServer.JointEmbedding
end
end OAI
end