Planar Rot90 Clockwise Wedge Tau Trig
ProvedPlanarRot90ClockwiseWedgeTauTrigcrossing-consequencestrellis-port
Fix a base angle . For any , write
Then for and ,
and
Formalization Note This node is ported from the Trellis formalization of the crossing lemma and its consequences (wpegden/crossing-consequences, commit 8769d142, W. Pegden, Apache-2.0); the statement is the Trellis node PlanarRot90ClockwiseWedgeTauTrig.
Preamble
import Mathlib.Tactic import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Combinatorics.SimpleGraph.Finite import Mathlib.Data.Finset.Prod import Mathlib.Data.Set.Finite.Basic import Mathlib.LinearAlgebra.AffineSpace.AffineSubspace.Basic open Classical noncomputable section
Formal statement
lemma PlanarRot90ClockwiseWedgeTauTrig (β ν α : ℝ)
(hαν : α ≠ β) (hνβ : ν ≠ β) :
let τ : ℝ → ℝ :=
fun x => if x = β then 2 * Real.pi
else if x < β then β - x
else β - x + 2 * Real.pi
Real.sin (α - β) = -Real.sin (τ α) ∧
Real.cos (α - β) = Real.cos (τ α) ∧
Real.sin (α - ν) = Real.sin (τ ν - τ α) := by sorrySource