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.Convex.ConvexSpace.Barycenter

9 declarations. Mathlib docs · Source

theorem Convexity.StdSimplex.subBarycenter.congr_simp E1 #

∀ {K : Type u_1} {M : Type u_2} [inst : Field K] [inst_1 : LinearOrder K] [inst_2 : IsStrictOrderedRing K]
  (S S_1 : Finset M) (e_S : S = S_1) (hS : S.Nonempty),
  Convexity.StdSimplex.subBarycenter S hS = Convexity.StdSimplex.subBarycenter S_1 ⋯

def Convexity.StdSimplex.subBarycenter E1 #

{K : Type u_1} →
  {M : Type u_2} →
    [inst : Field K] →
      [inst_1 : LinearOrder K] → [IsStrictOrderedRing K] → (S : Finset M) → S.Nonempty → Convexity.StdSimplex K M

In the standard simplex with vertices M, this is the barycenter of a nonempty finite subset S of M.

theorem Convexity.StdSimplex.weights_subBarycenter E1 #

∀ {K : Type u_1} {M : Type u_2} [inst : Field K] [inst_1 : LinearOrder K] [inst_2 : IsStrictOrderedRing K]
  (S : Finset M) (hS : S.Nonempty), (Convexity.StdSimplex.subBarycenter S hS).weights = ∑ m ∈ S, fun₀ | m => (↑S.card)⁻¹

theorem Convexity.StdSimplex.subBarycenter_weights_apply_eq_zero E1 #

∀ {K : Type u_1} {M : Type u_2} [inst : Field K] [inst_1 : LinearOrder K] [inst_2 : IsStrictOrderedRing K]
  (S : Finset M) (hS : S.Nonempty), ∀ m ∉ S, (Convexity.StdSimplex.subBarycenter S hS).weights m = 0

theorem Convexity.StdSimplex.subBarycenter_singleton E0 #

∀ {K : Type u_1} {M : Type u_2} [inst : Field K] [inst_1 : LinearOrder K] [inst_2 : IsStrictOrderedRing K] (m : M),
  Convexity.StdSimplex.subBarycenter {m} ⋯ = Convexity.StdSimplex.single m

abbrev Convexity.StdSimplex.barycenter E1 #

{K : Type u_1} →
  {M : Type u_2} →
    [inst : Field K] →
      [inst_1 : LinearOrder K] → [IsStrictOrderedRing K] → [Nonempty M] → [Fintype M] → Convexity.StdSimplex K M

The barycenter of the standard simplex.

theorem Convexity.StdSimplex.weights_barycenter_apply E0 #

∀ {K : Type u_1} {M : Type u_2} [inst : Field K] [inst_1 : LinearOrder K] [inst_2 : IsStrictOrderedRing K]
  [inst_3 : Nonempty M] [inst_4 : Fintype M] (m : M), Convexity.StdSimplex.barycenter.weights m = (↑(Fintype.card M))⁻¹

theorem Convexity.StdSimplex.barycenter_of_unique E1 #

∀ {K : Type u_1} {M : Type u_2} [inst : Field K] [inst_1 : LinearOrder K] [inst_2 : IsStrictOrderedRing K]
  [inst_3 : Unique M], Convexity.StdSimplex.barycenter = Convexity.StdSimplex.single default

theorem Convexity.StdSimplex.barycenter_fin_one E0 #

∀ {K : Type u_1} [inst : Field K] [inst_1 : LinearOrder K] [inst_2 : IsStrictOrderedRing K],
  Convexity.StdSimplex.barycenter = Convexity.StdSimplex.single 0