{
  "id": "4202",
  "ident": "NS.04202",
  "slug": "green-75",
  "title": "Ben Green's Open Problem 75",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $X \\subset \\mathbb{R}^2$ be a set of $n$ points. Does there exist a line $\\ell$ through at\nleast two points of $X$ such that the numbers of points on either side of $\\ell$ differ by at\nmost $100$?\n\nThis is a form of the Kupitz-Perles conjecture [Gr24]. We take $n \\geq 2$, since a line through\ntwo points of $X$ needs two points. If all points of $X$ are collinear, the line through them has\nno points on either side.",
  "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": "Green75.green_75",
  "statement_lean": "theorem green_75 :\n    ∀ X : Finset (ℝ × ℝ), 2 ≤ #X → ∃ p ∈ X, ∃ q ∈ X, p ≠ q ∧ imbalance X p q ≤ 100",
  "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 75\n\n*References:*\n- [Gr24] [Green, Ben. \"100 open problems.\" (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.75)\n- [CL25] Conlon, D. and Lim, J., *Everywhere unbalanced configurations*. Adv. Math. 480 (2025),\n  Paper No. 110445. [arXiv:2308.02466](https://arxiv.org/abs/2308.02466)\n- [Pi03] Pinchasi, R., *Lines with many points on both sides*. Discrete Comput. Geom. 30 (2003),\n  415-435. [doi:10.1007/s00454-003-2826-8](https://doi.org/10.1007/s00454-003-2826-8)\n-/\n\n@[expose] public section\n\nopen scoped Finset\n\nnamespace Green75\n\n/--\n`cross p q x` is the cross product $(q - p) \\times (x - p)$. For $p \\neq q$ it is positive if `x`\nlies strictly to the left of the line from `p` to `q`, negative if `x` lies strictly to the right,\nand zero if `x` lies on the line `pq`.\n-/\ndef cross (p q x : ℝ × ℝ) : ℝ :=\n  (q.1 - p.1) * (x.2 - p.2) - (q.2 - p.2) * (x.1 - p.1)\n\n/-- The number of points of `X` strictly to the left of the line from `p` to `q`. -/\nnoncomputable def leftCount (X : Finset (ℝ × ℝ)) (p q : ℝ × ℝ) : ℕ :=\n  #{x ∈ X | 0 < cross p q x}\n\n/-- The number of points of `X` strictly to the right of the line from `p` to `q`. -/\nnoncomputable def rightCount (X : Finset (ℝ × ℝ)) (p q : ℝ × ℝ) : ℕ :=\n  #{x ∈ X | cross p q x < 0}\n\n/--\n`imbalance X p q` is the absolute difference between the numbers of points of `X` on the two sides\nof the line through\n`p` and `q`. The points of `X` on the line itself are on neither side.\n-/\nnoncomputable def imbalance (X : Finset (ℝ × ℝ)) (p q : ℝ × ℝ) : ℤ :=\n  |(leftCount X p q : ℤ) - (rightCount X p q : ℤ)|\n\n/--\nLet $X \\subset \\mathbb{R}^2$ be a set of $n$ points. Does there exist a line $\\ell$ through at\nleast two points of $X$ such that the numbers of points on either side of $\\ell$ differ by at\nmost $100$?\n\nThis is a form of the Kupitz-Perles conjecture [Gr24]. We take $n \\geq 2$, since a line through\ntwo points of $X$ needs two points. If all points of $X$ are collinear, the line through them has\nno points on either side.\n-/\n@[category research open, question, AMS 5 52]\ntheorem green_75 :\n    ∀ X : Finset (ℝ × ℝ), 2 ≤ #X → ∃ p ∈ X, ∃ q ∈ X, p ≠ q ∧ imbalance X p q ≤ 100 := by\n  sorry\n\n/--\nIs there a constant $C$ such that every finite set $X \\subset \\mathbb{R}^2$ with at least two\npoints has a line through two points of $X$ whose sides differ by at most $C$? This is the\nquestion of Kupitz in the form of [CL25, Section 1], where the constant is not specified.\n\n`green_75` implies it with $C = 100$.\n-/\n@[category research open, question, AMS 5 52]\ntheorem green_75.variants.exists_constant :\n    ∃ C : ℕ, ∀ X : Finset (ℝ × ℝ), 2 ≤ #X →\n      ∃ p ∈ X, ∃ q ∈ X, p ≠ q ∧ imbalance X p q ≤ C := by\n  sorry\n\n/--\nPinchasi [Pi03] proved that the answer to `green_75` is yes if $100$ is replaced by\n$C \\log \\log n$ for an absolute constant $C$, where $n = |X|$ [Gr24]. This is the best known bound.\n[CL25, Theorem 1.1] states Pinchasi's theorem for generalised configurations (points with\npseudolines); sets of points with lines are a special case. The hypothesis $n \\geq 3$ ensures\nthat $\\log \\log n > 0$.\n-/\n@[category research solved, AMS 5 52]\ntheorem green_75.variants.pinchasi :\n    ∃ C : ℝ, ∀ X : Finset (ℝ × ℝ), 3 ≤ #X → ∃ p ∈ X, ∃ q ∈ X, p ≠ q ∧\n      (imbalance X p q : ℝ) ≤ C * Real.log (Real.log #X) := by\n  sorry\n\n/--\nKupitz conjectured that one can take the difference to be at most $1$ [CL25, Section 1]. Alon\nshowed that this is false: there are finite point sets for which, for every line through two of\nits points, the numbers of points on the two sides differ by at least $2$ [CL25, Section 1].\n[Gr24] phrases this as: the answer to `green_75` is no if $100$ is replaced by $2$. Since the\nsets in [CL25] have differences of at least $2$, they show that $100$ cannot be replaced by $1$.\nWe state the form given in [CL25].\n-/\n@[category research solved, AMS 5 52]\ntheorem green_75.variants.alon :\n    ∃ X : Finset (ℝ × ℝ), 2 ≤ #X ∧ ∀ p ∈ X, ∀ q ∈ X, p ≠ q → 2 ≤ imbalance X p q := by\n  sorry\n\n/-- The point `p` is on neither side of a line through `p`. -/\n@[category API, AMS 5 52]\ntheorem cross_self_left (p q : ℝ × ℝ) : cross p q p = 0 := by\n  unfold cross\n  ring\n\n/-- The point `q` is on neither side of a line through `q`. -/\n@[category API, AMS 5 52]\ntheorem cross_self_right (p q : ℝ × ℝ) : cross p q q = 0 := by\n  unfold cross\n  ring\n\n/--\nFor a set of two points, the line through them has no points on either side. So `green_75` has\ncontent only for $n \\geq 3$.\n-/\n@[category test, AMS 5 52]\ntheorem imbalance_pair (p q : ℝ × ℝ) : imbalance {p, q} p q = 0 := by\n  have hl : leftCount {p, q} p q = 0 := by\n    unfold leftCount\n    rw [Finset.card_eq_zero, Finset.filter_eq_empty_iff]\n    intro x hx\n    rcases Finset.mem_insert.1 hx with h | h\n    · rw [h, cross_self_left]\n      exact lt_irrefl _\n    · rw [Finset.mem_singleton.1 h, cross_self_right]\n      exact lt_irrefl _\n  have hr : rightCount {p, q} p q = 0 := by\n    unfold rightCount\n    rw [Finset.card_eq_zero, Finset.filter_eq_empty_iff]\n    intro x hx\n    rcases Finset.mem_insert.1 hx with h | h\n    · rw [h, cross_self_left]\n      exact lt_irrefl _\n    · rw [Finset.mem_singleton.1 h, cross_self_right]\n      exact lt_irrefl _\n  simp [imbalance, hl, hr]\n\nend Green75\n",
  "statement_hash": "e24ec1c723c37a7653ad65cf53098feef00cac9bcf77f9cd38b893e37ddb9e77",
  "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."
}