Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Unitization.lean   Sprache: Lean

 

/-
Copyright (c) 2023 Jireh Loreaux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jireh Loreaux
-/

module

public import Mathlib.Algebra.Algebra.Unitization
public import Mathlib.Analysis.Normed.Operator.Mul

/-!
# Unitization norms

Given a not-necessarily-unital normed `��`-algebra `A`, it is frequently of interest to equip its
`Unitization` with a norm which simultaneously makes it into a normed algebra and also satisfies
two properties:

- `‖1‖ = 1` (i.e., `NormOneClass`)
- The embedding of `A` in `Unitization �� A` is an isometry. (i.e., `Isometry Unitization.inr`)

One way to do this is to pull back the norm from `WithLp 1 (�� × A)`, that is,
`‖(k, a)‖ = ‖k‖ + ‖a‖` using `Unitization.addEquiv` (i.e., the identity map).
This is implemented for the type synonym `WithLp 1 (Unitization �� A)` in
`WithLp.instUnitizationNormedAddCommGroup`, and it is shown there that this is a Banach algebra.
However, when the norm on `A` is *regular* (i.e., `ContinuousLinearMap.mul` is an isometry), there
is another natural choice: the pullback of the norm on `�� × (A →L[��] A)` under the map
`(k, a) ↦ (k, k • 1 + ContinuousLinearMap.mul �� A a)`. It turns out that among all norms on the
unitization satisfying the properties specified above, the norm inherited from
`WithLp 1 (�� × A)` is maximal, and the norm inherited from this pullback is minimal.
Of course, this means that `WithLp.equiv : WithLp 1 (Unitization �� A) → Unitization �� A` can be
upgraded to a continuous linear equivalence (when `��` and `A` are complete).

structure on `Unitization �� A` using the pullback described above. The reason for choosing this norm
is that for a C⋆-algebra `A` its norm is always regular, and the pullback norm on `Unitization �� A`
is then also a C⋆-norm.

## Main definitions

- `Unitization.splitMul : Unitization �� A →ₐ[��] (�� × (A →L[��] A))`: The first coordinate of this
  map is just `Unitization.fst` and the second is the `Unitization.lift` of the left regular
  representation of `A` (i.e., `NonUnitalAlgHom.Lmul`). We use this map to pull back the
  `NormedRing` and `NormedAlgebra` structures.

## Main statements

- `Unitization.instNormedRing`, `Unitization.instNormedAlgebra`, `Unitization.instNormOneClass`,
  `Unitization.instCompleteSpace`: when `A` is a non-unital Banach `��`-algebra with a regular norm,
  then `Unitization �� A` is a unital Banach `��`-algebra with `‖1‖ = 1`.
- `Unitization.norm_inr`, `Unitization.isometry_inr`: the natural inclusion `A → Unitization �� A`
  is an isometry, or in mathematical parlance, the norm on `A` extends to a norm on
  `Unitization �� A`.

## Implementation details

We ensure that the uniform structure, and hence also the topological structure, is definitionally
equal to the pullback of `instUniformSpaceProd` along `Unitization.addEquiv` (this is essentially
viewing `Unitization �� A` as `�� × A`) by means of forgetful inheritance. The same is true of the
bornology.
-/


@[expose] public section

suppress_compilation

variable (�� A : Type*) [NontriviallyNormedField ��] [NonUnitalNormedRing A]
variable [NormedSpace �� A] [IsScalarTower �� A A] [SMulCommClass �� A A]

open ContinuousLinearMap

namespace Unitization

/-- Given `(k, a) : Unitization �� A`, the second coordinate of `Unitization.splitMul (k, a)` is
the natural representation of `Unitization �� A` on `A` given by multiplication on the left in
`A →L[��] A`; note that this is not just `NonUnitalAlgHom.Lmul` for a few reasons: (a) that would
either be `A` acting on `A`, or (b) `Unitization �� A` acting on `Unitization �� A`, and (c) that's a
`NonUnitalAlgHom` but here we need an `AlgHom`. In addition, the first coordinate of
`Unitization.splitMul (k, a)` should just be `k`. See `Unitization.splitMul_apply` also. -/

def splitMul : Unitization �� A →ₐ[��] �� × (A →L[��] A) :=
  (lift 0).prod (lift <| NonUnitalAlgHom.Lmul �� A)

