This paper justifies a hierarchical classification of first-order formulas within a general first-order theory context, linking it to prenex normalization procedures and standard classes like and .
Contribution
It formalizes the prenex normalization process and shows the classes _k and _k correspond to _k and _k classes under this process in any first-order theory.
Findings
01
Classes _k and _k are exactly the classes induced by _k and _k via prenex normalization.
02
The hierarchical classification applies broadly in first-order theories.
03
The paper provides a formal justification for the classification scheme.
Abstract
Akama et al. [1] introduced a hierarchical classification of first-order formulas for a hierarchical prenex normal form theorem in semi-classical arithmetic. In this paper, we give a justification for the hierarchical classification in a general context of first-order theories. To this end, we first formalize the standard transformation procedure for prenex normalization. Then we show that the classes Ek and Uk introduced in [1] are exactly the classes induced by Σk and Πk respectively via the transformation procedure in any first-order theory.
Tables1
1
2
3-
4-
5-
6-
7-
8-
Equations10
HA+Σk-DNE+Uk-DNS⊢φ↔φ′;
HA+Σk-DNE+Uk-DNS⊢φ↔φ′;
HA+(Πk∨Πk)-DNE⊢φ↔φ′.
HA+(Πk∨Πk)-DNE⊢φ↔φ′.
deg(φ):=max{l(s)∣s∈Alt(φ)}.
deg(φ):=max{l(s)∣s∈Alt(φ)}.
Σk(PA):={φ∣there exists ψ∈Σk such that FV(φ)=FV(ψ) and PA⊢φ↔ψ}
Σk(PA):={φ∣there exists ψ∈Σk such that FV(φ)=FV(ψ) and PA⊢φ↔ψ}
PA⊢ξ↔τ(┌ξ∧ψ┐).
PA⊢ξ↔τ(┌ξ∧ψ┐).
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical Methods and Algorithms · Polynomial and algebraic computation · Logic, programming, and type systems
Full text
Prenex normalization and the hierarchical classification of formulas
Makoto Fujiwara111Email: [email protected]
222Department of Applied Mathematics, Faculty of Science Division I, Tokyo University of Science, 1-3 Kagurazaka, Shinjuku-ku, Tokyo 162-8601, Japan.
and Taishi Kurahashi333Email: [email protected]
444Graduate School of System Informatics,
Kobe University,
1-1 Rokkodai, Nada, Kobe 657-8501, Japan.
Abstract
Akama et al. [1] introduced a hierarchical classification of first-order formulas for a hierarchical prenex normal form theorem in semi-classical arithmetic.
In this paper, we give a justification for the hierarchical classification in a general context of first-order theories.
To this end, we first formalize the standard transformation procedure for prenex normalization.
Then we show that the classes Ek and Uk introduced in [1] are exactly the classes induced by Σk and Πk respectively via the transformation procedure in any first-order theory.
1 Introduction
We study the prenex normalization of first-order formulas by the standard reduction procedure without any reference to the notion of derivability.
The prenex normal form theorem states that for any first-order theory based on classical logic, every formula is equivalent (over the theory in question) to some formula in prenex normal form (cf. [6, pp. 160–161]).
This theorem is verified by using the fact that several transformations of formulas moving quantifiers in the formula from inside to outside in a suitable way preserve the validity with respect to first-order classical logic (cf. [13, pp. 37–38]).
For example, if x is not contained in δ, then ∀xξ(x)→δ is transformed into ∃x(ξ(x)→δ) with preserving classical validity because they are classically equivalent.
For each first-order formula, one can obtain an equivalent formula in prenex normal form by the following procedure:
Apply the above mentioned transformations finitely many times to the subformulas of the form A∘B with A and B in prenex normal form where ∘∈{∧,∨,→}, and transform the subformulas into equivalent formulas in prenex normal form;
2. 2.
Repeating this procedure until when all subformulas become to be in prenex normal form.
In contrast, the prenex normal form theorem does not hold for intuitionistic theories.
For example, (∀xξ(x)→δ)→∃x(ξ(x)→δ) is not provable in intuitionistic logic, and then the above procedure does not yield an intuitionistically equivalent formula in prenex normal form.
Therefore the classical hierarchy of Σk and Πk formulas, which is based on prenex formulas, does not make sense for intuitionistic theories.
Based on this fact, for intuitionistic theories, several kinds of hierarchical classes corresponding to Σk and Πk have been introduced and studied from different perspectives respectively.
Some hierarchical classes were studied from the perspective of decidability and computational complexity (cf. [11, 12]), some others were from the perspective of syntactic preservation theorems with respect to Kripke semantics (cf. [7]), and some others (for arithmetic) were from the perspective of proof-theoretic strength (cf. [4]).
A related work can be found in [10].
In addition, another approach has been developed recently in [3].
Among these attempts, Akama, Berardi, Hayashi and Kohlenbach [1] introduced the classes Ek and Uk of formulas corresponding to Σk and Πk respectively, and argued that a hierarchical prenex normal form theorem for these classes holds for certain theories of semi-classical arithmetic.
Their classes Ek and Uk are non-cumulative, that is, Ek′ is not a subclass of Ek for k′<k.
In [8], the authors introduced the cumulative variants Ek+ and Uk+, and corrected the hierarchical prenex normal form theorem argued in [1] as follows (cf. [8, Theorem 5.3]): for a HA-formula φ,
if φ∈Ek+, then there exists a φ′∈Σk such that
[TABLE]
if φ∈Uk+, then there exists a φ′∈Πk such that
[TABLE]
In addition, the authors studied in [9] the conservation theorems on semi-classical arithmetic with respect to those classes.
The class Ek+ (resp. Uk+) is intended to form the class of formulas which are classically equivalent to some Σk-formula (resp. Πk-formula).
In addition, as mentioned in [1], the class Pk is intended to represent the set of Δk+1-formulas, namely, formulas which is equivalent to some Σk+1-formula and also to some Πk+1-formulas.
Note that every formula with quantifier occurrences is classified into exactly one of Ek+1, Uk+1 and Pk+1
as mentioned in [1].
There is, however, some room for discussion on the hierarchical classes.
Firstly, the classical transformation should be distinguished from the equivalence over a classical theory.
In fact, the class of formulas which are transformed into some formula in Σk by the above mentioned procedure is different from the class of formulas which are equivalent to some formula in Σk over a classical theory (cf. Remark 2.5).
Secondly, despite the intention behind the definition of the class Ek+ (resp. Uk+), the definition does not exclude the possibility that it does not cover all the formulas which are classically transformed into some Σk-formula (resp. Πk-formula).
Thus a proper justification for the classes is still missing.
Motivated by these issues, in this paper, we give a proper justification for the hierarchical classes.
In particular, we formalize the above mentioned procedure for prenex normalization and investigate the relation between the classes of prenex formulas and the hierarchical classes in [1, 8] modulo the transformation procedure.
Although classes Ek,Uk,Fk,Pk,Ek+,Uk+ and Fk+ are studied in the context of arithmetic in [1, 8], they can be defined in a general context.
In this paper, we reformulate the classes in a general language of a first-order theory.
Then we first show that a formula is in Ek+ (resp. Uk+) if and only if it can be transformed into a formula in Σk+ (resp. Πk+) by the transformation procedure, where Σk+ and Πk+ are cumulative variants of Σk and Πk in the general first-order language, respectively.
Then it follows that a formula is in Fk+ if and only if it can be transformed into a formula in Σk+1+ and also into a formula in Πk+1+ by the transformation procedure.
By the results for the cumulative classes, it also follows that non-cumulative classes Ek, Uk and Pk (except P0) are the cumulative counterparts of Σk, Πk and Δk+1 respectively modulo the transformation procedure (cf. Theorem 4.8).
All of our proofs in this paper are purely syntactic.
2 Preliminaries
We work with a standard formulation of first-order theories with all the logical constants ∀,∃,→,∧,∨ and ⊥ in the language.
Note that ¬φ and φ↔ψ are the abbreviations of (φ→⊥) and (φ→ψ)∧(ψ→φ) respectively in our context.
Throughout this paper, let k be a natural number (possibly [math]).
The classes Σk and Πk are defined as follows (cf. [5, pp. 142–143]):
•
Let Σ0 and Π0 be the class of all quantifier-free formulas;
•
Σk+1:={∃x1,…,xnφ∣φ∈Πk};
•
Πk+1:={∀x1,…,xnφ∣φ∈Σk};
where n≥1.
Let FV(φ) denote the set of all free variables in φ.
Their cumulative variants Σk+ and Πk+ are defined as follows:
•
Σk+:=Σk∪i<k⋃Σi∪i<k⋃Πi;
•
Πk+:=Πk∪i<k⋃Σi∪i<k⋃Πi.
A formula φ is in prenex normal form if φ is in Σk∪Πk for some k.
In the following, we reformulate classes Ek,Uk,Fk,Pk,Ek+,Uk+ and Fk+ introduced in [1, 8] in our general context (namely, in the language of an arbitrary given first-order theory).
In [1], classes Ek,Uk,Fk and Pk are described informally in the context of first-order arithmetic.
In this paper, we employ the formal definitions given in [8, Definition 2.11].
Note that our definition of P0 is different from that in [1] where P0 is the set of quantifier-free formulas.
An alternation path is a finite sequence of + and − in which + and − appear alternatively.
For an alternation path s, let i(s) denote the first symbol of s if s≡⟨⟩ (empty sequence); × if s≡⟨⟩.
Let s⊥ denote the alternation path which is obtained by switching + and − in s, and let l(s) denote the length of s.
For a formula φ, the set of alternation paths Alt(φ) of φ is defined as follows:
•
If φ is quantifier-free, then Alt(φ):={⟨⟩};
•
Otherwise, Alt(φ) is defined inductively by the following clauses:
–
If φ≡φ1∧φ2 or φ≡φ1∨φ2, then Alt(φ):=Alt(φ1)∪Alt(φ2);
–
If φ≡φ1→φ2, then Alt(φ):={s⊥∣s∈Alt(φ1)}∪Alt(φ2);
–
If φ≡∀xφ1, then Alt(φ):={s∣s∈Alt(φ1) and i(s)≡−}∪{−s∣s∈Alt(φ1) and i(s)≡−};
–
If φ≡∃xφ1, then Alt(φ):={s∣s∈Alt(φ1) and i(s)≡+}∪{+s∣s∈Alt(φ1) and i(s)≡+}.
In addition, for a formula φ, the degree deg(φ) of φ is defined as
[TABLE]
Definition 2.1**.**
Classes Fk,Uk,Ek,Pk,Fk+,Uk+,Ek+ and Pk+ are defined as follows:
•
Fk:={φ∣deg(φ)=k};Fk+:={φ∣deg(φ)≤k};**
•
U0:=E0:=F0(=Σ0=Π0);
•
Uk+1:={φ∈Fk+1∣i(s)≡− for all s∈Alt(φ) such that l(s)=k+1};
•
Ek+1:={φ∈Fk+1∣i(s)≡+ for all s∈Alt(φ) such that l(s)=k+1};
•
Pk:=Fk∖(Ek∪Uk)* (note that P0=∅);*
•
Uk+:=Uk∪i<k⋃Fi;Ek+:=Ek∪i<k⋃Fi.
Remark 2.2**.**
Every formula with quantifier occurrences is classified into exactly one of Ek+1, Uk+1 and Pk+1 for some k.
The distinction between Ek and Ek+ (as well as that for Uk and Uk+) is normally redundant since they are equivalent over a standard theory (cf. [8, Lemma 4.6]).
For our investigation, however, the distinction is crucial because we focus on forms of formulas without mentioning any derivability relation.
Lemma 2.3**.**
Ek+1∩Uk+1+=Uk+1∩Ek+1+=∅.
2. 2.
Fk+=Ek+1+∩Uk+1+=Pk∪Ek+∪Uk+.
Proof.
(1):
Suppose that φ∈Ek+1∩Uk+1+.
Since φ∈Ek+1, we have φ∈Fk+1 and deg(φ)=k+1, and hence, φ∈Uk+1.
Then there exists s∈Alt(φ) such that l(s)=k+1 and i(s)=−, which contradicts φ∈Ek+1.
Thus we have shown that Ek+1∩Uk+1+=∅.
The proof of Uk+1∩Ek+1+=∅ is similar.
(2):
Fk+⊆Ek+1+∩Uk+1+ is trivial by definition.
If the inclusion is proper, we have (Ek+1+∩Uk+1+)∖Fk+=∅, and hence, Ek+1∩Uk+1=∅, which contradicts (1).
Thus we have shown that Fk+=Ek+1+∩Uk+1+.
The equality Fk+=Pk∪Ek+∪Uk+ is trivial.
∎
The following lemma is the reformulation of [8, Lemma 4.5] in our general context.
The proof is exactly the same as for [8, Lemma 4.5].
Lemma 2.4**.**
The following hold for all k.
A formula φ1∧φ2 is in Uk+ (resp. Ek+) if and only if both of φ1 and φ2 are in Uk+ (resp. Ek+).
2. 2.
A formula φ1∨φ2 is in Uk+ (resp. Ek+) if and only if both of φ1 and φ2 are in Uk+ (resp. Ek+).
3. 3.
A formula φ1→φ2 is in Uk+ (resp. Ek+) if and only if φ1 is in Ek+ (resp. Uk+) and φ2 is in Uk+ (resp. Ek+).
4. 4.
A formula ∀xφ1 is in Uk+ if and only if φ1 is in Uk+.
5. 5.
A formula ∃xφ1 is in Ek+ if and only if φ1 is in Ek+.
6. 6.
A formula ∀xφ1 is in Ek+1+ if and only if it is in Uk+.
7. 7.
A formula ∃xφ1 is in Uk+1+ if and only if it is in Ek+.
Remark 2.5**.**
In contrast to that the classes in Definition 2.1 are computable, arithmetical classes defined by using provable equivalence are not computable in general.
For example, for each natural number k,
[TABLE]
is not computable:
Suppose that Σk(PA) is computable.
Then there exists a formula τ(x) such that
•
φ∈Σk(PA)* implies PA⊢τ(┌φ┐);*
•
φ∈/Σk(PA)* implies PA⊢¬τ(┌φ┐);*
where ┌φ┐ is the Gödel number of φ.
Fix a sentence ψ∈/Σk(PA).
By the fixed point theorem (cf. [2, p. 54]), there exists a sentence ξ such that
[TABLE]
Suppose ξ∧ψ∈Σk(PA).
Then PA⊢τ(┌ξ∧ψ┐).
By (1), we have PA⊢ξ, and hence, PA⊢ψ↔ξ∧ψ.
Since ψ∈/Σk(PA), we have ξ∧ψ∈/Σk(PA), which is a contradiction.
Suppose ξ∧ψ∈/Σk(PA).
Then PA⊢¬τ(┌ξ∧ψ┐).
By (1), we have PA⊢¬ξ, and hence, PA⊢0=1↔ξ∧ψ.
Then we have ξ∧ψ∈Σk(PA), which is a contradiction.
3 Prenex normalization
In this section, we formalize the notion of prenex transformation and study the basic property of the transformation.
Then we show a basic theorem (cf. Theorem 3.9) on prenex normalization with respect to the transformation, which will be investigated in more detail in the next section.
Definition 3.1**.**
Let φ and ψ be any formulas.
We say that ψ is a prenex transformation of φ, written as φ⇝ψ, if φ and ψ match one of the eight rows in the following table: for some formulas ξ and δ, variables x∈/FV(δ) and y where y does not appear in ξ, and a quantifier Q∈{∀,∃}.
Remark 3.2**.**
Note that φ and ψ such that φ⇝ψ are equivalent over first-order classical logic.
Thus ⇝ is a classically valid transformation.
On the other hand, intuitionistic logic does not admit translations 2 and 3-∃ as well as the converses of 6-∀ and 7-∀.
Definition 3.3**.**
We write φ⇝∗ψ if ψ is obtained from φ by repeating prenex transformations finitely many times to a subformula recursively.
More formally, we write φ⇝∗ψ if there exist a natural number k and finite sequences φ0,…,φk−1,φk, ξ0,…,ξk−1, and δ0,…,δk−1 of formulas such that φ≡φ0, ψ≡φk, and for any i<k, ξi⇝δi and φi+1 is obtained by replacing an occurrence of a subformula ξi in φi with δi.
The following propositions are trivial.
Proposition 3.4**.**
The binary relation ⇝∗ is reflexive and transitive.
Proposition 3.5**.**
Suppose φ⇝∗ψ.
Then,
FV(φ)=FV(ψ).
2. 2.
φ* and ψ have the same number of quantifiers.*
3. 3.
φ* and ψ have the same number of logical connectives.*
Proposition 3.6**.**
If φ⇝∗ψ, then φ is equivalent to ψ in classical first-order predicate logic.
Lemma 3.7**.**
If ψ is obtained by replacing an occurrence of a subformula ξ in φ with δ such that ξ⇝∗δ, then φ⇝∗ψ.
Proof.
Fix an occurrence of a subformula ξ in φ.
Since ξ⇝∗δ, there exist a natural number k and finite sequences ξ0,…,ξk−1,ξk, ρ0,…,ρk−1, and η0,…,ηk−1 such that ξ≡ξ0, δ≡ξk, and for any i<k, ρi⇝ηi and ξi+1 is obtained by replacing an occurrence of ρi in ξi with ηi.
We define a finite sequence φ0,…,φk of formulas inductively as follows:
•
φ0:≡φ.
•
φi+1 is obtained by replacing the occurrence of ξi in φi with ξi+1.
Since ξi+1 is obtained by replacing the occurrence of ρi in ξi with ηi, we find that φi+1 is also obtained by replacing the occurrence of ρi in φi with ηi.
Also, one can show by induction that for each i<k, φi+1 is obtained from φ by replacing the occurrence of ξ in φ with ξi+1.
Then, we have φk≡ψ because ξk≡δ.
Therefore, we obtain φ⇝∗ψ.
∎
We show that every formula is transformed into a formula in prenex normal form by applying ⇝∗.
Definition 3.8**.**
For each formula φ, let PNF(φ) be the set {ψ∣φ⇝∗ψ and ψ is in prenex normal form}.
Theorem 3.9**.**
For any formula φ, PNF(φ)=∅.
Proof.
We prove the theorem by induction on the number of quantifiers contained.
If φ contains no quantifiers, then φ∈PNF(φ) by Proposition 3.4.
Suppose that the theorem holds for formulas containing at most n quantifiers.
In what follows, we prove by induction on the number of logical connectives that the theorem holds for formulas containing exactly n+1 quantifiers.
Suppose also that the theorem holds for formulas containing less than k logical connectives.
Let φ contain exactly k logical connectives and exactly n+1 quantifiers.
If φ is of the form Qxψ for some Q∈{∀,∃} and ψ, then ψ contains exactly n quantifiers.
By the induction hypothesis, there exists a ψ′∈PNF(ψ) such that ψ⇝∗ψ′.
By Lemma 3.7, we obtain Qxψ⇝∗Qxψ′.
Therefore, Qxψ′∈PNF(φ).
Otherwise, φ is of the form φ0∘φ1 for some ∘∈{∧,∨,→} and φ0,φ1.
We prove only the case that φ0 contains at least one quantifier (if φ0 contains no quantifier, then φ1 contains at least one quantifier).
Since φ0 contains less than k logical connectives, by the induction hypothesis, there exists a φ0′∈PNF(φ0) such that φ0⇝∗φ0′.
By Lemma 3.7, we obtain φ⇝∗φ0′∘φ1.
Since φ0′ contains at least one quantifier, by Proposition 3.5.(2), φ0′ is of the form Qxψ0′(x).
Let y be any variable not occurring in ψ0′ and φ1.
Then, by transformation 8-Q, we have Qxψ0′(x)⇝Qyψ0′(y).
Also, for some appropriate quantifier Q′, we have Qyψ0′(y)∘φ1⇝Q′y(ψ0′(y)∘φ1) by transformations 1,2, 4-Q or 6-Q, and hence, φ⇝∗Q′y(ψ0′(y)∘φ1)
by Lemma 3.7.
Note that ψ0′(y)∘φ1 contains exactly n quantifiers by Proposition 3.5.(2).
Then, by the induction hypothesis, there exists a formula ξ in prenex normal form such that (ψ0′(y)∘φ1)⇝∗ξ.
By Lemma 3.7 and Proposition 3.4, we have φ⇝∗Q′yξ.
Therefore, Q′yξ∈PNF(φ).
∎
Corollary 3.10** (Prenex normal form theorem).**
For a classical first-order theory T and a T-formula φ, there exists a T-formula φ′ in prenex normal form such that FV(φ)=FV(φ′) and T⊢φ↔φ′.
In this section, we first prove a hierarchical version of Theorem 3.9 for cumulative classes Ek+ and Uk+ of formulas.
Then we also investigate the converse direction and prove that if a formula φ can be transformed into some formula in Σk+ (resp. Πk+), then φ is in Ek+ (resp. Uk+).
Then it follows that Ek+ and Uk+ are exactly the classes whose formulas are transformed into Σk+ and Πk+, respectively.
Using those characterizations for Ek+ and Uk+, we also have reasonable characterizations for Fk+, Ek, Uk and Pk (cf. Theorem 4.8).
In what follows, we sometimes use Propositions 3.4 and 3.5 and Lemma 3.7 without mention.
Firstly, we prove a basic lemma concerning logical connectives, quantifiers and the relation ⇝∗.
Lemma 4.1**.**
Let ∘∈{∧,∨}.
(A)
If φ∈Σk+1+, ψ∈Σk+1+, and k+1=max{deg(φ),deg(ψ)}, then there exists a σ∈Σk+1 such that φ∘ψ⇝∗σ.
(B)
If φ∈Πk+1+, ψ∈Πk+1+, and k+1=max{deg(φ),deg(ψ)}, then there exists a π∈Πk+1 such that φ∘ψ⇝∗π.
(C)
If φ∈Σk+1 and ψ∈Πk+1, then there exist σ∈Σk+2 and π∈Πk+2 such that φ∘ψ⇝∗σ and φ∘ψ⇝∗π.
(D)
If φ∈Πk+1 and ψ∈Σk+1, then there exist σ∈Σk+2 and π∈Πk+2 such that φ∘ψ⇝∗σ and φ∘ψ⇝∗π.
(E)
If φ∈Σk+1+, ψ∈Πk+1+, and k+1=max{deg(φ),deg(ψ)}, then there exists a π∈Πk+1 such that (φ→ψ)⇝∗π.
(F)
If φ∈Πk+1+, ψ∈Σk+1+, and k+1=max{deg(φ),deg(ψ)}, then there exists a σ∈Σk+1 such that (φ→ψ)⇝∗σ.
(G)
If φ,ψ∈Σk+1, then there exist σ∈Σk+2 and π∈Πk+2 such that (φ→ψ)⇝∗σ and (φ→ψ)⇝∗π.
(H)
If φ,ψ∈Πk+1, then there exist σ∈Σk+2 and π∈Πk+2 such that (φ→ψ)⇝∗σ and (φ→ψ)⇝∗π.
Proof.
We prove (A) and (B) simultaneously by induction on k.
Suppose that (A) and (B) hold for k′<k.
We give only a proof of (A), and (B) is proved similarly.
Assume that φ∈Σk+1+, ψ∈Σk+1+, and k+1=max{deg(φ),deg(ψ)}.
Then, φ and ψ are of the forms ∃xφ0(x) and ∃yψ0(y), respectively.
Here φ0 and ψ0 are Πk+ formulas and k=max{deg(φ0),deg(ψ0)}.
Also at least one of ∃x and ∃y is non-empty.
Let z and w be any finite sequences of variables not occurring in φ and ψ.
Then, we have φ⇝∗∃zφ0(z) and ψ⇝∗∃wψ0(w) by 8-∃.
Also, we have ∃zφ0∘∃wψ0⇝∗∃z∃w(φ0∘ψ0) by 4-∃, 5-∃, 6-∃ and 7-∃.
If k=0, by Lemma 3.7, we conclude φ∘ψ⇝∗∃z∃w(φ0∘ψ0) and ∃z∃w(φ0∘ψ0)∈Σ1.
If k≥1, then by the induction hypothesis, there exists a π∈Πk such that φ0∘ψ0⇝∗π.
Then, by Lemma 3.7, φ∘ψ⇝∗∃z∃wπ∈Σk+1.
(C): Suppose φ∈Σk+1 and ψ∈Πk+1.
Then, φ is of the form ∃xφ0(x) for some non-empty sequence x of variables and φ0∈Πk.
We have φ⇝∗∃y(φ0(y)∘ψ) by 4-∃, 6-∃ and 8-∃.
By (B), there exists a π∈Πk+1 such that φ0(y)∘ψ⇝∗π.
By Lemma 3.7, φ∘ψ⇝∗∃yπ and ∃yπ∈Σk+2.
The existence of a π∈Πk+2 with φ∘ψ⇝∗π is proved in a similar way with using (A).
(D) is proved as in the case (C) by using (A) and (B).
Clauses (E), (F), (G) and (H) are proved similarly.
∎
In what follows, for the sake of simplicity of description, for example, we refer to the first clause of Lemma 4.1 simply as (A).
Lemma 4.2**.**
Let ∘∈{∧,∨}.
If φ∈Σk+1+ and ψ∈Σk+1+, then there exists a σ∈Σk+1+ such that φ∘ψ⇝∗σ.
2. 2.
If φ∈Πk+1+ and ψ∈Πk+1+, then there exists a π∈Πk+1+ such that φ∘ψ⇝∗π.
3. 3.
If φ∈Πk+1+ and ψ∈Σk+1+, then there exists a σ∈Σk+1+ such that (φ→ψ)⇝∗σ.
4. 4.
If φ∈Σk+1+ and ψ∈Πk+1+, then there exists a π∈Πk+1+ such that (φ→ψ)⇝∗π.
Proof.
Let φ∈Σk+1+ and ψ∈Σk+1+.
If k+1=max{deg(φ),deg(ψ)}, then by (A), there exists a σ∈Σk+1⊆Σk+1+ such that φ∘ψ⇝∗σ.
Suppose k+1>k0=max{deg(φ),deg(ψ)}.
We may assume that k0=0.
We prove only the case of k0=deg(φ).
The case of k0=deg(ψ) is proved similarly.
We distinguish the following four cases:
•
If φ∈Σk0 and ψ∈Σk0+, then by (A), there exists a σ∈Σk0⊆Σk+1+ such that φ∘ψ⇝∗σ.
•
If φ∈Πk0 and ψ∈Πk0+, then by (B), there exists a π∈Πk0⊆Σk+1+ such that φ∘ψ⇝∗π.
•
If φ∈Σk0 and ψ∈Πk0, then by (C), there exists a σ∈Σk0+1⊆Σk+1+ such that φ∘ψ⇝∗σ.
•
If φ∈Πk0 and ψ∈Σk0, then by (D), there exists a σ∈Σk0+1⊆Σk+1+ such that φ∘ψ⇝∗σ.
Other clauses are proved in a similar way.
∎
Theorem 4.3**.**
If φ∈Ek+, then PNF(φ)∩Σk+=∅.
2. 2.
If φ∈Uk+, then PNF(φ)∩Πk+=∅.
Proof.
We may assume that k≥1.
We prove clauses 1 and 2 simultaneously by induction on the structure of φ.
If φ is atomic, then φ∈PNF(φ)∩Σ0⊆PNF(φ)∩Σk+∩Πk+.
We suppose that the theorem holds for φ0 and φ1.
•
Case of φ≡φ0∘φ1 for ∘∈{∧,∨}.
If φ0∘φ1∈Ek+, then φ0,φ1∈Ek+ by Lemma 2.4.(1), (2).
By the induction hypothesis, there exist σ0,σ1∈Σk+ such that φ0⇝∗σ0 and φ1⇝∗σ1.
By Lemma 4.2.(1), there exists a σ∈Σk+ such that σ0∘σ1⇝∗σ.
Then, φ0∘φ1⇝∗σ0∘σ1⇝∗σ.
The case of φ0∘φ1∈Uk+ is proved similarly by using Lemma 4.2.(2).
•
Case of φ≡φ0→φ1.
If φ0→φ1∈Ek+, then φ0∈Uk+ and φ1∈Ek+ by Lemma 2.4.(3).
By the induction hypothesis, there exist π0∈Πk+ and σ1∈Σk+ such that φ0⇝∗π0 and φ1⇝∗σ1.
By Lemma 4.2.(3), there exists a σ∈Σk+ such that (π0→σ1)⇝∗σ.
Then, (φ0→φ1)⇝∗(π0→σ1)⇝∗σ.
The case of φ0→φ1∈Uk+ is proved similarly by using Lemma 4.2.(4).
•
Case of φ≡∃xφ0.
If ∃xφ0∈Ek+, then φ0∈Ek+ by Lemma 2.4.(5).
By the induction hypothesis, there exists a σ0∈Σk+ such that φ0⇝∗σ0.
Then, ∃xφ0⇝∗∃xσ0 and ∃xσ0∈Σk+.
If ∃xφ0∈Uk+, then ∃xφ0∈Ek−1+ by Lemma 2.4.(7).
Then φ0∈Ek−1+.
By the induction hypothesis, there exists a σ0∈Σk−1+ such that φ0⇝∗σ0, and hence, ∃xφ0⇝∗∃xσ0∈Σk−1+⊆Πk+.
•
Case of φ≡∀xφ0.
This is proved similarly as in the case of ∃. ∎
Secondly, we show the converse assertions of Theorem 4.3.
Lemma 4.4**.**
Suppose φ⇝ψ.
If ψ∈Ek+, then φ∈Ek+.
2. 2.
If ψ∈Uk+, then φ∈Uk+.
Proof.
This lemma is proved by distinguishing the cases of the rows in the table in Definition 3.1 to which φ and ψ match.
In each case, we use the assertions in Lemma 2.4 multiple times.
We prove only the case corresponding to the first row, and the other cases are proved in a similar way.
For x∈/FV(δ), suppose that φ and ψ are of the forms ∃xξ(x)→δ and ∀x(ξ(x)→δ), respectively.
If ∀x(ξ(x)→δ)∈Ek+, then k≥2 and ∀x(ξ(x)→δ)∈Uk−1+.
Since ξ(x)→δ∈Uk−1+,
we have ξ(x)∈Ek−1+ and δ∈Uk−1+.
Then, ∃xξ(x)∈Ek−1+, and hence ∃xξ(x)→δ∈Uk−1+⊆Ek+.
If ∀x(ξ(x)→δ)∈Uk+, then ξ(x)→δ∈Uk+.
We obtain ξ(x)∈Ek+ and δ∈Uk+.
Then, ∃xξ(x)∈Ek+, and thus ∃xξ(x)→δ∈Uk+.
∎
Lemma 4.5**.**
Suppose that ψ is obtained by replacing an occurrence of ξ in φ as a subformula with δ such that ξ⇝δ.
If ψ∈Ek+, then φ∈Ek+.
2. 2.
If ψ∈Uk+, then φ∈Uk+.
Proof.
We prove the lemma by induction on the structure of φ.
If φ is atomic, then φ is the unique subformula of φ.
Since there is no ξ such that ξ⇝φ, we are done.
Suppose that the theorem holds for φ0 and φ1.
By Lemma 4.5, we may assume that ξ is a proper subformula of φ.
•
Case of φ≡φ0∘φ1 for ∘∈{∧,∨}.
Suppose ψ∈Ek+ (resp. Uk+).
Since ξ is a proper subformula of φ, ξ is a subformula of either φ0 or φ1.
If ξ is a subformula of φ0, then ψ is of the form ψ0∘φ1, where ψ0 is obtained by replacing an occurence of ξ in φ0 with δ.
By Lemma 2.4.(1),(2), ψ0 and φ1 are in Ek+ (resp. Uk+).
By the induction hypothesis, we have φ0∈Ek+ (resp. Uk+).
Hence, φ0∘φ1∈Ek+ (resp. Uk+).
The case that ξ is a subformula of φ1 is proved in a similar way.
•
Case of φ≡φ0→φ1.
We only give a proof for the case that ψ∈Ek+ and ξ is a subformula of φ0.
The other cases are proved similarly.
In this case, ψ is of the form ψ0→φ1, where ψ0 is obtained by replacing an occurence of ξ in φ0 with δ.
By Lemma 2.4.(3), ψ0∈Uk+ and φ1∈Ek+.
By the induction hypothesis, we have φ0∈Uk+.
Hence, φ0→φ1∈Ek+.
•
Case of φ≡∃xφ0.
Let ψ0 be the formula obtained from φ0 by replacing an occurrence of ξ in φ0 with δ.
Then, ψ is of the form ∃xψ0.
Suppose ψ∈Ek+ (resp. Uk+).
By Lemma 2.4.(5) (resp. Lemma 2.4.(7)), ψ0∈Ek+ (resp. Ek−1+).
By the induction hypothesis, we obtain φ0∈Ek+ (resp. Ek−1+).
Hence, ∃xφ0∈Ek+ (resp. Ek−1+⊆Uk+).
•
Case of φ≡∀xφ0.
This is proved similarly as in the case of ∃ with using Lemma 2.4.(4),(6).
. ∎
Lemma 4.6**.**
Suppose that φ⇝∗ψ.
If ψ∈Ek+, then φ∈Ek+.
2. 2.
If ψ∈Uk+, then φ∈Uk+.
Proof.
Immediate from Lemma 4.5 and the definition of φ⇝∗ψ.
Note that if φ⇝∗ψ with a quantifier-free formula ψ, then φ≡ψ.
∎
Theorem 4.7**.**
If PNF(φ)∩Σk+=∅, then φ∈Ek+.
2. 2.
If PNF(φ)∩Πk+=∅, then φ∈Uk+.
Proof.
Suppose ψ∈PNF(φ)∩Σk+.
Then, φ⇝∗ψ and ψ∈Σk+⊆Ek+.
By Lemma 4.6.(1), we obtain φ∈Ek+.
2 is proved in a similar way.
∎
By Theorems 4.3 and 4.7, we obtain characterizations of classes Ek+, Uk+, Fk+, Ek, Uk, Pk in terms of the prenex normalization procedure as follows:
Theorem 4.8** (Main Theorem).**
φ∈Ek+* if and only if PNF(φ)∩Σk+=∅.*
2. 2.
φ∈Uk+* if and only if PNF(φ)∩Πk+=∅.*
3. 3.
φ∈Fk+* if and only if PNF(φ)∩Σk+1+=∅ and PNF(φ)∩Πk+1+=∅.*
4. 4.
φ∈Ek+1* if and only if PNF(φ)∩Σk+1+=∅ and PNF(φ)∩Πk+1+=∅, equivalently, PNF(φ)∩Σk+1=∅ and PNF(φ)∩Πk+1+=∅.*
5. 5.
φ∈Uk+1* if and only if PNF(φ)∩Πk+1+=∅ and PNF(φ)∩Σk+1+=∅, equivalently, PNF(φ)∩Πk+1=∅ and PNF(φ)∩Σk+1+=∅.*
6. 6.
φ∈Pk* if and only if PNF(φ)∩Σk+1+=∅, PNF(φ)∩Πk+1+=∅ and PNF(φ)∩(Σk+∪Πk+)=∅, equivalently, PNF(φ)∩Σk+1=∅, PNF(φ)∩Πk+1=∅ and PNF(φ)∩(Σk+∪Πk+)=∅.*
Proof.
Clauses (1) and (2) are immediate from Theorems 4.3 and 4.7.
Clause (3) follows from clauses (1) and (2) since Fk+=Ek+1+∩Uk+1+ (cf. Lemma 2.3.(2)).
(4):
By Lemma 2.3.(1), we have that φ∈Ek+1 if and only if φ∈Ek+1+ and φ∈/Fk+ if and only if φ∈Ek+1+ and φ∈/Uk+1+.
Then, by clauses (1) and (2), we have that φ∈Ek+1 if and only if PNF(φ)∩Σk+1+=∅ and PNF(φ)∩Πk+1+=∅.
The latter is equivalent to that PNF(φ)∩Σk+1=∅ and PNF(φ)∩Πk+1+=∅ since Σk+1+∖Πk+1+=Σk+1.
Clause (6) is immediate from clauses (3), (1) and (2) since Pk=Fk+∖(Ek+∪Uk+) (cf. Lemma 2.3.(2)).
The last equivalence is trivial since Σk+1+∖(Σk+∪Πk+)=Σk+1 and Πk+1+∖(Σk+∪Πk+)=Πk+1.
∎
Remark 4.9**.**
In Theorem 4.8, the characterizations for E0 and U0 are contained not in clauses (4) and (5) but in clauses (1) and (2) respectively since E0=E0+ and U0=U0+.
In addition, clause (6) does not hold for P0 if one defines P0 as the class of quantifier-free formulas as in [1].
5 Summary
Theorem 4.8, which is our main theorem, reveals the following:
•
A formula is in Ek+ (resp. Uk+) if and only if it can be transformed into a formula in Σk+ (resp. Πk+) with respect to ⇝∗.
•
A formula is in Fk+ if and only if it can be transformed into a formula in Σk+1+ and also into a formula in Πk+1+ with respect to ⇝∗.
•
A formula is in Ek+1 (resp. Uk+1) if and only if it can be transformed into a formula in Σk+1 (resp. Πk+1) but cannot be so for Πk+1+ (resp. Σk+1+) with respect to ⇝∗.
•
A formula is in Pk if and only if it can be transformed into a formula in Σk+1 and also into a formula in Πk+1 (resp. Πk+1) but cannot be so for Σk+∪Πk+ (resp. Σk+1+) with respect to ⇝∗.
By this observation, the classification of formulas into Ek, Uk and Pk can be visualized as Figure 1.
The difference between our Figure 1 and [1, Figure 1] is only in the position of Pk+1.
Our Figure 1 represents that
formulas in Pk are outside of Ek+∪Uk+ which reflects the fact that a formula in Pk cannot be transformed into a formula in Ek+∪Uk+.
Since Ck+1:=Pk∪Ek+1∪Uk+1 is the class of formulas which can be transformed into a formula in Σk+1∪Πk+1 but not so for Σk∪Πk, one may think of Ck+1 as the class of “prenex degree” k+1, which is based on the degree of prenex formulas into which the formula in question can be transformed with respect to ⇝∗.
Acknowledgements
The authors thank Ulrich Kohlenbach for pointing them out that the definition of P0 in [1] is different from that in its preprint version, to which the authors referred in the previous version of this paper.
They also thank Danko Ilik for providing some information about related works.
The first author was supported by JSPS KAKENHI Grant Numbers JP19J01239, JP20K14354 and JP23K03205, and the second author by JP19K14586 and JP23K03200.
Bibliography13
The reference list from the paper itself. Each links out to its DOI / PubMed record.
1[1] Yohji Akama, Stefano Berardi, Susumu Hayashi, and Ulrich Kohlenbach. An arithmetical hierarchy of the law of excluded middle and related principles. In Proceedings of the 19th Annual IEEE Symposium on Logic in Computer Science (LICS’04) , pages 192–201. 2004.
2[2] George Boolos. The logic of provability . Cambridge University Press, Cambridge, 1993.
3[3] Taus Brock-Nannestad and Danko Ilik. An intuitionistic formula hierarchy based on high-school identities. Mathematical Logic Quarterly , 65(1):57–79, 2019.
4[4] Wolfgang Burr. Fragments of Heyting Arithmetic. The Journal of Symbolic Logic , 65(3):1223–1240, 2000.
5[5] Chen Chung Chang and H. Jerome Keisler. Model Theory: Third Edition . Dover Books on Mathematics. Dover Publications, NY, 2013.
6[6] Herbert B. Enderton. A Mathematical Introduction to Logic . Elsevier Science, Amsterdam, 2001.
7[7] Jonathan Fleischmann. Syntactic preservation theorems for intuitionistic predicate logic. Notre Dame Journal of Formal Logic , 51(2):225–245, 2010.
8[8] Makoto Fujiwara and Taishi Kurahashi. Prenex normal form theorems in semi-classical arithmetic. The Journal of Symbolic Logic , 86(3):1124–1153, 2021.