{
  "id": "4195",
  "ident": "NS.04195",
  "slug": "green-72--green-72-variants-eventually",
  "title": "Ben Green's Open Problem 72 · variants.eventually",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Is $2N$ attained for all sufficiently large $N$?\n\nThis is not the negation of `green_72`. Negating that one gives $\\exists^f N$ where this asks\n$\\forall^f N$, so both can be answered `False` if the behaviour oscillates. Green asks his\nquestion in the `green_72` form.",
  "subjects": [
    "math.CO",
    "math.MG",
    "msc:05",
    "msc:52"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green72.green_72.variants.eventually",
  "statement_lean": "theorem green_72.variants.eventually : ∀ᶠ N in Filter.atTop, NoKInLineFor 3 N",
  "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 72\n\nMore commonly known as the **no-three-in-line problem**.\n\nWhat is the largest subset of the grid $[N]^2$ with no three points in a line? In particular,\nfor $N$ sufficiently large, is it impossible to have a set of size $2N$ with this property?\n\nThe upper bound $2N$ is the easy half and is `allowedSetSize_le` below, by pigeonhole on the\ncolumns. The open content is whether $2N$ is attained. Green records that it is for $N$ up to\naround 50, that $(3/2 + o(1))N$ points are achievable for arbitrary $N$, and that his \"personal\nsuspicion is that this is optimal\". The Wikipedia reference points the same way: Guy and Kelly\nconjectured $c = \\sqrt[3]{2\\pi^2/3} \\approx 1.874$, and after an error in the heuristic was found\nGuy corrected it to $c = \\pi/\\sqrt3 \\approx 1.814$. Both are below $2$, so the expected answer to\nthe question above is yes.\n\n*References:*\n- [Ben Green's Open Problem 72](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.72)\n- [Wikipedia](https://en.wikipedia.org/wiki/No-three-in-line_problem)\n- [GK2025] Grebennikov, A. Kwan, M. No $(k + 1)$-in-line problem for large constant $k$.\n  https://arxiv.org/abs/2510.17743\n-/\n\n@[expose] public section\n\nnamespace Green72\n\n/-- We say a subset of $[N]^2$ is allowed for some $k$ if it contains no $k$ points\nwhich lie on a common line. -/\nstructure AllowedSet (k : ℕ) (N : ℕ) (s : Finset (ℕ × ℕ)) : Prop where\n  is_bounded : ∀ i ∈ s, i.1 < N ∧ i.2 < N\n  not_collinear : ∀ ⦃t : Finset (ℕ × ℕ)⦄, t ⊆ s → t.card = k →\n    ¬ Collinear ℝ ({r | ∃ i ∈ t, r = ((↑i.1 : ℝ), (↑i.2 : ℝ))} : Set (ℝ × ℝ))\n\n/-- The maximal size of an allowed set -/\nnoncomputable def AllowedSetSize (k : ℕ) (N : ℕ) : ℕ :=\n  sSup {r | ∃ s, r = s.card ∧ AllowedSet k N s}\n\n/-- By the pigeon hole principle, the size of a subset of an $N \\times N$ grid such that no $k$\npoints lie on a line is bounded by $\\leq (k - 1) * N$. -/\n@[category textbook, AMS 5 52]\ntheorem allowedSetSize_le {k : ℕ} {N : ℕ} :\n    AllowedSetSize k N ≤ (k - 1) * N := by\n  refine csSup_le' ?_\n  rintro r ⟨s, rfl, hs⟩\n  -- Every column of the grid meets an allowed set in at most $k - 1$ points, since $k$ points\n  -- sharing a first coordinate lie on a common vertical line.\n  have key : ∀ x ∈ Finset.range N, (s.filter fun i => i.1 = x).card ≤ k - 1 := by\n    intro x _\n    by_contra hc\n    obtain ⟨t, hts, htc⟩ := Finset.exists_subset_card_eq (n := k)\n      (s := s.filter fun i => i.1 = x) (by omega)\n    refine hs.not_collinear (hts.trans (Finset.filter_subset _ _)) htc ?_\n    rw [collinear_iff_exists_forall_eq_smul_vadd]\n    refine ⟨((x : ℝ), 0), (0, 1), ?_⟩\n    rintro p ⟨i, hi, rfl⟩\n    exact ⟨i.2, by simp [(Finset.mem_filter.mp (hts hi)).2]⟩\n  calc s.card\n      = ∑ x ∈ Finset.range N, (s.filter fun i => i.1 = x).card :=\n        Finset.card_eq_sum_card_fiberwise fun i hi => Finset.mem_range.mpr (hs.is_bounded i hi).1\n    _ ≤ ∑ _x ∈ Finset.range N, (k - 1) := Finset.sum_le_sum key\n    _ = (k - 1) * N := by simp [mul_comm]\n\n/-- The proposition that the allowed-set size for $k$ and $N$ is $(k - 1) * N$. -/\ndef NoKInLineFor (k : ℕ) (N : ℕ) : Prop :=\n  AllowedSetSize k N = (k - 1) * N\n\ndef NoKInLine.answer : Set ℕ := sorry\n\n/-- The **no-k-in-line problem**:\nFor which $k > 2$ does every $N \\times N$ grid with $N \\geq k$ contain a set of $(k - 1) N$ points\nwith no $k$ on a line, so that `AllowedSetSize k N` is the pigeonhole bound $(k - 1) N$?\n\n[GK2025] proves that every $k > 10^{37}$ has this property, which is `no_k_in_line_big` below,\nand does not optimise this constant. At $k = 3$ it is the property that Green expects to fail\nfor large $N$, see `green_72`.\n-/\n@[category research open, question value, AMS 5 52]\ntheorem NoKInLine : NoKInLine.answer = {k | 2 < k ∧ ∀ N, k ≤ N → NoKInLineFor k N} := by\n  sorry\n\n/-- **Green's Open Problem 72 / No-three-in-line problem**:\nFor $N$ sufficiently large, is it impossible to have $2N$ points in $[N]^2$ with no three in a\nline? Green suspects the answer is yes, and that $(3/2 + o(1))N$ is optimal. -/\n@[category research open, question, AMS 5 52]\ntheorem green_72 : ∀ᶠ N in Filter.atTop, ¬ NoKInLineFor 3 N := by\n  sorry\n\nalias no_three_in_line := green_72\n\n/-- Is $2N$ attained for all sufficiently large $N$?\n\nThis is not the negation of `green_72`. Negating that one gives $\\exists^f N$ where this asks\n$\\forall^f N$, so both can be answered `False` if the behaviour oscillates. Green asks his\nquestion in the `green_72` form. -/\n@[category research open, question, AMS 5 52]\ntheorem green_72.variants.eventually : ∀ᶠ N in Filter.atTop, NoKInLineFor 3 N := by\n  sorry\n\n/-- For $N \\leq 60$, this has been verified with computers. -/\n@[category research solved, AMS 5 52]\ntheorem no_three_in_line_le {N : ℕ} (hN : 3 ≤ N) (hN' : N ≤ 60) :\n    NoKInLineFor 3 N := by\n  sorry\n\n/-- In [GK2025] Grebennikov and Kwan prove that the pigeonhole bound $(k - 1) N$ is attained\nfor $k > 10 ^ {37}$ and $N \\geq k$. -/\n@[category research solved, AMS 5 52]\ntheorem no_k_in_line_big {k : ℕ} (N : ℕ) (h : 10 ^ 37 < k) (hN : k ≤ N) :\n    NoKInLineFor k N := by\n  sorry\n\n-- TODO: Add lower bound for no-three-in-line\n\nend Green72\n",
  "statement_hash": "4962de09b429069cb47c72c43bc698a8fcc485b9bdbda86635f5c568d7a80452",
  "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."
}