Documentation

Lightlike.Regge.D4.Schlaefli

The Schläfli identity for a Euclidean 4-simplex #

For a 4-simplex with triangle areas A_t and dihedral angles θ_t, Schläfli's identity says Σ_t A_t dθ_t = 0 for every variation of the ten edge lengths. It is the lemma behind Regge's equations in 4D (Lightlike/Regge/D4/ReggeEquations.lean).

Method #

As in 3D (Lightlike/Regge/Schlaefli.lean) everything reduces to polynomials in the squared lengths. At the triangle pqr with opposite vertices s, u, write M = mixed, G_s = gram3(pqrs), G_u = gram3(pqru). Then cos θ = M / √(G_s G_u) and, by Desnanot–Jacobi, G_s G_u - M² = gram2 · gram4. Differentiating along a line of lengths,

A dθ = -(dM - (M/2)(dG_s/G_s + dG_u/G_u)) / (2 √gram4),

the area A = √gram2 / 2 cancelling (hasDerivAt_dihedral4_line). Summed over the ten triangles and regrouped by the five tetrahedral facets, two polynomial identities finish the proof:

The first identity turns Σ_t M_t (dG/G + dG/G) into Σ_F dG_F, the second turns Σ_t dM_t into ½ Σ_F dG_F, and the two cancel. Both identities, and Schläfli's identity at random rational lengths with a failing control, are checked in scripts/regge/regge4_check.py.

Main results #

Polynomial identities #

theorem Lightlike.Regge4.facet_identity {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) (p q r s u : V) :
mixed ℓ p q r s u + mixed ℓ p q s r u + mixed ℓ p r s q u + mixed ℓ q r s p u = gram3 ℓ p q r s

The facet identity: on the tetrahedron F = pqrs of the 4-simplex pqrsu, the mixed determinants of its four triangles (each with the opposite vertex of F, and u) add up to gram3(F).

theorem Lightlike.Regge4.gram3_rot3 {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) (p q r s : V) :
gram3 ℓ p r s q = gram3 ℓ p q r s

gram3 rotated in its last three points.

theorem Lightlike.Regge4.gram3_rot4 {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) (p q r s : V) :
gram3 ℓ q r s p = gram3 ℓ p q r s

gram3 rotated in all four points.

noncomputable def Lightlike.Regge4.mixedSum {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) (p q r s u : V) :

