The Sylvester–Gallai ordinary line theorem
ProvedProofsInTheBook.Chapter10.euclidean_sylvester_gallaibook-chapter-11geometrylean4proofs-from-the-book
Let be a finite subset of the real Euclidean plane. Suppose there are with and P not on the affine line through u and v. Then there are distinct such that
Thus the line through a and b contains exactly those two points of S. The off-line triple is the explicit noncollinearity hypothesis of the formal statement.
Preamble
import Mathlib import Definitions.Def_ProofsInTheBook_Chapter10 open Metric open scoped Classical open ProofsInTheBook.Chapter10
Formal statement
theorem ProofsInTheBook.Chapter10.euclidean_sylvester_gallai (S : Finset EPoint) (T : OffLineTriple S) :
∃ a b : EPoint, a ∈ S ∧ b ∈ S ∧ a ≠ b ∧
(S.filter (· ∈ affineSpan ℝ ({a, b} : Set EPoint))).card = 2 := by sorrySource
Martin Aigner and Günter M. Ziegler, Proofs from THE BOOK, 6th edition, Springer, 2018, Chapter 11, “Lines in the plane and decompositions of graphs”, pp. 77–82 (https://doi.org/10.1007/978-3-662-57265-8_11). Formalization: https://github.com/xiangyazi24/proof_in_the_book/blob/88d88d141768cded75e782c525ef1bf04b8fe220/ProofsInTheBook/Chapter10.lean#L669. The citation identifies the topic, not complete formalization of every result in that chapter.