# Inhabited set

__: Property of sets used in constructive mathematics__

**Short description**In mathematics, a set [math]\displaystyle{ A }[/math] is **inhabited** if there exists an element [math]\displaystyle{ a \in A }[/math].

In classical mathematics, the property of being inhabited is equivalent to being non-empty. However, this equivalence is not valid in constructive or intuitionistic logic, and so this separate terminology is mostly used in the set theory of constructive mathematics.

## Definition

In the formal language of first-order logic, set [math]\displaystyle{ A }[/math] has the property of being *inhabited* if

- [math]\displaystyle{ \exists z. (z \in A). }[/math]

### Related definitions

A set [math]\displaystyle{ A }[/math] has the property of being *empty* if [math]\displaystyle{ \forall z. (z \notin A) }[/math], or equivalently [math]\displaystyle{ \neg\exists z. (z \in A) }[/math]. Here [math]\displaystyle{ z \notin A }[/math] stands for the negation [math]\displaystyle{ \neg (z \in A) }[/math].

A set [math]\displaystyle{ A }[/math] is *non-empty* if it is not empty, that is, if [math]\displaystyle{ \neg\forall z. (z \notin A) }[/math], or equivalently [math]\displaystyle{ \neg\neg\exists z. (z \in A) }[/math].

## Theorems

Modus ponens implies [math]\displaystyle{ P\to((P\to Q)\to Q) }[/math], and taking any a false proposition for [math]\displaystyle{ Q }[/math] establishes that [math]\displaystyle{ P\to\neg\neg P }[/math] is always valid. Hence, any inhabited set is provably also non-empty.

## Discussion

In constructive mathematics, the double-negation elimination principle is not automatically valid. In particular, an existence statement is generally stronger than its double-negated form. The latter merely expresses that the existence cannot be ruled out, in the strong sense that it cannot consistently be negated. In a constructive reading, in order for [math]\displaystyle{ \exists z. \phi(z) }[/math] to hold for some formula [math]\displaystyle{ \phi }[/math], it is necessary for a specific value of [math]\displaystyle{ z }[/math] satisfying [math]\displaystyle{ \phi }[/math] to be constructed or known. Likewise, the negation of a universal quantified statement is in general weaker than an existential quantification of a negated statement. In turn, a set may be proven to be non-empty without one being able to prove it is inhabited.

### Examples

Sets such as [math]\displaystyle{ \{2,3,4,7\} }[/math] or [math]\displaystyle{ \mathbb Q }[/math] are inhabited, as e.g. witnessed by [math]\displaystyle{ 3\in\{2,3,4,7\} }[/math]. The set [math]\displaystyle{ \{\} }[/math] is empty and thus not inhabited. Naturally, the example section thus focuses on non-empty sets that are not provably inhabited.

It is easy to give examples for any simple set theoretical property, because logical statements can always be expressed as set theoretical ones, using an axiom of separation. For example, with a subset [math]\displaystyle{ S\subset\{0\} }[/math] defined as [math]\displaystyle{ S:=\{n\in\{0\}\mid P\} }[/math], the proposition [math]\displaystyle{ P }[/math] may always equivalently be stated as [math]\displaystyle{ 0\in S }[/math]. The double-negated existence claim of an entity with a certain property can be expressed by stating that the set of entities with that property is non-empty.

#### Example relating to excluded middle

Define a subset [math]\displaystyle{ A\subset\{0,1\} }[/math] via

- [math]\displaystyle{ A:=\{n\in\{0,1\}\mid (P\land n=0)\lor (\neg P\land n=1)\} }[/math]

Clearly [math]\displaystyle{ P\leftrightarrow 0\in A }[/math] and [math]\displaystyle{ (\neg P)\leftrightarrow 1\in A }[/math], and from the principle of non-contradiction one concludes [math]\displaystyle{ \neg (0 \in A\land 1\in A ) }[/math]. Further, [math]\displaystyle{ (P\lor\neg P) \leftrightarrow (0\in A \lor 1\in A) }[/math] and in turn

- [math]\displaystyle{ (P\lor\neg P)\to\exists!(n\in\{0,1\}). n\in A }[/math]

