Documentation

LeanPool.NandakumarRamanaRao.NRR.PowerDiagram.CellAreaVector

NRR.PowerDiagram.CellAreaVector — the restricted power‑cell area vector #

Packaging the (fixed‑site) restricted power‑cell areas of a convex body K into a single vector‑valued map

PowerDiagram.areaVec K s w = fun i => bodyCellArea K s w i : Fin n → ℝ.

The two headline facts, both with fixed sites:

Necessary nondegeneracy hypotheses #

Both statements carry hs : Function.Injective s. This is not optional:

The total‑mass identity additionally needs at least one site ([NeZero n]): with no sites the cells cover nothing while a convex body has positive area, so the n = 0 claim is false.

Sites are held fixed throughout; nothing here assumes cells are nonempty, and no equal‑area statement is proved.

noncomputable def NRR.PowerDiagram.areaVec {n : ℕ} (K : Geometry.ConvexBody Geometry.Plane) (s : Fin n → Geometry.Plane) (w : Fin n → ℝ) :
Fin n → ℝ

Restricted power‑cell area vector. With sites s and weights w, the i‑th component is the restricted‑cell area bodyCellArea K s w i.

Equations
Instances For
    @[simp]
    theorem NRR.PowerDiagram.areaVec_apply {n : ℕ} (K : Geometry.ConvexBody Geometry.Plane) (s : Fin n → Geometry.Plane) (w : Fin n → ℝ) (i : Fin n) :
    areaVec K s w i = bodyCellArea K s w i

    The i‑th component of areaVec is the restricted‑cell area.

    Fixed‑site weight‑continuity of the area vector. With sites s fixed and pairwise distinct (hs), the vector‑valued area map w ↦ areaVec K s w is continuous in the weights. The injectivity hypothesis is necessary (see the module docstring).

    theorem NRR.PowerDiagram.sum_areaVec_eq_area {n : ℕ} [NeZero n] (K : Geometry.ConvexBody Geometry.Plane) (s : Fin n → Geometry.Plane) (w : Fin n → ℝ) (hs : Function.Injective s) :
    ∑ i : Fin n, areaVec K s w i = K.area

    Total mass of the area vector. For distinct sites (hs) and at least one site ([NeZero n]), the areas of the restricted power cells sum to the body area K.area.