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.EGauge

47 declarations and 3 deprecated aliases. Mathlib docs Β· Source

The Minkowski functional, normed field version

In this file we define (egauge π•œ s Β·) to be the Minkowski functional (gauge) of the set s in a topological vector space E over a normed field π•œ, as a function E β†’ ℝβ‰₯0∞.

It is defined as the infimum of the norms of c : π•œ such that x ∈ c β€’ s. In particular, for π•œ = ℝβ‰₯0 this definition gives an ℝβ‰₯0∞-valued version of gauge defined in Mathlib/Analysis/Convex/Gauge.lean.

This definition can be used to generalize the notion of FrΓ©chet derivative to maps between topological vector spaces without norms.

Currently, we can't reuse results about egauge for gauge, because we lack a theory of normed semifields.

def egauge E1 #

(π•œ : Type u_1) β†’ [ENorm π•œ] β†’ {E : Type u_2} β†’ [SMul π•œ E] β†’ Set E β†’ E β†’ ENNReal

The Minkowski functional for vector spaces over normed fields. Given a set s in a vector space over a normed field π•œ, egauge s is the functional which sends x : E to the infimum of β€–cβ€–β‚‘ over c such that x belongs to s scaled by c.

The definition only requires π•œ to have a ENorm instance and (Β· β€’ Β·) : π•œ β†’ E β†’ E to be defined. This way the definition applies, e.g., to π•œ = ℝβ‰₯0. For π•œ = ℝβ‰₯0, the function is equal (up to conversion to ℝ) to the usual Minkowski functional defined in gauge.

theorem Set.MapsTo.egauge_le E1 #

βˆ€ (π•œ : Type u_1) [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] {s : Set E} {E' : Type u_3} {F : Type u_4}
  [inst_2 : SMul π•œ E'] [inst_3 : FunLike F E E'] [MulActionHomClass F π•œ E E'] (f : F) {t : Set E'},
  Set.MapsTo (⇑f) s t β†’ βˆ€ (x : E), egauge π•œ t (f x) ≀ egauge π•œ s x

theorem egauge_anti E1 #

βˆ€ (π•œ : Type u_1) [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] {s t : Set E},
  s βŠ† t β†’ βˆ€ (x : E), egauge π•œ t x ≀ egauge π•œ s x

theorem egauge_empty E0 #

βˆ€ (π•œ : Type u_1) [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] (x : E), egauge π•œ βˆ… x = ⊀

theorem egauge_le_of_mem_smul E1 #

βˆ€ {π•œ : Type u_1} [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] {c : π•œ} {s : Set E} {x : E},
  x ∈ c β€’ s β†’ egauge π•œ s x ≀ β€–cβ€–β‚‘

theorem le_egauge_iff E0 #

βˆ€ {π•œ : Type u_1} [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] {s : Set E} {x : E} {r : ENNReal},
  r ≀ egauge π•œ s x ↔ βˆ€ (c : π•œ), x ∈ c β€’ s β†’ r ≀ β€–cβ€–β‚‘

theorem egauge_eq_top E1 #

βˆ€ {π•œ : Type u_1} [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] {s : Set E} {x : E},
  egauge π•œ s x = ⊀ ↔ βˆ€ (c : π•œ), x βˆ‰ c β€’ s

theorem egauge_lt_iff E0 #

βˆ€ {π•œ : Type u_1} [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] {s : Set E} {x : E} {r : ENNReal},
  egauge π•œ s x < r ↔ βˆƒ c, x ∈ c β€’ s ∧ β€–cβ€–β‚‘ < r

theorem egauge_union E1 #

βˆ€ {π•œ : Type u_1} [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] (s t : Set E) (x : E),
  egauge π•œ (s βˆͺ t) x = min (egauge π•œ s x) (egauge π•œ t x)

theorem le_egauge_inter E1 #

βˆ€ {π•œ : Type u_1} [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] (s t : Set E) (x : E),
  max (egauge π•œ s x) (egauge π•œ t x) ≀ egauge π•œ (s ∩ t) x

theorem le_egauge_pi E1 #

βˆ€ {π•œ : Type u_1} [inst : NNNorm π•œ] {ΞΉ : Type u_3} {E : ΞΉ β†’ Type u_4} [inst_1 : (i : ΞΉ) β†’ SMul π•œ (E i)] {I : Set ΞΉ}
  {i : ΞΉ}, i ∈ I β†’ βˆ€ (s : (i : ΞΉ) β†’ Set (E i)) (x : (i : ΞΉ) β†’ E i), egauge π•œ (s i) (x i) ≀ egauge π•œ (I.pi s) x

theorem le_egauge_prod E1 #

βˆ€ {π•œ : Type u_1} [inst : NNNorm π•œ] {E : Type u_2} [inst_1 : SMul π•œ E] {F : Type u_3} [inst_2 : SMul π•œ F] (s : Set E)
  (t : Set F) (a : E) (b : F), max (egauge π•œ s a) (egauge π•œ t b) ≀ egauge π•œ (s Γ—Λ’ t) (a, b)

theorem egauge_zero_left_eq_top E0 #

βˆ€ (π•œ : Type u_1) [inst : NNNorm π•œ] [Nonempty π•œ] {E : Type u_2} [inst_2 : Zero E] [inst_3 : SMulZeroClass π•œ E] {x : E},
  egauge π•œ 0 x = ⊀ ↔ x β‰  0

theorem egauge_zero_left E0 #

βˆ€ (π•œ : Type u_1) [inst : NNNorm π•œ] [Nonempty π•œ] {E : Type u_2} [inst_2 : Zero E] [inst_3 : SMulZeroClass π•œ E] {x : E},
  x β‰  0 β†’ egauge π•œ 0 x = ⊀

Alias of the reverse direction of egauge_zero_left_eq_top.

theorem egauge_le_of_smul_mem_of_ne E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E] {c : π•œ}
  {s : Set E} {x : E}, c β€’ x ∈ s β†’ c β‰  0 β†’ egauge π•œ s x ≀ ↑‖cβ€–β‚Šβ»ΒΉ

