lean_workbook_plus_77082
OpenA slightly more rigorous approach would be to start with as an expression, and not start with an equality. Transform that via the double angle identity for sine into . Then, cancel the cosines (noting that we now have forced the issue of ) to get . That's your RHS.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_77082 (x : ℝ) (h₀ : cos x ≠ 0) : sin (2 * x) / cos x = 2 * sin x := by sorry
Source