nae_low_sine_square
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
- nae_sine_contractionFor 0 ≤ t ≤ π/2, (√8/3) sin²(t) ≤ sin(15t/16).
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/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.
uses
Real.mul_le_sin,Real.pi_pos,Real.pi_ne_zerohave 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
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.
uses
Real.cos_le_cos_of_nonneg_of_le_pi,Real.pi_poshave 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
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.
uses
Real.sin_pi_div_two_subhave hid : Real.cos (7 * Real.pi / 16) = Real.sin (Real.pi / 16) := by rw [← Real.sin_pi_div_two_sub] congr 1 ring
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.
uses
le_transrw [hid] at hc have hcos : (1 / 8 : ℝ) ≤ Real.cos t := le_trans h16 hc
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.
uses
Real.sin_sq_add_cos_sq,sq_nonneghave 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
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_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)]