1 Introduction
1.1 j-translation in proof theory and topos theory
In intuitionistic proof theory, syntactic translations, including the negative translation (or the double negation translation), have provided many insights and applications for decades. The first application dates back to Gödel’s relative consistency proof for Peano arithmetic (see [Reference Troelstra and van Dalen38, Chapter 2, Section 8] for the history). However, applications of such syntactic translations are not limited to consistency proofs. In fact, typical variants such as Friedman’s A-translation [Reference Friedman, Müller and Scott9] and the $-negative translation [Reference Flagg and Friedman8] (this terminology is due to [Reference Ishihara16]) are useful for proving partial conservation results. Systematic studies on such applications can be found in [Reference Fujiwara and Kurahashi13, Reference Ishihara16, Reference Leivant28]. Currently, it is well known that these important translations can be uniformly described as a j-translation associated with a nucleus j. A detailed summary of the j-translation in proof theory can be found in [Reference Aczel1]. Recently, there have been syntactic studies on an extension to Gödel’s system
$\mathrm {T}$
[Reference Xu40] and the Kuroda-style j-translation [Reference van den Berg3].
Furthermore, nucleus and its associated j-translation naturally appear in topos theory as well. Lawvere and Tierney showed a one-to-one correspondence between an internal nucleus on the subobject classifier of a topos
$\mathcal {E}$
and a subtopos of
$\mathcal {E}$
, while exploring logical aspects of topos theory. In this topos-theoretic context, such an internal nucleus is called a local operator (or Lawvere–Tierney topology). From the perspective of the internal logic of
$\mathcal {E}$
, a local operator j can be regarded as a transformation on formulas in the internal language, and the j-translation describes the internal logic of the associated subtopos
$\mathcal {E}_{j}$
.
1.2 Local operator as generalized oracle
In addition to this correspondence in topos theory, Hyland’s discovery of the effective topos
$\mathcal {E}\textit{ff}$
[Reference Hyland15] linked the j-translation to realizability theory. It is known that the internal logic of
$\mathcal {E}\textit{ff}$
corresponds to the Kleene realizability interpretation, and its local operators can be regarded as generalized oracles. For example, for a partial function
$f :\subseteq \mathbb {N}\to \mathbb {N}$
on natural numbers, there exists a local operator
$j_{f}$
in
$\mathcal {E}\textit{ff}$
. The internal logic of the associated subtopos
$\mathcal {E}\textit{ff}_{j_{f}}$
coincides with Kleene realizability using f as an oracle (realizability relative to f). In other words, the j-translation in
$\mathcal {E}\textit{ff}$
yields a realizability relative to a generalized oracle. This is often called j-realizability [Reference Kihara22, Reference Lee and van Oosten27, Reference van Oosten35]. This relationship between local operator and oracle has been studied extensively in categorical realizability (see [Reference van Oosten34] as a standard textbook).
1.3 A sheaf model of realizability
On the other hand, it has long been known that combining forcing with realizability relative to an oracle is a useful method in intuitionistic proof theory. De Jongh’s unpublished work in 1969 was the first to explicitly consider a sheaf model of realizability. He introduced this method to prove a certain conservation result between Heyting arithmetic and intuitionistic predicate logic, known as de Jongh’s theorem. Later, Goodman introduced a similar realizability notion for Heyting arithmetic in all finite types to prove a conservation result on the axiom of choice, known as Goodman’s theorem [Reference Goodman14]. Throughout this article, we refer to this realizability notion as de Jongh–Goodman realizability. Specifically, they defined this notion by combining realizability relative to a partial function f on natural numbers with weak forcing on the poset
$(T, \subseteq )$
, where T is a set of partial functions on natural numbers and
$\subseteq $
is the extension relation. Since then, their arguments have been applied to separation problems on variants of the Fan theorem [Reference Lubarsky and Rathjen29] and have been investigated syntactically [Reference van den Berg and van Slooten4, Reference Coquand7]. In particular, van Oosten pointed out that de Jongh–Goodman realizability can be understood as a PCA-valued sheaf in [Reference van Oosten32, Reference van Oosten33], and discussed such realizability based on Kripke forcing in [Reference van Oosten34, Section 4.6.2].
1.4 Contributions
In this article, we aim to understand this sheaf model of realizability from the perspective of j-translation. Our main purpose is to propose a new translation that combines j-translation in the internal logic of a topos with Kripke forcing relation, and to investigate its properties from both syntactical and semantical sides. This approach differs from van Oosten’s understanding based on PCA-valued sheaf [Reference van Oosten32–Reference van Oosten34].
First, in Section 4, we define a translation
$j\Vdash _{\mathbb {P}}\varphi $
parametrized by a local operator j and an internal subposet
$\mathbb {P}$
of local operators in the internal logic of an arbitrary elementary topos (Definition 4.4). The local operator j and the internal subposet
$\mathbb {P}$
generalize the roles of a partial function f and a subposet T of partial functions in de Jongh–Goodman realizability, respectively. The first main result is that this translation is sound for intuitionistic first-order logic
$\mathrm {IQC}$
and Heyting arithmetic
$\mathbf {HA}$
(Theorems 4.14 and 4.17).
Next, in Section 5, we identify the interpretation of our translation
$j\Vdash _{\mathbb {P}}\varphi $
in the effective topos. We call this
$\mathbb {P}$
-realizability (Definition 5.9). We show that
$\mathbb {P}$
-realizability is an extension of de Jongh–Goodman realizability under a mild assumption (Theorem 5.20).
Finally, in Section 6, with future proof-theoretic applications in mind, we systematically investigate our translation for semi-classical axioms. As an application, we prove a separation result on semi-classical axioms in Heyting arithmetic using
$\mathbb {P}$
-realizability (Theorem 6.19:
${\Sigma _{n+1}}\text {-}\mathbf {DNE} + \lnot \lnot ({\Pi _{n+1}\lor \Pi _{n+1}}\text {-}\mathbf {DNE})$
does not imply
${\Pi _{n+1}\lor \Pi _{n+1}}\text {-}\mathbf {DNE}$
over
$\mathbf {HA}$
). Note that most of the proof does not require computability-theoretic arguments, and is completed by calculations of the internal logic.
We consider this separation result to be significant in two distinct senses. First, this separation cannot be shown using the usual j-realizability, and thus it reveals an essential difference between
$\mathbb {P}$
-realizability and j-realizability, or between our translation and the usual j-translation (Corollary 6.20). Second, these axioms naturally appear in previous studies on the prenex normal form theorem, and the verification of their separation is of proof-theoretic significance (Remark 6.22).
1.5 Organization
This article is organized as follows. In Section 2, we review the internal logic (higher-order logic) of a topos. In Section 3, we introduce a j-translation, treating j as a variable in the internal logic of a topos. We also supplement the relationship between this j-translation and the translation based on the associated sheaf functor. In Section 4, we define our translation and prove its soundness. In addition, we also discuss the relationship between our translation and the associated sheaf functor, a Kuroda-style translation, and a corresponding internal sheaf topos. In Section 5, we interpret our translation in the effective topos to provide the corresponding realizability semantics. Furthermore, we consider a concrete example and show that it is equivalent to de Jongh–Goodman realizability. Finally, in Section 6, we turn back to the general setting and investigate the translations of the double negation elimination (DNE) and the law of excluded middle (LEM), systematically. Based on this systematic investigation, we prove a separation result on semi-classical arithmetic using
$\mathbb {P}$
-realizability.
2 Preliminaries
2.1 The internal language of a topos
The proofs in Sections 3, 4, and 6 are formalizable within a certain higher-order logic. To make this explicit, we review the internal language
$\mathcal {L}_{\mathcal {E}}$
of an elementary topos
$\mathcal {E}$
in detail. While various conventions exist in the literature, we follow the notation of the type theory based on equality introduced in [Reference Lambek and Scott26, Part II].
Each type in
$\mathcal {L}_{\mathcal {E}}$
corresponds to an object of
$\mathcal {E}$
. In particular,
$1$
,
$\Omega $
, and
$PX$
denote the terminal object, the subobject classifier, and the power object of an object X, respectively. We assume that each type is associated with countably many free variables. A context is a finite list of typed variables, typically written as
$\Gamma = [x_1:X_1, \dots , x_n:X_n]$
. The concatenation of contexts
$\Gamma $
and
$\Gamma '$
is denoted by
$\Gamma \cup \Gamma '$
. Given a context
$\Gamma $
, we define terms in context
$\Gamma $
(written as
$(t:X\quad \Gamma )$
or
$t[\vec {x}]$
) inductively as follows:
-
• $*:1$
; -
• $x:X$
for each variable x in
$\Gamma $
; -
• $\langle t, t'\rangle : X\times Y$
if
$t:X$
and
$t':Y$
; -
• $f(t):Y$
for a morphism
$f\colon X\to Y$
in
$\mathcal {E}$
and a term
$t:X$
; -
• $\{\, x:X \mid \varphi \,\}:PX$
if
$\varphi :\Omega $
is a term in
$\Gamma \cup [x:X]$
.
A term of type
$\Omega $
is called an (
$\mathcal {L}_{\mathcal {E}}$
-)formula, and one with no free variables is called a sentence. The primitive formulas in the type theory based on equality are the following:
where
$\mathrm {true} \colon 1 \to \Omega $
is the subobject classifier,
$=_X \colon X \times X \to \Omega $
is the characteristic map of the diagonal map
$\Delta _X \colon X \rightarrowtail X \times X$
, and
$\in _X \colon X \times PX \to \Omega $
is the evaluation map associated with the power object. Other logical symbols, such as the bottom symbol
$\bot $
, the logical connectives
$\land $
,
$\lor $
,
$\rightarrow $
, and the quantifiers
$\forall $
,
$\exists $
are defined in terms of these primitive formulas. For example, universal quantification is defined by
See [Reference Lambek and Scott26, Part II Section 2] for more details. A term
$t:X$
in a context
$[x_1:X_1, \dots , x_n:X_n]$
is interpreted as a morphism
$t\colon X_1\times \dots \times X_n \to X$
in
$\mathcal {E}$
in the standard way. For any morphism
$\varphi \colon X\to \Omega $
, we denote its corresponding subobject by
$[\![ \varphi ]\!] \rightarrowtail X$
.
We say that a formula
$\varphi $
holds in
$\mathcal {E}$
, denoted by
$\mathcal {E}\models \varphi $
, if its interpretation is the morphism
$\top \colon X_1\times \dots \times X_n \to \Omega $
. This is equivalent to saying that the corresponding subobject
$[\![ \varphi ]\!] $
is top in the subobject lattice. This interpretation is sound for the type theory based on equality and, in particular, for intuitionistic logic.
2.2 Other notation
We collect some notation used throughout this article. We often omit the subscript X of the membership relation
$\in _{X}$
when it is clear from the context. For any object X, terms t,
$s:PX$
, and formula
$\varphi $
, we use the following abbreviations:
-
• $\forall x\in t. \varphi \ {:}{=}\ \forall x:X. (x\in _{} t \rightarrow \varphi )$
. -
• $t\subseteq s \ {:}{=}\ \forall x\in t. x\in _{} s$
. -
• $\forall u\subseteq t. \varphi \ {:}{=}\ \forall u:PX. (u\subseteq t \rightarrow \varphi )$
.
Unless stated otherwise,
$\mathcal {E}$
denotes an arbitrary elementary topos. Given a local operator
$j\colon \Omega \to \Omega $
in
$\mathcal {E}$
, we write
$\mathcal {E}_{j}$
for the associated subtopos and
$L_{j}\colon \mathcal {E}\to \mathcal {E}_{j}$
for the associated sheaf functor.
2.3 Arithmetic
In this article, we also consider translations for first-order intuitionistic arithmetic. We here follow the conventions in [Reference Akama, Berardi, Hayashi and Kohlenbach2, Reference Troelstra and van Dalen38]. Let
$\mathcal {L}_{\mathrm {Arith}}$
denote the language of arithmetic consisting of a constant
$0$
, the successor
$\mathrm {s}$
, and function symbols for all primitive recursive functions. Heyting arithmetic
$\mathbf {HA}$
is a first-order intuitionistic theory consisting of the successor axiom
$\forall x. \lnot (\mathrm {s}(x)=0)$
, defining equations for all primitive recursive functions, and the induction axiom scheme for all
$\mathcal {L}_{\mathrm {Arith}}$
-formulas. If an elementary topos
$\mathcal {E}$
has a natural numbers object
$N = (N, 0\colon 1\to N, \mathrm {s}\colon N\to N)$
, then any
$\mathcal {L}_{\mathrm {Arith}}$
-formula
$\varphi [\vec {x}]$
can be canonically interpreted as an
$\mathcal {L}_{\mathcal {E}}$
-formula whose variables range over N:
We call the
$\mathcal {L}_{\mathcal {E}}$
-formula the standard interpretation of
$\varphi $
in
$\mathcal {E}$
. It is well known that all axioms of
$\mathbf {HA}$
hold in
$\mathcal {E}$
under this interpretation.
3 Internal j-translation
3.1 The j-translation in the internal language
To begin with, we introduce the j-translation in the internal language of a topos. Unlike arguments in locale theory or in proof theory, we emphasize that the internal logic of a topos can formalize quantification ranging over local operators. To this end, we first recall the basics of nucleus and the associated j-translation in locale theory (see, e.g., [Reference Johnstone19]).
Let
$H = (H, \land , \lor , \rightarrow , \leq )$
be a locale. A monotone map
$j\colon H\to H$
is called a nucleus if it satisfies the following conditions: (1)
$a \leq j(a)$
, (2)
$jj(a) \leq j(a)$
, and (3)
$j(a \land b) = j(a) \land j(b)$
. Note that the third condition can be replaced by
$(3)'\ (a \rightarrow b) \leq (j(a)\rightarrow j(b))$
. Each nucleus j on H induces the associated sublocale
$H_{j}\ {:}{=}\ \{\, a \in H \mid j(a) = a\,\}$
of j-closed elements. Now, let us define an
$\mathcal {L}_{H}$
-formula as a propositional formula over H constructed from
$\land $
,
$\lor $
, and
$\rightarrow $
(this terminology is used only in this section). Then, the j-translation
${\varphi }^{j}$
for an
$\mathcal {L}_{H}$
-formula
$\varphi $
is defined as follows:
This translation provides a uniform way to transform
$\mathcal {L}_{H}$
-formulas into
$\mathcal {L}_{H_{j}}$
-formulas.
We can apply a similar argument to the subobject classifier
$\Omega $
of an elementary topos
$\mathcal {E}$
and
$\mathcal {L}_{\mathcal {E}}$
-formulas. In a topos
$\mathcal {E}$
,
$\Omega $
is an internal locale. An endomorphism
$j\colon \Omega \to \Omega $
in
$\mathcal {E}$
is called a local operator if j is an internal nucleus on
$\Omega $
. However, a crucial difference is that the internal language
$\mathcal {L}_{\mathcal {E}}$
can formalize endomorphisms on
$\Omega $
using the power object
$P\Omega $
, which is isomorphic to the exponential
$\Omega ^{\Omega }$
. That is, we can treat local operators as terms of type
$P\Omega $
(note that in a presheaf topos, this data is internally equivalent to a Grothendieck coverage). This treatment enables us to handle not only local operators but also quantification over them in
$\mathcal {E}$
.
Definition 3.1. Let j denote a variable of type
$P\Omega $
, and let
$\varphi :\Omega $
be an
$\mathcal {L}_{\mathcal {E}}$
-formula. We use the following notations:
-
• $j\varphi \ {:}{=}\ (\varphi \in _{} j)$
; -
• a formula $\mathrm {is}\textrm {-}\mathrm {lop}[j]\colon \Omega $
is defined as follows: $$\begin{align*}\begin{aligned} \mathrm{is}\textrm{-}\mathrm{lop}[j] \ {:}{=}\ &\forall p:\Omega. (p \rightarrow jp) \land \forall p:\Omega. (j(jp) \rightarrow jp) \\ \land &\forall p, q:\Omega. ((p\rightarrow q) \rightarrow (jp\rightarrow jq)). \end{aligned}\end{align*}$$
Then a closed term
$\mathrm {Lop}:P(P\Omega )$
is defined by
$\mathrm {Lop} \ {:}{=}\ \{\, j:P\Omega \mid \mathrm {is}\textrm {-}\mathrm {lop}[j]\,\}$
.
Remark 3.2. Let
$j\colon \Omega \to \Omega $
be an endomorphism in
$\mathcal {E}$
, and let
$\widehat {j}\colon 1\to P\Omega $
denote its transpose. One can check that j is a local operator in
$\mathcal {E}$
if and only if
$\mathcal {E}\models (\widehat {j} \in _{} \mathrm {Lop})$
holds. The closed term
$\mathrm {Lop}$
naturally induces a subobject of
$P\Omega $
:
This can be regarded as an object of all local operators in
$\mathcal {E}$
. In our arguments below, the universal quantification
$\forall j\in \mathrm {Lop}.\varphi [j]$
can be read as the universal quantification
$\forall j:\mathrm {Lop}. \varphi [j]$
over this object
$\mathrm {Lop}$
.
Here, we list some basic facts on nucleus (cf. [Reference van den Berg3, Lemma 1]).
Lemma 3.3. Let
$\varphi [\vec {x}]$
be an
$\mathcal {L}_{\mathcal {E}}$
-formula. The following implications hold:
-
(1) $\mathcal {E}\models \forall j\in \mathrm {Lop} \forall p, q:\Omega. ((p\rightarrow jq) \leftrightarrow j(p\rightarrow jq))$
. -
(2) $\mathcal {E}\models \forall j\in \mathrm {Lop}. ((j\forall x:X.\varphi ) \rightarrow (\forall x:X.j\varphi ))$
. -
(3) $\mathcal {E}\models \forall j\in \mathrm {Lop} \forall p, q:\Omega. (j(p\lor q) \leftrightarrow j(jp\lor jq))$
. -
(4) $\mathcal {E}\models \forall j\in \mathrm {Lop}. ((\exists x:X.j\varphi ) \rightarrow (j\exists x:X.\varphi ))$
.
Based on these facts, we also have the following equivalences:
For example, [Reference van den Berg3] studies a j-translation for first-order formulas. For simplicity, we restrict our attention to one-sorted first-order formulas.
Definition 3.4 (
$\mathcal {L}_{X}$
-formula)
Let X be an object in a topos
$\mathcal {E}$
. An
$\mathcal {L}_{X}$
-formula is defined inductively as follows:
where R is a morphism from
$X^{m}$
to
$\Omega $
in
$\mathcal {E}$
, and m is the length of
$\vec {x}$
. Here,
$\bot $
is also considered an
$\mathcal {L}_{X}$
-formula, and
$\lnot \varphi $
stands for
$\varphi \rightarrow \bot $
.
In other words, an
$\mathcal {L}_{X}$
-formula is an
$\mathcal {L}_{\mathcal {E}}$
-formula whose atomic formulas are given by morphisms
$R\colon X^{m}\to \Omega $
in
$\mathcal {E}$
and whose variables range over X. For instance, if
$\mathcal {E}$
has a natural numbers object N, the standard interpretation (see Section 2.3) of each
$\mathcal {L}_{\mathrm {Arith}}$
-formula is an
$\mathcal {L}_N$
-formula.
Then, the j-translation for
$\mathcal {L}_{X}$
-formulas is defined internally as follows. Note that j in the following definition is a variable of type
$P\Omega $
intended to represent an internal local operator.
Definition 3.5. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
, we inductively define
${\varphi }^{*}$
as follows:
We call
${\varphi }^{*}$
the (internal) j-translation of
$\varphi $
:
In addition, given a local operator
$j\colon \Omega \to \Omega $
in
$\mathcal {E}$
, we write
${\varphi }^{j}$
for
${\varphi }^{*}[\widehat {j}, \vec {x}]$
, which is obtained by substituting the transpose
$\widehat {j}\colon 1\to P\Omega $
into
${\varphi }^{*}$
.
3.2 Relationship to the associated subtopos
It is well known that for any topos
$\mathcal {E}$
, each local operator j induces the associated subtopos
$\mathcal {E}_{j}$
of j-sheaves. This is analogous to the associated sublocale in locale theory. Recall that for a locale H, the j-translation transforms an
$\mathcal {L}_{H}$
-formula into an
$\mathcal {L}_{H_{j}}$
-formula. However, this does not hold for the j-translation of
$\mathcal {L}_{X}$
-formulas. Since an object X is not necessarily a j-sheaf, the j-translation
${\varphi }^{j}$
of an
$\mathcal {L}_{X}$
-formula
$\varphi $
is not an
$\mathcal {L}_{\mathcal {E}_{j}}$
-formula in general. Therefore, [Reference Hyland15] defined j-translations that modify not only logical connectives but also the types of variables. For comparison with our j-translation, let us briefly look at the translation based on the associated sheaf functor
$L_{j}\colon \mathcal {E} \to \mathcal {E}_{j}$
, introduced as
$[\![ \varphi ]\!] _{j}$
in [Reference Hyland15, Section 5].
Definition 3.6. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
and any local operator j in
$\mathcal {E}$
, we inductively define
${\varphi }^{L_{j}}$
as follows:
where
$\chi _{L_{j} {[\![ R ]\!] }}\colon L_{j} {X^{m}}\to \Omega $
denotes the characteristic map of
$L_{j} {[\![ R ]\!] }\rightarrowtail L_{j} {X^{m}}$
. We call
${\varphi }^{L_{j}}$
the
$L_{j}$
-translation of
$\varphi $
:
The
$L_{j}$
-translation provides a uniform way to transform
$\mathcal {L}_{X}$
-formulas in
$\mathcal {E}$
into
$\mathcal {L}_{L_{j} {X}}$
-formulas in
$\mathcal {E}_{j}$
. For instance, the
$L_{j}$
-translation for specific atomic formulas or
$\mathcal {L}_{\mathrm {Arith}}$
-formulas is coherent with the structure of the associated subtopos, as shown below.
Example 3.7. Let us consider an atomic
$\mathcal {L}_{X}$
-formula
$(f(\vec {x}) =_{X} g(\vec {x}))$
, where
$f, g\colon X^{m}\rightarrow X$
are morphisms in
$\mathcal {E}$
. Since the associated sheaf functor
$L_{j}$
preserves equalizers, its
$L_{j}$
-translation coincides with the equality between the morphisms
$L_{j} {f}, L_{j} {g}\colon L_{j} {X^{m}}\rightarrow L_{j} {X}$
:
Example 3.8. Let us consider an
$\mathcal {L}_{\mathrm {Arith}}$
-sentence
$\varphi $
and its standard interpretation on a natural numbers object in
$\mathcal {E}$
. Since the associated sheaf functor
$L_{j}$
preserves the natural numbers object, the
$L_{j}$
-translation
${\varphi }^{L_{j}}$
corresponds to the standard interpretation of
$\varphi $
in
$\mathcal {E}_{j}$
. That is, the following equivalence follows from the definitions:
On the other hand, it can be shown that the
$L_{j}$
-translation
${\varphi }^{L_{j}}$
and the j-translation
${\varphi }^{j}$
are equivalent in
$\mathcal {E}$
. While this is probably a folklore among topos theorists, we have not found literature where the proof is explicitly written. Therefore, we clarify this fact here. The verification relies on the following lemmas.
Lemma 3.9. Let j be a local operator in
$\mathcal {E}$
, and let
$\eta $
be the unit of the geometric inclusion
$(L_{j} \dashv {i}) \colon \mathcal {E}_{j} \hookrightarrow \mathcal {E}$
. For an object X, let
$\eta _{X}^{-1}$
denote the pullback functor along
$\eta _{X}\colon X\to L_{j} {X}$
. Then the following hold:
-
(1) For any subobject $A\rightarrowtail X$
,
$\eta _{X}^{-1} (L_{j} {A})$
coincides with the j-closure
$jA$
of A. -
(2) There is a lattice isomorphism between the subobjects $\mathrm {Sub}_{\mathcal {E}_{j}}(L_{j} {X})$
of
$L_{j} {X}$
in
$\mathcal {E}_{j}$
and the j-closed subobjects
$\mathrm {Cl}_{j}\mathrm {Sub}_{\mathcal {E}}(X)$
of X in
$\mathcal {E}$
: $$\begin{align*}\eta_{X}^{-1} \colon \mathrm{Sub}_{\mathcal{E}_{j}}(L_{j} {X}) \overset{{\cong}}{\longleftrightarrow} \mathrm{Cl}_{j}\mathrm{Sub}_{\mathcal{E}}(X) \colon L_{j}.\end{align*}$$
The former statement is a basic fact found in various literature. The latter isomorphism is proved in [Reference Caramello6, Proposition 2.3]. In particular, for an atomic
$\mathcal {L}_{X}$
-formula R, Lemma 3.9(1) immediately gives the following equality in
$\mathrm {Cl}_{j}\mathrm {Sub}_{\mathcal {E}}(X)$
:
Furthermore, by combining Lemma 3.9(2) with basic calculations for the associated sheaf functor (e.g., [Reference Hyland15, Theorem 5.1(f)] for universal quantification), we can prove the equality above holds for any
$\mathcal {L}_{X}$
-formula
$\varphi $
. This implies the following equivalence in the internal logic.
Proposition 3.10. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
and any local operator
$j\colon \Omega \to \Omega $
in
$\mathcal {E}$
, the following equivalence holds:
where
$\eta _{X}\colon X \to L_{j} {X}$
is the component of the unit.
In fact, as we will see later in Section 4.2, this equivalence can also be proven directly using the internal logic (see the discussion following Proposition 4.10).
4 A translation with an internal subposet of local operators
4.1 Lop-frame
There is a standard partial order on local operators. It is well known that this order admits numerous characterizations, such as the reverse inclusion between the associated subtoposes. What is important here is that the order can also be defined in the internal language. We first introduce a formula expressing the standard order on local operators.
Definition 4.1. The formula
$j\leq k$
with variables j,
$k:P\Omega $
is defined by
The formula
$j\leq k$
defines an internal poset
$(P\Omega , \leq )$
in
$\mathcal {E}$
, as well as an internal poset
$(\mathrm {Lop}, \leq )$
of internal local operators. Thus, each subobject
$\mathbb {P}$
of
$\mathrm {Lop}$
induces an internal subposet of local operators:
Definition 4.2. Let
$\mathbb {P}$
denote a variable of type
$P(P\Omega )$
. We say that
$\mathbb {P}$
is a lop-frame
Footnote
1
if the formula
$\mathbb {P}\subseteq \mathrm {Lop}$
holds in
$\mathcal {E}$
. For any formula
$\varphi [k]$
with a free variable
$k:P\Omega $
, we use the following abbreviation:
Remark 4.3. Similarly to Remark 3.2, the formula
$\mathbb {P}\subseteq \mathrm {Lop}$
defines a closed term
$\mathrm {LopFrm} \ {:}{=}\ \{\, \mathbb {P}: P(P\Omega ) \mid \mathbb {P}\subseteq \mathrm {Lop} \,\}$
and induces an object
$\mathrm {LopFrm}$
of all lop-frames in
$\mathcal {E}$
. This object
$\mathrm {LopFrm}$
is isomorphic to the power object of
$\mathrm {Lop}$
:
Therefore, the universal quantification
$\forall \mathbb {P}\subseteq \mathrm {Lop}. \varphi [\mathbb {P}]$
can be read as the universal quantification
$\forall \mathbb {P}:\mathrm {LopFrm}. \varphi [\mathbb {P}]$
over this object
$\mathrm {LopFrm}$
. In Section 5, we will provide an explicit description of the objects
$\mathrm {Lop}$
and
$\mathrm {LopFrm}$
in the effective topos
$\mathcal {E}\textit{ff}$
.
Each lop-frame gives rise to a translation that combines the j-translation with Kripke forcing.
Definition 4.4. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
, we inductively define
$j\Vdash _{\mathbb {P}} \varphi [\vec {x}]$
as follows:
First, we observe that this translation generalizes the j-translation. In fact, it is straightforward to verify that if j is a maximal element in a lop-frame
$\mathbb {P}$
internally, the translation
$j\Vdash _{\mathbb {P}}\varphi $
coincides with the j-translation
${\varphi }^{*}[j]$
.
Proposition 4.5. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
,
We also verify that j-closedness, a fundamental property of j-translations, holds for our translation as well.
Lemma 4.6 (j-closedness)
For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
,
Proof. One can show this by induction on the complexity of
$\varphi $
. In particular, for the steps of implication
$\rightarrow $
and universal quantification
$\forall $
, apply Lemma 3.3(1) and (2).
4.2 Internal Kripke frame
In Section 3.2, we observed that the relationship between the
$L_{j}$
-translation
${\varphi }^{L_{j}}$
and the j-translation
${\varphi }^{j}$
. In fact, we can define a variant
$j\Vdash _{\mathbb {P}}^{\mathrm {L}}\varphi $
of our translation
$j\Vdash _{\mathbb {P}}\varphi $
that corresponds to the
$L_{j}$
-translation. This variant gives us a semantic intuition that our translation describes an internal Kripke frame in
$\mathcal {E}$
. Although its practical benefit may not be apparent due to the equivalence of the translations, we discuss this variant in detail to prepare for future extensions.
To define this, let us recall the internal construction of the associated sheaf functor
$L_{j}\colon \mathcal {E} \to \mathcal {E}_{j}$
found in numerous literature [Reference Johnstone18, Reference MacLane and Moerdijk30, Reference Veit39]. This is referred to as Lawvere’s construction in [Reference Johnstone18, Exercise 3.4]. See the introduction of [Reference Johnstone17] for the history of this construction. The key idea is to define the j-sheafification
$L_{j} {X}$
of an object X as a subobject of the power object
$PX$
.
Definition 4.7. We define the following
$\mathcal {L}_{\mathcal {E}}$
-terms:
Then, for a local operator
$j\colon \Omega \to \Omega $
in
$\mathcal {E}$
, the j-sheafification
$L_{j} {X}$
is given by the subobject
$L_{*}{X} [\widehat {j}] = [\![ \Lambda _{X} [\widehat {j}, \cdot ] ]\!] \rightarrowtail PX$
. Moreover, the component
$\eta _{X}\colon X \to L_{j} {X}$
of the unit of the geometric inclusion
$\mathcal {E}_{j} \hookrightarrow \mathcal {E}$
is the unique morphism such that the following diagram commutes (see, e.g., [Reference Veit39]):
![Commutative diagram. Top row: X maps by eta sub X to L sub j X, which maps by ! to 1. Bottom row: P X maps by eta sub X [j-hat, dot] to P X, which maps by Lambda sub X [j-hat, dot] to Omega. Vertical arrows connect corresponding terms.](https://static.cambridge.org/binary/version/id/urn:cambridge.org:id:binary:20260810120641616-0778:S0022481226102370:S0022481226102370_eqnu29.png?pub-status=live)
Furthermore, from standard calculations of internal logic, the following lemmas on the term
$\eta $
are verified.
Lemma 4.8. The following hold:
-
(1) $\mathcal {E}\models \forall j, k\in \mathrm {Lop}. (j\leq k \rightarrow \forall u\in L_{*}{X} [j]. \eta _{X} [k, u] \in _{PX} L_{*}{X} [k]).$
-
(2) $\mathcal {E}\models \forall j, k\in \mathrm {Lop}. (j\leq k \rightarrow \forall u:PX. \eta _{X} [k, \eta _{X} [j, u]] =_{PX} \eta _{X} [k, u]).$
In particular, Lemma 4.8(1) implies that for any local operators j,
$k\colon \Omega \to \Omega $
with
$j\leq k$
, the unit
$\eta _{X}^{j, k}\colon L_{j}X \to L_{k}X$
of the geometric inclusion
$\mathcal {E}_{k} \hookrightarrow \mathcal {E}_{j}$
is induced by the term
$\eta _{X} [\widehat {k}, \cdot ] \colon PX \to PX$
as follows:
![Commutative diagram. Top row L sub j X maps via eta sub X super j,k to L sub k X. Both map down via hooked arrows to P X. Bottom row P X maps to P X via eta sub X [k hat, dot].](https://static.cambridge.org/binary/version/id/urn:cambridge.org:id:binary:20260810120641616-0778:S0022481226102370:S0022481226102370_eqnu30.png?pub-status=live)
This allows us to describe all information on the j-sheafification
$L_{j} {X}$
and the unit
$\eta _{X}^{j, k}\colon L_{j}X \to L_{k}X$
by embedding them into
$PX$
.
Based on this description, it is natural to define a formula
$j\Vdash _{\mathbb {P}}^{\mathrm {L}} \varphi $
that intuitively represents a Kripke frame semantics: the order structure is a lop-frame
$\mathbb {P}$
, each possible world is
$L_{j} {X}$
for
$j\in \mathbb {P}$
, each restriction map is
$\eta _{X}^{j, k}\colon L_{j}X \to L_{k}X$
, and the logical connectives and the quantifiers are interpreted in
$\mathcal {E}_{j}$
:
Definition 4.9. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
, we inductively define
$j\Vdash _{\mathbb {P}}^{\mathrm {L}} \varphi [\vec {u}]$
as follows:
where
$[\eta _{X} [k, \vec {u}]]$
denotes
$[\eta _{X} [k, u_1], \dots , \eta _{X} [k, u_{m}] ]$
:
As expected, this translation is equivalent to our original translation
$j\Vdash _{\mathbb {P}}\varphi $
.
Proposition 4.10. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
, the following equivalence holds:
Proof. By induction on the complexity of
$\varphi $
. The atomic case follows from Lemma 3.3. The induction steps for
$\land $
and
$\lor $
are trivial. Let us show the step for existential quantification
$\exists y:X. \varphi [x, y]$
. Using Lemma 3.3(4), we have the following equivalence:
By the induction hypothesis, the last formula is equivalent to
$j\Vdash _{\mathbb {P}} (\exists y:X. \varphi [x, y])$
.
Next, consider the step for universal quantification
$\forall y:X. \varphi [x, y]$
. Note that
$j\Vdash _{\mathbb {P}}^{\mathrm {L}}\varphi $
is j-closed similarly to Lemma 4.6. Then, by Lemma 4.8(2) and the induction hypothesis, we obtain the following equivalence:
The step for implication
$\rightarrow $
can be shown similarly.
Using this proposition, we can give an alternative proof of Proposition 3.10 based on the internal logic.
Proof of Proposition 3.10
Let
$j\colon \Omega \to \Omega $
be a local operator, and consider the singleton lop-frame
$\mathbb {P} \ {:}{=}\ \{\, \widehat {j} \,\}_{P\Omega }$
. Similarly to Proposition 4.5, we can verify the following equivalence by induction on the complexity of
$\varphi $
:
where
$m\colon L_{j} {X} \rightarrowtail PX$
(for the atomic case, note Lemma 3.9(1)). Letting
${r}_{i} \ {:}{=}\ \eta _{X}({x}_{i})$
, we have
$m(\eta _{X}(x_{i})) = \eta _{X} [\widehat {j}, \{\, x_{i}\,\}_{X}]$
. Then, by Proposition 4.10, we obtain
By Proposition 4.5, the last formula is equivalent to
${\varphi }^{j}[\vec {x}]$
.
4.3 Soundness
We now establish the soundness theorem of our translation for
$\mathrm {IQC}$
. First, we observe that our translation satisfies monotonicity, a fundamental property of Kripke models for intuitionistic logic. It is worth noting that the following results do not require the assumption
$j\in \mathbb {P}$
, except for Corollaries 4.12 and 4.13.
Lemma 4.11 (Monotonicity)
For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
,
Proof. This claim is easily verified by induction on the complexity of
$\varphi $
.
Furthermore, if
$j\in \mathbb {P}$
, monotonicity can be expressed by the following equivalence.
Corollary 4.12. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
,
This corollary implies that our translation behaves analogously to Kripke frame with constant domain.
Corollary 4.13. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
, the following equivalence holds:
Consequently, assuming
$j\in \mathbb {P}$
, the clause for universal quantification in Definition 4.4 admits a simpler formulation given above. With these preparations, we prove the soundness of our translation for the intuitionistic predicate calculus
$\mathrm {IQC}$
. Here, we adopt a Hilbert-style axiomatization, often referred to as Gödel’s system [Reference Kohlenbach24, Chapter 3].
Theorem 4.14 (Soundness for
$\mathrm {IQC}$
)
Let
$\varphi $
,
$\varphi _1$
,
$\varphi _2$
, and
$\psi $
be
$\mathcal {L}_{X}$
-formulas.
-
(1) If $\varphi [\vec {x}]$
is an axiom of
$\mathrm {IQC}$
, then $$\begin{align*}\mathcal{E}\models \forall\mathbb{P}\subseteq\mathrm{Lop} \forall j\in\mathrm{Lop} \forall \vec{x}:X. j\Vdash_{\mathbb{P}} \varphi[\vec{x}].\end{align*}$$
-
(2) If
is an inference rule for logical connectives of
$\mathrm {IQC}$
, then $$\begin{align*}\begin{aligned} \mathcal{E}\models &\forall\mathbb{P}\subseteq\mathrm{Lop} \forall j\in\mathrm{Lop} \\ &\forall \vec{x}:X. ((j\Vdash_{\mathbb{P}} \varphi_1[\vec{x}] \land j\Vdash_{\mathbb{P}} \varphi_2[\vec{x}]) \rightarrow j\Vdash_{\mathbb{P}} \psi[\vec{x}]). \end{aligned}\end{align*}$$
-
(3) If
is an inference rule for quantifiers of
$\mathrm {IQC}$
, then $$\begin{align*}\begin{aligned} \mathcal{E}\models &\forall\mathbb{P}\subseteq\mathrm{Lop} \forall j\in\mathrm{Lop} \\ &\forall \vec{x}:X. ((\forall y:X. j\Vdash_{\mathbb{P}} \varphi[\vec{x}, y]) \rightarrow j\Vdash_{\mathbb{P}} \psi[\vec{x}]). \end{aligned}\end{align*}$$
Proof. (1) We first verify the axioms.
The translation
$j\Vdash _{\mathbb {P}} (\varphi \rightarrow \varphi \lor \psi )$
is expressed as
Since
$\forall p, q:\Omega. (p \rightarrow k(p\lor q))$
holds for any
$k\in \mathrm {Lop}$
, the above formula is valid in
$\mathcal {E}$
. Similarly, one can easily verify the cases for
$\varphi \land \psi \rightarrow \varphi $
, the axioms for contraction
$\varphi \lor \varphi \rightarrow \varphi $
and
$\varphi \rightarrow \varphi \land \varphi $
, and the axioms for exchange
$\varphi \lor \psi \rightarrow \psi \lor \varphi $
and
$\varphi \land \psi \rightarrow \psi \land \varphi $
.
By
$(k\Vdash _{\mathbb {P}} \bot ) \leftrightarrow k\bot $
and Lemma 4.6, we have the following equivalence:
The last formula follows from ex falso quodlibet in the internal logic of
$\mathcal {E}$
.
Note that the translation
$j\Vdash _{\mathbb {P}}\varphi [{x}]$
commutes with substitution, that is,
$j\Vdash _{\mathbb {P}}(\varphi [t])$
coincides with
$j\Vdash _{\mathbb {P}}(\varphi [x]) [t/x]$
. By Corollary 4.13, we obtain the following equivalence:
The last formula is clearly valid in
$\mathcal {E}$
. The axiom
$(\varphi [t[\vec {y}]] \rightarrow \exists x:X. \varphi [x])$
is verified similarly.
(2) Next, we verify the inference rules for logical connectives.
By definition,
$j\Vdash _{\mathbb {P}} \varphi \land \psi \rightarrow \chi $
is expressed as
From Lemma 4.11,
$k\Vdash _{\mathbb {P}}\varphi $
is equivalent to
$\forall \ell \geq _{\mathbb {P}} {k}. (\ell \Vdash _{\mathbb {P}}\varphi )$
. Hence, the above formula is equivalent to
This formula is intuitionistically equivalent to
which coincides with
$j\Vdash _{\mathbb {P}} \varphi \rightarrow (\psi \rightarrow \chi )$
. Similarly, the rules for modus ponens and cut are verified:
Noting that
$\forall p,q:\Omega. (p\rightarrow q) \rightarrow (kp\rightarrow kq)$
holds for any
$k\in \mathrm {Lop}$
, we can verify the following implication:
The last formula is precisely the definition of
$j\Vdash _{\mathbb {P}} (\varphi \lor \chi \rightarrow \psi \lor \chi )$
.
(3) Finally, we verify the inference rules for quantifiers. For simplicity, assume that
$\psi $
is an
$\mathcal {L}_{X}$
-sentence and
$\varphi [y]$
is an
$\mathcal {L}_{X}$
-formula where y is the only free variable. Note that the implications in (3) are, in fact, equivalences.
By Corollary 4.13, we obtain the following equivalence:
The last formula is nothing but
$j\Vdash _{\mathbb {P}} (\psi \rightarrow \forall y:X. \varphi )$
.
By applying Lemma 4.6, we have the following equivalence:
The last formula coincides with the definition of
$j\Vdash _{\mathbb {P}}(\exists y:X. \varphi [y] \rightarrow \psi )$
. This completes the proof.
4.4 Heyting arithmetic
We show that our translation is sound for Heyting arithmetic
$\mathbf {HA}$
under the standard interpretation on a natural numbers object N. The axioms to be verified consist not only of the induction axiom scheme but also of the universal closures of literals, such as the successor axiom and defining equations for primitive recursive functions. To this end, we first consider a subclass of formulas which includes the latter.
Definition 4.15. Let
$\mathcal {R}$
denote the subclass of
$\mathcal {L}_{X}$
-formulas generated by the following rules:
Then the following property holds for any formula in
$\mathcal {R}$
.
Proposition 4.16. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
in
$\mathcal {R}$
,
Proof. For the backward direction, consider the identity local operator
$\mathrm {id}\colon \Omega \to \Omega $
and the singleton lop-frame
$\mathbb {P}\ {:}{=}\ \{\, \widehat {\mathrm {id}} \,\}_{P\Omega }$
. The claim then follows from Proposition 4.5.
The forward direction is proved by induction on the complexity of
$\varphi $
. Here, we verify only the case of
$\lnot R[x]$
. By definition, the translation
$j\Vdash _{\mathbb {P}} (\lnot R[x])$
is expressed as
$\forall k\geq _{\mathbb {P}} {j}. (kR[x] \rightarrow k\bot )$
. This formula is equivalent to
$\forall k\geq _{\mathbb {P}} {j}. (R[x] \rightarrow k\bot )$
, which follows from
$\lnot R[x]$
.
Thus, it suffices to show that the induction axiom is forced. A key fact for this proof is that induction over the natural numbers object holds for arbitrary formula with parameters (the proof is essentially contained in [Reference Lambek and Scott26, Theorem 4.1]).
Theorem 4.17 (Soundness for
$\mathbf {HA}$
)
Let
$\mathcal {E}$
be an elementary topos with a natural numbers object
$(N, 0, \mathrm {s})$
. Let
$\varphi $
be an
$\mathcal {L}_{\mathrm {Arith}}$
-formula. If
$\varphi $
is an axiom of
$\mathbf {HA}$
, then the following holds under the standard interpretation on N:
Proof. If
$\varphi $
is the successor axiom
$\forall x:N. \lnot (\mathrm {s}(x)=_{N}0)$
or a defining equation
$\forall \vec {x}:N. (f(\vec {x}) =_{N} g(\vec {x}))$
for a primitive recursive function, the claim follows from Proposition 4.16 and the fact that
$\varphi $
holds in
$\mathcal {E}$
. It remains to show that the induction axiom scheme:
Let
$k\in \mathrm {Lop}$
satisfy
$j\leq k$
and
$k\in \mathbb {P}$
. Since
$k\in \mathbb {P}$
, Corollary 4.12 implies that
$k\Vdash _{\mathbb {P}}(\psi [0])$
is equivalent to
$\forall \ell \geq _{\mathbb {P}} {k}. \ell \Vdash _{\mathbb {P}}\psi [0]$
. Similarly,
$k\Vdash _{\mathbb {P}} (\forall x:N. (\psi [x]\rightarrow \psi [\mathrm {s}(x)]))$
is equivalent to
Since N is a natural numbers object, the induction holds for the formula
$\ell \Vdash _{\mathbb {P}}\psi [x]$
. Therefore, we obtain
$\forall \ell \geq _{\mathbb {P}} {k} \forall x:X. (\ell \Vdash _{\mathbb {P}}\psi [x])$
from
$k\Vdash _{\mathbb {P}}(\psi [0])$
and
$k\Vdash _{\mathbb {P}} (\forall x:N. (\psi [x]\rightarrow \psi [\mathrm {s}(x)]))$
. This means the following implication:
which is precisely the definition of
$j\Vdash _{\mathbb {P}} (\mathrm {Ind}_{\psi })$
.
4.5 Kuroda-style translation
We conclude this section by pointing out that our translation admits an alternative definition based on the Kuroda-style j-translation. In intuitionistic proof theory, there are several variations of double negation translation, such as the Gödel–Gentzen-style, the Kuroda-style, and the Kolmogorov-style (see, e.g., [Reference Troelstra and van Dalen38, Chapter 2, Section 3]). A similar situation holds for the j-translation. In particular, [Reference van den Berg3] provides a syntactic study of the Kuroda-style j-translation.
While Definition 4.4 is based on the Gödel–Gentzen-style, one can define a variant
$j\Vdash _{\mathbb {P}}^{\mathrm {K}}\varphi $
corresponding to the Kuroda-style j-translation:
The Kuroda-style translation is then given by
$j(j\Vdash _{\mathbb {P}}^{\mathrm {K}}\varphi )$
. As is the case for the usual j-translation, this is indeed equivalent to the original translation.
Proposition 4.18. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
,
4.6 A corresponding internal sheaf topos
Benno van den Berg pointed out the existence of a topos corresponding to our translation (private communication). Here, we sketch a candidate for the construction based on discussion with him.
We work in an elementary topos
$\mathcal {E}$
. Let
$\mathbb {P}\subseteq \mathrm {Lop}$
be a lop-frame, and assume that
$j\in \mathbb {P}$
. Then the opposite poset
$\mathbb {P}^{\mathrm {op}}$
can be regarded as an internal category in
$\mathcal {E}$
, and we can define the internal presheaf topos
$\mathbf {PSh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}})$
for
$\mathbb {P}^{\mathrm {op}}$
in
$\mathcal {E}$
. We consider the following:
Here,
$\Omega _{\mathbb {P}}(j)$
represents the family of all sieves on j in
$\mathbb {P}^{\mathrm {op}}$
, and defines the subobject classifier of
$\mathbf {PSh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}})$
. Note that
${\mathbb {P}}\vert _{j}$
is the maximal sieve on j. In this setting, we can verify that
$(\mathbb {P}^{\mathrm {op}}, J_{\mathbb {P}})$
forms an internal site in
$\mathcal {E}$
. This defines the internal sheaf topos
$\mathbf {Sh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}}, J_{\mathbb {P}})$
in
$\mathcal {E}$
(for details on internal sites and internal sheaf toposes, see [Reference Johnstone20, Section C2.4]).
It can be observed that the internal logic of this topos
$\mathbf {Sh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}}, J_{\mathbb {P}})$
corresponds to our translation. First, for
$U \in _{} \Omega _{\mathbb {P}}(j)$
, we define
$C_{\mathbb {P}}(j) (U)$
as follows:
This defines a local operator
$C_{\mathbb {P}}\colon \Omega _{\mathbb {P}} \to \Omega _{\mathbb {P}}$
corresponding to the Grothendieck coverage
$J_{\mathbb {P}}$
. (Indeed, for any
$U\in _{} \Omega _{\mathbb {P}}(j)$
,
$U \in _{}J_{\mathbb {P}}(j)$
if and only if
$C_{\mathbb {P}}(j) (U) = {\mathbb {P}}\vert _{j}$
.) Now, let us look at the structure of the lattice of subterminals in
$\mathbf {Sh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}}, J_{\mathbb {P}})$
. Each subterminal
$U \rightarrowtail 1$
in
$\mathbf {Sh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}}, J_{\mathbb {P}})$
is determined by an upper set U of
$\mathbb {P}$
such that
$C_{\mathbb {P}}(j)({U}\vert _{j}) = {U}\vert _{j}$
holds for any
$j\in \mathbb {P}$
, where
${U}\vert _{j}$
is defined similarly to
${\mathbb {P}}\vert _{j}$
. Therefore, for subterminals U,
$V\rightarrowtail 1$
, the join
$\lor _{J_{\mathbb {P}}}$
and the Heyting implication
$\Rightarrow _{J_{\mathbb {P}}}$
in
$\mathbf {Sh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}}, J_{\mathbb {P}})$
are calculated using those
$\lor $
and
$\Rightarrow $
in
$\mathbf {PSh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}})$
: for any
$j\in \mathbb {P}$
,
These coincide with the clauses for disjunction and implication in Definition 4.2, respectively.
In Section 3.2, we saw that the usual j-translation
${\varphi }^{j}$
is exactly related to the internal logic of the subtopos
$\mathcal {E}_{j}$
via the
$L_{j}$
-translation (Proposition 3.10). Similarly, we expect that any
$\mathcal {L}_{X}$
-sentence
$\varphi $
induces a subterminal
$[\![ \varphi ]\!] _{J_{\mathbb {P}}} \rightarrowtail 1$
in
$\mathbf {Sh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}}, J_{\mathbb {P}})$
, and that
$j\Vdash _{\mathbb {P}}\varphi $
in
$\mathcal {E}$
describes
${[\![ \varphi ]\!] _{J_{\mathbb {P}}}}\vert _{j}$
in
$\mathbf {Sh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}}, J_{\mathbb {P}})$
. Through this correspondence, categorical observations on
$\mathbf {Sh}_{\mathcal {E}} (\mathbb {P}^{\mathrm {op}}, J_{\mathbb {P}})$
could also yield the results established in this section, such as the soundness for Heyting arithmetic. However, we leave further investigation of this topos for future work. We will briefly discuss future problems concerning our translation and its relation to this topos in Section 7.
5 The corresponding realizability semantics
In this section, we interpret the formula
$j\Vdash _{\mathbb {P}}\varphi $
in the effective topos
$\mathcal {E}\textit{ff}$
. Recall that a formula
$\varphi [x]$
in the internal language of a topos induces a subobject
$[\![ \varphi ]\!] \rightarrowtail X$
. In
$\mathcal {E}\textit{ff}$
, such a subobject can be described as a
$\mathcal {P}(\mathbb {N})$
-valued function
$[\![ \varphi ]\!] \colon |X| \to \mathcal {P}(\mathbb {N})$
on a set
$|X|$
. Our first goal is to provide an explicit and concise description of the
$\mathcal {P}(\mathbb {N})$
-valued function
$[\![ j\Vdash _{\mathbb {P}}\varphi ]\!] $
for an
$\mathcal {L}_{\mathrm {Arith}}$
-formula
$\varphi $
.
To this end, in Section 5.1, we review the basics of the effective topos. Especially, we explain the structure of power objects in details to clarify the object
$\mathrm {LopFrm}$
of all lop-frames. In Section 5.2, we provide a concrete description of
$[\![ j\Vdash _{\mathbb {P}}\varphi ]\!] $
, which we call
$\mathbb {P}$
-realizability. We then elucidate the properties of
$\mathbb {P}$
-realizability when the lop-frame
$\mathbb {P}$
is standard. Finally, in Section 5.3, based on a uniform construction for local operators, we show that de Jongh–Goodman realizability is subsumed by our
$\mathbb {P}$
-realizability.
It should be noted that most of the arguments below can be easily extended to the relative realizability topos over a relative partial combinatory algebra.
5.1 Preliminaries on
$\mathcal {E}\textit{ff}$
We begin by introducing the notation for the effective tripos
$X \mapsto (\mathcal {P}(\mathbb {N})^X, \sqsubseteq )$
. We refer readers interested in the basics of the effective topos to the standard text [Reference van Oosten34].
Definition 5.1. We fix a primitive recursive pairing function
$\langle -, -\rangle \colon \mathbb {N}^{2}\to \mathbb {N}$
. For natural numbers e and n, we write
$e\cdot n$
for the result of applying the e-th partial computable function to n, and write
$e\cdot n \downarrow $
if the computation terminates. A
$\mathcal {P}(\mathbb {N})$
-valued function
$\Phi \colon X\to \mathcal {P}(\mathbb {N})$
on a set X is called a predicate (on X). Given a set X, we define the following logical operations on the set of predicates on X: for any
$\Phi (x)$
,
$\Psi (x)\colon X\to \mathcal {P}(\mathbb {N})$
,
We write
$\top (x)\ {:}{=}\ \mathbb {N}$
,
$\bot (x)\ {:}{=}\ \emptyset $
,
$\lnot \Phi \ {:}{=}\ \Phi \rightarrow \bot $
, and
$(\Phi \leftrightarrow \Psi ) \ {:}{=}\ (\Phi \rightarrow \Psi ) \land (\Psi \rightarrow \Phi )$
. The same operations are introduced on
$\mathcal {P}(\mathbb {N})$
.
A realizer of
$\Phi (x)$
is a natural number contained in
$\Phi (x)$
. We say that
$\Phi (x)$
is realizable if
$\Phi (x)\neq \emptyset $
. We define the preorder predicate
$(\Phi \sqsubseteq \Psi ) \ {:}{=}\ \bigcap _{x\in X} (\Phi \rightarrow \Psi ) (x)$
, and the equivalence predicate
$(\Phi \equiv \Psi ) \ {:}{=}\ \bigcap _{x\in X} (\Phi \leftrightarrow \Psi ) (x)$
between predicates on X. If
$(\Phi \equiv \Psi )$
(resp.
$(\Phi \sqsubseteq \Psi )$
) is realizable, we simply write
$\Phi \equiv \Psi $
(resp.
$\Phi \sqsubseteq \Psi $
). We say that
$\Phi $
and
$\Psi $
are equivalent if
$\Phi \equiv \Psi $
.
We next recall the structure of objects in
$\mathcal {E}\textit{ff}$
. An object X in
$\mathcal {E}\textit{ff}$
is a pair
$(|X|, =_{X})$
of a set
$|X|$
and a partial equivalence relation
$=_{X}\colon |X|\times |X| \to \mathcal {P}(\mathbb {N})$
(see [Reference van Oosten34, Section 3.1]). For instance, the subobject classifier is given by
$\Omega \ {:}{=}\ (\mathcal {P}(\mathbb {N}), =_{\Omega })$
with
$(p=_{\Omega } q) \ {:}{=}\ (p\leftrightarrow q)$
. The natural numbers object is defined as
$N \ {:}{=}\ (\mathbb {N}, =_{N})$
, where
$(n =_{N} m) \ {:}{=}\ \{\, n\,\}$
if
$n=m$
and
$\ {:}{=}\ \emptyset $
otherwise.
Let us clarify the object
$\mathrm {Lop}$
of local operators and
$\mathrm {LopFrm}$
of lop-frames in
$\mathcal {E}\textit{ff}$
. The power object
$PX$
of an object
$X = (|X|, =_{X})$
in
$\mathcal {E}\textit{ff}$
is defined by an object
$({\mathcal {P}(\mathbb {N})}^{|X|}, =_{PX})$
of strict relational predicates with respect to
$=_{X}$
(see [Reference van Oosten34, p. 70]). Furthermore, if X is a uniform object (such as
$\Omega $
or
$P\Omega $
), the strictness condition can be omitted [Reference van Oosten34, Proposition 3.2.6].
Definition 5.2. Let
$X = (|X|, =_{X})$
be an object in
$\mathcal {E}\textit{ff}$
. We introduce the predicate
$\mathrm {Rel}_{=_{X}}$
on
$\mathcal {P}(\mathbb {N})^{|X|}$
as follows:
We say that a predicate
$\Phi $
on
$|X|$
is
$=_{X}$
-relational if
$\mathrm {Rel}_{=_{X}}(\Phi )$
is realizable. Similarly, for
$\equiv $
in Definition 5.1, we define the predicate
$\mathrm {Rel}_{\equiv }$
and the notion of
$\equiv $
-relationality.
Remark 5.3. The power object of
$\Omega $
is defined by
$P\Omega \ {:}{=}\ (\mathcal {P}(\mathbb {N})^{\mathcal {P}(\mathbb {N})}, =_{P\Omega })$
, where
$(j =_{P\Omega } k) \ {:}{=}\ \mathrm {Rel}_{=_{\Omega }}(j) \land (j\equiv k)$
. This implies a one-to-one correspondence (up to equivalence) between global sections of
$P\Omega $
and
$=_{\Omega }$
-relational predicates on
$\mathcal {P}(\mathbb {N})$
. Similarly, the power object of
$P\Omega $
is defined by
$P(P\Omega ) \ {:}{=}\ (\mathcal {P}(\mathbb {N})^{(\mathcal {P}(\mathbb {N})^{\mathcal {P}(\mathbb {N})})}, =_{P(P\Omega )})$
, where
$(\mathbb {P} =_{P(P\Omega )} \mathbb {Q}) \ {:}{=}\ \mathrm {Rel}_{=_{P\Omega }}(\mathbb {P}) \land (\mathbb {P}\equiv \mathbb {Q})$
. Thus, there is a one-to-one correspondence (up to equivalence) between global sections of
$P(P\Omega )$
and
$=_{P\Omega }$
-relational predicates on
$\mathcal {P}(\mathbb {N})^{\mathcal {P}(\mathbb {N})}$
. The membership relation is interpreted as
$[\![ j \in _{} \mathbb {P}]\!] \ {:}{=}\ \mathbb {P}(j)$
.
Let us recall that
$\mathrm {Lop}$
and
$\mathrm {LopFrm}$
were defined as subobjects
$[\![ \mathrm {is}\textrm {-}\mathrm {lop}[j] ]\!] \rightarrowtail P\Omega $
(Remark 3.2) and
$[\![ \mathbb {P}\subseteq \mathrm {Lop} ]\!] \rightarrowtail P(P\Omega )$
(Remark 3.2), respectively. These definitions imply that local operators and lop-frames in
$\mathcal {E}\textit{ff}$
correspond to specific predicates, as below.
Definition 5.4. For predicates j,
$k\colon \mathcal {P}(\mathbb {N})\to \mathcal {P}(\mathbb {N})$
, we define
A predicate j on
$\mathcal {P}(\mathbb {N})$
is called a local operator in the effective topos if
$[\![ \mathrm {is}\textrm {-}\mathrm {lop}[j]]\!] $
is realizable. We write
$\mathrm {Lop}(\mathcal {E}\textit{ff})$
for the set of all local operators in
$\mathcal {E}\textit{ff}$
. The standard order between local operators is interpreted as
$[\![ j\leq k]\!] \ {:}{=}\ (j \sqsubseteq k)$
.
A local operator equivalent to the largest element
$\top (p)\ {:}{=}\ \mathbb {N}$
in the preordered set
$(\mathrm {Lop}(\mathcal {E}\textit{ff}), \sqsubseteq )$
is called degenerate. In addition, the double negation operator is interpreted as follows:
$\lnot \lnot (p) \ {:}{=}\ \mathbb {N}$
if
$p\neq \emptyset $
and
$\ {:}{=}\ \emptyset $
otherwise. We say that j is dense if
$j\sqsubseteq \lnot \lnot $
, and write
$\mathrm {DLop}(\mathcal {E}\textit{ff})$
for the set of all dense local operators in
$\mathcal {E}\textit{ff}$
.
Remark 5.5. As is well known, the following are equivalent in
$\mathcal {E}\textit{ff}$
: (1) j is non-degenerate; (2) j is dense; and (3) for any
$p\subseteq \mathbb {N}$
,
$j(p)\neq \emptyset $
if and only if
$p\neq \emptyset $
.
Definition 5.6. For predicates
$\mathbb {P}$
,
$\mathbb {Q} \colon \mathcal {P}(\mathbb {N})^{\mathcal {P}(\mathbb {N})} \to \mathcal {P}(\mathbb {N})$
, we define
A predicate
$\mathbb {P}$
on
$\mathcal {P}(\mathbb {N})^{\mathcal {P}(\mathbb {N})}$
is called a lop-frame in the effective topos if it is
$\equiv $
-relational and
$[\![ \mathbb {P}\subseteq \mathrm {Lop}]\!] $
is realizable.
In summary, the internal objects
$\mathrm {Lop}$
and
$\mathrm {LopFrm}$
are given by the following:
Remark 5.7. Since
$[\![ \mathrm {is}\textrm {-}\mathrm {lop}[j]]\!] \sqsubseteq \mathrm {Rel}_{=_{\Omega }}(j)$
holds, all local operators in
$\mathcal {E}\textit{ff}$
are
$=_{\Omega }$
-relational. Therefore, as noted in Remark 5.3, each local operator j corresponds to a closed term of type
$P\Omega $
that satisfies
$\mathrm {is}\textrm {-}\mathrm {lop}[j]$
internally. This characterization was originally given by Pitts [Reference Pitts37]. Compared to this, each lop-frame
$\mathbb {P}$
in
$\mathcal {E}\textit{ff}$
corresponds to a closed term of type
$P(P\Omega )$
that satisfies
$\mathbb {P}\subseteq \mathrm {Lop}$
internally.
We conclude this section by noting that each lop-frame in
$\mathcal {E}\textit{ff}$
can be constructed as an
$\equiv $
-relational predicate on
$\mathcal {P}(\mathbb {N})^{\mathcal {P}(\mathbb {N})}$
weighted by
$[\![ \mathrm {is}\textrm {-}\mathrm {lop}[j]]\!] $
.
Proposition 5.8. Let
$\mathbb {P}\colon \mathcal {P}(\mathbb {N})^{\mathcal {P}(\mathbb {N})}\to \mathcal {P}(\mathbb {N})$
be an
$\equiv $
-relational predicate. Then the predicate
$\overline {\mathbb {P}}$
defined as follows is a lop-frame in
$\mathcal {E}\textit{ff}$
:
Conversely, any lop-frame in
$\mathcal {E}\textit{ff}$
is equivalent to a predicate of this form.
Proof. This claim follows from the fact that the predicate
$[\![ \mathrm {is}\textrm {-}\mathrm {lop}[j]]\!] $
is
$\equiv $
-relational.
5.2
$\mathbb {P}$
-realizability
Given a lop-frame
$\mathbb {P}$
and a local operator j in
$\mathcal {E}\textit{ff}$
, the translation
$j\Vdash _{\mathbb {P}}\varphi $
for an
$\mathcal {L}_{\mathrm {Arith}}$
-formula
$\varphi [{x}]$
induces a predicate
$[\![ {j}\Vdash _{\mathbb {P}} {\varphi } ]\!] \colon \mathbb {N}\to \mathcal {P}(\mathbb {N})$
. Based on the Kuroda-style translation, we provide the following description.
Definition 5.9. Let
$\mathbb {P}$
be a lop-frame and j be a local operator in
$\mathcal {E}\textit{ff}$
. For an
$\mathcal {L}_{\mathrm {Arith}}$
-formula
$\varphi [\vec {x}]$
, we inductively define the predicate
$[\![ {j}\Vdash _{\mathbb {P}} {\varphi } ]\!] \colon \mathbb {N}^{m}\to \mathcal {P}(\mathbb {N})$
as follows:
For an
$\mathcal {L}_{\mathrm {Arith}}$
-sentence
$\varphi $
, we say that
$\varphi $
is
$\mathbb {P}$
-realizable at j if
$[\![ {j}\Vdash _{\mathbb {P}} {\varphi } ]\!] $
is realizable.
The predicate
$[\![ {j}\Vdash _{\mathbb {P}} {\varphi } ]\!] $
corresponds to the subobject induced by the Kuroda-style translation
$j\Vdash _{\mathbb {P}}^{\mathrm {K}}\varphi $
defined in Section 4.5. As noted in Remark 5.5, if j is non-degenerate, the following equivalence holds externally:
Thus, Proposition 4.18 implies that the validity of the Gödel–Gentzen-style translation
$j\Vdash _{\mathbb {P}}\varphi $
in
$\mathcal {E}\textit{ff}$
coincides with
$\mathbb {P}$
-realizability at j as long as j is non-degenerate.
Theorem 5.10. Let
$\mathbb {P}$
be a lop-frame and j be a non-degenerate local operator in
$\mathcal {E}\textit{ff}$
. Then, for any
$\mathcal {L}_{\mathrm {Arith}}$
-formula
$\varphi [\vec {x}]$
and any list
$\vec {n}$
of natural numbers, the following equivalence holds:
where
$\varphi [\vec {n}]$
denotes the sentence obtained by substituting the numerals
$\vec {n}$
into
$\varphi $
.
As a corollary of Theorems 4.14 and 4.17,
$\mathbb {P}$
-realizability is sound for Heyting arithmetic. Furthermore, recalling Corollary 4.13, we can simplify the clause for universal quantification if
$\mathbb {P}(j) = [\![ j\in _{} \mathbb {P}]\!] $
is realizable.
Corollary 5.11. Suppose that a lop-frame
$\mathbb {P}$
and a non-degenerate local operator j in
$\mathcal {E}\textit{ff}$
satisfy
$\mathbb {P}(j)\neq \emptyset $
. Then, for any
$\mathcal {L}_{\mathrm {Arith}}$
-formula
$\varphi [{y}]$
, the following equivalence holds:
Observe that the usual j-translation
${\varphi }^{j}$
also corresponds to the predicate
$[\![ {\varphi }^{j} ]\!] \colon \mathbb {N}^{m}\to \mathcal {P}(\mathbb {N})$
defined by
The other steps are defined analogously to Definition 5.9. This predicate is clearly the set of realizers for the j-realizability found in the literature [Reference Kihara22, Reference Lee and van Oosten27, Reference van Oosten35]. Henceforth, we also say that
$\varphi $
is j-realizable if
$[\![ {\varphi }^{j} ]\!] $
is realizable.
Next, let us consider a simple example of lop-frame. Given a subset
$S\subseteq \mathrm {Lop}(\mathcal {E}\textit{ff})$
externally, we can naturally define a lop-frame associated with it.
Definition 5.12. For a subset
$S\subseteq \mathrm {Lop}(\mathcal {E}\textit{ff})$
and a local operator
$j\in \mathrm {Lop}(\mathcal {E}\textit{ff})$
,
-
• We define the following lop-frame $\mathbb {P}_{S}$
: $$\begin{align*}\mathbb{P}_{S}(k) \ {:}{=}\ \bigcup_{\ell \in S} (\ell =_{\mathrm{Lop}} k).\end{align*}$$
We call $\mathbb {P}_{S}$
the standard lop-frame for S. -
• Let $\uparrow (j)\ {:}{=}\ \{\, k\in \mathrm {Lop}(\mathcal {E}\textit{ff}) \mid j \sqsubseteq k\,\}$
be the principal upper set of j in
$(\mathrm {Lop}(\mathcal {E}\textit{ff}), \sqsubseteq )$
. We say that S is uniform if there exist realizers of
$\mathrm {is}\textrm {-}\mathrm {lop}[j]$
and
$j\sqsubseteq k$
for all local operators in S, uniformly. That is, the following conditions hold: $$\begin{align*}\bigcap_{k\in S} [\![ \mathrm{is}\textrm{-}\mathrm{lop}[k]]\!] \neq \emptyset, \qquad \bigcap_{j\in S}\bigcap_{\, k\in S\cap \uparrow(j)} [\![ j\leq k]\!] \neq \emptyset.\end{align*}$$
-
• j is maximal in S if $j\in S$
and
$k \equiv j$
hold for any
$k\in S\cap \uparrow (j)$
. -
• j is minimum in S if $j\in S$
and
$S\subseteq \uparrow (j)$
hold.
The primary reason why we call
$\mathbb {P}_{S}$
standard is that the internal universal quantification over
$\mathbb {P}_{S}$
corresponds to the external universal quantification over S, as shown below. The same applies to the property that S is a subset of dense local operators.
Lemma 5.13. Let S be a subset of
$\mathrm {Lop}(\mathcal {E}\textit{ff})$
and let j be a local operator.
-
(1) Suppose that a predicate ${\Phi (k)}$
on
$\mathcal {P}(\mathbb {N})^{\mathcal {P}(\mathbb {N})}$
is
$\equiv $
-relational. Then, the following equivalence holds: $$\begin{align*}\bigcap_{k\in \mathcal{P}(\mathbb{N})^{\mathcal{P}(\mathbb{N})}} (\mathbb{P}_{S}(k)\land [\![ j\leq k]\!] \rightarrow \Phi(k)) \equiv \bigcap_{\ell \in S} ([\![ \mathrm{is}\textrm{-}\mathrm{lop}[\ell]]\!] \land [\![ j\leq \ell]\!] \rightarrow \Phi[\ell]). \end{align*}$$
-
(2) $S\subseteq \mathrm {DLop}(\mathcal {E}\textit{ff})$
holds if and only if
$\mathcal {E}\textit{ff}\models (\mathbb {P}_{S} \subseteq \mathrm {DLop})$
holds.
Proof. We show (1). By the definition of the standard lop-frame
$\mathbb {P}_{S}$
, the left-hand side is equivalent to
Note that
$[\![ j\leq k]\!] $
,
$[\![ \mathrm {is}\textrm {-}\mathrm {lop}[k]]\!] $
, and
$\Phi (k)$
are
$\equiv $
-relational. Using the fact
$((\bigcup _{x} \Psi (x)) \rightarrow p) = \bigcap _{x} (\Psi (x) \rightarrow p)$
, the above predicate is also equivalent to
Since
$\bigcup _{k} (\ell \equiv k)$
contains a code for the identity function on
$\mathbb {N}$
which is independent of
$\ell $
, we obtain the right-hand side.
For (2), if
$\ell $
is a dense operator, the claim follows from the fact that
$[\![ \ell \leq \lnot \lnot ]\!] $
contains a code for the identity function on
$\mathbb {N}$
.
Moreover, assuming that S is uniform, the equivalence in Lemma 5.13(1) can be simplified. In addition, maximality and minimumness are also characterized.
Lemma 5.14. Let S be a uniform subset of
$\mathrm {Lop}(\mathcal {E}\textit{ff})$
and let j be a local operator.
-
(1) Suppose that a predicate ${\Phi (k)}$
on
$\mathcal {P}(\mathbb {N})^{\mathcal {P}(\mathbb {N})}$
is
$\equiv $
-relational. Then, the following equivalence holds: $$\begin{align*}\bigcap_{k\in \mathcal{P}(\mathbb{N})^{\mathcal{P}(\mathbb{N})}} (\mathbb{P}_{S}(k) \land [\![ j\leq k]\!] \rightarrow \Phi[k]) \equiv \bigcap_{\ell \in S\cap\uparrow(j)} \Phi[\ell]. \end{align*}$$
-
(2) j is maximal in S if and only if $\mathcal {E}\textit{ff}\models j\in \mathbb {P}_{S} \land \forall k\geq _{\mathbb {P}_{S}} j. (j =_{P\Omega } k)$
holds. -
(3) j is minimum in S if and only if $\mathcal {E}\textit{ff}\models j\in \mathbb {P}_{S} \land \forall k\in \mathbb {P}_{S}. (j\leq k)$
holds.
Proof. (1) follows from the uniformity of S and Lemma 5.13(1). (2) and (3) are easily verified from the uniformity for
$j\leq k$
and Lemma 5.14(1).
Consequently, for a uniform subset S, the clause for implication in Definition 5.9 admits a simpler form. Also, it follows from Lemma 5.14(2) and Proposition 4.5 that
$\mathbb {P}_{S}$
-realizability at a maximal element j in S coincides with j-realizability.
Corollary 5.15. Suppose that
$S\subseteq \mathrm {Lop}(\mathcal {E}\textit{ff})$
is uniform. Then, for the standard lop-frame
$\mathbb {P}_{S}$
, the following equivalence holds: for any
$j\in \mathrm {Lop}(\mathcal {E}\textit{ff})$
and any
$\mathcal {L}_{\mathrm {Arith}}$
-formulas
$\varphi $
and
$\psi ,$
Furthermore, if j is maximal in S, the equivalence
$[\![ j\Vdash _{\mathbb {P}_{S}} \varphi ]\!] \equiv [\![ {\varphi }^{j} ]\!] $
holds.
5.3 De Jongh–Goodman realizability
As mentioned in Section 1, the idea of combining realizability with forcing dates back to de Jongh and Goodman. Their realizability is defined using a partial function on
$\mathbb {N}$
as an oracle and a set of partial functions on
$\mathbb {N}$
as a forcing poset [Reference Goodman14]. To compare this with our
$\mathbb {P}$
-realizability, let us focus on the formulation given in [Reference van Oosten34, Section 4.6.2].
Definition 5.16. Let
$\mathrm {PF}$
denote the set of all partial functions on
$\mathbb {N}$
, and let
$\subseteq $
denote the extension relation on
$\mathrm {PF}$
. Let the symbol
$\cdot ^{f}$
denote a partial computable application using oracle
$f\in \mathrm {PF}$
.
For a subset
$T\subseteq \mathrm {PF}$
, a partial function
$f\in T$
, a natural number
$e\in \mathbb {N}$
, and an
$\mathcal {L}_{\mathrm {Arith}}$
-sentence
$\varphi $
, we define the relation
${f} \Vdash _{T} {e} \mathrel {\mathbf {r}} \varphi $
inductively as follows:
The other clauses are defined similarly to Kleene realizability relative to f.
It should be noted that this definition is based on Kripke forcing and differs from the definition introduced by Goodman [Reference Goodman14]. However, as pointed out in [Reference van Oosten34, Section 4.6.2], the original definition can be obtained by combining this with the double negation operator. Hence the difference is not essential. In fact, we can connect the above realizability with
$\mathbb {P}$
-realizability via a uniform construction of local operators that is well understood in categorical realizability and topos theory.
It is well known that in an elementary topos
$\mathcal {E}$
, for any subobject
$D\rightarrowtail X$
, there exists the least local operator
$j_{D}$
which forces D dense. This theorem was first shown by Joyal [Reference Johnstone18, Theorem 3.57]. While various constructions for such a least local operator are known, we recall the method found in [Reference Hyland15, Proposition 16.3] and [Reference Pitts37, Lemma 5.4]. Here, we restrict our attention to the subobject defined by the graph of a partial function f.
Definition 5.17. Given a partial function
$f\in \mathrm {PF}$
, we define a predicate
$D_{f}(n)\ {:}{=}\ \{\, \langle n, f(n) \rangle \,\}$
on
$\mathbb {N}$
; if
$f(n)$
is undefined, let
$D_{f}(n)\ {:}{=}\ \emptyset $
. Then the predicates
$m_{f}$
and
$j_{f}$
are defined as follows:
Our first observation is that a realizer witnessing that
$j_{f}$
is a local operator can be obtained uniformly in f.
Observation 5.18. For the predicates
$m_{f}$
and
$j_{f}$
in Definition 5.17,
-
(1) $\bigcap _{f\in \mathrm {PF}} \bigcap _{p, q\subseteq \mathbb {N}} ((p\rightarrow q) \rightarrow (m_{f}(p) \rightarrow m_{f}(q))) \neq \emptyset $
. -
(2) $\bigcap _{f\in \mathrm {PF}} [\![ \mathrm {is}\textrm {-}\mathrm {lop}[j_{f}]]\!] \neq \emptyset $
.
Proof. We verify claim (1). In the internal language,
$m_{f}$
can be described as
$m_{f}(p)\ {:}{=}\ \exists x:N. (x\in D_{f} \rightarrow p)$
. The fact that
$m_{f}$
is internally monotone is provable entirely in the internal logic. Hence, there is no need to refer to oracle f. Claim (2) follows from claim (1).
This uniform construction of local operator provides a bridge to degree theory. We say that f is
$\mathrm {LT}$
-reducible to g, denoted by
$f \leq _{\mathrm {LT}} g$
, if there exists
$e\in \mathbb {N}$
such that
$e\cdot ^{g}n \simeq f(n)$
holds for all
$n\in \mathbb {N}$
, where
$\simeq $
denotes the Kleene equality. (We adopt this terminology from [Reference Kihara21, Definition 2.14]. Although this definition differs from the original one, the equivalence is easily verified.) When f and g are characteristic functions of subsets of
$\mathbb {N}$
, the following equivalences are well known:
-
(1) $j_{f} \sqsubseteq j_{g}$
holds if and only if
$f \leq _{\mathrm {LT}} g$
holds (e.g., [Reference Hyland15]). -
(2) $\varphi $
is
$j_{f}$
-realizable if and only if
$\varphi $
is Kleene realizable relative to f (e.g., [Reference Phoa36]).
Our second observation is that these two equivalences hold not only for characteristic functions but also for partial functions, and they hold effectively.
Observation 5.19. For the construction
$j_{f}$
in Definition 5.17, the following hold:
-
(1) $\bigcap _{f, g\in \mathrm {PF}} ([\![ j_{f}\leq j_{g}]\!] \leftrightarrow (f \leq _{\mathrm {LT}} g)) \neq \emptyset $
. -
(2) $\bigcap _{f\in \mathrm {PF}} \bigcap _{p, q\subseteq \mathbb {N}} ((p\rightarrow j_{f}(q)) \leftrightarrow (p\rightarrow ^{f} q)) \neq \emptyset $
.
Here,
$(f \leq _{\mathrm {LT}} g)$
denotes the set of natural numbers witnessing
$f \leq _{\mathrm {LT}} g$
, and
$(p\rightarrow ^{f} q) \ {:}{=}\ \{\, e \mid \forall n\in p. (e\cdot ^{f}n\downarrow \text { and } e\cdot ^{f}n\in q)\,\}$
.
Claim (1) is obtained by extending the proof of [Reference Hyland15, Theorem 17.2] to partial functions, and (2) by extending the proof of [Reference Phoa36, Lemma in p. 2]. It is not difficult to verify that these proofs are effective and independent of oracle. Strictly speaking, the original proofs were based not on
$j_{f}$
but on the following local operator
$j^{\prime }_{f}$
:
where
$\ast \in \mathbb {N}$
is a code of the empty partial function. However, in light of [Reference Pitts37, Proposition 5.6] and our Observation 5.18(1), it is easy to verify that
$j_{f}$
and
$j^{\prime }_{f}$
are equivalent uniformly in f.
Recently, Kihara provided an excellent framework for understanding the relationship between local operator and oracle [Reference Kihara21, Reference Kihara22]. He introduced the notion of bilayered function, which is a significant generalization of oracle to describe all local operators in
$\mathcal {E}\textit{ff}$
. This framework enables us to analyze the order structure of local operators in
$\mathcal {E}\textit{ff}$
based on an imperfect information game. In fact, the proof of (1) is essentially contained in [Reference Kihara21, Proposition 2.22 and Theorem 3.1].
Consequently, based on the observations above, we see that de Jongh–Goodman realizability is a special case of
$\mathbb {P}$
-realizability under a mild assumption.
Theorem 5.20. Let
$T\subseteq \mathrm {PF}$
be a subset satisfying the following assumption
$(\mathrm {A})$
:
Then
$S_{T}\ {:}{=}\ \{\, j_{f} \mid f\in T\,\}$
is a uniform subset of
$\mathrm {Lop}(\mathcal {E}\textit{ff})$
.
Thus, for the standard lop-frame
$\mathbb {P}_{T} \ {:}{=}\ \mathbb {P}_{S_{T}}$
, the following equivalence holds: for any partial function
$f\in T$
and any
$\mathcal {L}_{\mathrm {Arith}}$
-sentence
$\varphi $
,
Proof. Clearly, there exists a natural number r such that for any f,
$g\in \mathrm {PF}$
, r is a code witnessing
$f\leq _{\mathrm {LT}} g$
whenever
$f \subseteq g$
. That is,
Thus, if T satisfies assumption (A), the uniformity of
$S_{T}$
follows from Observations 5.18(2) and 5.19(1).
The latter equivalence can be shown by Corollary 5.15 and Observation 5.19(2).
6 Semi-classical axioms
In this section, we investigate our translation for specific classes of formulas. In particular, with a view towards future proof-theoretic applications, we focus on semi-classical axioms, which are frequently studied in constructive mathematics. Our main approach is to identify sufficient conditions under which our translation of a given axiom becomes equivalent to its usual j-translation. This approach allows us to use existing results on the j-translation.
To give a systematic investigation, in Sections 6.1–6.3, we return to the general setting of an arbitrary elementary topos. Hence, all statements presented there are verified in the internal logic. Finally, in Section 6.4, we apply these general results to
$\mathbb {P}$
-realizability.
6.1 Equivalence condition
We begin by discussing the conditions under which our translation
$j\Vdash _{\mathbb {P}}\varphi $
is equivalent to the internal j-translation
${\varphi }^{*}[j]$
. In general, this equivalence depends on both the syntactic complexity of
$\varphi $
and the structure of the lop-frame
$\mathbb {P}$
. In the following, we assume
$j\in \mathbb {P}$
for simplicity. For convenience, we introduce a predicate
$\mathrm {E}_{\varphi }[\mathbb {P}]$
that expresses the equivalence of these two translations.
Definition 6.1. For an
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
, we define the formula
$\mathrm {E}_{\varphi }[\mathbb {P}]$
with a free variable
$\mathbb {P}:P(P\Omega )$
as follows:
It is easy to observe that implication-free formulas always satisfy this equivalence.
Proposition 6.2. Let
$\varphi [\vec {x}]$
be an implication-free
$\mathcal {L}_{X}$
-formula (i.e., a formula containing neither implication
$\rightarrow $
nor negation
$\lnot $
). Then,
Proof. The base case and the induction steps for
$\land $
,
$\lor $
, and
$\exists $
follow directly from the definitions of
$j\Vdash _{\mathbb {P}}\varphi $
and
${\varphi }^{*}[j]$
. The step for the universal quantification
$\forall $
follows from the assumption
$j\in \mathbb {P}$
and Corollary 4.13.
However, non-constructive axioms such as the LEM
$\forall \vec {x}:X. \varphi \lor \lnot \varphi $
and the DNE
$\forall \vec {x}:X. \lnot \lnot \varphi \rightarrow \varphi $
are not implication-free. Therefore, the equivalence does not hold for them in general. To find the sufficient conditions for these equivalences to hold, we now introduce the following predicates for the internal j-translation.
Definition 6.3. Let
$\varphi [\vec {x}]$
be an
$\mathcal {L}_{X}$
-formula:
We also define
$\lnot _{j}\varphi \ {:}{=}\ \varphi \rightarrow j\bot $
.
Note that
${(\lnot \varphi )}^{*}[j]= \lnot _{j}({\varphi }^{*}[j])$
and
$j\Vdash _{\mathbb {P}}(\lnot \varphi ) = \forall k\geq _{\mathbb {P}} {j}.\lnot _{k}(k\Vdash _{\mathbb {P}}\varphi )$
hold. The following lemma summarizes the properties for negated formulas
$\lnot \varphi $
and double negated formulas
$\lnot \lnot \varphi $
.
Lemma 6.4. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
, the following implications hold:
-
(1) $\mathcal {E}\models \forall \mathbb {P}\subseteq \mathrm {Lop}. \mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}] \rightarrow \mathrm {M}_{\lnot \varphi }[\mathbb {P}]$
; -
(2) $\mathcal {E}\models \forall \mathbb {P}\subseteq \mathrm {Lop}. (\mathrm {E}_{\varphi }[\mathbb {P}]\land \mathrm {M}_{\lnot \varphi }[\mathbb {P}]) \rightarrow \mathrm {E}_{\lnot \varphi }[\mathbb {P}]$
; -
(3) $\mathcal {E}\models \forall \mathbb {P}\subseteq \mathrm {Lop}. (\mathrm {E}_{\varphi }[\mathbb {P}]\land \mathrm {M}_{\lnot \varphi }[\mathbb {P}]\land \mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]) \rightarrow \mathrm {E}_{\lnot \lnot \varphi }[\mathbb {P}]$
; -
(4) $\mathcal {E}\models \forall \mathbb {P}\subseteq \mathrm {Lop}. (\mathrm {E}_{\varphi }[\mathbb {P}]\land \mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]) \rightarrow \mathrm {M}_{\lnot \lnot \varphi \rightarrow \varphi }[\mathbb {P}]$
.
Proof. In the following, we fix j,
$k\in \mathbb {P}$
with
$j\leq k$
and omit the free variables
$\vec {x}$
.
For (1), we assume
$\mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
and
${(\lnot \varphi )}^{*}[j]$
. Note that
$\forall p:\Omega. \lnot _{j}\lnot _{j}\lnot _{j}p \leftrightarrow \lnot _{j}p$
and
$\forall p, q:\Omega. (p\rightarrow q) \rightarrow (\lnot _{j}q \rightarrow \lnot _{j}p)$
hold. Then,
$\lnot _{j}{(\lnot \lnot \varphi )}^{*}[k]$
follows from
$\mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
. Since
$\forall p:\Omega. \lnot _{j}p\rightarrow \lnot _{k}p$
, we obtain
$\lnot _{k}{(\lnot \lnot \varphi )}^{*}[k]$
, which is equivalent to
${(\lnot \varphi )}^{*}[k]$
. This proves that
$\mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
implies
${(\lnot \varphi )}^{*}[j] \rightarrow {(\lnot \varphi )}^{*}[k]$
.
For (2), we assume
$\mathrm {E}_{\varphi }[\mathbb {P}]$
and
$\mathrm {M}_{\lnot \varphi }[\mathbb {P}]$
. By
$\mathrm {M}_{\lnot \varphi }[\mathbb {P}]$
, the formula
${(\lnot \varphi )}^{*}[j]$
is equivalent to
$\forall k\geq _{\mathbb {P}} {j}. \lnot _{k} ({\varphi }^{*}[k])$
. It then follows from
$\mathrm {E}_{\varphi }[\mathbb {P}]$
that the latter is equivalent to
$\forall k\geq _{\mathbb {P}} {j}. \lnot _{k}(k\Vdash _{\mathbb {P}} \varphi )$
, which is also equivalent to
$j\Vdash _{\mathbb {P}}\lnot \varphi $
.
For (3), we assume
$\mathrm {E}_{\varphi }[\mathbb {P}]$
,
$\mathrm {M}_{\lnot \varphi }[\mathbb {P}]$
, and
$\mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]$
. By (2), the formula
$j\Vdash _{\mathbb {P}} \lnot \lnot \varphi $
is equivalent to
$\forall k\geq _{\mathbb {P}} {j}. \lnot _{k} {(\lnot \varphi )}^{*}[k]$
. Using the assumption
$\mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]$
, this becomes equivalent to
${(\lnot \lnot \varphi )}^{*}[j]$
.
To show (4), we assume
$\mathrm {E}_{\varphi }[\mathbb {P}]$
,
$\mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
, and
${(\lnot \lnot \varphi \rightarrow \varphi )}^{*}[j]$
. First,
$\mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
and
${(\lnot \lnot \varphi \rightarrow \varphi )}^{*}[j]$
imply the following implications:
Using
$\mathrm {E}_{\varphi }[\mathbb {P}]$
and Lemma 4.11,
${(\varphi )}^{*}[k]$
follows from
${(\varphi )}^{*}[j]$
. This shows the implication
${(\lnot \lnot \varphi )}^{*}[k] \rightarrow {\varphi }^{*}[k]$
, which is precisely
${(\lnot \lnot \varphi \rightarrow \varphi )}^{*}[k]$
. Therefore,
$\mathrm {M}_{\lnot \lnot \varphi \rightarrow \varphi }[\mathbb {P}]$
follows from
$\mathrm {E}_{\varphi }[\mathbb {P}]$
and
$\mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
.
These lemmas provide sufficient conditions for
$\mathrm {E}_{\forall \vec {x}:X. (\varphi \lor \lnot \varphi )}[\mathbb {P}]$
and
$\mathrm {E}_{\forall \vec {x}:X. (\lnot \lnot \varphi \rightarrow \varphi )}[\mathbb {P}]$
.
Proposition 6.5. Let
$\varphi [\vec {x}]$
be an
$\mathcal {L}_{X}$
-formula. The following implications hold in
$\mathcal {E}$
:
-
(1) $\mathcal {E}\models \forall \mathbb {P}\subseteq \mathrm {Lop}. (\mathrm {E}_{\varphi }[\mathbb {P}]\land \mathrm {M}_{\lnot \varphi }[\mathbb {P}]) \rightarrow \mathrm {E}_{\forall \vec {x}:X. (\varphi \lor \lnot \varphi )}[\mathbb {P}]$
; -
(2) $\mathcal {E}\models \forall \mathbb {P}\subseteq \mathrm {Lop}. (\mathrm {E}_{\varphi }[\mathbb {P}]\land \mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]\land \mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]) \rightarrow \mathrm {E}_{\forall \vec {x}:X. (\lnot \lnot \varphi \rightarrow \varphi )}[\mathbb {P}]$
.
Proof. Claim (1) follows immediately from Corollary 4.13 and Lemma 6.4(2).
We show (2). By Corollary 4.13,
$j\Vdash _{\mathbb {P}} \forall \vec {x}:X. (\lnot \lnot \varphi \rightarrow \varphi )$
is equivalent to
We now apply Lemma 6.4(1) and (3). Under the assumptions
$\mathrm {E}_{\varphi }[\mathbb {P}]$
,
$\mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]$
, and
$\mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
, the above formula is equivalent to
By Lemma 6.4(4), the last formula is equivalent to
${(\forall \vec {x}:X. (\lnot \lnot \varphi \rightarrow \varphi ))}^{*}[j]$
.
6.2 Transparency, closedness, and denseness
Lemma 6.4(1) ensures that the condition
$\mathrm {E}_{\varphi }[\mathbb {P}]\land \mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]\land \mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
suffices to establish both
$\mathrm {E}_{\forall \vec {x}:X. (\lnot \lnot \varphi \rightarrow \varphi )}[\mathbb {P}]$
and
$\mathrm {E}_{\forall \vec {x}:X. (\varphi \lor \lnot \varphi )}[\mathbb {P}]$
. However, it remains unclear which formulas satisfy
$\mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]\land \mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
. Here, we reveal that transparency, a notion introduced in the author’s previous study [Reference Nakata, Murano and Silva31], provides a sufficient condition for this property.
The notion of transparency was originally found in the investigation of the least local operator for a given formula [Reference Nakata, Murano and Silva31]. In that study, j-transparency with respect to a local operator j in a topos
$\mathcal {E}$
was defined via the associated sheaf functor
$L_{j}$
as follows:
In other words, a formula
$\varphi $
is j-transparent if its
$L_{j}$
-translation
${\varphi }^{L_{j}}$
(Definition 3.6) corresponds to the subobject obtained by a single application of
$L_{j}$
to
$[\![ \varphi ]\!] $
.
Recalling the correspondence observed in Section 3.2, the pullback functor along the unit
$\eta _{X}\colon X\to L_{j} {X}$
shows that the equation above is equivalent to
$j[\![ \varphi ]\!] = [\![ {\varphi }^{j} ]\!] $
in
$\mathrm {Cl}_{j}\mathrm {Sub}_{\mathcal {E}}(X)$
. Thus, j-transparency can be expressed in the internal language as the following equivalence:
This property may be seen as an analogue of Glivenko’s theorem for the double negation translation (which states that for any propositional formula
$\varphi $
, the translation
$\varphi ^{\lnot \lnot }$
is equivalent to
$\lnot \lnot \varphi $
in intuitionistic propositional logic; see [Reference Troelstra and van Dalen38]). While [Reference Nakata, Murano and Silva31] utilized this property to discuss the existence of the least local operator for some semi-classical axioms, Proposition 6.11 below shows that transparency, combined with certain conditions, also implies
$\mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]\land \mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
.
For the sake of generality, let us introduce a formula
$\mathrm {Trp}_{\varphi }^{j}[k]$
expressing that
$\varphi $
is k-transparent relative to j. We also consider a corresponding closedness condition
$\mathrm {Cl}_{\varphi }^{j}[k]$
.
Definition 6.6. For an
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
, we define
We first verify that the following closure properties, shown in [Reference Nakata, Murano and Silva31, Lemma 25], also hold in the internal logic.
Lemma 6.7. Let R be an atomic
$\mathcal {L}_{X}$
-formula, and let
$\varphi $
and
$\psi $
be
$\mathcal {L}_{X}$
-formulas. Then the following implications hold:
-
(1) $\mathcal {E}\models \forall j, k\in \mathrm {Lop}. ((j\leq k) \rightarrow \mathrm {Trp}_{R}^{j}[k])$
. -
(2) $\mathcal {E}\models \forall j, k\in \mathrm {Lop}. (\mathrm {Trp}_{\varphi }^{j}[k] \land \mathrm {Trp}_{\psi }^{j}[k] \rightarrow \mathrm {Trp}_{\varphi \land \psi }^{j}[k])$
. -
(3) $\mathcal {E}\models \forall j, k\in \mathrm {Lop}. (\mathrm {Trp}_{\varphi }^{j}[k] \land \mathrm {Trp}_{\psi }^{j}[k]$
$ \land (j\leq k) \rightarrow (\mathrm {Trp}_{\varphi \lor \psi }^{j}[k] \land \mathrm {Trp}_{\exists x:X. \varphi }^{j}[k]))$
. -
(4) $\mathcal {E}\models \forall j, k\in \mathrm {Lop}. (\mathrm {Trp}_{\varphi }^{j}[k] \land \mathrm {Trp}_{\psi }^{j}[k]$
$\land \mathrm {Cl}_{\psi }^{j}[k] \rightarrow (\mathrm {Trp}_{\varphi \rightarrow \psi }^{j}[k] \land \mathrm {Trp}_{\forall x:X. \varphi }^{j}[k]))$
.
Proof. Since the other cases can be shown similarly, we only see the case of
$\lor $
in (3) and the case of
$\rightarrow $
in (4). In the following, we assume that
$\mathcal {L}_{X}$
-formulas do not contain free variables.
For the case of
$\lor $
in (3), assume that
$\mathrm {Trp}_{\varphi }^{j}[k]$
,
$\mathrm {Trp}_{\psi }^{j}[k]$
, and
$j\leq k$
. Then we have the following equivalences for
$k{(\varphi \lor \psi )}^{*}[j]$
:
Since
$\mathrm {Trp}_{\varphi }^{j}[k]$
and
$\mathrm {Trp}_{\psi }^{j}[k]$
hold, the last formula is equivalent to
${(\varphi \lor \psi )}^{*}[k]$
.
Next, consider the case of
$\rightarrow $
in (4). Suppose that
$\mathrm {Trp}_{\varphi }^{j}[k]$
,
$\mathrm {Trp}_{\psi }^{j}[k]$
, and
$\mathrm {Cl}_{\psi }^{j}[k]$
. By
$\mathrm {Cl}_{\psi }^{j}[k]$
, we obtain the following equivalence for
$k{(\varphi \rightarrow \psi )}^{*}[j]$
:
Since
$\mathrm {Trp}_{\varphi }^{j}[k]$
and
$\mathrm {Trp}_{\psi }^{j}[k]$
hold, the last formula is equivalent to
${(\varphi \rightarrow \psi )}^{*}[k]$
.
Lemma 6.7 ensures that under the assumption
$(j\leq k)$
, all coherent formulas (i.e., formulas containing only
$\land $
,
$\lor $
, and
$\exists $
) are k-transparent relative to j. Furthermore, as observed in [Reference Nakata, Murano and Silva31] and essentially in [Reference Caramello5], denseness allows us to extend transparency to a broader class of formulas.
Definition 6.8. Let
$\lnot \lnot $
denote the double negation operator. We define a closed term
$\mathrm {DLop} \ {:}{=}\ \{\, j:P\Omega \mid \mathrm {is}\textrm {-}\mathrm {lop}[j] \land j\leq \lnot \lnot \,\}$
.
Remark 6.9. As is well known, the formula
$j\leq \lnot \lnot $
is internally equivalent to
$j(\bot )\leftrightarrow \bot $
for any
$j\in \mathrm {Lop}$
. Therefore,
$\forall j\in \mathrm {DLop} \forall p:\Omega. (\lnot _{j}p \leftrightarrow \lnot p)$
holds in
$\mathcal {E}$
.
In light of Remarks 4.3 and 6.9, we immediately obtain the following lemma.
Lemma 6.10. Let R be an atomic
$\mathcal {L}_{X}$
-formula, and let
$\varphi $
be an
$\mathcal {L}_{X}$
-formula. The following implications hold:
-
(1) $\mathcal {E}\models \forall j \in \mathrm {DLop}. ((\lnot \lnot {R} \rightarrow {R}) \rightarrow {(\lnot \lnot {R} \rightarrow {R})}^{*}[j])$
. -
(2) $\mathcal {E}\models \forall j, k\in \mathrm {DLop}. ({(\lnot \lnot {\varphi } \rightarrow {\varphi })}^{*}[j] \rightarrow \mathrm {Cl}_{\varphi }^{j}[k])$
.
Consequently, transparency and denseness can guarantee the condition
$\mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]\land \mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
as follows.
Proposition 6.11. For any
$\mathcal {L}_{X}$
-formula
$\varphi [\vec {x}]$
,
Proof. Suppose that
$\mathbb {P}\subseteq \mathrm {DLop}$
satisfies the antecedent. For
$k\in \mathbb {P}$
, we have the following equivalences:
where the first and third equivalences follow from the denseness of k, and the second follows from
$\mathrm {Trp}_{\varphi }^{j}[k]$
. Therefore, for any k,
$\ell \in \mathbb {P}$
, the equivalence
${(\lnot \lnot \varphi )}^{*}[k] \leftrightarrow \lnot \lnot {\varphi }^{*}[j] \leftrightarrow {(\lnot \lnot \varphi )}^{*}[\ell ]$
holds. This proves
$\mathrm {M}_{\lnot \lnot \varphi }[\mathbb {P}]\land \mathrm {N}_{\lnot \lnot \varphi }[\mathbb {P}]$
.
6.3 Semiclassical axioms over HA
We now investigate the equivalence
$\mathrm {E}[\mathbb {P}]$
for semi-classical axioms over Heyting arithmetic
$\mathbf {HA}$
. Typical examples are the restricted versions of the
$\mathbf {DNE}$
and the
$\mathbf {LEM}$
, which were systematically investigated in [Reference Akama, Berardi, Hayashi and Kohlenbach2, Reference Fujiwara and Kurahashi12]. We begin by recalling the standard notation.
Definition 6.12. We inductively define the classes
$\Sigma _n$
,
$\Pi _n$
of
$\mathcal {L}_{\mathrm {Arith}}$
-formulas as follows:
$\Sigma _0 = \Pi _0$
is the set of all quantifier-free formulas, while
$\Sigma _{n+1}$
and
$\Pi _{n+1}$
are defined by
$\Sigma _{n+1} \ {:}{=}\ \{\, \exists x_1 \dots \exists x_k \varphi \mid \varphi \in \Pi _{n}, \, 0\leq k\,\}$
and
$\Pi _{n+1} \ {:}{=}\ \{\, \forall x_1 \dots \forall x_k \varphi \mid \varphi \in \Sigma _{n}, \, 0\leq k\,\}$
. The class
$\Pi _n \lor \Pi _n$
denotes the set of formulas of the form
$\varphi \lor \psi $
where
$\varphi $
,
$\psi \in \Pi _n$
. For a class
$\Gamma $
of
$\mathcal {L}_{\mathrm {Arith}}$
-formulas, the following axiom schemes restricted to
$\Gamma $
are defined:
Remark 6.13. By formalizing Post’s theorem in
$\mathbf {HA}$
, one obtains a universal formula
$\varphi _{\Sigma _{n}}[e, x]$
for
$\Sigma _{n}$
for each
$n\geq 1$
. That is, for any
$\Sigma _{n}$
formula
$\psi [x]$
, there exists a numeral
$e_{\psi }$
such that
$\mathbf {HA} \vdash \forall x. (\varphi _{\Sigma _{n}}[e_{\psi }, x] \leftrightarrow \psi [x])$
. Similar results hold for
$\Pi _{n}$
and
$\Pi _{n}\lor \Pi _{n}$
. For example, we may define
$\varphi _{\Sigma _{1}} \ {:}{=}\ \exists w. T[e, x, w]$
and
$\varphi _{\Pi _{1}}\ {:}{=}\ \forall w. \lnot T[e, x, w]$
, where T is Kleene’s T-predicate.
Thus, if we assume
${\Sigma _{0}}\text {-}\mathbf {DNE} \ {:}{=}\ (0=0)$
, then for any natural number n, the axiom scheme
${\Sigma _{n}}\text {-}\mathbf {DNE}$
can be regarded as a single formula in
$\mathbf {HA}$
. Accordingly, we will use
${({\Sigma _{n}}\text {-}\mathbf {DNE})}^{*}[j]$
as a single formula. Similarly for
$\mathrm {Trp}_{\Sigma _{n+1}}^{j}[k]$
and
$\mathrm {Trp}_{\Pi _{n+1}}^{j}[k]$
.
Since the classes
$\Sigma _{n}$
and
$\Pi _{n}$
in Definition 6.12 consist of prenex normal formulas, Proposition 6.2 immediately implies the following corollary.
Corollary 6.14. Let
$\mathcal {E}$
be an elementary topos with a natural numbers object. For any
$\mathcal {L}_{\mathrm {Arith}}$
-formula
$\varphi $
in
$\Sigma _{n}$
,
$\Pi _{n}$
, or
$\Pi _{n}\lor \Pi _{n}$
for a natural number
$n\in \mathbb {N}$
, the equivalence
$\mathcal {E}\models \forall \mathbb {P}\subseteq \mathrm {Lop}. \mathrm {E}_{\varphi }[\mathbb {P}]$
holds.
Furthermore, the following lemma can be proven internally. This result is a j-relativized version of [Reference Nakata, Murano and Silva31, Lemma 29].
Proposition 6.15. Let
$\mathcal {E}$
be an elementary topos with a natural numbers object. For any natural number n, the following implication holds:
Proof. By induction on n. First, we show the base case
$n=0$
. Let R be an arbitrary atomic
$\mathcal {L}_{\mathrm {Arith}}$
-formula. Then the assumption
$j\leq k$
and Lemma 6.7(1) imply
$\mathrm {Trp}_{R}^{j}[k]$
. From Lemma 6.7(3), we have
$\mathrm {Trp}_{\Sigma _{1}}^{j}[k]$
. Since
$\lnot \lnot {R} \rightarrow {R}$
is provable in
$\mathbf {HA}$
, it holds in
$\mathcal {E}$
. By Lemma 6.10(1) and (2), we obtain
$\mathrm {Cl}_{R}^{j}[k]$
. Combined this with
$\mathrm {Trp}_{R}^{j}[k]$
and Lemma 6.7(4), we get
$\mathrm {Trp}_{\Pi _{1}}^{j}[k]$
.
Next, consider the induction step. Since
${({\Sigma _{n+1}}\text {-}\mathbf {DNE})}^{*}[j]$
clearly implies
${({\Sigma _{n}}\text {-}\mathbf {DNE})}^{*}[j]$
,
$\mathrm {Trp}_{\Pi _{n+1}}^{j}[k]$
and
$\mathrm {Trp}_{\Sigma _{n+1}}^{j}[k]$
follow from the induction hypothesis. In addition, we obtain
$\mathrm {Cl}_{\Sigma _{n+1}}^{j}[k]$
by Lemma 6.10(2). The rest of the argument is the same as the base case
$n=0$
by replacing R with
$\Sigma _{n+1}$
.
Our goal has been to characterize the conditions under which a lop-frame
$\mathbb {P}$
satisfies
$\mathrm {E}[\mathbb {P}]$
for semi-classical axioms over
$\mathbf {HA}$
. Combining the results above, we obtain the following sufficient condition.
Theorem 6.16. Let
$\mathcal {E}$
be an elementary topos with a natural numbers object and n be a natural number. Suppose that
$\Gamma $
is one of the classes
$\{\, \Sigma _{n+1}, \Pi _{n+1}, \Pi _{n+1}\lor \Pi _{n+1}, \Sigma _{n+2}\,\}$
and
$\mathrm {Ax}$
denote the axiom scheme
$\mathbf {DNE}$
or
$\mathbf {LEM}$
. Then the following implication holds:
Proof. Assume that
$\mathbb {P}$
and j satisfy the antecedent. Let
$\varphi [\vec {x}]$
be an
$\mathcal {L}_{\mathrm {Arith}}$
-formula in
$\Gamma $
. By Corollary 6.14, we have
$\mathrm {E}_{\varphi }[\mathbb {P}]$
. From the assumption
$\forall k\in \mathbb {P}. (j\leq k)$
, Proposition 6.15, and Lemma 6.7(3) and (4), we obtain
$\forall k\in \mathbb {P}. \mathrm {Trp}_{\varphi }^{j}[k]$
. Consequently, both
$\mathrm {E}_{\forall \vec {x}. (\varphi \lor \lnot \varphi )}[\mathbb {P}]$
and
$\mathrm {E}_{\forall \vec {x}. (\lnot \lnot \varphi \rightarrow \varphi )}[\mathbb {P}]$
follow from Propositions 6.11 and 6.5.
6.4 Separation by
$\mathbb {P}$
-realizability
Using the results establishing so far, we now demonstrate a separation proof for semi-classical axioms via
$\mathbb {P}$
-realizability. We here emphasize the distinction between our approach and the usual j-realizability. Regarding j-realizability, the following result is well known (see, e.g., [Reference Akama, Berardi, Hayashi and Kohlenbach2]; a more detailed analysis appears in [Reference Nakata, Murano and Silva31, Corollary 47]).
Example 6.17. For any natural number n, let
$\emptyset ^{(n)}$
denote the degree of the n-th Turing jump, and let
$j_{n}$
be the local operator corresponding to
${\emptyset ^{(n)}}$
. Then
${\Sigma _{n+1}}\text {-}\mathbf {DNE}$
and
${\Pi _{n}\lor \Pi _{n}}\text {-}\mathbf {DNE}$
are
$j_{n}$
-realizable, while
${\Pi _{n+1}\lor \Pi _{n+1}}\text {-}\mathbf {DNE}$
is not.
Combining the soundness of j-realizability for
$\mathbf {HA}$
, this result implies that
$\mathbf {HA} + {\Sigma _{n+1}}\text {-}\mathbf {DNE}$
does not prove
${\Pi _{n+1}\lor \Pi _{n+1}}\text {-}\mathbf {DNE}$
. In this way, j-realizabilities apply to separation problems. Indeed, Kihara [Reference Kihara23] establishes numerous separation results for axioms over intuitionistic set theory
$\mathbf {IZF}$
by combining j-realizability with McCarty realizability.
However, the following proposition indicates a limitation of j-realizability regarding the double negated variants of axioms.
Proposition 6.18. For any
$\mathcal {L}_{\mathrm {Arith}}$
-sentence
$\varphi $
and any local operator j in
$\mathcal {E}\textit{ff}$
, the following implication holds externally:
Proof. The case where j is degenerate is trivial. Suppose that j is non-degenerate and
$\mathcal {E}\textit{ff} \models {(\lnot \lnot \varphi )}^{j}$
. Since j is dense in
$\mathcal {E}\textit{ff}$
,
${(\lnot \lnot \varphi )}^{j}$
is equivalent to
$\lnot \lnot ({\varphi }^{j})$
, which implies that the predicate
$\lnot \lnot [\![ {\varphi }^{j}]\!] $
is realizable. As we have seen in Remark 6.9,
$[\![ {\varphi }^{j}]\!] $
is also realizable. We thus obtain
$\mathcal {E}\textit{ff}\models {\varphi }^{j}$
.
This limitation reflects the fact that if j is non-degenerate, the lattice
$\mathrm {Sub}_{\mathcal {E}\textit{ff}_{j}}(1)$
of subterminal objects is boolean. In constructive mathematics, the double negated variant
$\lnot \lnot T \ {:}{=}\ \{\, \lnot \lnot \varphi \mid \varphi \in T\,\}$
of an axiom scheme T often arises naturally. For instance, [Reference Fujiwara and Kohlenbach10] provides a systematic study on such variants. Despite their importance, Proposition 6.18 shows that j-realizability is not effective for separating these variants.
In contrast, our
$\mathbb {P}$
-realizability can separate such double negated variant, as shown below.
Theorem 6.19. For any natural number n, there exists a lop-frame
$\mathbb {P}_{n}$
and a local operator
$j_{n}$
in
$\mathcal {E}\textit{ff}$
such that
${\Sigma _{n+1}}\text {-}\mathbf {DNE} + \lnot \lnot ({\Pi _{n+1}\lor \Pi _{n+1}}\text {-}\mathbf {DNE})$
is
$\mathbb {P}_{n}$
-realizable at
$j_{n}$
, while
${\Pi _{n+1}\lor \Pi _{n+1}}\text {-}\mathbf {DNE}$
is not. Therefore, the following underivability result holds:
This theorem indicates not only that
$\mathbb {P}$
-realizability is useful for separation problems but also that it is a genuine generalization of j-realizability.
Corollary 6.20. For any local operator j in
$\mathcal {E}\textit{ff}$
,
$\mathbb {P}_{n}$
-realizability at
$j_{n}$
in Theorem 6.19 does not coincide with j-realizability.
Most lemmas required for the proof of Theorem 6.19 have already been established in the previous sections. It remains only to note the following lemma.
Lemma 6.21. Let
$\varphi $
be an
$\mathcal {L}_{X}$
-sentence. Let
$S\subseteq \mathrm {DLop}(\mathcal {E}\textit{ff})$
be a uniform subset of dense local operators, and consider the standard lop-frame
$\mathbb {P}_{S}$
for S. Suppose that a local operator
$j\in S$
satisfies the following condition: for any
$k\in S \cap \uparrow (j)$
, there exists
$\ell \in S \cap \uparrow (k)$
such that
$\varphi $
is
$\mathbb {P}_{S}$
-realizable at
$\ell $
.
Then,
$\lnot \lnot \varphi $
is
$\mathbb {P}$
-realizable at j.
Proof. Recall from Lemma 5.13(2) that
$\mathcal {E}\textit{ff} \models (\mathbb {P}_{S} \subseteq \mathrm {DLop})$
holds. Then
$j\Vdash _{\mathbb {P}_{S}} \lnot \lnot \varphi $
is equivalent to the following formula internally:
Furthermore, since S is uniform, Lemma 5.14(1) implies that
$[\![ j\Vdash _{\mathbb {P}_{S}} \lnot \lnot \varphi ]\!] $
is equivalent to the following predicate:
The assumption on S and j ensures that this last predicate is realizable.
Proof of Theorem 6.19
We define a sequence of partial functions
$\{\, f_{n} \,\}_{n\in \mathbb {N}}$
such that each
$f_{n}$
has the Turing degree corresponding
$\emptyset ^{(n)}$
, and satisfies
$f_{n}\subseteq f_{n+1}$
for all n. Let
$j_{n}\ {:}{=}\ j_{f_{n}}$
by the construction in Definition 5.17. By the first part of Theorem 5.20, the set
$S_{n} \ {:}{=}\ \{\, j_{n}, j_{n+1}\,\}$
forms a uniform subset of
$\mathrm {Lop}(\mathcal {E}\textit{ff})$
. Therefore, regarding the standard lop-frame
$\mathbb {P}_{n}\ {:}{=}\ \mathbb {P}_{S_{n}}$
for
$S_{n}$
, we observe the following:
-
(1) Since $S_{n}\subseteq \mathrm {DLop}(\mathcal {E}\textit{ff})$
, Lemma 5.13(2) implies that
$\mathcal {E}\textit{ff}\models \mathbb {P}_{n}\subseteq \mathrm {DLop}$
. -
(2) Since $j_{n}$
is minimum in
$S_{n}$
, Lemma 5.14(3) implies that
$\mathcal {E}\textit{ff}\models \forall k\in \mathbb {P}_{n}.$
$(j_{n}\leq k)$
. -
(3) Furthermore, as we have seen in Example 6.17, $\mathcal {E}\textit{ff}\models {({\Sigma _{n}}\text {-}\mathbf {DNE})}^{*}[j_{n}]$
holds.
Thus, by Theorem 6.16, for any
$j\in S_{n}$
and any T in
$\{\, {\Sigma _{n+1}}\text {-}\mathbf {DNE},\, \Pi _{n+1}$
$\lor \Pi _{n+1}\text {-}\mathbf {DNE} \,\}$
, the following equivalence holds:
In particular, by Example 6.17, we obtain that
${\Sigma _{n+1}}\text {-}\mathbf {DNE}$
is
$\mathbb {P}_{n}$
-realizable at
$j_{n}$
, while
${\Pi _{n+1}\lor \Pi _{n+1}}\text {-}\mathbf {DNE}$
is not. On the other hand, since
${\Pi _{n+1}\lor \Pi _{n+1}}\text {-}\mathbf {DNE}$
is
$\mathbb {P}_{n}$
-realizable at
$j_{n+1}$
, it follows from Lemma 6.21 that
$\lnot \lnot ({\Pi _{n+1}\lor \Pi _{n+1}}\text {-}\mathbf {DNE})$
is
$\mathbb {P}_{n}$
-realizable at
$j_{n}$
. Thus, combining these with the soundness of
$\mathbb {P}$
-realizability for
$\mathbf {HA}$
, we obtain the desired separation.
Remark 6.22. Here, we discuss the proof-theoretic significance of our separation result by explaining why the two axioms,
${\Pi _{n}\lor \Pi _{n}}\text {-}\mathbf {DNE}$
and
${\Sigma _{n}}\text {-}\mathbf {DNE} + \lnot \lnot ({\Pi _{n}\lor \Pi _{n}}\text {-}\mathbf {DNE})$
, are of interest in intuitionistic proof theory. As is well known, the prenex normal form theorem (hereafter the
$\mathrm {PNFT}$
) does not generally hold in intuitionistic theories. Fujiwara and Kurahashi [Reference Fujiwara and Kurahashi11] investigated the strength of the
$\mathrm {PNFT}$
in the hierarchy of semi-classical arithmetic. They specifically focused on the classes
$\mathrm {E}_{n}$
and
$\mathrm {U}_{n}$
, which are classically equivalent to
$\Sigma _{n}$
and
$\Pi _{n}$
, respectively. In this context, they established the following results:
-
(1) $\mathbf {HA} + {\Pi _{n}\lor \Pi _{n}}\text {-}\mathbf {DNE}$
is sufficient to prove the
$\mathrm {PNFT}$
for
$\mathrm {U}_{n}$
[Reference Fujiwara and Kurahashi11, Theorem 5.3]. Furthermore, it is necessary in a precise sense [Reference Fujiwara and Kurahashi11, Theorem 7.3]. -
(2) $\mathbf {HA} + {\Sigma _{n}}\text {-}\mathbf {DNE} + \lnot \lnot ({\Pi _{n}\lor \Pi _{n}}\text {-}\mathbf {DNE})$
is sufficient to prove the
$\mathrm {PNFT}$
for
$\mathrm {E}_{n}$
[Reference Fujiwara and Kurahashi11, Theorem 5.3 and Corollary 5.4] (see also [Reference Fujiwara and Kurahashi11, Remark 5.5] for an interesting discussion).
Thus, these two theories exhibit distinct properties concerning the
$\mathrm {PNFT}$
. It is known that the underivability of the latter from the former follows from the monotone modified realizability interpretation [Reference Akama, Berardi, Hayashi and Kohlenbach2, Reference Kohlenbach24]. However, to the best of the author’s knowledge, the underivability in the opposite direction had not been confirmed.
As a related problem, an erratum [Reference Kohlenbach25] to [Reference Akama, Berardi, Hayashi and Kohlenbach2] shows that
${\mathrm {E}_{n}}\text {-}\mathbf {DNE}$
does not imply
${\Sigma _{n}}\text {-}\mathbf {LLPO}$
over
$\mathbf {HA}$
for
$n=1$
. Its proof relies on functional interpretation by bar-recursive functionals. To extend this proof to the general case for any n, a relativization argument would be required. On the other hand, our Theorem 6.19 not only shows this separation as a corollary, but also establishes it for the general case of any n because
${\mathrm {E}_{n}}\text {-}\mathbf {DNE}$
follows from
${\Sigma _{n}}\text {-}\mathbf {DNE} + \lnot \lnot ({\Pi _{n}\lor \Pi _{n}}\text {-}\mathbf {DNE})$
(by the
$\mathrm {PNFT}$
), and
${\Sigma _{n}}\text {-}\mathbf {LLPO}$
is equivalent to
${\Pi _{n}\lor \Pi _{n}}\text {-}\mathbf {DNE}$
under
${\Sigma _{n-1}}\text {-}\mathbf {DNE}$
. As a comparison, the argument in [Reference Kohlenbach25] is useful in that it establishes the underivability of
${\Sigma _{1}}\text {-}\mathbf {LLPO}$
even in the presence of
$\mathrm {DNS}$
(double negation shift) for arbitrary formulas. Nevertheless, we believe that our proof is more elementary and direct.
7 Conclusion
Indeed, Theorem 6.19 was obtained using
$\mathbb {P}$
-realizability with a standard lop-frame. While this result is still interesting because its proof relies mostly on syntactic arguments, it might not be considered an application beyond the framework of de Jongh–Goodman realizability. Nevertheless, there are many non-standard lop-frames in the effective topos. Exploring non-trivial applications based on such non-standard lop-frames is left for future work.
Furthermore, we have restricted our attention to first-order formulas in this article. As mentioned in the Introduction, Goodman’s theorem, which is one of the important applications of de Jongh–Goodman realizability, is a conservation result on Heyting arithmetic in all finite types. This strongly motivates us to extend our translation to finite-type systems. For such an extension, we expect that “change of type” will be essential (similar to the
$L_{j}$
-translation introduced in Section 3.2). The main reason is that the associated sheaf functor does not preserve exponentials in general. The necessity of such type changes also appears in the previous study on the j-translation for Gödel’s system
$\mathrm {T}$
[Reference Xu40]. The internal Kripke frame considered in Section 4.2 and the internal sheaf topos discussed in Section 4.6 will be helpful guides for this extension. By investigating these semantic structures, we expect to find an appropriate way to extend our translation to finite-type systems, second-order logic, and even higher-order logic. We leave these topics for future research.
Acknowledgments
The author would like to thank Benno van den Berg, Makoto Fujiwara, and Dick de Jongh for careful reading of the manuscript and their helpful comments. In particular, special thanks are due to Benno van den Berg for pointing out the existence of a topos corresponding to our translation. The author is also grateful to Gerard Glowacki, Koshiro Ichikawa, Akihito Kajikawa, Masamori Kaku, Takayuki Kihara, Ulrich Kohlenbach, and Jaap van Oosten for valuable discussions.
Funding
This work was partially supported by JSPS KAKENHI Grant Number 25KJ0161.