{
  "id": "4183",
  "ident": "NS.04183",
  "slug": "green-69",
  "title": "Ben Green's Open Problem 69",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Fix a number $k$. Let $A \\subset \\mathbb{R}^2$ be a set of $n$ points, with no more than $k$ on\nany line. Suppose that, for at least $\\delta n^2$ pairs of points $(x, y) \\in A \\times A$, the\nline $xy$ contains a third point of $A$. Is there some cubic curve containing at least $cn$\npoints of $A$, for some $c = c(k, \\delta) > 0$?\n\nWe count ordered pairs of distinct points (`numPairsWithThird`), and a cubic curve is the zero set\nof any nonzero real polynomial of degree at most $3$ (`OnCubic`), reducible ones included. The\nconstant $c$ depends only on $k$ and $\\delta$. Small $n$ are harmless, since any $9$ points lie on\na cubic curve. [Gr24] notes that very little is known, except when $\\delta = 1 - O(1/n)$, where the\nstatement follows from the main results of [GT13].",
  "subjects": [
    "math.CO",
    "math.AG",
    "math.MG",
    "msc:05",
    "msc:14",
    "msc:52"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green69.green_69",
  "statement_lean": "theorem green_69 :\n    ∀ k : ℕ, ∀ δ : ℝ, 0 < δ → ∃ c : ℝ, 0 < c ∧ ∀ A : Finset (ℝ × ℝ), AtMostOnLine k A →\n      δ * (#A : ℝ) ^ 2 ≤ numPairsWithThird A → ∃ S ⊆ A, c * #A ≤ #S ∧ OnCubic S",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Ben Green's Open Problem 69\n\n*References:*\n- [Gr24] [Green, Ben. \"100 open problems.\" (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.69)\n- [ES13] Elekes, G. and Szabó, E., *On triple lines and cubic curves --- the Orchard problem\n  revisited*. (2013). [arXiv:1302.5777](https://arxiv.org/abs/1302.5777)\n- [GT13] Green, B. and Tao, T., *On sets defining few ordinary lines*. Discrete Comput. Geom. 50\n  (2013), 409--468. [arXiv:1208.4714](https://arxiv.org/abs/1208.4714)\n-/\n\n@[expose] public section\n\nopen scoped Finset\n\nnamespace Green69\n\n/--\n`AtMostOnLine k A` says that no line contains more than $k$ points of `A`: every collinear subset\nof `A` has at most $k$ points.\n-/\ndef AtMostOnLine (k : ℕ) (A : Finset (ℝ × ℝ)) : Prop :=\n  ∀ S ⊆ A, Collinear ℝ (S : Set (ℝ × ℝ)) → #S ≤ k\n\nopen scoped Classical in\n/--\n`numPairsWithThird A` is the number of ordered pairs $(x, y) \\in A \\times A$ of distinct points\nsuch that the line $xy$ contains a third point of `A`.\n-/\nnoncomputable def numPairsWithThird (A : Finset (ℝ × ℝ)) : ℕ :=\n  #{p ∈ A ×ˢ A | p.1 ≠ p.2 ∧ ∃ z ∈ A, z ≠ p.1 ∧ z ≠ p.2 ∧ z ∈ line[ℝ, p.1, p.2]}\n\n/--\n`OnCubic S` says that the points of `S` lie on a cubic curve: the zero set of a nonzero\npolynomial $F(x, y)$ of total degree at most $3$ with real coefficients. A point $a$ is on the\ncurve if $F(a_1, a_2) = 0$.\n\nThis includes reducible cubics (a conic and a line, three lines) and curves of lower degree.\nRequiring degree exactly $3$ gives the same notion, since multiplying $F$ by a linear polynomial\nonly enlarges its zero set.\n-/\ndef OnCubic (S : Finset (ℝ × ℝ)) : Prop :=\n  ∃ F : MvPolynomial (Fin 2) ℝ, F ≠ 0 ∧ F.totalDegree ≤ 3 ∧\n    ∀ a ∈ S, MvPolynomial.eval ![a.1, a.2] F = 0\n\n/--\n`tripleLines A` is the set of lines containing at least three points of `A`, called triple lines\nin [ES13, Definition 1.2]. Each such line is the line through two distinct points of `A`, so the\nset is finite and `Set.ncard` counts it.\n-/\ndef tripleLines (A : Finset (ℝ × ℝ)) : Set (AffineSubspace ℝ (ℝ × ℝ)) :=\n  {L | ∃ x ∈ A, ∃ y ∈ A, ∃ z ∈ A,\n    x ≠ y ∧ z ≠ x ∧ z ≠ y ∧ z ∈ line[ℝ, x, y] ∧ L = line[ℝ, x, y]}\n\n/--\nFix a number $k$. Let $A \\subset \\mathbb{R}^2$ be a set of $n$ points, with no more than $k$ on\nany line. Suppose that, for at least $\\delta n^2$ pairs of points $(x, y) \\in A \\times A$, the\nline $xy$ contains a third point of $A$. Is there some cubic curve containing at least $cn$\npoints of $A$, for some $c = c(k, \\delta) > 0$?\n\nWe count ordered pairs of distinct points (`numPairsWithThird`), and a cubic curve is the zero set\nof any nonzero real polynomial of degree at most $3$ (`OnCubic`), reducible ones included. The\nconstant $c$ depends only on $k$ and $\\delta$. Small $n$ are harmless, since any $9$ points lie on\na cubic curve. [Gr24] notes that very little is known, except when $\\delta = 1 - O(1/n)$, where the\nstatement follows from the main results of [GT13].\n-/\n@[category research open, question, AMS 5 14 52]\ntheorem green_69 :\n    ∀ k : ℕ, ∀ δ : ℝ, 0 < δ → ∃ c : ℝ, 0 < c ∧ ∀ A : Finset (ℝ × ℝ), AtMostOnLine k A →\n      δ * (#A : ℝ) ^ 2 ≤ numPairsWithThird A → ∃ S ⊆ A, c * #A ≤ #S ∧ OnCubic S := by\n  sorry\n\n/--\n**Elekes–Szabó conjecture.** If a set $H$ of points in the plane has at least $c|H|^2$ triple\nlines (lines containing at least three points of $H$), then ten or more points of $H$ lie on a\n(possibly degenerate) cubic, provided that $|H| > n_0(c)$ [ES13, Conjecture 2.1].\n\n[Gr24] states it with $cn^2$ collinear triples in place of triple lines, and notes that it is much\nweaker than `green_69` but should hold without the assumption of no more than $k$ points on a\nline. The two forms are equivalent: $10$ collinear points lie on a cubic, and otherwise each\ntriple line contains at most $\\binom{9}{3}$ collinear triples. The bound $n_0(c)$ is needed, since\na set of fewer than $10$ points can have $c|H|^2$ triple lines for small $c$. For points on an\nirreducible curve of bounded degree, see [ES13, Theorem 2.2].\n-/\n@[category research open, AMS 5 14 52]\ntheorem green_69.variants.elekes_szabo :\n    ∀ c : ℝ, 0 < c → ∃ n₀ : ℕ, ∀ A : Finset (ℝ × ℝ), n₀ < #A →\n      c * (#A : ℝ) ^ 2 ≤ (tripleLines A).ncard → ∃ S ⊆ A, #S = 10 ∧ OnCubic S := by\n  sorry\n\n/-- A subset of a set of points on a cubic curve is on the same cubic curve. -/\n@[category API, AMS 5 14]\ntheorem OnCubic.mono {S T : Finset (ℝ × ℝ)} (h : S ⊆ T) (hT : OnCubic T) : OnCubic S := by\n  obtain ⟨F, hF, hdeg, hzero⟩ := hT\n  exact ⟨F, hF, hdeg, fun a ha ↦ hzero a (h ha)⟩\n\nend Green69\n",
  "statement_hash": "658a0d3a3fed17f592c7fefd2177e272c849495b2c66bd91f1f6b8b2ca23dc39",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}