Documentation

Lightlike.Regge.Embedded

Triangulations of a region of space have zero deficit angles #

deficit_eq_zero_of_cyl (Lightlike/Regge/Flat.lean) assumes that the tetrahedra around an edge wind once around it. This file derives that from geometry: in a 3-dimensional Euclidean space, if the tetrahedra around an interior edge are non-degenerate and their interiors are pairwise disjoint, the deficit angle of the edge is zero.

The interior of the tetrahedron pqrs is handled as openTet p q r s, the points whose four barycentric coordinates are all positive; for a non-degenerate tetrahedron in a 3-dimensional space this is exactly the topological interior of its convex hull (openTet_eq_interior), which is how IsGeometric states disjointness.

Main result #

Proof #

Put an orthonormal frame e₀, e₁, e₂ with x b - x a = L • e₀ (exists_frame) and write the link vertices in cylindrical coordinates around the line ab (cyl_repr). The dihedral angle of the tetrahedron i at ab is the angle between the directions α i and α (i+1) (dihedral_cyl_eq_arccos). Points just off the middle of the edge in a direction strictly inside that angle lie inside the tetrahedron (mem_openTet_near). So disjoint interiors make the wedges between consecutive directions disjoint, and sum_arccos_cos_eq_two_pi (Lightlike/Regge/Winding.lean) gives the angle sum 2π.

The open tetrahedron with vertices p q r s: the points c₀ p + c₁ q + c₂ r + c₃ s with all four barycentric coordinates cᵢ positive. For a non-degenerate tetrahedron in a 3-dimensional space this is its interior.

