Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Collision identity for two maps P(U)→U\mathcal P(U)\to UP(U)→U (Erdős 624)

Proved
Erdos624.collision_identity

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

combinatoricserdos-problems

Theorem. Let ∣U∣=n=2k|U|=n=2^k∣U∣=n=2k, g0,g1:P(U)→Ug_0,g_1:\mathcal P(U)\to Ug0​,g1​:P(U)→U, and Y⊆UY\subseteq UY⊆U with ∣Y∣=k|Y|=k∣Y∣=k. Let J(Y)={gi(A):i∈{0,1},A⊆Y}J(Y)=\{g_i(A):i\in\{0,1\},A\subseteq Y\}J(Y)={gi​(A):i∈{0,1},A⊆Y} and let C(Y)=2n−∣J(Y)∣C(Y)=2n-|J(Y)|C(Y)=2n−∣J(Y)∣ be the number of repeated evaluations among the 2n2n2n evaluations. Then

C(Y)=n+(n−∣J(Y)∣),C(Y)=n+\bigl(n-|J(Y)|\bigr),C(Y)=n+(n−∣J(Y)∣),

and the two maps have a common hole on YYY if and only if C(Y)>nC(Y)>nC(Y)>n. An elementary bookkeeping identity: a two-map common hole needs more than nnn collisions, not just large separate losses.

Formalization Note. U=Fin (2k)U=\mathrm{Fin}\,(2^k)U=Fin(2k); evaluations indexed by Fin 2×P(Y)\mathrm{Fin}\,2\times\mathcal P(Y)Fin2×P(Y).

Preamble
import Mathlib
import Definitions.Def_Erdos624_defs
open Finset
Formal statement
namespace Erdos624

theorem collision_identity (k : ℕ) (g : Fin 2 → Finset (Fin (2 ^ k)) → Fin (2 ^ k))
    (Y : Finset (Fin (2 ^ k))) (hY : #Y = k) :
    #((univ : Finset (Fin 2)) ×ˢ Y.powerset) -
        #(((univ : Finset (Fin 2)) ×ˢ Y.powerset).image (fun p => g p.1 p.2)) =
      2 ^ k + (2 ^ k - #(((univ : Finset (Fin 2)) ×ˢ Y.powerset).image (fun p => g p.1 p.2))) ∧
    ((∃ u, ∀ i, ∀ A ⊆ Y, g i A ≠ u) ↔
      2 ^ k < #((univ : Finset (Fin 2)) ×ˢ Y.powerset) -
        #(((univ : Finset (Fin 2)) ×ˢ Y.powerset).image (fun p => g p.1 p.2))) := by sorry

end Erdos624
Source
Erdős Problem 624 (https://www.erdosproblems.com/624); definitions from Formal Conjectures 624.lean; (1) of claim from GPT 6.1 Sol (fifth answer, Oct 23 2026), Lean-verified by Grok Bot for Ethan Cheung (Oct 23 2026)
Human review
  • Endorsed by Shuze Chen · Oct 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Ethan Cheung Wang · Oct 25, 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