AFTD Auto-Formalizing Theoretical Domains

nae_sin_six

theoremverified

For real u, sin(6u) = 2 sin(u) cos(u)(3−4 sin²(u))(1−4 sin²(u)).

Statement

theorem nae_sin_six (u : ℝ) : Real.sin (6 * u) =
    2 * Real.sin u * Real.cos u * (3 - 4 * Real.sin u ^ 2) * (1 - 4 * Real.sin u ^ 2)
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

The identity is proved by decomposing 6u as 2(3u) and expanding sin(2(3u)) using the double-angle formula into 2 sin(3u) cos(3u). Applying the triple-angle formulas for sine and cosine then expresses both sides as polynomials in sin(u) and cos(u). Finally, factoring out the shared product 2 sin(u) cos(u)(3 - 4 sin²(u)) reduces the remaining difference between the two sides to a multiple of sin²(u) + cos²(u) - 1, which vanishes by the Pythagorean identity.

  1. It suffices to show that 2(3 sin(u) - 4 sin³(u))(4 cos³(u) - 3 cos(u)) = 2 sin(u) cos(u)(3 - 4 sin²(u))(1 - 4 sin²(u)).

    We rewrite 6u as 2(3u) and apply the double-angle identity Real.sin_two_mul to express sin(2(3u)) as 2 sin(3u) cos(3u). Then, the triple-angle formulas Real.sin_three_mul and Real.cos_three_mul expand sin(3u) to 3 sin(u) - 4 sin³(u) and cos(3u) to 4 cos³(u) - 3 cos(u), expressing the left-hand side entirely in terms of sin(u) and cos(u).

    lines 3–4

    uses Real.sin_two_mul, Real.sin_three_mul, Real.cos_three_mul

      have heq : 6 * u = 2 * (3 * u) := by ring
      rw [heq, Real.sin_two_mul, Real.sin_three_mul, Real.cos_three_mul]
  2. The theorem holds: sin(6u) = 2 sin(u) cos(u)(3 - 4 sin²(u))(1 - 4 sin²(u)).

    Both sides share the factor 2 sin(u) cos(u)(3 - 4 sin²(u)). Factoring this out from their difference leaves (4 cos²(u) - 3) - (1 - 4 sin²(u)) = 4(sin²(u) + cos²(u) - 1), which vanishes by the Pythagorean identity sin²(u) + cos²(u) = 1 (Real.sin_sq_add_cos_sq). The linear_combination tactic verifies this polynomial identity with the explicit multiplier 8 sin(u) cos(u)(3 - 4 sin²(u)).

    lines 5–6

    uses Real.sin_sq_add_cos_sq

      linear_combination (8 * Real.sin u * Real.cos u * (3 - 4 * Real.sin u ^ 2)) *
        (Real.sin_sq_add_cos_sq u)
Real.sin_two_mul
The double-angle identity for sine: for all x : ℝ, sin(2x) = 2 sin(x) cos(x).
Real.sin_three_mul
The triple-angle identity for sine: for all x : ℝ, sin(3x) = 3 sin(x) - 4 sin³(x).
Real.cos_three_mul
The triple-angle identity for cosine: for all x : ℝ, cos(3x) = 4 cos³(x) - 3 cos(x).
Real.sin_sq_add_cos_sq
The Pythagorean trigonometric identity: for all x : ℝ, sin²(x) + cos²(x) = 1.

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_six (u : ℝ) : Real.sin (6 * u) =    2 * Real.sin u * Real.cos u * (3 - 4 * Real.sin u ^ 2) * (1 - 4 * Real.sin u ^ 2) := by  have heq : 6 * u = 2 * (3 * u) := by ring  rw [heq, Real.sin_two_mul, Real.sin_three_mul, Real.cos_three_mul]  linear_combination (8 * Real.sin u * Real.cos u * (3 - 4 * Real.sin u ^ 2)) *    (Real.sin_sq_add_cos_sq u)
See it in the graphDiscuss this resultChallenge it