Nonpositive barrier segment g1_34
ProvedErdos1041.Counterexample.S7Proof.segment_g1_34degree-seven-counterexampleerdos-1041polynomial-lemniscate
For the closed rational segment 0≤r≤1 encoded by the exact rational endpoints in the formal statement, the barrier polynomial Hpoly is nonpositive at every parameter value. This is a certificate for the first separating graph.
Preamble
import Definitions.Def_ErdosProblems_Erdos1041_Counterexample_Defs import Definitions.Def_ErdosProblems_Erdos1041_Counterexample_BarrierAlgebra import Mathlib import Mathlib.Algebra.Polynomial.Derivative import Mathlib.Algebra.Polynomial.Div import Mathlib.Algebra.Polynomial.Roots import Mathlib.Analysis.SpecialFunctions.Complex.Log import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic import Mathlib.Tactic.NormNum import Mathlib.Tactic.Ring import Mathlib.Topology.Connected.LocallyConnected import Mathlib.Topology.EMetricSpace.BoundedVariation /-! External source: ani, erdosproblems.com forum thread 1041, 7 Sept 2026. Explicit separating barriers replacing the Riemann-Hurwitz step of Lemma 2.1, at `s = 10⁻⁶`. -/ noncomputable section set_option maxRecDepth 10000 set_option maxHeartbeats 8000000 open Erdos1041.Counterexample.S7Proof
Formal statement
theorem Erdos1041.Counterexample.S7Proof.segment_g1_34 (r : ℝ) (hr0 : 0 ≤ r) (hr1 : r ≤ 1) :
Hpoly ((637965515723 / 200000000000) + (32 - (637965515723 / 200000000000)) * r) ((-19999999917 / 40000000000) + ((-16) - (-19999999917 / 40000000000)) * r) ≤ 0 := by sorry
Source
Lean source: https://github.com/wcook04/plectis-erdos-lean/blob/cc7e541cf2081c6fef5a5e377d52e365e33b01eb/ErdosProblems/Erdos1041/Counterexample/BarrierCertificates.lean#L287-L289
Construction by ani: https://www.erdosproblems.com/forum/thread/1041#post-8861
Related paper and provenance: https://github.com/wcook04/plectis-erdos/blob/551bae6dc6e732cf85172d66323c8d2bc77ba962/paper/1041/erdos-1041-lemniscate-newton-flow.tex#L25-L99
Paper prior-art bibliography: https://github.com/wcook04/plectis-erdos/blob/551bae6dc6e732cf85172d66323c8d2bc77ba962/paper/1041/erdos-1041-lemniscate-newton-flow.tex#L1662-L1772
AI-assisted formalization in Will Cook's project; ani is credited for the degree-seven construction. Independent correspondence of the 1958 Problem 5 wording to this modern formulation is unrecorded.