Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a4059fbdda2cfad3

Jump to content

Hereditarily finite set

From Wikipedia, the free encyclopedia
(Redirected from Ackermann coding)

In mathematics, specifically set theory, hereditarily finite sets are defined as finite sets whose elements are all hereditarily finite sets. In other words, the set itself is finite and all of its elements are finite sets, recursively down to the empty set.

Formal definition

[edit]

A recursive definition of well-founded hereditarily finite sets is as follows:

Base case: the empty set is a hereditarily finite set.
Recursion rule: if are hereditarily finite sets, then so is .

Only sets that can be built by a finite number of applications of these two rules are hereditarily finite.

Representation

[edit]

This class of sets is naturally ranked by the number of bracket pairs necessary to represent the sets:

  • One bracket pair: (the ordinal "0").
  • Two bracket pairs: (the ordinal "1").
  • Three bracket pairs: .
  • Four bracket pairs: and also (the ordinal "2").
  • Five bracket pairs: , also as well as .
  • Six bracket pairs, such as . There are six such sets.
  • Seven bracket pairs, such as . There are twelve such sets.
  • Eight bracket pairs, such as or (the ordinal "3").


The number of sets with bracket pairs is

(sequence A004111 in the OEIS).

Discussion

[edit]

Not every finite set is hereditarily finite. For example, is not hereditarily finite since it contains an infinite set as an element, the set of natural numbers .

The class of all hereditarily finite sets is denoted by , meaning that the cardinality of each member is smaller than . (Analogously, the class of hereditarily countable sets is denoted by .) It can also be denoted by , which denotes the th stage of the von Neumann universe.[1]

is in bijective correspondence with . Any theory that can prove to be a set can also prove it to be countable.

Models

[edit]

Ackermann coding

[edit]

In 1937, Wilhelm Ackermann introduced an encoding of hereditarily finite sets as natural numbers. It is defined by a function that maps each hereditarily finite set to a natural number, given by the following recursive definition:[2][3][4]

For example, the empty set contains no members, and is therefore mapped to an empty sum, that is, the number zero. On the other hand, a set with distinct members is mapped to

The inverse of this function is given by

where BIT denotes the BIT predicate.

The Ackermann coding can be used to construct a model of finitary set theory in the natural numbers. More precisely, (where is the converse relation of , swapping its two arguments) models Zermelo–Fraenkel set theory without the axiom of infinity. Here, each natural number models a set, and the relation models the membership relation between sets.

Graph models

[edit]

The class can be seen to be in exact correspondence with a class of rooted trees, namely those without non-trivial symmetries (i.e. whose only automorphism is the identity). The root vertex corresponds to the top level bracket and each edge leads to an element (another such set) that can act as a root vertex in its own right. No automorphism of this graph exists, corresponding to the fact that equal branches are identified (e.g. , trivializing the permutation of the two subgraphs of shape ). This graph model enables an implementation of ZF without infinity as data types and thus an interpretation of set theory in expressive type theories.

Graph models exist for ZF and also set theories different from Zermelo set theory, such as non-well founded theories. Such models have more intricate edge structure.

In graph theory, the graph whose vertices correspond to hereditarily finite sets and edges correspond to set membership is the Rado graph or random graph.

Axiomatizations

[edit]

Theories of finite sets

[edit]

In common axiomatic set theory approaches, the empty set also represents the first von Neumann ordinal number, denoted . All finite von Neumann ordinals are indeed hereditarily finite and, thus, so is every set in the class of sets representing the natural numbers. In other words, includes each element in the standard model of natural numbers and so a set theory expressing must necessarily contain them as well.

Robinson arithmetic can be interpreted in ST, the very small sub-theory of Zermelo set theory with only the axioms of extensionality, empty set and adjunction. All of has a constructive axiomatization involving these axioms and, for example, the axioms of set induction and replacement.

Axiomatically characterizing the theory of hereditarily finite sets, the negation of the axiom of infinity may be added. As the theory validates the other axioms of ZF, this establishes that the axiom of infinity is not a consequence of these other ZF axioms.

ZF

[edit]
represented with circles in place of curly brackets    

The hereditarily finite sets are a subclass of the Von Neumann universe. Here, the class of all well-founded hereditarily finite sets is denoted . Note that this is also a set in this context.

If we denote by the power set of , and by the empty set, then can be obtained by setting for each . Thus, can be expressed as

and all its elements are finite.

This formulation shows, again, that there are only countably many hereditarily finite sets: is finite for any finite , its cardinality is in Knuth's up-arrow notation (a tower of powers of two), and the union of countably many finite sets is countable.

Equivalently, a set is hereditarily finite if and only if its transitive closure is finite.

See also

[edit]

Notes

[edit]
  1. ↑ "Hereditarily finite set". nLab. Retrieved September 2, 2026. The set of all (well-founded) hereditarily finite sets (which is infinite, and not hereditarily finite itself) is written to show its place in the von Neumann hierarchy of pure sets.
  2. ↑ Ackermann (1937).
  3. ↑ Kirby (2009), p. 232.
  4. ↑ Omodeo, Policriti & Tomescu (2017), pp. 70–71.

References

[edit]