Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 19, p. 21 — BINSEARCH finds an equilibrium in polynomial time

Proved
RankOneBimatrix.BinSearch.theorem_19

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

bimatrix-gamebinary-searchnash-equilibriump2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rank-1-game

For every nonempty rational input (A,a,b)(A,a,b)(A,a,b) and every admissible extreme-optimal LP oracle, BINSEARCH halts at its first successful test after polynomially many main-loop iterations in the combined bit length LLL. All actual LP calls are genuine, every midpoint and returned parameter has polynomial bit length, and the final primal strategy paired with any optimal final dual strategy is a Nash equilibrium of (A,−A+ab⊤)(A,-A+ab^\top)(A,−A+ab⊤).

∃p∈N[T] ∀A,a,b,O ∃k≤p(L):xk∗⊤a=λk∗,(xk∗,y∗)∈NE⁡(A,−A+ab⊤).\exists p\in\mathbb N[T]\ \forall A,a,b,O\ \exists k\le p(L):\quad x_k^{*\top}a=\lambda_k^*,\quad (x_k^*,y^*)\in\operatorname{NE}(A,-A+ab^\top).∃p∈N[T] ∀A,a,b,O ∃k≤p(L):xk∗⊤​a=λk∗​,(xk∗​,y∗)∈NE(A,−A+ab⊤).

This is the paper's main algorithmic result. Formalization Note Polynomial time is represented by the iteration bound and the midpoint and returned-parameter bit-size bounds under the assumed polynomial-time LP solvers; no machine model is asserted. The implicit conditions m,n>0m,n>0m,n>0 are explicit.

Preamble
import Definitions.Def_RankOneBimatrix_BinSearch_Algorithm
Formal statement
namespace RankOneBimatrix.BinSearch
open Matrix

/-- Theorem 19, p. 21: Figure 2 finds an equilibrium in polynomial time. -/
theorem theorem_19 :
    ∃ p : Polynomial ℕ,
      ∀ (m n : ℕ), 0 < m → 0 < n →
      ∀ (A : Matrix (Fin m) (Fin n) ℚ) (a : Fin m → ℚ) (b : Fin n → ℚ)
        (O : Oracle m n),
        Admissible (A.map (fun r => (r : ℝ)))
          (fun i => (a i : ℝ)) (fun j => (b j : ℝ)) O →
        ∃ k : ℕ,
          k ≤ p.eval (inputSize A a b) ∧
          stop (A.map (fun r => (r : ℝ))) (fun i => (a i : ℝ))
            (fun j => (b j : ℝ)) O k ∧
          (∀ j < k, ¬ stop (A.map (fun r => (r : ℝ)))
            (fun i => (a i : ℝ)) (fun j => (b j : ℝ)) O j) ∧
          (∀ j ≤ k, callsGenuine (A.map (fun r => (r : ℝ)))
            (fun i => (a i : ℝ)) (fun j => (b j : ℝ)) O j) ∧
          (∀ j ≤ k, ∃ q : ℚ,
            (q : ℝ) = midpoint (A.map (fun r => (r : ℝ)))
              (fun i => (a i : ℝ)) (fun j => (b j : ℝ)) O j ∧
            ratSize q ≤ p.eval (inputSize A a b)) ∧
          (∀ j ≤ k, ∃ q : ℚ,
            (q : ℝ) = lamStar (A.map (fun r => (r : ℝ)))
              (fun i => (a i : ℝ)) (fun j => (b j : ℝ)) O j ∧
            ratSize q ≤ p.eval (inputSize A a b)) ∧
          O.dual (lamStar (A.map (fun r => (r : ℝ)))
            (fun i => (a i : ℝ)) (fun j => (b j : ℝ)) O k) ∈
            DExtreme (A.map (fun r => (r : ℝ))) (fun j => (b j : ℝ))
              (lamStar (A.map (fun r => (r : ℝ)))
                (fun i => (a i : ℝ)) (fun j => (b j : ℝ)) O k) ∧
          (∀ y t, (y, t) ∈ Yopt (A.map (fun r => (r : ℝ)))
              (fun j => (b j : ℝ))
              (lamStar (A.map (fun r => (r : ℝ)))
                (fun i => (a i : ℝ)) (fun j => (b j : ℝ)) O k) →
            IsNE (A.map (fun r => (r : ℝ)))
              (rankOneB (A.map (fun r => (r : ℝ)))
                (fun i => (a i : ℝ)) (fun j => (b j : ℝ)))
              (xStar (A.map (fun r => (r : ℝ)))
                (fun i => (a i : ℝ)) (fun j => (b j : ℝ)) O k) y) := by sorry

end RankOneBimatrix.BinSearch
Source
Adsul, Garg, Mehta, Sohoni, von Stengel, Fast Algorithms for Rank-1 Bimatrix Games, arXiv:1812.04611v4, p. 21, Theorem 19; pp. 20–22, Figure 2 and proof
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