pith. machine review for the scientific record. sign in
structure

SimplicialHingeData

definition
show as:
view math explainer →
module
IndisputableMonolith.Geometry.Schlaefli
domain
Geometry
line
84 · github
papers citing
none yet

open explainer

Read the cached plain-language explainer.

open lean source

IndisputableMonolith.Geometry.Schlaefli on GitHub at line 84.

browse module

All declarations in this module, on Recognition.

explainer page

A cached Ask Recognition explainer exists for this declaration.

open explainer

depends on

used by

formal source

  81/-- Abstract hinge data: each hinge knows its area and the collection of
  82    dihedral angles of the top simplices meeting it. The *total* dihedral
  83    at the hinge is `Σ θ_σ`; the deficit is `2π − Σ θ_σ`. -/
  84structure SimplicialHingeData where
  85  area : ℝ
  86  area_nonneg : 0 ≤ area
  87  dihedrals : List DihedralAngleData
  88
  89namespace SimplicialHingeData
  90
  91/-- Sum of the dihedral angles at the hinge. -/
  92def totalTheta (h : SimplicialHingeData) : ℝ :=
  93  DihedralAngle.sumThetas h.dihedrals
  94
  95/-- Deficit at the hinge: `2π − Σ θ`. -/
  96def deficit (h : SimplicialHingeData) : ℝ :=
  97  DihedralAngle.deficit h.dihedrals
  98
  99theorem deficit_eq (h : SimplicialHingeData) :
 100    h.deficit = 2 * Real.pi - h.totalTheta := rfl
 101
 102end SimplicialHingeData
 103
 104/-! ## §2. Variational data
 105
 106For Schläfli's identity we need derivatives of `θ_h` with respect to each
 107edge length `L_e`. We package these as a matrix of real numbers, one per
 108(hinge, edge) pair. The identity below constrains this matrix. -/
 109
 110/-- A matrix of deficit-angle derivatives: `dThetadL h e` is intended
 111    to be `∂(totalTheta h) / ∂(len e)`. -/
 112structure DeficitDerivativeMatrix (nH nE : ℕ) where
 113  dThetadL : Fin nH → Fin nE → ℝ
 114