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 / V16. Normed spaces and functional analysis

Mathlib.Analysis.Convex.Body

41 declarations. Mathlib docs · Source

Convex bodies

This file contains the definition of the type ConvexBody V consisting of convex, compact, nonempty subsets of a real topological vector space V.

ConvexBody V is a module over the nonnegative reals (NNReal) and a pseudo-metric space. If V is a normed space, ConvexBody V is a metric space.

TODO

  • define positive convex bodies, requiring the interior to be nonempty
  • introduce support sets
  • Characterise the interaction of the distance with algebraic operations, e.g. dist (a • K) (a • L) = ‖a‖ * dist K L, dist (a +ᵥ K) (a +ᵥ L) = dist K L

Tags

convex, convex body

theorem ConvexBody.mk.injEq E0 #

∀ {V : Type u_2} [inst : TopologicalSpace V] [inst_1 : AddCommMonoid V] [inst_2 : SMul ℝ V] (carrier : Set V)
  (convex' : Convex ℝ carrier) (isCompact' : IsCompact carrier) (nonempty' : carrier.Nonempty) (carrier_1 : Set V)
  (convex'_1 : Convex ℝ carrier_1) (isCompact'_1 : IsCompact carrier_1) (nonempty'_1 : carrier_1.Nonempty),
  ({ carrier := carrier, convex' := convex', isCompact' := isCompact', nonempty' := nonempty' } =
      { carrier := carrier_1, convex' := convex'_1, isCompact' := isCompact'_1, nonempty' := nonempty'_1 }) =
    (carrier = carrier_1)

theorem ConvexBody.mk.inj E1 #

∀ {V : Type u_2} {inst : TopologicalSpace V} {inst_1 : AddCommMonoid V} {inst_2 : SMul ℝ V} {carrier : Set V}
  {convex' : Convex ℝ carrier} {isCompact' : IsCompact carrier} {nonempty' : carrier.Nonempty} {carrier_1 : Set V}
  {convex'_1 : Convex ℝ carrier_1} {isCompact'_1 : IsCompact carrier_1} {nonempty'_1 : carrier_1.Nonempty},
  { carrier := carrier, convex' := convex', isCompact' := isCompact', nonempty' := nonempty' } =
      { carrier := carrier_1, convex' := convex'_1, isCompact' := isCompact'_1, nonempty' := nonempty'_1 } →
    carrier = carrier_1

def ConvexBody.ctorIdx E1 #

{V : Type u_2} → {inst : TopologicalSpace V} → {inst_1 : AddCommMonoid V} → {inst_2 : SMul ℝ V} → ConvexBody V → ℕ

structure ConvexBody E1 #

(V : Type u_2) → [TopologicalSpace V] → [AddCommMonoid V] → [SMul ℝ V] → Type u_2

Let V be a real topological vector space. A subset of V is a convex body if and only if it is convex, compact, and nonempty.

ctor ConvexBody.mk E0 #

{V : Type u_2} →
  [inst : TopologicalSpace V] →
    [inst_1 : AddCommMonoid V] →
      [inst_2 : SMul ℝ V] → (carrier : Set V) → Convex ℝ carrier → IsCompact carrier → carrier.Nonempty → ConvexBody V

abbrev ConvexBody.carrier E1 #

{V : Type u_2} → [inst : TopologicalSpace V] → [inst_1 : AddCommMonoid V] → [inst_2 : SMul ℝ V] → ConvexBody V → Set V

The carrier set underlying a convex body: the set of points contained in it

theorem ConvexBody.convex' E1 #

∀ {V : Type u_2} [inst : TopologicalSpace V] [inst_1 : AddCommMonoid V] [inst_2 : SMul ℝ V] (self : ConvexBody V),
  Convex ℝ self.carrier

A convex body has convex carrier set

theorem ConvexBody.isCompact' E1 #

∀ {V : Type u_2} [inst : TopologicalSpace V] [inst_1 : AddCommMonoid V] [inst_2 : SMul ℝ V] (self : ConvexBody V),
  IsCompact self.carrier

A convex body has compact carrier set

theorem ConvexBody.nonempty' E1 #

∀ {V : Type u_2} [inst : TopologicalSpace V] [inst_1 : AddCommMonoid V] [inst_2 : SMul ℝ V] (self : ConvexBody V),
  self.carrier.Nonempty

A convex body has non-empty carrier set

instance ConvexBody.instSetLike E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] → [inst_1 : AddCommGroup V] → [inst_2 : Module ℝ V] → SetLike (ConvexBody V) V

instance ConvexBody.instPartialOrder E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] → [inst_1 : AddCommGroup V] → [inst_2 : Module ℝ V] → PartialOrder (ConvexBody V)

theorem ConvexBody.convex E1 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] (K : ConvexBody V),
  Convex ℝ ↑K

theorem ConvexBody.isCompact E1 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] (K : ConvexBody V),
  IsCompact ↑K

