nLab semi-decidable proposition

Contents

 Definition

A proposition or truth value PP is semi-decidable or semidecidable if and only if there exists a sequence of booleans f2 f \in 2^\mathbb{N} such that PP if and only if there exists a natural number xx \in \mathbb{N} such that f(x)=1f(x) = 1.

isSemiDecidable(P)f2 .Px.f(x)=1\mathrm{isSemiDecidable}(P) \coloneqq \exists f \in 2^\mathbb{N}.P \iff \exists x \in \mathbb{N}.f(x) = 1

The set of all semi-decidable propositions is typically called the Rosolini dominance, though it may not be a dominance without certain assumptions such as countable choice or excluded middle.

If the foundations of mathematics has the Cauchy real numbers C\mathbb{R}_C as well, then PP is semideciable if and only if there exists a Cauchy real number x Cx \in \mathbb{R}_C such that PP if and only if x>0x \gt 0.

isSemiDecidable(P)x C.Px>0\mathrm{isSemiDecidable}(P) \coloneqq \exists x \in \mathbb{R}_C.P \iff x \gt 0

The limited principle of omniscience for the natural numbers LPO \mathrm{LPO}_\mathbb{N} implies that every semi-decidable proposition is a decidable proposition.

In dependent type theory

In dependent type theory, the definition of semi-decidable makes sense for any type, not just the mere propositions. However, like many other definitions in dependent type theory, one has to make sure to use an equivalence of types instead of logical equivalence in the definition of a semi-decidable type; this ensures that, like for decidable types, all semi-decidable types are propositions.

Definition

A type PP is semi-decidable if there exists a sequence of booleans f:boolf:\mathbb{N} \to \mathrm{bool} such that PP is equivalent to that there exists a natural number x:x:\mathbb{N} such that f(x)=1f(x) = 1.

isSemiDecidable(P)[ f:boolP[ x:f(x)= bool1]]\mathrm{isSemiDecidable}(P) \coloneqq \left[\sum_{f:\mathbb{N} \to \mathrm{bool}} P \simeq \left[ \sum_{x:\mathbb{N}}f(x) =_{\mathrm{bool}} 1\right]\right]

where [A][A] is the bracket type of the type AA.

There is also a partially untruncated version of this, which is the type

f:boolP[ x:f(x)= bool1]\sum_{f:\mathbb{N} \to \mathrm{bool}} P \simeq \left[\sum_{x:\mathbb{N}}f(x) =_{\mathrm{bool}} 1\right]

of all boolean sequences ff for which PP is equivalent to there exists a natural number x:x:\mathbb{N} such that f(x)=1f(x) = 1.

 References

Last revised on July 8, 2024 at 00:05:52. See the history of this page for a list of all contributions to it.