variable {�� A}

@[simp]
theorem splitMul_apply (x : Unitization �� A) :
    splitMul �� A x = (x.fst, algebraMap �� (A →L[��] A) x.fst + mul �� A x.snd) :=
  show (x.fst + 0, _) = (x.fst, _) by rw [add_zero]; rfl

/-- this lemma establishes that if `ContinuousLinearMap.mul �� A` is injective, then so is
`Unitization.splitMul �� A`. When `A` is a `RegularNormedAlgebra`, then
`ContinuousLinearMap.mul �� A` is an isometry, and is therefore automatically injective. -/

theorem splitMul_injective_of_clm_mul_injective
    (h : Function.Injective (mul �� A)) :
    Function.Injective (splitMul �� A) := by
  rw [injective_iff_map_eq_zero]
  intro x hx
  induction x
  rw [map_add] at hx
  simp only [splitMul_apply, fst_inl, snd_inl, map_zero, add_zero, fst_inr, snd_inr,
    zero_add, Prod.mk_add_mk, Prod.mk_eq_zero] at hx
  obtain ⟨rfl, hx⟩ := hx
  simp only [map_zero, zero_add, inl_zero] at hx ⊢
  rw [← map_zero (mul �� A)] at hx
  rw [h hx, inr_zero]

variable [RegularNormedAlgebra �� A]
variable (�� A)

/-- In a `RegularNormedAlgebra`, the map `Unitization.splitMul �� A` is injective.
We will use this to pull back the norm from `�� × (A →L[��] A)` to `Unitization �� A`. -/

theorem splitMul_injective : Function.Injective (splitMul �� A) :=
  splitMul_injective_of_clm_mul_injective (isometry_mul �� A).injective

variable {�� A}

section Aux

/-- Pull back the normed ring structure from `�� × (A →L[��] A)` to `Unitization �� A` using the
algebra homomorphism `Unitization.splitMul �� A`. This does not give us the desired topology,
uniformity or bornology on `Unitization �� A` (which we want to agree with `Prod`), so we only use
it as a local instance to build the real one. -/

noncomputable abbrev normedRingAux : NormedRing (Unitization �� A) :=
  NormedRing.induced (Unitization �� A) (�� × (A →L[��] A)) (splitMul �� A) (splitMul_injective �� A)

attribute [local instance] Unitization.normedRingAux

/-- Pull back the normed algebra structure from `�� × (A →L[��] A)` to `Unitization �� A` using the
algebra homomorphism `Unitization.splitMul �� A`. This uses the wrong `NormedRing` instance (i.e.,
`Unitization.normedRingAux`), so we only use it as a local instance to build the real one. -/

noncomputable abbrev normedAlgebraAux : NormedAlgebra �� (Unitization �� A) :=
  NormedAlgebra.induced �� (Unitization �� A) (�� × (A →L[��] A)) (splitMul �� A)

attribute [local instance] Unitization.normedAlgebraAux

theorem norm_def (x : Unitization �� A) : ‖x‖ = ‖splitMul �� A x‖ :=
  rfl

theorem nnNorm_def (x : Unitization �� A) : ‖x‖₊ = ‖splitMul �� A x‖₊ :=
  rfl

@[deprecated (since := "2026-10-31")] alias nnnorm_def := nnNorm_def

/-- This is often the more useful lemma to rewrite the norm as opposed to `Unitization.norm_def`. -/
theorem norm_eq_sup (x : Unitization �� A) :
    ‖x‖ = ‖x.fst‖ ⊔ ‖algebraMap �� (A →L[��] A) x.fst + mul �� A x.snd‖ := by
  rw [norm_def, splitMul_apply, Prod.norm_def]

/-- This is often the more useful lemma to rewrite the norm as opposed to
`Unitization.nnNorm_def`. -/

theorem nnNorm_eq_sup (x : Unitization �� A) :
    ‖x‖₊ = ‖x.fst‖₊ ⊔ ‖algebraMap �� (A →L[��] A) x.fst + mul �� A x.snd‖₊ :=
  NNReal.eq <| norm_eq_sup x

@[deprecated (since := "2026-10-31")] alias nnnorm_eq_sup := nnNorm_eq_sup