theorem ConvexBody.isClosed E1 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] [T2Space V]
  (K : ConvexBody V), IsClosed ↑K

theorem ConvexBody.nonempty E1 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] (K : ConvexBody V),
  (↑K).Nonempty

theorem ConvexBody.ext_iff E0 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] {K L : ConvexBody V},
  K = L ↔ ↑K = ↑L

theorem ConvexBody.ext E1 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] {K L : ConvexBody V},
  ↑K = ↑L → K = L

theorem ConvexBody.coe_mk E0 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] (s : Set V)
  (h₁ : Convex ℝ s) (h₂ : IsCompact s) (h₃ : s.Nonempty),
  ↑{ carrier := s, convex' := h₁, isCompact' := h₂, nonempty' := h₃ } = s

theorem ConvexBody.zero_mem_of_symmetric E1 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] (K : ConvexBody V),
  (∀ x ∈ K, -x ∈ K) → 0 ∈ K

A convex body that is symmetric contains 0.

instance ConvexBody.instZero E0 #

{V : Type u_1} → [inst : TopologicalSpace V] → [inst_1 : AddCommGroup V] → [inst_2 : Module ℝ V] → Zero (ConvexBody V)

theorem ConvexBody.coe_zero E0 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V], ↑0 = 0

instance ConvexBody.instInhabited E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] → [inst_1 : AddCommGroup V] → [inst_2 : Module ℝ V] → Inhabited (ConvexBody V)

instance ConvexBody.instAdd E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] →
    [inst_1 : AddCommGroup V] → [inst_2 : Module ℝ V] → [ContinuousAdd V] → Add (ConvexBody V)

instance ConvexBody.instSMulNat E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] →
    [inst_1 : AddCommGroup V] → [inst_2 : Module ℝ V] → [ContinuousAdd V] → SMul ℕ (ConvexBody V)

theorem ConvexBody.coe_nsmul E0 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] [inst_3 : ContinuousAdd V]
  (n : ℕ) (K : ConvexBody V), ↑(n • K) = n • ↑K

instance ConvexBody.instAddMonoid E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] →
    [inst_1 : AddCommGroup V] → [inst_2 : Module ℝ V] → [ContinuousAdd V] → AddMonoid (ConvexBody V)

theorem ConvexBody.coe_add E0 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V] [inst_3 : ContinuousAdd V]
  (K L : ConvexBody V), ↑(K + L) = ↑K + ↑L

instance ConvexBody.instAddCommMonoid E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] →
    [inst_1 : AddCommGroup V] → [inst_2 : Module ℝ V] → [ContinuousAdd V] → AddCommMonoid (ConvexBody V)

instance ConvexBody.instSMulReal E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] →
    [inst_1 : AddCommGroup V] → [inst_2 : Module ℝ V] → [ContinuousSMul ℝ V] → SMul ℝ (ConvexBody V)

