Documentation

Lightlike.Regge.Conv3.KuhnCore

The algebraic core of the 3D convergence on the Kuhn triangulation #

The Kuhn (Freudenthal) triangulation of the cube grid has six congruent tetrahedra per cube, the orthoscheme 0, e₁, e₁+e₂, e₁+e₂+e₃ and its images under coordinate permutations. Its edges fall into seven classes (3 axis edges, 3 face diagonals, 1 body diagonal) and the 36 pairs of a tetrahedron and one of its edges are the incidences of the seven classes.

In normal coordinates at the midpoint of an edge, the squared distance of two points y, z is |y - z|² - (1/3) Rm(y, z, y, z) + O(5). This file takes the first-order variation -(1/3) Rm(y, z, y, z) of the squared lengths of the six tetrahedra, for an algebraic curvature tensor of dimension 3 with Ricci tensor ric, and computes the variation of the dihedral angles.

Main results #

theorem Lightlike.Regge.Conv3.h01_deriv (a₁ b₁ c₁ d₁ e₁ f₁ : ℝ) :
√1 * dihSq' 1 2 1 3 2 1 a₁ b₁ c₁ d₁ e₁ f₁ = -e₁ / 4 + f₁ / 2
theorem Lightlike.Regge.Conv3.h02_deriv (a₁ b₁ c₁ d₁ e₁ f₁ : ℝ) :
√2 * dihSq' 2 1 1 3 1 2 a₁ b₁ c₁ d₁ e₁ f₁ = a₁ / 2 - d₁ / 2 - c₁ - e₁ / 2 + f₁
theorem Lightlike.Regge.Conv3.h03_deriv (a₁ b₁ c₁ d₁ e₁ f₁ : ℝ) :
√3 * dihSq' 3 1 2 2 1 1 a₁ b₁ c₁ d₁ e₁ f₁ = a₁ / 2 - 3 * d₁ / 4 - 3 * c₁ / 4 + 3 * f₁ / 2
theorem Lightlike.Regge.Conv3.h12_deriv (a₁ b₁ c₁ d₁ e₁ f₁ : ℝ) :
√1 * dihSq' 1 1 2 2 1 3 a₁ b₁ c₁ d₁ e₁ f₁ = a₁ / 2 - d₁ / 2 - c₁ / 2 + f₁ / 2
theorem Lightlike.Regge.Conv3.h13_deriv (a₁ b₁ c₁ d₁ e₁ f₁ : ℝ) :
√2 * dihSq' 2 1 3 1 1 2 a₁ b₁ c₁ d₁ e₁ f₁ = a₁ / 2 - b₁ / 2 - d₁ - c₁ / 2 + f₁
theorem Lightlike.Regge.Conv3.h23_deriv (a₁ b₁ c₁ d₁ e₁ f₁ : ℝ) :
√1 * dihSq' 1 2 3 1 2 1 a₁ b₁ c₁ d₁ e₁ f₁ = -b₁ / 4 + f₁ / 2

The dihedral angle of the orthoscheme at its first hinge is π/4.

The curvature perturbation of squared lengths #

def Lightlike.Regge.Conv3.bil (ric : Fin 3 → Fin 3 → ℝ) (y z : Fin 3 → ℝ) :

The bilinear form of a matrix ric.

