Database
ELEMENTARY NUMBER THEORY
Elementary prime number theory
Properties of the canonical representation of a rational
fnum
Next ⟩
fden
Metamath Proof Explorer
Ascii
Unicode
Theorem
fnum
Description:
Canonical numerator defines a function.
(Contributed by
Stefan O'Rear
, 13-Sep-2014)
Ref
Expression
Assertion
fnum
⊢
numer
:
ℚ
⟶
ℤ
Proof
Step
Hyp
Ref
Expression
1
df-numer
⊢
numer
=
a
∈
ℚ
⟼
1
st
⁡
ι
b
∈
ℤ
×
ℕ
|
1
st
⁡
b
gcd
2
nd
⁡
b
=
1
∧
a
=
1
st
⁡
b
2
nd
⁡
b
2
qnumval
⊢
a
∈
ℚ
→
numer
⁡
a
=
1
st
⁡
ι
b
∈
ℤ
×
ℕ
|
1
st
⁡
b
gcd
2
nd
⁡
b
=
1
∧
a
=
1
st
⁡
b
2
nd
⁡
b
3
qnumcl
⊢
a
∈
ℚ
→
numer
⁡
a
∈
ℤ
4
2
3
eqeltrrd
⊢
a
∈
ℚ
→
1
st
⁡
ι
b
∈
ℤ
×
ℕ
|
1
st
⁡
b
gcd
2
nd
⁡
b
=
1
∧
a
=
1
st
⁡
b
2
nd
⁡
b
∈
ℤ
5
1
4
fmpti
⊢
numer
:
ℚ
⟶
ℤ