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.Normed.Group.AddTorsor

47 declarations and 10 deprecated aliases. Mathlib docs · Source

def NormedAddTorsor.ctorIdx E1 #

{V : outParam (Type u_1)} →
  {P : Type u_2} → {inst : SeminormedAddCommGroup V} → {inst_1 : PseudoMetricSpace P} → NormedAddTorsor V P → ℕ

class NormedAddTorsor E3 #

(V : outParam (Type u_1)) → (P : Type u_2) → [SeminormedAddCommGroup V] → [PseudoMetricSpace P] → Type (max u_1 u_2)

A NormedAddTorsor V P is a torsor of an additive seminormed group action by a SeminormedAddCommGroup V on points P. We bundle the pseudometric space structure and require the distance to be the same as results from the norm (which in fact implies the distance yields a pseudometric space, but bundling just the distance and using an instance for the pseudometric space results in type class problems).

ctor NormedAddTorsor.mk E0 #

{V : outParam (Type u_1)} →
  {P : Type u_2} →
    [inst : SeminormedAddCommGroup V] →
      [inst_1 : PseudoMetricSpace P] →
        [toAddTorsor : AddTorsor V P] → (∀ (x y : P), dist x y = ‖x -ᵥ y‖) → NormedAddTorsor V P

instance NormedAddTorsor.toAddTorsor E0 #

{V : outParam (Type u_1)} →
  {P : Type u_2} →
    {inst : SeminormedAddCommGroup V} → {inst_1 : PseudoMetricSpace P} → [self : NormedAddTorsor V P] → AddTorsor V P

theorem NormedAddTorsor.dist_eq_norm' E1 #

∀ {V : outParam (Type u_1)} {P : Type u_2} {inst : SeminormedAddCommGroup V} {inst_1 : PseudoMetricSpace P}
  [self : NormedAddTorsor V P] (x y : P), dist x y = ‖x -ᵥ y‖

instance NormedAddTorsor.toAddTorsor' E0 #

{V : Type u_1} →
  {P : Type u_2} → [inst : NormedAddCommGroup V] → [inst_1 : MetricSpace P] → [NormedAddTorsor V P] → AddTorsor V P

Shortcut instance to help typeclass inference out.

instance NormedAddTorsor.to_isIsIsometricVAdd E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P], IsIsometricVAdd V P

instance SeminormedAddCommGroup.toNormedAddTorsor E0 #

{V : Type u_2} → [inst : SeminormedAddCommGroup V] → NormedAddTorsor V V

A SeminormedAddCommGroup is a NormedAddTorsor over itself.

instance AffineSubspace.toNormedAddTorsor E0 #

{V : Type u_2} →
  {P : Type u_3} →
    [inst : SeminormedAddCommGroup V] →
      [inst_1 : PseudoMetricSpace P] →
        [inst_2 : NormedAddTorsor V P] →
          {R : Type u_6} →
            [inst_3 : Ring R] →
              [inst_4 : Module R V] → (s : AffineSubspace R P) → [Nonempty ↥s] → NormedAddTorsor ↥s.direction ↥s

A nonempty affine subspace of a NormedAddTorsor is itself a NormedAddTorsor.

instance instNormedAddTorsorProd E0 #

{V : Type u_2} →
  {P : Type u_3} →
    {W : Type u_4} →
      {Q : Type u_5} →
        [inst : SeminormedAddCommGroup V] →
          [inst_1 : PseudoMetricSpace P] →
            [NormedAddTorsor V P] →
              [inst_3 : SeminormedAddCommGroup W] →
                [inst_4 : PseudoMetricSpace Q] → [NormedAddTorsor W Q] → NormedAddTorsor (V × W) (P × Q)

theorem dist_eq_norm_vsub E1 #

∀ (V : Type u_2) {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x y : P), dist x y = ‖x -ᵥ y‖

The distance equals the norm of subtracting two points. In this lemma, it is necessary to have V as an explicit argument; otherwise rw dist_eq_norm_vsub sometimes doesn't work.

theorem nnDist_eq_nnNorm_vsub E1 #

∀ (V : Type u_2) {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x y : P), nnDist x y = ‖x -ᵥ y‖₊

theorem dist_eq_norm_vsub' E1 #

∀ (V : Type u_2) {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x y : P), dist x y = ‖y -ᵥ x‖

The distance equals the norm of subtracting two points. In this lemma, it is necessary to have V as an explicit argument; otherwise rw dist_eq_norm_vsub' sometimes doesn't work.

