4.6. Finiteness

Equinumerosity and cardinals

Given any small category with a set O of objects, one may consider its objects "up to isomorphism", by taking the quotient of O by the relation ∼ of isomorphism. Precisely, an attribute may be attached to objects, by saying that two objects have the same [something] if and only if they are isomorphic. This is formalized as a function K from O to some other set, whose equivalence relation is ∼, while no other detail of this function matters. But, the use of this function may as well be seen as an abbreviation of, or simulated by, the use of objects themselves, where the formula "K(A) = K(B)" means to abbreviate AB (the existence of an isomorphism between A and B), and more sophisticated uses follow from there (for example, an inclusion XY ⊂ Im K can be reinterpreted with XO, YO as ∀AX, ∃BY, AB).
This may be generalized to any category beyond the small ones, as justified either in terms of that abbreviation/simulation, or by the context of use where the non-smallness of the category has no impact, since objects are only handled "some fixed set of them at a time", i.e. interpretable as the use of some small category, no matter which one precisely. Another possible justification would be to change the formalization of set theory to admit another primitive class of objects beyond sets and functions; this would be an extension or development of set theory, in the sense further discussed in 4.11).

In particular for the category of sets, the equivalence predicate ≈ of equinumerosity between sets, is defined by the existence of a bijection :

AB ⇔ ∃fBA, f : AB

Equinumerous sets are said to "have the same cardinal" : |A| = |B| ⇔ AB where |A| denotes the cardinal of a set A.

On the "class" of cardinals, structures of addition, successor, multiplication and exponentiation are naturally defined from the relevant operations between sets,

0 = |∅|
1 = |{x}| for any x
|A| + |B| = |AB|
S(a,b) ⇔ a+1 =b
|A| ⋅ |B| = |A×B|
|A||B| = |AB|

with their famous equality properties deducible from the existences of canonical bijections (2.8).
Cardinals are naturally ordered by : |A| ≤ |B| if there exists an injection from A to B. Indeed it is obviously a preorder (composites of injections are injections), while its antisymmetry is given by the Cantor-Bernstein theorem. For any sets A, B, C,

|A| + |B| = |C| ⇔ (∃DC, |B| = |D| ∧ |A| = |C\D|) ⇒ (∃DC, |A| + |D| = |C|) ⇔ |A| ≤ |C|

Also, |A| ≤ |℘(A)| because (Ax↦{x}) : A ↪ ℘(A), while |A| ≠ |℘(A)| by Cantor's theorem (2.7).

For any sets A, B, if |A| + 1 = |B| + 1 then |A| = |B|.

Proof (simpler than done elsewhere).

More generally, if |A| + 1 ≤ |B| + 1 then |A| ≤ |B|.
Indeed if |C| + |A| + 1 = |B| + 1 for some C, then also |C| + |A| = |B|, i.e. |A| ≤ |B|. ∎

Another easy result is

|A| ≤ |B| ⇔ (|A| = |B| ∨ |A| + 1 ≤ |B|)

Finiteness

Let us give to any powerset ℘(E), the {0,1,S,+}-structure defined by restriction of the natural meta-{0,1,S,+}-structure on the class of sets:

0 = {∅}
1℘(E) = 1E = {{x}|xE}
setA,B, ASB ⇔ ∃xB, A = B\{x}
setA,B,C, +((A,B), C) ⇔ (AB = ∅ ∧ C = AB)

It forms a partial {0,+}-algebra, whose component 0 may also be written as the constant 0 = ∅ when using the convention for algebras.
The cardinality function forms a {0,1,S,+}-morphism from ℘(E) to the class of cardinals.
If +((A,B), C) then

(A) ∈ MorS(℘(B),℘(C))
∅⌈SEBASEC ⇒ (∅⌈SEA ⇒ ∅⌈SEC)
1E{0,+} ⊂ 〈0〉S = Min{0,S} ℘(E) ⊂ Min{0,1,+}℘(E)

Tbe set 〈0〉S = Min{0,1,+}℘(E) = 〈1E{0,+} is the set of finite subsets of E.
So, a set FE is finite when F ∈ Min{0,1,+}℘(E) independently of the chosen E such that FE:

