AFTD Auto-Formalizing Theoretical Domains

nae_angle_poly_nonneg

theoremverified

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

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`.

  1. It suffices to consider the cases x ≤ 1/20 and ¬(x ≤ 1/20).

    We perform a case split depending on whether x ≤ 1/20.

    line 3

      by_cases h : x ≤ 1 / 20
  2. If 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`.

    line 4

    uses nae_angle_poly_low

      · exact nae_angle_poly_low x hx0 h
  3. If ¬(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.

    line 5

    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

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
See it in the graphDiscuss this resultChallenge it