To determine if two infinite sets (A and B) are equal in size, you need to determine if a one-to-one correspondence exists between their elements. For that:
Find an injective function f: A → B.
Find an injective function g: B → A.
By the Cantor–Bernstein theorem, there exists a bijective function h: A → B, and the sets are equal in size.
Read more