Unit Circle Fundamental Angles
ProvedUnitCircleFundamentalAnglescrossing-consequencestrellis-port
Let , and let be a finite set such that . Then there is a function
such that every satisfies
and this function is injective.
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 UnitCircleFundamentalAngles.
Preamble
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 import Mathlib.Analysis.SpecialFunctions.Complex.Arg import Definitions.Def_UnitCircle open Classical noncomputable section
Formal statement
lemma UnitCircleFundamentalAngles
(p : EuclideanSpace ℝ (Fin 2))
(S : Finset (EuclideanSpace ℝ (Fin 2)))
(hS : (↑S : Set (EuclideanSpace ℝ (Fin 2))) ⊆ UnitCircle p) :
∃ θ : {x : EuclideanSpace ℝ (Fin 2) // x ∈ S} → ℝ,
(∀ x, 0 ≤ θ x ∧ θ x < 2 * Real.pi) ∧
(∀ x,
x.1 =
p + WithLp.toLp 2
(fun i : Fin 2 =>
if i = 0 then Real.cos (θ x) else Real.sin (θ x))) ∧
Function.Injective θ := by sorrySource