nLab decidable subsingleton

Contents

 Idea

In classical mathematics, a subsingleton could either be defined as

However, in constructive mathematics, the two notions of subsingleton are no longer the same, because the axiom of excluded middle no longer holds true. Instead, one usually defines a subsingleton as the first definition, and the second definition is then referred to as about decidable subsingletons.

Every subsingleton SS comes with an injection i:S1i \colon S \to 1 into a singleton 11, and is thus is a (structural) subset of 11. A subsingleton is also decidable in the subset sense: defining the relation x 1Sx \in_1 S as

x 1Sy1.i(x)=yx \in_1 S \coloneqq \exists y \in 1.i(x) = y

for all elements x1x \in 1, x 1Sx \in_1 S or ¬(x 1S)\neg (x \in_1 S).

Similarly for any decidable proposition, the “or” used in the definition of a decidable subsingleton above can be either inclusive disjunction or exclusive disjunction - both definitions are equivalent to each other.

Decidable subsingletons could be generalized from Set to any coherent category: they are precisely the decidable subterminal objects in a coherent category.

Relation to the limited principle of omniscience

Theorem

Given a subsingleton AA, suppose that the limited principle of omniscience for AA holds: for all functions ff from AA to the boolean domain {0,1}\{0, 1\}, either there exists xx in AA such that f(x)=1f(x) = 1, or, for all xx in AA, f(x)=0f(x) = 0. Then AA is a decidable subsingleton.

Theorem

There are two definable functions from every subsingleton AA to the boolean domain {0,1}\{0, 1\}, the constant functions λx:A.0\lambda x:A.0 and λx:A.1\lambda x:A.1. Suppose that either there exists x:Ax:A such that (λx:A.0)(x)(λx:A.1)(x)(\lambda x:A.0)(x) \neq (\lambda x:A.1)(x), or for all x:Ax:A, (λx:A.0)(x)=(λx:A.1)(x)(\lambda x:A.0)(x) = (\lambda x:A.1)(x). Then AA is a decidable subsingleton.

Proof

We prove by case analysis.

Suppose that there exists x:Ax:A such that (λx:A.0)(x)(λx:A.1)(x)(\lambda x:A.0)(x) \neq (\lambda x:A.1)(x). Then AA is a inhabited subsingleton and thus a decidable subsingleton.

Then suppose that for all x:Ax:A, (λx:A.0)(x)=(λx:A.1)(x)(\lambda x:A.0)(x) = (\lambda x:A.1)(x). Then AA is empty and thus a decidable subsingleton, and the function set {0,1} A\{0, 1\}^A is a singleton by the universal property of the empty set, with all functions equal to each other.

This exhausts all options for decidable subsingletons, and exhausts all possible conditions in the hypothesis.

Theorem

Suppose that for sets AA and BB with decidable tight apartness relations, the tight apartness relation on the function set B AB^A, defined by f#gx:A.f(x)g(x)f \# g \coloneqq \exists x:A.f(x) \neq g(x), is decidable. Then excluded middle holds.

Proof

Every subsingleton AA has a decidable tight apartness relation where x#yx \# y is always false. The boolean domain {0,1}\{0, 1\} also has a decidable tight apartness relation where x#yx \# y is given by the denial inequality xyx \neq y. That the tight apartness relation on the function set {0,1} A\{0, 1\}^A is decidable implies Theorem 2.2 above, which implies that every subsingleton AA is a decidable subsingleton, which is precisely the condition of excluded middle.

Last revised on September 7, 2024 at 11:54:41. See the history of this page for a list of all contributions to it.