Step |
Hyp |
Ref |
Expression |
1 |
|
df-numer |
⊢ numer = ( 𝑎 ∈ ℚ ↦ ( 1st ‘ ( ℩ 𝑏 ∈ ( ℤ × ℕ ) ( ( ( 1st ‘ 𝑏 ) gcd ( 2nd ‘ 𝑏 ) ) = 1 ∧ 𝑎 = ( ( 1st ‘ 𝑏 ) / ( 2nd ‘ 𝑏 ) ) ) ) ) ) |
2 |
|
qnumval |
⊢ ( 𝑎 ∈ ℚ → ( numer ‘ 𝑎 ) = ( 1st ‘ ( ℩ 𝑏 ∈ ( ℤ × ℕ ) ( ( ( 1st ‘ 𝑏 ) gcd ( 2nd ‘ 𝑏 ) ) = 1 ∧ 𝑎 = ( ( 1st ‘ 𝑏 ) / ( 2nd ‘ 𝑏 ) ) ) ) ) ) |
3 |
|
qnumcl |
⊢ ( 𝑎 ∈ ℚ → ( numer ‘ 𝑎 ) ∈ ℤ ) |
4 |
2 3
|
eqeltrrd |
⊢ ( 𝑎 ∈ ℚ → ( 1st ‘ ( ℩ 𝑏 ∈ ( ℤ × ℕ ) ( ( ( 1st ‘ 𝑏 ) gcd ( 2nd ‘ 𝑏 ) ) = 1 ∧ 𝑎 = ( ( 1st ‘ 𝑏 ) / ( 2nd ‘ 𝑏 ) ) ) ) ) ∈ ℤ ) |
5 |
1 4
|
fmpti |
⊢ numer : ℚ ⟶ ℤ |