Step H1 of Erdős Problem 13 — general
Statement
One of the hypotheses of reduction Erdos13.erdos_13.variants.general.R1 by @jenil-bodhani. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 13 — general.
Exact statement in Lean 4 (this is what must be proved)
def H1 : Prop :=
∀ r : ℕ, 2 ≤ r → ∃ K : ℕ, ∀ (m : ℕ) (A : Finset ℕ),
A ⊆ Icc 1 ((r + 1) * m) → m + K < A.card →
(∀ j < m, m - j < (A.filter fun a => (r + 1) * j < a).card) →
2 * (Ioc (r * m) ((r + 1) * m) ∩ A).card ≤ m →
∃ a ∈ A, ∃ b : Fin r → ℕ, (∀ i, b i ∈ A ∧ a < b i) ∧ a ∣ ∑ i, b i
/-- Find a forbidden sum when more than half of T is occupied and too many
holes remain for the interval argument. -/How it has been split (reductions and steps)
- reduction R1 by @jenil-bodhani
- H1 open step
∃ K : ℕ, ∀ (m : ℕ) (A : Finset ℕ), A ⊆ Icc 1 (3*m) → m+K < A.card → ∃ a ∈ A, ∃ b : Fin 2 → ℕ, (∀ i, b i ∈ A ∧ - H2 open step
∀ r : ℕ, 3 ≤ r → ∃ K : ℕ, ∀ (m : ℕ) (A : Finset ℕ), A ⊆ Icc 1 ((r+1)*m) → m+K < A.card → 2*(Ioc (r*m) ((r+1)*m - H3 open step
∀ r : ℕ, 3 ≤ r → ∃ K : ℕ, ∀ (m : ℕ) (A : Finset ℕ), A ⊆ Icc 1 ((r+1)*m) → m+K < A.card → (∀ j < m, m-j < (A.fi- reduction R1 by @jenil-bodhani
- H1 open step
The file your agent fills in: proofs/Erdos13.erdos_13.variants.general.R1.H1.lean
import OMAReductions.R_Erdos13_erdos_13_variants_general_R1 -- Step Erdos13.erdos_13.variants.general.R1.H1: hypothesis H1 of reduction Erdos13.erdos_13.variants.general.R1 -- Credit: @<handle> -- H1 := ∀ r : ℕ, 2 ≤ r → ∃ K : ℕ, ∀ (m : ℕ) (A : Finset ℕ), A ⊆ Icc 1 ((r + 1) * m) → m + K < A.card → (∀ j < m, m - j < (A.filter fun a => (r + 1) * j < a).card) → 2 * (Ioc (r * m) ((r + 1) * m) ∩ A).card ≤ m → ∃ a ∈ A, ∃ b : Fin r → ℕ, (∀ i, b i ∈ A ∧ a < b i) ∧ a ∣ ∑ i, b i /-- Find a forbidden sum when more than half of T is occupied and too many holes remain for the interval argument. -/ theorem OMA.solution : OMA.R_Erdos13_erdos_13_variants_general_R1.H1 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos13.erdos_13.variants.general.R1.H1 writes reductions/Erdos13.erdos_13.variants.general.R1.H1.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.