October 2026 · Preprint

A certified upper bound for the beat the average game

Abstract

Let C be the supremum of P[X_1 + X_2 + X_3 < 2X_4] over all probability measures on [0, ∞), where X_1, ..., X_4 are independent with the given law. Determining C is Problem 6.39, the beat the average game, in the list of Georgiev, Gómez-Serrano, Tao and Wagner. Bellec and Fritz proved 0.4006953 ≤ C ≤ 673/1615 and conjectured that the lower bound, 0.4006953723..., is the exact value. We prove C ≤ 0.40069634, less than 10-6 above the conjectured value. The proof applies Razborov's flag algebra method to samples of nine points. Since the points are independent, the positivity constraints of flag algebras hold for every single measure, so that no limit objects are needed. An exact certificate is checked in rational arithmetic, and the bound is also proved in the Lean 4 proof assistant, with Lean's kernel checking the certificate.

In plain words

Draw four nonnegative numbers independently from the same distribution. What is the largest possible chance that the first three add up to less than twice the fourth? Fritz asked this question in 2024; Bellec and Fritz proved that the largest possible chance lies between 0.4006953… and 0.41672. They conjectured that the lower value is the answer. Georgiev, Gómez-Serrano, Tao and Wagner list the question as Problem 6.39. The paper’s certificate shows that the largest possible chance is at most 0.40069634, less than one millionth above the conjectured answer.

A half-disc fan opening upward from a black dot at the bottom centre. Three thick black curves lead to large yellow dots that branch into thirty small yellow dots; from each small dot a grey fan of fine lines spreads to an outer arc. Beyond the arc, thin teal spikes of different lengths form thirty flame-shaped tufts.
Illustration of the sign patterns behind the proof. The pattern of a sample of sorted positive numbers records which comparisons of the form “twice one number exceeds the sum of three others” hold. The probability studied in the paper is the expected fraction of these comparisons that hold in a random sample. Dropping the largest number maps each pattern of k numbers to a pattern of k − 1 numbers, so the patterns that occur form a tree. The tree is shown for patterns of up to six numbers, and the length of each teal spike is proportional to the number of seven-number patterns that extend the pattern at the base of the spike. The paper proves the upper bound 0.40069634 by applying Razborov’s flag algebra method to samples of nine numbers; only a small set of nine-number patterns needs to be checked.

Formal statement and axioms

Each main result as stated in Lean, copied verbatim from the published package, with the axioms that the proof rests on. Lean v4.35.0-rc3, Mathlib c55e6e786f49. The package.

BeatAvg.K.upperBound_k9

The upper bound 0.40069634: kernel-only

theorem upperBound_k9 : UpperBound (20034817 / 50000000)
Definitions used in the statement
def UpperBound (lam : ℝ) : Prop :=
  ∀ μ : Measure ℝ, IsProbabilityMeasure μ → μ (Iio 0) = 0 → beatProb μ ≤ ENNReal.ofReal lam
noncomputable def beatProb (μ : Measure ℝ) : ℝ≥0∞ :=
  Measure.pi (fun _ : Fin 4 => μ) beatSet
def beatSet : Set (Fin 4 → ℝ) := {x | x 0 + x 1 + x 2 < 2 * x 3}

Source.

Axioms, as Lean reports them. Recorded in the published file (also quoted in https://github.com/tejasvi/beat-the-average-bound/blob/cc4a34e89a9b9423f14cf5ca0ec929b1055753c2/README.md#L114-L114).

'BeatAvg.K.upperBound_k9' depends on axioms: [propext, Classical.choice, Quot.sound]

BeatAvg.N.upperBound_k9

The upper bound 0.40069634: with compiled code

theorem upperBound_k9 : UpperBound (20034817 / 50000000)
Definitions used in the statement
def UpperBound (lam : ℝ) : Prop :=
  ∀ μ : Measure ℝ, IsProbabilityMeasure μ → μ (Iio 0) = 0 → beatProb μ ≤ ENNReal.ofReal lam
noncomputable def beatProb (μ : Measure ℝ) : ℝ≥0∞ :=
  Measure.pi (fun _ : Fin 4 => μ) beatSet
def beatSet : Set (Fin 4 → ℝ) := {x | x 0 + x 1 + x 2 < 2 * x 3}

Source.

The package does not record Lean’s axiom report for this theorem, but names the axioms in words: propext, Classical.choice, Quot.sound and 1 more, for example BeatAvg.N.K9.check_ok._native.native_decide.ax_1_1.