If c β€’ x ∈ s and c β‰  0, then egauge π•œ s x is at most (β€–cβ€–β‚Šβ»ΒΉ : ℝβ‰₯0).

See also egauge_le_of_smul_mem.

theorem egauge_le_of_smul_mem E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E] {c : π•œ}
  {s : Set E} {x : E}, c β€’ x ∈ s β†’ egauge π•œ s x ≀ β€–c‖ₑ⁻¹

If c β€’ x ∈ s, then egauge π•œ s x is at most β€–c‖ₑ⁻¹.

See also egauge_le_of_smul_mem_of_ne.

theorem mem_smul_of_egauge_lt E0 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E] {c : π•œ}
  {s : Set E} {x : E}, Balanced π•œ s β†’ egauge π•œ s x < β€–cβ€–β‚‘ β†’ x ∈ c β€’ s

theorem mem_of_egauge_lt_one E0 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  {s : Set E} {x : E}, Balanced π•œ s β†’ egauge π•œ s x < 1 β†’ x ∈ s

theorem egauge_eq_zero_iff E0 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  {s : Set E} {x : E}, egauge π•œ s x = 0 ↔ βˆƒαΆ  (c : π•œ) in nhds 0, x ∈ c β€’ s

theorem egauge_univ E0 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E] {x : E}
  [(nhdsWithin 0 {0}ᢜ).NeBot], egauge π•œ Set.univ x = 0

theorem egauge_zero_right E0 #

