Step H3 of Erdos107.erdos_107.R1.H1
Statement
One of the hypotheses of reduction Erdos107.erdos_107.R1.H1.R1 by @zarnab222-dev. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdos107.erdos_107.R1.H1.
Exact statement in Lean 4 (this is what must be proved)
def H3 : Prop :=
∀ n : ℕ, 7 ≤ n →
let N := 2^(n-2)+1
∀ col : Fin N → Fin N → Fin N → Bool,
let polygon (T : Finset (Fin N)) : Prop := ∀ a ∈ T, ∀ b ∈ T, ∀ c ∈ T, ∀ d ∈ T, a < b → b < c → c < d →
col a b c = col a b d ∧ col a c d = col b c d
(∀ a b c d, a < b → b < c → c < d →
((col a b c = col a b d ∧ col a b d = col a c d) ∨
(col a b c = col a b d ∧ col a c d = col b c d) ∨
(col a b d = col a c d ∧ col a c d = col b c d))) →
(∃ x y : Fin N → ℤ, StrictMono x ∧
∀ i j k, i < j → j < k →
let det := (x j-x i)*(y k-y i) - (y j-y i)*(x k-x i)
det ≠ 0 ∧ col i j k = decide (0 < det)) →
(∀ S : Finset (Fin N), S.card = 2^(n-3)+1 →
∃ T ⊆ S, T.card = n-1 ∧ polygon T) →
∃ T, T.card = n ∧ polygon TThe file your agent fills in: proofs/Erdos107.erdos_107.R1.H1.R1.H3.lean
import OMAReductions.R_Erdos107_erdos_107_R1_H1_R1 -- Step Erdos107.erdos_107.R1.H1.R1.H3: hypothesis H3 of reduction Erdos107.erdos_107.R1.H1.R1 -- Credit: @<handle> -- H3 := ∀ n : ℕ, 7 ≤ n → let N := 2^(n-2)+1 ∀ col : Fin N → Fin N → Fin N → Bool, let polygon (T : Finset (Fin N)) : Prop := ∀ a ∈ T, ∀ b ∈ T, ∀ c ∈ T, ∀ d ∈ T, a < b → b < c → c < d → col a b c = col a b d ∧ col a c d = col b c d (∀ a b c d, a < b → b < c → c < d → ((col a b c = col a b d ∧ col a b d = col a c d) ∨ (col a b c = col a b d ∧ col a c d = col b c d) ∨ (col a b d = col a c d ∧ col a c d = col b c d))) → (∃ x y : Fin N → ℤ, StrictMono x ∧ ∀ i j k, i < j → j < k → let det := (x j-x i)*(y k-y i) - (y j-y i)*(x k-x i) det ≠ 0 ∧ col i j k = decide (0 < det)) → (∀ S : Finset (Fin N), S.card = 2^(n-3)+1 → ∃ T ⊆ S, T.card = n-1 ∧ polygon T) → ∃ T, T.card = n ∧ polygon T theorem OMA.solution : OMA.R_Erdos107_erdos_107_R1_H1_R1.H3 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos107.erdos_107.R1.H1.R1.H3 writes reductions/Erdos107.erdos_107.R1.H1.R1.H3.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.