nae_angle_poly_nonneg
For real x with 0 ≤ x ≤ 1/14, nae_angle_poly x is nonnegative.
Statement
theorem nae_angle_poly_nonneg (x : ℝ) (hx0 : 0 ≤ x) (hx : x ≤ 1 / 14) :
0 ≤ nae_angle_poly x- Source
- arXiv:1211.0721, Section 3.3, p-computation rule analysis
- Verified
- 14 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 3
- nae_angle_polyThe real-valued function nae_angle_poly is defined for real x by 9(16x²−20x+5)²−128x(1−x)²(3−4x)⁴(1−4x)⁴.
- nae_angle_poly_lowFor real x with 0 ≤ x ≤ 1/20, nae_angle_poly x is nonnegative.
- nae_angle_poly_highFor real x with 1/20 ≤ x ≤ 1/14, nae_angle_poly x is nonnegative.
- Used by 1
- nae_sine_contraction_strongFor real u with 0 ≤ u ≤ π/12, (√8/3) sin²(6u) ≤ sin(5u).
The proof, explained
The proof splits the interval [0, 1/14] at x = 1/20. In the lower subinterval [0, 1/20], nonnegativity is established by `nae_angle_poly_low`. In the upper subinterval [1/20, 1/14], nonnegativity is established by `nae_angle_poly_high`.
It suffices to consider the cases x ≤ 1/20 and ¬(x ≤ 1/20).
We perform a case split depending on whether x ≤ 1/20.
by_cases h : x ≤ 1 / 20If x ≤ 1/20, then 0 ≤ nae_angle_poly x.
Under the assumption x ≤ 1/20 together with the hypothesis 0 ≤ x, the claim is immediate from the lemma `nae_angle_poly_low`.
uses
nae_angle_poly_low· exact nae_angle_poly_low x hx0 hIf ¬(x ≤ 1/20), then 0 ≤ nae_angle_poly x.
From ¬(x ≤ 1/20), the lemma `le_of_not_ge` yields 1/20 ≤ x. Together with x ≤ 1/14, this satisfies the preconditions of `nae_angle_poly_high`, establishing the claim.
uses
nae_angle_poly_high,le_of_not_ge· exact nae_angle_poly_high x (le_of_not_ge h) hx
le_of_not_ge- In a linear order, if a is not less than or equal to b, then b ≤ a.
nae_angle_poly_low- For real x with 0 ≤ x ≤ 1/20, nae_angle_poly x is nonnegative.
nae_angle_poly_high- For real x with 1/20 ≤ x ≤ 1/14, nae_angle_poly x is nonnegative.
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem nae_angle_poly_nonneg (x : ℝ) (hx0 : 0 ≤ x) (hx : x ≤ 1 / 14) : 0 ≤ nae_angle_poly x := by by_cases h : x ≤ 1 / 20 · exact nae_angle_poly_low x hx0 h · exact nae_angle_poly_high x (le_of_not_ge h) hx