Documentation

Lightlike.Regge.CMS.StarFlat

The angles of a frozen-metric star add up to 2π (RC6b, step 5) #

The angles at a vertex v, computed from the squared lengths of the flat metric G = g(v), are the Euclidean angles of the star under a linear map A with Aᵀ A = G (a Cholesky factor, which preserves orientation). This file builds A as z ↦ α z + β z̄ on ℂ and applies sum_angle_linear.

Main results #

def Lightlike.CMS.toC (z : Fin 2 → ℝ) :

The coordinates (z 0, z 1) as a complex number.

Equations
Instances For
    theorem Lightlike.CMS.toC_sub (z z' : Fin 2 → ℝ) :
    toC (z - z') = toC z - toC z'
    theorem Lightlike.CMS.exists_chol {G : Matrix (Fin 2) (Fin 2) ℝ} (h00 : 0 < G 0 0) (hdet : 0 < G 0 0 * G 1 1 - G 0 1 ^ 2) :
    ∃ (p : ℝ) (q : ℝ) (r : ℝ), 0 < p ∧ 0 < r ∧ G 0 0 = p ^ 2 ∧ G 0 1 = p * q ∧ G 1 1 = q ^ 2 + r ^ 2
    noncomputable def Lightlike.CMS.cholα (p q r : ℝ) :

    The orientation preserving linear map z ↦ M z, M = [[p, q], [0, r]], as z ↦ α z + β z̄.

    Equations
    Instances For
      noncomputable def Lightlike.CMS.cholβ (p q r : ℝ) :

      See cholα.

      Equations
      Instances For
        theorem Lightlike.CMS.norm_cholβ_lt {p q r : ℝ} (hp : 0 < p) (hr : 0 < r) :
        theorem Lightlike.CMS.normSq_lin_eq_ip {G : Matrix (Fin 2) (Fin 2) ℝ} {p q r : ℝ} (hs : G 0 1 = G 1 0) (h00 : G 0 0 = p ^ 2) (h01 : G 0 1 = p * q) (h11 : G 1 1 = q ^ 2 + r ^ 2) (z : Fin 2 → ℝ) :
        ‖lin (cholα p q r) (cholβ p q r) 1 (toC z)‖ ^ 2 = ip G z z
        theorem Lightlike.CMS.lin_sub (α β a b : ℂ) :
        lin α β 1 (a - b) = lin α β 1 a - lin α β 1 b
        theorem Lightlike.CMS.sum_triAngle_gram {n : ℕ} [NeZero n] {G : Matrix (Fin 2) (Fin 2) ℝ} (hs : G 0 1 = G 1 0) (h00 : 0 < G 0 0) (hdet : 0 < G 0 0 * G 1 1 - G 0 1 ^ 2) {u : ZMod n → Fin 2 → ℝ} (hu : IsPosStar fun (i : ZMod n) => toC (u i)) (h2π : ∑ i : ZMod n, InnerProductGeometry.angle (toC (u i)) (toC (u (i + 1))) = 2 * Real.pi) :
        ∑ i : ZMod n, triAngle (ip G (u i) (u i)) (ip G (u (i + 1)) (u (i + 1))) (ip G (u (i + 1) - u i) (u (i + 1) - u i)) = 2 * Real.pi

        The angles of a frozen-metric star add up to 2π.