Documentation
Mathlib
.
Analysis
.
Normed
.
Group
.
Rat
Search
Google site search
return to top
source
Imports
Init
Mathlib.Topology.Instances.Rat
Mathlib.Analysis.Normed.Group.Int
Imported by
Rat
.
instNormedAddCommGroup
Rat
.
norm_cast_real
Int
.
norm_cast_rat
ℚ as a normed group
#
source
instance
Rat
.
instNormedAddCommGroup
:
NormedAddCommGroup
ℚ
Equations
Rat.instNormedAddCommGroup
=
NormedAddCommGroup.mk
Rat.instNormedAddCommGroup.proof_1
source
@[simp]
theorem
Rat
.
norm_cast_real
(r :
ℚ
)
:
‖
↑
r
‖
=
‖
r
‖
source
@[simp]
theorem
Int
.
norm_cast_rat
(m :
ℤ
)
:
‖
↑
m
‖
=
‖
m
‖