Erdős Problem 624: eventually surjective maps and the threshold
DefinitionErdos624_defscombinatoricserdos-problems
Let be a set of size (represented by ). ExistsEventuallySurjective holds if there is a map such that for every with ,
is the least such (and ). Erdős Problem 624 asks to prove . Both definitions are copied verbatim from Google DeepMind's Formal Conjectures file for Problem 624.
Definition code
import Mathlib
namespace Erdos624
open Finset
/-- Verbatim from Formal Conjectures `FormalConjectures/ErdosProblems/624.lean`. -/
def ExistsEventuallySurjective (n m : ℕ) : Prop :=
∃ (f : Finset (Fin n) → Fin n),
∀ (Y : Finset (Fin n)), #Y ≥ m →
Y.powerset.image f = Finset.univ
/-- Verbatim from Formal Conjectures: `H n` is the least admissible threshold `m` (and `0` for `n = 0`). -/
noncomputable def H (n : ℕ) : ℕ :=
if 0 < n then
sInf {m : ℕ | ExistsEventuallySurjective n m}
else 0
end Erdos624
Source
Erdős Problem 624, https://www.erdosproblems.com/624; Formal Conjectures FormalConjectures/ErdosProblems/624.lean (ExistsEventuallySurjective, H)