theorem nnDist_eq_nnNorm_vsub' E1 #

∀ (V : Type u_2) {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x y : P), nnDist x y = ‖y -ᵥ x‖₊

theorem dist_vadd_cancel_left E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v : V) (x y : P), dist (v +ᵥ x) (v +ᵥ y) = dist x y

theorem nnDist_vadd_cancel_left E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v : V) (x y : P), nnDist (v +ᵥ x) (v +ᵥ y) = nnDist x y

theorem dist_vadd_cancel_right E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v₁ v₂ : V) (x : P), dist (v₁ +ᵥ x) (v₂ +ᵥ x) = dist v₁ v₂

theorem nnDist_vadd_cancel_right E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v₁ v₂ : V) (x : P), nnDist (v₁ +ᵥ x) (v₂ +ᵥ x) = nnDist v₁ v₂

theorem dist_vadd_left E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v : V) (x : P), dist (v +ᵥ x) x = ‖v‖

theorem nnDist_vadd_left E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v : V) (x : P), nnDist (v +ᵥ x) x = ‖v‖₊

theorem dist_vadd_right E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v : V) (x : P), dist x (v +ᵥ x) = ‖v‖

theorem nnDist_vadd_right E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v : V) (x : P), nnDist x (v +ᵥ x) = ‖v‖₊

def IsometryEquiv.vaddConst E1 #

{V : Type u_2} →
  {P : Type u_3} →
    [inst : SeminormedAddCommGroup V] → [inst_1 : PseudoMetricSpace P] → [NormedAddTorsor V P] → P → V ≃ᵢ P

Isometry between the tangent space V of a (semi)normed add torsor P and P given by addition/subtraction of x : P.

theorem IsometryEquiv.vaddConst_apply E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x : P) (v : V), (IsometryEquiv.vaddConst x) v = v +ᵥ x

theorem IsometryEquiv.vaddConst_symm_apply E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x p' : P), (IsometryEquiv.vaddConst x).symm p' = p' -ᵥ x

theorem dist_vsub_cancel_left E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x y z : P), dist (x -ᵥ y) (x -ᵥ z) = dist y z

theorem nnDist_vsub_cancel_left E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x y z : P), nnDist (x -ᵥ y) (x -ᵥ z) = nnDist y z

def IsometryEquiv.constVSub E1 #

{V : Type u_2} →
  {P : Type u_3} →
    [inst : SeminormedAddCommGroup V] → [inst_1 : PseudoMetricSpace P] → [NormedAddTorsor V P] → P → P ≃ᵢ V

Isometry between the tangent space V of a (semi)normed add torsor P and P given by subtraction from x : P.

theorem IsometryEquiv.constVSub_symm_apply E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x : P) (x_1 : V), (IsometryEquiv.constVSub x).symm x_1 = -x_1 +ᵥ x

theorem IsometryEquiv.constVSub_apply E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x x_1 : P), (IsometryEquiv.constVSub x) x_1 = x -ᵥ x_1

theorem dist_vsub_cancel_right E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x y z : P), dist (x -ᵥ z) (y -ᵥ z) = dist x y

theorem nnDist_vsub_cancel_right E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (x y z : P), nnDist (x -ᵥ z) (y -ᵥ z) = nnDist x y

theorem dist_vadd_vadd_le E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v v' : V) (p p' : P), dist (v +ᵥ p) (v' +ᵥ p') ≤ dist v v' + dist p p'

theorem nnDist_vadd_vadd_le E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v v' : V) (p p' : P), nnDist (v +ᵥ p) (v' +ᵥ p') ≤ nnDist v v' + nnDist p p'

theorem dist_vsub_vsub_le E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (p₁ p₂ p₃ p₄ : P), dist (p₁ -ᵥ p₂) (p₃ -ᵥ p₄) ≤ dist p₁ p₃ + dist p₂ p₄

theorem nnDist_vsub_vsub_le E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (p₁ p₂ p₃ p₄ : P), nnDist (p₁ -ᵥ p₂) (p₃ -ᵥ p₄) ≤ nnDist p₁ p₃ + nnDist p₂ p₄

theorem edist_vadd_vadd_le E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (v v' : V) (p p' : P), edist (v +ᵥ p) (v' +ᵥ p') ≤ edist v v' + edist p p'

theorem edist_vsub_vsub_le E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] (p₁ p₂ p₃ p₄ : P), edist (p₁ -ᵥ p₂) (p₃ -ᵥ p₄) ≤ edist p₁ p₃ + edist p₂ p₄

