Step H2 of Erdos210.erdos_210.variants.csima_sawyer.R1.H1
Statement
One of the hypotheses of reduction Erdos210.erdos_210.variants.csima_sawyer.R1.H1.R1 by @dk8827. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdos210.erdos_210.variants.csima_sawyer.R1.H1.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ (s : Finset ℝ²), 8 ≤ s.card → ¬ Collinear ℝ (s : Set ℝ²) →
¬ (∃ L M : AffineSubspace ℝ ℝ², Module.finrank ℝ L.direction = 1 ∧
Module.finrank ℝ M.direction = 1 ∧ ∀ p ∈ s, p ∈ L ∨ p ∈ M) →
let O := ordinaryLines s
let d := fun p : ℝ² => (O.filter (fun L => p ∈ L)).card
let v := fun p : ℝ² => (![p 0, p 1, 1] : Fin 3 → ℝ)
let attached := fun (w : ℝ²) (L : AffineSubspace ℝ ℝ²) =>
∃ p ∈ s, ∃ q ∈ s, p ≠ q ∧ p ∈ L ∧ q ∈ L ∧ w ∉ L ∧
∃ ε δ : ℝ, ε ^ 2 = 1 ∧ δ ^ 2 = 1 ∧
∀ z ∈ s, ∃ a b c : ℝ,
v z = a • v p + b • (ε • v q) + c • (δ • v w) ∧
((0 ≤ a ∧ 0 ≤ b ∧ 0 ≤ c) ∨ (a ≤ 0 ∧ b ≤ 0 ∧ c ≤ 0))
let A := fun p => (O.filter (attached p)).card
∀ p ∈ s, d p = 1 → 2 ≤ A pThe file your agent fills in: proofs/Erdos210.erdos_210.variants.csima_sawyer.R1.H1.R1.H2.lean
import OMAReductions.R_Erdos210_erdos_210_variants_csima_sawyer_R1_H1_R1 -- Step Erdos210.erdos_210.variants.csima_sawyer.R1.H1.R1.H2: hypothesis H2 of reduction Erdos210.erdos_210.variants.csima_sawyer.R1.H1.R1 -- Credit: @<handle> -- H2 := ∀ (s : Finset ℝ²), 8 ≤ s.card → ¬ Collinear ℝ (s : Set ℝ²) → ¬ (∃ L M : AffineSubspace ℝ ℝ², Module.finrank ℝ L.direction = 1 ∧ Module.finrank ℝ M.direction = 1 ∧ ∀ p ∈ s, p ∈ L ∨ p ∈ M) → let O := ordinaryLines s let d := fun p : ℝ² => (O.filter (fun L => p ∈ L)).card let v := fun p : ℝ² => (![p 0, p 1, 1] : Fin 3 → ℝ) let attached := fun (w : ℝ²) (L : AffineSubspace ℝ ℝ²) => ∃ p ∈ s, ∃ q ∈ s, p ≠ q ∧ p ∈ L ∧ q ∈ L ∧ w ∉ L ∧ ∃ ε δ : ℝ, ε ^ 2 = 1 ∧ δ ^ 2 = 1 ∧ ∀ z ∈ s, ∃ a b c : ℝ, v z = a • v p + b • (ε • v q) + c • (δ • v w) ∧ ((0 ≤ a ∧ 0 ≤ b ∧ 0 ≤ c) ∨ (a ≤ 0 ∧ b ≤ 0 ∧ c ≤ 0)) let A := fun p => (O.filter (attached p)).card ∀ p ∈ s, d p = 1 → 2 ≤ A p theorem OMA.solution : OMA.R_Erdos210_erdos_210_variants_csima_sawyer_R1_H1_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos210.erdos_210.variants.csima_sawyer.R1.H1.R1.H2 writes reductions/Erdos210.erdos_210.variants.csima_sawyer.R1.H1.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.