Jump to content

Hereditarily finite set: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Ackermann coding: Note down domain
format math
Line 5: Line 5:
A [[recursive]] definition of [[well-foundedness|well-founded]] hereditarily finite sets is as follows:
A [[recursive]] definition of [[well-foundedness|well-founded]] hereditarily finite sets is as follows:
: ''Base case'': The empty set is a hereditarily finite set.
: ''Base case'': The empty set is a hereditarily finite set.
: ''Recursion rule'': If ''a''<sub>1</sub>,...,''a''<sub>''k''</sub> are hereditarily finite, then so is {''a''<sub>1</sub>,...,''a''<sub>''k''</sub>}.
: ''Recursion rule'': If <math>a_1,\dots a_k</math> are hereditarily finite, then so is <math>\{a_1,\dots a_k\}</math>.
and only sets that can be built by a finite number of applications of these two rules are hereditarily finite.
Only sets that can be built by a finite number of applications of these two rules are hereditarily finite.


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


:* <math>\{\}</math> (i.e. <math>\emptyset</math>, the Neumann ordinal "0")
* <math>\{\}</math> (i.e. <math>\emptyset</math>, the Neumann ordinal "0")
:* <math>\{\{\}\}</math> (i.e. <math>\{\emptyset\}</math> or <math>\{0\}</math>, the Neumann ordinal "1")
* <math>\{\{\}\}</math> (i.e. <math>\{\emptyset\}</math> or <math>\{0\}</math>, the Neumann ordinal "1")
:* <math>\{\{\{\}\}\}</math>
* <math>\{\{\{\}\}\}</math>
:* <math>\{\{\{\{\}\}\}\}</math> and then also <math>\{\{\},\{\{\}\}\}</math> (i.e. <math>\{0,1\}</math>, the Neumann ordinal "2"),
* <math>\{\{\{\{\}\}\}\}</math> and then also <math>\{\{\},\{\{\}\}\}</math> (i.e. <math>\{0,1\}</math>, the Neumann ordinal "2"),
:* <math>\{\{\{\{\{\}\}\}\}\}</math>, <math>\{\{\{\},\{\{\}\}\}\}</math> as well as <math>\{\{\},\{\{\{\}\}\}\}</math>,
* <math>\{\{\{\{\{\}\}\}\}\}</math>, <math>\{\{\{\},\{\{\}\}\}\}</math> as well as <math>\{\{\},\{\{\{\}\}\}\}</math>,
:* ... sets represented with <math>6</math> bracket pairs, e.g. <math>\{\{\{\{\{\{\}\}\}\}\}\}</math>. There are six such sets
* ... sets represented with <math>6</math> bracket pairs, e.g. <math>\{\{\{\{\{\{\}\}\}\}\}\}</math>. There are six such sets
:* ... sets represented with <math>7</math> bracket pairs, e.g. <math>\{\{\{\{\{\{\{\}\}\}\}\}\}\}</math>. There are twelve such sets
* ... sets represented with <math>7</math> bracket pairs, e.g. <math>\{\{\{\{\{\{\{\}\}\}\}\}\}\}</math>. There are twelve such sets
:* ... sets represented with <math>8</math> bracket pairs, e.g. <math>\{\{\{\{\{\{\{\{\}\}\}\}\}\}\}\}</math> or <math>\{\{\}, \{\{\}\}, \{\{\},\{\{\}\}\}\}</math> (i.e. <math>\{0,1,2\}</math>, the Neumann ordinal "3")
* ... sets represented with <math>8</math> bracket pairs, e.g. <math>\{\{\{\{\{\{\{\{\}\}\}\}\}\}\}\}</math> or <math>\{\{\}, \{\{\}\}, \{\{\},\{\{\}\}\}\}</math> (i.e. <math>\{0,1,2\}</math>, the Neumann ordinal "3")
:* ... etc.
* ... etc.
In this way, the number of sets with <math>n</math> bracket pairs is<ref>{{Cite web|url=https://oeis.org/A004111|title=A004111 - Oeis}}</ref> <math>1, 1, 1, 2, 3, 6, 12, 25, 52, 113, 247, 548, 1226, 2770, 6299, 14426, \dots</math>
In this way, the number of sets with <math>n</math> bracket pairs is<ref>{{Cite OEIS|A004111}}</ref>
{{bi|left=1.6|1, 1, 1, 2, 3, 6, 12, 25, 52, 113, 247, 548, 1226, 2770, 6299, 14426, ...}}


==Discussion==
==Discussion==
Line 46: Line 47:
|doi-access=free}}</ref><ref>{{cite book | last1 = Omodeo | first1 = Eugenio G. | last2 = Policriti | first2 = Alberto | last3 = Tomescu | first3 = Alexandru I. | contribution = 3.3: The Ackermann encoding of hereditarily finite sets | doi = 10.1007/978-3-319-54981-1 | isbn = 978-3-319-54980-4 | mr = 3558535 | pages = 70–71 | publisher = Springer | title = On Sets and Graphs: Perspectives on Logic and Combinatorics | year = 2017}}</ref>
|doi-access=free}}</ref><ref>{{cite book | last1 = Omodeo | first1 = Eugenio G. | last2 = Policriti | first2 = Alberto | last3 = Tomescu | first3 = Alexandru I. | contribution = 3.3: The Ackermann encoding of hereditarily finite sets | doi = 10.1007/978-3-319-54981-1 | isbn = 978-3-319-54980-4 | mr = 3558535 | pages = 70–71 | publisher = Springer | title = On Sets and Graphs: Perspectives on Logic and Combinatorics | year = 2017}}</ref>
It is defined by a function <math>f\colon H_{\aleph_0} \to \omega</math> that maps each hereditarily finite set to a natural number, given by the following recursive definition:
It is defined by a function <math>f\colon H_{\aleph_0} \to \omega</math> that maps each hereditarily finite set to a natural number, given by the following recursive definition:
:<math>f(a) = \sum_{b \in a} 2^{f(b)}</math>
{{bi|left=1.6|<math>\displaystyle f(a) = \sum_{b \in a} 2^{f(b)}</math>}}
For example, the empty set <math>\{\}</math> 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 <math>a, b, c, \dots</math> is mapped to <math>2^{f(a)} + 2^{f(b)} + 2^{f(c)} + \ldots</math>.
For example, the empty set <math>\{\}</math> 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 <math>a, b, c, \dots</math> is mapped to <math>2^{f(a)} + 2^{f(b)} + 2^{f(c)} + \ldots</math>.


