The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V22. Affine, Euclidean and convex geometry

Mathlib.Geometry.Euclidean.Volume.Incenter

12 declarations. Mathlib docs · Source

Incenters, excenters, and volumes of simplices

This file explores the interaction between incenters, excenters, and volumes of simplices. It shows that the volumes of faces are weights to characterize excenters, and the volume of the simplex can be calculated using exradius.

Main declarations

  • Affine.Simplex.excenterWeightsFace are volumes of faces attached with a sign. These are proportional to Affine.Simplex.excenterWeights. (See Affine.Simplex.excenterWeights_eq_excenterWeightsFace_div)
  • Affine.Simplex.ExcenterExists.volume_eq_exradius_mul: the volume of the simplex is the product of Affine.Simplex.exradius and the sum of Affine.Simplex.excenterWeightsFace, divided by the dimension.
  • Affine.Simplex.volume_eq_inradius_mul: the volume of the simplex is the product of Affine.Simplex.inradius and the surface area, divided by the dimension.

theorem Affine.Simplex.excenterWeightsFace.congr_simp E1 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s s_1 : Affine.Simplex ℝ P n),
  s = s_1 →
    ∀ (signs signs_1 : Finset (Fin (n + 1))),
      signs = signs_1 →
        ∀ (i i_1 : Fin (n + 1)), i = i_1 → s.excenterWeightsFace signs i = s_1.excenterWeightsFace signs_1 i_1

def Affine.Simplex.excenterWeightsFace E3 #

{V : Type u_1} →
  {P : Type u_2} →
    [inst : NormedAddCommGroup V] →
      [inst_1 : InnerProductSpace ℝ V] →
        [inst_2 : MetricSpace P] →
          [inst_3 : NormedAddTorsor V P] →
            {n : ℕ} → [NeZero n] → Affine.Simplex ℝ P n → Finset (Fin (n + 1)) → Fin (n + 1) → ℝ

Similar to Affine.Simplex.excenterWeightsUnnorm, these are unnormalized weights whose affine combination gives an excenter with the signs determined by the given set of indices. It is defined as the volume of the Affine.Simplex.faceOpposite attached with a sign.

theorem Affine.Simplex.excenterWeightsFace_ne_zero E1 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex ℝ P n) (signs : Finset (Fin (n + 1)))
  (i : Fin (n + 1)), s.excenterWeightsFace signs i ≠ 0

theorem Affine.Simplex.excenterWeightsFace_empty E0 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex ℝ P n) (i : Fin (n + 1)),
  s.excenterWeightsFace ∅ i = (s.faceOpposite i).volume

theorem Affine.Simplex.excenterWeightsFace_eq_volume_mul_excenterWeightsUnnorm E1 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex ℝ P n) (signs : Finset (Fin (n + 1)))
  (i : Fin (n + 1)), s.excenterWeightsFace signs i = ↑n * s.volume * s.excenterWeightsUnnorm signs i

theorem Affine.Simplex.excenterWeightsFace_reindex E1 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex ℝ P n) {m : ℕ} [inst_5 : NeZero m]
  (e : Fin (n + 1) ≃ Fin (m + 1)) (signs : Finset (Fin (m + 1))),
  (s.reindex e).excenterWeightsFace signs = s.excenterWeightsFace (Finset.map e.symm.toEmbedding signs) ∘ ⇑e.symm

theorem Affine.Simplex.excenterWeightsFace_map E0 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex ℝ P n) {P₂ : Type u_3}
  [inst_5 : MetricSpace P₂] [inst_6 : NormedAddTorsor V P₂] (f : P →ᵃⁱ[ℝ] P₂),
  (s.map f.toAffineMap ⋯).excenterWeightsFace = s.excenterWeightsFace

theorem Affine.Simplex.excenterWeightsFace_restrict E0 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex ℝ P n) (S : AffineSubspace ℝ P)
  (hS : affineSpan ℝ (Set.range s.points) ≤ S), (s.restrict S hS).excenterWeightsFace = s.excenterWeightsFace

theorem Affine.Simplex.excenterExists_iff_sum_excenterWeightsFace_ne_zero E1 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex ℝ P n) (signs : Finset (Fin (n + 1))),
  s.ExcenterExists signs ↔ ∑ i, s.excenterWeightsFace signs i ≠ 0

theorem Affine.Simplex.excenterWeights_eq_excenterWeightsFace_div E3 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex ℝ P n) (signs : Finset (Fin (n + 1)))
  (i : Fin (n + 1)), s.excenterWeights signs i = s.excenterWeightsFace signs i / ∑ j, s.excenterWeightsFace signs j

theorem Affine.Simplex.ExcenterExists.volume_eq_exradius_mul E3 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] {s : Affine.Simplex ℝ P n} {signs : Finset (Fin (n + 1))},
  s.ExcenterExists signs → s.volume = (↑n)⁻¹ * s.exradius signs * |∑ i, s.excenterWeightsFace signs i|

theorem Affine.Simplex.volume_eq_inradius_mul E3 #

∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
  [inst_3 : NormedAddTorsor V P] {n : ℕ} [inst_4 : NeZero n] (s : Affine.Simplex ℝ P n),
  s.volume = (↑n)⁻¹ * s.inradius * ∑ i, (s.faceOpposite i).volume