Partition-counting lemma for t-subsets in one part (Erdős 624 auxiliary)
ProvedErdos624.partition_countingcombinatoricserdos-problems
Let be positive integers and with . If , then
Thus a constant fraction of the -subsets of a sufficiently large, arbitrarily partitioned set lie entirely in one part. Context: Erdős Problem 624 asks whether , where is the least such that some () satisfies for all . This lemma does NOT settle Problem 624 / PAIR; it is an auxiliary partition-counting tool used toward a rank-deficiency bound.
Formalization Note. Pure natural-number statement over Fin q → ℕ; no dependence on the Erdős 624 definitions module.
Preamble
import Mathlib open Finset
Formal statement
namespace Erdos624
/-- Partition-counting lemma: a constant fraction of t-subsets lie in one part. -/
theorem partition_counting {q : ℕ} [NeZero q] (t N : ℕ) (c : Fin q → ℕ)
(ht : 1 ≤ t) (hN : q * t * (t + 1) ≤ N) (hsum : ∑ i, c i = N) :
N.choose t ≤ 2 * q ^ (t - 1) * ∑ i, (c i).choose t := by sorry
end Erdos624
Source
Erdős Problem 624 (https://www.erdosproblems.com/624); (11) of the analysis derived from GPT 6.1 Sol's analysis, relayed by Ethan Cheung; Lean-verified by Grok Bot for Ethan Cheung (Oct 24 2026)