-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(topology/algebra/normed_group): completion of normed groups (#6189)
From `lean-liquid`
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/- | ||
Copyright (c) 2021 Johan Commelin. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Johan Commelin | ||
-/ | ||
import topology.algebra.group_completion | ||
import topology.metric_space.completion | ||
|
||
/-! | ||
# Completion of normed groups | ||
In this file we show that the completion of a normed group | ||
is naturally a normed group. | ||
## Main declaration | ||
* `uniform_space.completion.normed_group`: | ||
the normed group instance on the completion of a normed group | ||
-/ | ||
|
||
noncomputable theory | ||
|
||
variables (V : Type*) | ||
|
||
namespace uniform_space | ||
namespace completion | ||
|
||
instance [uniform_space V] [has_norm V] : | ||
has_norm (completion V) := | ||
{ norm := completion.extension has_norm.norm } | ||
|
||
@[simp] lemma norm_coe {V} [normed_group V] (v : V) : | ||
∥(v : completion V)∥ = ∥v∥ := | ||
completion.extension_coe uniform_continuous_norm v | ||
|
||
instance [normed_group V] : normed_group (completion V) := | ||
{ dist_eq := | ||
begin | ||
intros x y, | ||
apply completion.induction_on₂ x y; clear x y, | ||
{ refine is_closed_eq (completion.uniform_continuous_extension₂ _).continuous _, | ||
exact continuous.comp completion.continuous_extension continuous_sub }, | ||
{ intros x y, | ||
rw [← completion.coe_sub, norm_coe, metric.completion.dist_eq, dist_eq_norm] } | ||
end, | ||
.. (show add_comm_group (completion V), by apply_instance), | ||
.. (show metric_space (completion V), by apply_instance) } | ||
|
||
end completion | ||
end uniform_space |