Database
ELEMENTARY NUMBER THEORY
Elementary prime number theory
Properties of the canonical representation of a rational
qnumval
Next ⟩
qdenval
Metamath Proof Explorer
Ascii
Unicode
Theorem
qnumval
Description:
Value of the canonical numerator function.
(Contributed by
Stefan O'Rear
, 13-Sep-2014)
Ref
Expression
Assertion
qnumval
⊢
A
∈
ℚ
→
numer
⁡
A
=
1
st
⁡
ι
x
∈
ℤ
×
ℕ
|
1
st
⁡
x
gcd
2
nd
⁡
x
=
1
∧
A
=
1
st
⁡
x
2
nd
⁡
x
Proof
Step
Hyp
Ref
Expression
1
eqeq1
⊢
a
=
A
→
a
=
1
st
⁡
x
2
nd
⁡
x
↔
A
=
1
st
⁡
x
2
nd
⁡
x
2
1
anbi2d
⊢
a
=
A
→
1
st
⁡
x
gcd
2
nd
⁡
x
=
1
∧
a
=
1
st
⁡
x
2
nd
⁡
x
↔
1
st
⁡
x
gcd
2
nd
⁡
x
=
1
∧
A
=
1
st
⁡
x
2
nd
⁡
x
3
2
riotabidv
⊢
a
=
A
→
ι
x
∈
ℤ
×
ℕ
|
1
st
⁡
x
gcd
2
nd
⁡
x
=
1
∧
a
=
1
st
⁡
x
2
nd
⁡
x
=
ι
x
∈
ℤ
×
ℕ
|
1
st
⁡
x
gcd
2
nd
⁡
x
=
1
∧
A
=
1
st
⁡
x
2
nd
⁡
x
4
3
fveq2d
⊢
a
=
A
→
1
st
⁡
ι
x
∈
ℤ
×
ℕ
|
1
st
⁡
x
gcd
2
nd
⁡
x
=
1
∧
a
=
1
st
⁡
x
2
nd
⁡
x
=
1
st
⁡
ι
x
∈
ℤ
×
ℕ
|
1
st
⁡
x
gcd
2
nd
⁡
x
=
1
∧
A
=
1
st
⁡
x
2
nd
⁡
x
5
df-numer
⊢
numer
=
a
∈
ℚ
⟼
1
st
⁡
ι
x
∈
ℤ
×
ℕ
|
1
st
⁡
x
gcd
2
nd
⁡
x
=
1
∧
a
=
1
st
⁡
x
2
nd
⁡
x
6
fvex
⊢
1
st
⁡
ι
x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