{
  "id": "446",
  "ident": "NS.00446",
  "slug": "erdos-1041",
  "title": "Erdős Problem 1041",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "**Erdős–Herzog–Piranian Component Lemma** (Metric Properties of Polynomials, 1958):\nIf $f$ is a monic degree $n$ polynomial with all roots in the unit disk,\nthen some connected component\nof $\\{z \\mid |f(z)| < 1\\}$ contains at least two roots with multiplicity.\n\nSee p. 139, above Problem 5:\n[EHP58] Erdős, P. and Herzog, F. and Piranian, G., _Metric properties of polynomials_.\n  J. Analyse Math. (1958), 125-148.",
  "subjects": [
    "math.CV",
    "msc:32"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": "https://www.erdosproblems.com/1041",
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1041.exists_connected_component_contains_two_roots",
  "statement_lean": "theorem exists_connected_component_contains_two_roots :\n    ∃ C, C ⊆ {z | ‖f.eval z‖ < 1} ∧ IsConnected C ∧\n      2 ≤ (f.roots.filter (· ∈ C)).card",
  "challenge_source": "/-\nCopyright 2025 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 1041\n\n*Reference:* [erdosproblems.com/1041](https://www.erdosproblems.com/1041)\n-/\n\n@[expose] public section\n\nopen Polynomial MeasureTheory ENNReal\n\nnamespace Erdos1041\n\nsection ComponentLemma\n\nvariable (n : ℕ) (f : ℂ[X]) (hn : n ≥ 2) (hnum : f.natDegree = n)\nvariable (h_monic : f.Monic)\nvariable (h : f.rootSet ℂ ⊆ Metric.ball 0 1)\ninclude hn hnum h h_monic\n\n/--\nThe length of a subset $s$ of $\\mathbb{C}$ is defined to be its 1-dimensional\nHausdorff measure $\\mathcal{H}^1(s)$.\n-/\nnoncomputable def length (s : Set ℂ) : ℝ≥0∞ := μH[1] s\n\nopen scoped Classical in\n/--\n**Erdős–Herzog–Piranian Component Lemma** (Metric Properties of Polynomials, 1958):\nIf $f$ is a monic degree $n$ polynomial with all roots in the unit disk,\nthen some connected component\nof $\\{z \\mid |f(z)| < 1\\}$ contains at least two roots with multiplicity.\n\nSee p. 139, above Problem 5:\n[EHP58] Erdős, P. and Herzog, F. and Piranian, G., _Metric properties of polynomials_.\n  J. Analyse Math. (1958), 125-148.\n-/\n@[category research solved, AMS 32]\ntheorem exists_connected_component_contains_two_roots :\n    ∃ C, C ⊆ {z | ‖f.eval z‖ < 1} ∧ IsConnected C ∧\n      2 ≤ (f.roots.filter (· ∈ C)).card := by\n  sorry\n\nend ComponentLemma\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet\n$$ f(z) = \\prod_{i=1}^{n} (z - z_i) \\in \\mathbb{C}[x] $$\nwith $|z_i| < 1$ for all $i$.\n\nConjecture: Must there always exist a path of length less than 2 in\n$$ \\{ z \\in \\mathbb{C} \\mid |f(z)| < 1 \\} $$\nwhich connects two of the roots of $f$?\n\nThe answer is negative. ani gave a counterexample of degree seven on the\n[Erdős problems forum](https://www.erdosproblems.com/forum/thread/1041) on 7 September 2026.\nThe linked formalisation proves, for the member $s = 10^{-6}$ of ani's family, that every\nconnected subset of $\\{ z \\mid |f(z)| < 1 \\}$ containing two distinct roots has\none-dimensional Hausdorff measure greater than $2$.\n-/\n@[category research solved, question, AMS 32, formal_proof using lean4 at\n  \"https://github.com/wcook04/plectis-erdos-lean/blob/587c48f213106c20ba2cdf3d585700c1394fc44f/verification/FC1041HausdorffCounterexample/lean/ErdosProblems/Erdos1041/Counterexample/HausdorffLength.lean#L449-L454\"]\ntheorem erdos_1041 :\n    ¬ ∀ (n : ℕ) (f : ℂ[X]), n ≥ 2 → f.natDegree = n → f.Monic →\n      f.rootSet ℂ ⊆ Metric.ball 0 1 →\n      ∃ (z₁ z₂ : ℂ) (h : ({z₁, z₂} : Multiset ℂ) ≤ f.roots) (γ : Path z₁ z₂),\n        Set.range γ ⊆ { z : ℂ | ‖f.eval z‖ < 1 } ∧ length (Set.range γ) < 2 := by\n  sorry\n\nend Erdos1041\n",
  "statement_hash": "7bc6819312517eb36d2c459adb3589a535d6a24eb6435ebbd4e2991c71a5b3b0",
  "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."
}