theorem ConvexBody.coe_smul E0 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V]
  [inst_3 : ContinuousSMul ℝ V] (c : ℝ) (K : ConvexBody V), ↑(c • K) = c • ↑K

theorem ConvexBody.coe_smul' E0 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V]
  [inst_3 : ContinuousSMul ℝ V] (c : NNReal) (K : ConvexBody V), ↑(c • K) = c • ↑K

theorem ConvexBody.smul_le_of_le E1 #

∀ {V : Type u_1} [inst : TopologicalSpace V] [inst_1 : AddCommGroup V] [inst_2 : Module ℝ V]
  [inst_3 : ContinuousSMul ℝ V] (K : ConvexBody V), 0 ∈ K → ∀ {a b : NNReal}, a ≤ b → a • K ≤ b • K

instance ConvexBody.instDistribMulActionReal E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] →
    [inst_1 : AddCommGroup V] →
      [inst_2 : Module ℝ V] → [ContinuousSMul ℝ V] → [inst_4 : ContinuousAdd V] → DistribMulAction ℝ (ConvexBody V)

instance ConvexBody.instModuleNNReal E0 #

{V : Type u_1} →
  [inst : TopologicalSpace V] →
    [inst_1 : AddCommGroup V] →
      [inst_2 : Module ℝ V] → [ContinuousSMul ℝ V] → [inst_4 : ContinuousAdd V] → Module NNReal (ConvexBody V)

The convex bodies in a fixed space $V$ form a module over the nonnegative reals.

theorem ConvexBody.isBounded E1 #

∀ {V : Type u_1} [inst : SeminormedAddCommGroup V] [inst_1 : NormedSpace ℝ V] (K : ConvexBody V), Bornology.IsBounded ↑K

theorem ConvexBody.hausdorffEDist_ne_top E1 #

∀ {V : Type u_1} [inst : SeminormedAddCommGroup V] [inst_1 : NormedSpace ℝ V] {K L : ConvexBody V},
  Metric.hausdorffEDist ↑K ↑L ≠ ⊤

instance ConvexBody.instPseudoMetricSpace E0 #

{V : Type u_1} → [inst : SeminormedAddCommGroup V] → [inst_1 : NormedSpace ℝ V] → PseudoMetricSpace (ConvexBody V)

Convex bodies in a fixed seminormed space $V$ form a pseudo-metric space under the Hausdorff metric.

theorem ConvexBody.hausdorffDist_coe E0 #

∀ {V : Type u_1} [inst : SeminormedAddCommGroup V] [inst_1 : NormedSpace ℝ V] (K L : ConvexBody V),
  Metric.hausdorffDist ↑K ↑L = dist K L

theorem ConvexBody.hausdorffEDist_coe E0 #

∀ {V : Type u_1} [inst : SeminormedAddCommGroup V] [inst_1 : NormedSpace ℝ V] (K L : ConvexBody V),
  Metric.hausdorffEDist ↑K ↑L = edist K L

theorem ConvexBody.iInter_smul_eq_self E1 #

∀ {V : Type u_1} [inst : SeminormedAddCommGroup V] [inst_1 : NormedSpace ℝ V] [T2Space V] {u : ℕ → NNReal}
  (K : ConvexBody V), 0 ∈ K → Filter.Tendsto u Filter.atTop (nhds 0) → ⋂ n, (1 + ↑(u n)) • ↑K = ↑K

Let K be a convex body that contains 0 and let u n be a sequence of nonnegative real numbers that tends to 0. Then the intersection of the dilated bodies (1 + u n) • K is equal to K.

instance ConvexBody.instMetricSpace E0 #

{V : Type u_1} → [inst : NormedAddCommGroup V] → [inst_1 : NormedSpace ℝ V] → MetricSpace (ConvexBody V)

Convex bodies in a fixed normed space V form a metric space under the Hausdorff metric.