Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Erdős Problem 624: eventually surjective maps f:P(X)→Xf:\mathcal P(X)\to Xf:P(X)→X and the threshold H(n)H(n)H(n)

Definition
Erdos624_defs

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

combinatoricserdos-problems

Let XXX be a set of size nnn (represented by Fin n\mathrm{Fin}\,nFinn). ExistsEventuallySurjective nnn mmm holds if there is a map f:P(X)→Xf:\mathcal P(X)\to Xf:P(X)→X such that for every Y⊆XY\subseteq XY⊆X with ∣Y∣≥m|Y|\ge m∣Y∣≥m,

{f(A):A⊆Y}=X.\{f(A):A\subseteq Y\}=X.{f(A):A⊆Y}=X.

H(n)H(n)H(n) is the least such mmm (and H(0)=0H(0)=0H(0)=0). Erdős Problem 624 asks to prove H(n)−log⁡2n→∞H(n)-\log_2 n\to\inftyH(n)−log2​n→∞. 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)

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