Skip to content

Commit

Permalink
feat(analysis/normed_space/basic): normed division algebras over ℝ ar…
Browse files Browse the repository at this point in the history
…e also normed algebras over ℚ (#13384)

This results shows that `algebra_rat` respects the norm in ` ℝ`-algebras that respect the norm.

The new instance carries no new data, as the norm and algebra structure are already defined elsewhere.

Probably there is a weaker requirement for compatibility, but I have no idea what it is, and the weakening can come later.
  • Loading branch information
eric-wieser committed Apr 13, 2022
1 parent 50ff59a commit 0c3f75b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/analysis/normed_space/basic.lean
Expand Up @@ -419,6 +419,16 @@ end
lemma normed_algebra.nontrivial : nontrivial 𝕜' :=
⟨⟨0, 1, normed_algebra.zero_ne_one 𝕜 𝕜'⟩⟩

/-- Any normed characteristic-zero division ring that is a normed_algebra over the reals is also a
normed algebra over the rationals.
Phrased another way, if `𝕜` is a normed algebra over the reals, then `algebra_rat` respects that
norm. -/
instance normed_algebra_rat {𝕜} [normed_division_ring 𝕜] [char_zero 𝕜] [normed_algebra ℝ 𝕜] :
normed_algebra ℚ 𝕜 :=
{ norm_algebra_map_eq := λ q,
by simpa only [ring_hom.map_rat_algebra_map] using norm_algebra_map_eq 𝕜 (algebra_map _ ℝ q) }

end normed_algebra

section restrict_scalars
Expand Down

0 comments on commit 0c3f75b

Please sign in to comment.