{
  "id": "462",
  "ident": "NS.00462",
  "slug": "erdos-1047",
  "title": "Erdős Problem 1047",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $f\\in \\mathbb{C}[x]$ be a monic polynomial with $m$ distinct roots, and let $c>0$ be a\nconstant small enough such that $\\{ z: \\lvert f(z)\\rvert\\leq c\\}$ has $m$ distinct connected\ncomponents.\n\nMust all these components be convex?\n\nA question of Grunsky, which was reported by Erdős, Herzog, and Piranian [EHP58].\n\nThe answer is no, as shown by Pommerenke [Po61], who showed that, if $k$ is sufficiently large,\nand $f(z)=z^k(z-a)$ where $a$ is sufficiently close to $(1+\\frac{1}{k})k^{\\frac{1}{k+1}}$, then\n$\\{ z: \\lvert f(z)\\rvert\\leq 1\\}$ has two components, and the component which contains $0$ is\nnot convex.\n\nThis was formalized in Lean by Alexeev using Aristotle.",
  "subjects": [
    "math.CV",
    "math.MG",
    "msc:30",
    "msc:52"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1047.erdos_1047",
  "statement_lean": "theorem erdos_1047 :\n    ¬ ∀ (f : ℂ[X]) (m : ℕ) (c : ℝ), f.Monic → (f.rootSet ℂ).ncard = m → 0 < c →\n      (componentsIn (sublevelSet f c)).ncard = m →\n        ∀ t ∈ componentsIn (sublevelSet f c), Convex ℝ t",
  "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# Erdős Problem 1047\n\n*References:*\n- [erdosproblems.com/1047](https://www.erdosproblems.com/1047)\n- [EHP58] Erdős, P. and Herzog, F. and Piranian, G., *Metric properties of polynomials*.\n  J. Analyse Math. (1958), 125-148.\n- [Go66] Goodman, A. W., *On the convexity of the level curves of a polynomial*.\n  Proc. Amer. Math. Soc. (1966), 358-361.\n- [Po61] Pommerenke, Ch., *On metric properties of complex polynomials*. Michigan Math. J.\n  (1961), 97-115.\n-/\n\n@[expose] public section\n\nopen Polynomial\n\nnamespace Erdos1047\n\n/-- The sublevel set $\\{ z: \\lvert f(z)\\rvert\\leq c\\}$ of a polynomial $f\\in\\mathbb{C}[x]$. -/\ndef sublevelSet (f : ℂ[X]) (c : ℝ) : Set ℂ := {z : ℂ | ‖f.eval z‖ ≤ c}\n\n/-- The strict sublevel set $\\{ z: \\lvert f(z)\\rvert< c\\}$ of a polynomial $f\\in\\mathbb{C}[x]$. -/\ndef strictSublevelSet (f : ℂ[X]) (c : ℝ) : Set ℂ := {z : ℂ | ‖f.eval z‖ < c}\n\n/-- The connected components of a set `s ⊆ ℂ`, viewed as subsets of `ℂ`. -/\ndef componentsIn (s : Set ℂ) : Set (Set ℂ) :=\n  {t : Set ℂ | ∃ z ∈ s, t = connectedComponentIn s z}\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $f\\in \\mathbb{C}[x]$ be a monic polynomial with $m$ distinct roots, and let $c>0$ be a\nconstant small enough such that $\\{ z: \\lvert f(z)\\rvert\\leq c\\}$ has $m$ distinct connected\ncomponents.\n\nMust all these components be convex?\n\nA question of Grunsky, which was reported by Erdős, Herzog, and Piranian [EHP58].\n\nThe answer is no, as shown by Pommerenke [Po61], who showed that, if $k$ is sufficiently large,\nand $f(z)=z^k(z-a)$ where $a$ is sufficiently close to $(1+\\frac{1}{k})k^{\\frac{1}{k+1}}$, then\n$\\{ z: \\lvert f(z)\\rvert\\leq 1\\}$ has two components, and the component which contains $0$ is\nnot convex.\n\nThis was formalized in Lean by Alexeev using Aristotle.\n-/\n@[category research solved, question, AMS 30 52, formal_proof using lean4 at\n\"https://github.com/plby/lean-proofs/blob/main/src/latest/ErdosProblems/Erdos1047.lean\"]\ntheorem erdos_1047 :\n    ¬ ∀ (f : ℂ[X]) (m : ℕ) (c : ℝ), f.Monic → (f.rootSet ℂ).ncard = m → 0 < c →\n      (componentsIn (sublevelSet f c)).ncard = m →\n        ∀ t ∈ componentsIn (sublevelSet f c), Convex ℝ t := by\n  sorry\n\n/--\nThe answer is no, as shown by Pommerenke [Po61], who showed that, if $k$ is sufficiently large,\nand $f(z)=z^k(z-a)$ where $a$ is sufficiently close to $(1+\\frac{1}{k})k^{\\frac{1}{k+1}}$, then\n$\\{ z: \\lvert f(z)\\rvert\\leq 1\\}$ has two components, and the component which contains $0$ is\nnot convex.\n-/\n@[category research solved, AMS 30 52]\ntheorem erdos_1047.variants.pommerenke :\n    ∀ᶠ k : ℕ in Filter.atTop, ∃ δ : ℝ, 0 < δ ∧ ∀ a : ℝ,\n      (1 + 1 / (k : ℝ)) * (k : ℝ) ^ ((1 : ℝ) / ((k : ℝ) + 1)) < a →\n        a < (1 + 1 / (k : ℝ)) * (k : ℝ) ^ ((1 : ℝ) / ((k : ℝ) + 1)) + δ →\n          (componentsIn (sublevelSet (X ^ k * (X - C (a : ℂ))) 1)).ncard = 2 ∧\n          ¬ Convex ℝ (connectedComponentIn (sublevelSet (X ^ k * (X - C (a : ℂ))) 1) 0) := by\n  sorry\n\n/--\nGoodman [Go66] proved that one of the three components of\n$$\\{ z: \\lvert (z^2+1)(z-2)^2\\rvert < 5^{3/2}/4\\}$$\nis not convex.\n-/\n@[category research solved, AMS 30 52]\ntheorem erdos_1047.variants.goodman :\n    (componentsIn (strictSublevelSet ((X ^ 2 + 1) * (X - C 2) ^ 2)\n        ((5 : ℝ) ^ ((3 : ℝ) / 2) / 4))).ncard = 3 ∧\n      ∃ t ∈ componentsIn (strictSublevelSet ((X ^ 2 + 1) * (X - C 2) ^ 2)\n        ((5 : ℝ) ^ ((3 : ℝ) / 2) / 4)), ¬ Convex ℝ t := by\n  sorry\n\n/--\nGoodman [Go66] constructed an example with simple roots, of degree $4$.\n-/\n@[category research solved, AMS 30 52]\ntheorem erdos_1047.variants.goodman_simple_roots :\n    ∃ (f : ℂ[X]) (c : ℝ), f.Monic ∧ f.natDegree = 4 ∧ (f.rootSet ℂ).ncard = 4 ∧ 0 < c ∧\n      (componentsIn (sublevelSet f c)).ncard = 4 ∧\n      ∃ t ∈ componentsIn (sublevelSet f c), ¬ Convex ℝ t := by\n  sorry\n\n/--\nThe referee of the paper [Go66] also gave the example of $\\lvert z(z^5-1)\\rvert< 5\\cdot 6^{-6/5}$.\n-/\n@[category research solved, AMS 30 52]\ntheorem erdos_1047.variants.referee :\n    (componentsIn (strictSublevelSet (X * (X ^ 5 - 1))\n        (5 * (6 : ℝ) ^ (-(6 : ℝ) / 5)))).ncard = 6 ∧\n      ∃ t ∈ componentsIn (strictSublevelSet (X * (X ^ 5 - 1))\n        (5 * (6 : ℝ) ^ (-(6 : ℝ) / 5))), ¬ Convex ℝ t := by\n  sorry\n\ndef erdos_1047.variants.max_non_convex_components.answer (n : ℕ) : ℕ :=\n  if n ≤ 1 then 0 else if n = 2 then 1 else if n = 3 then 2 else n\n\nset_option linter.style.formal_proof_palomar false in\n/--\nGoodman raises the question of the maximum number of non-convex components of\n$\\{ z: \\lvert f(z)\\rvert < c\\}$ that are possible as a function of the degree of $f$, where\n$f$ ranges over all monic polynomials of degree $n$ and $c$ over all positive constants.\n\nThe maximum is $0$ for $n \\le 1$, $1$ for $n = 2$, $2$ for $n = 3$, and $n$ for $n \\ge 4$.\n-/\n@[category research solved, question value, AMS 30 52, formal_proof using lean4 at\n\"https://github.com/KitaKen1/erdos-1047-max-nonconvex-components/blob/87cc8666968b8228778fae5c5e54465128a864f6/lean/Erdos1047MaxNonConvexFC.lean#L31160-L31164\"]\ntheorem erdos_1047.variants.max_non_convex_components (n : ℕ) :\n    IsGreatest {k : ℕ | ∃ (f : ℂ[X]) (c : ℝ), f.Monic ∧ f.natDegree = n ∧ 0 < c ∧\n      {t ∈ componentsIn (strictSublevelSet f c) | ¬ Convex ℝ t}.ncard = k}\n      (erdos_1047.variants.max_non_convex_components.answer n) := by\n  sorry\n\nend Erdos1047\n",
  "statement_hash": "69c5da2f93572fc03833198dc948371cf794ba318b4d7e236c3e863cb8f6266d",
  "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."
}