Already minimal logic proves [math]\displaystyle{ \neg\neg(P\lor\neg P) }[/math], the double-negation for any excluded middle statement, which here is equivalent to [math]\displaystyle{ \neg (0 \notin A\land 1\notin A ) }[/math]. So by performing two contrapositions on the previous implication, one establishes [math]\displaystyle{ \neg\neg\exists!(n\in\{0,1\}). n\in A }[/math]. In words: It *cannot consistently be ruled out* that exactly one of the numbers [math]\displaystyle{ 0 }[/math] and [math]\displaystyle{ 1 }[/math] inhabits [math]\displaystyle{ A }[/math]. In particular, the latter can be weakened to [math]\displaystyle{ \neg\neg\exists n. n\in A }[/math], saying [math]\displaystyle{ A }[/math] is proven non-empty.

As example statements for [math]\displaystyle{ P }[/math], consider the infamous provenly theory-independent statement such as the continuum hypothesis, consistency of the sound theory at hand, or, informally, an unknowable claim about the past or future. By design, these are chosen to be unprovable. A variant of this is to consider mathematiacal propositions that are merely not yet established - see also Brouwerian counterexamples. Knowledge of the validity of either [math]\displaystyle{ 0\in A }[/math] or [math]\displaystyle{ 1\in A }[/math] is equivalent to knowledge about [math]\displaystyle{ P }[/math] as above, and cannot be obtained. Given neither [math]\displaystyle{ P }[/math] nor [math]\displaystyle{ \neg P }[/math] can be proven in the theory, it will also not prove [math]\displaystyle{ A }[/math] to be inhabited by some particular number. Further, a constructive framework with the disjunction property then cannot prove [math]\displaystyle{ P\lor\neg P }[/math] either. There is no evidence for [math]\displaystyle{ 0\in A }[/math], nor for [math]\displaystyle{ 1\in A }[/math], and constructive unprovability of their disjunction reflects this. Nonetheless, since ruling out excluded middle is provenly always inconsistent, it is also established that [math]\displaystyle{ A }[/math] is not empty. Classical logic adopts [math]\displaystyle{ P\lor\neg P }[/math] axiomatically, spoiling a constructive reading.

#### Example relating to choice

There are various easily characterized sets the existence of which is not provable in [math]\displaystyle{ {\mathsf {ZF}} }[/math], but which are implied to exist by the full axiom of choice [math]\displaystyle{ {\mathrm{AC}} }[/math]. As such, that axiom is itself independent of [math]\displaystyle{ {\mathsf {ZF}} }[/math]. It in fact contradicts other potential axioms for a set theory. Further, it indeed also contradicts constructive principles, in a set theory context. A theory that does not permit excluded middle does also not validate the function existence principle [math]\displaystyle{ {\mathrm{AC}} }[/math].

In [math]\displaystyle{ {\mathsf {ZF}} }[/math], the [math]\displaystyle{ {\mathrm{AC}} }[/math] is equivalent to the statement that for every vector space there exists basis. So more concretely, consider the question of existence of a Hamel bases of the real numbers over the rational numbers. This object is elusive in the sense that are different [math]\displaystyle{ {\mathsf {ZF}} }[/math] models that either negate and validate its existence. So it is also consistent to just postulate that existence cannot be ruled out here, in the sense that it cannot consistently be negated. Again, that postulate may be expressed as saying that the set of such Hamel bases is non-empty. Over a constructive theory, such a postulate is weaker than the plain existence postulate, but (by design) is still strong enough to then negate all propositions that would imply the non-existence of a Hamel basis.

### Model theory

Because inhabited sets are the same as nonempty sets in classical logic, it is not possible to produce a model in the classical sense that contains a nonempty set [math]\displaystyle{ X }[/math] but does not satisfy "[math]\displaystyle{ X }[/math] is inhabited".

However, it is possible to construct a Kripke model [math]\displaystyle{ M }[/math] that differentiates between the two notions. Since an implication is true in every Kripke model if and only if it is provable in intuitionistic logic, this indeed establishes that one cannot intuitionistically prove that "[math]\displaystyle{ X }[/math] is nonempty" implies "[math]\displaystyle{ X }[/math] is inhabited".

## See also

- Intersection (set theory) – Set of elements common to all of some sets
- Philosophy:Nothing – Complete absence of anything; the opposite of everything
- Type inhabitation in type theory.

## References

- D. Bridges and F. Richman. 1987.
*Varieties of Constructive Mathematics*. Oxford University Press. ISBN 978-0-521-31802-0

Original source: https://en.wikipedia.org/wiki/Inhabited set.
Read more |