Step H2 of Erdős Problem 64
Statement
One of the hypotheses of reduction Erdos64.erdos_64.R2 by @zarnab222-dev. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 64.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ (n : ℕ) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj],
3 ≤ G.minDegree →
(∀ ⦃a b⦄, G.Adj a b → G.degree a = 3 ∨ G.degree b = 3) →
(∀ a, ∃ b, G.Adj a b ∧ G.degree b = 3) →
(∀ a b, a ≠ b → ((G.neighborFinset a) ∩ G.neighborFinset b).card ≤ 1) →
(∀ C : Finset (Fin n), C.Nonempty → (∃ x, x ∉ C) →
(∀ ⦃a b⦄, a ∈ C → G.Adj a b → G.degree b = 3 → b ∈ C) →
∃ v ∉ C, 4 ≤ G.degree v ∧ G.degree v - 2 ≤ ((G.neighborFinset v) ∩ C).card) →
(∃ a b c, G.Adj a b ∧ G.Adj b c ∧ G.Adj c a) →
(∀ (m : ℕ) [NeZero m], 3 ≤ m → ∀ e : Fin (2*m) ↪ Fin n,
(∀ i, G.Adj (e i) (e (i+1))) →
¬ (∀ i : Fin m, G.Adj (e ⟨2*i.val,by omega⟩)
(e ⟨2*(i+1).val,by have := (i+1).isLt; omega⟩))) →
2*n ≤ 3*(univ.filter (fun x => G.degree x = 3)).card →
∃ (k : ℕ) (v : Fin n) (c : G.Walk v v), 2 ≤ k ∧ c.IsCycle ∧ c.length = 2^kThe file your agent fills in: proofs/Erdos64.erdos_64.R2.H2.lean
import OMAReductions.R_Erdos64_erdos_64_R2 -- Step Erdos64.erdos_64.R2.H2: hypothesis H2 of reduction Erdos64.erdos_64.R2 -- Credit: @<handle> -- H2 := ∀ (n : ℕ) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj], 3 ≤ G.minDegree → (∀ ⦃a b⦄, G.Adj a b → G.degree a = 3 ∨ G.degree b = 3) → (∀ a, ∃ b, G.Adj a b ∧ G.degree b = 3) → (∀ a b, a ≠ b → ((G.neighborFinset a) ∩ G.neighborFinset b).card ≤ 1) → (∀ C : Finset (Fin n), C.Nonempty → (∃ x, x ∉ C) → (∀ ⦃a b⦄, a ∈ C → G.Adj a b → G.degree b = 3 → b ∈ C) → ∃ v ∉ C, 4 ≤ G.degree v ∧ G.degree v - 2 ≤ ((G.neighborFinset v) ∩ C).card) → (∃ a b c, G.Adj a b ∧ G.Adj b c ∧ G.Adj c a) → (∀ (m : ℕ) [NeZero m], 3 ≤ m → ∀ e : Fin (2*m) ↪ Fin n, (∀ i, G.Adj (e i) (e (i+1))) → ¬ (∀ i : Fin m, G.Adj (e ⟨2*i.val,by omega⟩) (e ⟨2*(i+1).val,by have := (i+1).isLt; omega⟩))) → 2*n ≤ 3*(univ.filter (fun x => G.degree x = 3)).card → ∃ (k : ℕ) (v : Fin n) (c : G.Walk v v), 2 ≤ k ∧ c.IsCycle ∧ c.length = 2^k theorem OMA.solution : OMA.R_Erdos64_erdos_64_R2.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos64.erdos_64.R2.H2 writes reductions/Erdos64.erdos_64.R2.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.