Schröder–Bernstein theorem


In set theory, the Schröder–Bernstein theorem states that, if there exist injective functions and between the sets and, then there exists a bijective function.
In terms of the cardinality of the two sets, this classically implies that if and, then ; that is, and are equipotent.
This is a useful feature in the ordering of cardinal numbers.
The theorem is named after Felix Bernstein and Ernst Schröder.
It is also known as Cantor–Bernstein theorem, or Cantor–Schröder–Bernstein, after Georg Cantor who first published it without proof.

Proof

The following proof is attributed to Julius König.
Assume without loss of generality that A and B are disjoint. For any a in A or b in B we can form a unique two-sided sequence of elements that are alternately in A and B, by repeatedly applying and to go from A to B and and to go from B to A.
For any particular a, this sequence may terminate to the left or not, at a point where or is not defined.
By the fact that and are injective functions, each a in A and b in B is in exactly one such sequence to within identity: if an element occurs in two sequences, all elements to the left and to the right must be the same in both, by the definition of the sequences. Therefore, the sequences form a partition of the union of A and B. Hence it suffices to produce a bijection between the elements of A and B in each of the sequences separately, as follows:
Call a sequence an A-stopper if it stops at an element of A, or a B-stopper if it stops at an element of B. Otherwise, call it doubly infinite if all the elements are distinct or cyclic if it repeats. See the picture for examples.
The traditional name "Schröder–Bernstein" is based on two proofs published independently in 1898.
Cantor is often added because he first stated the theorem in 1887,
while Schröder's name is often omitted because his proof turned out to be flawed
while the name of Richard Dedekind, who first proved it, is not connected with the theorem.
According to Bernstein, Cantor had suggested the name equivalence theorem.
Both proofs of Dedekind are based on his famous 1888 memoir Was sind und was sollen die Zahlen? and derive it as a corollary of a proposition equivalent to statement C in Cantor's paper, which reads ABC and |A| = |C| implies |A| = |B| = |C|. Cantor observed this property as early as 1882/83 during his studies in set theory and transfinite numbers and was therefore relying on the Axiom of Choice.

Prerequisites

The 1895 proof by Cantor relied, in effect, on the axiom of choice by inferring the result as a corollary of the well-ordering theorem. However, König's proof given [|above] shows that the result can also be proved without using the axiom of choice.
On the other hand, König's proof uses the principle of excluded middle, to do the analysis into cases, so this proof does not work in constructive set theory. Even more, no proof at all can exist from constructive set theory alone, since the Schröder–Bernstein theorem implies the principle of excluded middle. Therefore, intuitionists do not accept the theorem.
There is also a proof which uses Tarski's fixed point theorem.