The inverse is given by
The inverse is given by
:<math>f^{-1}\colon\omega\to H_{\aleph_0}</math>
{{bi|left=1.6|<math>\displaystyle f^{-1}\colon\omega\to H_{\aleph_0}</math>}}
:<math>f^{-1}(i) = \{f^{-1}(j) \mid \text{BIT}(i, j) = 1\}</math>
{{bi|left=1.6|<math>\displaystyle f^{-1}(i) = \{f^{-1}(j) \mid \text{BIT}(i, j) = 1\}</math>}}
where BIT denotes the [[BIT predicate]].
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, <math>(\mathbb{N}, \text{BIT}^\top)</math> (where <math>\text{BIT}^\top</math> is the [[converse relation]] of BIT, swapping its two arguments) models [[Zermelo–Fraenkel set theory]] <math>{\mathsf {ZF}}</math> without the [[axiom of infinity]]. Here, each natural number models a set, and the BIT relation models the membership relation between sets.
The Ackermann coding can be used to construct a model of finitary set theory in the natural numbers. More precisely, <math>(\mathbb{N}, \text{BIT}^\top)</math> (where <math>\text{BIT}^\top</math> is the [[converse relation]] of <math>\text{BIT}</math>, swapping its two arguments) models [[Zermelo–Fraenkel set theory]] ZF without the [[axiom of infinity]]. Here, each natural number models a set, and the <math>\text{BIT}</math> relation models the membership relation between sets.


