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¬2ndx<𝑵2ndy
2 1 ssrab3 𝑸𝑵×𝑵
3 2 sseli A𝑸A𝑵×𝑵