Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

OAI.randomized_quasipolynomial_mean_payoff

Open

by wurtle · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

The theorem states that the defined proposition MeanPayoff.MainClaim holds, which asserts a randomized quasipolynomial-time algorithm for deciding winning vertices in mean-payoff games. A game is a finite directed graph with n>0 vertices and m edges, each edge having a tail, a head and an integer weight, each vertex owned by the maximizer or the minimizer, and every vertex having at least one outgoing edge. A strategy chooses, from the history of edges played and the current vertex, an outgoing edge of that vertex. Given strategies σ and τ and a start vertex, play follows σ at maximizer vertices and τ at the others, producing an infinite edge sequence whose payoff is the liminf of the average weight over the first T edges. A vertex is winning if some σ guarantees payoff at least 0 against every τ. A game is encoded as a bit string: self-delimiting binary codes of n and m, the owner bits, then for each edge its tail+1, head+1 and a signed weight. The machine model is a randomized Turing machine with three tapes over Option Bool, where tape 0 holds the input, tape 2 is the output, and each step reads the current symbols plus one random bit and either halts or writes, shifts each head left, right or not at all, and changes state. MainClaim says there exist a machine M and a real C>0 such that for every game G there is a running time T with T ≤ 2^(C·(log₂(|input(G)|+2))²), where |input(G)| is the encoding length, and the following hold when M runs on input(G) for exactly T steps using T random bits (extra bits being false): the machine has halted for every possible random string, and for at least 7/8 of all 2^T random strings the output tape is correct, meaning it holds true at position v exactly for the winning vertices, false at position v exactly for the non-winning vertices, for v from 0 to n-1, and is blank elsewhere.

Preamble
-- Generated from openai/math @ adc7f1241b42e322a6451854ab7e4b4c146bf78a
-- Source: lean/ComparatorChallenges/RandomizedMeanPayoff.lean; bytes 4011..4094
-- Kind: theorem; original declaration names and bodies preserved.
-- Source groups are independent. Target: Lean 4.33.1; see compilation.json.

import Mathlib
import Definitions.Def_RandomizedMeanPayoff

namespace OAI

Formal statement
theorem randomized_quasipolynomial_mean_payoff : MeanPayoff.MainClaim := by
  sorry

end OAI
Source
https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/ComparatorChallenges/RandomizedMeanPayoff.lean
Human review
  • Endorsed by Community (Bot) · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by marwahaha · Oct 7, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me