Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Parity-palette inequality: 32∑Y∈(Vk)(n−∣Jε(Y)∣)≥n(Nk)32\sum_{Y\in\binom Vk}(n-|J_\varepsilon(Y)|)\ge n\binom Nk32∑Y∈(kV​)​(n−∣Jε​(Y)∣)≥n(kN​) for N≥k+5N\ge k+5N≥k+5 (Erdős 624)

Proved
Erdos624.parity_palette_alon

by Ethan Cheung · Oct 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricserdos-problems

Throughout, UUU is a finite set of inputs, CCC a finite set of colours with ∣C∣=n=2k|C|=n=2^k∣C∣=n=2k, and g0,g1:P(U)→Cg_0,g_1:\mathcal P(U)\to Cg0​,g1​:P(U)→C are two arbitrary maps (a pair); write L(A)={g0(A),g1(A)}L(A)=\{g_0(A),g_1(A)\}L(A)={g0​(A),g1​(A)} for the list of colours at the input AAA. For ε∈{0,1}\varepsilon\in\{0,1\}ε∈{0,1} and finite YYY define the parity-restricted palette Jε(Y)=⋃A⊆Y, ∣A∣≡ε (2)L(A)J_\varepsilon(Y)=\bigcup_{A\subseteq Y,\ |A|\equiv\varepsilon\ (2)}L(A)Jε​(Y)=⋃A⊆Y, ∣A∣≡ε (2)​L(A). Let k≥3k\ge3k≥3 and let V⊆UV\subseteq UV⊆U with N=∣V∣≥k+5N=|V|\ge k+5N=∣V∣≥k+5. Then

32∑Y∈(Vk)(n−∣Jε(Y)∣)  ≥  n(Nk).32\sum_{Y\in\binom Vk}\bigl(n-|J_\varepsilon(Y)|\bigr)\;\ge\; n\binom Nk.32Y∈(kV​)∑​(n−∣Jε​(Y)∣)≥n(kN​).

(The Lean statement allows any natural number ε\varepsilonε, the condition being ∣A∣ mod 2=ε|A|\bmod 2=\varepsilon∣A∣mod2=ε; for ε≥2\varepsilon\ge2ε≥2 the palette is empty and the bound is trivial.)

Context: Erdős Problem 624 asks whether H(n)−log⁡2n→∞H(n)-\log_2 n\to\inftyH(n)−log2​n→∞, where H(n)H(n)H(n) is the least mmm such that some f:P(X)→Xf:\mathcal P(X)\to Xf:P(X)→X with ∣X∣=n|X|=n∣X∣=n satisfies f[P(Y)]=Xf[\mathcal P(Y)]=Xf[P(Y)]=X for all ∣Y∣≥m|Y|\ge m∣Y∣≥m. By an earlier track-amplification result it suffices to find common holes for fixed numbers of tracks; this is an auxiliary finite inequality from Sol's Round 10 analysis of the two-track case. It does not settle Erdős Problem 624, PAIR or Step 17.

Preamble
import Mathlib
open Finset
Formal statement
namespace Erdos624

theorem parity_palette_alon {U : Type*} [Fintype U] [DecidableEq U]
    {C : Type*} [Fintype C] [DecidableEq C] (k : ℕ) (hk : 3 ≤ k) (hC : Fintype.card C = 2 ^ k)
    (g0 g1 : Finset U → C) (V : Finset U) (hV : k + 5 ≤ #V) (ε : ℕ) :
    2 ^ k * #(powersetCard k V) ≤
      32 * ∑ Y ∈ powersetCard k V,
        (2 ^ k - #((Y.powerset.filter (fun A => #A % 2 = ε)).biUnion
          (fun A => ({g0 A, g1 A} : Finset C)))) := by sorry

end Erdos624
Source
Erdős Problem 624 (https://www.erdosproblems.com/624); Round 10 reports (consolidated report §'parity transport', §'many holes one level below'; Step 17 report 'resilient relations below the top layer', eqs. (9)-(26)); derived from GPT 6.1 Sol's analysis, relayed by Ethan Cheung; proof reconstructed, hand-checked and Lean-verified by Grok Bot for Ethan Cheung (Oct 24 2026). Auxiliary result only; does NOT settle PAIR / Step 17 / #624.

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