Documentation

Lightlike.Regge.Flat

Flat geometry has zero deficit angles #

If the vertices of a triangulation are placed in Euclidean space and the edge lengths are the distances, the geometry is flat, and the deficit angle at every interior edge must vanish. This file proves that for an edge ab whose tetrahedra wind once around it.

Cylindrical coordinates around the edge describe the situation. Take an orthonormal triple e₀, e₁, e₂ with x b = x a + L • e₀ (L > 0), and write the other vertices of the tetrahedra around ab as

x (w i) = x a + z_i • e₀ + ρ_i • (cos α_i • e₁ + sin α_i • e₂), ρ_i > 0,

where the tetrahedra around ab are {a, b, w i, w (i+1)} for i < n. Every point of a 3-space off the line ab has this form. The hypotheses are that the angles α_i increase, by at most π at each step, and make exactly one full turn: α_n = α_0 + 2π. This says that the tetrahedra around the edge follow each other in order and fill the full angle around it once, as they do in a triangulation of a region of space.

Main results #

The winding hypothesis is derived from geometry (non-degenerate tetrahedra with disjoint interiors) in Lightlike/Regge/Embedded.lean.

The hypotheses are not vacuous: Lightlike/Regge/Tests.lean applies the last theorem to an octahedron split into four tetrahedra around an axis.