Equations
Instances For

    The open tetrahedron is the interior. For four affinely independent points of a 3-dimensional real inner product space, openTet (the points with positive barycentric coordinates) is the topological interior of their convex hull.

    theorem Lightlike.Regge.mem_openTet_near {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {a b r s u u' : E} {ζ ζ' l m : ℝ} (hr : r = a + ζ • (b - a) + u) (hs : s = a + ζ' • (b - a) + u') (hl : 0 < l) (hm : 0 < m) :
    ∃ (δ : ℝ), 0 < δ ∧ ∀ (ε : ℝ), 0 < ε → ε < δ → a + (1 / 2) • (b - a) + ε • (l • u + m • u') ∈ openTet a b r s

    Points just off the middle of an edge lie inside the tetrahedron. Write r = a + ζ (b - a) + u and s = a + ζ' (b - a) + u'. For l, m > 0 and all small ε > 0, the point a + ½ (b - a) + ε (l u + m u') lies in the open tetrahedron abrs.

    theorem Lightlike.Regge.exists_frame {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] (hE : Module.finrank ℝ E = 3) {v : E} (hv : v ≠ 0) :
    ∃ (e₀ : E) (e₁ : E) (e₂ : E), Orthonormal ℝ ![e₀, e₁, e₂] ∧ v = ‖v‖ • e₀ ∧ ∀ (y : E), y = inner ℝ y e₀ • e₀ + inner ℝ y e₁ • e₁ + inner ℝ y e₂ • e₂

    An orthonormal frame along a direction. In a 3-dimensional real inner product space, for v ≠ 0 there is an orthonormal triple e₀, e₁, e₂ with v = ‖v‖ • e₀ that spans the space.

    theorem Lightlike.Regge.cyl_repr {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {e₀ e₁ e₂ : E} (hexp : ∀ (y : E), y = inner ℝ y e₀ • e₀ + inner ℝ y e₁ • e₁ + inner ℝ y e₂ • e₂) (y : E) :
    y = inner ℝ y e₀ • e₀ + ‖{ re := inner ℝ y e₁, im := inner ℝ y e₂ }‖ • (Real.cos { re := inner ℝ y e₁, im := inner ℝ y e₂ }.arg • e₁ + Real.sin { re := inner ℝ y e₁, im := inner ℝ y e₂ }.arg • e₂)

    Cylindrical coordinates. In a frame e₀, e₁, e₂ spanning the space, every vector is z • e₀ + ρ • (cos α • e₁ + sin α • e₂) with z = ⟪y, e₀⟫, and ρ, α the modulus and argument of the complex number ⟪y, e₁⟫ + i ⟪y, e₂⟫.

    theorem Lightlike.Regge.cyl_nondeg {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {v₁ v₂ v₃ e₀ e₁ e₂ : E} {L z ρ α z' ρ' α' : ℝ} (hL : 0 < L) (h1 : v₁ = L • e₀) (h2 : v₂ = z • e₀ + ρ • (Real.cos α • e₁ + Real.sin α • e₂)) (h3 : v₃ = z' • e₀ + ρ' • (Real.cos α' • e₁ + Real.sin α' • e₂)) (hli : LinearIndependent ℝ ![v₁, v₂, v₃]) :
    ρ ≠ 0 ∧ ρ' ≠ 0 ∧ Real.sin (α' - α) ≠ 0

    Non-degenerate tetrahedra in cylindrical coordinates. If the edge vectors v₁ = L e₀, v₂ = z e₀ + ρ (cos α e₁ + sin α e₂), v₃ = z' e₀ + ρ' (cos α' e₁ + sin α' e₂) of a tetrahedron are linearly independent, then ρ ≠ 0, ρ' ≠ 0 (the two vertices are off the line of the edge) and sin (α' - α) ≠ 0 (the two faces at the edge are not coplanar).

    theorem Lightlike.Regge.cyl_linIndep {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {v₁ v₂ v₃ e₀ e₁ e₂ : E} (horth : Orthonormal ℝ ![e₀, e₁, e₂]) {L z ρ α z' ρ' α' : ℝ} (hL : L ≠ 0) (hρ : ρ ≠ 0) (hρ' : ρ' ≠ 0) (hs : Real.sin (α' - α) ≠ 0) (h1 : v₁ = L • e₀) (h2 : v₂ = z • e₀ + ρ • (Real.cos α • e₁ + Real.sin α • e₂)) (h3 : v₃ = z' • e₀ + ρ' • (Real.cos α' • e₁ + Real.sin α' • e₂)) :

    The converse of cyl_nondeg: in an orthonormal frame, the edge vectors L e₀, z e₀ + ρ (cos α e₁ + sin α e₂), z' e₀ + ρ' (cos α' e₁ + sin α' e₂) are linearly independent when L, ρ, ρ' ≠ 0 and sin (α' - α) ≠ 0.

    theorem Lightlike.Regge.deficit_eq_zero_of_embedded {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] [FiniteDimensional ℝ E] (hE : Module.finrank ℝ E = 3) (K : PR.Complex3 V) (x : V → E) {a b : V} {n : ℕ} {w : ℕ → V} (hc : IsCycleLink K a b n w) (hnd : ∀ i < n, LinearIndependent ℝ ![x b - x a, x (w i) - x a, x (w (i + 1)) - x a]) (hdisj : ∀ i < n, ∀ j < n, i ≠ j → Disjoint (openTet (x a) (x b) (x (w i)) (x (w (i + 1)))) (openTet (x a) (x b) (x (w j)) (x (w (j + 1))))) :
    deficit K (ofDist fun (u v : V) => dist (x u) (x v)) {a, b} = 0

    Triangulations of a region of space have zero deficit. Let E be a real inner product space of dimension 3 and x a placement of the vertices of K in E, with the induced edge lengths. Suppose the link of the edge ab is a cycle w 0, …, w (n-1) (IsCycleLink), each tetrahedron {a, b, w i, w (i+1)} around it is non-degenerate (its edge vectors from a are linearly independent), and the interiors of these tetrahedra are pairwise disjoint. Then the deficit angle at ab is zero.

    Geometric triangulations #

    def Lightlike.Regge.openHull {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} (x : V → E) (t : Finset V) :
    Set E

    The open simplex spanned by the vertex set t under the placement x: the points Σ_{v ∈ t} c v • x v with all c v > 0 and Σ_{v ∈ t} c v = 1. It does not depend on a labelling of the vertices; for t = {p, q, r, s} it contains openTet (x p) (x q) (x r) (x s) (openTet_subset_openHull).

    Equations
    Instances For
      theorem Lightlike.Regge.openTet_subset_openHull {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] (x : V → E) {p q r s : V} (hpq : p ≠ q) (hpr : p ≠ r) (hps : p ≠ s) (hqr : q ≠ r) (hqs : q ≠ s) (hrs : r ≠ s) :
      openTet (x p) (x q) (x r) (x s) ⊆ openHull x {p, q, r, s}

      The open tetrahedron of a labelling lies in the open simplex of its vertex set.

      theorem Lightlike.Regge.affIndep_four_iff {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (P₀ P₁ P₂ P₃ : E) :
      AffineIndependent ℝ ![P₀, P₁, P₂, P₃] ↔ LinearIndependent ℝ ![P₁ - P₀, P₂ - P₀, P₃ - P₀]

      The four labelled points of a tetrahedron, as a family indexed by Fin 4, are affinely independent iff the three edge vectors from the first are linearly independent.

      theorem Lightlike.Regge.affIndep_four_of_subtype {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] (x : V → E) {p q r s : V} (hpq : p ≠ q) (hpr : p ≠ r) (hps : p ≠ s) (hqr : q ≠ r) (hqs : q ≠ s) (hrs : r ≠ s) (h : AffineIndependent ℝ fun (v : ↥{p, q, r, s}) => x ↑v) :

      Affine independence of the vertex set of a tetrahedron gives affine independence of the four points in any labelling.

      theorem Lightlike.Regge.linIndep_of_affIndep {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] (x : V → E) {p q r s : V} (hpq : p ≠ q) (hpr : p ≠ r) (hps : p ≠ s) (hqr : q ≠ r) (hqs : q ≠ s) (hrs : r ≠ s) (h : AffineIndependent ℝ fun (v : ↥{p, q, r, s}) => x ↑v) :
      LinearIndependent ℝ ![x q - x p, x r - x p, x s - x p]

      Affine independence of the vertex set of a tetrahedron gives linear independence of the edge vectors for any labelling.

      theorem Lightlike.Regge.affIndep_of_linIndep {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] (x : V → E) {p q r s : V} (hpq : p ≠ q) (hpr : p ≠ r) (hps : p ≠ s) (hqr : q ≠ r) (hqs : q ≠ s) (hrs : r ≠ s) (h : LinearIndependent ℝ ![x q - x p, x r - x p, x s - x p]) :
      AffineIndependent ℝ fun (v : ↥{p, q, r, s}) => x ↑v

      Conversely, linear independence of the edge vectors of one labelling gives affine independence of the vertex set.

      theorem Lightlike.Regge.openHull_eq_openTet {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] (x : V → E) {p q r s : V} (hpq : p ≠ q) (hpr : p ≠ r) (hps : p ≠ s) (hqr : q ≠ r) (hqs : q ≠ s) (hrs : r ≠ s) :
      openHull x {p, q, r, s} = openTet (x p) (x q) (x r) (x s)

      The open simplex of the vertex set {p, q, r, s} is the open tetrahedron of the labelling.

      theorem Lightlike.Regge.image_four {E : Type u_1} {V : Type u_2} [DecidableEq V] (x : V → E) (p q r s : V) :
      x '' ↑{p, q, r, s} = {x p, x q, x r, x s}

      The image of a vertex set {p, q, r, s} under a placement.

      theorem Lightlike.Regge.openHull_eq_interior {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] [FiniteDimensional ℝ E] (hE : Module.finrank ℝ E = 3) (x : V → E) {K : PR.Complex3 V} {t : Finset V} (ht : t ∈ K.tets) (h : AffineIndependent ℝ fun (v : ↥t) => x ↑v) :
      openHull x t = interior ((convexHull ℝ) (x '' ↑t))

      The open simplex of a tetrahedron is the interior of its convex hull, for a non-degenerate tetrahedron placed in a 3-dimensional real inner product space.

      structure Lightlike.Regge.IsGeometric {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] (K : PR.Complex3 V) (x : V → E) :

      A placement x of the vertices of K in E is a geometric triangulation (of the region covered by its tetrahedra): every tetrahedron is non-degenerate (its four vertices are affinely independent), and distinct tetrahedra have disjoint interiors, the topological interiors of their convex hulls.

      Instances For
        theorem Lightlike.Regge.IsGeometric.deficit_eq_zero {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] [FiniteDimensional ℝ E] (hE : Module.finrank ℝ E = 3) {K : PR.Complex3 V} {x : V → E} (hK : IsGeometric K x) (hM : IsEdgeManifold K) {e : Finset V} (he : e ∈ intEdges K) :
        deficit K (ofDist fun (u v : V) => dist (x u) (x v)) e = 0

        Flat space has zero curvature: every interior edge of a geometric triangulation of a region of 3-space has deficit angle zero. Here K is an edge-manifold placed in a 3-dimensional real inner product space by a geometric triangulation x, with the induced edge lengths.

        theorem Lightlike.Regge.IsGeometric.reggeAction_eq {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] [FiniteDimensional ℝ E] (hE : Module.finrank ℝ E = 3) {K : PR.Complex3 V} {x : V → E} (hK : IsGeometric K x) (hM : IsEdgeManifold K) :
        reggeAction K (ofDist fun (u v : V) => dist (x u) (x v)) = ∑ e ∈ bdryEdges K, ofDist (fun (u v : V) => dist (x u) (x v)) e * bdryAngle K (ofDist fun (u v : V) => dist (x u) (x v)) e

        The Regge action of a flat region is a pure boundary term: for a geometric triangulation of a region of 3-space, S = Σ_{boundary edges} ℓ_e (π - Σ θ).