AFTD Auto-Formalizing Theoretical Domains

nae_sin_small_square

theoremverified

For real u with 0 ≤ u ≤ π/12, sin²(u) ≤ 1/14.

Statement

theorem nae_sin_small_square (u : ℝ) (hu0 : 0 ≤ u) (hu : u ≤ Real.pi / 12) :
    Real.sin u ^ 2 ≤ (1 / 14 : ℝ)
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 bound sin²(u) for u ∈ [0, π/12], the proof uses the basic estimate sin u ≤ u. Combining this with the numerical upper bound π < 22/7 gives sin u ≤ 11/42. Squaring this inequality yields sin²(u) ≤ (11/42)² = 121/1764, which is strictly less than 1/14 = 126/1764.

  1. π < 22 / 7 automation

    The standard rational upper bound π < 22/7 is verified by automated numerical inequality checking (`num_ineq`).

    line 3

      have hπ : Real.pi < (22 / 7 : ℝ) := by num_ineq
  2. 0 ≤ sin u

    Since π > 0 (`Real.pi_pos`) and u ≤ π / 12, linear arithmetic gives u ≤ π. Because 0 ≤ u ≤ π, `Real.sin_nonneg_of_nonneg_of_le_pi` implies sin u ≥ 0.

    lines 4–5

    uses Real.sin_nonneg_of_nonneg_of_le_pi, Real.pi_pos

      have hsin0 : 0 ≤ Real.sin u :=
        Real.sin_nonneg_of_nonneg_of_le_pi hu0 (by linarith [Real.pi_pos])
  3. sin u ≤ u

    Since u ≥ 0, `Real.sin_le` gives the bound sin u ≤ u.

    line 6

    uses Real.sin_le

      have hs : Real.sin u ≤ u := Real.sin_le hu0
  4. sin u ≤ 11 / 42

    Combining sin u ≤ u, u ≤ π / 12, and π < 22 / 7 yields sin u ≤ (22 / 7) / 12 = 11 / 42 by linear arithmetic (`linarith`).

    line 7

      have hsle : Real.sin u ≤ (11 / 42 : ℝ) := by linarith
  5. sin² u ≤ (11 / 42)²

    Since both sin u and 11 / 42 are non-negative (the latter checked by `norm_num`), squaring preserves the inequality by `sq_le_sq₀`.

    lines 8–9

    uses sq_le_sq₀

      have hsq : Real.sin u ^ 2 ≤ (11 / 42 : ℝ) ^ 2 :=
        (sq_le_sq₀ hsin0 (by norm_num)).mpr hsle
  6. sin² u ≤ 1 / 14 automation

    Since (11 / 42)² = 121 / 1764 ≤ 126 / 1764 = 1 / 14, non-linear arithmetic (`nlinarith`) deduces the target bound sin² u ≤ 1 / 14 from sin² u ≤ (11 / 42)².

    line 10

      nlinarith
Real.sin_nonneg_of_nonneg_of_le_pi
For any real number x, if 0 ≤ x ≤ π, then sin x ≥ 0.
Real.pi_pos
The constant π is strictly positive (0 < π).
Real.sin_le
For any real number x ≥ 0, sin x ≤ x.
sq_le_sq₀
For non-negative elements a, b in a linearly ordered monoid with zero, a² ≤ b² if and only if a ≤ b.

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_sin_small_square (u : ℝ) (hu0 : 0 ≤ u) (hu : u ≤ Real.pi / 12) :    Real.sin u ^ 2 ≤ (1 / 14 : ℝ) := by  have hπ : Real.pi < (22 / 7 : ℝ) := by num_ineq  have hsin0 : 0 ≤ Real.sin u :=    Real.sin_nonneg_of_nonneg_of_le_pi hu0 (by linarith [Real.pi_pos])  have hs : Real.sin u ≤ u := Real.sin_le hu0  have hsle : Real.sin u ≤ (11 / 42 : ℝ) := by linarith  have hsq : Real.sin u ^ 2 ≤ (11 / 42 : ℝ) ^ 2 :=    (sq_le_sq₀ hsin0 (by norm_num)).mpr hsle  nlinarith
See it in the graphDiscuss this resultChallenge it