(+((A,B), C) ∧ CF) ⇒ (AFBF)
Min{0,1,+}℘(F) = ℘(F) ∩ Min{0,1,+}℘(E)

Finiteness only depends on cardinality, since any bijection between E and F defines an {0,1,+}-isomorphism between ℘(E) and ℘(F). For this reason, it will also qualify cardinals: a finite cardinal is a cardinal of finite sets.
If FE and E is finite then F is finite because

(F) ∈ Mor{0,+}(℘(E),℘(F))
(F)[1E] ⊂ 〈1F{0}
(F)[〈1E{0,+}] ⊂ 〈∩(F)[1E]〉{0,+} ⊂ 〈1F{0,+}

Any finite union of finite sets is finite.

Proof. In the binary case, the finiteness of A and B implies that of AB = A∪(B\A), where B\AB is finite.
The general case of a union U = ⋃xE Ax where E and each Ax are finite, follows by

{FE|⋃xF Ax ∈ Min{0,1,+}℘(U)} ∈ Sub{0,1,+}℘(E) ∎

Any term over a language where all symbols have finite arities, is finite.
The proof involves the stability of the set of roots of finite sub-terms.∎

Any finite product of finite sets is finite.

Proof. A product of two finite sets is a finite union of finite sets. The general case follows like for unions. ∎

In particular, the finiteness of a set is equivalent to that of its powerset.

The finite choice theorem (announced in 2.10) is deduced in the same way.

For any finite set A ⊂ Dom f,

  1. f[A] is finite,
  2. |f[A]| ≤ |A|.
Proof:
  1. f[A] = ⋃xA {f(x)}
  2. The finite choice theorem then gives the existence of a section of f|A.
A section of f|A can also be explicitly defined when A = Vn, by y ↦ min f(y).

ℕ and finite cardinals

Let us keep working independently of the axiom of infinity, and now bring tools to express equivalent forms of it.

A set E is called Dedekind-infinite if, equivalently

  1. |E|+1 ≤ |E|
  2. |ℕ| ≤ |E|
  3. |E|+1 = |E|
Proof 1.⇒2. : |E|+1 ≤ |E| means there exists f:EE and x ∈ ∁E Im f, which implies 〈{x}〉f ≈ ℕ (as a unary {f}-term algebra).
2.⇒3. : if ℕ ⊂ E then the {0,S}-structure of ℕ extended by IdE\ℕ forms a bijection |E|+1 = |E|.∎

Dedekind-infinity implies infinity, i.e. ℕ is infinite.
Proof: since S is injective among cardinals, |E|+1+1 = |E|+1 ⇒ |E|+1 = |E|, so the class of Dedekind-finite sets is {0,S}-stable. ∎
But, the converse depends on a version of the axiom of choice, as will be discussed in 5.5.

Any finite cardinal is comparable with any other cardinal, i.e. |E| ≤ |F| ∨ |F| ≤ |E| whenever E is finite.

Proof : for any fixed set F, the class of sets E such that |E| ≤ |F| ∨ |F| ≤ |E| is {0,S}-stable.∎

Such reasonings to deduce a property of any set E by stability in the class of sets (or of cardinals), are justified as implicit uses of stability in the system ℘(E).
Likewise, the class of cardinals ≤ |E| can be expressed as a set KE = ℘(E)/≈, whose {0,1,S,+}-structure (restriction of the one among cardinals) coincides with the quotient of the one of ℘(E).
Let ME = Min{0,S} KE the set of finite cardinals of subsets of E.

As {0,S}-systems, KE and ME are functional, surjective and injective, and

KE = Dom SKE ∪ {|E|}
Dom SME = ME ∩ Dom SKE
ME ⊂ Dom SME ∪ {|E|}
|E| ∉ Dom SME

Proof of the last formula:
|E| ∈ Dom SKE means E is Dedekind-infinite
|E| ∈ ME means E is finite. ∎

Hence as noted in 4.3,

Hence the equivalence between several expressions of the axiom of infinity: If it holds (in a given universe) then the range of finite cardinals is expressible as a set, namely the ground term {0,S}-algebra ME for any infinite E, so it can be identified with ℕ.

Finite cardinals form a model of arithmetic, or at least a model of the variant of arithmetic where the induction axiom is replaced by

