1) A and B are sets of natural numbers. They are the same, so they have the same cardinality.
2) Set B is transformed into set of rationals. This can be done only by adding new numbers e.g. 1/2, 1/4, 5/6, ... to this set.
3) Set B now contains the same amount of numbers as set A, with extra numbers from step 2. Therefore, set of rationals has greater cardinality than set of naturals.
That is not a valid or relevant observation for cardinalities of infinity. Adding more/different numbers to an infinite set doesn't mean the cardinality is any "bigger".
– fleablood Sep 18 '18 at 20:45