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.excenterWeightsFaceare volumes of faces attached with a sign. These are proportional toAffine.Simplex.excenterWeights. (SeeAffine.Simplex.excenterWeights_eq_excenterWeightsFace_div)Affine.Simplex.ExcenterExists.volume_eq_exradius_mul: the volume of the simplex is the product ofAffine.Simplex.exradiusand the sum ofAffine.Simplex.excenterWeightsFace, divided by the dimension.Affine.Simplex.volume_eq_inradius_mul: the volume of the simplex is the product ofAffine.Simplex.inradiusand the surface area, divided by the dimension.
noncomputable def Affine.Simplex.excenterWeightsFace {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) (signs : Finset (Fin (n + 1))) (i : 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.
Equations
- s.excenterWeightsFace signs i = (if i ∈ signs then -1 else 1) * (s.faceOpposite i).volume
Instances For
theorem Affine.Simplex.excenterWeightsFace_ne_zero {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) (signs : Finset (Fin (n + 1))) (i : Fin (n + 1)) :
@[simp]
theorem Affine.Simplex.excenterWeightsFace_empty {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) (i : Fin (n + 1)) :
theorem Affine.Simplex.excenterWeightsFace_eq_volume_mul_excenterWeightsUnnorm {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) (signs : Finset (Fin (n + 1))) (i : Fin (n + 1)) :
theorem Affine.Simplex.excenterWeightsFace_reindex {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) {m : ℕ} [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
@[simp]
theorem Affine.Simplex.excenterWeightsFace_map {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) {P₂ : Type u_3} [MetricSpace P₂] [NormedAddTorsor V P₂] (f : P →ᵃⁱ[ℝ] P₂) :
@[simp]
theorem Affine.Simplex.excenterWeightsFace_restrict {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) (S : AffineSubspace ℝ P) (hS : affineSpan ℝ (Set.range s.points) ≤ S) :
theorem Affine.Simplex.excenterExists_iff_sum_excenterWeightsFace_ne_zero {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) (signs : Finset (Fin (n + 1))) :
theorem Affine.Simplex.excenterWeights_eq_excenterWeightsFace_div {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) (signs : Finset (Fin (n + 1))) (i : Fin (n + 1)) :
s.excenterWeights signs i = s.excenterWeightsFace signs i / ∑ j : Fin (n + 1), s.excenterWeightsFace signs j
theorem Affine.Simplex.ExcenterExists.volume_eq_exradius_mul {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] {s : Simplex ℝ P n} {signs : Finset (Fin (n + 1))} (h : s.ExcenterExists signs) :
theorem Affine.Simplex.volume_eq_inradius_mul {V : Type u_1} {P : Type u_2} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [MetricSpace P] [NormedAddTorsor V P] {n : ℕ} [NeZero n] (s : Simplex ℝ P n) :