Lefebvre's variations, No. 106 — on a theme by Erdős and Szekeres: nine points in general position contain a convex pentagon
ProvedLefebvreVariations.es_convex_pentagon_nineLet be a set of points, no three collinear. Then contains points in convex position.
This is the case of the Erdős–Szekeres happy-ending conjecture, which asserts that points in general position always contain points in convex position. For the number is sharp. The conjecture is known for and open for , where only the Suk bound is known.
Formalization Note S : Finset (EuclideanSpace ℝ (Fin 2)) with S.card = 9. General position is the hypothesis that for pairwise distinct a b c ∈ S the set {a, b, c} is not collinear. The conclusion gives T ⊆ S with T.card = 5 such that the inclusion T → EuclideanSpace ℝ (Fin 2) is ConvexIndependent ℝ, i.e. no point of T lies in the convex hull of the other four.
Why this is a variation. Small case of the Erdos-Szekeres happy-ending conjecture (ES(n) = 2^(n-2) + 1), namely n = 5, upper half ES(5) <= 9. The platform entry erdos_szekeres_conjecture is marked Disproved as formalized there, so there is no open platform parent; this statement is a faithful finite case of the mathematical conjecture, which is open for n >= 7.
Attribution. This statement belongs to Lefebvre's variations, a series proposed by Erwan Lefebvre: each variation plays an open problem of the platform at its first non-trivial size, so that it can be settled and then reused to attack the open problem itself.
import Mathlib set_option autoImplicit false
namespace LefebvreVariations
/-- ES(5) ≤ 9: among any nine points of the plane, no three collinear, some five are in convex
position. -/
theorem es_convex_pentagon_nine (S : Finset (EuclideanSpace ℝ (Fin 2)))
(hcard : S.card = 9)
(hgen : ∀ a ∈ S, ∀ b ∈ S, ∀ c ∈ S, a ≠ b → b ≠ c → a ≠ c →
¬ Collinear ℝ ({a, b, c} : Set (EuclideanSpace ℝ (Fin 2)))) :
∃ T ⊆ S, T.card = 5 ∧
ConvexIndependent ℝ ((↑) : (↑T : Set (EuclideanSpace ℝ (Fin 2))) → EuclideanSpace ℝ (Fin 2)) := by
sorry
end LefebvreVariations