def pseudoMetricSpaceOfNormedAddCommGroupOfAddTorsor E1 #

(V : Type u_6) → (P : Type u_7) → [inst : SeminormedAddCommGroup V] → [AddTorsor V P] → PseudoMetricSpace P

The pseudodistance defines a pseudometric space structure on the torsor. This is not an instance because it depends on V to define a MetricSpace P.

def metricSpaceOfNormedAddCommGroupOfAddTorsor E1 #

(V : Type u_6) → (P : Type u_7) → [inst : NormedAddCommGroup V] → [AddTorsor V P] → MetricSpace P

The distance defines a metric space structure on the torsor. This is not an instance because it depends on V to define a MetricSpace P.

theorem LipschitzWith.vadd E1 #

∀ {α : Type u_1} {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] [inst_3 : PseudoEMetricSpace α] {f : α → V} {g : α → P} {Kf Kg : NNReal},
  LipschitzWith Kf f → LipschitzWith Kg g → LipschitzWith (Kf + Kg) (f +ᵥ g)

theorem LipschitzWith.vsub E1 #

∀ {α : Type u_1} {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P] [inst_3 : PseudoEMetricSpace α] {f g : α → P} {Kf Kg : NNReal},
  LipschitzWith Kf f → LipschitzWith Kg g → LipschitzWith (Kf + Kg) (f -ᵥ g)

theorem uniformContinuous_vadd E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P], UniformContinuous fun x ↦ x.1 +ᵥ x.2

theorem uniformContinuous_vsub E1 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P], UniformContinuous fun x ↦ x.1 -ᵥ x.2

instance instIsTopologicalAddTorsor_1 E0 #

∀ {V : Type u_2} {P : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : PseudoMetricSpace P]
  [inst_2 : NormedAddTorsor V P], IsTopologicalAddTorsor P

abbrev Function.Injective.normedAddTorsor E1 #

{V : Type u_2} →
  {P : Type u_3} →
    [inst : SeminormedAddCommGroup V] →
      [inst_1 : PseudoMetricSpace P] →
        [inst_2 : NormedAddTorsor V P] →
          {Q : Type u_6} →
            [inst_3 : VAdd V Q] →
              [inst_4 : VSub V Q] →
                [Nonempty Q] →
                  [inst_6 : PseudoMetricSpace Q] →
                    (f : Q → P) →
                      Function.Injective f →
                        (∀ (c : V) (x : Q), f (c +ᵥ x) = c +ᵥ f x) →
                          (∀ (x y : Q), x -ᵥ y = f x -ᵥ f y) →
                            (∀ (x y : Q), dist x y = dist (f x) (f y)) → NormedAddTorsor V Q

Pullback of a normed add torsor along an injective map.

abbrev Function.Surjective.normedAddTorsor E1 #

{V : Type u_2} →
  {P : Type u_3} →
    [inst : SeminormedAddCommGroup V] →
      [inst_1 : PseudoMetricSpace P] →
        [inst_2 : NormedAddTorsor V P] →
          {Q : Type u_6} →
            [inst_3 : VAdd V Q] →
              [inst_4 : VSub V Q] →
                [inst_5 : PseudoMetricSpace Q] →
                  (f : P → Q) →
                    Function.Surjective f →
                      (∀ (c : V) (x : P), f (c +ᵥ x) = c +ᵥ f x) →
                        (∀ (x y : P), x -ᵥ y = f x -ᵥ f y) →
                          (∀ (x y : P), dist x y = dist (f x) (f y)) → NormedAddTorsor V Q

Pushforward of a normed add torsor along a surjective map.

Deprecated aliases

NameNew nameSince
nndist_eq_nnnorm_vsubnnDist_eq_nnNorm_vsub2026-10-31
nndist_eq_nnnorm_vsub'nnDist_eq_nnNorm_vsub'2026-10-31
nndist_vadd_cancel_leftnnDist_vadd_cancel_left2026-11-07
nndist_vadd_cancel_rightnnDist_vadd_cancel_right2026-11-07
nndist_vadd_leftnnDist_vadd_left2026-11-07
nndist_vadd_rightnnDist_vadd_right2026-11-07
nndist_vadd_vadd_lennDist_vadd_vadd_le2026-11-07
nndist_vsub_cancel_leftnnDist_vsub_cancel_left2026-11-07
nndist_vsub_cancel_rightnnDist_vsub_cancel_right2026-11-07
nndist_vsub_vsub_lennDist_vsub_vsub_le2026-11-07