βˆ€ (π•œ : Type u_1) [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  {s : Set E}, s.Nonempty β†’ egauge π•œ s 0 = 0

theorem egauge_zero_zero E1 #

βˆ€ (π•œ : Type u_1) [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E],
  egauge π•œ 0 0 = 0

theorem egauge_le_one E1 #

βˆ€ (π•œ : Type u_1) [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  {s : Set E} {x : E}, x ∈ s β†’ egauge π•œ s x ≀ 1

theorem le_egauge_of_forall_ne_zero E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  {s : Set E} {x : E} [(nhdsWithin 0 {0}ᢜ).NeBot] {r : ENNReal},
  0 ∈ s β†’ (βˆ€ (c : π•œ), c β‰  0 β†’ x ∈ c β€’ s β†’ r ≀ β€–cβ€–β‚‘) β†’ r ≀ egauge π•œ s x

theorem le_egauge_smul_left E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E] (c : π•œ)
  (s : Set E) (x : E), egauge π•œ s x / β€–cβ€–β‚‘ ≀ egauge π•œ (c β€’ s) x

theorem egauge_smul_left E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E] {c : π•œ},
  c β‰  0 β†’ βˆ€ (s : Set E) (x : E), egauge π•œ (c β€’ s) x = egauge π•œ s x / β€–cβ€–β‚‘

theorem le_egauge_smul_right E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E] (c : π•œ)
  (s : Set E) (x : E), β€–cβ€–β‚‘ * egauge π•œ s x ≀ egauge π•œ s (c β€’ x)

theorem egauge_smul_right E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E] {c : π•œ}
  {s : Set E}, (c = 0 β†’ s.Nonempty) β†’ βˆ€ (x : E), egauge π•œ s (c β€’ x) = β€–cβ€–β‚‘ * egauge π•œ s x

theorem egauge_prod_mk E0 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  {F : Type u_3} [inst_3 : AddCommGroup F] [inst_4 : Module π•œ F] {U : Set E} {V : Set F},
  Balanced π•œ U β†’ Balanced π•œ V β†’ βˆ€ (a : E) (b : F), egauge π•œ (U Γ—Λ’ V) (a, b) = max (egauge π•œ U a) (egauge π•œ V b)

The extended gauge of a point (a, b) with respect to the product of balanced sets U and V is equal to the maximum of the extended gauges of a with respect to U and b with respect to V.

theorem egauge_add_add_le E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedDivisionRing π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  {U V : Set E}, Balanced π•œ U β†’ Balanced π•œ V β†’ βˆ€ (a b : E), egauge π•œ (U + V) (a + b) ≀ max (egauge π•œ U a) (egauge π•œ V b)

theorem egauge_pi' E1 #

βˆ€ {π•œ : Type u_1} {ΞΉ : Type u_2} {E : ΞΉ β†’ Type u_3} [inst : NormedDivisionRing π•œ] [inst_1 : (i : ΞΉ) β†’ AddCommGroup (E i)]
  [inst_2 : (i : ΞΉ) β†’ Module π•œ (E i)] {I : Set ΞΉ},
  I.Finite β†’
    βˆ€ {U : (i : ΞΉ) β†’ Set (E i)},
      (βˆ€ i ∈ I, Balanced π•œ (U i)) β†’
        βˆ€ (x : (i : ΞΉ) β†’ E i),
          I = Set.univ ∨ (βˆƒ i ∈ I, x i β‰  0) ∨ (nhdsWithin 0 {0}ᢜ).NeBot β†’
            egauge π•œ (I.pi U) x = ⨆ i ∈ I, egauge π•œ (U i) (x i)

The extended gauge of a point x in an indexed product with respect to a product of finitely many balanced sets U i, i ∈ I, (and the whole spaces for the other indices) is the supremum of the extended gauges of the components of x with respect to the corresponding balanced set.

This version assumes the following technical condition:

  • either I is the universal set;
  • or one of x i, i ∈ I, is nonzero;
  • or π•œ is nontrivially normed.

theorem egauge_univ_pi E1 #

