/- Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ import FormalConjecturesUtil

Erdős Problem 1041

Reference: erdosproblems.com/1041

open Polynomial MeasureTheory ENNReal Classical namespace Erdos1041 variable (n : ) (f : [X]) (hn : n 2) (hnum : f.natDegree = n)variable (h_monic : f.Monic)variable (h : f.rootSet Metric.ball 0 1)include hn hnum h h_monic

The length of a subset $s$ of $\mathbb{C}$ is defined to be its 1-dimensional Hausdorff measure $\mathcal{H}^1(s)$.

noncomputable def length (s : Set ) : ℝ≥0∞ := μH[1] s

Erdős–Herzog–Piranian Component Lemma (Metric Properties of Polynomials, 1958): If $f$ is a monic degree $n$ polynomial with all roots in the unit disk, then some connected component of ${z \mid |f(z)| < 1}$ contains at least two roots with multiplicity.

See p. 139, above Problem 5: [EHP58] Erdős, P. and Herzog, F. and Piranian, G., Metric properties of polynomials. J. Analyse Math. (1958), 125-148.

@[category research solved, AMS 32] theorem declaration uses 'sorry'exists_connected_component_contains_two_roots : C, C {z | f.eval z < 1} IsConnected C 2 (f.roots.filter (· C)).card := n:f:[X]hn:n 2hnum:f.natDegree = nh_monic:f.Monich:f.rootSet Metric.ball 0 1 C {z | eval z f < 1}, IsConnected C 2 (Multiset.filter (fun x => x C) f.roots).card All goals completed! 🐙

Let $$ f(z) = \prod_{i=1}^{n} (z - z_i) \in \mathbb{C}[x] $$ with $|z_i| < 1$ for all $i$.

Conjecture: Must there always exist a path of length less than 2 in $$ { z \in \mathbb{C} \mid |f(z)| < 1 } $$ which connects two of the roots of $f$?

@[category research open, AMS 32] theorem declaration uses 'sorry'erdos_1041 : (z₁ z₂ : ) (h : ({z₁, z₂} : Multiset ) f.roots) (γ : Path z₁ z₂), Set.range γ { z : | f.eval z < 1 } length (Set.range γ) < 2 := n:f:[X]hn:n 2hnum:f.natDegree = nh_monic:f.Monich:f.rootSet Metric.ball 0 1 z₁ z₂, (_ : {z₁, z₂} f.roots), γ, Set.range γ {z | eval z f < 1} length (Set.range γ) < 2 All goals completed! 🐙 end Erdos1041