===Graph models===
===Graph models===
Line 69: Line 70:
In the common axiomatic set theory approaches, the empty set <math>\{\}</math> also represents the first von Neumann [[ordinal number]], denoted <math>0</math>. All finite von Neumann ordinals are indeed hereditarily finite and, thus, so is the class of sets representing the natural numbers. In other words, <math>H_{\aleph_0}</math> includes each element in the [[Set-theoretic definition of natural numbers|standard model of natural numbers]] and a set theory expressing <math>H_{\aleph_0}</math> must contain all of those.
In the common axiomatic set theory approaches, the empty set <math>\{\}</math> also represents the first von Neumann [[ordinal number]], denoted <math>0</math>. All finite von Neumann ordinals are indeed hereditarily finite and, thus, so is the class of sets representing the natural numbers. In other words, <math>H_{\aleph_0}</math> includes each element in the [[Set-theoretic definition of natural numbers|standard model of natural numbers]] and a set theory expressing <math>H_{\aleph_0}</math> must contain all of those.


Now note that [[Robinson arithmetic]] can already be interpreted [[General set theory|in <math>{\mathsf {ST}}</math>]], the very small sub-theory [[Zermelo set theory|of <math>{\mathsf {Z}}^-</math>]] with its [[axioms]] given by [[Axiom of Extensionality|Extensionality]], Empty Set and [[General set theory|Adjunction]]. <math>H_{\aleph_0}</math> has a [[Constructive set theory|constructive axiomatization]] involving these axioms and e.g. [[Epsilon induction|Set induction]] and [[Axiom of replacement|Replacement]].
Now note that [[Robinson arithmetic]] can already be interpreted in [[General set theory|ST]], the very small sub-theory of [[Zermelo set theory]] Z<sup>&minus;</sup> with its [[axioms]] given by [[Axiom of Extensionality|Extensionality]], Empty Set and [[General set theory|Adjunction]]. <math>H_{\aleph_0}</math> has a [[Constructive set theory|constructive axiomatization]] involving these axioms and e.g. [[Epsilon induction|Set induction]] and [[Axiom of replacement|Replacement]].


Axiomatically characterizing the theory of hereditarily finite sets, the negation of the axiom of infinity may be added, thus proving that the axiom of infinity is not a consequence of the other axioms of <math>{\mathsf {ZF}}</math>.
Axiomatically characterizing the theory of hereditarily finite sets, the negation of the axiom of infinity may be added, thus proving that the axiom of infinity is not a consequence of the other axioms of ZF.


