Math 2.0

Mathematical logic and foundations Proof

Proof that the product of countable sets is countable

Builds on Countable setCartesian productCantor pairing functionInjective functionComposition of injections is injective

Proof

  1. Let AA and BB be countable sets. By definition, there are injective functions f ⁣:A→ℕf \colon A \to \N and g ⁣:B→ℕg \colon B \to \N.
  2. Define h ⁣:A×B→ℕ×ℕh \colon A \times B \to \N \times \N on the Cartesian product by h(a,b)=(f(a),g(b))h(a, b) = (f(a), g(b)).
  3. The map hh is injective. If h(a,b)=h(a′,b′)h(a, b) = h(a', b'), then f(a)=f(a′)f(a) = f(a') and g(b)=g(b′)g(b) = g(b'). So a=a′a = a' and b=b′b = b', since ff and gg are injective.
  4. Let π ⁣:ℕ×ℕ→ℕ\pi \colon \N \times \N \to \N be the Cantor pairing function, π(x,y)=(x+y)(x+y+1)/2+y\pi(x, y) = (x + y)(x + y + 1)/2 + y. It is a bijection, so it is injective.
  5. The composite π∘h ⁣:A×B→ℕ\pi \circ h \colon A \times B \to \N is injective, as a composition of injections.
  6. Hence A×BA \times B is countable.

Idea

Countable means "can be labelled by natural numbers without repeats". A pair gets a pair of labels, and the Cantor pairing function packs a pair of natural numbers into one natural number without collisions.

Reading path

To understand this page from the ground up, read these 23 pages in order. The foundations come first. The path takes the proof Proof that a composition of injections is injective.

Show the path as a graph
Element, definition, no evidence levelElementdefinitionProposition, concept, no evidence levelPropositionconceptSet, definition, no evidence levelSetdefinitionImplication, definition, no evidence levelImplicationdefinitionPredicate, definition, no evidence levelPredicatedefinitionOrdered pair, definition, no evidence levelOrdered pairdefinitionExistential quantifier, definition, no evidence levelExistential quantifierdefinitionUniversal quantifier, definition, no evidence levelUniversal quantifierdefinitionCartesian product, definition, no evidence levelCartesian productdefinitionSubset, definition, no evidence levelSubsetdefinitionUniqueness quantifier, definition, no evidence levelUniqueness quantifierdefinitionBinary relation, definition, no evidence levelBinary relationdefinitionFunction, definition, no evidence levelFunctiondefinitionCodomain, definition, no evidence levelCodomaindefinitionFunction composition, definition, no evidence levelFunction compositiondefinitionInjective function, definition, no evidence levelInjective functiondefinitionSurjective function, definition, no evidence levelSurjective functiondefinitionProof that a composition of injections is injective, proof, no evidence levelProof that a composit…proofCountable set, definition, no evidence levelCountable setdefinitionBijective function, definition, no evidence levelBijective functiondefinitionComposition of injections is injective, statement, no evidence levelComposition of inject…statementCantor pairing function, example, no evidence levelCantor pairing functi…exampleProof that the product of countable sets is countable, proof, no evidence levelProof that the produc…proof
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Element definition
  2. Proposition concept
  3. Set definition
  4. Implication definition
  5. Predicate definition
  6. Ordered pair definition
  7. Existential quantifier definition
  8. Universal quantifier definition
  9. Cartesian product definition
  10. Subset definition
  11. Uniqueness quantifier definition
  12. Binary relation definition
  13. Function definition
  14. Codomain definition
  15. Function composition definition
  16. Injective function definition
  17. Surjective function definition
  18. Proof that a composition of injections is injective proof
  19. Countable set definition
  20. Bijective function definition
  21. Composition of injections is injective statement
  22. Cantor pairing function example
  23. Proof that the product of countable sets is countable proof

Where this leads

15 pages build on this one.

Further reading

  1. Web https://proofwiki.org/wiki/Cartesian_Product_of_Countable_Sets_is_Countable, Formal Proof 1
About this page
TagAK41NNRHGD
URIm2://AK41NNRHGD
Kindproof
WritingW0 stub
MSC03E10
ProvesProduct of countable sets is countable
UsesCountable set, Cartesian product, Cantor pairing function, Injective function, Composition of injections is injective
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.