theorem lipschitzWith_addEquiv :
    LipschitzWith 2 (Unitization.addEquiv �� A) := by
  rw [← Real.toNNReal_ofNat]
  refine AddMonoidHomClass.lipschitz_of_bound (Unitization.addEquiv �� A) 2 fun x => ?_
  rw [norm_eq_sup, Prod.norm_def]
  refine max_le ?_ ?_
  · rw [mul_max_of_nonneg _ _ (zero_le_two : (0 : ℝ) ≤ 2)]
    exact le_max_of_le_left ((le_add_of_nonneg_left (norm_nonneg _)).trans_eq (two_mul _).symm)
  · nontriviality A
    rw [two_mul]
    calc
      ‖x.snd‖ = ‖mul �� A x.snd‖ :=
        .symm <| (isometry_mul �� A).norm_map_of_map_zero (map_zero _) _
      _ ≤ ‖algebraMap �� _ x.fst + mul �� A x.snd‖ + ‖x.fst‖ := by
        simpa only [add_comm _ (mul �� A x.snd), norm_algebraMap'] using
          norm_le_add_norm_add (mul �� A x.snd) (algebraMap �� _ x.fst)
      _ ≤ _ := add_le_add le_sup_right le_sup_left

theorem antilipschitzWith_addEquiv :
    AntilipschitzWith 2 (addEquiv �� A) := by
  refine AddMonoidHomClass.antilipschitz_of_bound (addEquiv �� A) fun x => ?_
  rw [norm_eq_sup, Prod.norm_def, NNReal.coe_two]
  refine max_le ?_ ?_
  · rw [mul_max_of_nonneg _ _ (zero_le_two : (0 : ℝ) ≤ 2)]
    exact le_max_of_le_left ((le_add_of_nonneg_left (norm_nonneg _)).trans_eq (two_mul _).symm)
  · nontriviality A
    calc
      ‖algebraMap �� _ x.fst + mul �� A x.snd‖ ≤ ‖algebraMap �� _ x.fst‖ + ‖mul �� A x.snd‖ :=
        norm_add_le _ _
      _ = ‖x.fst‖ + ‖x.snd‖ := by
        rw [norm_algebraMap', (AddMonoidHomClass.isometry_iff_norm (mul �� A)).mp (isometry_mul �� A)]
      _ ≤ _ := (add_le_add (le_max_left _ _) (le_max_right _ _)).trans_eq (two_mul _).symm

open Bornology Filter
open scoped Uniformity Topology

theorem uniformity_eq_aux :
    ��[instUniformSpaceProd.comap <| addEquiv �� A] = �� (Unitization �� A) := by
  have key : IsUniformInducing (addEquiv �� A) :=
    antilipschitzWith_addEquiv.isUniformInducing lipschitzWith_addEquiv.uniformContinuous
  rw [← key.comap_uniformity]
  rfl

theorem cobounded_eq_aux :
    @cobounded _ (Bornology.induced <| addEquiv �� A) = cobounded (Unitization �� A) :=
  le_antisymm lipschitzWith_addEquiv.comap_cobounded_le
    antilipschitzWith_addEquiv.tendsto_cobounded.le_comap

end Aux

/-- The uniformity on `Unitization �� A` is inherited from `�� × A`. -/
instance instUniformSpace : UniformSpace (Unitization �� A) :=
  instUniformSpaceProd.comap (addEquiv �� A)

/-- The natural equivalence between `Unitization �� A` and `�� × A` as a uniform equivalence. -/
def uniformEquivProd : (Unitization �� A) ≃ᵤ (�� × A) :=
  Equiv.toUniformEquivOfIsUniformInducing (addEquiv �� A) ⟨rfl⟩

/-- The bornology on `Unitization �� A` is inherited from `�� × A`. -/
instance instBornology : Bornology (Unitization �� A) :=
  Bornology.induced <| addEquiv �� A

theorem isUniformEmbedding_addEquiv {��} [NontriviallyNormedField ��] :
    IsUniformEmbedding (addEquiv �� A) where
  comap_uniformity := rfl
  injective := (addEquiv �� A).injective

/-- `Unitization �� A` is complete whenever `��` and `A` are also. -/
instance instCompleteSpace [CompleteSpace ��] [CompleteSpace A] :
    CompleteSpace (Unitization �� A) :=
  uniformEquivProd.completeSpace_iff.2 .prod

instance instT2Space : T2Space (Unitization �� A) :=
  Unitization.uniformEquivProd.symm.toHomeomorph.t2Space

/-- Pull back the metric structure from `�� × (A →L[��] A)` to `Unitization �� A` using the
algebra homomorphism `Unitization.splitMul �� A`, but replace the bornology and the uniformity so
that they coincide with `�� × A`. -/

noncomputable instance instMetricSpace : MetricSpace (Unitization �� A) :=
  (normedRingAux.toMetricSpace.replaceUniformity uniformity_eq_aux).replaceBornology
    fun s => Filter.ext_iff.1 cobounded_eq_aux (sᶜ)

/-- Pull back the normed ring structure from `�� × (A →L[��] A)` to `Unitization �� A` using the
algebra homomorphism `Unitization.splitMul �� A`. -/

noncomputable instance instNormedRing : NormedRing (Unitization �� A) where
  dist_eq := normedRingAux.dist_eq
  norm_mul_le := normedRingAux.norm_mul_le
  norm := normedRingAux.norm

/-- Pull back the normed algebra structure from `�� × (A →L[��] A)` to `Unitization �� A` using the
algebra homomorphism `Unitization.splitMul �� A`. -/

instance instNormedAlgebra : NormedAlgebra �� (Unitization �� A) where
  norm_smul_le k x := by rw [norm_def, map_smul, norm_smul, ← norm_def]

instance instNormOneClass : NormOneClass (Unitization �� A) where
  norm_one := by simpa only [norm_eq_sup, fst_one, norm_one, snd_one, map_one, map_zero,
      add_zero, sup_eq_left] using opNorm_le_bound _ zero_le_one fun x => by simp

lemma norm_inr (a : A) : ‖(a : Unitization �� A)‖ = ‖a‖ := by
  simp [norm_eq_sup]

lemma nnNorm_inr (a : A) : ‖(a : Unitization �� A)‖₊ = ‖a‖₊ :=
  NNReal.eq <| norm_inr a

@[deprecated (since := "2026-10-31")] alias nnnorm_inr := nnNorm_inr

lemma isometry_inr : Isometry ((↑) : A → Unitization �� A) :=
  AddMonoidHomClass.isometry_of_norm (inrNonUnitalAlgHom �� A) norm_inr

@[fun_prop]
theorem continuous_inr : Continuous (inr : A → Unitization �� A) :=
  isometry_inr.continuous

lemma dist_inr (a b : A) : dist (a : Unitization �� A) (b : Unitization �� A) = dist a b :=
  isometry_inr.dist_eq a b

lemma nndist_inr (a b : A) : nndist (a : Unitization �� A) (b : Unitization �� A) = nndist a b :=
  isometry_inr.nndist_eq a b

/-! These examples verify that the bornology and uniformity (hence also the topology) are the
correct ones. -/

example : (instNormedRing (�� := ��) (A := A)).toMetricSpace = instMetricSpace := rfl
example : (instMetricSpace (�� := ��) (A := A)).toBornology = instBornology := rfl
example : (instMetricSpace (�� := ��) (A := A)).toUniformSpace = instUniformSpace := rfl

section

variable {�� A : Type*} [NontriviallyNormedField ��] [NonUnitalNormedRing A]

protected theorem uniformContinuous_fst : UniformContinuous (fun x : Unitization �� A ↦ x.fst) :=
  uniformContinuous_fst.comp Unitization.uniformEquivProd.uniformContinuous

protected theorem uniformContinuous_snd : UniformContinuous (fun x : Unitization �� A ↦ x.snd) :=
  uniformContinuous_snd.comp Unitization.uniformEquivProd.uniformContinuous

@[fun_prop]
protected theorem continuous_fst : Continuous (fun x : Unitization �� A ↦ x.fst) :=
  Unitization.uniformContinuous_fst.continuous

@[fun_prop]
protected theorem continuous_snd : Continuous (fun x : Unitization �� A ↦ x.snd) :=
  Unitization.uniformContinuous_snd.continuous

end

end Unitization

Messung
CHZG
9610010098

¤ Dauer der Verarbeitung: 0.3 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,158
#Domains=932,827