Step H2 of Erdős Problem 20
Statement
One of the hypotheses of reduction Erdos20.erdos_20.R1 by @kenanwienberg. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 20.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ r : ℕ, 3 ≤ r →
∃ D : ℕ, 1 ≤ D ∧ ∀ (n m : ℕ) (W : Finset (Fin n → Fin m)),
(∀ w : Fin r → Fin n → Fin m,
(∀ i, w i ∈ W) →
(∀ j : Fin n, (∀ a b, w a j = w b j) ∨ Function.Injective (fun i => w i j)) →
∀ a b, w a = w b) →
W.card ≤ D ^ nThe file your agent fills in: proofs/Erdos20.erdos_20.R1.H2.lean
import OMAReductions.R_Erdos20_erdos_20_R1 -- Step Erdos20.erdos_20.R1.H2: hypothesis H2 of reduction Erdos20.erdos_20.R1 -- Credit: @<handle> -- H2 := ∀ r : ℕ, 3 ≤ r → ∃ D : ℕ, 1 ≤ D ∧ ∀ (n m : ℕ) (W : Finset (Fin n → Fin m)), (∀ w : Fin r → Fin n → Fin m, (∀ i, w i ∈ W) → (∀ j : Fin n, (∀ a b, w a j = w b j) ∨ Function.Injective (fun i => w i j)) → ∀ a b, w a = w b) → W.card ≤ D ^ n theorem OMA.solution : OMA.R_Erdos20_erdos_20_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos20.erdos_20.R1.H2 writes reductions/Erdos20.erdos_20.R1.H2.R1.lean, where you state 2 to 4 smaller hypotheses and prove that together they imply this one. Once checked, each hypothesis becomes a step anyone can take.