{
  "id": "4239",
  "ident": "NS.04239",
  "slug": "green-91",
  "title": "Ben Green's Open Problem 91",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Take a random graph $G(n, \\frac{1}{2})$. Is there almost surely a bipartition of $G$ into two sets\nof $n/2$ vertices with the property that $99\\%$ of vertices have more neighbours on their own side\nthan on the other?\n\nWe read \"almost surely\" as \"with probability tending to $1$ as $n \\to \\infty$\", and \"$99\\%$ of\nvertices\" as at least $\\frac{99}{100} n$ vertices. A bisection is the partition into a set `s` with\n$\\lfloor n/2 \\rfloor$ elements and its complement; for odd $n$ the parts have sizes differing by\none, as in [FKNSS22]. [Gr24] writes that the question \"was apparently asked by Füredi in 1988\".\nThe answer is yes\n[FKNSS22, Theorem 1.1], see `green_91.variants.fknss`.",
  "subjects": [
    "math.CO",
    "math.PR",
    "msc:05",
    "msc:60"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green91.green_91",
  "statement_lean": "theorem green_91 :\n    Tendsto (fun n : ℕ ↦ prob n fun G ↦\n      ∃ s : Finset (Fin n), s.card = n / 2 ∧ (99 / 100 : ℝ) * n ≤ numFriendly G s)\n      atTop (𝓝 1)",
  "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 91\n\n*References:*\n- [Gr24] [Green, Ben. \"100 open problems.\" (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.91)\n- [FKNSS22] Ferber, A., Kwan, M., Narayanan, B., Sah, A. and Sawhney, M., *Friendly bisections of\n  random graphs*. Comm. Amer. Math. Soc. 2 (2022), 380--416.\n  [arXiv:2105.13337](https://arxiv.org/abs/2105.13337)\n- [MSS24] Minzer, D., Sah, A. and Sawhney, M., *On perfectly friendly bisections of random\n  graphs*. Ann. Probab. 52 (2024), 2281--2341.\n  [arXiv:2305.03543](https://arxiv.org/abs/2305.03543)\n-/\n\n@[expose] public section\n\nopen Filter Asymptotics\nopen scoped Topology\n\nnamespace Green91\n\n/--\n`prob n P` is the probability that the random graph $G(n, 1/2)$ on the vertex set `Fin n` has the\nproperty `P`. Each edge is present independently with probability $1/2$, so every graph has the\nsame probability $2^{-\\binom{n}{2}}$.\n-/\nnoncomputable def prob (n : ℕ) (P : SimpleGraph (Fin n) → Prop) : ENNReal :=\n  SimpleGraph.binomialRandom (Fin n) ⟨1 / 2, by norm_num⟩ {G | P G}\n\nopen scoped Classical in\n/--\n`friendliness G s v` is the number of neighbours of `v` on its own side minus the number of\nneighbours of `v` on the other side, for the partition of the vertices into `s` and its\ncomplement. This is the quantity $\\Delta(v)$ of [FKNSS22, Section 2].\n-/\nnoncomputable def friendliness {n : ℕ} (G : SimpleGraph (Fin n)) (s : Finset (Fin n))\n    (v : Fin n) : ℤ :=\n  ((Finset.univ.filter fun w ↦ G.Adj v w ∧ (w ∈ s ↔ v ∈ s)).card : ℤ) -\n    (Finset.univ.filter fun w ↦ G.Adj v w ∧ ¬ (w ∈ s ↔ v ∈ s)).card\n\nopen scoped Classical in\n/--\n`numFriendly G s` is the number of vertices that have more neighbours on their own side than on\nthe other side (*friendly* vertices in [FKNSS22]), for the partition of the vertices into `s` and\nits complement. A vertex with equally many neighbours on both sides is not friendly.\n-/\nnoncomputable def numFriendly {n : ℕ} (G : SimpleGraph (Fin n)) (s : Finset (Fin n)) : ℕ :=\n  (Finset.univ.filter fun v ↦ 0 < friendliness G s v).card\n\n/--\nTake a random graph $G(n, \\frac{1}{2})$. Is there almost surely a bipartition of $G$ into two sets\nof $n/2$ vertices with the property that $99\\%$ of vertices have more neighbours on their own side\nthan on the other?\n\nWe read \"almost surely\" as \"with probability tending to $1$ as $n \\to \\infty$\", and \"$99\\%$ of\nvertices\" as at least $\\frac{99}{100} n$ vertices. A bisection is the partition into a set `s` with\n$\\lfloor n/2 \\rfloor$ elements and its complement; for odd $n$ the parts have sizes differing by\none, as in [FKNSS22]. [Gr24] writes that the question \"was apparently asked by Füredi in 1988\".\nThe answer is yes\n[FKNSS22, Theorem 1.1], see `green_91.variants.fknss`.\n-/\n@[category research solved, question, AMS 5 60]\ntheorem green_91 :\n    Tendsto (fun n : ℕ ↦ prob n fun G ↦\n      ∃ s : Finset (Fin n), s.card = n / 2 ∧ (99 / 100 : ℝ) * n ≤ numFriendly G s)\n      atTop (𝓝 1) := by\n  sorry\n\n/--\n**Ferber, Kwan, Narayanan, Sah and Sawhney.** With high probability, $G(n, \\frac{1}{2})$ admits a\nbisection in which $n - o(n)$ vertices are friendly [FKNSS22, Theorem 1.1]. A vertex is friendly\nif it has more neighbours in its own part than across, and a bisection is a partition into two\nparts whose sizes differ by at most one. This implies `green_91`.\n-/\n@[category research solved, AMS 5 60]\ntheorem green_91.variants.fknss :\n    ∃ f : ℕ → ℝ, f =o[atTop] (fun n : ℕ ↦ (n : ℝ)) ∧\n      Tendsto (fun n : ℕ ↦ prob n fun G ↦\n        ∃ s : Finset (Fin n), s.card = n / 2 ∧ (n : ℝ) - f n ≤ numFriendly G s)\n        atTop (𝓝 1) := by\n  sorry\n\n/--\nIs there almost surely a bipartition of $G(n, \\frac{1}{2})$ into two sets of $n/2$ vertices with\nthe property that all vertices have more neighbours on their own side than on the other?\n\n[Gr24] reports that the authors of [FKNSS22] believe this may be true. Minzer, Sah and Sawhney\n[MSS24, Theorem 1.3] prove it, conditional on a numerical hypothesis [MSS24, Assumption 1.5] that\nthey check by computer, partly with interval arithmetic and partly in floating point only. Under\nthe same hypothesis they find the critical margin: for every $\\varepsilon > 0$, with high\nprobability there is a bisection in which every vertex has at least\n$(\\gamma - \\varepsilon)\\sqrt{n}$ more neighbours in its own part than in the other, but none with\n$(\\gamma + \\varepsilon)\\sqrt{n}$. Here $\\gamma = \\gamma_{\\mathrm{crit}} / \\sqrt{2} \\approx 0.17566$,\nand $\\gamma_{\\mathrm{crit}}$ is defined by an optimisation problem for Gaussian tail\nprobabilities [MSS24, Definition 1.2].\n-/\n@[category research solved, question, AMS 5 60]\ntheorem green_91.variants.all_friendly :\n    Tendsto (fun n : ℕ ↦ prob n fun G ↦\n      ∃ s : Finset (Fin n), s.card = n / 2 ∧ ∀ v, 0 < friendliness G s v)\n      atTop (𝓝 1) := by\n  sorry\n\nend Green91\n",
  "statement_hash": "c8d17390c5f11d59188488445016eb7cc7b26ff6d3e699f4b9f9d52aab7b035f",
  "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."
}