βˆ€ {π•œ : Type u_1} {ΞΉ : Type u_2} {E : ΞΉ β†’ Type u_3} [inst : NormedDivisionRing π•œ] [inst_1 : (i : ΞΉ) β†’ AddCommGroup (E i)]
  [inst_2 : (i : ΞΉ) β†’ Module π•œ (E i)] [Finite ΞΉ] {U : (i : ΞΉ) β†’ Set (E i)},
  (βˆ€ (i : ΞΉ), Balanced π•œ (U i)) β†’ βˆ€ (x : (i : ΞΉ) β†’ E i), egauge π•œ (Set.univ.pi U) x = ⨆ i, egauge π•œ (U i) (x i)

The extended gauge of a point x in an indexed product with finite index type with respect to a product of balanced sets U i, is the supremum of the extended gauges of the components of x with respect to the corresponding balanced set.

theorem egauge_pi E1 #

βˆ€ {π•œ : Type u_1} {ΞΉ : Type u_2} {E : ΞΉ β†’ Type u_3} [inst : NormedDivisionRing π•œ] [inst_1 : (i : ΞΉ) β†’ AddCommGroup (E i)]
  [inst_2 : (i : ΞΉ) β†’ Module π•œ (E i)] [(nhdsWithin 0 {0}ᢜ).NeBot] {I : Set ΞΉ} {U : (i : ΞΉ) β†’ Set (E i)},
  I.Finite β†’ (βˆ€ i ∈ I, Balanced π•œ (U i)) β†’ βˆ€ (x : (i : ΞΉ) β†’ E i), egauge π•œ (I.pi U) x = ⨆ i ∈ I, egauge π•œ (U i) (x i)

The extended gauge of a point x in an indexed product with respect to a product of finitely many balanced sets U i, i ∈ I, (and the whole spaces for the other indices) is the supremum of the extended gauges of the components of x with respect to the corresponding balanced set.

This version assumes that π•œ is a nontrivially normed division ring. See also egauge_univ_pi for when s = univ, and egauge_pi' for a version with more choices of the technical assumptions.

theorem Seminorm.div_le_egauge_closedBall E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  (p : Seminorm π•œ E) (r : NNReal) (x : E), ↑(p x).toNNReal / ↑r ≀ egauge π•œ (p.closedBall 0 ↑r) x

theorem Seminorm.le_egauge_unitClosedBall E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  (p : Seminorm π•œ E) (x : E), ↑(p x).toNNReal ≀ egauge π•œ (p.closedBall 0 1) x

theorem Seminorm.div_le_egauge_ball E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  (p : Seminorm π•œ E) (r : NNReal) (x : E), ↑(p x).toNNReal / ↑r ≀ egauge π•œ (p.ball 0 ↑r) x

theorem Seminorm.le_egauge_unitBall E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  (p : Seminorm π•œ E) (x : E), ↑(p x).toNNReal ≀ egauge π•œ (p.ball 0 1) x

theorem Seminorm.egauge_ball_le_of_one_lt_norm E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  (p : Seminorm π•œ E) {c : π•œ} {x : E} {r : NNReal},
  1 < β€–cβ€– β†’ r β‰  0 ∨ p x β‰  0 β†’ egauge π•œ (p.ball 0 ↑r) x ≀ β€–cβ€–β‚‘ * ↑(p x).toNNReal / ↑r

theorem Seminorm.egauge_unitBall_le_of_one_lt_norm E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  (p : Seminorm π•œ E) {c : π•œ}, 1 < β€–cβ€– β†’ βˆ€ (x : E), egauge π•œ (p.ball 0 1) x ≀ β€–cβ€–β‚‘ * ↑(p x).toNNReal