(Ind') ∀x∈ℕ, ∀AVx+1, (0∈A ∧ ∀nA, SnA) ⇒ xA


...to describe the set of finite subsets of ℕ.
...(so, the order between finite cardinals is the one generated by S)

Without assuming them to form a set ℕ, natural numbers can be conceived as synonymity classes of {0,S}-terms.

Here are equivalent conditions for the finiteness of a subset AE :

  1. A ∈ Min{0,S} ℘(E), i.e. ∅⌈SEA
  2. |A| ∈ Min{0,S} KE
  3. AVn for some natural number n
  4. There is a B ⊂ ℘(E) that is a {0,S}-term with root A.
Moreover this does not depend on E, and a finite A determines the number n=|A| in 2., 3. and 4..

Proof. 4.⇒1.⇒2. is obvious.
2.⇒3. : in the {0,S}-draft D = Min{0,S} KE, S is injective and its transitive closure T is irreflexive (by well-foundedness), thus

T ∈ Mor{0,S}(D,℘(D))

Denoting Vn = T(n), the function n↦|Vn| forms a {0,S}-morphism from D to KED.
Thus ∀nD, |Vn|=n in the convention that DKED.

3.⇒4. : T defines a {0,S}-embedding from the term with root n into ℘(Vn) which is isomorphic to ℘(A) when AVn.
Remaining details are left to the reader.∎

More results

(|f[A]| = |A| ⇔ Inj f|A)

Any left cancellative element of a finite monoid (M, e, •) is invertible. Thus, any finite cancellative monoid is a group.

Proof: for any xM, the transformation •(x) is injective in a finite set, thus also surjective. Being both left invertible and right cancellative (a monic retraction), x is invertible.∎

Finite composition in commutative monoids

Let uMX where X is a finite set and (M, e, •) is a monoid. Totally ordering X turns u into a string, element of some free monoid F, such as the one with basis Im u (generally, if u = vw then a total order on X gives w the role of element of the free monoid F with basis Dom v), which is then interpreted in M by the unique morphism of monoids from F to M which extends IdIm u (or v).
Now if M is commutative then this value of u in M is independent of the chosen order on X; we shall call it the composite of u and write it [u]. This may later be called the sum or product of u depending on the name of the composition operation in given monoids which will be taken in the role of M, such as the addition or the multiplication in ℕ or another numbers system.
This pushes further the removal of structures from ground {e,•}-terms to be interpreted in monoids: the commutativity axiom now removes the total order from the domain X of the string, after the axioms of associativity and identity removed the parenthesis and occurrences of the identity element from terms (turning them into strings).

Let us prove this by induction on the cardinal of X. The composite in M of the empty function is the identity element e of M, obviously independently of a total order on the empty X.
Any total order on a nonempty X has a last element xX. Then denoting A = X\{x}, the value in M of the string it gives is au(x) where aM is the composite of u|A (common value for all its total orders). What needs to be checked is that for all x,yX, denoting a, bM the respective composites of u|A and u|B where A = X\{x} and B = X\{y}, we have au(x) = bu(y).
If x=y we are done. Otherwise, denoting c = •[u|X\{x,y}] ∈ M (or the value it takes for any chosen order on X\{x,y}), we have

au(x) = c•(u(y)•u(x)) = c•(u(x)•u(y)) = bu(y). ∎

Obviously for any AX we have

[u] = [u|A] • [u|X\A] = [u|X\A] • [u|A].

Our proof from which this result is inferred, only used commutativity between elements of Im u. So, this implicitly contains or repeats the proof from 3.5 that a monoid generated by a commutative subset is also commutative.

(to be completed)


Back to homepage : Set theory and foundations of mathematics
1. First foundations of mathematics
2. Set theory
3. Algebra 1
4. Arithmetic and first-order foundations
4.1. Algebraic terms
4.2. Quotient systems
4.3. Term algebras
4.4. Integers and recursion
4.5. Presburger Arithmetic
4.6. Finiteness
4.7. Countability and completeness
4.8. More recursion tools
4.9. Non-standard models of Arithmetic
4.10. Developing theories : definitions
4.11. Constructions
4.A. The Berry paradox
5. Second-order foundations
6. Foundations of Geometry