Planar Rot90 Clockwise Wedge Sign Criterion
ProvedPlanarRot90ClockwiseWedgeSignCriterioncrossing-consequencestrellis-port
Let . Then the following three sign descriptions are equivalent to the single interval condition :
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 PlanarRot90ClockwiseWedgeSignCriterion.
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 PlanarRot90ClockwiseWedgeSignCriterion (A N : ℝ)
(hA0 : 0 < A) (hA2 : A < 2 * Real.pi)
(hN0 : 0 < N) (hN2 : N < 2 * Real.pi) :
(if 0 < Real.sin N then
A < Real.pi ∧ 0 < Real.sin (N - A)
else if Real.sin N < 0 then
A < Real.pi ∨ 0 < Real.sin (N - A)
else
A < Real.pi) ↔ A < N := by sorrySource