theorem Seminorm.le_smul_of_le_egauge_unitBall_le_mul E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  {p : Seminorm π•œ E} {c : π•œ} {x : E} {F : Type u_3} [inst_3 : AddCommGroup F] [inst_4 : Module π•œ F] {q : Seminorm π•œ F}
  {y : F} (Ξ΅ : NNReal), 1 < β€–cβ€– β†’ egauge π•œ (p.ball 0 1) x ≀ ↑Ρ * egauge π•œ (q.ball 0 1) y β†’ p x ≀ Ξ΅ β€’ β€–cβ€–β‚Š β€’ q y

theorem Seminorm.egauge_unitBall_le_mul_of_le_smul E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : AddCommGroup E] [inst_2 : Module π•œ E]
  {p : Seminorm π•œ E} {c : π•œ} {x : E} {F : Type u_3} [inst_3 : AddCommGroup F] [inst_4 : Module π•œ F] {q : Seminorm π•œ F}
  {y : F} (Ξ΅ : NNReal), 1 < β€–cβ€– β†’ p x ≀ Ξ΅ β€’ q y β†’ egauge π•œ (p.ball 0 1) x ≀ ↑Ρ * egauge π•œ ((β€–cβ€–β‚Š β€’ q).ball 0 1) y

theorem div_le_egauge_closedBall E1 #

βˆ€ (π•œ : Type u_1) [inst : NormedField π•œ] {E : Type u_2} [inst_1 : SeminormedAddCommGroup E] [inst_2 : NormedSpace π•œ E]
  (r : NNReal) (x : E), β€–xβ€–β‚‘ / ↑r ≀ egauge π•œ (Metric.closedBall 0 ↑r) x

theorem le_egauge_unitClosedBall E1 #

βˆ€ (π•œ : Type u_1) [inst : NormedField π•œ] {E : Type u_2} [inst_1 : SeminormedAddCommGroup E] [inst_2 : NormedSpace π•œ E]
  (x : E), β€–xβ€–β‚‘ ≀ egauge π•œ (Metric.closedBall 0 1) x

theorem div_le_egauge_ball E1 #

βˆ€ (π•œ : Type u_1) [inst : NormedField π•œ] {E : Type u_2} [inst_1 : SeminormedAddCommGroup E] [inst_2 : NormedSpace π•œ E]
  (r : NNReal) (x : E), β€–xβ€–β‚‘ / ↑r ≀ egauge π•œ (Metric.ball 0 ↑r) x

theorem le_egauge_unitBall E1 #

βˆ€ (π•œ : Type u_1) [inst : NormedField π•œ] {E : Type u_2} [inst_1 : SeminormedAddCommGroup E] [inst_2 : NormedSpace π•œ E]
  (x : E), β€–xβ€–β‚‘ ≀ egauge π•œ (Metric.ball 0 1) x

theorem egauge_ball_le_of_one_lt_norm E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : SeminormedAddCommGroup E] [inst_2 : NormedSpace π•œ E]
  {c : π•œ} {x : E} {r : NNReal}, 1 < β€–cβ€– β†’ r β‰  0 ∨ β€–xβ€– β‰  0 β†’ egauge π•œ (Metric.ball 0 ↑r) x ≀ β€–cβ€–β‚‘ * β€–xβ€–β‚‘ / ↑r

theorem egauge_unitBall_le_of_one_lt_norm E1 #

βˆ€ {π•œ : Type u_1} [inst : NormedField π•œ] {E : Type u_2} [inst_1 : SeminormedAddCommGroup E] [inst_2 : NormedSpace π•œ E]
  {c : π•œ}, 1 < β€–cβ€– β†’ βˆ€ (x : E), egauge π•œ (Metric.ball 0 1) x ≀ β€–cβ€–β‚‘ * β€–xβ€–β‚‘

Deprecated aliases

NameNew nameSince
egauge_ball_one_le_of_one_lt_normegauge_unitBall_le_of_one_lt_norm2026-09-21
le_egauge_ball_onele_egauge_unitBall2026-09-21
le_egauge_closedBall_onele_egauge_unitClosedBall2026-09-21