AFTD Auto-Formalizing Theoretical Domains

nae_low_sine_square

theoremverified

For 0 ≤ t ≤ 7π/16, sin²(t) ≤ 63/64.

Statement

theorem nae_low_sine_square (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 7 * Real.pi / 16) :
    Real.sin t ^ 2 ≤ (63 / 64 : ℝ)
Source
arXiv:1211.0721, Section 3.3, p-computation rule analysis
Verified
14 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 1

The proof, explained

To upper-bound sin²(t) on [0, 7π/16], the proof establishes a lower bound on cos(t) and applies the Pythagorean identity sin²(t) + cos²(t) = 1. Since cosine is decreasing on [0, π], cos(t) is bounded below by cos(7π/16) = sin(π/16). Jordan's inequality then bounds sin(π/16) from below by 1/8, so cos(t) ≥ 1/8 and hence sin²(t) ≤ 1 - (1/8)² = 63/64.

  1. 1/8 ≤ sin(π/16)

    Jordan's inequality (`Real.mul_le_sin`) establishes that (2/π)x ≤ sin x for x ∈ [0, π/2]. Applying this to x = π/16 (which lies in [0, π/2] since π > 0 by `Real.pi_pos`) gives (2/π)(π/16) ≤ sin(π/16). Simplifying the fraction using π ≠ 0 (`Real.pi_ne_zero`) evaluates the left-hand side to 1/8.

    lines 3–6

    uses Real.mul_le_sin, Real.pi_pos, Real.pi_ne_zero

      have h16 : (1 / 8 : ℝ) ≤ Real.sin (Real.pi / 16) := by
        have h := Real.mul_le_sin (x := Real.pi / 16) (by positivity) (by linarith [Real.pi_pos])
        have hp : Real.pi ≠ 0 := Real.pi_ne_zero
        convert h using 1 <;> field_simp <;> ring
  2. cos(7π/16) ≤ cos t

    Because cosine is decreasing on [0, π] (`Real.cos_le_cos_of_nonneg_of_le_pi`), the assumptions 0 ≤ t and t ≤ 7π/16, together with 7π/16 ≤ π (derived from π > 0, `Real.pi_pos`), imply cos(7π/16) ≤ cos t.

    lines 7–10

    uses Real.cos_le_cos_of_nonneg_of_le_pi, Real.pi_pos

      have hc : Real.cos (7 * Real.pi / 16) ≤ Real.cos t := by
        apply Real.cos_le_cos_of_nonneg_of_le_pi ht0
        · linarith [Real.pi_pos]
        · exact ht
  3. cos(7π/16) = sin(π/16)

    By the cofunction identity cos x = sin(π/2 - x) (`Real.sin_pi_div_two_sub`), cos(7π/16) = sin(π/2 - 7π/16). Direct arithmetic on the angles shows π/2 - 7π/16 = π/16.

    lines 11–14

    uses Real.sin_pi_div_two_sub

      have hid : Real.cos (7 * Real.pi / 16) = Real.sin (Real.pi / 16) := by
        rw [← Real.sin_pi_div_two_sub]
        congr 1
        ring
  4. 1/8 ≤ cos t

    Rewriting cos(7π/16) as sin(π/16) in the cosine inequality yields sin(π/16) ≤ cos t. Combining this with 1/8 ≤ sin(π/16) via transitivity (`le_trans`) gives 1/8 ≤ cos t.

    lines 15–16

    uses le_trans

      rw [hid] at hc
      have hcos : (1 / 8 : ℝ) ≤ Real.cos t := le_trans h16 hc
  5. sin² t ≤ 63/64

    Using the Pythagorean identity sin² t + cos² t = 1 (`Real.sin_sq_add_cos_sq`) together with cos t ≥ 1/8 and the non-negativity of (cos t - 1/8)² (`sq_nonneg`), nonlinear arithmetic deduces that sin² t = 1 - cos² t ≤ 1 - (1/8)² = 63/64.

    lines 17–18

    uses Real.sin_sq_add_cos_sq, sq_nonneg

      have hsums := Real.sin_sq_add_cos_sq t
      nlinarith [sq_nonneg (Real.cos t - 1 / 8)]
Real.mul_le_sin
For x ∈ [0, π/2], the inequality (2/π)x ≤ sin x holds.
Real.pi_pos
π is strictly positive.
Real.pi_ne_zero
π is not equal to zero.
Real.cos_le_cos_of_nonneg_of_le_pi
Cosine is non-increasing on [0, π]: if 0 ≤ x ≤ y ≤ π, then cos y ≤ cos x.
Real.sin_pi_div_two_sub
For all x, sin(π/2 - x) = cos x.
le_trans
The order relation ≤ is transitive: if a ≤ b and b ≤ c, then a ≤ c.
Real.sin_sq_add_cos_sq
For all x, sin² x + cos² x = 1.
sq_nonneg
The square of any real number is non-negative: 0 ≤ a².

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_low_sine_square (t : ℝ) (ht0 : 0 ≤ t) (ht : t ≤ 7 * Real.pi / 16) :    Real.sin t ^ 2 ≤ (63 / 64 : ℝ) := by  have h16 : (1 / 8 : ℝ) ≤ Real.sin (Real.pi / 16) := by    have h := Real.mul_le_sin (x := Real.pi / 16) (by positivity) (by linarith [Real.pi_pos])    have hp : Real.pi ≠ 0 := Real.pi_ne_zero    convert h using 1 <;> field_simp <;> ring  have hc : Real.cos (7 * Real.pi / 16) ≤ Real.cos t := by    apply Real.cos_le_cos_of_nonneg_of_le_pi ht0    · linarith [Real.pi_pos]    · exact ht  have hid : Real.cos (7 * Real.pi / 16) = Real.sin (Real.pi / 16) := by    rw [← Real.sin_pi_div_two_sub]    congr 1    ring  rw [hid] at hc  have hcos : (1 / 8 : ℝ) ≤ Real.cos t := le_trans h16 hc  have hsums := Real.sin_sq_add_cos_sq t  nlinarith [sq_nonneg (Real.cos t - 1 / 8)]
See it in the graphDiscuss this resultChallenge it