The ten mixed determinants of a 4-simplex, one for each triangle (listed with its opposite pair), in the labelling p, q, r, s, u.

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

    The five gram3 of the tetrahedral facets of a 4-simplex.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem Lightlike.Regge4.sum_mixed_eq {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) (p q r s u : V) :
      mixedSum ℓ p q r s u = gram3Sum ℓ p q r s u / 2

      The triangle sum: the ten mixed determinants of a 4-simplex add up to half the sum of the gram3 of its five facets (each triangle lies in two facets).

      Derivatives along a line of lengths #

      def Lightlike.Regge4.lineL {V : Type u_1} (ℓ v : Finset V → ℝ) (τ : ℝ) :
      Finset V → ℝ

      The line of lengths ℓ + τ v.

      Equations
      Instances For
        @[simp]
        theorem Lightlike.Regge4.lineL_zero {V : Type u_1} (ℓ v : Finset V → ℝ) :
        lineL ℓ v 0 = ℓ
        theorem Lightlike.Regge4.differentiable_sq_lineL {V : Type u_1} [DecidableEq V] (ℓ v : Finset V → ℝ) (a b : V) :
        Differentiable ℝ fun (τ : ℝ) => sq (lineL ℓ v τ) a b

        Squared lengths are differentiable along a line of lengths.

        theorem Lightlike.Regge4.differentiable_mixed_lineL {V : Type u_1} [DecidableEq V] (ℓ v : Finset V → ℝ) (p q r s u : V) :
        Differentiable ℝ fun (τ : ℝ) => mixed (lineL ℓ v τ) p q r s u

        The mixed determinant is differentiable along a line of lengths.

        theorem Lightlike.Regge4.differentiable_gram3_lineL {V : Type u_1} [DecidableEq V] (ℓ v : Finset V → ℝ) (p q r s : V) :
        Differentiable ℝ fun (τ : ℝ) => gram3 (lineL ℓ v τ) p q r s

        gram3 is differentiable along a line of lengths.

        theorem Lightlike.Regge4.hasDerivAt_dihedral4_line {V : Type u_1} [DecidableEq V] (ℓ v : Finset V → ℝ) (p q r s u : V) (hs : 0 < gram3 ℓ p q r s) (hu : 0 < gram3 ℓ p q r u) (h2 : 0 < gram2 ℓ p q r) (h4 : 0 < gram4 ℓ p q r s u) :
        HasDerivAt (fun (τ : ℝ) => dihedral4 (lineL ℓ v τ) p q r s u) (-(deriv (fun (τ : ℝ) => mixed (lineL ℓ v τ) p q r s u) 0 - mixed ℓ p q r s u * (deriv (fun (τ : ℝ) => gram3 (lineL ℓ v τ) p q r s) 0 / gram3 ℓ p q r s + deriv (fun (τ : ℝ) => gram3 (lineL ℓ v τ) p q r u) 0 / gram3 ℓ p q r u) / 2) / √(gram2 ℓ p q r * gram4 ℓ p q r s u)) 0

        The derivative of a dihedral angle along a line of lengths. At a non-degenerate 4-simplex (gram3 > 0 for the two tetrahedra at the triangle, gram2 > 0, gram4 > 0), the dihedral angle at the triangle pqr, along ℓ + τ v, has derivative -(dM - M (dG_s/G_s + dG_u/G_u)/2) / √(gram2 · gram4) at τ = 0.

        Schläfli's identity for a 4-simplex #

        theorem Lightlike.Regge4.gram4_perm {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) (p q r s u : V) :
        gram4 ℓ p q s r u = gram4 ℓ p q r s u ∧ gram4 ℓ p q u r s = gram4 ℓ p q r s u ∧ gram4 ℓ p r s q u = gram4 ℓ p q r s u ∧ gram4 ℓ p r u q s = gram4 ℓ p q r s u ∧ gram4 ℓ p s u q r = gram4 ℓ p q r s u ∧ gram4 ℓ q r s p u = gram4 ℓ p q r s u ∧ gram4 ℓ q r u p s = gram4 ℓ p q r s u ∧ gram4 ℓ q s u p r = gram4 ℓ p q r s u ∧ gram4 ℓ r s u p q = gram4 ℓ p q r s u

        gram4 does not depend on the labelling (the labellings of the ten triangles used below).

        structure Lightlike.Regge4.Nondeg4 {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) (p q r s u : V) :

        A labelled 4-simplex is non-degenerate: its ten triangles, five tetrahedral facets and the 4-simplex itself have positive Gram determinants (positive area, volume and 4-volume).

        • t₁ : 0 < gram2 ℓ p q r

          Triangle pqr.

        • t₂ : 0 < gram2 ℓ p q s

          Triangle pqs.

        • t₃ : 0 < gram2 ℓ p q u

          Triangle pqu.

        • t₄ : 0 < gram2 ℓ p r s

          Triangle prs.

        • t₅ : 0 < gram2 ℓ p r u

          Triangle pru.

        • t₆ : 0 < gram2 ℓ p s u

          Triangle psu.

        • t₇ : 0 < gram2 ℓ q r s

          Triangle qrs.

        • t₈ : 0 < gram2 ℓ q r u

          Triangle qru.

        • t₉ : 0 < gram2 ℓ q s u

          Triangle qsu.

        • t₁₀ : 0 < gram2 ℓ r s u

          Triangle rsu.

        • f_u : 0 < gram3 ℓ p q r s

          Facet pqrs.

        • f_s : 0 < gram3 ℓ p q r u

          Facet pqru.

        • f_r : 0 < gram3 ℓ p q s u

          Facet pqsu.

        • f_q : 0 < gram3 ℓ p r s u

          Facet prsu.

        • f_p : 0 < gram3 ℓ q r s u

          Facet qrsu.

        • g4 : 0 < gram4 ℓ p q r s u

          The 4-simplex.

        Instances For
          noncomputable def Lightlike.Regge4.areaAngleSum {V : Type u_1} [DecidableEq V] (ℓ v : Finset V → ℝ) (p q r s u : V) (τ : ℝ) :

          The area-weighted sum of the dihedral angles of the labelled 4-simplex pqrsu, along the line of lengths ℓ + τ v, with the areas √gram2 / 2 held at ℓ.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem Lightlike.Regge4.schlaefli4 {V : Type u_1} [DecidableEq V] (ℓ v : Finset V → ℝ) {p q r s u : V} (h : Nondeg4 ℓ p q r s u) :
            HasDerivAt (areaAngleSum ℓ v p q r s u) 0 0

            Schläfli's identity for a 4-simplex. At a non-degenerate labelled 4-simplex, for every direction v of change of the edge lengths, Σ_t A_t dθ_t = 0: the derivative at τ = 0 of the area-weighted angle sum (areas held fixed, angles varying) vanishes.

            Labelling-free form #

            theorem Lightlike.Regge4.sum_powersetCard_three_five {V : Type u_1} [DecidableEq V] {p q r s u : V} (hpq : p ≠ q) (hpr : p ≠ r) (hps : p ≠ s) (hpu : p ≠ u) (hqr : q ≠ r) (hqs : q ≠ s) (hqu : q ≠ u) (hrs : r ≠ s) (hru : r ≠ u) (hsu : s ≠ u) (f : Finset V → ℝ) :
            ∑ t ∈ Finset.powersetCard 3 {p, q, r, s, u}, f t = f {p, q, r} + f {p, q, s} + f {p, q, u} + f {p, r, s} + f {p, r, u} + f {p, s, u} + f {q, r, s} + f {q, r, u} + f {q, s, u} + f {r, s, u}

            The sum over the ten triangles of the 4-simplex {p, q, r, s, u}.

            theorem Lightlike.Regge4.dihedralAt4_of_eq {V : Type u_1} [DecidableEq V] (ℓ : Finset V → ℝ) {σ : Finset V} {a b c x y : V} (hσ : σ = {a, b, c, x, y}) (hab : a ≠ b) (hac : a ≠ c) (hax : a ≠ x) (hay : a ≠ y) (hbc : b ≠ c) (hbx : b ≠ x) (hby : b ≠ y) (hcx : c ≠ x) (hcy : c ≠ y) (hxy : x ≠ y) :
            dihedralAt4 ℓ σ {a, b, c} = dihedral4 ℓ a b c x y

            The dihedral angle at a triangle of a 4-simplex given as a set: if σ = {a, b, c, x, y}, the angle at {a, b, c} is the length formula in this labelling.

            theorem Lightlike.Regge4.sum_area_dihedralAt4 {V : Type u_1} [DecidableEq V] (ℓ v : Finset V → ℝ) {p q r s u : V} (hpq : p ≠ q) (hpr : p ≠ r) (hps : p ≠ s) (hpu : p ≠ u) (hqr : q ≠ r) (hqs : q ≠ s) (hqu : q ≠ u) (hrs : r ≠ s) (hru : r ≠ u) (hsu : s ≠ u) (τ : ℝ) :
            ∑ t ∈ Finset.powersetCard 3 {p, q, r, s, u}, area4 ℓ t * dihedralAt4 (lineL ℓ v τ) {p, q, r, s, u} t = areaAngleSum ℓ v p q r s u τ

            The area-weighted angle sum of a labelled 4-simplex is the labelling-free sum over its triangles.

            theorem Lightlike.Regge4.schlaefli4_finset {V : Type u_1} [DecidableEq V] (ℓ v : Finset V → ℝ) {p q r s u : V} (hpq : p ≠ q) (hpr : p ≠ r) (hps : p ≠ s) (hpu : p ≠ u) (hqr : q ≠ r) (hqs : q ≠ s) (hqu : q ≠ u) (hrs : r ≠ s) (hru : r ≠ u) (hsu : s ≠ u) (h : Nondeg4 ℓ p q r s u) :
            HasDerivAt (fun (τ : ℝ) => ∑ t ∈ Finset.powersetCard 3 {p, q, r, s, u}, area4 ℓ t * dihedralAt4 (lineL ℓ v τ) {p, q, r, s, u} t) 0 0

            Schläfli's identity, labelling-free. For a non-degenerate 4-simplex σ = {p, q, r, s, u} and every direction v, the derivative at τ = 0 of Σ_{t ⊂ σ} A_t θ_σ(t) with the areas held at ℓ and the angles taken at ℓ + τ v vanishes.