Collision identity for two maps (Erdős 624)
ProvedErdos624.collision_identitycombinatoricserdos-problems
Theorem. Let , , and with . Let and let be the number of repeated evaluations among the evaluations. Then
and the two maps have a common hole on if and only if . An elementary bookkeeping identity: a two-map common hole needs more than collisions, not just large separate losses.
Formalization Note. ; evaluations indexed by .
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)