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2nd ‘ 𝑥 ) ) = 1 ∧ 𝑦 = ( ( 1st ‘ 𝑥 ) / ( 2nd ‘ 𝑥 ) ) ) ) ) |
23 |
1 2 22
|
cmpt |
⊢ ( 𝑦 ∈ ℚ ↦ ( 2nd ‘ ( ℩ 𝑥 ∈ ( ℤ × ℕ ) ( ( ( 1st ‘ 𝑥 ) gcd ( 2nd ‘ 𝑥 ) ) = 1 ∧ 𝑦 = ( ( 1st ‘ 𝑥 ) / ( 2nd ‘ 𝑥 ) ) ) ) ) ) |
24 |
0 23
|
wceq |
⊢ denom = ( 𝑦 ∈ ℚ ↦ ( 2nd ‘ ( ℩ 𝑥 ∈ ( ℤ × ℕ ) ( ( ( 1st ‘ 𝑥 ) gcd ( 2nd ‘ 𝑥 ) ) = 1 ∧ 𝑦 = ( ( 1st ‘ 𝑥 ) / ( 2nd ‘ 𝑥 ) ) ) ) ) ) |