Documentation

Lightlike.Regge.Lorentzian.Dihedral

Dihedral angles of a Lorentzian 4-simplex from its squared edge lengths #

In Lorentzian Regge calculus (Sorkin 1975) the variables are the signed squared lengths L e = η(Δx, Δx) of the edges, positive for spacelike and negative for timelike edges, in the signature (−,+,+,+). The inner products of edge vectors follow from them by polarization, which holds for any symmetric bilinear form, so the Gram determinants of M12 (Lightlike/Regge/D4/Dihedral.lean) are the same polynomials, now in L instead of ℓ² (gram2L_sq, …, gram4L_sq).

At the triangle pqr of the 4-simplex pqrsu, the components of s - p and u - p orthogonal to the triangle have the inner products G_s/G, G_u/G, M/G (g_perpL_perpL), with G = gram2L(pqr), G_s = gram3L(pqrs), G_u = gram3L(pqru) and M = mixedL. The dihedral angle is the angle of the wedge they span in the plane orthogonal to the triangle (Asante, Dittrich, Padua-Argüelles, arXiv:2104.00485, Appendix B, eqs. B4–B6):

Definitions #

Main results #

Inner products and determinants from signed squared lengths #

noncomputable def Lightlike.ReggeLor.sqL {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (a b : V) :

The signed squared length of the edge ab, from the values L on 2-element vertex sets; zero for a = b.

Equations
Instances For
    noncomputable def Lightlike.ReggeLor.ipL {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (o a b : V) :

    The inner product η(a - o, b - o) of two edge vectors from o, by polarization.

    Equations
    Instances For
      noncomputable def Lightlike.ReggeLor.gram2L {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r : V) :

      The Gram determinant of the edge vectors q - p, r - p of the triangle pqr: positive for a spacelike, negative for a timelike triangle.

      Equations
      Instances For
        noncomputable def Lightlike.ReggeLor.gram3L {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s : V) :

        The Gram determinant of the edge vectors q - p, r - p, s - p of the tetrahedron pqrs.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def Lightlike.ReggeLor.mixedL {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :

          The mixed determinant at the triangle pqr of the 4-simplex pqrsu: rows q - p, r - p, s - p, columns q - p, r - p, u - p of the Gram matrix.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            noncomputable def Lightlike.ReggeLor.gram4L {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :

            The Gram determinant of the edge vectors q - p, r - p, s - p, u - p of the 4-simplex pqrsu (expanded along the first row); negative for a Lorentzian 4-simplex.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def Lightlike.ReggeLor.lorDihedral4 {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :

              The Lorentzian dihedral angle of the 4-simplex pqrsu at its triangle pqr, between the tetrahedra pqrs and pqru: Sorkin's angle at a spacelike triangle, the Euclidean angle arccos(−M/√(G_s G_u)) at a timelike one, and the junk value 0 at a null triangle.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                Symmetry #

                theorem Lightlike.ReggeLor.sqL_comm {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (a b : V) :
                sqL L a b = sqL L b a

                Signed squared lengths are symmetric.

                @[simp]
                theorem Lightlike.ReggeLor.sqL_self {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (a : V) :
                sqL L a a = 0

                The squared length of a degenerate edge is zero.

                theorem Lightlike.ReggeLor.sqL_of_ne {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) {a b : V} (h : a ≠ b) :
                sqL L a b = L {a, b}

                The signed squared length of an edge ab, a ≠ b.

                Normalise signed squared lengths: remove sqL L a a, order the arguments, expand.

                Equations
                Instances For
                  theorem Lightlike.ReggeLor.mixedL_swap_pq {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :
                  mixedL L q p r s u = mixedL L p q r s u

                  The mixed determinant is symmetric in the first two vertices of the triangle.

                  theorem Lightlike.ReggeLor.mixedL_swap_qr {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :
                  mixedL L p r q s u = mixedL L p q r s u

                  The mixed determinant is symmetric in the last two vertices of the triangle.

                  theorem Lightlike.ReggeLor.mixedL_swap_su {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :
                  mixedL L p q r u s = mixedL L p q r s u

                  The mixed determinant is symmetric in the two opposite vertices.

                  theorem Lightlike.ReggeLor.gram3L_swap_pq {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s : V) :
                  gram3L L q p r s = gram3L L p q r s

                  gram3L is symmetric in its first two points.

                  theorem Lightlike.ReggeLor.gram3L_swap_qr {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s : V) :
                  gram3L L p r q s = gram3L L p q r s

                  gram3L is symmetric in its second and third points.

                  theorem Lightlike.ReggeLor.gram3L_swap_rs {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s : V) :
                  gram3L L p q s r = gram3L L p q r s

                  gram3L is symmetric in its last two points.

                  theorem Lightlike.ReggeLor.gram2L_swap_pq {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r : V) :
                  gram2L L q p r = gram2L L p q r

                  gram2L is symmetric in its first two points.

                  theorem Lightlike.ReggeLor.gram2L_swap_qr {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r : V) :
                  gram2L L p r q = gram2L L p q r

                  gram2L is symmetric in its last two points.

                  theorem Lightlike.ReggeLor.lorDihedral4_swap_pq {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :
                  lorDihedral4 L q p r s u = lorDihedral4 L p q r s u

                  The Lorentzian dihedral angle is symmetric in the first two vertices of the triangle.

                  theorem Lightlike.ReggeLor.lorDihedral4_swap_qr {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :
                  lorDihedral4 L p r q s u = lorDihedral4 L p q r s u

                  The Lorentzian dihedral angle is symmetric in the last two vertices of the triangle.

                  theorem Lightlike.ReggeLor.lorDihedral4_swap_su {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :
                  lorDihedral4 L p q r u s = lorDihedral4 L p q r s u

                  The Lorentzian dihedral angle is symmetric in the two opposite vertices: Sorkin's angle does not depend on the order of the two vectors that bound the wedge (sorkinAngle_comm).

                  theorem Lightlike.ReggeLor.desnanot_jacobiL {V : Type u_1} [DecidableEq V] (L : Finset V → ℝ) (p q r s u : V) :
                  gram3L L p q r s * gram3L L p q r u - mixedL L p q r s u ^ 2 = gram2L L p q r * gram4L L p q r s u

                  Desnanot–Jacobi for signed squared lengths: G_s · G_u − M² = G · gram4L.

                  The Euclidean polynomials of M12 #

                  theorem Lightlike.ReggeLor.sqL_sq {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) :
                  (sqL fun (e : Finset V) => ℓ e ^ 2) = Regge4.sq ℓ

                  For the squares of lengths ℓ, the signed squared lengths are the squared lengths of M12.

                  theorem Lightlike.ReggeLor.ipL_sq {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) :
                  (ipL fun (e : Finset V) => ℓ e ^ 2) = Regge4.ip ℓ

                  For L = ℓ², ipL is the inner product ip of M12.

                  theorem Lightlike.ReggeLor.gram2L_sq {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) :
                  (gram2L fun (e : Finset V) => ℓ e ^ 2) = Regge4.gram2 ℓ

                  For L = ℓ², gram2L is gram2 of M12.

                  theorem Lightlike.ReggeLor.gram3L_sq {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) :
                  (gram3L fun (e : Finset V) => ℓ e ^ 2) = Regge4.gram3 ℓ

                  For L = ℓ², gram3L is gram3 of M12.

                  theorem Lightlike.ReggeLor.mixedL_sq {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) :
                  (mixedL fun (e : Finset V) => ℓ e ^ 2) = Regge4.mixed ℓ

                  For L = ℓ², mixedL is mixed of M12.

                  theorem Lightlike.ReggeLor.gram4L_sq {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) :
                  (gram4L fun (e : Finset V) => ℓ e ^ 2) = Regge4.gram4 ℓ

                  For L = ℓ², gram4L is gram4 of M12.

                  Realization by a symmetric bilinear form #

                  theorem Lightlike.ReggeLor.sorkinAngle_mul {c : ℝ} (hc : 0 < c) (aa bb ab : ℝ) :
                  sorkinAngle (c * aa) (c * bb) (c * ab) = sorkinAngle aa bb ab

                  Sorkin's angle is unchanged when its three arguments are multiplied by c > 0.

                  noncomputable def Lightlike.ReggeLor.perpL {E : Type u_2} [AddCommGroup E] [Module ℝ E] (g : LinearMap.BilinForm ℝ E) (a b c : E) :
                  E

                  The component of c that is g-orthogonal to a and b, by Cramer's rule (meaningful when the Gram determinant g(a,a) g(b,b) − g(a,b)² is non-zero).

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem Lightlike.ReggeLor.g_perpL_left {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} (hg : ∀ (y z : E), (g y) z = (g z) y) {a b : E} (h : (g a) a * (g b) b - (g a) b ^ 2 ≠ 0) (c : E) :
                    (g (perpL g a b c)) a = 0

                    perpL g a b c is g-orthogonal to a.

                    theorem Lightlike.ReggeLor.g_perpL_right {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} {a b : E} (h : (g a) a * (g b) b - (g a) b ^ 2 ≠ 0) (c : E) :
                    (g (perpL g a b c)) b = 0

                    perpL g a b c is g-orthogonal to b.

                    theorem Lightlike.ReggeLor.g_perpL_of_orth {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} {a b y : E} (ha : (g y) a = 0) (hb : (g y) b = 0) (d : E) :
                    (g y) (perpL g a b d) = (g y) d

                    A vector g-orthogonal to a and b has the same g-inner product with perpL g a b d as with d.

                    theorem Lightlike.ReggeLor.g_perpL_perpL {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} (hg : ∀ (y z : E), (g y) z = (g z) y) {a b : E} (h : (g a) a * (g b) b - (g a) b ^ 2 ≠ 0) (c d : E) :
                    (g (perpL g a b c)) (perpL g a b d) = Regge4.det3 ((g a) a) ((g a) b) ((g a) d) ((g b) a) ((g b) b) ((g b) d) ((g c) a) ((g c) b) ((g c) d) / ((g a) a * (g b) b - (g a) b ^ 2)

                    The g-inner product of two orthogonal components is the mixed determinant divided by the Gram determinant of a, b (a Schur complement).

                    theorem Lightlike.ReggeLor.sub_perpL_mem_span {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} {a b : E} (c : E) :

                    c - perpL g a b c lies in the span of a and b.

                    theorem Lightlike.ReggeLor.sqL_eq_g {V : Type u_1} [DecidableEq V] {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} (x : V → E) {L : Finset V → ℝ} (hL : ∀ (a b : V), a ≠ b → L {a, b} = (g (x b - x a)) (x b - x a)) (a b : V) :
                    sqL L a b = (g (x b - x a)) (x b - x a)

                    For the squared lengths of a placement, sqL is the g-square of the edge vector.

                    theorem Lightlike.ReggeLor.ipL_eq_g {V : Type u_1} [DecidableEq V] {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} (hg : ∀ (y z : E), (g y) z = (g z) y) (x : V → E) {L : Finset V → ℝ} (hL : ∀ (a b : V), a ≠ b → L {a, b} = (g (x b - x a)) (x b - x a)) (o a b : V) :
                    ipL L o a b = (g (x a - x o)) (x b - x o)

                    For the squared lengths of a placement, ipL is the g-inner product of the edge vectors.

                    theorem Lightlike.ReggeLor.gram2L_eq_g {V : Type u_1} [DecidableEq V] {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} (hg : ∀ (y z : E), (g y) z = (g z) y) (x : V → E) {L : Finset V → ℝ} (hL : ∀ (a b : V), a ≠ b → L {a, b} = (g (x b - x a)) (x b - x a)) (p q r : V) :
                    gram2L L p q r = (g (x q - x p)) (x q - x p) * (g (x r - x p)) (x r - x p) - (g (x q - x p)) (x r - x p) ^ 2

                    For the squared lengths of a placement, gram2L is the Gram determinant of the edge vectors.

                    theorem Lightlike.ReggeLor.gram3L_eq_g {V : Type u_1} [DecidableEq V] {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} (hg : ∀ (y z : E), (g y) z = (g z) y) (x : V → E) {L : Finset V → ℝ} (hL : ∀ (a b : V), a ≠ b → L {a, b} = (g (x b - x a)) (x b - x a)) {p q r : V} (h : gram2L L p q r ≠ 0) (s : V) :
                    gram3L L p q r s = gram2L L p q r * (g (perpL g (x q - x p) (x r - x p) (x s - x p))) (perpL g (x q - x p) (x r - x p) (x s - x p))

                    For the squared lengths of a placement with a non-null triangle pqr, gram3L(pqrs) is G times the g-square of the component of s - p orthogonal to the triangle.

                    theorem Lightlike.ReggeLor.mixedL_eq_g {V : Type u_1} [DecidableEq V] {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} (hg : ∀ (y z : E), (g y) z = (g z) y) (x : V → E) {L : Finset V → ℝ} (hL : ∀ (a b : V), a ≠ b → L {a, b} = (g (x b - x a)) (x b - x a)) {p q r : V} (h : gram2L L p q r ≠ 0) (s u : V) :
                    mixedL L p q r s u = gram2L L p q r * (g (perpL g (x q - x p) (x r - x p) (x s - x p))) (perpL g (x q - x p) (x r - x p) (x u - x p))

                    For the squared lengths of a placement with a non-null triangle pqr, the mixed determinant is G times the g-inner product of the components of s - p and u - p orthogonal to the triangle.

                    theorem Lightlike.ReggeLor.lorDihedral4_eq_of_pos {V : Type u_1} [DecidableEq V] {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} (hg : ∀ (y z : E), (g y) z = (g z) y) (x : V → E) {L : Finset V → ℝ} (hL : ∀ (a b : V), a ≠ b → L {a, b} = (g (x b - x a)) (x b - x a)) {p q r : V} (h : 0 < gram2L L p q r) (s u : V) :
                    lorDihedral4 L p q r s u = sorkinAngle ((g (perpL g (x q - x p) (x r - x p) (x s - x p))) (perpL g (x q - x p) (x r - x p) (x s - x p))) ((g (perpL g (x q - x p) (x r - x p) (x u - x p))) (perpL g (x q - x p) (x r - x p) (x u - x p))) ((g (perpL g (x q - x p) (x r - x p) (x s - x p))) (perpL g (x q - x p) (x r - x p) (x u - x p)))

                    At a spacelike triangle the length formula is Sorkin's angle of the wedge spanned by the components P_s, P_u of s - p and u - p orthogonal to the triangle.

                    theorem Lightlike.ReggeLor.lorDihedral4_eq_of_neg {V : Type u_1} [DecidableEq V] {E : Type u_2} [AddCommGroup E] [Module ℝ E] {g : LinearMap.BilinForm ℝ E} (hg : ∀ (y z : E), (g y) z = (g z) y) (x : V → E) {L : Finset V → ℝ} (hL : ∀ (a b : V), a ≠ b → L {a, b} = (g (x b - x a)) (x b - x a)) {p q r : V} (h : gram2L L p q r < 0) (s u : V) :
                    lorDihedral4 L p q r s u = ↑(Real.arccos ((g (perpL g (x q - x p) (x r - x p) (x s - x p))) (perpL g (x q - x p) (x r - x p) (x u - x p)) / √((g (perpL g (x q - x p) (x r - x p) (x s - x p))) (perpL g (x q - x p) (x r - x p) (x s - x p)) * (g (perpL g (x q - x p) (x r - x p) (x u - x p))) (perpL g (x q - x p) (x r - x p) (x u - x p)))))

                    At a timelike triangle the length formula is the Euclidean angle between the components P_s, P_u of s - p and u - p orthogonal to the triangle: arccos(g(P_s, P_u) / √(g(P_s, P_s) g(P_u, P_u))).