EuclideanGeometry.dist_affineCombination
∀ {V : Type u_1} {P : Type u_2} [inst : NormedAddCommGroup V] [inst_1 : InnerProductSpace ℝ V] [inst_2 : MetricSpace P]
[inst_3 : NormedAddTorsor V P] {ι : Type u_3} {s : Finset ι} {w₁ w₂ : ι → ℝ} (p : ι → P),
∑ i ∈ s, w₁ i = 1 →
∑ i ∈ s, w₂ i = 1 →
have a₁ := (Finset.affineCombination ℝ s p) w₁;
have a₂ := (Finset.affineCombination ℝ s p) w₂;
dist a₁ a₂ * dist a₁ a₂ =
(-∑ i₁ ∈ s, ∑ i₂ ∈ s, (w₁ - w₂) i₁ * (w₁ - w₂) i₂ * (dist (p i₁) (p i₂) * dist (p i₁) (p i₂))) / 2The distance between two points given with affineCombination,
in terms of the pairwise distances between the points in that
combination.
- Defined in
- Mathlib.Geometry.Euclidean.Basic
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 168 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites21
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- DFunLike.coestatement and proof · cited by 62,936
- Realstatement and proof · cited by 25,697
- NormedAddCommGroupstatement and proof · cited by 15,752
- Finsetstatement and proof · cited by 13,712
- Finset.sumstatement and proof · cited by 5,195
- InnerProductSpacestatement and proof · cited by 3,523
- Finset.sum_congrproof · cited by 2,323
- MetricSpacestatement and proof · cited by 1,684
- Dist.diststatement and proof · cited by 1,539
- NormedAddTorsorstatement and proof · cited by 1,325
- Inner.innerproof · cited by 1,089
- sub_selfproof · cited by 996
Cited by1
Results whose statement or proof uses this declaration.
- Affine.Triangle.dist_orthocenter_reflection_circumcenterproof · cited by 3