Skip to content

Commit

Permalink
feat(topology/algebra/normed_group): completion of normed groups (#6189)
Browse files Browse the repository at this point in the history
From `lean-liquid`
  • Loading branch information
jcommelin committed Feb 16, 2021
1 parent 35c070f commit 8a43163
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions src/topology/algebra/normed_group.lean
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

0 comments on commit 8a43163

Please sign in to comment.