theorem Lightlike.Regge.orthonormal_three {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {e₀ e₁ e₂ : E} (h : Orthonormal ℝ ![e₀, e₁, e₂]) :
‖e₀‖ = 1 ∧ ‖e₁‖ = 1 ∧ ‖e₂‖ = 1 ∧ inner ℝ e₁ e₀ = 0 ∧ inner ℝ e₂ e₀ = 0 ∧ inner ℝ e₁ e₂ = 0

The six conditions contained in Orthonormal ℝ ![e₀, e₁, e₂].

theorem Lightlike.Regge.angle_planeDir_eq_arccos {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {e₁ e₂ : E} (h₁ : ‖e₁‖ = 1) (h₂ : ‖e₂‖ = 1) (h₁₂ : inner ℝ e₁ e₂ = 0) (α β : ℝ) :

The angle between the unit vectors cos α • e₁ + sin α • e₂ and cos β • e₁ + sin β • e₂ of the plane spanned by orthonormal e₁, e₂ is arccos (cos (β - α)), for all α, β.

theorem Lightlike.Regge.angle_planeDir {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {e₁ e₂ : E} (h₁ : ‖e₁‖ = 1) (h₂ : ‖e₂‖ = 1) (h₁₂ : inner ℝ e₁ e₂ = 0) {α β : ℝ} (h : α ≤ β) (h' : β ≤ α + Real.pi) :
InnerProductGeometry.angle (Real.cos α • e₁ + Real.sin α • e₂) (Real.cos β • e₁ + Real.sin β • e₂) = β - α

The unit vectors cos α • e₁ + sin α • e₂ of the plane spanned by orthonormal e₁, e₂ at angles α ≤ β ≤ α + π enclose the angle β - α.

theorem Lightlike.Regge.perp_cyl {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {e₀ e₁ e₂ : E} (h₀ : ‖e₀‖ = 1) (h₁₀ : inner ℝ e₁ e₀ = 0) (h₂₀ : inner ℝ e₂ e₀ = 0) {L : ℝ} (hL : L ≠ 0) (z ρ α : ℝ) :
perp (L • e₀) (z • e₀ + ρ • (Real.cos α • e₁ + Real.sin α • e₂)) = ρ • (Real.cos α • e₁ + Real.sin α • e₂)

The component orthogonal to the edge direction L • e₀ of a point given in cylindrical coordinates z • e₀ + ρ • (cos α • e₁ + sin α • e₂) is its radial part.

theorem Lightlike.Regge.dihedral_cyl_eq_arccos {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {p q r s e₀ e₁ e₂ : E} (horth : Orthonormal ℝ ![e₀, e₁, e₂]) {L z ρ α z' ρ' α' : ℝ} (hL : 0 < L) (hρ : 0 < ρ) (hρ' : 0 < ρ') (hq : q = p + L • e₀) (hr : r = p + z • e₀ + ρ • (Real.cos α • e₁ + Real.sin α • e₂)) (hs : s = p + z' • e₀ + ρ' • (Real.cos α' • e₁ + Real.sin α' • e₂)) :
PR.dihedral (dist p q) (dist p r) (dist q r) (dist p s) (dist q s) (dist r s) = Real.arccos (Real.cos (α' - α))

Dihedral angle in cylindrical coordinates. Let q = p + L • e₀ and let r, s have cylindrical coordinates (z, ρ, α) and (z', ρ', α') around the line pq. Then the dihedral angle at the edge pq of the tetrahedron pqrs, computed from the six distances, is arccos (cos (α' - α)).

theorem Lightlike.Regge.dihedral_eq_of_cyl {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {p q r s e₀ e₁ e₂ : E} (horth : Orthonormal ℝ ![e₀, e₁, e₂]) {L z ρ α z' ρ' α' : ℝ} (hL : 0 < L) (hρ : 0 < ρ) (hρ' : 0 < ρ') (hq : q = p + L • e₀) (hr : r = p + z • e₀ + ρ • (Real.cos α • e₁ + Real.sin α • e₂)) (hs : s = p + z' • e₀ + ρ' • (Real.cos α' • e₁ + Real.sin α' • e₂)) (h : α ≤ α') (h' : α' ≤ α + Real.pi) :
PR.dihedral (dist p q) (dist p r) (dist q r) (dist p s) (dist q s) (dist r s) = α' - α

Dihedral angle in cylindrical coordinates, ordered link. As dihedral_cyl_eq_arccos, with α ≤ α' ≤ α + π: the dihedral angle is α' - α.

theorem Lightlike.Regge.sum_dihedral_cyl_eq {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {p q e₀ e₁ e₂ : E} (horth : Orthonormal ℝ ![e₀, e₁, e₂]) {L : ℝ} (hL : 0 < L) (hq : q = p + L • e₀) (n : ℕ) (r : ℕ → E) (z ρ α : ℕ → ℝ) (hρ : ∀ i ≤ n, 0 < ρ i) (hr : ∀ i ≤ n, r i = p + z i • e₀ + ρ i • (Real.cos (α i) • e₁ + Real.sin (α i) • e₂)) (hstep : ∀ i < n, α i ≤ α (i + 1) ∧ α (i + 1) ≤ α i + Real.pi) {T : ℝ} (hturn : α n = α 0 + T) :
∑ i ∈ Finset.range n, PR.dihedral (dist p q) (dist p (r i)) (dist q (r i)) (dist p (r (i + 1))) (dist q (r (i + 1))) (dist (r i) (r (i + 1))) = T

Dihedral angles around an edge, summed. Let q = p + L • e₀ and let r 0, …, r n have cylindrical coordinates (z i, ρ i, α i) around the line pq, the angles increasing by at most π at each step, with total turn α n - α 0 = T. Then the dihedral angles at pq of the tetrahedra p q (r i) (r (i+1)), i < n, add up to T.

theorem Lightlike.Regge.sum_dihedral_cyl_eq_two_pi {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {p q e₀ e₁ e₂ : E} (horth : Orthonormal ℝ ![e₀, e₁, e₂]) {L : ℝ} (hL : 0 < L) (hq : q = p + L • e₀) (n : ℕ) (r : ℕ → E) (z ρ α : ℕ → ℝ) (hρ : ∀ i ≤ n, 0 < ρ i) (hr : ∀ i ≤ n, r i = p + z i • e₀ + ρ i • (Real.cos (α i) • e₁ + Real.sin (α i) • e₂)) (hstep : ∀ i < n, α i ≤ α (i + 1) ∧ α (i + 1) ≤ α i + Real.pi) (hturn : α n = α 0 + 2 * Real.pi) :
∑ i ∈ Finset.range n, PR.dihedral (dist p q) (dist p (r i)) (dist q (r i)) (dist p (r (i + 1))) (dist q (r (i + 1))) (dist (r i) (r (i + 1))) = 2 * Real.pi

The dihedral angles around an edge of flat space add up to 2π. Let q = p + L • e₀ and let r 0, …, r n have cylindrical coordinates (z i, ρ i, α i) around the line pq, the angles increasing by at most π at each step and making one full turn, α n = α 0 + 2π. Then the dihedral angles at pq of the tetrahedra p q (r i) (r (i+1)), i < n, add up to 2π.

theorem Lightlike.Regge.deficit_eq_of_cyl {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] (K : PR.Complex3 V) (x : V → E) {a b : V} (n : ℕ) (w : ℕ → V) (hstar : star K {a, b} = Finset.image (fun (i : ℕ) => {a, b, w i, w (i + 1)}) (Finset.range n)) (hinj : Set.InjOn (fun (i : ℕ) => {a, b, w i, w (i + 1)}) ↑(Finset.range n)) (hdist : ∀ i < n, a ≠ w i ∧ a ≠ w (i + 1) ∧ b ≠ w i ∧ b ≠ w (i + 1) ∧ w i ≠ w (i + 1)) {e₀ e₁ e₂ : E} (horth : Orthonormal ℝ ![e₀, e₁, e₂]) {L : ℝ} (hL : 0 < L) (hb : x b = x a + L • e₀) (z ρ α : ℕ → ℝ) (hρ : ∀ i ≤ n, 0 < ρ i) (hx : ∀ i ≤ n, x (w i) = x a + z i • e₀ + ρ i • (Real.cos (α i) • e₁ + Real.sin (α i) • e₂)) (hstep : ∀ i < n, α i ≤ α (i + 1) ∧ α (i + 1) ≤ α i + Real.pi) {T : ℝ} (hturn : α n = α 0 + T) :
deficit K (ofDist fun (u v : V) => dist (x u) (x v)) {a, b} = 2 * Real.pi - T

Deficit of a placement winding by T. Let the vertices of K be placed in a real inner product space by x, with the induced edge lengths. Suppose the tetrahedra of K around the edge ab are exactly the n distinct tetrahedra {a, b, w i, w (i+1)}, i < n, and that in cylindrical coordinates around the line through x a and x b = x a + L • e₀ the link vertices w 0, …, w n have angles increasing by at most π at each step, with total turn T. Then the deficit angle at ab is 2π - T.

theorem Lightlike.Regge.deficit_eq_zero_of_cyl {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {V : Type u_2} [DecidableEq V] (K : PR.Complex3 V) (x : V → E) {a b : V} (n : ℕ) (w : ℕ → V) (hstar : star K {a, b} = Finset.image (fun (i : ℕ) => {a, b, w i, w (i + 1)}) (Finset.range n)) (hinj : Set.InjOn (fun (i : ℕ) => {a, b, w i, w (i + 1)}) ↑(Finset.range n)) (hdist : ∀ i < n, a ≠ w i ∧ a ≠ w (i + 1) ∧ b ≠ w i ∧ b ≠ w (i + 1) ∧ w i ≠ w (i + 1)) {e₀ e₁ e₂ : E} (horth : Orthonormal ℝ ![e₀, e₁, e₂]) {L : ℝ} (hL : 0 < L) (hb : x b = x a + L • e₀) (z ρ α : ℕ → ℝ) (hρ : ∀ i ≤ n, 0 < ρ i) (hx : ∀ i ≤ n, x (w i) = x a + z i • e₀ + ρ i • (Real.cos (α i) • e₁ + Real.sin (α i) • e₂)) (hstep : ∀ i < n, α i ≤ α (i + 1) ∧ α (i + 1) ≤ α i + Real.pi) (hturn : α n = α 0 + 2 * Real.pi) :
deficit K (ofDist fun (u v : V) => dist (x u) (x v)) {a, b} = 0

Flat placements have zero deficit. Let the vertices of K be placed in a real inner product space by x, with the induced edge lengths. Suppose the tetrahedra of K around the edge ab are exactly the n distinct tetrahedra {a, b, w i, w (i+1)}, i < n, and that in cylindrical coordinates around the line through x a and x b = x a + L • e₀ the link vertices w 0, …, w n have angles increasing by at most π at each step and making one full turn. Then the deficit angle at ab is zero.