/-
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.
-/
module
public import FormalConjecturesUtilErdős Problem 1038
Reference:
[Tao25] Tao, Terence. Sublevel Sets of Logarithmic Potentials. Terry Tao’s Blog, Dec. 2025 (https://terrytao.wordpress.com/wp-content/uploads/2025/12/erdos-1038-1.pdf)
[EHP58] Erdős, P., Herzog, F., Piranian, G. Metric properties of polynomials. J. Analyse Math. 6 (1958), 125--148.
@[expose] public sectionopen scoped Real ENNRealopen MeasureTheory Setnamespace Erdos1038def erdos_1038.parts.i.answer : ℝ≥0∞ := sorry
What is the infimum of |{x ∈ ℝ : |f x| < 1}| over all nonconstant monic polynomials f such
that all of its roots are real and contained in [-1,1]?
@[category research open, question value, AMS 28]
theorem erdos_1038.parts.i : erdos_1038.parts.i.answer =
⨅ f : {f : Polynomial ℝ // f.Monic ∧ f ≠ 1 ∧
(f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
volume {x | |f.1.eval x| < 1} := ⊢ i.answer = ⨅ f, volume {x | |Polynomial.eval x ↑f| < 1}
All goals completed! 🐙
The supremum of |{x ∈ ℝ : |f x| < 1}| over all monic polynomials f such that
all of its roots are real and contained in [-1,1] is 2 * 2 ^ (1 / 2). This is proved in
[Tao25].
@[category research solved, AMS 28]
theorem erdos_1038.parts.ii : 2 * 2 ^ (1 / 2 : ℝ) =
⨆ f : {f : Polynomial ℝ // f.Monic ∧
(f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
volume {x | |f.1.eval x| < 1} := ⊢ 2 * 2 ^ (1 / 2) = ⨆ f, volume {x | |Polynomial.eval x ↑f| < 1}
All goals completed! 🐙
The infimum of |{x ∈ ℝ : |f x| < 1}| over all nonconstant monic polynomials f such that
all of its roots are real and contained in [-1,1] is < 1.835.
@[category research solved, AMS 28]
theorem erdos_1038.variants.inf_upperBound : ⨅ f : {f : Polynomial ℝ // f.Monic ∧ f ≠ 1 ∧
(f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
volume {x | |f.1.eval x| < 1} < 1.835 := ⊢ ⨅ f, volume {x | |Polynomial.eval x ↑f| < 1} < 1.835
All goals completed! 🐙
The infimum of |{x ∈ ℝ : |f x| < 1}| over all nonconstant monic polynomials f such that
all of its roots are real and contained in [-1,1] is ≥ 2 ^ (4 / 3) - 1.
@[category research solved, AMS 28]
theorem erdos_1038.variants.inf_lowerBound : 2 ^ (4 / 3 : ℝ) - 1 ≤
⨅ f : {f : Polynomial ℝ // f.Monic ∧ f ≠ 1 ∧
(f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
volume {x | |f.1.eval x| < 1} := ⊢ 2 ^ (4 / 3) - 1 ≤ ⨅ f, volume {x | |Polynomial.eval x ↑f| < 1}
All goals completed! 🐙For a monic quadratic with roots at distance at most two, the sublevel measure is $2\sqrt{1+d^2}$, where $2|d|$ is the distance between the roots. This gives the degree-two case of the sublevel-set problem in [Tao25].
m:ℝd:ℝhd:|d| ≤ 1hd2:d ^ 2 ≤ 1hs:0 < √(1 + d ^ 2)hsq:√(1 + d ^ 2) ^ 2 = 1 + d ^ 2I:Set ℝ := Ioo (m - √(1 + d ^ 2)) (m + √(1 + d ^ 2))hupper:{x | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ Ihlower:I \ {m} ⊆ {x | |(x - m) ^ 2 - d ^ 2| < 1}hI:volume I = ENNReal.ofReal (2 * √(1 + d ^ 2))⊢ volume {x | |(x - m) ^ 2 - d ^ 2| < 1} = ENNReal.ofReal (2 * √(1 + d ^ 2))
apply le_antisymm a m:ℝd:ℝhd:|d| ≤ 1hd2:d ^ 2 ≤ 1hs:0 < √(1 + d ^ 2)hsq:√(1 + d ^ 2) ^ 2 = 1 + d ^ 2I:Set ℝ := Ioo (m - √(1 + d ^ 2)) (m + √(1 + d ^ 2))hupper:{x | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ Ihlower:I \ {m} ⊆ {x | |(x - m) ^ 2 - d ^ 2| < 1}hI:volume I = ENNReal.ofReal (2 * √(1 + d ^ 2))⊢ volume {x | |(x - m) ^ 2 - d ^ 2| < 1} ≤ ENNReal.ofReal (2 * √(1 + d ^ 2))a m:ℝd:ℝhd:|d| ≤ 1hd2:d ^ 2 ≤ 1hs:0 < √(1 + d ^ 2)hsq:√(1 + d ^ 2) ^ 2 = 1 + d ^ 2I:Set ℝ := Ioo (m - √(1 + d ^ 2)) (m + √(1 + d ^ 2))hupper:{x | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ Ihlower:I \ {m} ⊆ {x | |(x - m) ^ 2 - d ^ 2| < 1}hI:volume I = ENNReal.ofReal (2 * √(1 + d ^ 2))⊢ ENNReal.ofReal (2 * √(1 + d ^ 2)) ≤ volume {x | |(x - m) ^ 2 - d ^ 2| < 1}
· a m:ℝd:ℝhd:|d| ≤ 1hd2:d ^ 2 ≤ 1hs:0 < √(1 + d ^ 2)hsq:√(1 + d ^ 2) ^ 2 = 1 + d ^ 2I:Set ℝ := Ioo (m - √(1 + d ^ 2)) (m + √(1 + d ^ 2))hupper:{x | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ Ihlower:I \ {m} ⊆ {x | |(x - m) ^ 2 - d ^ 2| < 1}hI:volume I = ENNReal.ofReal (2 * √(1 + d ^ 2))⊢ volume {x | |(x - m) ^ 2 - d ^ 2| < 1} ≤ ENNReal.ofReal (2 * √(1 + d ^ 2)) calc
_ ≤ volume I := measure_mono hupper
_ = _ := hI
· a m:ℝd:ℝhd:|d| ≤ 1hd2:d ^ 2 ≤ 1hs:0 < √(1 + d ^ 2)hsq:√(1 + d ^ 2) ^ 2 = 1 + d ^ 2I:Set ℝ := Ioo (m - √(1 + d ^ 2)) (m + √(1 + d ^ 2))hupper:{x | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ Ihlower:I \ {m} ⊆ {x | |(x - m) ^ 2 - d ^ 2| < 1}hI:volume I = ENNReal.ofReal (2 * √(1 + d ^ 2))⊢ ENNReal.ofReal (2 * √(1 + d ^ 2)) ≤ volume {x | |(x - m) ^ 2 - d ^ 2| < 1} have h : volume (I \ {m}) ≤ volume {x : ℝ | |(x-m)^2-d^2| < 1} :=
measure_mono hlower a m:ℝd:ℝhd:|d| ≤ 1hd2:d ^ 2 ≤ 1hs:0 < √(1 + d ^ 2)hsq:√(1 + d ^ 2) ^ 2 = 1 + d ^ 2I:Set ℝ := Ioo (m - √(1 + d ^ 2)) (m + √(1 + d ^ 2))hupper:{x | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ Ihlower:I \ {m} ⊆ {x | |(x - m) ^ 2 - d ^ 2| < 1}hI:volume I = ENNReal.ofReal (2 * √(1 + d ^ 2))h:volume (I \ {m}) ≤ volume {x | |(x - m) ^ 2 - d ^ 2| < 1}⊢ ENNReal.ofReal (2 * √(1 + d ^ 2)) ≤ volume {x | |(x - m) ^ 2 - d ^ 2| < 1}
rwa [measure_sdiff_null (by m:ℝd:ℝhd:|d| ≤ 1hd2:d ^ 2 ≤ 1hs:0 < √(1 + d ^ 2)hsq:√(1 + d ^ 2) ^ 2 = 1 + d ^ 2I:Set ℝ := Ioo (m - √(1 + d ^ 2)) (m + √(1 + d ^ 2))hupper:{x | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ Ihlower:I \ {m} ⊆ {x | |(x - m) ^ 2 - d ^ 2| < 1}hI:volume I = ENNReal.ofReal (2 * √(1 + d ^ 2))h:volume (I \ {m}) ≤ volume {x | |(x - m) ^ 2 - d ^ 2| < 1}⊢ volume {m} = 0 simp All goals completed! 🐙), hI a m:ℝd:ℝhd:|d| ≤ 1hd2:d ^ 2 ≤ 1hs:0 < √(1 + d ^ 2)hsq:√(1 + d ^ 2) ^ 2 = 1 + d ^ 2I:Set ℝ := Ioo (m - √(1 + d ^ 2)) (m + √(1 + d ^ 2))hupper:{x | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ Ihlower:I \ {m} ⊆ {x | |(x - m) ^ 2 - d ^ 2| < 1}hI:volume I = ENNReal.ofReal (2 * √(1 + d ^ 2))h:ENNReal.ofReal (2 * √(1 + d ^ 2)) ≤ volume {x | |(x - m) ^ 2 - d ^ 2| < 1}⊢ ENNReal.ofReal (2 * √(1 + d ^ 2)) ≤ volume {x | |(x - m) ^ 2 - d ^ 2| < 1}] a m:ℝd:ℝhd:|d| ≤ 1hd2:d ^ 2 ≤ 1hs:0 < √(1 + d ^ 2)hsq:√(1 + d ^ 2) ^ 2 = 1 + d ^ 2I:Set ℝ := Ioo (m - √(1 + d ^ 2)) (m + √(1 + d ^ 2))hupper:{x | |(x - m) ^ 2 - d ^ 2| < 1} ⊆ Ihlower:I \ {m} ⊆ {x | |(x - m) ^ 2 - d ^ 2| < 1}hI:volume I = ENNReal.ofReal (2 * √(1 + d ^ 2))h:ENNReal.ofReal (2 * √(1 + d ^ 2)) ≤ volume {x | |(x - m) ^ 2 - d ^ 2| < 1}⊢ ENNReal.ofReal (2 * √(1 + d ^ 2)) ≤ volume {x | |(x - m) ^ 2 - d ^ 2| < 1} at hThe degree-two case of the supremum bound in [Tao25]: if $a,b\in[-1,1]$, the sublevel set of $(x-a)(x-b)$ has measure at most $2\sqrt{2}$.
@[category textbook, AMS 28]
theorem erdos_1038.variants.quadratic_upperBound (a b : ℝ) (ha : |a| ≤ 1) (hb : |b| ≤ 1) :
volume {x : ℝ | |(x-a)*(x-b)| < 1} ≤ ENNReal.ofReal (2 * Real.sqrt 2) := by a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2)
have hd : |(a-b)/2| ≤ 1 := by
rw [abs_le a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ -1 ≤ (a - b) / 2 ∧ (a - b) / 2 ≤ 1 a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ -1 ≤ (a - b) / 2 ∧ (a - b) / 2 ≤ 1 a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2)] a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ -1 ≤ (a - b) / 2 ∧ (a - b) / 2 ≤ 1 a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2)
constructor left a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ -1 ≤ (a - b) / 2right a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ (a - b) / 2 ≤ 1 a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2) <;> left a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ -1 ≤ (a - b) / 2right a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ (a - b) / 2 ≤ 1 a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2) linarith [abs_le.mp ha |>.1, abs_le.mp ha |>.2,
abs_le.mp hb |>.1, abs_le.mp hb |>.2] a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2) a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2)
have hpoly (x : ℝ) : (x-a)*(x-b) = (x-(a+b)/2)^2 - ((a-b)/2)^2 := by ring a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2) a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2)
simp_rw [ a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2)hpoly a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2⊢ volume {x | |(x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2| < 1} ≤ ENNReal.ofReal (2 * √2)]
rw [erdos_1038.variants.quadratic_sublevel_formula ((a+b)/2) ((a-b)/2) hd a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2⊢ ENNReal.ofReal (2 * √(1 + ((a - b) / 2) ^ 2)) ≤ ENNReal.ofReal (2 * √2) a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2⊢ ENNReal.ofReal (2 * √(1 + ((a - b) / 2) ^ 2)) ≤ ENNReal.ofReal (2 * √2)] a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2⊢ ENNReal.ofReal (2 * √(1 + ((a - b) / 2) ^ 2)) ≤ ENNReal.ofReal (2 * √2)
apply ENNReal.ofReal_le_ofReal a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2⊢ 2 * √(1 + ((a - b) / 2) ^ 2) ≤ 2 * √2
have hd2 : ((a-b)/2)^2 ≤ 1 := by a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2) a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2hd2:((a - b) / 2) ^ 2 ≤ 1⊢ 2 * √(1 + ((a - b) / 2) ^ 2) ≤ 2 * √2 nlinarith [abs_le.mp hd |>.1, abs_le.mp hd |>.2] a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2hd2:((a - b) / 2) ^ 2 ≤ 1⊢ 2 * √(1 + ((a - b) / 2) ^ 2) ≤ 2 * √2 a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2hd2:((a - b) / 2) ^ 2 ≤ 1⊢ 2 * √(1 + ((a - b) / 2) ^ 2) ≤ 2 * √2
have h := Real.sqrt_le_sqrt (show 1 + ((a-b)/2)^2 ≤ 2 by a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1⊢ volume {x | |(x - a) * (x - b)| < 1} ≤ ENNReal.ofReal (2 * √2) a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2hd2:((a - b) / 2) ^ 2 ≤ 1h:√(1 + ((a - b) / 2) ^ 2) ≤ √2⊢ 2 * √(1 + ((a - b) / 2) ^ 2) ≤ 2 * √2 linarith All goals completed! 🐙 a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2hd2:((a - b) / 2) ^ 2 ≤ 1h:√(1 + ((a - b) / 2) ^ 2) ≤ √2⊢ 2 * √(1 + ((a - b) / 2) ^ 2) ≤ 2 * √2) a:ℝb:ℝha:|a| ≤ 1hb:|b| ≤ 1hd:|(a - b) / 2| ≤ 1hpoly:∀ (x : ℝ), (x - a) * (x - b) = (x - (a + b) / 2) ^ 2 - ((a - b) / 2) ^ 2hd2:((a - b) / 2) ^ 2 ≤ 1h:√(1 + ((a - b) / 2) ^ 2) ≤ √2⊢ 2 * √(1 + ((a - b) / 2) ^ 2) ≤ 2 * √2
linarith All goals completed! 🐙The admissible quadratic $x^2-1$, with roots $-1$ and $1$, attains the supremum value $2\sqrt{2}$ in [Tao25].
@[category textbook, AMS 28]
theorem erdos_1038.variants.quadratic_extremizer :
volume {x : ℝ | |x ^ 2 - 1| < 1} = ENNReal.ofReal (2 * Real.sqrt 2) := by ⊢ volume {x | |x ^ 2 - 1| < 1} = ENNReal.ofReal (2 * √2)
convert erdos_1038.variants.quadratic_sublevel_formula 0 1 (by ⊢ |1| ≤ 1 norm_num All goals completed! 🐙) using 1 <;> e'_2 ⊢ volume {x | |x ^ 2 - 1| < 1} = volume {x | |(x - 0) ^ 2 - 1 ^ 2| < 1}e'_3 ⊢ ENNReal.ofReal (2 * √2) = ENNReal.ofReal (2 * √(1 + 1 ^ 2))
norm_num All goals completed! 🐙open Polynomial in
The lower half of erdos_1038.parts.ii: the supremum is at least $2\sqrt{2}$, because the
admissible polynomial $x^2-1$ has sublevel measure exactly $2\sqrt{2}$. The matching upper bound
is proved in [Tao25].
@[category textbook, AMS 28]
theorem erdos_1038.variants.sup_lowerBound : 2 * 2 ^ (1 / 2 : ℝ) ≤
⨆ f : {f : Polynomial ℝ // f.Monic ∧
(f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
volume {x | |f.1.eval x| < 1} := by ⊢ 2 * 2 ^ (1 / 2) ≤ ⨆ f, volume {x | |eval x ↑f| < 1}
have hroots : (X ^ 2 - C 1 : ℝ[X]).roots = {-1, 1} := nthRoots_two_one hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ⨆ f, volume {x | |eval x ↑f| < 1}
refine le_iSup_of_le ⟨X ^ 2 - C 1, monic_X_pow_sub_C 1 two_ne_zero, ?_⟩ ?_ refine_1 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) (X ^ 2 - C 1).roots).card = (X ^ 2 - C 1).natDegreerefine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ volume {x | |eval x ↑⟨X ^ 2 - C 1, ⋯⟩| < 1}
· refine_1 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) (X ^ 2 - C 1).roots).card = (X ^ 2 - C 1).natDegree rw [hroots, refine_1 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) {-1, 1}).card = (X ^ 2 - C 1).natDegree refine_1 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) {-1, 1}).card = 2 natDegree_X_pow_sub_C refine_1 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) {-1, 1}).card = 2 refine_1 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) {-1, 1}).card = 2]refine_1 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) {-1, 1}).card = 2
norm_num [Multiset.filter_singleton] All goals completed! 🐙
· refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ volume {x | |eval x ↑⟨X ^ 2 - C 1, ⋯⟩| < 1} simp only [eval_sub, eval_pow, eval_X, eval_C] refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ volume {x | |x ^ 2 - 1| < 1}
rw [erdos_1038.variants.quadratic_extremizer, refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ENNReal.ofReal (2 * √2) refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ENNReal.ofReal 2 * ENNReal.ofReal 2 ^ (1 / 2) ENNReal.ofReal_mul zero_le_two, refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ENNReal.ofReal 2 * ENNReal.ofReal √2refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ENNReal.ofReal 2 * ENNReal.ofReal 2 ^ (1 / 2)
Real.sqrt_eq_rpow, refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ENNReal.ofReal 2 * ENNReal.ofReal (2 ^ (1 / 2))refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ENNReal.ofReal 2 * ENNReal.ofReal 2 ^ (1 / 2) ← ENNReal.ofReal_rpow_of_nonneg zero_le_two (by hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 0 ≤ 1 / 2refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ENNReal.ofReal 2 * ENNReal.ofReal 2 ^ (1 / 2) norm_num All goals completed! 🐙refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ENNReal.ofReal 2 * ENNReal.ofReal 2 ^ (1 / 2))]refine_2 hroots:(X ^ 2 - C 1).roots = {-1, 1}⊢ 2 * 2 ^ (1 / 2) ≤ ENNReal.ofReal 2 * ENNReal.ofReal 2 ^ (1 / 2)
norm_num All goals completed! 🐙open Polynomial in
The infimum in erdos_1038.parts.i is strictly less than $2$, as observed in [EHP58]:
for $f(x)=(x+1)(x-1)^3$ the sublevel set ${x : |f(x)| < 1}$ is contained in
$(-1.108,-0.835)\cup(0,1.718)$, whose total length is $1.991$.
@[category textbook, AMS 28]
theorem erdos_1038.variants.inf_lt_two : ⨅ f : {f : Polynomial ℝ // f.Monic ∧ f ≠ 1 ∧
(f.roots.filter fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = f.natDegree},
volume {x | |f.1.eval x| < 1} < 2 := by ⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2
have hmonic : ((X + C 1) * (X - C 1) ^ 3 : ℝ[X]).Monic :=
(monic_X_add_C 1).mul ((monic_X_sub_C 1).pow 3) hmonic:((X + C 1) * (X - C 1) ^ 3).Monic⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2
have hdeg : ((X + C 1) * (X - C 1) ^ 3 : ℝ[X]).natDegree = 4 := by
rw [(monic_X_add_C 1).natDegree_mul ((monic_X_sub_C 1).pow 3), hmonic:((X + C 1) * (X - C 1) ^ 3).Monic⊢ (X + C 1).natDegree + ((X - C 1) ^ 3).natDegree = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2
(monic_X_sub_C 1).natDegree_pow, hmonic:((X + C 1) * (X - C 1) ^ 3).Monic⊢ (X + C 1).natDegree + 3 * (X - C 1).natDegree = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 natDegree_X_add_C, hmonic:((X + C 1) * (X - C 1) ^ 3).Monic⊢ 1 + 3 * (X - C 1).natDegree = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 natDegree_X_sub_C hmonic:((X + C 1) * (X - C 1) ^ 3).Monic⊢ 1 + 3 * 1 = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2] hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2
have hne : ((X + C 1) * (X - C 1) ^ 3 : ℝ[X]) ≠ 1 := fun h => by hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4h:(X + C 1) * (X - C 1) ^ 3 = 1⊢ False hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2
rw [h, hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:natDegree 1 = 4h:(X + C 1) * (X - C 1) ^ 3 = 1⊢ False hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:0 = 4h:(X + C 1) * (X - C 1) ^ 3 = 1⊢ False hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 natDegree_one hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:0 = 4h:(X + C 1) * (X - C 1) ^ 3 = 1⊢ False hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:0 = 4h:(X + C 1) * (X - C 1) ^ 3 = 1⊢ False hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2] at hdeg hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:0 = 4h:(X + C 1) * (X - C 1) ^ 3 = 1⊢ False hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2
exact absurd hdeg (by hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:0 = 4h:(X + C 1) * (X - C 1) ^ 3 = 1⊢ ¬0 = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 norm_num All goals completed! 🐙 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2
have hcard : (((X + C 1) * (X - C 1) ^ 3 : ℝ[X]).roots.filter
fun x => x ∈ Set.Icc (-1 : ℝ) 1).card = ((X + C 1) * (X - C 1) ^ 3 : ℝ[X]).natDegree := by
rw [roots_mul hmonic.ne_zero, hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1).roots + ((X - C 1) ^ 3).roots)).card =
((X + C 1) * (X - C 1) ^ 3).natDegree hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + 3 • {1})).card = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 roots_X_add_C, hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + ((X - C 1) ^ 3).roots)).card = ((X + C 1) * (X - C 1) ^ 3).natDegree hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + 3 • {1})).card = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 roots_pow, hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + 3 • (X - C 1).roots)).card = ((X + C 1) * (X - C 1) ^ 3).natDegree hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + 3 • {1})).card = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 roots_X_sub_C, hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + 3 • {1})).card = ((X + C 1) * (X - C 1) ^ 3).natDegree hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + 3 • {1})).card = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 hdeg hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + 3 • {1})).card = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + 3 • {1})).card = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2] hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1⊢ (Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ({-1} + 3 • {1})).card = 4 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2
norm_num [Multiset.filter_singleton, Multiset.filter_nsmul] hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2
refine lt_of_le_of_lt (iInf_le _ ⟨(X + C 1) * (X - C 1) ^ 3, hmonic, hne, hcard⟩) ?_ hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ volume {x | |eval x ↑⟨(X + C 1) * (X - C 1) ^ 3, ⋯⟩| < 1} < 2
simp only [eval_mul, eval_add, eval_sub, eval_pow, eval_X, eval_C] hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegree⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
have hsub : {x : ℝ | |(x + 1) * (x - 1) ^ 3| < 1} ⊆
Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) := by ⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
intro x (hx : |(x + 1) * (x - 1) ^ 3| < 1) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
obtain ⟨hlo, hhi⟩ := abs_lt.mp hx hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
rcases le_or_gt x (-277 / 250) with h1 | h1 inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:x ≤ -277 / 250⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)inr hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < x⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
· inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:x ≤ -277 / 250⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2 have ht : 0 ≤ -277 / 250 - x := by ⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:x ≤ -277 / 250ht:0 ≤ -277 / 250 - x⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2 linarithinl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:x ≤ -277 / 250ht:0 ≤ -277 / 250 - x⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:x ≤ -277 / 250ht:0 ≤ -277 / 250 - x⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
nlinarith [pow_nonneg ht 2, pow_nonneg ht 3, pow_nonneg ht 4] All goals completed! 🐙 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
rcases lt_or_ge x (-167 / 200) with h2 | h2 inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:x < -167 / 200⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)inr.inr hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ x⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
· inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:x < -167 / 200⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2 exact Or.inl ⟨h1, h2⟩ All goals completed! 🐙 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
rcases le_or_gt x 0 with h3 | h3 inr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:x ≤ 0⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)inr.inr.inr hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:0 < x⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
· inr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:x ≤ 0⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2 have hs : 0 ≤ x + 167 / 200 := by ⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 inr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:x ≤ 0hs:0 ≤ x + 167 / 200⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2 linarithinr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:x ≤ 0hs:0 ≤ x + 167 / 200⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2inr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:x ≤ 0hs:0 ≤ x + 167 / 200⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
have hp : 0 ≤ x ^ 3 - 2 * x ^ 2 + 2 := by ⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 inr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:x ≤ 0hs:0 ≤ x + 167 / 200hp:0 ≤ x ^ 3 - 2 * x ^ 2 + 2⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
nlinarith [mul_nonneg hs (neg_nonneg.mpr h3), pow_nonneg hs 3]inr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:x ≤ 0hs:0 ≤ x + 167 / 200hp:0 ≤ x ^ 3 - 2 * x ^ 2 + 2⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2inr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:x ≤ 0hs:0 ≤ x + 167 / 200hp:0 ≤ x ^ 3 - 2 * x ^ 2 + 2⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
nlinarith [mul_nonneg (neg_nonneg.mpr h3) hp] All goals completed! 🐙 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
rcases lt_or_ge x (859 / 500) with h4 | h4 inr.inr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:0 < xh4:x < 859 / 500⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)inr.inr.inr.inr hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:0 < xh4:859 / 500 ≤ x⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
· inr.inr.inr.inl hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:0 < xh4:x < 859 / 500⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2 exact Or.inr ⟨h3, h4⟩ All goals completed! 🐙 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
· inr.inr.inr.inr hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:0 < xh4:859 / 500 ≤ x⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2 have ht : 0 ≤ x - 859 / 500 := by ⊢ ⨅ f, volume {x | |eval x ↑f| < 1} < 2 inr.inr.inr.inr hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:0 < xh4:859 / 500 ≤ xht:0 ≤ x - 859 / 500⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2 linarithinr.inr.inr.inr hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:0 < xh4:859 / 500 ≤ xht:0 ≤ x - 859 / 500⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2inr.inr.inr.inr hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreex:ℝhx:|(x + 1) * (x - 1) ^ 3| < 1hlo:-1 < (x + 1) * (x - 1) ^ 3hhi:(x + 1) * (x - 1) ^ 3 < 1h1:-277 / 250 < xh2:-167 / 200 ≤ xh3:0 < xh4:859 / 500 ≤ xht:0 ≤ x - 859 / 500⊢ x ∈ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
nlinarith [pow_nonneg ht 2, pow_nonneg ht 3, pow_nonneg ht 4] hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume {x | |(x + 1) * (x - 1) ^ 3| < 1} < 2
calc volume {x : ℝ | |(x + 1) * (x - 1) ^ 3| < 1}
≤ volume (Ioo (-277 / 250 : ℝ) (-167 / 200) ∪ Ioo 0 (859 / 500)) := measure_mono hsub
_ ≤ volume (Ioo (-277 / 250 : ℝ) (-167 / 200)) + volume (Ioo (0 : ℝ) (859 / 500)) :=
measure_union_le _ _
_ < 2 := by hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ volume (Ioo (-277 / 250) (-167 / 200)) + volume (Ioo 0 (859 / 500)) < 2
rw [Real.volume_Ioo, hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ ENNReal.ofReal (-167 / 200 - -277 / 250) + volume (Ioo 0 (859 / 500)) < 2 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2 Real.volume_Ioo, hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ ENNReal.ofReal (-167 / 200 - -277 / 250) + ENNReal.ofReal (859 / 500 - 0) < 2 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2 ← ENNReal.ofReal_add (by hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ 0 ≤ -167 / 200 - -277 / 250 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2 norm_num All goals completed! 🐙 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2) (by hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ 0 ≤ 859 / 500 - 0 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2 norm_num All goals completed! 🐙 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2),
ENNReal.ofReal_lt_iff_lt_toReal (by hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ 0 ≤ -167 / 200 - -277 / 250 + (859 / 500 - 0) hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2 norm_num All goals completed! 🐙 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2) (by hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ 2 ≠ ∞ hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2 norm_num All goals completed! 🐙 hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2)] hmonic:((X + C 1) * (X - C 1) ^ 3).Monichdeg:((X + C 1) * (X - C 1) ^ 3).natDegree = 4hne:(X + C 1) * (X - C 1) ^ 3 ≠ 1hcard:(Multiset.filter (fun x ↦ x ∈ Icc (-1) 1) ((X + C 1) * (X - C 1) ^ 3).roots).card =
((X + C 1) * (X - C 1) ^ 3).natDegreehsub:{x | |(x + 1) * (x - 1) ^ 3| < 1} ⊆ Ioo (-277 / 250) (-167 / 200) ∪ Ioo 0 (859 / 500)⊢ -167 / 200 - -277 / 250 + (859 / 500 - 0) < ENNReal.toReal 2
norm_num All goals completed! 🐙end Erdos1038