Metamath Proof Explorer


Theorem elpqn

Description: Each positive fraction is an ordered pair of positive integers (the numerator and denominator, in "lowest terms". (Contributed by Mario Carneiro, 28-Apr-2013) (New usage is discouraged.)

Ref Expression
Assertion elpqn A 𝑸 A 𝑵 × 𝑵

Proof

Step Hyp Ref Expression
1 df-nq 𝑸 = y 𝑵 × 𝑵 | x 𝑵 × 𝑵 y ~ 𝑸 x ¬ 2 nd x < 𝑵 2 nd y
2 1 ssrab3 𝑸 𝑵 × 𝑵
3 2 sseli A 𝑸 A 𝑵 × 𝑵