Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
/- | |
Copyright (c) 2022 Yury G. Kudryashov. All rights reserved. | |
Released under Apache 2.0 license as described in the file LICENSE. | |
Authors: Yury G. Kudryashov | |
-/ | |
import analysis.normed.group.completion | |
import analysis.normed_space.operator_norm | |
import topology.algebra.uniform_mul_action | |
/-! | |
If `E` is a normed space over `π`, then so is `uniform_space.completion E`. In this file we provide | |
necessary instances and define `uniform_space.completion.to_complβα΅’` - coercion | |
`E β uniform_space.completion E` as a bundled linear isometry. | |
-/ | |
noncomputable theory | |
namespace uniform_space | |
namespace completion | |
variables (π E : Type*) [normed_field π] [normed_add_comm_group E] [normed_space π E] | |
@[priority 100] | |
instance normed_space.to_has_uniform_continuous_const_smul : | |
has_uniform_continuous_const_smul π E := | |
β¨Ξ» c, (lipschitz_with_smul c).uniform_continuousβ© | |
instance : normed_space π (completion E) := | |
{ smul := (β’), | |
norm_smul_le := Ξ» c x, induction_on x | |
(is_closed_le (continuous_const_smul _).norm (continuous_const.mul continuous_norm)) $ | |
Ξ» y, by simp only [β coe_smul, norm_coe, norm_smul], | |
.. completion.module } | |
variables {π E} | |
/-- Embedding of a normed space to its completion as a linear isometry. -/ | |
def to_complβα΅’ : E ββα΅’[π] completion E := | |
{ to_fun := coe, | |
map_smul' := coe_smul, | |
norm_map' := norm_coe, | |
.. to_compl } | |
@[simp] lemma coe_to_complβα΅’ : β(to_complβα΅’ : E ββα΅’[π] completion E) = coe := rfl | |
/-- Embedding of a normed space to its completion as a continuous linear map. -/ | |
def to_complL : E βL[π] completion E := | |
to_complβα΅’.to_continuous_linear_map | |
@[simp] lemma coe_to_complL : β(to_complL : E βL[π] completion E) = coe := rfl | |
@[simp] lemma norm_to_complL {π E : Type*} [nontrivially_normed_field π] [normed_add_comm_group E] | |
[normed_space π E] [nontrivial E] : β₯(to_complL : E βL[π] completion E)β₯ = 1 := | |
(to_complβα΅’ : E ββα΅’[π] completion E).norm_to_continuous_linear_map | |
end completion | |
end uniform_space | |