Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

BanditAlgorithm.kiefer_wolfowitz_equivalence

Proved

by Shuze Chen · Jul 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

convexitylinear-algebraoptimal-design

(Kiefer–Wolfowitz; L&S Theorem 21.1) Let A⊆Rd\mathcal{A} \subseteq \mathbb{R}^dA⊆Rd (d≥1d \ge 1d≥1) be compact with span⁡(A)=Rd\operatorname{span}(\mathcal{A}) = \mathbb{R}^dspan(A)=Rd. A design is a probability measure π\piπ supported in A\mathcal{A}A, with moment matrix and G-objective

V(π)=∫a a⊤ dπ(a),g(π)=sup⁡a∈A∥a∥V(π)−12.V(\pi) = \int a\,a^\top\,d\pi(a), \qquad g(\pi) = \sup_{a\in\mathcal{A}} \|a\|^2_{V(\pi)^{-1}}.V(π)=∫aa⊤dπ(a),g(π)=a∈Asup​∥a∥V(π)−12​.

For every design π∗\pi^*π∗, the following are equivalent:

  • (a) π∗\pi^*π∗ is G-optimal (V(π∗)V(\pi^*)V(π∗) positive definite and π∗\pi^*π∗ minimizes ggg among designs with positive-definite moment matrix);
  • (b) π∗\pi^*π∗ maximizes det⁡V(π)\det V(\pi)detV(π) over all designs (equivalently, maximizes log⁡det⁡V(π)\log \det V(\pi)logdetV(π));
  • (c) g(π∗)=dg(\pi^*) = dg(π∗)=d.

Moreover there exists a G-optimal design supported on a finite set of at most d(d+1)/2d(d+1)/2d(d+1)/2 points.

Preamble
import Mathlib.LinearAlgebra.Matrix.PosDef
import Mathlib.LinearAlgebra.Span.Basic
import Mathlib.Topology.Algebra.Module.FiniteDimension
import Definitions.Def_SelfNormalizedProcess


open MeasureTheory Matrix
Formal statement
theorem BanditAlgorithm.kiefer_wolfowitz_equivalence
    {d : ℕ} (hd : 0 < d) (𝒜 : Set (Fin d → ℝ)) (h𝒜 : IsCompact 𝒜)
    (hspan : Submodule.span ℝ 𝒜 = ⊤) :
    (∀ πs : Measure (Fin d → ℝ), IsDesignOn d 𝒜 πs →
      ((IsGOptimalDesign d 𝒜 πs ↔
          ∀ π : Measure (Fin d → ℝ), IsDesignOn d 𝒜 π →
            (designMatrix d π).det ≤ (designMatrix d πs).det) ∧
        (IsGOptimalDesign d 𝒜 πs ↔ designGValue d 𝒜 πs = (d : ℝ)))) ∧
    ∃ πs : Measure (Fin d → ℝ), IsDesignOn d 𝒜 πs ∧ IsGOptimalDesign d 𝒜 πs ∧
      ∃ s : Finset (Fin d → ℝ), ↑s ⊆ 𝒜 ∧ s.card ≤ d * (d + 1) / 2 ∧
        πs ((↑s : Set (Fin d → ℝ))ᶜ) = 0 := by
  sorry
Source
L&S Theorem 21.1, p.268
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 2026

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

  • Endorsed by iris · Nov 6, 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