===ZF===
===ZF===
[[File:Nested_set_V4.svg|thumb|400px|<math>~V_4~</math> represented with circles in place of [[Bracket (mathematics)#Sets and groups|curly brackets]]&nbsp;&nbsp;&nbsp;&nbsp;[[File:Loupe light.svg|15px|link=http:/upwiki/wikipedia/commons/thumb/1/1b/Nested_set_V4.svg/1600px-Nested_set_V4.svg.png]] ]]
[[File:Nested_set_V4.svg|thumb|400px|<math>~V_4~</math> represented with circles in place of [[Bracket (mathematics)#Sets and groups|curly brackets]]&nbsp;&nbsp;&nbsp;&nbsp;[[File:Loupe light.svg|15px|link=http:/upwiki/wikipedia/commons/thumb/1/1b/Nested_set_V4.svg/1600px-Nested_set_V4.svg.png]] ]]


The hereditarily finite sets are a subclass of the [[Von Neumann universe]]. Here, the class of all well-founded hereditarily finite sets is denoted ''V''<sub>ω</sub>. Note that this is also a set in this context.
The hereditarily finite sets are a subclass of the [[Von Neumann universe]]. Here, the class of all well-founded hereditarily finite sets is denoted <math>V_{\omega}</math>. Note that this is also a set in this context.


If we denote by (''S'') the [[power set]] of ''S'', and by ''V''<sub>0</sub> the empty set, then ''V''<sub>ω</sub> can be obtained by setting
If we denote by <math>\wp(S)</math> the [[power set]] of <math>S</math>, and by <math>V_0</math> the empty set, then <math>V_{\omega}</math> can be obtained by setting <math>V_{i+1}=\wp(V_i)</math> for each integer <math>i\ge 0</math>. Thus, <math>V_{\omega}</math> can be expressed as
{{bi|left=1.6|<math>\displaystyle V_\omega = \bigcup_{k=0}^\infty V_k</math>}}
''V''<sub>1</sub> = ℘(''V''<sub>0</sub>), ''V''<sub>2</sub> = ℘(''V''<sub>1</sub>),..., ''V''<sub>''k''</sub> = ℘(''V''<sub>''k''&minus;1</sub>),... and so on.
and all its elements are finite.


This formulation shows, again, that there are only [[countably]] many hereditarily finite sets: <math>V_n</math> is finite for any finite <math>n</math>, its [[cardinality]] is <math>2\uparrow\uparrow (n-1)</math> in [[Knuth's up-arrow notation]] (a tower of <math>n-1</math> powers of two), and the union of countably many finite sets is countable.
Thus, ''V''<sub>ω</sub> can be expressed as <math> V_\omega = \bigcup_{k=0}^\infty V_k</math> and all its elements are finite.

We see, again, that there are only [[countably]] many hereditarily finite sets: ''V<sub>n</sub>'' is finite for any finite ''n'', its [[cardinality]] is <sup>''n''&minus;1</sup>2 (see [[tetration]]),
and the union of countably many finite sets is countable.


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

Revision as of 20:44, 8 June 2024

In mathematics and 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 all the way down to the empty set.

Formal definition

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, then so is .

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

Representation

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

  • (i.e. , the Neumann ordinal "0")
  • (i.e. or , the Neumann ordinal "1")
  • and then also (i.e. , the Neumann ordinal "2"),
  • , as well as ,
  • ... sets represented with bracket pairs, e.g. . There are six such sets
  • ... sets represented with bracket pairs, e.g. . There are twelve such sets
  • ... sets represented with bracket pairs, e.g. or (i.e. , the Neumann ordinal "3")
  • ... etc.

In this way, the number of sets with bracket pairs is[1]

1, 1, 1, 2, 3, 6, 12, 25, 52, 113, 247, 548, 1226, 2770, 6299, 14426, ...

Discussion

The set is an example for such a hereditarily finite set and so is the empty set , as noted. On the other hand, the sets or are examples of finite sets that are not hereditarily finite. For example, the first cannot be hereditarily finite since it contains at least one infinite set as an element, when .

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 .) is in bijective correspondence with . It can also be denoted by , which denotes the th stage of the von Neumann universe.[2] So here it is a countable set.

Models

Ackermann coding

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

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 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 ZF without the axiom of infinity. Here, each natural number models a set, and the relation models the membership relation between sets.

Graph models

The class can be seen to be in exact correspondence with a class of rooted trees, namely those without non-trivial symmetries (i.e. the 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 exist, 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

Theories of finite sets

In the 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 the class of sets representing the natural numbers. In other words, includes each element in the standard model of natural numbers and a set theory expressing must contain all of those.

Now note that Robinson arithmetic can already be interpreted in ST, the very small sub-theory of Zermelo set theory Z with its axioms given by Extensionality, Empty Set and Adjunction. has a constructive axiomatization involving these axioms and e.g. Set induction and Replacement.

Axiomatically characterizing the theory of hereditarily finite sets, the negation of the axiom of infinity may be added, thus proving that the axiom of infinity is not a consequence of the other axioms of ZF.

ZF

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 integer . 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

References

  1. ^ Sloane, N. J. A. (ed.). "Sequence A004111". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  2. ^ "hereditarily finite set". nLab. nLab. January 2023. Retrieved January 28, 2023. 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.
  3. ^ Ackermann, Wilhelm (1937). "Die Widerspruchsfreiheit der allgemeinen Mengenlehre". Mathematische Annalen. 114: 305–315. doi:10.1007/bf01594179. S2CID 120576556. Retrieved 2012-01-09.
  4. ^ Kirby, Laurence (2009). "Finitary Set Theory". Notre Dame Journal of Formal Logic. 50 (3): 227–244. doi:10.1215/00294527-2009-009.
  5. ^ Omodeo, Eugenio G.; Policriti, Alberto; Tomescu, Alexandru I. (2017). "3.3: The Ackermann encoding of hereditarily finite sets". On Sets and Graphs: Perspectives on Logic and Combinatorics. Springer. pp. 70–71. doi:10.1007/978-3-319-54981-1. ISBN 978-3-319-54980-4. MR 3558535.