Documentation

Lightlike.Regge.Dihedral

Dihedral angles of a Euclidean tetrahedron from its edge lengths #

Regge calculus describes a curved 3-geometry by a triangulation with a length on every edge. The curvature sits on the edges and is measured by dihedral angles. The library already has a length formula for the dihedral angle (Lightlike.PR.cosDihedral, Lightlike.PR.dihedral in Lightlike/PonzanoRegge/Asymptotics.lean), checked there only on the regular tetrahedron. This file checks it against Euclidean geometry for every tetrahedron and proves the properties that the triangulation-level definitions in Lightlike/Regge/Complex.lean rely on.

Main results #

The argument order is the one of Lightlike.PR.cosDihedral: pq pr qr ps qs rs.

Symmetries and scaling of the length formula #

theorem Lightlike.Regge.cosDihedral_swap_rs (pq pr qr ps qs rs : ℝ) :
PR.cosDihedral pq pr qr ps qs rs = PR.cosDihedral pq ps qs pr qr rs

The length formula is symmetric under exchanging the two vertices r, s opposite the edge.

theorem Lightlike.Regge.cosDihedral_swap_pq {pq : ℝ} (h : pq ≠ 0) (pr qr ps qs rs : ℝ) :
PR.cosDihedral pq pr qr ps qs rs = PR.cosDihedral pq qr pr qs ps rs

The length formula is symmetric under exchanging the two vertices p, q of the edge, provided the edge length is nonzero. (For pq = 0 the formula divides by zero and the symmetry fails.)

theorem Lightlike.Regge.dihedral_swap_rs (pq pr qr ps qs rs : ℝ) :
PR.dihedral pq pr qr ps qs rs = PR.dihedral pq ps qs pr qr rs

The dihedral angle is symmetric under exchanging the two vertices opposite the edge.

theorem Lightlike.Regge.dihedral_swap_pq {pq : ℝ} (h : pq ≠ 0) (pr qr ps qs rs : ℝ) :
PR.dihedral pq pr qr ps qs rs = PR.dihedral pq qr pr qs ps rs

The dihedral angle is symmetric under exchanging the two vertices of the edge, for a nonzero edge length.

theorem Lightlike.Regge.cosDihedral_smul {c : ℝ} (hc : 0 < c) (pq pr qr ps qs rs : ℝ) :
PR.cosDihedral (c * pq) (c * pr) (c * qr) (c * ps) (c * qs) (c * rs) = PR.cosDihedral pq pr qr ps qs rs

Scaling all six lengths by c > 0 does not change the cosine of the dihedral angle.

theorem Lightlike.Regge.dihedral_smul {c : ℝ} (hc : 0 < c) (pq pr qr ps qs rs : ℝ) :
PR.dihedral (c * pq) (c * pr) (c * qr) (c * ps) (c * qs) (c * rs) = PR.dihedral pq pr qr ps qs rs

Dihedral angles are scale invariant: scaling all six lengths by c > 0 does not change them.

theorem Lightlike.Regge.dihedral_mem_Icc (pq pr qr ps qs rs : ℝ) :
PR.dihedral pq pr qr ps qs rs ∈ Set.Icc 0 Real.pi

The dihedral angle lies in [0, π] (it is an arccos).

The length formula agrees with Euclidean geometry #

noncomputable def Lightlike.Regge.perp {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] (v a : E) :
E

The component of a orthogonal to v, namely a - (⟪a, v⟫ / ‖v‖²) • v. For v = q - p and a = r - p it is the perpendicular dropped from r onto the line pq, so the dihedral angle at the edge pq of the tetrahedron pqrs is the angle between perp (q - p) (r - p) and perp (q - p) (s - p).

Equations
Instances For

    perp v a is orthogonal to v.

    theorem Lightlike.Regge.inner_perp_perp {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {v : E} (hv : v ≠ 0) (a b : E) :
    inner ℝ (perp v a) (perp v b) = inner ℝ a b - inner ℝ a v * inner ℝ b v / ‖v‖ ^ 2

    Inner product of two perpendicular components: ⟪a, b⟫ - ⟪a, v⟫ ⟪b, v⟫ / ‖v‖².

    theorem Lightlike.Regge.cosDihedral_dist {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {p q r s : E} (hpq : p ≠ q) :
    PR.cosDihedral (dist p q) (dist p r) (dist q r) (dist p s) (dist q s) (dist r s) = inner ℝ (perp (q - p) (r - p)) (perp (q - p) (s - p)) / (‖perp (q - p) (r - p)‖ * ‖perp (q - p) (s - p)‖)

    The length formula is Euclidean. For points p ≠ q, r, s of a real inner product space, Lightlike.PR.cosDihedral of the six distances is the cosine of the angle between the perpendiculars dropped from r and from s onto the line pq.

    theorem Lightlike.Regge.dihedral_dist {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {p q r s : E} (hpq : p ≠ q) :
    PR.dihedral (dist p q) (dist p r) (dist q r) (dist p s) (dist q s) (dist r s) = InnerProductGeometry.angle (perp (q - p) (r - p)) (perp (q - p) (s - p))

    The dihedral angle from lengths is the Euclidean dihedral angle. For points p ≠ q, r, s of a real inner product space, Lightlike.PR.dihedral of the six distances is the angle (InnerProductGeometry.angle) between the perpendiculars dropped from r and s onto the line pq.