{
  "id": "448",
  "ident": "NS.00448",
  "slug": "erdos-1042",
  "title": "Erdős Problem 1042",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $F\\subset\\mathbb{C}$ be a closed set of transfinite diameter $1$ which is not contained in\nany closed disc of radius $1$.\n\nIf $f(z)=\\prod_{i=1}^n(z-z_i)\\in\\mathbb{C}[x]$ with all $z_i\\in F$ then can\n$$\\{ z: \\lvert f(z)\\rvert < 1\\}$$\nhave $n$ connected components?\n\nA problem of Erdős, Herzog, and Piranian [EHP58, p. 139, Problem 6], who proved that if $F$ is the\ndisc of radius $1$ then this set can have $n$ connected components (for example $f(z)=z^n+1$).\n\nAs in the answer of Ghosh and Ramachandran [GhRa24] to their Question 1.2, we read \"can\"\nexistentially: there is such an $F$ for which $n$ components occur for infinitely many $n$.\n[GhRa24] answer this question in the affirmative; the classical example $F=[-2,2]$\n[GhRa24, Example 2.7] already gives $n$ components for every $n\\ge 1$, see\n`erdos_1042.variants.chebyshev_segment`. The universal reading, for every such $F$, is\n`erdos_1042.variants.universal`.",
  "subjects": [
    "math.CV",
    "msc:30"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1042.erdos_1042.parts.i",
  "statement_lean": "theorem erdos_1042.parts.i :\n    ∃ F : Set ℂ, IsClosed F ∧ transfiniteDiameter F = 1 ∧\n      (∀ c : ℂ, ¬ F ⊆ Metric.closedBall c 1) ∧\n      ∃ᶠ n : ℕ in atTop, ∃ f : ℂ[X], MonicWithRootsIn F n f ∧ numComponents f = 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\npublic import FormalConjectures.ErdosProblems.«1047»\n\n/-!\n# Erdős Problem 1042\n\n*References:*\n- [erdosproblems.com/1042](https://www.erdosproblems.com/1042)\n- [EHP58] Erdős, P. and Herzog, F. and Piranian, G., *Metric properties of polynomials*.\n  J. Analyse Math. (1958), 125-148. [PDF](https://www.renyi.hu/~p_erdos/1958-05.pdf)\n- [GhRa24] Ghosh, S. and Ramachandran, K., *Number of components of polynomial lemniscates: a\n  problem of Erdős, Herzog, and Piranian*. J. Math. Anal. Appl. (2024), Paper No. 128571.\n  [arXiv:2312.13673](https://arxiv.org/abs/2312.13673)\n-/\n\n@[expose] public section\n\nopen Filter Polynomial Erdos1047\nopen scoped ENNReal\n\nnamespace Erdos1042\n\n/-- The $n$-th diameter of $F\\subseteq\\mathbb{C}$:\n$$\\sup_{z_1,\\ldots,z_n\\in F}\\Bigl(\\prod_{i<j}\\lvert z_i-z_j\\rvert\\Bigr)^{1/\\binom{n}{2}}.$$\nThe points need not be distinct. The value lies in `ℝ≥0∞`, so it is $\\infty$ (and not a junk\nvalue $0$) when $F$ is unbounded and $n\\ge 2$. For $n<2$ the exponent is $0$; these values are\nirrelevant for the limit below. -/\nnoncomputable def nthDiameter (F : Set ℂ) (n : ℕ) : ℝ≥0∞ :=\n  ⨆ z : Fin n → ℂ, ⨆ _ : ∀ i, z i ∈ F,\n    (∏ i : Fin n, ∏ j ∈ Finset.Ioi i, edist (z i) (z j)) ^ (1 / ((n.choose 2 : ℕ) : ℝ))\n\n/-- The transfinite diameter of $F\\subseteq\\mathbb{C}$ (also called the logarithmic capacity, by\nthe Fekete--Szegő theorem), defined as in the problem as the limit of the $n$-th diameters.\nThe $n$-th diameters are non-increasing in $n\\ge 2$ (Fekete), so the limit exists in `ℝ≥0∞` and\n`limsup` is that limit. It is $\\infty$ for unbounded $F$, so a closed set of finite transfinite\ndiameter is compact. -/\nnoncomputable def transfiniteDiameter (F : Set ℂ) : ℝ≥0∞ :=\n  Filter.limsup (fun n : ℕ ↦ nthDiameter F n) atTop\n\n/-- `f` is a monic polynomial of degree `n` all of whose roots lie in `F`, that is,\n$f(z)=\\prod_{i=1}^n(z-z_i)$ with all $z_i\\in F$. -/\ndef MonicWithRootsIn (F : Set ℂ) (n : ℕ) (f : ℂ[X]) : Prop :=\n  f.Monic ∧ f.natDegree = n ∧ ∀ z ∈ f.roots, z ∈ F\n\n/-- The number of connected components of the open set $\\{ z: \\lvert f(z)\\rvert < 1\\}$.\nFor non-constant `f` each component contains a root of `f` (maximum modulus principle), so there\nare at most `deg f` components and `Set.ncard` is the true count. For `f = 1` the set is\nempty. -/\nnoncomputable def numComponents (f : ℂ[X]) : ℕ :=\n  (componentsIn (strictSublevelSet f 1)).ncard\n\n/--\nLet $F\\subset\\mathbb{C}$ be a closed set of transfinite diameter $1$ which is not contained in\nany closed disc of radius $1$.\n\nIf $f(z)=\\prod_{i=1}^n(z-z_i)\\in\\mathbb{C}[x]$ with all $z_i\\in F$ then can\n$$\\{ z: \\lvert f(z)\\rvert < 1\\}$$\nhave $n$ connected components?\n\nA problem of Erdős, Herzog, and Piranian [EHP58, p. 139, Problem 6], who proved that if $F$ is the\ndisc of radius $1$ then this set can have $n$ connected components (for example $f(z)=z^n+1$).\n\nAs in the answer of Ghosh and Ramachandran [GhRa24] to their Question 1.2, we read \"can\"\nexistentially: there is such an $F$ for which $n$ components occur for infinitely many $n$.\n[GhRa24] answer this question in the affirmative; the classical example $F=[-2,2]$\n[GhRa24, Example 2.7] already gives $n$ components for every $n\\ge 1$, see\n`erdos_1042.variants.chebyshev_segment`. The universal reading, for every such $F$, is\n`erdos_1042.variants.universal`.\n-/\n@[category research solved, question, AMS 30]\ntheorem erdos_1042.parts.i :\n    ∃ F : Set ℂ, IsClosed F ∧ transfiniteDiameter F = 1 ∧\n      (∀ c : ℂ, ¬ F ⊆ Metric.closedBall c 1) ∧\n      ∃ᶠ n : ℕ in atTop, ∃ f : ℂ[X], MonicWithRootsIn F n f ∧ numComponents f = n := by\n  sorry\n\n/--\nGhosh and Ramachandran [GhRa24, Example 2.7] note that for $F=[-2,2]\\subset\\mathbb{C}$ (a closed\nset of transfinite diameter $1$ which is not contained in any closed disc of radius $1$) the\nmonic Chebyshev polynomial $f_n(z)=2T_n(z/2)$ has all its roots in $F$ and all its $n-1$ critical\nvalues equal to $\\pm 2$, so $\\{\\lvert f_n\\rvert<1\\}$ has exactly $n$ components, for every\n$n\\ge 1$.\n-/\n@[category research solved, AMS 30]\ntheorem erdos_1042.variants.chebyshev_segment (F : Set ℂ)\n    (hF : F = Complex.ofReal '' Set.Icc (-2 : ℝ) 2) :\n    IsClosed F ∧ transfiniteDiameter F = 1 ∧ (∀ c : ℂ, ¬ F ⊆ Metric.closedBall c 1) ∧\n      ∀ n : ℕ, 1 ≤ n → ∃ f : ℂ[X], MonicWithRootsIn F n f ∧ numComponents f = n := by\n  sorry\n\n/--\nThe first question of [EHP58, p. 139, Problem 6] read universally: for every closed $F$ of\ntransfinite diameter $1$ which is not contained in any closed disc of radius $1$, are there\ninfinitely many $n$ for which some $f$ with all roots in $F$ gives $n$ components?\n\nThis is not settled by [GhRa24], who prove it for closed lemniscates [GhRa24, Proposition 2.3]\nand conjecture the weaker statement $\\limsup_n C_n(F)/n=1$ for every compact $F$ of capacity $1$\n[GhRa24, §2.1.1]. \"Some $n$\" instead of infinitely many would be trivial ($n=1$).\n-/\n@[category research open, question, AMS 30]\ntheorem erdos_1042.variants.universal :\n    ∀ F : Set ℂ, IsClosed F → transfiniteDiameter F = 1 →\n      (∀ c : ℂ, ¬ F ⊆ Metric.closedBall c 1) →\n      ∃ᶠ n : ℕ in atTop, ∃ f : ℂ[X], MonicWithRootsIn F n f ∧ numComponents f = n := by\n  sorry\n\n/--\nIf the transfinite diameter of $F$ is $<1$ then must this set only have at most $(1-c)n$\nconnected components, where $c>0$ depends only on $F$ (or just the transfinite diameter of $F$)?\n\nThis is the second question of [EHP58, p. 139, Problem 6], which asks for $n$ large. It was solved\nby Ghosh and Ramachandran [GhRa24, Theorem 2.1(a)], who proved that, if $d$ is the transfinite\ndiameter of $F$ and $0<d<1$, then the set has at most $(1-c)n$ connected components for some\n$c>0$ depending on $F$. Precisely, they prove $\\limsup_n C_n(F)/n<1$, where $C_n(F)$ is the\nmaximal number of components over all admissible $f$ of degree $n$; this is the statement below.\nThe answer is yes, in this form.\n\n[GhRa24] assume throughout that $F$ is compact of positive capacity, so we assume $0<d$; a closed\n$F$ with $d<1$ is bounded, hence compact. The condition \"$n$ large\" is needed: for $n=1$ the set\n$\\{\\lvert z-z_1\\rvert<1\\}$ has one component, which is more than $(1-c)n$. The parenthetical\n\"or just the transfinite diameter of $F$\" is not formalised: [GhRa24] only remark that their\nquantities $M(K)$ and $m(K)$ are not determined by the capacity.\n-/\n@[category research solved, question, AMS 30]\ntheorem erdos_1042.parts.ii :\n    ∀ F : Set ℂ, IsClosed F → 0 < transfiniteDiameter F → transfiniteDiameter F < 1 →\n      ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop, ∀ f : ℂ[X], MonicWithRootsIn F n f →\n        (numComponents f : ℝ) ≤ (1 - c) * n := by\n  sorry\n\n/--\nIf $d\\leq 1/4$ and $F$ is connected then the set has only one connected component.\n\nThis is [GhRa24, Theorem 2.1(c)]: if the logarithmic capacity of the compact connected set $K$ is\nat most $1/4$ then $\\{\\lvert f\\rvert<1\\}$ is connected for every monic $f$ with all roots in $K$.\nWe take the degree $n\\ge 1$ (for $n=0$ the set is empty) and, as in [GhRa24], positive capacity.\n-/\n@[category research solved, AMS 30]\ntheorem erdos_1042.variants.connected_le_quarter (F : Set ℂ) (hF : IsClosed F)\n    (hconn : IsConnected F) (h₀ : 0 < transfiniteDiameter F) (hd : transfiniteDiameter F ≤ 1 / 4)\n    (n : ℕ) (hn : 1 ≤ n) (f : ℂ[X]) (hf : MonicWithRootsIn F n f) :\n    numComponents f = 1 := by\n  sorry\n\nend Erdos1042\n",
  "statement_hash": "70f5108e6f1b09f9d3727b5ff37dd3afc9c607f2394eb10e00b1e60741eaca5b",
  "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."
}