Equations
Instances For
    def Lightlike.Regge.Conv3.scal (ric : Fin 3 → Fin 3 → ℝ) :

    The scalar curvature of an algebraic curvature tensor with Ricci tensor ric (the trace).

    Equations
    Instances For
      noncomputable def Lightlike.Regge.Conv3.Rm (ric : Fin 3 → Fin 3 → ℝ) (a b c d : Fin 3) :

      The algebraic curvature tensor of dimension 3 with Ricci tensor ric, in an orthonormal frame: `Rm a b c d = δ_ac ric_bd - δ_ad ric_bc - δ_bc ric_ad + δ_bd ric_ac

      • (R/2)(δ_ac δ_bd - δ_ad δ_bc)`.
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def Lightlike.Regge.Conv3.Qc (ric : Fin 3 → Fin 3 → ℝ) (y z : Fin 3 → ℝ) :

        The sectional-curvature term Rm(y, z, y, z) = K(y, z) |y ∧ z|².

        Equations
        Instances For
          theorem Lightlike.Regge.Conv3.Qc_eq (ric : Fin 3 → Fin 3 → ℝ) (hs : ∀ (i j : Fin 3), ric i j = ric j i) (y z : Fin 3 → ℝ) :
          Qc ric y z = (y 0 ^ 2 + y 1 ^ 2 + y 2 ^ 2) * bil ric z z + (z 0 ^ 2 + z 1 ^ 2 + z 2 ^ 2) * bil ric y y - 2 * (y 0 * z 0 + y 1 * z 1 + y 2 * z 2) * bil ric y z - scal ric / 2 * ((y 0 ^ 2 + y 1 ^ 2 + y 2 ^ 2) * (z 0 ^ 2 + z 1 ^ 2 + z 2 ^ 2) - (y 0 * z 0 + y 1 * z 1 + y 2 * z 2) ^ 2)

          In closed form: |y|² ric(z,z) + |z|² ric(y,y) - 2 (y·z) ric(y,z) - (R/2)(|y|²|z|² - (y·z)²) for symmetric ric.

          The Kuhn orthoscheme and its six hinges #

          The vertices 0, e₁, e₁+e₂, e₁+e₂+e₃ of the orthoscheme (one of the 6 Kuhn tetrahedra of the unit cube).

          Equations
          Instances For

            The six hinges 01, 02, 03, 12, 13, 23: the hinge (p, q) and the other two vertices (r, s).

            Equations
            Instances For

              Second vertex of the hinge.

              Equations
              Instances For

                First opposite vertex of the hinge.

                Equations
                Instances For

                  Second opposite vertex of the hinge.

                  Equations
                  Instances For

                    The squared lengths (pq, pr, qr, ps, qs, rs) at each hinge.

                    Equations
                    Instances For

                      The squared distance of two points of ℝ³.

                      Equations
                      Instances For
                        theorem Lightlike.Regge.Conv3.hbase_eq (h : Fin 6) :
                        hbase h = ![sqd (kv (hP h)) (kv (hQ h)), sqd (kv (hP h)) (kv (hR h)), sqd (kv (hQ h)) (kv (hR h)), sqd (kv (hP h)) (kv (hS h)), sqd (kv (hQ h)) (kv (hS h)), sqd (kv (hR h)) (kv (hS h))]

                        The table hbase lists the squared lengths of the orthoscheme at each hinge.

                        noncomputable def Lightlike.Regge.Conv3.dth :
                        Fin 6 → (Fin 6 → ℝ) → ℝ

                        The derivative √a · dθ at each hinge, as a rational linear form of the first variations (a₁, …, f₁) of the squared lengths.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For
                          theorem Lightlike.Regge.Conv3.hinge_deriv (h : Fin 6) (x : Fin 6 → ℝ) :
                          √(hbase h 0) * dihSq' (hbase h 0) (hbase h 1) (hbase h 2) (hbase h 3) (hbase h 4) (hbase h 5) (x 0) (x 1) (x 2) (x 3) (x 4) (x 5) = dth h x

                          At every hinge, the edge length times the derivative of the dihedral angle is dth.

                          The six Kuhn tetrahedra of a cube and the sum over all 36 (tetrahedron, hinge) pairs #

                          The six coordinate permutations; applied to the orthoscheme they give the six Kuhn tetrahedra of the unit cube.

                          Equations
                          Instances For
                            noncomputable def Lightlike.Regge.Conv3.kpos (σ h : Fin 6) (k : Fin 4) :
                            Fin 3 → ℝ

                            The vertex k of the tetrahedron σ, relative to the midpoint of the hinge h.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              noncomputable def Lightlike.Regge.Conv3.kds (ric : Fin 3 → Fin 3 → ℝ) (σ h : Fin 6) :
                              Fin 6 → ℝ

                              The first variation -(1/3) Rm(y, z, y, z) of the squared lengths of the tetrahedron σ at the hinge h, ordered (pq, pr, qr, ps, qs, rs): the leading change of the squared geodesic distance in normal coordinates at the midpoint of the hinge.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                noncomputable def Lightlike.Regge.Conv3.Th :
                                Fin 6 → (Fin 3 → Fin 3 → ℝ) → ℝ

                                The sum over the six tetrahedra of dth at the hinge h, as a linear form of the Ricci tensor (entries above the diagonal).

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For
                                  theorem Lightlike.Regge.Conv3.kuhn_hinge (ric : Fin 3 → Fin 3 → ℝ) (hs : ∀ (i j : Fin 3), ric i j = ric j i) (h : Fin 6) :
                                  ∑ σ : Fin 6, dth h (kds ric σ h) = Th h ric

                                  Summed over the six Kuhn tetrahedra, the first variation at each hinge is Th.

                                  theorem Lightlike.Regge.Conv3.kuhn_sum (ric : Fin 3 → Fin 3 → ℝ) (hs : ∀ (i j : Fin 3), ric i j = ric j i) :
                                  ∑ σ : Fin 6, ∑ h : Fin 6, dth h (kds ric σ h) = -scal ric / 2

                                  The algebraic core of the 3D convergence. Summed over the 6 tetrahedra of a cube and their 6 hinges (36 pairs, which are the incidences of the 7 edge classes), the hinge length times the first variation of the dihedral angle, for the squared-length variation of a curvature tensor with Ricci tensor ric, is -R/2.

                                  The squared length of every hinge is positive.

                                  theorem Lightlike.Regge.Conv3.dihSq'_eq (h : Fin 6) (x : Fin 6 → ℝ) :
                                  dihSq' (hbase h 0) (hbase h 1) (hbase h 2) (hbase h 3) (hbase h 4) (hbase h 5) (x 0) (x 1) (x 2) (x 3) (x 4) (x 5) = dth h x / √(hbase h 0)

                                  The derivative of the dihedral angle at a hinge is dth / length.

                                  theorem Lightlike.Regge.Conv3.weighted_sum (w : ℝ → ℝ) (ric : Fin 3 → Fin 3 → ℝ) (hs : ∀ (i j : Fin 3), ric i j = ric j i) :
                                  ∑ σ : Fin 6, ∑ h : Fin 6, w √(hbase h 0) * dihSq' (hbase h 0) (hbase h 1) (hbase h 2) (hbase h 3) (hbase h 4) (hbase h 5) (kds ric σ h 0) (kds ric σ h 1) (kds ric σ h 2) (kds ric σ h 3) (kds ric σ h 4) (kds ric σ h 5) = ∑ h : Fin 6, w √(hbase h 0) / √(hbase h 0) * Th h ric

                                  Weighted sum of the angle variations over the 36 incidences. With the weight w of the hinge length.

                                  theorem Lightlike.Regge.Conv3.kuhn_regge_core (ric : Fin 3 → Fin 3 → ℝ) (hs : ∀ (i j : Fin 3), ric i j = ric j i) :
                                  ∑ σ : Fin 6, ∑ h : Fin 6, √(hbase h 0) * dihSq' (hbase h 0) (hbase h 1) (hbase h 2) (hbase h 3) (hbase h 4) (hbase h 5) (kds ric σ h 0) (kds ric σ h 1) (kds ric σ h 2) (kds ric σ h 3) (kds ric σ h 4) (kds ric σ h 5) = -scal ric / 2

                                  Algebraic core of the 3D convergence (weight = hinge length). Summed over the 36 (tetrahedron, hinge) pairs of a cube, the hinge length times the first variation of the dihedral angle under the squared-length variation -(1/3) Rm(y, z, y, z) is -R/2, for every algebraic curvature tensor of dimension 3 (with symmetric Ricci tensor ric).

                                  A Ricci tensor with only the off-diagonal entry (0,1): scalar curvature 0.

                                  Equations
                                  Instances For
                                    theorem Lightlike.Regge.Conv3.wrong_weight_sq :
                                    ∑ σ : Fin 6, ∑ h : Fin 6, √(hbase h 0) ^ 2 * dihSq' (hbase h 0) (hbase h 1) (hbase h 2) (hbase h 3) (hbase h 4) (hbase h 5) (kds ricOff σ h 0) (kds ricOff σ h 1) (kds ricOff σ h 2) (kds ricOff σ h 3) (kds ricOff σ h 4) (kds ricOff σ h 5) = √3 - 1

                                    Wrong-weight control (squared length). Weighting by |e|² instead of |e| gives √3 - 1 on ricOff, not the value -R/2 = 0 of the correct weight.

                                    theorem Lightlike.Regge.Conv3.wrong_weight_one :
                                    ∑ σ : Fin 6, ∑ h : Fin 6, 1 * dihSq' (hbase h 0) (hbase h 1) (hbase h 2) (hbase h 3) (hbase h 4) (hbase h 5) (kds ricOff σ h 0) (kds ricOff σ h 1) (kds ricOff σ h 2) (kds ricOff σ h 3) (kds ricOff σ h 4) (kds ricOff σ h 5) = 1 / √3 - 1

                                    Wrong-weight control (unit weight). Weighting every hinge by 1 gives 1/√3 - 1 on ricOff.

                                    Both wrong weights miss the correct value -R/2 = 0 on ricOff, while the weight |e| gives exactly 0 (kuhn_regge_core).

                                    theorem Lightlike.Regge.Conv3.kuhn_regge_core_identity :
                                    ∑ σ : Fin 6, ∑ h : Fin 6, √(hbase h 0) * dihSq' (hbase h 0) (hbase h 1) (hbase h 2) (hbase h 3) (hbase h 4) (hbase h 5) (kds (fun (i j : Fin 3) => if i = j then 1 else 0) σ h 0) (kds (fun (i j : Fin 3) => if i = j then 1 else 0) σ h 1) (kds (fun (i j : Fin 3) => if i = j then 1 else 0) σ h 2) (kds (fun (i j : Fin 3) => if i = j then 1 else 0) σ h 3) (kds (fun (i j : Fin 3) => if i = j then 1 else 0) σ h 4) (kds (fun (i j : Fin 3) => if i = j then 1 else 0) σ h 5) = -3 / 2

                                    The identity as Ricci tensor (R = 3): non-vacuity of kuhn_regge_core, value -3/2.

                                    The angles of the orthoscheme and the sum around each edge class #

                                    noncomputable def Lightlike.Regge.Conv3.hang :
                                    Fin 6 → ℝ

                                    The dihedral angle of the orthoscheme at each hinge (exact values).

                                    Equations
                                    Instances For
                                      theorem Lightlike.Regge.Conv3.hang_eq (h : Fin 6) :
                                      dihSq (hbase h 0) (hbase h 1) (hbase h 2) (hbase h 3) (hbase h 4) (hbase h 5) = hang h

                                      The table hang is the dihedral angle dihSq computed from the squared lengths.

                                      theorem Lightlike.Regge.Conv3.star_angle_sum (w0 w1 w2 : ℝ) (h0 : w0 = 0 ∨ w0 = 1) (h1 : w1 = 0 ∨ w1 = 1) (h2 : w2 = 0 ∨ w2 = 1) (hne : ¬(w0 = 0 ∧ w1 = 0 ∧ w2 = 0)) :
                                      (∑ σ : Fin 6, ∑ h : Fin 6, if kv (hQ h) (perms σ 0) - kv (hP h) (perms σ 0) = w0 ∧ kv (hQ h) (perms σ 1) - kv (hP h) (perms σ 1) = w1 ∧ kv (hQ h) (perms σ 2) - kv (hP h) (perms σ 2) = w2 then hang h else 0) = 2 * Real.pi

                                      The angles around each of the 7 edge classes sum to 2π. The 36 (tetrahedron, hinge) pairs of a cube, for the tetrahedra σ, are sorted by the direction (w₀, w₁, w₂) of the hinge in the cube, one of the seven nonzero 0/1 vectors; the dihedral angles at the hinges with direction w add up to 2π.