ComparatorChallenges/KServer.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.
Project sources: Pinned openai/math documentation, Pinned formalization catalogue
10 declarations, 1 contain sorry, 0 declared as axioms
- abbrev
OAI.KServer.ConfigurationChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics line 13L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/KServer/Basic.lean:13 (same declaration text).
abbrev Configuration (k : ℕ) (X : Type u) := Fin k → X
- def
OAI.KServer.LabelDistributionChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics line 15L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/KServer/Basic.lean:16 (same statement text; different proof or body). Qualify references as OAI.KServer.LabelDistribution@path.
def LabelDistribution (k : ℕ) := …
- abbrev
OAI.KServer.PolicyChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics line 19L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/KServer/Basic.lean:22 (same declaration text).
abbrev Policy (k : ℕ) (X : Type u) := …
- def
OAI.KServer.serveChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics line 22L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/KServer/Basic.lean:26 (different declaration text). Qualify references as OAI.KServer.serve@path.
def serve {k : ℕ} {X : Type u} (s : Configuration k X) (label : Fin k) (request : X) : Configuration k X := …Mentions: OAI.KServer.Configuration
- def
OAI.KServer.serviceCostChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics line 26L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/KServer/Basic.lean:30 (different declaration text). Qualify references as OAI.KServer.serviceCost@path.
def serviceCost {k : ℕ} {X : Type u} [MetricSpace X] (s : Configuration k X) : (requests : List X) → (Fin requests.length → Fin k) → ℝ | [], _ => 0 | request :: requests, labels => dist (s (labels 0)) request + serviceCost (serve s (labels 0) request) requests (fun index => labels index.succ)Mentions: OAI.KServer.Configuration
- def
OAI.KServer.pathProbabilityChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics line 33L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/KServer/Basic.lean:37 (different declaration text). Qualify references as OAI.KServer.pathProbability@path.
def pathProbability {k : ℕ} {X : Type u} (A : Policy k X) (history : List (X × Fin k)) : (requests : List X) → (Fin requests.length → Fin k) → ℝ | [], _ => 1 | request :: requests, labels => (A history request).val (labels 0) * pathProbability A (history ++ [(request, labels 0)]) requests (fun index => labels index.succ)Mentions: OAI.KServer.Policy
- def
OAI.KServer.expectedCostChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics line 42L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/KServer/Basic.lean:44 (different declaration text). Qualify references as OAI.KServer.expectedCost@path.
def expectedCost {k : ℕ} {X : Type u} [MetricSpace X] (A : Policy k X) (s : Configuration k X) (requests : List X) : ℝ := …Mentions: OAI.KServer.Policy, OAI.KServer.Configuration
- def
OAI.KServer.optimalCostChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics line 47L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/KServer/Basic.lean:51 (different declaration text). Qualify references as OAI.KServer.optimalCost@path.
def optimalCost {k : ℕ} {X : Type u} [MetricSpace X] (s : Configuration k X) (requests : List X) : ℝ := …Mentions: OAI.KServer.Configuration
- def
OAI.KServer.MainStatementChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics line 51L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/KServer/Main.lean:123 (same statement text; different proof or body). Qualify references as OAI.KServer.MainStatement@path.
def MainStatement : Prop := …
- theorem
OAI.KServer.main_theoremChallenge statement: Squared-logarithmic randomized $k$-server on arbitrary metrics sorry line 62L4DEL explanation
This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.
- The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
- The repository's comparator configuration selects OAI.Combinatorics.KServer.Main as the released solution module checked against this declaration.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Distinct definitions of this name: OAI/Combinatorics/KServer/Main.lean:155 (same statement text; different proof or body). Qualify references as OAI.KServer.main_theorem@path.
theorem main_theorem : MainStatement.{u} := by …