{
  "id": "4177",
  "ident": "NS.04177",
  "slug": "green-68",
  "title": "Ben Green's Open Problem 68",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Suppose that $A \\subset \\mathbb{F}_p^2$ is a set meeting every line in at most 2 points. Is it true\nthat all except $o(p)$ points of $A$ lie on a cubic curve?\n\nSuch sets are called arcs. We read \"cubic curve\" as the zero set of a nonzero polynomial of total\ndegree at most $3$ in two variables over $\\mathbb{F}_p$. This includes conics and lines, and unions\nof these. The $o(p)$ is uniform in $A$: for every $\\varepsilon > 0$ and every large prime $p$, every\narc $A$ has all but at most $\\varepsilon p$ of its points on one such curve. Green asked a\nprojective form of this question in [Gr14, Section 4.4]. [Gr24] notes that the question is more\nnatural in projective space, and that the analogue over $\\mathbb{F}_q$ with $q = p^2$ is false,\nbecause of Hermitian quadrics.",
  "subjects": [
    "math.CO",
    "math.AG",
    "math.MG",
    "msc:05",
    "msc:14",
    "msc:51"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green68.green_68",
  "statement_lean": "theorem green_68 :\n    ∀ ε : ℝ, 0 < ε → ∃ p₀ : ℕ, ∀ (p : ℕ) [Fact p.Prime], p₀ ≤ p →\n      ∀ A : Finset (Fin 2 → ZMod p), MeetsLinesInAtMost 2 A →\n        ∃ F : MvPolynomial (Fin 2) (ZMod p), F ≠ 0 ∧ F.totalDegree ≤ 3 ∧\n          (numOffCurve F A : ℝ) ≤ ε * p",
  "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 68\n\n*References:*\n- [Gr24] [Green, Ben. \"100 open problems.\" (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.68)\n- [Gr14] Green, B., *Approximate algebraic structure*. Proceedings of the ICM 2014, Vol. I,\n  Kyung Moon Sa, Seoul (2014), 341--367. [arXiv:1404.0093](https://arxiv.org/abs/1404.0093)\n- [Vo90] Voloch, J. F., *Arcs in projective planes over prime fields*. J. Geom. 38 (1990),\n  198--200.\n- [BaLa19] Ball, S. and Lavrauw, M., *Arcs in finite projective spaces*. EMS Surv. Math. Sci. 6\n  (2019), 133--172. [arXiv:1908.10772](https://arxiv.org/abs/1908.10772)\n-/\n\n@[expose] public section\n\nnamespace Green68\n\n/--\n`MeetsLinesInAtMost k A` says that the set `A` of points of the affine space $\\mathbb{F}_p^d$ meets\nevery line in at most `k` points. Equivalently, no `k + 1` points of `A` are collinear.\n-/\ndef MeetsLinesInAtMost {d p : ℕ} [Fact p.Prime] (k : ℕ) (A : Finset (Fin d → ZMod p)) : Prop :=\n  ∀ s ⊆ A, s.card = k + 1 → ¬ Collinear (ZMod p) (s : Set (Fin d → ZMod p))\n\n/--\n`numOffCurve F A` is the number of points $a$ of `A` that are not on the curve $F = 0$, that is,\nwith $F(a) \\ne 0$.\n-/\nnoncomputable def numOffCurve {d p : ℕ} (F : MvPolynomial (Fin d) (ZMod p))\n    (A : Finset (Fin d → ZMod p)) : ℕ :=\n  (A.filter fun a ↦ MvPolynomial.eval a F ≠ 0).card\n\n/--\n`maxNoThreeCollinear d p` is $f_d(p)$, the size of the largest subset of $\\mathbb{F}_p^d$ with no\nthree points on a line. The set of possible sizes is nonempty (it contains $0$) and bounded by\n$p^d$, so the supremum is the maximum.\n-/\nnoncomputable def maxNoThreeCollinear (d p : ℕ) [Fact p.Prime] : ℕ :=\n  sSup {k : ℕ | ∃ A : Finset (Fin d → ZMod p), A.card = k ∧ MeetsLinesInAtMost 2 A}\n\n/-- A set with at most `k` points meets every line in at most `k` points. -/\n@[category API, AMS 5 51]\ntheorem meetsLinesInAtMost_of_card_le {d p : ℕ} [Fact p.Prime] {k : ℕ}\n    {A : Finset (Fin d → ZMod p)} (h : A.card ≤ k) : MeetsLinesInAtMost k A := by\n  intro s hs hcard\n  exfalso\n  have := Finset.card_le_card hs\n  omega\n\n/-- `numOffCurve F A = 0` holds if and only if $F$ vanishes at every point of `A`. -/\n@[category API, AMS 5 14]\ntheorem numOffCurve_eq_zero_iff {d p : ℕ} (F : MvPolynomial (Fin d) (ZMod p))\n    (A : Finset (Fin d → ZMod p)) :\n    numOffCurve F A = 0 ↔ ∀ a ∈ A, MvPolynomial.eval a F = 0 := by\n  simp [numOffCurve, Finset.filter_eq_empty_iff]\n\n/--\nSuppose that $A \\subset \\mathbb{F}_p^2$ is a set meeting every line in at most 2 points. Is it true\nthat all except $o(p)$ points of $A$ lie on a cubic curve?\n\nSuch sets are called arcs. We read \"cubic curve\" as the zero set of a nonzero polynomial of total\ndegree at most $3$ in two variables over $\\mathbb{F}_p$. This includes conics and lines, and unions\nof these. The $o(p)$ is uniform in $A$: for every $\\varepsilon > 0$ and every large prime $p$, every\narc $A$ has all but at most $\\varepsilon p$ of its points on one such curve. Green asked a\nprojective form of this question in [Gr14, Section 4.4]. [Gr24] notes that the question is more\nnatural in projective space, and that the analogue over $\\mathbb{F}_q$ with $q = p^2$ is false,\nbecause of Hermitian quadrics.\n-/\n@[category research open, question, AMS 5 14 51]\ntheorem green_68 :\n    ∀ ε : ℝ, 0 < ε → ∃ p₀ : ℕ, ∀ (p : ℕ) [Fact p.Prime], p₀ ≤ p →\n      ∀ A : Finset (Fin 2 → ZMod p), MeetsLinesInAtMost 2 A →\n        ∃ F : MvPolynomial (Fin 2) (ZMod p), F ≠ 0 ∧ F.totalDegree ≤ 3 ∧\n          (numOffCurve F A : ℝ) ≤ ε * p := by\n  sorry\n\n/--\n**Voloch's theorem.** If $p$ is an odd prime and $A \\subset \\mathbb{F}_p^2$ is a set meeting every\nline in at most 2 points, with $|A| > \\frac{44}{45} p + \\frac{8}{9}$, then $A$ lies on a conic\n[BaLa19, Theorem 52], due to Voloch [Vo90]. This is the affine form of the theorem for planar arcs\nin $\\mathrm{PG}(2, p)$: a set of affine points is an arc in $\\mathrm{PG}(2, p)$ if and only if it\nmeets every affine line in at most 2 points, and the affine equation $Q(x, y, 1) = 0$ of a conic\n$Q = 0$ through $A$ is a nonzero polynomial of degree at most $2$ vanishing on $A$. We assume $p$\nodd, as in [BaLa19, Section 15.3].\n-/\n@[category research solved, AMS 5 14 51]\ntheorem green_68.variants.voloch :\n    ∀ (p : ℕ) [Fact p.Prime], p ≠ 2 →\n      ∀ A : Finset (Fin 2 → ZMod p), MeetsLinesInAtMost 2 A →\n        (44 : ℝ) / 45 * p + 8 / 9 < A.card →\n          ∃ F : MvPolynomial (Fin 2) (ZMod p),\n            F ≠ 0 ∧ F.totalDegree ≤ 2 ∧ ∀ a ∈ A, MvPolynomial.eval a F = 0 := by\n  sorry\n\n/--\nMore generally than in `green_68`, one may conjecture that if $A \\subset \\mathbb{F}_p^2$ meets\nevery line in $O(1)$ points, then all but $o(p)$ points of $A$ lie on a curve of degree $O(1)$\n[Gr24]. We read this as: for every $k$ there is a degree bound $d$ such that, for every\n$\\varepsilon > 0$ and every large prime $p$, every set meeting each line in at most $k$ points has\nall but at most $\\varepsilon p$ points on the zero set of a nonzero polynomial of total degree at\nmost $d$. The degree $d$ depends on $k$, not on $p$ or $\\varepsilon$.\n-/\n@[category research open, AMS 5 14 51]\ntheorem green_68.variants.bounded_intersection :\n    ∀ k : ℕ, ∃ d : ℕ, ∀ ε : ℝ, 0 < ε → ∃ p₀ : ℕ, ∀ (p : ℕ) [Fact p.Prime], p₀ ≤ p →\n      ∀ A : Finset (Fin 2 → ZMod p), MeetsLinesInAtMost k A →\n        ∃ F : MvPolynomial (Fin 2) (ZMod p), F ≠ 0 ∧ F.totalDegree ≤ d ∧\n          (numOffCurve F A : ℝ) ≤ ε * p := by\n  sorry\n\n/--\nDenote by $f_d(p)$ the size of the largest no-three-in-a-line set in $\\mathbb{F}_p^d$. Is\n$f_4(p) = o(p^3)$?\n\n[Gr24] reports that $f_2(p) \\sim p$ and $f_3(p) \\sim p^2$, and that the best known upper bound is\n$f_4(p) \\le (1 - c)p^3$ for a constant $c > 0$, due to Nagy and Szőnyi, a slight improvement of\nthe trivial bound.\n-/\n@[category research open, question, AMS 5 51]\ntheorem green_68.variants.f_four_little_o :\n    ∀ ε : ℝ, 0 < ε → ∃ p₀ : ℕ, ∀ (p : ℕ) [Fact p.Prime], p₀ ≤ p →\n      (maxNoThreeCollinear 4 p : ℝ) ≤ ε * (p : ℝ) ^ 3 := by\n  sorry\n\n/--\nIs $f_4(p) = O(p^{2+o(1)})$, where $f_d(p)$ is the size of the largest no-three-in-a-line set in\n$\\mathbb{F}_p^d$? We read $O(p^{2+o(1)})$ as: for every $\\varepsilon > 0$ there is $C$ with\n$f_4(p) \\le C p^{2+\\varepsilon}$ for all primes $p$. This is stronger than\n`green_68.variants.f_four_little_o`.\n-/\n@[category research open, question, AMS 5 51]\ntheorem green_68.variants.f_four_polynomial :\n    ∀ ε : ℝ, 0 < ε → ∃ C : ℝ, ∀ (p : ℕ) [Fact p.Prime],\n      (maxNoThreeCollinear 4 p : ℝ) ≤ C * (p : ℝ) ^ (2 + ε) := by\n  sorry\n\n/--\nLet $\\mathrm{PG}(2, q)$ be the projective plane over $\\mathbb{F}_q$. Is there a set $B \\subset\n\\mathrm{PG}(2, q)$ (a \"blocking set\") meeting every line in at least 1, but at most 1000, points?\n\nA question of this kind goes back to Erdős (see [Gr24]). For $q$ not prime such sets exist in many\ncases [Gr24]. As $q$ ranges over sufficiently large primes, it is speculated that no such set\nexists [Gr24]. We state this speculation. Points of $\\mathrm{PG}(2, p)$ are the one-dimensional\nsubspaces of $\\mathbb{F}_p^3$ (`Projectivization`), and lines are the two-dimensional subspaces.\n-/\n@[category research open, AMS 5 51]\ntheorem green_68.variants.blocking_set :\n    ∃ p₀ : ℕ, ∀ (p : ℕ) [Fact p.Prime], p₀ ≤ p →\n      ¬ ∃ B : Set (Projectivization (ZMod p) (Fin 3 → ZMod p)),\n        ∀ W : Submodule (ZMod p) (Fin 3 → ZMod p), Module.finrank (ZMod p) W = 2 →\n          1 ≤ Set.ncard {x ∈ B | x.submodule ≤ W} ∧ Set.ncard {x ∈ B | x.submodule ≤ W} ≤ 1000 := by\n  sorry\n\nend Green68\n",
  "statement_hash": "3d5d964d9971f2e065ca65c722dda568a1358ff890081fe1f2bf4d07137c4afc",
  "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."
}