Introduction
In Kolmogorov’s paper [1 ] the intuitionistic calculus was interpreted as a calculus of problems . And in his comments on this paper in the Selected Works [2 ] Kolmogorov wrote that problems and propositions are different things and that a complete exposition should speak about both sorts at once: intuitionistic logic describes problems, classical logic—propositions, and one needs a common system containing both together with the connection between them.
An example of such a system is Melikhov’s logic HC [4 , 6 ] —a joint logic of problems and propositions. It combines in one two-sorted language classical propositions and intuitionistic problems, connecting the two sorts by two modalities: the problem ! A !A ! A is read as “find a proof of the proposition A A A ”, and the proposition ? φ ? \varphi ? φ —as “the problem φ \varphi φ has a solution”, that is, exactly as Kolmogorov had outlined. Several kinds of semantics are known for HC: topological ones, interpretations in plane geometry and in algebraic equations, an informal semantics going back to Kolmogorov himself (Melikhov, [4 , 5 ] ), and also a Kripke semantics with marked worlds (Onoprienko, [7 ] ). We, however, are interested in a semantics in which the modalities are read literally: the solutions of the problem ! A !A ! A are the proofs of the proposition A A A in a fixed formal theory, and the proposition ? φ ? \varphi ? φ asserts that φ \varphi φ has a solution. Such a semantics—arithmetical , in the spirit of Kleene realizability—for the full language of HC did not exist until now: for the fragment without the modality ? ? ? it was sketched in [6 ] , but remained unfinished.
In the present paper such a semantics is constructed and the notion of validity it generates is studied; then calculi sound with respect to this semantics are introduced; the axioms are selected by validity. The order itself, “from interpretation to calculus”, is not new: the logic HC is built in the same way, its axioms being extracted from Kolmogorov’s interpretation of problems and the Orlov–Heyting interpretation of proofs [6 ] . The difference is that our interpretation is a formal semantics, and validity in it is a precise mathematical notion, so that the question of soundness and completeness of the calculus has a precise meaning. This order—statement of the problem, the semantics and its study, the calculi and their study—also determines the plan of the paper.
More precisely, we define three different semantics. We begin with the first two, the arithmetical ones, denoted I and E. In them a proposition P P P is translated into a closed formula P ∗ P^{*} P ∗ of Peano arithmetic, and a problem φ \varphi φ —into a formula φ ∗ ( x ) \varphi^{*}(x) φ ∗ ( x ) with (at most) one free variable; the connectives on problems are understood in the sense of Kleene [8 ] , the proposition ? φ ? \varphi ? φ is understood as ∃ x φ ∗ ( x ) \exists x\,\varphi^{*}(x) ∃ x φ ∗ ( x ) , and the solutions of the problem ! A !A ! A are the Gödel numbers of proofs of the formula A ∗ A^{*} A ∗ in PA (§ 4 ). It turns out that not all axioms of HC are true in this semantics, that is, HC is not sound with respect to it. The most important point of our interpretation is the notion of validity of a problem: a solution of the problem must be exhibited by an algorithm computing it from the code of the interpretation (Definition 6). As shown in Remark 8, it is exactly this requirement that decides whether the fragment of problems remains intuitionistic: under a weaker understanding of validity it becomes classical. In the semantics I it is required that under every interpretation the formula be provable in PA, and in the semantics E—true in the standard interpretation of PA. In the semantics I the set of valid propositions essentially coincides with the provability logic GL, while the set of valid problems is a rather complicated logic whose decidability is unknown. In the semantics E the set of valid propositions essentially coincides with the provability logic GLS, while the set of valid problems is again a rather complicated logic whose decidability is unknown.
Then we present calculi (logics) sound with respect to these semantics. We did not strive to obtain calculi close to HC: from it we take only the language and the informal understanding of the modalities, while the axioms were selected by validity—if a scheme is valid and is not derivable from those already accepted, it was added. This is how we obtained the calculus HCI, corresponding to what PA proves, and the calculus HCE, corresponding to what is true (§ 6 ); their soundness is Theorem 15.
What are such calculi good for? For instance, using the calculus HCI one can obtain a formal derivation of Löb’s theorem from the fixed-point theorem for PA. A peculiarity of these calculi is that almost all their axioms are problems. There are three exceptions: the axioms of the classical propositional calculus (A1); the purely structural schemes (A4), asserting that ? ? ? translates connectives of problems into connectives of propositions (a Boolean homomorphism); and the reflection (A8) of the calculus HCE—it is not structural but substantive, yet it is a proposition, not a problem. All the other axioms are problems. They either speak of the possibility of an algorithmic transformation of some arithmetical proofs into others: for example, (A5)—“from a solution of the problem φ \varphi φ (for problems φ \varphi φ of a special form) one can construct an arithmetical proof that φ \varphi φ has a solution”, (A6)—“an arithmetical proof of the formula □ A ⊃ A \Box A \supset A □ A ⊃ A can be transformed into an arithmetical proof of the formula A A A ” (Löb’s theorem), or of the realizability of certain problems without the modality ? ? ? —the axiom (A7). On the level of propositions the calculi HCI and HCE are complete and coincide with GL and GLS, while on the level of problems one again obtains certain logics about which we do not know whether they are decidable.
In the third semantics B we slightly extend the language by introducing the universal quantifier Π \Pi Π over problem variables. The problem Π α φ \Pi\alpha\ \varphi Π α φ is understood as “exhibit a program that solves the problem φ \varphi φ under every interpretation of the problem α \alpha α ”. Recall that without the quantifier over α \alpha α this program may depend computably on the interpretation α ∗ \alpha^{*} α ∗ of the variable α \alpha α . Why do we need such a quantifier? The reason is a strong asymmetry between the two fragments, the problem one and the propositional one. It might seem that we have translations in both directions: the modality ! ! ! turns a problem A A A into the proposition ! A !A ! A , and the modality ? ? ? acts in the opposite direction. But it turns out that the first translation is faithful: validity of the problem ! A !A ! A is equivalent to validity of the proposition A A A . The translation φ ↦ ? φ \varphi\mapsto?\varphi φ ↦ ? φ , however, does not have this property. Often, proving in PA the proposition ( ? φ ) ∗ (?\varphi)^{*} ( ? φ ) ∗ under every fixed interpretation ∗ * ∗ is much easier than proving the solvability of the problem φ ∗ \varphi^{*} φ ∗ uniformly in ∗ * ∗ . This is the source of the asymmetry: the set of valid propositions is simple, while the set of valid problems is not.
For example, the law of excluded middle α ∨ ∼ α \alpha\vee\sim\alpha α ∨ ∼ α is not valid (there is no algorithm that, given an arithmetical formula α ∗ ( x ) \alpha^{*}(x) α ∗ ( x ) , would find out whether the proposition ∃ x α ∗ ( x ) \exists x\alpha^{*}(x) ∃ x α ∗ ( x ) is true). At the same time the proposition ? ( α ∨ ∼ α ) ?(\alpha\vee\sim\alpha) ? ( α ∨ ∼ α ) is valid, because PA is a classical theory and can use the law of excluded middle to prove the formula ∃ x ( α ∨ ∼ α ) ∗ ( x ) \exists x(\alpha\vee\sim\alpha)^{*}(x) ∃ x ( α ∨ ∼ α ) ∗ ( x ) for every fixed formula α ∗ ( x ) \alpha^{*}(x) α ∗ ( x ) . Another example: Rose’s formula ρ \rho ρ is a valid formula, and the algorithm realizing it is not trivial. But after prefixing the modality ? ? ? one obtains the trivially valid formula ? ρ ?\rho ? ρ : under every interpretation ∗ * ∗ the formula ∃ x ρ ∗ ( x ) \exists x\rho^{*}(x) ∃ x ρ ∗ ( x ) is easily provable in PA by means of the law of excluded middle.
Unfortunately, to write down the assertion that the problem ? Π α φ ?\Pi\alpha\ \varphi ? Π α φ is solvable, one needs a universal quantifier over arithmetical interpretations. In Peano arithmetic this is apparently inexpressible, since by Tarski’s theorem it is impossible to express the truth of the formula with a given Gödel number. Therefore instead of PA we pass to the set theory ZF. In the semantics B (from the words “black box”) the interpretations of problem variables are arbitrary subsets of N \mathbb{N} N —“black boxes”, which the solving program does not see; the universal quantifier over them is a first-order formula of the language of ZF, and the proposition “the program p p p solves the problem φ \varphi φ under every interpretation of the problem α \alpha α ” is written as a set-theoretic formula. Validity in B is defined via provability in ZF. A sound calculus for it is arranged as HCI plus a quantifier layer: the quantifier-free part of its axiomatics is exactly HCI. The purpose of the extension was to enlarge the stock of valid propositions, and in the extended language this certainly succeeded: for example, the proposition ? Π β Π γ ρ ?\Pi\beta\Pi\gamma\rho ? Π β Π γ ρ —“Rose’s formula is uniformly solvable”—is valid, and it is inexpressible without the quantifier. The extension also yields new quantifier-free theorems—for example, □ ? α ⊃ □ ⊥ \Box?\alpha\supset\Box\bot □ ? α ⊃ □ ⊥ —but only because in the semantics B the modality ! ! ! binds problem variables and is read with closure. For clean formulas, in which ! ! ! is applied only to closed propositions, the picture is different: on the propositional side the extension is conservative over HCI (assuming Σ 1 \Sigma_1 Σ 1 -soundness of ZF), while for clean problems the question of conservativity is open. We also do not know whether in the new semantics the fragment of problems has the same complexity as the fragment of propositions.1
Validity of all axioms of our calculi is summarized in Table 1 (§ 5.6 ), from which the structure of the calculi can be seen directly.
The place of our calculi among related logics. Among the systems with which the result is worth comparing, HC stands out in one respect: it has the same syntax. Everything else diverges. From HC we take the language and the reading of the modalities, but not the list of theorems: our calculi are in general position with respect to HC.
On the propositional side we land in classical provability logic: the □ \square □ -fragments of the calculi HCI and HCE are exactly Solovay’s GL and GLS [10 ] (Corollary 22), and two-sortedness gives nothing new there. Intuitionistic provability logics describe something else: iGL [24 , 26 ] is strictly contained in our ▽ \triangledown ▽ -fragment, while iGLC is not a fragment of ours—its completeness principle A ⊃ □ A A \supset\square A A ⊃ □ A is co-reflection. Still, there is a similarity: there completeness is required only on Σ 1 \Sigma_1 Σ 1 , and for us co-reflection holds exactly on Σ \Sigma Σ -problems (axiom (A5)).
In Artemov’s school [19 , 20 , 21 , 22 ] proofs are also present explicitly, but differently: there the language is enriched with terms t : F t:F t : F , “t t t is a proof of F F F ”, whereas for us proofs are the solutions of the problem ! A !A ! A , and the language remains modal. The two-sortedness “a problem is a set, a solution is a number” is absent there.
Finally, problems as sets are a long-standing tradition: the mass problems of Medvedev and Muchnik and the logics of realizability [9 , 18 ] . The difference is that there is one sort and no modalities: there is no place there for proofs and for the modality ! ! ! . On the other hand, our notion of validity coincides exactly with one of the known ones: it is R e f f \mathcal{R}_{\mathrm{eff}} R eff —“a realization can be found effectively from the substituted formulas” [15 ] . Hence the results on the fragment of problems (§ 6.10 ): its positive part is intuitionistic, and the fragment itself lies strictly between Int and the logic of weak excluded middle.
The combination itself—two sorts, problems as arbitrary arithmetically definable sets with Kleene’s operations, ! A !A ! A as the set of proofs, ? ? ? as non-emptiness, and uniformity in the code of the interpretation—we have not found in the literature.
The plan of the paper follows the order “problem—semantics—calculi”. The semantics and its study occupy § 4 –§ 5 : the interpretations of all three semantics, the notion of validity and everything we know about valid formulas: validity of the future axioms, a description of the modality-free fragment of problems, examples of non-valid formulas, the laws of the operator Π \Pi Π (§ 18.6 ) and the summary table of validity (§ 5.6 ). The calculi and their study—§ 6 : three calculi, one per semantics, derived rules and examples of derivations, soundness, what the quantifier Π \Pi Π gives, normal form and completeness on the propositional side together with the characterization of valid propositions by the logics GL and GLS (§ 6.8 ), normal form with Π \Pi Π -atoms (§6.9), independence of the axioms and the little that is known about derivable problems. Comparison with HC and other related logics—§ 7 , open questions—§ 8 . The appendices contain the deferred proofs, an analysis of the classes of problems in the schemes (A5) and (A7), the independence of the scheme (A7) and an analysis of what is new in our derivation of Löb’s scheme.
Language and notation
We first define the syntax for the arithmetical semantics. We use the language of HC, but change the letters so that the sort of a formula is visible at once:
capital Latin letters A A A , B B B , C C C , … denote formulas of sort proposition ;
Greek letters denote formulas of sort problem .
In doing so we adhere to the following convention. The letters α \alpha α , β \beta β , γ \gamma γ (with indices if necessary) denote only variables of sort problem, whereas the letters φ \varphi φ , ψ \psi ψ , χ \chi χ , θ \theta θ denote arbitrary problems. For the sort of propositions we do not reserve separate letters for variables: capital Latin letters denote, generally speaking, arbitrary propositions, and where it matters that a letter denotes a variable, this is stated explicitly. Formulas are built as follows:
A : : = A i ∣ ⊥ ∣ ( A ∧ A ) ∣ ( A ∨ A ) ∣ ( A ⊃ A ) ∣ ? φ , A ::= A_i \mid\bot\mid(A \land A) \mid(A \lor A) \mid(A \supset A) \mid{?}\varphi, A ::= A i ∣ ⊥ ∣ ( A ∧ A ) ∣ ( A ∨ A ) ∣ ( A ⊃ A ) ∣ ? φ ,
φ : : = α i ∣ ∅ ∣ ( φ ⋏ φ ) ∣ ( φ ⋎ φ ) ∣ ( φ → φ ) ∣ ! A , \varphi::= \alpha_i \mid\varnothing\mid(\varphi\curlywedge\varphi) \mid(\varphi\curlyvee\varphi) \mid(\varphi\to\varphi) \mid{!}A, φ ::= α i ∣ ∅ ∣ ( φ ⋏ φ ) ∣ ( φ ⋎ φ ) ∣ ( φ → φ ) ∣ ! A ,
where A i A_i A i are variables of sort proposition and α i \alpha_i α i are variables of sort problem.
The constant ⊥ \bot ⊥ is the false proposition, the constant ∅ \varnothing ∅ is the unsolvable problem (the problem with the empty set of solutions). Negation and equivalence are not part of the language but are defined:
¬ A : = A ⊃ ⊥ , ∼ φ : = φ → ∅ , A ≡ B : = ( A ⊃ B ) ∧ ( B ⊃ A ) , φ ↔ ψ : = ( φ → ψ ) ⋏ ( ψ → φ ) . \neg A := A \supset\bot,\quad\sim\varphi:= \varphi\to\varnothing,\quad A \equiv B := (A \supset B) \land(B \supset A),\quad\varphi\leftrightarrow\psi:= (\varphi\to\psi) \curlywedge(\psi\to\varphi). ¬ A := A ⊃ ⊥ , ∼ φ := φ → ∅ , A ≡ B := ( A ⊃ B ) ∧ ( B ⊃ A ) , φ ↔ ψ := ( φ → ψ ) ⋏ ( ψ → φ ) .
The symbols of the connectives differ between the sorts. The language is two-sorted, and one and the same connective means different things on the two sorts: the implication of propositions is the usual classical one, the implication of problems is Kleene’s “from a solution of the premise compute a solution of the conclusion”. Therefore each sort gets its own symbols:
Table 2.
Propositions received the classical pair ⊃ \supset ⊃ , ≡ \equiv ≡ , problems the arrows → \to → , ↔ \leftrightarrow ↔ ; conjunction, disjunction and negation on problems are marked by a curl and a tilde.
The point of the distinction is already visible in the scheme (A3), which is written as ! ( A ⊃ B ) → ( ! A → ! B ) !(A \supset B) \to(!A \to!B) ! ( A ⊃ B ) → ( ! A → ! B ) : inside the parentheses stands the implication of propositions, outside stand two implications of problems, and these are different things. The symbols ⊃ \supset ⊃ , ∧ \land ∧ , ∨ \lor ∨ , ⊥ \bot ⊥ , ¬ \neg ¬ , ≡ \equiv ≡ are also used inside arithmetical formulas (in A ∗ A^* A ∗ , φ ∗ \varphi^* φ ∗ and the like): the language of arithmetic is classical, and there is no reason to introduce a third set of symbols for it. Connectives of sort problem never occur in arithmetical formulas, and the asterisk helps to distinguish an object formula from an arithmetical one. Derived modalities: □ A = ! ? A \Box A = {!}?A □ A = ! ? A (a proposition) and ∇ φ = ! ? φ \nabla\varphi= {!}?\varphi ∇ φ = ! ? φ (a problem).
Arithmetical preliminaries
We fix the language of arithmetic and the standard model N \mathbb{N} N ; “true” everywhere means “true in $\mathbb{N}”. Truth values are denoted by T and F. We fix:
U 0 , U 1 , U 2 , … U_0,\ U_1,\ U_2,\ \ldots U 0 , U 1 , U 2 , …
a computable bijection c : N 2 → N c:\mathbb{N}^{2}\to\mathbb{N} c : N 2 → N (pairing);
an arithmetical formula Prf ( x , y ) \operatorname{Prf}(x,y) Prf ( x , y ) expressing “x x x is (the number of) a proof in PA of the formula with number y y y ”, and Pr ( y ) = ∃ x Prf ( x , y ) \operatorname{Pr}(y)=\exists x\operatorname{Prf}(x,y) Pr ( y ) = ∃ x Prf ( x , y ) . As usual, Con = ¬ Pr ⊥ \operatorname{Con}=\neg\operatorname{Pr}\bot Con = ¬ Pr ⊥ .
Remark 1 (lightening the notation). We identify a formula with its Gödel number : where formally one should write Prf ( x , ⌜ σ ⌝ ) \operatorname{Prf}(x,\ulcorner\sigma\urcorner) Prf ( x , ┌ σ ┐ ) , we write Prf ( x , σ ) \operatorname{Prf}(x,\sigma) Prf ( x , σ ) . Likewise, where the value n n n of a computable function is substituted into an arithmetical formula, formally one should substitute the numeral n ˉ \bar{n} n ˉ , the standard term denoting n n n ; we write simply n n n . Finally, the expression U i ( u ) U_i(u) U i ( u ) inside arithmetical formulas is read via the graph: ψ ( U i ( u ) ) \psi(U_i(u)) ψ ( U i ( u )) is an abbreviation for ∃ w ( U i ( u ) ≃ w ∧ ψ ( w ) ) \exists w\,(U_i(u)\simeq w\land\psi(w)) ∃ w ( U i ( u ) ≃ w ∧ ψ ( w )) , where U i ( u ) ≃ w U_i(u)\simeq w U i ( u ) ≃ w is a Σ 1 \Sigma_1 Σ 1 -formula expressing “U i U_i U i is defined on u u u and equals w w w ”; in particular, such an expression implies definedness. All these provisos are made only for readability and are nowhere used in an essential way.
Interpretations
Arithmetical interpretations
Definition 1 (arithmetical interpretation). An arithmetical interpretation is a map ∗ * ∗ assigning
to each variable A A A of sort proposition a closed arithmetical formula A ∗ A^* A ∗ ;
to each variable α \alpha α of sort problem an arithmetical formula α ∗ ( x ) \alpha^*(x) α ∗ ( x ) with (at most) one free variable x x x .
The interpretation is extended to all formulas of the language of HC by simultaneous recursion : to a proposition A A A a closed formula A ∗ A^* A ∗ is assigned, to a problem φ \varphi φ a formula φ ∗ ( x ) \varphi^*(x) φ ∗ ( x ) with (at most) one free variable.
Definition 2 (extension of ∗ * ∗ ). For propositions:
⊥ ∗ : = ⊥ , \bot^*:=\bot, ⊥ ∗ := ⊥ , ( A ∧ B ) ∗ : = A ∗ ∧ B ∗ , ( A ∨ B ) ∗ : = A ∗ ∨ B ∗ , (A\land B)^*:=A^*\land B^*,\qquad(A\lor B)^*:=A^*\lor B^*, ( A ∧ B ) ∗ := A ∗ ∧ B ∗ , ( A ∨ B ) ∗ := A ∗ ∨ B ∗ , ( A ⊃ B ) ∗ : = A ∗ ⊃ B ∗ , ( ? φ ) ∗ : = ∃ x φ ∗ ( x ) . (A\supset B)^*:=A^*\supset B^*,\qquad(? \varphi)^*:=\exists x\,\varphi^*(x). ( A ⊃ B ) ∗ := A ∗ ⊃ B ∗ , ( ? φ ) ∗ := ∃ x φ ∗ ( x ) . For problems:
∅ ∗ ( x ) : = ⊥ , \varnothing^*(x):=\bot, ∅ ∗ ( x ) := ⊥ , ( φ ⋏ ψ ) ∗ ( x ) : = ∃ u ∃ v ( x = c ( u , v ) ∧ φ ∗ ( u ) ∧ ψ ∗ ( v ) ) , (\varphi\mathbin{\curlywedge}\psi)^*(x):=\exists u\exists v\left(x=c(u,v)\land\varphi^*(u)\land\psi^*(v)\right), ( φ ⋏ ψ ) ∗ ( x ) := ∃ u ∃ v ( x = c ( u , v ) ∧ φ ∗ ( u ) ∧ ψ ∗ ( v ) ) , ( φ ⋎ ψ ) ∗ ( x ) : = ∃ u ( ( x = c ( 0 , u ) ∧ φ ∗ ( u ) ) ∨ ( x = c ( 1 , u ) ∧ ψ ∗ ( u ) ) ) , (\varphi\mathbin{\curlyvee}\psi)^*(x):=\exists u\left((x=c(0,u)\land\varphi^*(u))\lor(x=c(1,u)\land\psi^*(u))\right), ( φ ⋎ ψ ) ∗ ( x ) := ∃ u ( ( x = c ( 0 , u ) ∧ φ ∗ ( u )) ∨ ( x = c ( 1 , u ) ∧ ψ ∗ ( u )) ) , ( φ → ψ ) ∗ ( x ) : = ∀ v ( φ ∗ ( v ) ⊃ ψ ∗ ( U x ( v ) ) ) , (\varphi\to\psi)^*(x):=\forall v\left(\varphi^*(v)\supset\psi^*(U_x(v))\right), ( φ → ψ ) ∗ ( x ) := ∀ v ( φ ∗ ( v ) ⊃ ψ ∗ ( U x ( v )) ) , ( ! A ) ∗ ( x ) : = Prf ( x , A ∗ ) . (!A)^*(x):=\operatorname{Prf}(x,A^*). ( ! A ) ∗ ( x ) := Prf ( x , A ∗ ) .
We stress that A ∗ A^{*} A ∗ is always a closed formula: by induction on the construction it is easy to prove that the translation of any problem is a formula with (at most) one free variable, and the translation of any proposition is a closed formula.
Definition 3 (value). For a proposition A A A we put [ A ] ∗ : = T [A]_{*}:=\mathrm{T} [ A ] ∗ := T if the formula A ∗ A^{*} A ∗ is true in N \mathbb{N} N , and [ A ] ∗ : = F [A]_{*}:=\mathrm{F} [ A ] ∗ := F otherwise. For a problem φ \varphi φ we put
[ φ ] ∗ : = { n ∈ N : N ⊨ φ ∗ ( n ) } . [\varphi]_{*}:=\{n\in\mathbb{N}:\mathbb{N}\vDash\varphi^{*}(n)\}. [ φ ] ∗ := { n ∈ N : N ⊨ φ ∗ ( n )} . Thus the value of a proposition is a truth value, and the value of a problem is a set of natural numbers (the “set of solutions”, which is also the set of realizations). The index ∗ * ∗ in the notation [ ⋅ ] ∗ [\cdot]_{*} [ ⋅ ] ∗ reminds us that the value depends on the interpretation.
Lemma 1 (the connectives behave as promised). For every interpretation ∗ * ∗ :
[ ⊥ ] ∗ = F [\bot]_{*}=\mathrm{F} [ ⊥ ] ∗ = F , and the connectives ∧ \land ∧ , ∨ \lor ∨ , ⊃ \supset ⊃ on propositions act classically;
[ ? φ ] ∗ = T ⟺ [ φ ] ∗ ≠ ∅ [?\varphi]_{*}=\mathrm{T}\Longleftrightarrow[\varphi]_{*}\ne\varnothing [ ? φ ] ∗ = T ⟺ [ φ ] ∗ = ∅ ;
[ ∅ ] ∗ = ∅ [\varnothing]_{*}=\varnothing [ ∅ ] ∗ = ∅ ;
[ φ ∧ ψ ] ∗ = { c ( u , v ) : u ∈ [ φ ] ∗ , v ∈ [ ψ ] ∗ } [\varphi\mathbin{\wedge}\psi]_{*}=\{c(u,v):u\in[\varphi]_{*},v\in[\psi]_{*}\} [ φ ∧ ψ ] ∗ = { c ( u , v ) : u ∈ [ φ ] ∗ , v ∈ [ ψ ] ∗ } ;
[ φ ∨ ψ ] ∗ = { c ( 0 , u ) : u ∈ [ φ ] ∗ } ∪ { c ( 1 , v ) : v ∈ [ ψ ] ∗ } [\varphi\mathbin{\vee}\psi]_{*}=\{c(0,u):u\in[\varphi]_{*}\}\cup\{c(1,v):v\in[\psi]_{*}\} [ φ ∨ ψ ] ∗ = { c ( 0 , u ) : u ∈ [ φ ] ∗ } ∪ { c ( 1 , v ) : v ∈ [ ψ ] ∗ } ;
[ φ → ψ ] ∗ = { i : for all u ∈ [ φ ] ∗ the value U i ( u ) is defined and lies in [ ψ ] ∗ } [\varphi\to\psi]_{*}=\{i:\text{ for all }u\in[\varphi]_{*}\text{ the value }U_i(u)\text{ is defined and lies in }[\psi]_{*}\} [ φ → ψ ] ∗ = { i : for all u ∈ [ φ ] ∗ the value U i ( u ) is defined and lies in [ ψ ] ∗ } ; in particular [ ∼ φ ] ∗ = N [\sim\varphi]_{*}=\mathbb{N} [ ∼ φ ] ∗ = N if [ φ ] ∗ = ∅ [\varphi]_{*}=\varnothing [ φ ] ∗ = ∅ , and [ ∼ φ ] ∗ = ∅ [\sim\varphi]_{*}=\varnothing [ ∼ φ ] ∗ = ∅ otherwise;
[ ! A ] ∗ = { n : n is the number of a proof of the formula A ∗ in PA } [!A]_{*}=\{n:n\text{ is the number of a proof of the formula }A^{*}\text{ in PA}\} [ ! A ] ∗ = { n : n is the number of a proof of the formula A ∗ in PA } .
Lemma 2 (double negation is ? on the problem side). For every problem φ \varphi φ and every interpretation ∗ * ∗
[ ∼ ∼ φ ] ∗ = { N , if [ φ ] ∗ ≠ ∅ , ∅ , otherwise, [\sim\sim\varphi]_{*}=
\begin{cases}
\mathbb{N}, & \text{if }[\varphi]_{*}\ne\varnothing,\\
\varnothing, & \text{otherwise,}
\end{cases} [ ∼∼ φ ] ∗ = { N , ∅ , if [ φ ] ∗ = ∅ , otherwise, that is, [ ∼ ∼ φ ] ∗ ≠ ∅ ⟺ [ ? φ ] ∗ = T [\sim\sim\varphi]_{*}\ne\varnothing\Longleftrightarrow[?\varphi]_{*}=\mathrm{T} [ ∼∼ φ ] ∗ = ∅ ⟺ [ ? φ ] ∗ = T .
Moreover, PA proves ∀ x ( ( ∼ ∼ φ ) ∗ ( x ) ≡ ( ? φ ) ∗ ) \forall x((\sim\sim\varphi)^{*}(x)\equiv(?\varphi)^{*}) ∀ x (( ∼∼ φ ) ∗ ( x ) ≡ ( ? φ ) ∗ ) , and a proof of this equivalence is constructed from ∗ * ∗ .
The proof is in the appendix.
Set-theoretic semantics: black boxes
Alongside the arithmetical interpretation we consider one more, a set-theoretic one. Together with the two levels of validity (§ 5 ) this gives three semantics in total: I and E (arithmetical) and B (black boxes).
Language. For the new semantics we add to the grammar generating formulas two more rules—one for each sort:
φ ← Π α i φ , A ← Π α i A . \varphi\leftarrow\Pi\alpha_i\varphi,\qquad A\leftarrow\Pi\alpha_i A. φ ← Π α i φ , A ← Π α i A .
The operator Π α \Pi\alpha Π α (“uniformly in α \alpha α ”) applies to formulas of both sorts and binds the occurrences of the variable α \alpha α within its scope. Moreover—and this is essential—in the semantics B the modality ! is also regarded as binding: the problem !A A A binds all problem variables free in A A A . The reason will become clear from the definitions: the solutions of the problem ! A !A ! A are proofs of a single formula, and a proof cannot depend on the contents of a box.
Free and bound occurrences, renaming of bound variables and the proviso “θ \theta θ is free for α \alpha α in φ \varphi φ ” are understood as usual for quantifiers. By F V ( φ ) FV(\varphi) F V ( φ ) , F V ( A ) FV(A) F V ( A ) we denote the set of free problem variables of a formula (of either sort).
Definition 4 (the semantics B). In the semantics B an interpretation ∗ \ast ∗ assigns to each variable of sort proposition a closed formula of the language of ZF (for instance, an arithmetical one); problem variables are not interpreted—they are black boxes . The interpretation is the “transparent” part of the semantics (it has a code), the boxes are the “black” part (a box has no code). The translation is defined by the same clauses as in Definition 2, with four changes:
α ∗ ( x ) ≔ ( x ∈ X α ) , ( ! A ) ∗ ( x ) ≔ Prf Z F ( x , ∀ X ⃗ A ∗ ) , ( Π α φ ) ∗ ( x ) ≔ ∀ X α ⊆ ω φ ∗ ( x ) , ( Π α A ) ∗ ≔ ∀ X α ⊆ ω A ∗ . \begin{aligned}
\alpha^*(x)&\coloneqq(x\in X_\alpha), & (!A)^*(x)&\coloneqq\operatorname{Prf}_{\mathrm{ZF}}(x,\forall\vec{X}\,A^*),\\
(\Pi_\alpha\varphi)^*(x)&\coloneqq\forall X_\alpha\subseteq\omega\ \varphi^*(x), & (\Pi_\alpha A)^*&\coloneqq\forall X_\alpha\subseteq\omega\ A^*.
\end{aligned} α ∗ ( x ) ( Π α φ ) ∗ ( x ) : = ( x ∈ X α ) , : = ∀ X α ⊆ ω φ ∗ ( x ) , ( ! A ) ∗ ( x ) ( Π α A ) ∗ : = Prf ZF ( x , ∀ X A ∗ ) , : = ∀ X α ⊆ ω A ∗ . Here X α X_\alpha X α is a set variable of the language of ZF, a separate one for each problem variable α \alpha α : the boxes are represented in the translation by the free variables X α X_\alpha X α . In the clause for ! ! ! , X ⃗ \vec{X} X denotes the variables X β X_\beta X β for all problem variables β \beta β free in A A A , that is, those bound by this occurrence of ! ! ! ; the Gödel number of the closure is a numerical term, and the variables X β X_\beta X β do not occur in the formula ( ! A ) ∗ (!A)^* ( ! A ) ∗ . The closure ∀ X ⃗ A ∗ \forall\vec{X}\,A^* ∀ X A ∗ is a block of quantifiers ∀ X β ⊆ ω \forall X_\beta\subseteq\omega ∀ X β ⊆ ω over all such β \beta β in a fixed order (say, in increasing order of the indices of the variables). In other words, ∀ X ⃗ A ∗ \forall\vec{X}\,A^* ∀ X A ∗ is the translation of the proposition Π β ⃗ A \Pi_{\vec{\beta}}A Π β A , where β ⃗ \vec{\beta} β are the free problem variables of A A A listed in the same order, and the translations of the problems ! A !A ! A and ! Π β ⃗ A !\Pi_{\vec{\beta}}A ! Π β A coincide. We shall use this when verifying the scheme (A6). The code of an interpretation is the code of the transparent part alone (Definition 5): a box has no code.
Values. We speak of values of formulas in the semantics B only inside ZF. For given sets X α ⊆ ω X_\alpha\subseteq\omega X α ⊆ ω the value of a problem φ \varphi φ is the set ⟦ φ ⟧ ∗ : = { n ∈ ω : φ ∗ ( n ) } \llbracket\varphi\rrbracket_*:=\{n\in\omega:\varphi^*(n)\} [ [ φ ] ] ∗ := { n ∈ ω : φ ∗ ( n )} , which exists by the separation axiom; the words “for every contents of the boxes” mean a universal quantifier over X α X_\alpha X α inside ZF. One may imagine that the reasoning takes place in some model of ZF. But ZF has no canonical model, and therefore values do not enter the definition of validity (Definition 6).
Remark 2 (why ! ! ! binds). By induction on construction it is easy to prove that the translation A ∗ A^* A ∗ of any proposition A A A is a formula whose free variables can only be X α X_\alpha X α for free problem variables α \alpha α of the proposition A A A , and the translation φ ∗ \varphi^* φ ∗ of any problem may have in addition at most one free numerical variable. A solution of the problem Π α φ \Pi_\alpha\varphi Π α φ is a single solution of φ \varphi φ that works for any contents of the box α \alpha α ; the proposition Π α A \Pi_\alpha A Π α A reads “A A A for any contents of the box α \alpha α ”.
The clause for ! ! ! could also be written more briefly, Prf Z F ( x , A ∗ ) \operatorname{Prf}_{\mathrm{ZF}}(x,A^*) Prf ZF ( x , A ∗ ) , with the open formula A ∗ A^* A ∗ under the number sign: the proofs of an open formula are the proofs of its closure, so that both forms define the same set of solutions up to a computable transformation. But the second form hides the quantifier, and this is dangerous.
Here is an example illustrating this phenomenon. Consider the problem φ : = ! ? α \varphi:=!?\alpha φ := !? α . Its interpretation is the formula φ ∗ = Prf ( y , ∀ X ∃ x ∈ X ) \varphi^*=\operatorname{Prf}(y,\forall X\exists x\in X) φ ∗ = Prf ( y , ∀ X ∃ x ∈ X ) . The formula ∀ X ∃ x ( x ∈ X ) \forall X\exists x\,(x\in X) ∀ X ∃ x ( x ∈ X ) is refutable in ZF (the box ∅ \varnothing ∅ ), and from any proof of it, together with a fixed refutation, one effectively constructs a proof of the formula ⊥ \bot ⊥ , and the correctness of this transformation is provable in ZF; conversely, from a proof of ⊥ \bot ⊥ one constructs a proof of anything. Thus our problem φ \varphi φ is equivalent to the problem ! ⊥ !\bot ! ⊥ : the formula φ ↔ ! ⊥ \varphi\leftrightarrow!\bot φ ↔ ! ⊥ is valid. (End of remark.)
Remark 3 (on the rejected semantics S). Alongside B we also considered one more set-theoretic semantics—the substitutional one, S (from the word “substitute”), in two versions. In the first, problem variables were interpreted, as in I, by arithmetical formulas α ∗ ( x ) \alpha^*(x) α ∗ ( x ) , and the solver received their code, while the quantifier Π \Pi Π was read substitutionally: “φ ∗ \varphi^* φ ∗ holds when any arithmetical formula is substituted for α \alpha α ”. This can be written as a formula of ZF only via relativization of the quantifier over boxes: with nested quantifiers the substitution instances of φ ∗ \varphi^* φ ∗ themselves contain the truth predicate, and by Tarski’s theorem a direct formulation does not go through; therefore the box X α X_\alpha X α ranged over arithmetically definable sets, which is expressed by a formula Def ( X ) \operatorname{Def}(X) Def ( X ) of the language of ZF (via the truth predicate for arithmetic definable in ZF). We did not manage to prove anything essentially new about this semantics compared with I and B, while the combination of the code of the substituted formula with the binding modality ! ! ! required provisos in the scheme ( Π E ) (\Pi E) ( Π E ) and in the generalization rule. In the second version the code was removed altogether: S is B in which the boxes range only over arithmetically definable sets (the quantifiers over X α X_\alpha X α in the clauses for Π \Pi Π and for ! ! ! are relativized by the formula Def \operatorname{Def} Def ). Such a semantics hardly differs from B: all positive results carry over by relativizing the quantifiers, and all our refutations use arithmetically definable boxes. The only point of possible divergence known to us is predicativity: in S the values of Π \Pi Π -containing problems are merely definable in ZF and do not fall into the range of the quantifier, so the scheme ( Π E ) (\Pi E) ( Π E ) could be justified only for Π \Pi Π -free θ \theta θ , and closure under substitution only for Π \Pi Π -free substituted problems; in B the quantifier is not predicative, and both provisos are superfluous. We chose not to pay for a semantics that, as far as what has been proved goes, does not differ from B with provisos in all statements, and excluded it from the paper. Whether restricting the boxes to definable sets changes anything remains an open question (§ 8 ); an incidental argument in favour of definable boxes is that the translations of the propositions ? Π α ⃗ φ ?\Pi\vec{\alpha}\,\varphi ? Π α φ become arithmetical relative to 0 ( ω ) 0^{(\omega)} 0 ( ω ) rather than Π 1 1 \Pi^1_1 Π 1 1 -formulas. (End of remark.)
Remark 4. Whenever possible, we shall try to satisfy one syntactic restriction on formulas for this semantics: no variable has both free and bound occurrences in a formula, different binding operators bind different variables, and the modality ! ! ! is applied only to propositions without free problem variables. Such formulas are called clean . Every formula is equivalent to a clean one: the translations of the problems ! A !A ! A and ! Π α ⃗ A !\Pi\vec{\alpha}\,A ! Π α A coincide (Definition 4), and it suffices to make the quantifier explicit and then rename the bound variables. We do this to avoid misunderstandings. For example, in the semantics B the co-reflection α → ! ? α \alpha\to!?\alpha α → !? α , which contains both a free and a bound occurrence of the variable α \alpha α , has an entirely different meaning than in the arithmetical semantics. In the semantics B co-reflection is equivalent to the clean formula α → ! Π β ? β \alpha\to!\Pi\beta\,?\beta α → ! Π β ? β , which in turn is equivalent to the formula α → ∅ \alpha\to\varnothing α → ∅ . The latter is by no means equivalent to co-reflection in the arithmetical semantics. The meaning of clean formulas, on the other hand, is roughly the same in all semantics.
Lemma 1 carries over to the semantics B (its statements are provable in ZF); in addition, ZF proves
⟦ Π α φ ⟧ ∗ = ⋂ X ⊆ ω ⟦ φ ⟧ ∗ [ X α : = X ] . \llbracket\Pi\alpha\,\varphi\rrbracket_* = \bigcap_{X\subseteq\omega} \llbracket\varphi\rrbracket_*[X_\alpha:= X]. [ [ Π α φ ] ] ∗ = X ⊆ ω ⋂ [ [ φ ] ] ∗ [ X α := X ] .
The parameters of the three semantics are collected in the table:
Table 3.
The last two rows introduce two terms that we shall use constantly. The internal theory of a semantics is the one whose proofs serve as solutions of the problems ! A !A ! A ; provability in it is what the modality □ = ? ! \Box= ?! □ = ?! expresses, and Pr, Prf and Con without further specification refer to it. The external theory of a semantics is the one in which validity is verified (§ 5 ): a formula is considered established if it is provable in the external theory. For E the external theory is TA—its axioms are all arithmetical sentences true in N \mathbb{N} N , so that “TA ⊢ σ \vdash\sigma ⊢ σ ” simply means the truth of σ \sigma σ in N \mathbb{N} N . In the internal semantics I, B the internal and the external theory coincide (whence the name of these semantics); in E the external theory is strictly stronger than the internal one. In all three cases the internal theory is contained in the external one.
Validity
Definition
Definition 5 (code of an interpretation). Let a given formula φ \varphi φ contain the variables A 1 , … , A k A_1,\ldots,A_k A 1 , … , A k of sort proposition and α 1 , … , α m \alpha_1,\ldots,\alpha_m α 1 , … , α m of sort problem. The code of an arithmetical interpretation ∗ * ∗ (relative to the formula φ \varphi φ ) is the tuple
∗ φ : = ⟨ A 1 ∗ , … , A k ∗ , α 1 ∗ , … , α m ∗ ⟩ . {}_* \varphi:= \langle A_1^*,\ldots,A_k^*,\alpha_1^*,\ldots,\alpha_m^* \rangle. ∗ φ := ⟨ A 1 ∗ , … , A k ∗ , α 1 ∗ , … , α m ∗ ⟩ . This is a finite object: the values of ∗ * ∗ on variables not occurring in φ \varphi φ are not included in it. For the semantics B we omit the second part of the tuple: there the problem variables are boxes, and they have no code.
Definition 6 (validity). A proposition A A A is valid in a given semantics if for every interpretation ∗ * ∗ the formula A ∗ A^* A ∗ is provable in the external theory of this semantics. A problem φ \varphi φ is valid in a given semantics if there exists a total computable function S S S such that for every interpretation ∗ * ∗ the value S ( ∗ φ ) S({}_*\varphi) S ( ∗ φ ) is defined and the formula φ ∗ ( S ( ∗ ) ) \varphi^*(S(*)) φ ∗ ( S ( ∗ )) is provable in the external theory.2 In the semantics B the translations A ∗ A^* A ∗ and φ ∗ ( S ( ∗ ) ) \varphi^*(S(*)) φ ∗ ( S ( ∗ )) may contain free set variables X ⃗ \vec{X} X —the boxes of the free problem variables of the formula. By provability of such a formula in B we mean provability of its closure ∀ X ⃗ φ ∗ ( S ( ∗ ) ) \forall\vec{X}\,\varphi^*(S(*)) ∀ X φ ∗ ( S ( ∗ )) .
Validity in a semantics Z Z Z is also called Z Z Z -validity; validity in several semantics at once—for instance, I, B-validity. For E provability in TA is truth in N \mathbb{N} N , that is, membership S ( ∗ ) ∈ ⟦ φ ⟧ ∗ S(*) \in\llbracket\varphi\rrbracket_* S ( ∗ ) ∈ [ [ φ ] ] ∗ ; for I this membership follows from provability, since PA is contained in TA. For B values do not enter the definition: ZF has no canonical model. If one imagines some model M M M of ZF and the values in it (Definition 4), then a valid problem is solved by the function S S S in M M M under every interpretation and every contents of the boxes; but this is not part of the definition, only its informal reading.
We conclude this section by proving that validity is preserved under substitution of formulas for variables, as well as under application of the rule Modus Ponens (MP).
Lemma 3 (closure). In the arithmetical semantics the set of valid formulas is closed under the rule (MP) and under substitution: of problems for free problem variables, of propositions for propositional variables.
For the semantics B the analogue of this lemma holds not for all substitutions. Here is a counterexample: the proposition ? Π α ( β ⋎ ∼ β ) ?\Pi\alpha(\beta\curlyvee\sim\beta) ? Π α ( β ⋎ ∼ β ) is valid in B: the theory ZF proves the formula ∃ x ( β ⋎ ∼ β ) ( x ) \exists x\,(\beta\curlyvee\sim\beta)^{(x)} ∃ x ( β ⋎ ∼ β ) ( x ) by case analysis: if the value of β \beta β is nonempty, say β ∗ ( u ) \beta^{\ast}(u) β ∗ ( u ) holds, then c ( 0 , u ) c(0,u) c ( 0 , u ) is a solution, and otherwise c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) is. If we substitute α \alpha α for β \beta β , we obtain the proposition ? Π α ( α ⋎ ∼ α ) ?\Pi\alpha(\alpha\curlyvee\sim\alpha) ? Π α ( α ⋎ ∼ α ) , which ZF refutes: a solution of the form c ( 0 , u ) c(0,u) c ( 0 , u ) is rejected by the box ∅ \varnothing ∅ , and a solution of the form c ( 1 , e ) c(1,e) c ( 1 , e ) by the box { 0 } \{0\} { 0 } , since the label 1 promises that the value is empty.
For the semantics B it will suffice for us to have this lemma for the so-called safe substitutions . By definition, these are substitutions with the following two properties:
The free problem variables of the substituted formula must not fall under the binding quantifier Π \Pi Π . This phenomenon is called variable capture ; the necessity of forbidding capture we have just demonstrated by the counterexample.
Similarly, the free problem variables of the substituted formula must not fall under the binding modality ! ! ! . This restriction concerns only substitutions of propositions for propositional variables: when a problem is substituted for a problem variable, it is satisfied automatically, since free occurrences of a problem variable do not lie under the symbol ! ! ! . An example of a violation: ! A ↦ ! ? α !A \mapsto!?\alpha ! A ↦ !? α . We cannot demonstrate the necessity of this restriction by an example: we do not know whether it is really necessary.
Lemma 4 (closure). In the semantics B the set of valid formulas is closed under the rule (MP) and under safe substitutions .
The proofs of the lemmas are given in the appendix.
The scheme (A4)
The only scheme about propositions that will become an axiom is the group (A4), asserting that the modality ? is a Boolean homomorphism; here we verify its validity. In this and the two following subsections all statements are formulated and proved for all three semantics at once.
Lemma 5 (? is a Boolean homomorphism at the level of translations). For any problems φ , ψ \varphi,\psi φ , ψ the following equivalences are provable in the internal theory (and hence in the external one), and the proofs are computably constructed from the code of the interpretation:
( ? ( φ → ψ ) ) ∗ ≡ ( ( ? φ ) ∗ ⊃ ( ? ψ ) ∗ ) , ( ? ( φ ∧ ψ ) ) ∗ ≡ ( ( ? φ ) ∗ ∧ ( ? ψ ) ∗ ) , (?(\varphi\to\psi))^{*} \equiv((?\varphi)^{*} \supset(?\psi)^{*}), \qquad(?( \varphi\wedge\psi))^{*} \equiv((?\varphi)^{*} \wedge(?\psi)^{*}), ( ? ( φ → ψ ) ) ∗ ≡ (( ? φ ) ∗ ⊃ ( ? ψ ) ∗ ) , ( ? ( φ ∧ ψ ) ) ∗ ≡ (( ? φ ) ∗ ∧ ( ? ψ ) ∗ ) , ( ? ( φ ∨ ψ ) ) ∗ ≡ ( ( ? φ ) ∗ ∨ ( ? ψ ) ∗ ) , ( ? ∅ ) ∗ ≡ ⊥ . (?( \varphi\vee\psi))^{*} \equiv((?\varphi)^{*} \vee(?\psi)^{*}), \qquad(? \varnothing)^{*} \equiv\bot. ( ? ( φ ∨ ψ ) ) ∗ ≡ (( ? φ ) ∗ ∨ ( ? ψ ) ∗ ) , ( ? ∅ ) ∗ ≡ ⊥. Proof. For conjunction: the formula ( ? ( φ ∧ ψ ) ) ∗ (?(\varphi\wedge\psi))^{*} ( ? ( φ ∧ ψ ) ) ∗ is ∃ x ∃ u ∃ v ( x = c ( u , v ) ∧ φ ∗ ( u ) ∧ ψ ∗ ( v ) ) \exists x\,\exists u\,\exists v\,(x=c(u,v)\wedge\varphi^{*}(u)\wedge\psi^{*}(v)) ∃ x ∃ u ∃ v ( x = c ( u , v ) ∧ φ ∗ ( u ) ∧ ψ ∗ ( v )) , and the internal theory proves its equivalence to the conjunction ∃ u φ ∗ ( u ) ∧ ∃ v ψ ∗ ( v ) \exists u\,\varphi^{*}(u)\wedge\exists v\,\psi^{*}(v) ∃ u φ ∗ ( u ) ∧ ∃ v ψ ∗ ( v ) : from left to right by the projections of the pair, from right to left by forming the pair. The same for disjunction, with a case distinction on which of the labels c ( 0 , u ) c(0,u) c ( 0 , u ) , c ( 1 , v ) c(1,v) c ( 1 , v ) is present. For ∅ \varnothing ∅ : ( ? ∅ ) ∗ (?\varnothing)^{*} ( ? ∅ ) ∗ is ∃ x ⊥ \exists x\,\bot ∃ x ⊥ .
For implication, from left to right the internal theory proves ∃ x ( φ → ψ ) ∗ ( x ) ⊃ ( ∃ y φ ∗ ( y ) ⊃ ∃ z ψ ∗ ( z ) ) \exists x\,(\varphi\to\psi)^{*}(x)\supset(\exists y\,\varphi^{*}(y)\supset\exists z\,\psi^{*}(z)) ∃ x ( φ → ψ ) ∗ ( x ) ⊃ ( ∃ y φ ∗ ( y ) ⊃ ∃ z ψ ∗ ( z )) —this is pure logic. From right to left some work is needed: an index must be exhibited. The internal theory proves ( ∃ u φ ∗ ( u ) ⊃ ∃ v ψ ∗ ( v ) ) ⊃ ∃ x ( φ → ψ ) ∗ ( x ) (\exists u\,\varphi^{*}(u)\supset\exists v\,\psi^{*}(v))\supset\exists x\,(\varphi\to\psi)^{*}(x) ( ∃ u φ ∗ ( u ) ⊃ ∃ v ψ ∗ ( v )) ⊃ ∃ x ( φ → ψ ) ∗ ( x ) by distinguishing two cases. If ¬ ∃ u φ ∗ ( u ) \neg\exists u\,\varphi^{*}(u) ¬∃ u φ ∗ ( u ) , then the condition in ( φ → ψ ) ∗ ( x ) (\varphi\to\psi)^{*}(x) ( φ → ψ ) ∗ ( x ) is vacuous and any x x x will do. If, on the other hand, ∃ v ψ ∗ ( v ) \exists v\,\psi^{*}(v) ∃ v ψ ∗ ( v ) , then, taking the least such v v v , x : = k ( v ) x:=k(v) x := k ( v ) will do, where k k k is a total computable function that yields, given v v v , an index of the constant function u ↦ v u\mapsto v u ↦ v (the parametrization theorem). The case distinction here is classical—this is the residual classicality of our semantics, to which we shall return (Remark 17). All computations are the same in PA and ZF; in B they are carried out on top of the free set variables X α X_\alpha X α , which take part neither in the case distinction nor in the formation of pairs.
Modality-free problems: the schemes of Int
We turn to problems and begin with the simplest class of them—problems without modalities, that is, built from variables and the constant ∅ \varnothing ∅ by the connectives → \to → , ∧ \wedge ∧ , ∨ \vee ∨ . The future axioms (A2)—the schemes of the intuitionistic calculus Int—are valid.
Proposition 6 (the schemes of Int are valid). Every problem derivable in the intuitionistic calculus is valid in all three semantics, moreover with a constant solving function.
Proof. The Kleene realizers of the axiom schemes of Int are built from indices supplied by the parametrization theorem and do not depend on the interpretation; the correctness of each realizer is provable in the internal theory, and the proof is constructed from the code: the computations are the same in PA and ZF, and in B they are carried out on top of free set variables. The rule (MP) preserves validity by Lemmas 3 and 4.
Everything else that we know about valid modality-free problems—in particular, that there are no classical schemes among them, and that they are not exhausted by the intuitionistic ones—is more convenient to prove after the soundness theorem; this is done in § 6.10 .
Valid problems with modalities
About the set of all valid problems—with modalities—we know much less. It is (in each of the three semantics) closed under (MP) and substitution—safe substitution in B (Lemmas 3 and 4). Here we verify the validity of those schemes with modalities that will become axioms of the calculi of § 6 for the semantics I and B: the scheme (A3) and the schemes (A5) and (A7) about problems of a special form. The axioms of the calculus for E—reflection (A8) and its analogue for problems (A9)—will be verified when it is defined.
Proposition 7 (the scheme (A3)). For any propositions A A A , B B B the problem ! ( A ⊃ B ) → ( ! A → ! B ) !(A \supset B) \to(!A \to!B) ! ( A ⊃ B ) → ( ! A → ! B ) is valid in all three semantics.
Proof. In I and E: the function that, given proofs of the formulas A ∗ ⊃ B ∗ A^* \supset B^* A ∗ ⊃ B ∗ and A ∗ A^* A ∗ in the internal theory, constructs a proof of the formula B ∗ B^* B ∗ by the rule modus ponens is computable; the parametrization theorem yields a constant solving function S S S , and its correctness is provable in the external theory. In B the same, with a correction for binding: solutions of the problems ! ( A ⊃ B ) !(A \supset B) ! ( A ⊃ B ) , ! A !A ! A , ! B !B ! B are proofs of the closures of the formulas A ∗ ⊃ B ∗ A^* \supset B^* A ∗ ⊃ B ∗ , A ∗ A^* A ∗ , B ∗ B^* B ∗ with respect to the free variables of the corresponding propositions. From a proof of the formula ∀ X ⃗ ( A ∗ ⊃ B ∗ ) \forall\vec{X}(A^* \supset B^*) ∀ X ( A ∗ ⊃ B ∗ ) and a proof of the formula ∀ X ⃗ A A ∗ \forall\vec{X}_A A^* ∀ X A A ∗ one constructs a proof of the formula ∀ X ⃗ B B ∗ \forall\vec{X}_B B^* ∀ X B B ∗ : the variables free in A A A but not in B B B are instantiated by the set ∅ \varnothing ∅ , after which only modus ponens and generalization remain. The transformation is computable, the solver is constant, and its correctness is provable in ZF.
Σ-problems
We single out a class of problems defined grammatically; it will appear in the axioms (A5) and (A7) of the calculi (§ 6 ).
Definition 7 (Σ-problems and Σ-propositions). Σ-problems are the problems built by the grammar
φ : : = ∅ ∣ ! A ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ ) \varphi::= \varnothing\mid!A \mid(\varphi\wedge\varphi) \mid(\varphi\vee\varphi) φ ::= ∅ ∣ ! A ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ )
where A A A is an arbitrary proposition. In other words, a Σ-problem is assembled from problems of the form ! A !A ! A and the constant ∅ \varnothing ∅ by means of ∧ \wedge ∧ and ∨ \vee ∨ alone: variables of sort problem, implication and, hence, negation do not enter here. For example, ! A !A ! A , ! A ∨ ! B !A \vee!B ! A ∨ ! B and ( ! A ∧ ! B ) ∨ ! C (!A \wedge!B) \vee!C ( ! A ∧ ! B ) ∨ ! C are Σ-problems, whereas α \alpha α , ∼ A \sim\!A ∼ A and ! A → ! B !A \to!B ! A → ! B are not. In the semantics B a Σ-problem has no free problem variables: all its problem variables occur under ! ! ! and are bound by this symbol.
Σ-propositions are the propositions built by the grammar
A : : = ⊥ ∣ ? φ ∣ ( A ∧ A ) ∣ ( A ∨ A ) A ::= \bot\mid?\varphi\mid(A \wedge A) \mid(A \vee A) A ::= ⊥ ∣ ? φ ∣ ( A ∧ A ) ∣ ( A ∨ A )
where φ \varphi φ ranges over Σ-problems. Again there are no propositional variables, no implication and no negation here. In our calculus every such proposition will be equivalent to a combination of ⊥ \bot ⊥ and formulas □ B \Box B □ B by means of ∧ \wedge ∧ and ∨ \vee ∨ : ? ∅ ≡ ⊥ ?\varnothing\equiv\bot ? ∅ ≡ ⊥ , ? ! B ≡ □ B ?!B \equiv\Box B ?! B ≡ □ B , and ? ? ? passes through ∧ \wedge ∧ and ∨ \vee ∨ . In particular, □ B \Box B □ B is a Σ-proposition for any B B B .
We verify two schemes about Σ-problems, which will become the axioms (A5) and (A7).
Lemma 8. There is a total computable function which, given a Σ \Sigma Σ -problem φ \varphi φ and a code ∗ \ast ∗ , outputs an index of a program enumerating the set ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_{\ast} [ [ φ ] ] ∗ . Moreover, the external theory proves that this program enumerates exactly the set defined by the formula φ ∗ \varphi^{\ast} φ ∗ .
Proof. Induction on the construction of φ \varphi φ , relying on Lemma 1. For φ = ∅ \varphi=\varnothing φ = ∅ —the empty enumeration. For φ = ! A \varphi=!A φ = ! A the set ⟦ ! A ⟧ ∗ \llbracket!A\rrbracket_{\ast} [ [ ! A ] ] ∗ consists of the proofs of the formula A ∗ A^{\ast} A ∗ (in B, of its closure), and “n n n is a proof of the given formula” is a decidable relation, so an exhaustive search over all n n n with checking will do. For φ = ψ ∧ χ \varphi=\psi\mathbin{\wedge}\chi φ = ψ ∧ χ we enumerate the pairs c ( u , v ) c(u,v) c ( u , v ) from enumerations of ⟦ ψ ⟧ ∗ \llbracket\psi\rrbracket_{\ast} [ [ ψ ] ] ∗ and ⟦ χ ⟧ ∗ \llbracket\chi\rrbracket_{\ast} [ [ χ ] ] ∗ ; for φ = ψ ∨ χ \varphi=\psi\mathbin{\vee}\chi φ = ψ ∨ χ , the elements c ( 0 , u ) c(0,u) c ( 0 , u ) and c ( 1 , v ) c(1,v) c ( 1 , v ) , alternating the two enumerations. In B the translation φ ∗ \varphi^{\ast} φ ∗ contains no free set variables, and the argument is the same.
Proposition 9 (the schemes (A5) and (A7)). For every Σ \Sigma Σ -problem φ \varphi φ the problems
(A5) φ → ! ? φ \varphi\to!? \varphi φ → !? φ (co-reflection) and (A7) ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ (double negation elimination).
are valid in all three semantics.
Proof. The translation φ ∗ \varphi^{\ast} φ ∗ is a Σ 1 \Sigma_{1} Σ 1 -formula: the clause for ! A !A ! A yields the decidable relation Prf \operatorname{Prf} Prf , and the clauses for ∧ \mathbin{\wedge} ∧ and ∨ \mathbin{\vee} ∨ add only ∧ \wedge ∧ , ∨ \vee ∨ and ∃ \exists ∃ .
(A5). A solution of the problem (!?φ \varphi φ ) is a proof of the formula ∃ x φ ∗ ( x ) \exists x\,\varphi^{\ast}(x) ∃ x φ ∗ ( x ) in the internal theory. Let e e e be an index of the program which, given anything as input, runs through all numbers and outputs the first number found that is a proof of the formula ∃ x φ ∗ ( x ) \exists x\,\varphi^{\ast}(x) ∃ x φ ∗ ( x ) in the internal theory; put S ( ∗ ) : = e S(\ast):=e S ( ∗ ) := e . If ⟦ φ ⟧ ∗ = ∅ \llbracket\varphi\rrbracket_{\ast}=\varnothing [ [ φ ] ] ∗ = ∅ , there is nothing to check. If, on the other hand, u ∈ ⟦ φ ⟧ ∗ u\in\llbracket\varphi\rrbracket_{\ast} u ∈ [ [ φ ] ] ∗ , then ∃ x φ ∗ ( x ) \exists x\,\varphi^{\ast}(x) ∃ x φ ∗ ( x ) is a true Σ 1 \Sigma_{1} Σ 1 -sentence; by the Σ 1 \Sigma_{1} Σ 1 -completeness of the internal theory it is provable, the search halts, and U e ( u ) U_{e}(u) U e ( u ) is a proof of it. Provability in the external theory: it proves φ ∗ ( u ) ⊃ Pr ( ∃ x φ ∗ ( x ) ) \varphi^{\ast}(u)\supset\operatorname{Pr}(\exists x\,\varphi^{\ast}(x)) φ ∗ ( u ) ⊃ Pr ( ∃ x φ ∗ ( x )) (formalized Σ 1 \Sigma_{1} Σ 1 -completeness), and given Pr ( ∃ x φ ∗ ( x ) ) \operatorname{Pr}(\exists x\,\varphi^{\ast}(x)) Pr ( ∃ x φ ∗ ( x )) the search halts at the first proof found (formalization of unbounded search, as below in (A7)). Thus the external theory proves ∀ u ( φ ∗ ( u ) ⊃ Prf ( U e ( u ) , ∃ x φ ∗ ( x ) ) ) \forall u\,(\varphi^{\ast}(u)\supset\operatorname{Prf}(U_{e}(u),\exists x\,\varphi^{\ast}(x))) ∀ u ( φ ∗ ( u ) ⊃ Prf ( U e ( u ) , ∃ x φ ∗ ( x ))) .
(A7). By Lemma 8, from ∗ \ast ∗ one constructs an algorithm enumerating the set ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_{\ast} [ [ φ ] ] ∗ . Let e e e be an index of the program which, given anything as input, launches this enumeration and outputs the first element found; put S ( ∗ ) : = e S(\ast):=e S ( ∗ ) := e . If ⟦ ∼ ∼ φ ⟧ ∗ = ∅ \llbracket\sim\sim\varphi\rrbracket_{\ast}=\varnothing [ [ ∼∼ φ ] ] ∗ = ∅ , there is nothing to check. If, on the other hand, ⟦ ∼ ∼ φ ⟧ ∗ = N \llbracket\sim\sim\varphi\rrbracket_{\ast}=\mathbb{N} [ [ ∼∼ φ ] ] ∗ = N , then by Lemma 2 the set ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_{\ast} [ [ φ ] ] ∗ is nonempty, the search halts, and U e ( u ) ∈ ⟦ φ ⟧ ∗ U_{e}(u)\in\llbracket\varphi\rrbracket_{\ast} U e ( u ) ∈ [ [ φ ] ] ∗ for all u u u . Provability in the external theory: by Lemma 2 the formula ( ∼ ∼ φ ) ∗ ( u ) (\sim\sim\varphi)^{\ast}(u) ( ∼∼ φ ) ∗ ( u ) is provably equivalent to ∃ v φ ∗ ( v ) \exists v\,\varphi^{\ast}(v) ∃ v φ ∗ ( v ) , and by Lemma 8 the external theory proves that the enumeration corresponds to the formula φ ∗ \varphi^{\ast} φ ∗ ; hence it also proves that, given ∃ v φ ∗ ( v ) \exists v\,\varphi^{\ast}(v) ∃ v φ ∗ ( v ) , the search halts at the first witness found (the usual formalization of bounded search). Thus the external theory proves ∀ u ( ( ∼ ∼ φ ) ∗ ( u ) ⊃ φ ∗ ( U e ( u ) ) ) \forall u\,((\sim\sim\varphi)^{\ast}(u)\supset\varphi^{\ast}(U_{e}(u))) ∀ u (( ∼∼ φ ) ∗ ( u ) ⊃ φ ∗ ( U e ( u ))) , and the proof is constructed from ∗ \ast ∗ .
In all cases the computations are the same in PA and ZF; in B the translations of Σ \Sigma Σ -problems contain no free set variables.
The semantics B: the operator Π \Pi Π
All facts of Subsections 5.2–5.4 have already been proved for all three semantics at once; what is new in this subsection is the operator Π \Pi Π itself. Let us recall the motivation from the introduction. Under the symbol ? the constructive content of a problem is lost: the proposition ?( α ∨ ¬ α ) (\alpha\mathbin{\vee}\neg\alpha) ( α ∨ ¬ α ) is valid trivially (PA is a classical theory and proves ∃ x ( α ∨ ¬ α ) ∗ ( x ) \exists x\,(\alpha\mathbin{\vee}\neg\alpha)^{\ast}(x) ∃ x ( α ∨ ¬ α ) ∗ ( x ) by a case analysis for every fixed interpretation), and just as trivially valid is ?ρ \rho ρ for Rosé’s formula (§ 6.10 ), although the problem ρ \rho ρ itself is solved by a nontrivial algorithm. The quantifier Π \Pi Π restores what has been lost: later we shall prove (§ 6.7 ) that the proposition ? Π α ( α ∨ ∼ α ) ? \Pi\alpha(\alpha\lor\sim\alpha) ? Π α ( α ∨ ∼ α ) is refutable—its negation is valid—while ? Π β Π γ ρ ? \Pi\beta\Pi\gamma\rho ? Π β Π γ ρ is a nontrivial valid proposition. Here we verify the validity of the laws of the operator itself; they will become axioms of the calculus for B.
Proposition 10 (laws of Π \Pi Π ). The following formulas are valid in B (in parentheses, the realizer of the problems; all realizers are constant).
(Π \Pi Π E): Π α φ → φ [ θ / α ] \Pi\alpha\ \varphi\to\varphi[\theta/\alpha] Π α φ → φ [ θ / α ] and Π α A ⊃ A [ θ / α ] \Pi\alpha\ A \supset A[\theta/\alpha] Π α A ⊃ A [ θ / α ] , if θ \theta θ is free for α \alpha α (for the problem the realizer is the identity: the translation of φ [ θ / α ] \varphi[\theta/\alpha] φ [ θ / α ] is obtained from φ ∗ \varphi^* φ ∗ by substituting the set { x : θ ∗ ( x ) } \{x : \theta^*(x)\} { x : θ ∗ ( x )} for X α X_\alpha X α —the symbols ! ! ! are not affected by the substitution, since no free occurrences of α \alpha α lie under them—and the intersection over all boxes is contained in the value at this box; for the proposition, ZF proves the translation by the same instantiation of the quantifier ∀ X α \forall X_\alpha ∀ X α );
(Π ∨ \Pi\lor Π ∨ ): Π α ( φ ∨ ψ ) → Π α φ ∨ Π α ψ \Pi\alpha(\varphi\lor\psi) \to\Pi\alpha\ \varphi\lor\Pi\alpha\ \psi Π α ( φ ∨ ψ ) → Π α φ ∨ Π α ψ (the identity; it is essential that the tag of the solution is fixed: a solution of the premise is a pair consisting of a tag and a solution e e e , and the same tag with the same e e e works for every box);
(Π ! \Pi! Π ! ): ! A ↔ ! Π α A !A \leftrightarrow!\Pi\alpha\ A ! A ↔ ! Π α A (the realizer is a transformation of proofs: solutions of the premise are proofs of the closure ∀ X ⃗ A ∗ \forall\vec{X}\ A^* ∀ X A ∗ , solutions of the conclusion are proofs of the closure ∀ X ⃗ ′ ∀ X α A ∗ \forall\vec{X}'\forall X_\alpha\ A^* ∀ X ′ ∀ X α A ∗ , where X ⃗ ′ \vec{X}' X ′ are the boxes of the remaining free problem variables of A A A ; these formulas differ only in the order of the quantifiers (and, when α ∉ F V ( A ) \alpha\notin FV(A) α ∈ / F V ( A ) , by a superfluous quantifier), and if α \alpha α is the last in X ⃗ \vec{X} X , they coincide; permutation of quantifiers in a proof is a computable transformation whose correctness is provable in ZF).
All arguments are carried out in ZF over free set variables.
Besides these axioms, the calculus for B will need one rule—Bernays’ rule : from φ → ψ \varphi\to\psi φ → ψ infer φ → Π α ψ \varphi\to\Pi\alpha\ \psi φ → Π α ψ provided α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) (and likewise for propositions). It preserves validity—this is verified together with the other rules in Theorem 15. The remaining customary laws of the quantifier—generalization, Π α φ ↔ φ \Pi\alpha\ \varphi\leftrightarrow\varphi Π α φ ↔ φ for α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) , distributivity over implication and conjunction, the converse of (Π ∨ \Pi\lor Π ∨ )—will be derived from (Π \Pi Π E) and Bernays’ rule (Lemma 14).
Summary: the table of validity
Table 1 summarizes the validity of all schemes which in § 6 will become axioms of the calculi (the schemes (A8) and (A9) of the calculus for E are treated in § 6.3 ). Notation: + means valid; − means not valid (under the assumptions of Remark 5); · means not expressible in the given semantics (no Π \Pi Π ). The last column indicates where this is proved; the validity of the scheme (A6) will be obtained in § 6 by a derivation in the calculus (Theorem 15).
Calculi
For each of the three semantics we define a calculus sound with respect to it: HCI, HCB and HCE. The axioms are exactly the schemes of Table 1 marked with a plus in the corresponding column. The validity of all axioms of the calculi for I and B, except (A6), has been proved in § 5 , that of the axioms (A8) and (A9) of the calculus for E is proved in § 6.3 ; the scheme (A6) we shall not verify directly—it will be derived from the other axioms and the fixed-point lemma (Theorem 15).
Table 1 (PDF p. 18). Axioms of the calculi and their validity in the three semantics
The calculus for the semantics I
Definition 8 (the system HCI). Axiom schemes:
(A1) classical tautologies (sort proposition);
(A2) axiom schemes of intuitionistic logic (sort problem);
(A3) ! ( A ⊃ B ) → ( ! A → ! B ) !(A \supset B) \to(!A \to!B) ! ( A ⊃ B ) → ( ! A → ! B ) ;
(A4) ? ? ? is a Boolean homomorphism: (A4a) ? ( φ → ψ ) ≡ ( ? φ ⊃ ? ψ ) ?(\varphi\to\psi) \equiv(? \varphi\supset? \psi) ? ( φ → ψ ) ≡ ( ? φ ⊃ ? ψ ) , (A4b) ? ( φ ∧ ψ ) ≡ ( ? φ ∧ ? ψ ) ?(\varphi\land\psi) \equiv(? \varphi\land? \psi) ? ( φ ∧ ψ ) ≡ ( ? φ ∧ ? ψ ) , (A4c) ? ( φ ∨ ψ ) ≡ ( ? φ ∨ ? ψ ) ?(\varphi\lor\psi) \equiv(? \varphi\lor? \psi) ? ( φ ∨ ψ ) ≡ ( ? φ ∨ ? ψ ) , (A4d) ? ∅ ≡ ⊥ ? \varnothing\equiv\bot ? ∅ ≡ ⊥ ;
(A5) φ → ! ? φ \varphi\to!? \varphi φ → !? φ for Σ \Sigma Σ -problems φ \varphi φ (co-reflection on the class Σ \Sigma Σ );
(A6) ! ( □ A ⊃ A ) → ! A !(\Box A \supset A) \to!A ! ( □ A ⊃ A ) → ! A (a constructive version of Löb’s theorem);
(A7) ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ for Σ \Sigma Σ -problems φ \varphi φ .
In all schemes A A A , B B B are arbitrary propositions, φ \varphi φ , ψ \psi ψ are arbitrary problems (and in (A7), arbitrary problems of the indicated class); a scheme denotes the set of all its instances. All formulas here are Π \Pi Π -free. Inference rules:
(MP) A , A ⊃ B B \dfrac{A,\ A \supset B}{B} B A , A ⊃ B and φ , φ → ψ ψ \dfrac{\varphi,\ \varphi\to\psi}{\psi} ψ φ , φ → ψ (for both sorts);
(AtoP) A ! A \dfrac{A}{!A} ! A A from a proposition, a problem;
(PtoA) φ ? φ \dfrac{\varphi}{?\varphi} ? φ φ from a problem, a proposition.
The names of the rules read as “assertion to problem” and “problem to assertion”: (AtoP) produces from a proposition A A A the problem ! A !A ! A “find a proof of A A A ”, and (PtoA) produces from a problem φ \varphi φ the proposition ? φ ?\varphi ? φ “φ \varphi φ has a solution”.
The special case σ : = ! A \sigma:= {!}A σ := ! A of the scheme (A5) is the problem ! A → ! □ A {!}A \to{!}\Box A ! A → ! □ A : from a proof of the formula A A A one can construct a proof of the formula □ A \Box A □ A .
By HCI− ^{-} − we denote the same calculus without the schemes (A6) and (A7). It will be needed because we shall not verify Löb’s scheme directly: it will be derived in HCI− ^{-} − from the fixed-point lemma. By HC0 ^{0} 0 (the core ) we denote a still smaller system: the schemes (A1), (A2), (A3), the left half of (A4a), (A4b)–(A4d), (A5) and all three inference rules. The core is exactly that part of our axiomatics which is contained in Melikhov’s logic HC.
The calculus for the semantics B
Definition 9 (the system HCB). Formulas are the formulas of the full language with the quantifier Π \Pi Π (§ 4.2 ). The axioms of the system HCB are the schemes (A1)–(A7) and the axioms of the operator Π \Pi Π :
( Π E ) (\Pi\mathrm{E}) ( Π E ) (for both sorts), ( Π ∨ ) (\Pi\vee) ( Π ∨ ) , ( Π ! ) (\Pi!) ( Π !)
(for the formulations see Proposition 10; in ( Π E ) (\Pi\mathrm{E}) ( Π E ) it is understood that θ \theta θ is free for α \alpha α ). Inference rules: (MP), (AtoP), (PtoA) and Bernays’ rule for both sorts
( B e r n ) φ → ψ φ → Π α ψ and A ⊃ B A ⊃ Π α B (for both sorts), (\mathrm{Bern})\quad\frac{\varphi\to\psi}{\varphi\to\Pi_{\alpha}\psi}
\quad\text{and}\quad
\frac{A \supset B}{A \supset\Pi_{\alpha}B}
\quad\text{(for both sorts),} ( Bern ) φ → Π α ψ φ → ψ and A ⊃ Π α B A ⊃ B (for both sorts), where α \alpha α does not occur free in the premise φ \varphi φ (respectively A A A ).
Thus the quantifier-free part of the axiomatics of HCB coincides with HCI; what the quantifier layer gives is discussed in § 6.7 .
The calculus for the semantics E
Definition 10 (the system HCE). The axioms of the system HCE are all theorems of HCI, together with the schemes
(A8) □ A ⊃ A \Box A \supset A □ A ⊃ A (reflection), (A9) ! ? φ → ∼ ∼ φ {!?}\varphi\to\mathord{\sim}\mathord{\sim}\varphi !? φ → ∼ ∼ φ (reflection for problems)
(A A A is an arbitrary proposition, φ \varphi φ is an arbitrary problem). The inference rules are (MP) and (PtoA); there is no rule (AtoP).
Proposition 11 (the schemes (A8) and (A9) and the semantics). Let A A A be a variable of sort proposition and α \alpha α a variable of sort problem.
(1) The schemes (A8) and (A9) are E-valid.
(2) The schemes (A8) and (A9) are neither I- nor B-valid: already their instances □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ and ! ? ∅ → ∼ ∼ ∅ {!?}\varnothing\to\mathord{\sim}\mathord{\sim}\varnothing !? ∅ → ∼ ∼ ∅ are not valid.
(3) The problem ! ( □ ⊥ ⊃ ⊥ ) {!}(\Box\bot\supset\bot) ! ( □ ⊥ ⊃ ⊥ ) is not valid in any of the three semantics.
(4) Neither the problem ! ? α → α {!?}\alpha\to\alpha !? α → α nor the converse co-reflection α → ! ? α \alpha\to{!?}\alpha α → !? α is valid in any of the three semantics.
Proof. (1) The scheme (A8). In E: if ⟦ ! ? A ⟧ ∗ = T \llbracket{!?}A\rrbracket_* = \mathrm{T} [ [ !? A ] ] ∗ = T , then P A ⊢ A ∗ \mathrm{PA} \vdash A^* PA ⊢ A ∗ , and the formula A ∗ A^* A ∗ is true, since the internal theory PA is contained in the external theory TA. The scheme (A9). In E the function S ( ∗ ) : = e S(*) := e S ( ∗ ) := e works, where e e e is the number of the constant function u ↦ 0 u \mapsto0 u ↦ 0 ; it is the same for all ∗ * ∗ , so the algorithm makes no case distinction at all. Let us check that this number is suitable. If ⟦ ! ? φ ⟧ ∗ = ∅ \llbracket!?\varphi\rrbracket_* = \varnothing [ [ !? φ ] ] ∗ = ∅ , then ⟦ ! ? φ → ∼ ∼ φ ⟧ ∗ = N \llbracket!?\varphi\to\mathord{\sim}\mathord{\sim}\varphi\rrbracket_* = \mathbb{N} [ [ !? φ → ∼ ∼ φ ] ] ∗ = N and any number is suitable. If, on the other hand, ⟦ ! ? φ ⟧ ∗ ≠ ∅ \llbracket!?\varphi\rrbracket_* \ne\varnothing [ [ !? φ ] ] ∗ = ∅ , then P A ⊢ ∃ x φ ∗ ( x ) \mathrm{PA} \vdash\exists x\,\varphi^*(x) PA ⊢ ∃ x φ ∗ ( x ) , hence ⟦ φ ⟧ ∗ ≠ ∅ \llbracket\varphi\rrbracket_* \ne\varnothing [ [ φ ] ] ∗ = ∅ , and by Lemma 2 ⟦ ∼ ∼ φ ⟧ ∗ = N \llbracket\mathord{\sim}\mathord{\sim}\varphi\rrbracket_* = \mathbb{N} [ [ ∼ ∼ φ ] ] ∗ = N ; therefore U e U_e U e lands in ⟦ ∼ ∼ φ ⟧ ∗ \llbracket\mathord{\sim}\mathord{\sim}\varphi\rrbracket_* [ [ ∼ ∼ φ ] ] ∗ on any input.
(2) The scheme (A8). The translation of the reflection formula □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ is Con, and the consistency of the internal theory is not provable in that theory itself (which is also the external one)—Gödel’s second theorem.
The scheme (A9). In the internal semantics already the formula ! ? ∅ → ∼ ∼ ∅ !? \varnothing\to\mathord{\sim}\mathord{\sim}\varnothing !? ∅ → ∼ ∼ ∅ is not valid. Indeed, the problem ∼ ∼ ∅ \mathord{\sim}\mathord{\sim}\varnothing ∼ ∼ ∅ is provably equivalent to ∅ \varnothing ∅ , and ( ? ∅ ) ∗ (?\varnothing)^* ( ? ∅ ) ∗ is provably equivalent to the formula ⊥ \bot ⊥ (Lemma 5), so the translation of the problem ! ? ∅ → ∼ ∼ ∅ !? \varnothing\to\mathord{\sim}\mathord{\sim}\varnothing !? ∅ → ∼ ∼ ∅ is provably equivalent to the translation of the problem ∼ ! ⊥ \mathord{\sim}!\bot ∼ ! ⊥ , that is, to the formula ∀ v ( Prf ( v , ⊥ ) ⊃ ⊥ ) \forall v\,(\operatorname{Prf}(v,\bot) \supset\bot) ∀ v ( Prf ( v , ⊥ ) ⊃ ⊥ ) , which is provably equivalent to Con; and the consistency of the internal theory is not provable in that theory itself (which is also the external one)—Gödel’s second theorem.
(3) Suppose that this problem is valid, and denote its solver by S S S . Applying it to the formula ⊥ \bot ⊥ , we obtain a natural number n n n for which the external theory proves the formula Prf ( n , □ ⊥ ⊃ ⊥ ) \operatorname{Prf}(n,\Box\bot\supset\bot) Prf ( n , □ ⊥ ⊃ ⊥ ) . This is a Σ 0 \Sigma_0 Σ 0 -sentence; were it false, its negation would be provable (Σ 1 \Sigma_1 Σ 1 -completeness), contradicting the consistency of the external theory. Hence it is true: n n n is a proof of the formula □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ in the internal theory, that is, the internal theory proves its own consistency—contradicting Gödel’s second theorem.
(4) For the arithmetical semantics: fix a computably enumerable undecidable set X ⊂ N X \subset\mathbb{N} X ⊂ N and express the property n ∈ X n \in X n ∈ X by an arithmetical sigma formula ∃ x A ( x , n ) \exists x A(x,n) ∃ x A ( x , n ) . Put α n ∗ ( x ) : = ( x = 0 ∧ ¬ A ( x , n ) ) ∨ ( x = 1 ∧ A ( x , n ) ) \alpha_n^*(x) := (x = 0 \land\neg A(x,n)) \lor(x = 1 \land A(x,n)) α n ∗ ( x ) := ( x = 0 ∧ ¬ A ( x , n )) ∨ ( x = 1 ∧ A ( x , n )) . Then PA proves ∃ x α n ∗ ( x ) \exists x\,\alpha_n^*(x) ∃ x α n ∗ ( x ) for every natural number n n n , so that ⟦ ! ? α ⟧ n ∗ ≠ ∅ \llbracket!?\alpha\rrbracket_n^* \ne\varnothing [ [ !? α ] ] n ∗ = ∅ , while ⟦ α ⟧ n ∗ \llbracket\alpha\rrbracket_n^* [ [ α ] ] n ∗ is { 0 } \{0\} { 0 } or { 1 } \{1\} { 1 } according to whether n n n belongs to X X X ; a solution would yield a decision algorithm for X X X .
This formula is not clean, so in the set-theoretic semantics the proof is quite different. The clean formula ! ? β → α !? \beta\to\alpha !? β → α equivalent to it is equivalent to ! ⊥ → α !\bot\to\alpha ! ⊥ → α and is not valid: its instance at α : = ∅ \alpha:= \varnothing α := ∅ is the problem ∼ ! ⊥ \mathord{\sim}!\bot ∼ ! ⊥ , whose translation is provably equivalent to Con, so that, assuming the consistency of ZF, it has no solutions.
Co-reflection. For the arithmetical semantics, suppose that there is an algorithm S S S which provably produces, from ∗ * ∗ , a solution of the problem ( α → ! ? α ) ∗ (\alpha\to!?\alpha)^* ( α → !? α ) ∗ . Let α ∗ \alpha^* α ∗ be Con (with no free variables), that is, the arithmetical formula expressing the consistency of the internal theory. Put n = S ( ∗ ) n = S(*) n = S ( ∗ ) . Then the external theory proves the formula
( α → ! ? α ) ∗ ( n ) = ∀ x ( Con ⊃ Prf ( U n ( x ) , ∃ y Con ) ) , (\alpha\to!?\alpha)^*(n) = \forall x(\operatorname{Con} \supset\operatorname{Prf}(U_n(x), \exists y\,\operatorname{Con})), ( α → !? α ) ∗ ( n ) = ∀ x ( Con ⊃ Prf ( U n ( x ) , ∃ y Con )) ,
which provably implies
Con ⊃ ∃ z Prf ( z , Con ) . \operatorname{Con} \supset\exists z\operatorname{Prf}(z,\operatorname{Con}). Con ⊃ ∃ z Prf ( z , Con ) .
Meanwhile, by Gödel’s second theorem the internal (and hence also the external) theory proves
Con ⊃ ¬ ∃ z Prf ( z , Con ) . \operatorname{Con} \supset\neg\exists z\operatorname{Prf}(z,\operatorname{Con}). Con ⊃ ¬∃ z Prf ( z , Con ) .
Consequently, the external theory proves the false formula ¬ Con \neg\operatorname{Con} ¬ Con .
For the semantics B, first note that the variable α \alpha α in the conclusion of the formula α → ! ? α \alpha\to!?\alpha α → !? α is bound, so it means something quite different from what the variable α \alpha α in the premise means. The clean formula α → ! ? β \alpha\to!?\beta α → !? β equivalent to it is equivalent to the formula α → ! ⊥ \alpha\to!\bot α → ! ⊥ (Remark 2), and the latter is not valid: its instance at α : = ∼ ∅ \alpha:= \mathord{\sim}\varnothing α := ∼ ∅ is equivalent to the problem ! ⊥ !\bot ! ⊥ , which, assuming the consistency of ZF, has no solutions.
Now it is clear why HCE has no rule (AtoP): the proposition □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ is E-valid (a special case of (A8), item (1)), while applying the rule (AtoP) to it yields the problem ! ( □ ⊥ ⊃ ⊥ ) !(\Box\bot\supset\bot) ! ( □ ⊥ ⊃ ⊥ ) , which is not valid in any semantics (item (3)).
Remark 10 (why (A9), and why it cannot be strengthened). The scheme (A9) is exactly reflection transferred to the sort of problems: the proposition ? φ ? \varphi ? φ and the problem ∼ ∼ φ \sim\sim\varphi ∼∼ φ have, as Lemma 2 shows, one and the same meaning “φ \varphi φ has a solution”, and (A9) says: if it is proved that a solution exists, then it exists. It cannot be strengthened to ! ? φ → φ !? \varphi\to\varphi !? φ → φ : already for a variable this problem is not valid (Proposition 11(4)). The double negation on the right-hand side is exactly the weakening that erases this information: by Lemma 1(6) the set ⟦ ∼ ∼ φ ⟧ ∗ \llbracket\sim\sim\varphi\rrbracket_* [ [ ∼∼ φ ] ] ∗ is either N \mathbb{N} N or ∅ \varnothing ∅ , and there is nothing to choose in it.
The soundness of all three calculi is Theorem 15 (§ 6.6 ); first come the derived rules and examples of derivations.
One more natural question: why exactly these classes of problems are taken in (A5) and (A7). The short answer: we took the largest natural syntactically definable classes of problems for which these schemes are valid. A more detailed answer is in Section B in the Appendix.
Derived inference rules
Proposition 12. In the calculi HCI− ^{-} − , HCI, HCB the inference rules (1), (4), (5) are admissible, and the deduction lemma (2) and the lemma on transferring derivations (3) hold. In HCE, where there is no rule (AtoP), the deduction lemma (2), the second half of lemma (3) and rule (4) hold; rules (1), (5) and the first half of lemma (3) rely on (AtoP).
(1) the necessitation rule for □ \Box □ : from A A A one can derive □ A \Box A □ A .
(2) Deduction lemma. By a derivation from the hypotheses φ 1 , … , φ n \varphi_1,\ldots,\varphi_n φ 1 , … , φ n we mean a derivation that uses only the rule (MP) and in which the formulas φ 1 , … , φ n \varphi_1,\ldots,\varphi_n φ 1 , … , φ n , together with any formulas derivable in HCI− ^{-} − , are used as axioms. Then, if there is a derivation of the problem χ \chi χ from the hypotheses φ 1 , … , φ n \varphi_1,\ldots,\varphi_n φ 1 , … , φ n , the problem
φ 1 → ( φ 2 → ( … ( φ n → χ ) … ) ) \varphi_1 \to(\varphi_2 \to(\ldots(\varphi_n \to\chi)\ldots)) φ 1 → ( φ 2 → ( … ( φ n → χ ) … ))
is derivable in HCI− ^{-} − . The letters here are Greek: the hypotheses and the conclusion are problems. The analogous statement holds for propositions and for HCI.
(3) Lemma on transferring derivations. If a proposition A A A is derivable from the hypotheses B 1 , … , B n B_1,\ldots,B_n B 1 , … , B n in HCI− ^{-} − , then the problem ! A !A ! A is derivable from the hypotheses ! B 1 , … , ! B n !B_1,\ldots,!B_n ! B 1 , … , ! B n in HCI− ^{-} − . Similarly, if a problem χ \chi χ is derivable from the hypotheses φ 1 , … , φ n \varphi_1,\ldots,\varphi_n φ 1 , … , φ n in HCI− ^{-} − , then the proposition ? χ ?\chi ? χ is derivable from the hypotheses ? φ 1 , … , ? φ n ? \varphi_1,\ldots,? \varphi_n ? φ 1 , … , ? φ n in HCI− ^{-} − . The analogous statement holds for HCI as well.
(4) the rule ( ? → ) (? \to) ( ? → ) : From φ → ψ \varphi\to\psi φ → ψ one can derive ? φ ⊃ ? ψ ? \varphi\supset? \psi ? φ ⊃ ? ψ .
(5) the rule ( ! → ) (! \to) ( ! → ) : From A ⊃ B A \supset B A ⊃ B one can derive ! A → ! B !A \to!B ! A → ! B .
Proof. (1) (AtoP), then (PtoA). (2) The usual proof of the deduction lemma works. (3) Suppose we are given a derivation of a proposition A A A from the hypotheses B 1 , … , B n B_1,\ldots,B_n B 1 , … , B n in HCI− ^{-} − . Replace in this derivation every proposition C C C by the problem ! C !C ! C . Under this replacement all formulas derivable in H C I − \mathrm{HCI}^{-} HCI − (taken as axioms) turn, by the rule (AtoP), into derivable formulas again. The hypotheses B 1 , … , B n B_{1},\ldots,B_{n} B 1 , … , B n turn into the given hypotheses ! B 1 , … , ! B n !B_{1},\ldots,!B_{n} ! B 1 , … , ! B n , and the last formula A A A —into the desired formula ! A !A ! A . However, the resulting sequence of formulas ceases to be a derivation by the rule MP. But this is easy to repair, since if a formula U U U is obtained from formulas V V V and V ⊃ U V \supset U V ⊃ U by the rule MP, then from the formulas ! V !V ! V and ! ( V ⊃ U ) !(V \supset U) ! ( V ⊃ U ) and the axiom (A3) one can derive ! U !U ! U by applying MP twice. The second transfer is justified in the same way, except that instead of (AtoP) one applies (PtoA), and instead of (A3)—the left half of (A4a): from ? V ?V ? V and ? ( V → U ) ?(V \to U) ? ( V → U ) it yields ? U ?U ? U .
(4) By (PtoA) and the left half of (A4a).
(5) By (AtoP) and (A3).
Next we prove the lemma on replacement by an equivalent formula. It requires some care: our formulas are two-sorted, and the subformula being replaced may occur under modalities. We stress in advance that no axioms are thereby carried “inside a modality”: replacement under the signs ! and ? is performed by lifting a derivable equivalence through the modality by the rules (AtoP) and (PtoA), and these are applicable precisely because the equivalence is a theorem.
Lemma 13 (on replacement by an equivalent formula). Suppose that an equivalence C ≡ D C \equiv D C ≡ D (propositions) or χ ↔ χ ′ \chi\leftrightarrow\chi' χ ↔ χ ′ (problems) is derivable in H C I − \mathrm{HCI}^{-} HCI − , and a formula E ′ E' E ′ (of either sort) is obtained from a formula E E E by replacing some occurrences of the subformula C C C by D D D (respectively, χ \chi χ by χ ′ \chi' χ ′ ). Then the equivalence E ≡ E ′ E \equiv E' E ≡ E ′ or E ↔ E ′ E \leftrightarrow E' E ↔ E ′ , according to the sort of E E E , is derivable in H C I − \mathrm{HCI}^{-} HCI − . The same holds in H C I \mathrm{HCI} HCI , in H C E \mathrm{HCE} HCE and—for formulas with the quantifier Π \Pi Π —in H C B \mathrm{HCB} HCB .
Proof. Induction on the construction of the formula E E E . If E E E is a replaced occurrence, the equivalence is given by hypothesis; if there are no such occurrences inside E E E , then E = E ′ E = E' E = E ′ .
The inductive step is treated according to the main connective of E E E . Propositional connectives: if ⊢ E 1 ≡ E 1 ′ \vdash E_{1} \equiv E_{1}' ⊢ E 1 ≡ E 1 ′ and ⊢ E 2 ≡ E 2 ′ \vdash E_{2} \equiv E_{2}' ⊢ E 2 ≡ E 2 ′ , then ⊢ ( E 1 ⋆ E 2 ) ≡ ( E 1 ′ ⋆ E 2 ′ ) \vdash(E_{1} \star E_{2}) \equiv(E_{1}' \star E_{2}') ⊢ ( E 1 ⋆ E 2 ) ≡ ( E 1 ′ ⋆ E 2 ′ ) for ⋆ ∈ { ∧ , ∨ , ⊃ } \star\in\{\land,\lor,\supset\} ⋆ ∈ { ∧ , ∨ , ⊃ } , since ( X ≡ X ′ ) ⊃ ( ( Y ≡ Y ′ ) ⊃ ( ( X ⋆ Y ) ≡ ( X ′ ⋆ Y ′ ) ) ) (X \equiv X') \supset((Y \equiv Y') \supset((X \star Y) \equiv(X' \star Y'))) ( X ≡ X ′ ) ⊃ (( Y ≡ Y ′ ) ⊃ (( X ⋆ Y ) ≡ ( X ′ ⋆ Y ′ ))) is a classical tautology, scheme (A1); it remains to apply (MP).
Problem connectives: the analogous congruence schemes ( φ ↔ φ ′ ) → ( ( ψ ↔ ψ ′ ) → ( ( φ ⋆ ψ ) ↔ ( φ ′ ⋆ ψ ′ ) ) ) (\varphi\leftrightarrow\varphi') \to((\psi\leftrightarrow\psi') \to((\varphi\star\psi) \leftrightarrow(\varphi' \star\psi'))) ( φ ↔ φ ′ ) → (( ψ ↔ ψ ′ ) → (( φ ⋆ ψ ) ↔ ( φ ′ ⋆ ψ ′ ))) for ⋆ ∈ { ∧ , ∨ , → } \star\in\{\land,\lor,\to\} ⋆ ∈ { ∧ , ∨ , → } are derivable in Int, that is, they belong to (A2).
The modality !: let ⊢ A ≡ A ′ \vdash A \equiv A' ⊢ A ≡ A ′ . From both implications, by (A1), we obtain ⊢ A ⊃ A ′ \vdash A \supset A' ⊢ A ⊃ A ′ and ⊢ A ′ ⊃ A \vdash A' \supset A ⊢ A ′ ⊃ A ; the rule (! → \to → ) yields ! A → ! A ′ !A \to!A' ! A → ! A ′ and ! A ′ → ! A !A' \to!A ! A ′ → ! A .
The modality ?: similarly, except that instead of (! → \to → ) we use (? → \to → ).
The quantifier Π \Pi Π (in HCB): let ⊢ φ ↔ φ ′ \vdash\varphi\leftrightarrow\varphi' ⊢ φ ↔ φ ′ . By (IIE) the formula Π α φ → φ \Pi\alpha\varphi\to\varphi Π α φ → φ is derivable, by (A2)—so is φ → φ ′ \varphi\to\varphi' φ → φ ′ , and their composition is Π α φ → φ ′ \Pi\alpha\varphi\to\varphi' Π α φ → φ ′ ; the variable α \alpha α does not occur free in Π α φ \Pi\alpha\varphi Π α φ , and Bernays’ rule yields Π α φ → Π α φ ′ \Pi\alpha\varphi\to\Pi\alpha\varphi' Π α φ → Π α φ ′ ; the converse implication is symmetric. For propositions Π α A \Pi\alpha A Π α A the argument is the same, with the propositional (ПE), Bernays’ rule and the schemes (A1).
For the calculi with the quantifier we also need derived laws of Π \Pi Π itself.
Lemma 14 (derived laws of Π \Pi Π ). The following problems are derivable in HCB.
Π α φ ↔ φ \Pi\alpha\varphi\leftrightarrow\varphi Π α φ ↔ φ , if α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) .
(П → \to → ): Π α ( φ → ψ ) ↔ ( φ → Π α ψ ) \Pi\alpha(\varphi\to\psi) \leftrightarrow(\varphi\to\Pi\alpha\psi) Π α ( φ → ψ ) ↔ ( φ → Π α ψ ) , if α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) .
Π α Π β φ ↔ Π β Π α φ \Pi\alpha\Pi\beta\varphi\leftrightarrow\Pi\beta\Pi\alpha\varphi Π α Π β φ ↔ Π β Π α φ .
(4) ( Π ∧ ) (\Pi\wedge) ( Π ∧ ) : Π α ( φ ∧ ψ ) ↔ Π α φ ∧ Π α ψ \Pi_{\alpha}(\varphi\wedge\psi) \leftrightarrow\Pi_{\alpha}\varphi\wedge\Pi_{\alpha}\psi Π α ( φ ∧ ψ ) ↔ Π α φ ∧ Π α ψ , as well as the implication converse to the axiom ( Π ∨ ) (\Pi\vee) ( Π ∨ ) , Π α φ ∨ Π α ψ → Π α ( φ ∨ ψ ) \Pi_{\alpha}\varphi\vee\Pi_{\alpha}\psi\to\Pi_{\alpha}(\varphi\vee\psi) Π α φ ∨ Π α ψ → Π α ( φ ∨ ψ ) .
The same statements hold for propositions: Π α A ≡ A \Pi_{\alpha} A \equiv A Π α A ≡ A for α ∉ F V ( A ) \alpha\notin FV(A) α ∈ / F V ( A ) ; Π α ( A ⊃ B ) ≡ ( A ⊃ Π α B ) \Pi_{\alpha}(A \supset B) \equiv(A \supset\Pi_{\alpha} B) Π α ( A ⊃ B ) ≡ ( A ⊃ Π α B ) for α ∉ F V ( A ) \alpha\notin FV(A) α ∈ / F V ( A ) ; Π α Π β A ≡ Π β Π α A \Pi_{\alpha}\Pi_{\beta} A \equiv\Pi_{\beta}\Pi_{\alpha} A Π α Π β A ≡ Π β Π α A ; Π α ( A ∧ B ) ≡ Π α A ∧ Π α B \Pi_{\alpha}(A \wedge B) \equiv\Pi_{\alpha} A \wedge\Pi_{\alpha} B Π α ( A ∧ B ) ≡ Π α A ∧ Π α B and Π α A ∨ Π α B ⊃ Π α ( A ∨ B ) \Pi_{\alpha} A \vee\Pi_{\alpha} B \supset\Pi_{\alpha}(A \vee B) Π α A ∨ Π α B ⊃ Π α ( A ∨ B ) .
Proof. Everywhere below “Bernays’ rule” is applied to an implication in whose premise α \alpha α does not occur free; this is each time evident from the form of the premise.
(1) The implication Π α φ → φ \Pi_{\alpha}\varphi\to\varphi Π α φ → φ is ( Π E ) (\Pi E) ( Π E ) with θ : = α \theta:= \alpha θ := α ; the converse is obtained by Bernays’ rule from the theorem φ → φ \varphi\to\varphi φ → φ .
(2) Left to right: from ( Π E ) (\Pi E) ( Π E ) Π α ( φ → ψ ) → ( φ → ψ ) \Pi_{\alpha}(\varphi\to\psi) \to(\varphi\to\psi) Π α ( φ → ψ ) → ( φ → ψ ) the formula φ ∧ Π α ( φ → ψ ) → ψ \varphi\wedge\Pi_{\alpha}(\varphi\to\psi) \to\psi φ ∧ Π α ( φ → ψ ) → ψ is derivable in Int; Bernays’ rule yields φ ∧ Π α ( φ → ψ ) → Π α ψ \varphi\wedge\Pi_{\alpha}(\varphi\to\psi) \to\Pi_{\alpha}\psi φ ∧ Π α ( φ → ψ ) → Π α ψ , and it remains to pass back to an implication in Int. Right to left: from ( Π E ) (\Pi E) ( Π E ) Π α ψ → ψ \Pi_{\alpha}\psi\to\psi Π α ψ → ψ the formula ( φ → Π α ψ ) → ( φ → ψ ) (\varphi\to\Pi_{\alpha}\psi) \to(\varphi\to\psi) ( φ → Π α ψ ) → ( φ → ψ ) is derivable in Int; Bernays’ rule yields ( φ → Π α ψ ) → Π α ( φ → ψ ) (\varphi\to\Pi_{\alpha}\psi) \to\Pi_{\alpha}(\varphi\to\psi) ( φ → Π α ψ ) → Π α ( φ → ψ ) .
(3) From ( Π E ) (\Pi E) ( Π E ) applied twice, Π α Π β φ → φ \Pi_{\alpha}\Pi_{\beta}\varphi\to\varphi Π α Π β φ → φ is derivable; Bernays’ rule with respect to α \alpha α , then with respect to β \beta β , yields Π α Π β φ → Π β Π α φ \Pi_{\alpha}\Pi_{\beta}\varphi\to\Pi_{\beta}\Pi_{\alpha}\varphi Π α Π β φ → Π β Π α φ ; the converse implication is symmetric.
(4) ( Π ∧ ) (\Pi\wedge) ( Π ∧ ) left to right: from ( Π E ) (\Pi E) ( Π E ) and the projections of Int the formulas Π α ( φ ∧ ψ ) → φ \Pi_{\alpha}(\varphi\wedge\psi) \to\varphi Π α ( φ ∧ ψ ) → φ and Π α ( φ ∧ ψ ) → ψ \Pi_{\alpha}(\varphi\wedge\psi) \to\psi Π α ( φ ∧ ψ ) → ψ are derivable; Bernays’ rule to each of them and ∧ \wedge ∧ -introduction. Right to left: from ( Π E ) (\Pi E) ( Π E ) applied twice, Π α φ ∧ Π α ψ → φ ∧ ψ \Pi_{\alpha}\varphi\wedge\Pi_{\alpha}\psi\to\varphi\wedge\psi Π α φ ∧ Π α ψ → φ ∧ ψ , then Bernays’ rule.
The implication converse to ( Π ∨ ) (\Pi\vee) ( Π ∨ ) : from ( Π E ) (\Pi E) ( Π E ) and Int the formula Π α φ → φ ∨ ψ \Pi_{\alpha}\varphi\to\varphi\vee\psi Π α φ → φ ∨ ψ is derivable, Bernays’ rule yields Π α φ → Π α ( φ ∨ ψ ) \Pi_{\alpha}\varphi\to\Pi_{\alpha}(\varphi\vee\psi) Π α φ → Π α ( φ ∨ ψ ) ; likewise for Π α ψ \Pi_{\alpha}\psi Π α ψ ; it remains to apply ∨ \vee ∨ -elimination in Int.
For propositions the derivations are the same, with the propositional axiom ( Π E ) (\Pi E) ( Π E ) , Bernays’ rule for propositions and classical tautologies in place of theorems of Int.
Examples of derivations
Example 1. We give examples of derivations in the calculi H C I − \mathrm{HCI}^{-} HCI − , HCI, HCE. Some of them will be needed later; in each item we indicate in which calculus exactly the derivation is carried out.
(1) In H C I − \mathrm{HCI}^{-} HCI − the □ \Box □ -version of (A3) is derivable: □ ( A ⊃ B ) ⊃ ( □ A ⊃ □ B ) \Box(A \supset B) \supset(\Box A \supset\Box B) □ ( A ⊃ B ) ⊃ ( □ A ⊃ □ B ) . To derive it, apply (? → \to → ) to (A3), then (A4a) and the Lemma on replacement by an equivalent formula.
(2) In H C I − \mathrm{HCI}^{-} HCI − the formula A ⊃ □ A A \supset\Box A A ⊃ □ A is derivable for every Σ \Sigma Σ -proposition A A A (Σ 1 \Sigma_{1} Σ 1 -completeness on the propositional side); in particular, the □ \Box □ -version of (A5), the scheme □ A ⊃ □ □ A \Box A \supset\Box\Box A □ A ⊃ □□ A , is derivable, since □ A \Box A □ A is a Σ \Sigma Σ -proposition. First we note that every Σ \Sigma Σ -proposition A A A is derivably equivalent to the proposition ? σ A ? \sigma_A ? σ A for some Σ \Sigma Σ -problem σ A \sigma_A σ A : by (A4d) ⊥ ≡ ? ∅ \bot\equiv?\varnothing ⊥ ≡ ? ∅ , by (A4b) and (A4c) ? σ ∧ ? τ ≡ ? ( σ ∧ τ ) ? \sigma\wedge?\tau\equiv?(\sigma\wedge\tau) ? σ ∧ ? τ ≡ ? ( σ ∧ τ ) and ? σ ∨ ? τ ≡ ? ( σ ∨ τ ) ? \sigma\vee?\tau\equiv?(\sigma\vee\tau) ? σ ∨ ? τ ≡ ? ( σ ∨ τ ) , and the problems ∅ \varnothing ∅ , σ ∧ τ \sigma\wedge\tau σ ∧ τ , σ ∨ τ \sigma\vee\tau σ ∨ τ again lie in the class Σ \Sigma Σ ; it remains to do induction on the construction of A A A with Lemma 13. Now axiom (A5) gives σ A → ! ? σ A \sigma_A \to!?\sigma_A σ A → !? σ A , the rule (? → \to → ) gives ? σ A ⊃ □ ? σ A ? \sigma_A \supset\Box?\sigma_A ? σ A ⊃ □ ? σ A , and Lemma 13 replaces ? σ A ? \sigma_A ? σ A by A A A on both sides.
(3) In HCI the following is derivable:
□ ( □ A ⊃ A ) ⊃ □ A (1) \Box(\Box A \supset A) \supset\Box A \tag*{(1)} □ ( □ A ⊃ A ) ⊃ □ A (1)
Apply (? → \to → ) to (A6). (4) In HCE the formulas ∼ ⊥ \sim\! \bot ∼ ⊥ and ¬ □ ⊥ \neg\Box\bot ¬ □ ⊥ are derivable. First we apply the rule ( ! → ) (!\to) ( ! → ) to the formula ⊥ ⊃ ? ∅ \bot\supset?\varnothing ⊥ ⊃ ? ∅ , a classical tautology (A1). We obtain the formula ! ⊥ → ! ? ∅ !\bot\to!? \varnothing ! ⊥ → !? ∅ . Next, the scheme (A9) with φ = ∅ \varphi=\varnothing φ = ∅ gives ! ? ∅ → ∼ ∼ ∅ !?\varnothing\to\sim\sim\varnothing !? ∅ →∼∼ ∅ , and ∼ ∼ ∅ → ∅ \sim\sim\varnothing\to\varnothing ∼∼ ∅ → ∅ is an intuitionistic theorem. Altogether ! ⊥ → ∅ !\bot\to\varnothing ! ⊥ → ∅ , that is, ∼ ! ⊥ \sim!\bot ∼ ! ⊥ . Now we apply ( ? → ) (?\to) ( ? → ) to this formula, obtaining □ ⊥ → ? ∅ \Box\bot\to?\varnothing □ ⊥ → ? ∅ . Finally, using (A4d), we obtain □ ⊥ → ⊥ \Box\bot\to\bot □ ⊥ → ⊥ . (We note in passing that the last formula is a special case of axiom A8, so it could have been derived more briefly.)
(5) This example of derivability in HC0 ^{0} 0 will be needed in the proof of validity of axiom (A6). Let P P P and S S S be arbitrary propositions. Then in HCI− ^{-} − the following problem is derivable:
! ( P ≡ ( □ P ⊃ S ) ) → ( ! ( □ S ⊃ S ) → ! S ) . !(P\equiv(\Box P\supset S))\to(!(\Box S\supset S)\to!S). ! ( P ≡ ( □ P ⊃ S )) → ( ! ( □ S ⊃ S ) → ! S ) .
First we use the lemma on transferring derivations, and then the deduction lemma. To this end, we take as hypotheses the propositions
□ S ⊃ S , □ ( P ⊃ ( □ P ⊃ S ) ) , ( □ P ⊃ S ) ⊃ P \Box S\supset S,\qquad\Box(P\supset(\Box P\supset S)),\qquad(\Box P\supset S)\supset P □ S ⊃ S , □ ( P ⊃ ( □ P ⊃ S )) , ( □ P ⊃ S ) ⊃ P
and derive the formulas □ P ⊃ S \Box P\supset S □ P ⊃ S and P P P .
(1) □ P ⊃ □ ( □ P ⊃ S ) \Box P\supset\Box(\Box P\supset S) □ P ⊃ □ ( □ P ⊃ S )
this formula is derived by MP from the second hypothesis and the first example of derivable formulas
(2) □ ( □ P ⊃ S ) ⊃ ( □ □ P ⊃ □ S ) \Box(\Box P\supset S)\supset(\Box\Box P\supset\Box S) □ ( □ P ⊃ S ) ⊃ ( □□ P ⊃ □ S )
this is the formula from our first example of derivable formulas with A : = □ P A:=\Box P A := □ P , B : = S B:=S B := S .
(3) □ P ⊃ □ □ P \Box P\supset\Box\Box P □ P ⊃ □□ P
this is the formula from the second example of derivable formulas.
(4) □ P ⊃ □ S \Box P\supset\Box S □ P ⊃ □ S
Derived from (1), (2), (3) in the classical propositional calculus.
(5) □ P ⊃ S \Box P\supset S □ P ⊃ S
Derived from (4) and the first hypothesis in the classical propositional calculus.
(6) P P P
from the third hypothesis and (5) by MP.
(7) Note that the whole derivation (1)–(6) is a derivation from the three adopted hypotheses. Therefore we may apply the lemma on transferring derivations. By this lemma there is a derivation of the formulas ! ( □ P ⊃ S ) !(\Box P\supset S) ! ( □ P ⊃ S ) and ! P !P ! P from the hypotheses
! ( □ S ⊃ S ) , ! □ ( P ⊃ ( □ P ⊃ S ) ) , ! ( ( □ P ⊃ S ) ⊃ P ) . !(\Box S\supset S),\qquad!\Box(P\supset(\Box P\supset S)),\qquad!((\Box P\supset S)\supset P). ! ( □ S ⊃ S ) , ! □ ( P ⊃ ( □ P ⊃ S )) , ! (( □ P ⊃ S ) ⊃ P ) .
We show that this derivation can be continued to a derivation of the problem ! S !S ! S .
(8) From the same hypotheses one can also derive the formula ! □ P !\Box P ! □ P (by appending to the derivation axiom (A5) with σ : = ! P \sigma:=!P σ := ! P and applying MP).
(9) By appending to the derivation axiom (A3) and applying MP, one can further derive the problem ! □ P → ! S !\Box P\to!S ! □ P → ! S . (10) Finally, one can derive the formula ! S !S ! S by applying MP once more. Thus the formula ! S !S ! S is derivable from these three hypotheses.
(11) Now we show that the second and the third hypotheses can be replaced by a single hypothesis
F : = ! ( P ≡ ( □ P ⊃ S ) ) , F := !(P \equiv(\Box P \supset S)), F := ! ( P ≡ ( □ P ⊃ S )) ,
which is the first premise of the original formula. First, the third hypothesis is derivable from F F F : the proposition ( □ P ⊃ S ) ⊃ P (\Box P \supset S) \supset P ( □ P ⊃ S ) ⊃ P is derivable from P ≡ ( □ P ⊃ S ) P \equiv(\Box P \supset S) P ≡ ( □ P ⊃ S ) in the classical calculus, and the lemma on transferring derivations carries this derivation under the sign ! ! ! . In the same way the formula ! ( P ⊃ ( □ P ⊃ S ) ) !(P \supset(\Box P \supset S)) ! ( P ⊃ ( □ P ⊃ S )) is derivable from F F F . It differs from the second hypothesis only by the presence of a box after the exclamation mark, and axiom (A5) with σ : = ! ( P ⊃ ( □ P ⊃ S ) ) \sigma:= !(P \supset(\Box P \supset S)) σ := ! ( P ⊃ ( □ P ⊃ S )) is exactly what allows us to derive the second hypothesis from it by MP. Thus, from the hypotheses F F F and ! ( □ S ⊃ S ) !(\Box S \supset S) ! ( □ S ⊃ S ) one can derive the formula ! S !S ! S , and moreover by applications of MP alone. It remains to apply the deduction lemma and obtain formula (L).
We note that the derivation of this item has been formalized and checked in the Metamath system, in fully expanded form: the deduction lemma and the lemma on transferring derivations are not used in the formalization but are unfolded into an explicit derivation from the axioms (about seven hundred elementary steps). The derivations of items (1)–(4) have been checked as well.
Remark 11 (on the class in (A5)). Axiom (A5) is stated at once for the whole class Σ \Sigma Σ , although its special case σ : = ! A \sigma:= !A σ := ! A would suffice. Indeed, by induction on the construction of a Σ \Sigma Σ -problem σ \sigma σ one derives σ → ! ? σ \sigma\to!?\sigma σ → !? σ : for ∅ \varnothing ∅ , by Int; for ! A !A ! A , this is the special case; if σ = σ 1 ∧ σ 2 \sigma= \sigma_1 \wedge\sigma_2 σ = σ 1 ∧ σ 2 , then from σ i → ! ? σ i \sigma_i \to!?\sigma_i σ i → !? σ i we obtain σ → ! ? σ 1 ∧ ! ? σ 2 \sigma\to!?\sigma_1 \wedge!?\sigma_2 σ → !? σ 1 ∧ !? σ 2 , then σ → ! ( ? σ 1 ∧ ? σ 2 ) \sigma\to!(?\sigma_1 \wedge?\sigma_2) σ → ! ( ? σ 1 ∧ ? σ 2 ) (from the tautology A ⊃ ( B ⊃ A ∧ B ) A \supset(B \supset A \wedge B) A ⊃ ( B ⊃ A ∧ B ) by the rule (AtoP) and the scheme (A3)), and ? σ 1 ∧ ? σ 2 ≡ ? σ ? \sigma_1 \wedge?\sigma_2 \equiv?\sigma ? σ 1 ∧ ? σ 2 ≡ ? σ by (A4b), and Lemma 13 finishes the argument; for ∨ \vee ∨ likewise, with the rule ( ! → ) (! \to) ( ! → ) from the tautologies A ⊃ A ∨ B A \supset A \vee B A ⊃ A ∨ B , B ⊃ A ∨ B B \supset A \vee B B ⊃ A ∨ B and with (A4c). This is the same observation as in item (2) of Example 1: the schemes (A4) glue the ? ? ? -images of Σ \Sigma Σ -problems into the ? ? ? -image of a single Σ \Sigma Σ -problem. Stating (A5) at once for the class Σ \Sigma Σ is more natural: semantically it is effective Σ 1 \Sigma_1 Σ 1 -completeness with a witness on the input (Proposition 9), and the restriction to ! A !A ! A in it is accidental.
Axiom (A5) and item (2) of Example 1 are one and the same statement seen from two sides: effective Σ 1 \Sigma_1 Σ 1 -completeness in ! ! ! -form generates both co-reflection on Σ \Sigma Σ -problems and Σ 1 \Sigma_1 Σ 1 -completeness on Σ \Sigma Σ -propositions, while Σ \Sigma Σ -propositions are, up to derivable equivalence, the propositions ? σ ? \sigma ? σ for Σ \Sigma Σ -problems σ \sigma σ . Therefore the boundaries of both classes are the same. A variable cannot be admitted into Σ \Sigma Σ -propositions: with A ∗ : = Con A^* := \operatorname{Con} A ∗ := Con the scheme A ⊃ □ A A \supset\Box A A ⊃ □ A gives Con ⊃ Pr ( Con ) \operatorname{Con} \supset\operatorname{Pr}(\operatorname{Con}) Con ⊃ Pr ( Con ) , which is false by Gödel’s second theorem. Neither can implication: □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ is Con \operatorname{Con} Con , and the same thing results. (End of remark.)
Soundness of the calculi
Theorem 15 (soundness). For each of the three semantics Z ∈ { I , B , E } Z \in\{\mathrm{I}, \mathrm{B}, \mathrm{E}\} Z ∈ { I , B , E } , every theorem of the calculus H C Z \mathrm{HC}_Z HC Z is Z Z Z -valid .
Proof. Induction on the derivation: we have to check that every axiom is valid in the corresponding semantics and that every rule preserves validity.
(1) Axioms other than (A6). The validity in all three semantics of the schemes (A1) is seen directly: the translation is a substitution instance of a classical tautology, and its proof is computably constructed from the code of the interpretation. The validity of the schemes (A2) is Proposition 6, of the scheme (A3) Proposition 7, of the group (A4) Lemma 5 (the translations are provable in the internal theory, the proofs are constructed from the code), of the schemes (A5) and (A7) Proposition 9. The E-validity of the schemes (A8) and (A9) is Proposition 11(1). The Π \Pi Π -axioms in B are Proposition 10. All this is also collected in Table 1.
(2) Rules. Everywhere below, when speaking of provability in the external theory, in B we mean provability of the closure from Definition 6.
(MP) preserves validity by Lemmas 3 and 4.
(PtoA): let S S S solve the problem φ \varphi φ , that is, the external theory proves φ ∗ ( S ( ∗ ) ) \varphi^{*}(S(*) ) φ ∗ ( S ( ∗ )) for every interpretation ∗ * ∗ (its closure φ ‾ ∗ ( S ( ∗ ) ) \overline{\varphi}^{*}(S(*)) φ ∗ ( S ( ∗ )) for interpretations in B). Append to its proof one axiom φ ∗ ( S ( ∗ ) ) ⊃ ∃ x φ ∗ ( x ) \varphi^{*}(S(*)) \supset\exists x\,\varphi^{*}(x) φ ∗ ( S ( ∗ )) ⊃ ∃ x φ ∗ ( x ) of the predicate calculus and the formula ∃ x φ ∗ ( x ) \exists x\,\varphi^{*}(x) ∃ x φ ∗ ( x ) —we obtain a proof of the formula ( ? φ ) ∗ (?\varphi)^{*} ( ? φ ) ∗ . In B we derive the formula ∃ x φ ‾ ∗ ( x ) \exists x\,\overline{\varphi}^{*}(x) ∃ x φ ∗ ( x ) , from which the required formula ∃ x φ ∗ ( x ) \exists x\,\varphi^{*}(x) ∃ x φ ∗ ( x ) is derived by standard means of the predicate calculus. Thus the proposition ? φ ?\varphi ? φ is valid.
(AtoP) in I, B: let the proposition A A A be valid, that is, the external theory, which here coincides with the internal one, proves A ∗ A^{*} A ∗ (in B, the closure A ‾ ∗ \overline{A}^{*} A ∗ ). This is exactly the formula whose proofs are the solutions of the problem ! A !A ! A (Definitions 2, 4). From the code of the interpretation some proof P ( ∗ ) P(*) P ( ∗ ) of this formula is found by exhaustive search (Remark 7). The statement Prf ( P ( ∗ ) , A ∗ ) \operatorname{Prf}(P(*),A^{*}) Prf ( P ( ∗ ) , A ∗ ) (or Prf ( P ( ∗ ) , A ‾ ∗ ) \operatorname{Prf}(P(*),\overline{A}^{*}) Prf ( P ( ∗ ) , A ∗ ) ) is a true Σ 0 \Sigma_{0} Σ 0 -sentence, and the external theory proves it. Hence P P P solves the problem ! A !A ! A .
Bernays’ rule in B: let S S S solve φ → ψ \varphi\to\psi φ → ψ , where α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) , that is, ZF proves the closure ∀ X ⃗ ∀ X α ∀ u ( φ ∗ ( u ) ⊃ ψ ∗ ( U S ( ∗ ) ( u ) ) ) \forall\vec{X}\,\forall X_{\alpha}\,\forall u\,(\varphi^{*}(u) \supset\psi^{*}(U_{S(*)}(u))) ∀ X ∀ X α ∀ u ( φ ∗ ( u ) ⊃ ψ ∗ ( U S ( ∗ ) ( u ))) over all boxes, including X α X_{\alpha} X α . The translation ( φ → Π α ψ ) ∗ ( S ( ∗ ) ) (\varphi\to\Pi_{\alpha}\psi)^{*}(S(*)) ( φ → Π α ψ ) ∗ ( S ( ∗ )) is ∀ u ( φ ∗ ( u ) ⊃ ∀ X α ψ ∗ ( U S ( ∗ ) ( u ) ) ) \forall u\,(\varphi^{*}(u) \supset\forall X_{\alpha}\,\psi^{*}(U_{S(*)}(u))) ∀ u ( φ ∗ ( u ) ⊃ ∀ X α ψ ∗ ( U S ( ∗ ) ( u ))) ; the variable X α X_{\alpha} X α does not occur in φ ∗ \varphi^{*} φ ∗ , and the closure of this formula is obtained from the previous one by pure logic—by moving the quantifier ∀ X α \forall X_{\alpha} ∀ X α across the premise. The same S S S solves φ → Π α ψ \varphi\to\Pi_{\alpha}\psi φ → Π α ψ . For propositions likewise: from Z F ⊢ ∀ X ⃗ ∀ X α ( A ∗ ⊃ B ∗ ) \mathrm{ZF}\vdash\forall\vec{X}\,\forall X_{\alpha}\,(A^{*}\supset B^{*}) ZF ⊢ ∀ X ∀ X α ( A ∗ ⊃ B ∗ ) with X α X_{\alpha} X α not occurring in A ∗ A^{*} A ∗ it follows that Z F ⊢ ∀ X ⃗ ( A ∗ ⊃ ∀ X α B ∗ ) \mathrm{ZF}\vdash\forall\vec{X}\,(A^{*}\supset\forall X_{\alpha}\,B^{*}) ZF ⊢ ∀ X ( A ∗ ⊃ ∀ X α B ∗ ) .
(3) The scheme (A6). First we note that in the semantics B it suffices to treat propositions A A A without free problem variables: the instance of the scheme for an arbitrary A A A is derived in HCB from the instance for the proposition A ˉ : = Π α ⃗ A \bar{A}:=\Pi\vec{\alpha}\,A A ˉ := Π α A , where α ⃗ \vec{\alpha} α are the free problem variables of A A A , using the axioms and rules already checked in items (1) and (2); therefore the validity of the instance for A ˉ \bar{A} A ˉ implies the validity of the instance for A A A . For this it suffices to prove that the problems
! ( □ A ⊃ A ) → ! A , ! ( □ A ˉ ⊃ A ˉ ) → ! A ˉ !(\Box A \supset A)\to!A,\qquad!(\Box\bar{A}\supset\bar{A})\to!\bar{A} ! ( □ A ⊃ A ) → ! A , ! ( □ A ˉ ⊃ A ˉ ) → ! A ˉ
are derivably equivalent in HCB (without (A6)). By Lemma 13 it suffices to establish the equivalence of their premises and of their conclusions.
By the axiom ( Π ! ) (\Pi!) ( Π !) the equivalence of the conclusions ! A ↔ ! A ˉ !A\leftrightarrow!\bar{A} ! A ↔ ! A ˉ is derivable, and from it by the rule ( ? → ) □ A ≡ □ A ˉ (?\to)\;\Box A\equiv\Box\bar{A} ( ? → ) □ A ≡ □ A ˉ . For the premises the same axiom ( Π ! ) (\Pi!) ( Π !) gives
! ( □ A ⊃ A ) ↔ ! Π α ⃗ ( □ A ⊃ A ) !(\Box A\supset A)\leftrightarrow!\Pi\vec{\alpha}(\Box A\supset A) ! ( □ A ⊃ A ) ↔ ! Π α ( □ A ⊃ A )
(the free problem variables of the proposition □ A ⊃ A \Box A\supset A □ A ⊃ A are the same α ⃗ \vec{\alpha} α , since □ A = ? ! A \Box A=?!A □ A = ?! A has none). By Lemma 14(2) for propositions (α ⃗ \vec{\alpha} α do not occur in □ A \Box A □ A ) the equivalence
Π α ⃗ ( □ A ⊃ A ) ≡ ( □ A ⊃ Π α ⃗ A ) \Pi\vec{\alpha}(\Box A\supset A)\equiv(\Box A\supset\Pi\vec{\alpha}A) Π α ( □ A ⊃ A ) ≡ ( □ A ⊃ Π α A )
is derivable, and by Lemma 13 in its right-hand side □ A \Box A □ A can be replaced by □ A ˉ \Box\bar{A} □ A ˉ ; we obtain Π α ⃗ ( □ A ⊃ A ) ≡ ( □ A ˉ ⊃ A ˉ ) \Pi\vec{\alpha}(\Box A \supset A) \equiv(\Box\bar{A} \supset\bar{A}) Π α ( □ A ⊃ A ) ≡ ( □ A ˉ ⊃ A ˉ ) . Finally, we apply Lemma 13 once more, now under the sign ! ! ! , and obtain ! Π α ⃗ ( □ A ⊃ A ) ↔ ! ( □ A ˉ ⊃ A ˉ ) !\Pi\vec{\alpha}(\Box A \supset A) \leftrightarrow!(\Box\bar{A} \supset\bar{A}) ! Π α ( □ A ⊃ A ) ↔ ! ( □ A ˉ ⊃ A ˉ ) , and with it the required equivalence of the premises ! ( □ A ⊃ A ) ↔ ! ( □ A ˉ ⊃ A ˉ ) !(\Box A \supset A) \leftrightarrow!(\Box\bar{A} \supset\bar{A}) ! ( □ A ⊃ A ) ↔ ! ( □ A ˉ ⊃ A ˉ ) .
Now that the validity of the remaining axioms and the soundness of the rules have been established, Löb’s scheme need not be checked directly; instead it can be derived from them and the fixed-point lemma for the internal theory. We need the fixed-point lemma in an effective form:
from a closed formula σ \sigma σ (arithmetical for PA; of the language of ZF for ZF) one can compute a closed formula π \pi π and a proof in the internal theory of the equivalence π ≡ ( Pr ( π ) ⊃ σ ) \pi\equiv(\operatorname{Pr}(\pi) \supset\sigma) π ≡ ( Pr ( π ) ⊃ σ ) .
The derivation splits into two parts. First, a derivation in HCI− ^{-} − of the formula
! ( P 0 ≡ ( □ P 0 ⊃ A ) ) → ( ! ( □ A ⊃ A ) → ! A ) , !(P_0 \equiv(\Box P_0 \supset A)) \to(!( \Box A \supset A) \to!A), ! ( P 0 ≡ ( □ P 0 ⊃ A )) → ( ! ( □ A ⊃ A ) → ! A ) ,
where P 0 P_0 P 0 is any propositional variable not occurring in A A A : this is Example 1(5) with P : = P 0 P := P_0 P := P 0 , S : = A S := A S := A . Since (L′) is derived without (A6), by what has already been proved it is valid—in I, and also in B, where HCI− ^{-} − is contained in HCB. Let A A A be a proposition (in B, by what has been proved, without free problem variables) for which we need to prove the validity of the problem ! ( □ A ⊃ A ) → ! A !(\Box A \supset A) \to!A ! ( □ A ⊃ A ) → ! A . We have to construct an algorithm which, given an interpretation ∗ * ∗ , finds an x x x for which the external theory proves ! ( □ A ⊃ A ) → ( ! A ) ∗ ( x ) !(\Box A \supset A) \to(!A)^*(x) ! ( □ A ⊃ A ) → ( ! A ) ∗ ( x ) . Here we may assume that ∗ * ∗ assigns values only to the variables occurring in our formula; in particular, it assigns no value to the variable P 0 P_0 P 0 . Since the formula (L′) is valid, we have an algorithm that delivers the required x x x if it is given as input any y , ∗ ′ y, *' y , ∗ ′ for which the external theory proves ( ! ( P 0 ≡ ( □ P 0 ⊃ A ) ) ) ∗ ′ ( y ) (!(P_0 \equiv(\Box P_0 \supset A)))^{*'}(y) ( ! ( P 0 ≡ ( □ P 0 ⊃ A )) ) ∗ ′ ( y ) and ∗ ′ *' ∗ ′ extends ∗ * ∗ to the variable P 0 P_0 P 0 . Such y , ∗ ′ y, *' y , ∗ ′ are delivered by the fixed-point lemma: put ∗ ′ ( P 0 ) = π *'(P_0) = \pi ∗ ′ ( P 0 ) = π , for which the internal theory proves the equivalence π ≡ ( Pr ( π ) ⊃ A ∗ ) \pi\equiv(\operatorname{Pr}(\pi) \supset A^*) π ≡ ( Pr ( π ) ⊃ A ∗ ) ; y y y is its proof, found by exhaustive search through all proofs (the formula Prf ( y , … ) \operatorname{Prf}(y,\ldots) Prf ( y , … ) is a true Σ 0 \Sigma_0 Σ 0 -sentence, and the external theory proves it). It is exactly here that the closedness of the formula A ∗ A^* A ∗ is needed: in B a solution of the problem ! ( P 0 ≡ ( □ P 0 ⊃ A ) ) !(P_0 \equiv(\Box P_0 \supset A)) ! ( P 0 ≡ ( □ P 0 ⊃ A )) is a proof of the closure of the equivalence over the free problem variables of A A A , whereas the fixed-point lemma gives the equivalence only for closed A ∗ A^* A ∗ ; the formula (L′) itself is valid for any A A A .
(4) The semantics E. The axioms of HCE are the theorems of HCI and the schemes (A8), (A9). Every theorem of HCI is I-valid by what has been proved, and I-validity implies E-validity, since the internal theory PA is contained in the external theory TA. The schemes (A8) and (A9) are E-valid by Proposition 11(1), and the rules (MP) and (PtoA) preserve E-validity by item (2).
What the quantifier gives
Recall the motivation for the quantifier (§ 18.6 ): under the sign Π \Pi Π the constructive content of a problem is lost, and the propositions Π ( α ∨ ¬ α ) \Pi(\alpha\lor\neg\alpha) Π ( α ∨ ¬ α ) , Π p \Pi p Π p are valid trivially. Now that we have the calculi and the soundness theorem, what was promised can be proved.
Theorem 16 (three problems with the quantifier Π \Pi Π equivalent to ∅ \varnothing ∅ ). In B the equivalences
Π α ↔ ∅ , Π α ( α ∨ ¬ α ) ↔ ∅ , Π α ( ¬ ¬ α → α ) ↔ ∅ \Pi\alpha\leftrightarrow\varnothing,\qquad\Pi\alpha(\alpha\lor\neg\alpha) \leftrightarrow\varnothing,\qquad\Pi\alpha(\neg\neg\alpha\to\alpha) \leftrightarrow\varnothing Π α ↔ ∅ , Π α ( α ∨ ¬ α ) ↔ ∅ , Π α ( ¬¬ α → α ) ↔ ∅
are valid, and so are the negations of the propositions
? Π α α , ? Π α ( α ∨ ∼ α ) , ? Π α ( ∼ ∼ α → α ) . ?\Pi\alpha\ \alpha,\qquad?\Pi\alpha(\alpha\vee\sim\alpha),\qquad?\Pi\alpha(\sim\sim\alpha\to\alpha). ? Π α α , ? Π α ( α ∨ ∼ α ) , ? Π α ( ∼∼ α → α ) .
These three propositions themselves are therefore not valid (under the assumption that ZF is consistent).
Proof. We derive all six formulas in the calculus HCB. The implications from right to left for the first three formulas are axioms of Int. Now we derive the implications in the opposite direction.
The formula Π α α → ∅ \Pi\alpha\ \alpha\to\varnothing Π α α → ∅ is an axiom ( Π E ) (\Pi\mathrm{E}) ( Π E ) with θ : = ∅ \theta:= \varnothing θ := ∅ .
Indeed, ( Π E ) (\Pi\mathrm{E}) ( Π E ) with θ : = ∅ \theta:= \varnothing θ := ∅ gives Π α α → ∅ \Pi\alpha\ \alpha\to\varnothing Π α α → ∅ . Similarly, ( Π E ) (\Pi\mathrm{E}) ( Π E ) with θ : = ∼ ∅ \theta:= \sim\varnothing θ :=∼ ∅ gives Π α ∼ α → ∼ ∼ ∅ \Pi\alpha\ \sim\alpha\to\sim\sim\varnothing Π α ∼ α →∼∼ ∅ , and ∼ ∼ ∅ → ∅ \sim\sim\varnothing\to\varnothing ∼∼ ∅ → ∅ is derivable in Int. Hence Π α ∼ α → ∅ \Pi\alpha\ \sim\alpha\to\varnothing Π α ∼ α → ∅ is derivable. Together with ( Π ∨ ) (\Pi\vee) ( Π ∨ ) this gives Π α ( α ∨ ∼ α ) → ∅ \Pi\alpha(\alpha\vee\sim\alpha) \to\varnothing Π α ( α ∨ ∼ α ) → ∅ .
Indeed, for H : = Π α ( ∼ ∼ α → α ) H := \Pi\alpha(\sim\sim\alpha\to\alpha) H := Π α ( ∼∼ α → α ) : ( Π E ) (\Pi\mathrm{E}) ( Π E ) with θ : = α ∨ ∼ α \theta:= \alpha\vee\sim\alpha θ := α ∨ ∼ α gives
H → ( ∼ ∼ ( α ∨ ∼ α ) → ( α ∨ ∼ α ) ) . H \to(\sim\sim(\alpha\vee\sim\alpha) \to(\alpha\vee\sim\alpha)). H → ( ∼∼ ( α ∨ ∼ α ) → ( α ∨ ∼ α )) .
The theorem ∼ ∼ ( α ∨ ∼ α ) \sim\sim(\alpha\vee\sim\alpha) ∼∼ ( α ∨ ∼ α ) of Int gives H → ( α ∨ ∼ α ) H \to(\alpha\vee\sim\alpha) H → ( α ∨ ∼ α ) . Then Bernays’ rule (α \alpha α does not occur free in H H H ) gives H → Π α ( α ∨ ∼ α ) H \to\Pi\alpha(\alpha\vee\sim\alpha) H → Π α ( α ∨ ∼ α ) , and from this H → ∅ H \to\varnothing H → ∅ by the previous item.
To prove the second assertion (on the derivability of the negations) we apply to each of the derived implications (? → ? \to ? → ) and then (A4d).
Thus ? Π α ( α ∨ ∼ α ) ?\Pi\alpha(\alpha\vee\sim\alpha) ? Π α ( α ∨ ∼ α ) is refutable, whereas without the quantifier ? ( α ∨ ∼ α ) ?(\alpha\vee\sim\alpha) ? ( α ∨ ∼ α ) is a theorem (by (A4) it is equivalent to the tautology ? α ∨ ? ¬ α ?\alpha\vee?\neg\alpha ? α ∨ ? ¬ α ): the classical case analysis does not pass through the quantifier, and now the difference between the law of excluded middle and its constructive version becomes visible at the level of propositions as well.
Example 2. Let ρ \rho ρ be Rose’s formula, that is, the problem (R) for φ = ∼ β ∨ ∼ γ \varphi= \sim\beta\vee\sim\gamma φ =∼ β ∨ ∼ γ , where β , γ \beta,\gamma β , γ are problem variables (§ 6.10 below). In B the proposition ? Π β Π γ ρ ?\Pi\beta\Pi\gamma\rho ? Π β Π γ ρ is valid: the solver of Rose’s formula is constant and does not look at the contents of the boxes (Proposition 27 below), so that ZF proves ∀ X β ∀ X γ ρ ∗ ( r ) \forall X_\beta\forall X_\gamma\rho^{*}(r) ∀ X β ∀ X γ ρ ∗ ( r ) for its code r r r , that is, ( Π β Π γ ρ ) ∗ ( r ) (\Pi\beta\Pi\gamma\rho)^{*}(r) ( Π β Π γ ρ ) ∗ ( r ) , and with it ( ? Π β Π γ ρ ) ∗ (?\Pi\beta\Pi\gamma\rho)^{*} ( ? Π β Π γ ρ ) ∗ . Without the quantifier the proposition ? ρ ?\rho ? ρ is by (A4) equivalent to a tautology and says nothing; with the quantifier it asserts that Rose’s formula is solved by a single algorithm for any contents of the boxes. This is the first case where a discovery on the problem side produces a new valid proposition. Whether it is derivable in HCB we do not know: ρ \rho ρ itself is not derivable in HCI (§ 6.12 ), and the conservativity of HCB over HCI on clean problems is open (Remark 13).
The second question is how new the problems and propositions with the quantifier are. In all nontrivial cases that we managed to analyze, the quantifier is eliminated: a problem with Π \Pi Π turns out to be equivalent to a problem without Π \Pi Π . Let us collect these cases together.
Proposition 17 (quantifier elimination). Let φ \varphi φ be a problem in which the variable β \beta β does not occur free, and let α , β , γ \alpha,\beta,\gamma α , β , γ be variables. The following equivalences are B-valid:
Π β ( φ → β ) ↔ ∼ φ \Pi\beta(\varphi\to\beta) \leftrightarrow\sim\varphi Π β ( φ → β ) ↔∼ φ ;
Π β ( ( φ → β ) → β ) ↔ φ \Pi\beta((\varphi\to\beta) \to\beta) \leftrightarrow\varphi Π β (( φ → β ) → β ) ↔ φ ;
Π β ( ( ( α → β ) → α ) → α ) ↔ ( ∼ ∼ α → α ) \Pi\beta(((\alpha\to\beta) \to\alpha) \to\alpha) \leftrightarrow(\sim\sim\alpha\to\alpha) Π β ((( α → β ) → α ) → α ) ↔ ( ∼∼ α → α ) ;
(4) Π α ( ( ( α → β ) → α ) → α ) ↔ β \Pi\alpha\ (((\alpha\to\beta) \to\alpha) \to\alpha) \leftrightarrow\beta Π α ((( α → β ) → α ) → α ) ↔ β ;
(5) Π β ( ( ( α → β ) → β ) → ( α ∨ β ) ) ↔ α ∨ ∼ α \Pi\beta\ (((\alpha\to\beta) \to\beta) \to(\alpha\lor\beta)) \leftrightarrow\alpha\lor\sim\alpha Π β ((( α → β ) → β ) → ( α ∨ β )) ↔ α ∨ ∼ α ;
(6) Π α ( ( ( α → β ) → β ) → ( α ∨ β ) ) ↔ β \Pi\alpha\ (((\alpha\to\beta) \to\beta) \to(\alpha\lor\beta)) \leftrightarrow\beta Π α ((( α → β ) → β ) → ( α ∨ β )) ↔ β ;
(7) Π α ( ( α → β ∨ γ ) → ( ( α → β ) ∨ ( α → γ ) ) ) ↔ ( γ → β ) ∨ ( β → γ ) \Pi\alpha\ ((\alpha\to\beta\lor\gamma) \to((\alpha\to\beta) \lor(\alpha\to\gamma))) \leftrightarrow(\gamma\to\beta) \lor(\beta\to\gamma) Π α (( α → β ∨ γ ) → (( α → β ) ∨ ( α → γ ))) ↔ ( γ → β ) ∨ ( β → γ ) ;
(8) Π α ( ( β ∧ γ → α ) → ( ( β → α ) ∨ ( γ → α ) ) ) ↔ ( β → γ ) ∨ ( γ → β ) \Pi\alpha\ ((\beta\land\gamma\to\alpha) \to((\beta\to\alpha) \lor(\gamma\to\alpha))) \leftrightarrow(\beta\to\gamma) \lor(\gamma\to\beta) Π α (( β ∧ γ → α ) → (( β → α ) ∨ ( γ → α ))) ↔ ( β → γ ) ∨ ( γ → β ) .
All of them, except items (4) and (6), are derivable in HCB; in items (4) and (6) the implication from right to left is derivable. Together with each equivalence of problems Π α ⃗ χ ↔ ψ \Pi\vec{\alpha}\ \chi\leftrightarrow\psi Π α χ ↔ ψ , the equivalence of propositions ? Π α ⃗ χ ≡ ? ψ ? \Pi\vec{\alpha}\ \chi\equiv?\psi ? Π α χ ≡ ? ψ is derivable (respectively, valid) as well.
Proof. The last assertion: from the problem Π α ⃗ χ ↔ ψ \Pi\vec{\alpha}\ \chi\leftrightarrow\psi Π α χ ↔ ψ the rule ( ? → ) (? \to) ( ? → ) gives both implications between ? Π α ⃗ χ ? \Pi\vec{\alpha}\ \chi ? Π α χ and ? ψ ?\psi ? ψ ; the semantic variant is Lemma 5 and Theorem 15.
In all the problems the implication from right to left is proved in the same way. Let Π δ λ \Pi\delta\ \lambda Π δ λ denote the left-hand side and μ \mu μ the right-hand side of the formula. Then the implication μ → λ \mu\to\lambda μ → λ is derivable in Int, which is checked directly in each of the items. After that we apply Bernays’ rule.
The implication from left to right is also proved in the same way in all items, except items (4) and (6). Namely, we apply the axiom ( Π E ) (\Pi E) ( Π E ) , substituting into the formula λ \lambda λ some formula θ \theta θ for the bound variable in such a way that for the resulting formula λ ( θ ) \lambda(\theta) λ ( θ ) the formula λ ( θ ) → μ \lambda(\theta) \to\mu λ ( θ ) → μ is derivable in Int. We indicate how to choose the formula θ \theta θ in each item: (1) θ : = ∅ \theta:= \varnothing θ := ∅ , (2) θ : = φ \theta:= \varphi θ := φ , (3) θ : = ∅ \theta:= \varnothing θ := ∅ , (5) θ : = ∼ α \theta:= \sim\alpha θ :=∼ α , (7) θ : = β ∨ γ \theta:= \beta\lor\gamma θ := β ∨ γ ; (8) θ : = β ∧ γ \theta:= \beta\land\gamma θ := β ∧ γ .
Items (4) and (6) are treated separately. We begin with (4). We write Y Y Y for X β X_\beta X β ; we argue in ZF with Y Y Y free. For sets X , Y X,Y X , Y put X → Y : = { q : ∀ x ∈ X U q ( x ) ↓ ∈ Y } X \to Y := \{q : \forall x \in X\ U_q(x)\downarrow\in Y\} X → Y := { q : ∀ x ∈ X U q ( x ) ↓∈ Y } and
Φ ( X ) : = { p : ∀ q ∈ X → Y U p ( q ) ↓ ∈ X } . \Phi(X) := \{p : \forall q \in X \to Y\ U_p(q)\downarrow\in X\}. Φ ( X ) := { p : ∀ q ∈ X → Y U p ( q ) ↓∈ X } .
Then e ∈ [ [ Π α ( ( ( α → β ) → α ) → α ) ] ] ∗ e \in[[\Pi\alpha(((\alpha\to\beta) \to\alpha) \to\alpha)]]_\ast e ∈ [[ Π α ((( α → β ) → α ) → α )] ] ∗ means: for all X X X and all p ∈ Φ ( X ) p \in\Phi(X) p ∈ Φ ( X ) we have U e ( p ) ↓ ∈ X U_e(p)\downarrow\in X U e ( p ) ↓∈ X . Fix a code I I I of the identity program (U I ( q ) = q U_I(q)=q U I ( q ) = q ) and a code a a a of the program identically equal to zero. The solver is as follows:
f ( e ) : = U n ( a ) , where n : = U e ( I ) . f(e) := U_n(a), \qquad\text{where } n := U_e(I). f ( e ) := U n ( a ) , where n := U e ( I ) .
We show that for every Y Y Y and every such e e e the value f ( e ) f(e) f ( e ) is defined and lies in Y Y Y .
Step 1: n n n is defined. For X : = ω X := \omega X := ω we have I ∈ Φ ( ω ) I \in\Phi(\omega) I ∈ Φ ( ω ) , since U I ( q ) = q ∈ ω U_I(q)=q \in\omega U I ( q ) = q ∈ ω for every q q q ; hence n = U e ( I ) n=U_e(I) n = U e ( I ) is defined.
Step 2: U n U_n U n maps ω ∖ { n } \omega\setminus\{n\} ω ∖ { n } into Y Y Y . Suppose the contrary: there is x ≠ n x \ne n x = n for which U n ( x ) U_n(x) U n ( x ) is undefined or does not lie in Y Y Y . Put X : = ω ∖ { n } X := \omega\setminus\{n\} X := ω ∖ { n } . Then I ∈ Φ ( X ) I \in\Phi(X) I ∈ Φ ( X ) : if q ∈ X → Y q \in X \to Y q ∈ X → Y , then q ≠ n q \ne n q = n (because of the point x ∈ X x \in X x ∈ X the number n n n does not belong to X → Y X \to Y X → Y ), that is, U I ( q ) = q ∈ X U_I(q)=q \in X U I ( q ) = q ∈ X . By the definition of e e e this gives n = U e ( I ) ∈ X = ω ∖ { n } n=U_e(I) \in X=\omega\setminus\{n\} n = U e ( I ) ∈ X = ω ∖ { n } —a contradiction.
Step 3: f ( e ) ∈ Y f(e) \in Y f ( e ) ∈ Y . If a ≠ n a \ne n a = n , then by Step 2 the value U n ( a ) U_n(a) U n ( a ) is defined and lies in Y Y Y . If a = n a=n a = n , then U n U_n U n is identically zero, by Step 2 the number 0 = U n ( x ) 0=U_n(x) 0 = U n ( x ) for any x ≠ n x \ne n x = n lies in Y Y Y , and f ( e ) = 0 ∈ Y f(e)=0 \in Y f ( e ) = 0 ∈ Y .
All of this is an argument in ZF with Y Y Y free.
For (6) the argument is similar. We use the notation from the argument for case (4). Put k : = λ q . U q ( q ) k := \lambda q.U_q(q) k := λ q . U q ( q ) , that is, U k ( q ) = U q ( q ) U_k(q)=U_q(q) U k ( q ) = U q ( q ) . The number k k k belongs to [ [ ( ω → Y ) → Y ] ] ∗ [[(\omega\to Y) \to Y]]_\ast [[( ω → Y ) → Y ] ] ∗ , so U e ( k ) U_e(k) U e ( k ) is defined and lies in ω ∪ Y \omega\cup Y ω ∪ Y . If it is ⟨ 1 , y ⟩ \langle1,y\rangle ⟨ 1 , y ⟩ , then y ∈ Y y \in Y y ∈ Y . If it is ⟨ 0 , n ⟩ \langle0,n\rangle ⟨ 0 , n ⟩ , then, as in Step 2, U n U_n U n maps ω ∖ { n } \omega\setminus\{n\} ω ∖ { n } into Y Y Y . Indeed, otherwise k k k is a solution of the problem ( ω ∖ { n } → Y ) → Y (\omega\setminus\{n\} \to Y) \to Y ( ω ∖ { n } → Y ) → Y (if q q q is a solution of the problem ω ∖ { n } → Y \omega\setminus\{n\} \to Y ω ∖ { n } → Y , then q ≠ n q \ne n q = n by assumption, hence U q ( q ) ∈ Y U_q(q) \in Y U q ( q ) ∈ Y , since U q ( x ) ∈ Y U_q(x) \in Y U q ( x ) ∈ Y for all x ≠ n x \ne n x = n ). Consequently U n ( a ) ∈ Y U_n(a) \in Y U n ( a ) ∈ Y , which is proved in the same way as in Step 3 above.
In the first case the solver outputs the y y y for which U e ( k ) = c ( 1 , y ) U_e(k) = c(1,y) U e ( k ) = c ( 1 , y ) , and in the second case U n ( a ) U_n(a) U n ( a ) .
Equivalence (2) is the well-known impredicative representation of a problem by a second-order quantifier: “to solve φ \varphi φ ” is equivalent to “to be able to solve every problem β \beta β reducible to φ \varphi φ ”.
Remark 12 (on items (4) and (6)). Whether the left-to-right implications in items (4) and (6) of Proposition 17 are derivable in HCB, we do not know. Their weakening with ∼ ∼ β \sim\sim\beta ∼∼ β in the conclusion is derivable: under the hypothesis ∼ β \sim\beta ∼ β the implication α → β \alpha\to\beta α → β is equivalent to ∼ α \sim\alpha ∼ α , Peirce’s law turns into ∼ ∼ α → α \sim\sim\alpha\to\alpha ∼∼ α → α , Bernays’ rule gives Π α ( ∼ ∼ α → α ) \Pi\alpha(\sim\sim\alpha\to\alpha) Π α ( ∼∼ α → α ) , and this problem is equivalent to ∅ \varnothing ∅ (Theorem 16).
As for the non-derivability of the right-to-left implications as they stand (with the formula β \beta β ), we have managed to prove it only in the calculus HCI minus ( Π ⋎ ) (\Pi\curlyvee) ( Π ⋎ ) . Indeed, take the two-point Kripke frame w 0 < w 1 w_0 < w_1 w 0 < w 1 in which β \beta β is true only in w 1 w_1 w 1 , problems are cones, Π \Pi Π is the intersection over all cones, ! A !A ! A is the top, and ? φ ? \varphi ? φ is true when φ \varphi φ is true in w 1 w_1 w 1 . All axioms and rules of HCB except ( Π ⋎ ) (\Pi\curlyvee) ( Π ⋎ ) hold in it (cf. Theorem 34 ), and in w 0 w_0 w 0 the problem Π α ( ( ( α → β ) → α ) → α ) \Pi\alpha(((\alpha\to\beta) \to\alpha) \to\alpha) Π α ((( α → β ) → α ) → α ) holds: for any cone X X X the premise X → β X \to\beta X → β is true in w 0 w_0 w 0 exactly when X X X does not contain w 0 w_0 w 0 , and then ( X → β ) → X (X \to\beta) \to X ( X → β ) → X is false in w 0 w_0 w 0 . And β \beta β is false in w 0 w_0 w 0 . The axiom ( Π ⋎ ) (\Pi\curlyvee) ( Π ⋎ ) fails in this frame: in w 1 w_1 w 1 the premise Π α ( α ⋎ ∼ α ) \Pi\alpha(\alpha\curlyvee\sim\alpha) Π α ( α ⋎ ∼ α ) is true, while the conclusion Π α α ⋎ Π α ∼ α \Pi\alpha\alpha\curlyvee\Pi\alpha\sim\alpha Π α α ⋎ Π α ∼ α is false (both disjuncts are empty: among the cones there are the empty one and the full one), so this instance of ( Π ⋎ ) (\Pi\curlyvee) ( Π ⋎ ) is false both in w 1 w_1 w 1 and in w 0 w_0 w 0 . Hence a possible derivation must use ( Π ⋎ ) (\Pi\curlyvee) ( Π ⋎ ) essentially. In the semantic proof the decisive step was instantiating the quantifier by the box ω ∖ { n } \omega\setminus\{n\} ω ∖ { n } , which depends on the answer of the solver itself; such a set is never the value of a formula. Items (4) and (6) are candidates for examples of incompleteness of HCB (Corollary 35 ). (End of remark.)
An example of ineliminability of the quantifier—a problem with Π \Pi Π not equivalent to any problem without Π \Pi Π —we have not managed to find. This, of course, does not mean that the quantifier is unnecessary: the elimination in Proposition 17 itself requires the quantifier, and in items (4) and (6) it moreover goes beyond the calculus.
Remark 13 (the quantifier-free part). The axiomatics of HCB is arranged as HCI plus a quantifier layer: discarding the axioms for Π \Pi Π and Bernays’ rule, we obtain exactly HCI. The aim of the extension is to increase the stock of provable formulas . In the extended language the growth is certain: new substantive propositions are derivable, such as ? Π β Π γ ? \Pi\beta\Pi\gamma ? Π β Π γ (Example 2), not expressible without the quantifier. There is growth on quantifier-free formulas as well: □ ? α ⊃ □ ⊥ \Box?\alpha\supset\Box\bot □ ? α ⊃ □ ⊥ is derivable in HCB and not derivable in HCI (Remark 15). But this growth is not new knowledge about problems; it is a consequence of the fact that in B the symbol ! ! ! binds problem variables: in HCB the formula means □ Π α ? α ⊃ □ ⊥ \Box\Pi\alpha?\alpha\supset\Box\bot □ Π α ? α ⊃ □ ⊥ and is not clean. Therefore the question of conservativity should properly be posed for clean quantifier-free formulas (Remark 4): does the set of clean quantifier-free theorems of HCB coincide with the set of theorems of HCI? For propositions the answer is known: in the normal form of a clean Π \Pi Π -free proposition the atoms ? α ? \alpha ? α stand outside the symbols □ \Box □ , and under Σ 1 \Sigma_1 Σ 1 -soundness of ZF its derivability in HCB is equivalent to its derivability in HCI (Proposition 18, Theorem 21(1),(3)). For clean problems the question is open (§8).
Normal form and completeness on the propositional side
Here we describe two families of Π \Pi Π -free propositions: those derivable in each of the calculi and those valid in each of the semantics. Both descriptions are obtained via one and the same normal form , in which the modality ? ? ? is eliminated down to the combinations ? α ? \alpha ? α and □ B \Box B □ B , and both refer to well-known objects: up to normal form, this is Solovay’s provability logic GL (for HCI and for the internal semantics I, B) and its external variant GLS (for HCE and for E). The proof goes around a circle: from derivability in our calculus to validity (the soundness theorem), from validity to derivability in GL or GLS (Solovay’s theorem), and from derivability in GL or GLS to derivability in our calculus (direct verification). As a result, on the propositional side the calculi HCI and HCE are complete.
The normal form is built by pushing ? ? ? inside according to the schemes (A4): down to variables and to problems of the form ! B !B ! B .
Definition 11 (translation into normal form). To every Π \Pi Π -free formula χ \chi χ we assign its normal form χ † \chi^\dagger χ † . For propositions: variables and the constant ⊥ \bot ⊥ are mapped to themselves, the classical connectives are preserved ((A ∧ B ) † = A † ∧ B † A \land B)^\dagger= A^\dagger\land B^\dagger A ∧ B ) † = A † ∧ B † and so on for ∨ \lor ∨ , ⊃ \supset ⊃ ), and ( ? φ ) † : = φ ? (?\varphi)^\dagger:= \varphi^{?} ( ? φ ) † := φ ? , where the auxiliary translation φ ? \varphi^{?} φ ? of problems into propositions is given by the rules
α ? : = ? α , ∅ ? : = ⊥ , ( ! B ) ? : = □ B † \alpha^{?} := ?\alpha,\qquad\varnothing^{?} := \bot,\qquad(!B)^{?} := \Box B^\dagger α ? := ? α , ∅ ? := ⊥ , ( ! B ) ? := □ B † ( φ → ψ ) ? : = φ ? ⊃ ψ ? , ( φ ⋏ ψ ) ? : = φ ? ∧ ψ ? , ( φ ⋎ ψ ) ? : = φ ? ∨ ψ ? . (\varphi\to\psi)^{?} := \varphi^{?} \supset\psi^{?},\qquad
(\varphi\mathbin{\curlywedge} \psi)^{?} := \varphi^{?} \land\psi^{?},\qquad
(\varphi\mathbin{\curlyvee} \psi)^{?} := \varphi^{?} \lor\psi^{?}. ( φ → ψ ) ? := φ ? ⊃ ψ ? , ( φ ⋏ ψ ) ? := φ ? ∧ ψ ? , ( φ ⋎ ψ ) ? := φ ? ∨ ψ ? . In what follows we call φ ? \varphi^{?} φ ? the Boolean collapse of the problem φ \varphi φ . For problems: α † = α \alpha^\dagger= \alpha α † = α , ∅ † = ∅ \varnothing^\dagger= \varnothing ∅ † = ∅ , the problem connectives are preserved, and ( ! B ) † : = ! B † (!B)^\dagger:= !B^\dagger ( ! B ) † := ! B † (where the proposition B B B is normalized according to the rules above).
It is easy to see that in the normal form of every Π \Pi Π -free proposition A A A the modality occurs only in the combinations ? α ? \alpha ? α (α \alpha α a variable of sort problem) and ? ! B = □ B ?!B = \Box B ?! B = □ B .
Proposition 18 (normal form). For every Π \Pi Π -free formula, the equivalence
A ≡ A † for propositions , φ ↔ φ † for problems A \equiv A^\dagger\qquad\text{for propositions},\qquad
\varphi\leftrightarrow\varphi^\dagger\qquad\text{for problems} A ≡ A † for propositions , φ ↔ φ † for problems is derivable in HCI− ^{-} − (and hence also in HCI, HCB, HCE). Consequently, under every interpretation the external theory of each of the three semantics proves A ∗ ≡ A † ∗ A^* \equiv A^{\dagger*} A ∗ ≡ A †∗ (in B, the closure of this equivalence), and a proposition A A A is valid in a given semantics if and only if A † A^\dagger A † is valid in it.
Proof. Simultaneous induction on the construction of the formula. For a variable and for ⊥ \bot ⊥ this is obvious; the connectives go through by Lemma 13. For A = ? φ A = ?\varphi A = ? φ we have to check ⊢ H C I − ? φ ≡ φ ? \vdash_{\mathrm{HCI}^{-}} ?\varphi\equiv\varphi^{?} ⊢ HCI − ? φ ≡ φ ? by induction on φ \varphi φ : for φ = α \varphi= \alpha φ = α this is an identity (α ? = ? α \alpha^{?} = ?\alpha α ? = ? α ); for φ = ∅ \varphi= \varnothing φ = ∅ it is the scheme (A4d); for φ = ! B \varphi= !B φ = ! B we need ⊢ H C I − □ B ≡ □ B † \vdash_{\mathrm{HCI}^{-}} \Box B \equiv\Box B^\dagger ⊢ HCI − □ B ≡ □ B † , which is obtained from the outer induction hypothesis ⊢ H C I − B ≡ B † \vdash_{\mathrm{HCI}^{-}} B \equiv B^\dagger ⊢ HCI − B ≡ B † by Lemma 13; the cases → \to → , ∧ \land ∧ , ∨ \lor ∨ are exactly the three equivalences (A4a), (A4b), (A4c) together with the induction hypothesis and Lemma 13. This is where the Boolean nature of ? ? ? does its work. For problems: a variable and ∅ \varnothing ∅ are obvious, the connectives go through by Lemma 13, and ( ! B ) † = ! B † (!B)^\dagger= !B^\dagger ( ! B ) † = ! B † is obtained from ⊢ H C I − B ≡ B † \vdash_{\mathrm{HCI}^{-}} B \equiv B^\dagger ⊢ HCI − B ≡ B † by the same lemma. Only (A1), (A2), (A3), the group (A4) and the three rules have been used.
The second claim: by Theorem 15 the derived equivalence is I-valid, hence also E-valid (PA ⊆ \subseteq ⊆ TA), and B-valid, since HCI− ⊆ ^{-} \subseteq − ⊆ HCB. The set of theorems of the external theory is closed under (MP), so A ∗ A^{*} A ∗ is provable in the external theory if and only if A † A^{\dagger} A † is provable.
The proviso of Π \Pi Π -freeness is essential: the schemes (A4) push ? ? ? through the connectives → \to → , ∧ \wedge ∧ , ∨ \vee ∨ and the constant ∅ \varnothing ∅ , but not through the quantifier Π \Pi Π , and in the full language of the semantics B normalization stops at propositions of the form ? Π α φ ? \Pi\alpha\,\varphi ? Π α φ . There is no analogue of the schemes (A4) for Π \Pi Π , and there cannot be one: the proposition ? Π α ( α ∨ ¬ α ) ? \Pi\alpha(\alpha\vee\neg\alpha) ? Π α ( α ∨ ¬ α ) is refutable —its negation is valid (Theorem 16), whereas without the quantifier ? ( α ∨ ¬ α ) ≡ ? α ∨ ¬ ? α ?(\alpha\vee\neg\alpha)\equiv?\alpha\vee\neg?\alpha ? ( α ∨ ¬ α ) ≡ ? α ∨ ¬ ? α is a valid classical tautology: the classical case distinction does not pass through Π \Pi Π . The laws of the quantifier Π \Pi Π allow one to simplify such propositions as well; what comes out of this is described in §6.9.
Corollary 19 (propositional fragment). In normal form, propositions are built by the classical connectives and the modality □ \square □ from the variables A i A_i A i and from the formulas ? α j ? \alpha_j ? α j . Moreover, the formulas ? α j ? \alpha_j ? α j behave like additional independent variables of sort proposition: taking α ∗ : = σ \alpha^{*}:=\sigma α ∗ := σ for an arbitrary closed σ \sigma σ , we get ( ? α ) ∗ = ∃ x σ (?\alpha)^{*}=\exists x\,\sigma ( ? α ) ∗ = ∃ x σ , which is logically equivalent to σ \sigma σ . Therefore the question about the propositional fragment reduces entirely to the question about the □ \square □ -fragment, which we take up next.
A □ \square □ -formula is a proposition built by the classical connectives ⊥ \bot ⊥ , ∨ \vee ∨ , ∧ \wedge ∧ , ⊃ \supset ⊃ from atoms of two kinds—propositional variables and propositions of the form ? β ?\beta ? β , where β \beta β is a variable of sort problem—and the modality □ = ? ! \square=?! □ = ?! , applied to □ \square □ -formulas; there are no other occurrences of ! ! ! and ? ? ? . For derivability in GL and GLS, atoms of both kinds play the role of propositional variables of the modal language. In normal form, a Π \Pi Π -free proposition is built by the classical connectives from the variables A i A_i A i , the propositions ? α j ?\alpha_j ? α j and the propositions □ B \square B □ B , where B B B are again propositions in normal form. In other words, the normal form of a Π \Pi Π -free proposition is a □ \square □ -formula , and no separate translation into the modal language is needed. The ? ? ? -collapse φ ? \varphi^{?} φ ? of every Π \Pi Π -free problem φ \varphi φ is also a □ \square □ -formula (Definition 11).
Let us recall the definitions of the logics GL and GLS (see [27 Ch. 1] ); both are formulated in the language of □ \square □ -formulas.
GL: the axioms are all classical tautologies (in the modal language), the scheme K □ ( M ⊃ N ) ⊃ ( □ M ⊃ □ N ) \square(M\supset N)\supset(\square M\supset\square N) □ ( M ⊃ N ) ⊃ ( □ M ⊃ □ N ) , the scheme □ M ⊃ □ □ M \square M\supset\square\square M □ M ⊃ □□ M (traditionally called scheme 4) and Löb’s scheme □ ( □ M ⊃ M ) ⊃ □ M \square(\square M\supset M)\supset\square M □ ( □ M ⊃ M ) ⊃ □ M ; the rules are (MP) and the necessitation rule M / □ M M/\square M M / □ M . (Scheme 4 is derivable from the remaining axioms, but we keep it in the list.)
GLS: the set of formulas derivable by the rule (MP) from the theorems of GL and all instances of the reflection scheme □ M ⊃ M \square M\supset M □ M ⊃ M . There is no necessitation rule in GLS, and the set of its theorems is not closed under it: GLS ⊢ □ ⊥ ⊃ ⊥ \vdash\square\bot\supset\bot ⊢ □ ⊥ ⊃ ⊥ , but GLS ⊬ □ ( □ ⊥ ⊃ ⊥ ) \not\vdash\square(\square\bot\supset\bot) ⊢ □ ( □ ⊥ ⊃ ⊥ ) , since this formula is GL-equivalent to □ ⊥ \square\bot □ ⊥ .
Solovay’s theorems say that GL is exactly the set of □ \square □ -formulas all of whose arithmetical realizations are provable in PA, and GLS is exactly the set of formulas all of whose realizations are true; in our terms this is validity in I and in E.
For the semantics I and E we shall use Solovay’s theorems [10 ] for PA; for B their variant for ZF is needed, and here the second assumption of Remark 5 is required—the Σ 1 \Sigma_1 Σ 1 -soundness of ZF. One cannot get by with consistency alone already for closed formulas: the non-validity of the formula □ ⊥ \square\bot □ ⊥ means that ZF does not prove Pr Z F ( ⊥ ) \operatorname{Pr}_{\mathrm{ZF}}(\bot) Pr ZF ( ⊥ ) . Consistency does not guarantee this, while Σ 1 \Sigma_1 Σ 1 -soundness does. To simplify the formulation we use the facts that (1) the language of GL is a part of our language and (2) for the semantics I and E our definition of validity of □ \square □ -formulas is the definition of validity in the sense of Solovay: the interpretations of atoms of both kinds are arbitrary closed arithmetical formulas. In the semantics B only atoms of the first kind are read this way (they correspond to arbitrary closed formulas of the language of ZF); an atom ? β ? \beta ? β there is the sentence ∃ y ( y ∈ X β ) \exists y\,(y \in X_\beta) ∃ y ( y ∈ X β ) about a box, and under the sign □ \square □ it is moreover read as a closure (Remark 2). Therefore for B the lemma is formulated for □ \square □ -formulas without atoms of the second kind.
Lemma 20 (Solovay’s theorem). (1) For every □ \square □ -formula M M M : GL ⊢ M \vdash M ⊢ M if and only if M M M is valid in I; GLS ⊢ M \vdash M ⊢ M if and only if M M M is valid in E.
(2) Let ZF be Σ 1 \Sigma_1 Σ 1 -sound. For every □ \square □ -formula M M M containing no atoms of the form ? β ? \beta ? β , the following statements are equivalent: GL ⊢ M \vdash M ⊢ M and M M M is valid in B.
Remark 14. Item (1) is Solovay’s first and second theorems for PA; item (2) is Solovay’s theorem for ZF. The metatheoretic assumption is needed for the direction “valid ⇒ \Rightarrow ⇒ derivable”: in Solovay’s construction, from a formula not derivable in GL one builds a realization whose unprovability in ZF is established under the assumption of 1-consistency, that is, Σ 1 \Sigma_1 Σ 1 -soundness. In item (2) the interpretations of propositional variables are arbitrary closed formulas of the language of ZF, while Solovay’s theorem is proved for arithmetical realizations; this is no obstacle: the direction “GL ⊢ M ⇒ \vdash M \Rightarrow ⊢ M ⇒ ZF ⊢ M ∗ \vdash M^* ⊢ M ∗ ” holds for any substituted sentences (the derivability conditions and the formalized Löb theorem do not depend on them), and for the converse it suffices to have it for arithmetical realizations, which are a special case. In B the translation of a formula without atoms ? β ? \beta ? β contains no set variables, and both closures in Definition 6 are empty. For details of Solovay’s construction see [10 ] and [27 Ch. 9] .
Theorem 21 (derivable and valid □ \square □ -formulas are GL and GLS). Let M M M be a □ \square □ -formula.
(1) The following three statements are equivalent: ⊢ H C I M \vdash_{\mathrm{HCI}} M ⊢ HCI M ; M M M is valid in I ; GL ⊢ M \vdash M ⊢ M .
(2) The following three statements are equivalent: ⊢ H C E M \vdash_{\mathrm{HCE}} M ⊢ HCE M ; M M M is valid in E ; GLS ⊢ M \vdash M ⊢ M .
(3) Suppose that atoms of the form ? α ? \alpha ? α occur in M M M only outside the signs □ \square □ (under the sign □ \square □ *in the semantics B a problem variable would be bound and read as a closure—Remark 2 ). Then ⊢ H C B M \vdash_{\mathrm{HCB}} M ⊢ HCB M implies the validity of M M M in B , GL ⊢ M \vdash M ⊢ M implies ⊢ H C B M \vdash_{\mathrm{HCB}} M ⊢ HCB M , and under the assumption of Σ 1 \Sigma_1 Σ 1 -soundness of ZF validity in B implies GL ⊢ M \vdash M ⊢ M , so that all three statements are equivalent.
Proof. Each item is proved by going around a circle: from derivability in our calculus to validity (the soundness theorem), from validity to derivability in GL or GLS (Solovay’s theorem), from derivability in GL or GLS to derivability in our calculus (direct verification). The last step is common to all items, so we begin with it.
GL ⊢ M \vdash M ⊢ M implies ⊢ H C I M \vdash_{\mathrm{HCI}} M ⊢ HCI M . Every GL-derivation, read on our atoms (propositional variables and formulas ? α ? \alpha ? α ), turns into a derivation in HCI: the scheme K is item (1) of Example 1, scheme 4 is item (2), Löb’s scheme is item (3); classical tautologies are given by the schemes (A1); the necessitation rule is admissible, since from ⊢ H C I A \vdash_{\mathrm{HCI}} A ⊢ HCI A by (AtoP) we get ⊢ H C I ! A \vdash_{\mathrm{HCI}} !A ⊢ HCI ! A , and by (PtoA) ⊢ H C I ? ! A \vdash_{\mathrm{HCI}} ?!A ⊢ HCI ?! A , that is, ⊢ H C I □ A \vdash_{\mathrm{HCI}} \square A ⊢ HCI □ A . GLS ⊢ M \vdash M ⊢ M implies ⊢ H C E M \vdash_{\mathrm{HCE}} M ⊢ HCE M : GLS consists of the theorems of GL together with all special cases of reflection □ N ⊃ N \square N \supset N □ N ⊃ N , closed under (MP); the theorems of GL are derivable in HCI ⊆ \subseteq ⊆ HCE, reflection is the scheme (A8), and the necessitation rule is not used here. GL ⊢ M \vdash M ⊢ M implies ⊢ H C B M \vdash_{\mathrm{HCB}} M ⊢ HCB M , since HCI ⊆ \subseteq ⊆ HCB. Items (1) and (2). ⊢ H C I M \vdash_{\mathrm{HCI}} M ⊢ HCI M implies the I-validity of M M M , and ⊢ H C E M \vdash_{\mathrm{HCE}} M ⊢ HCE M implies E-validity (Theorem 15). I-validity implies G L ⊢ M \mathrm{GL} \vdash M GL ⊢ M , and E-validity implies G L S ⊢ M \mathrm{GLS} \vdash M GLS ⊢ M (Lemma 20(1)). The circle is closed.
Item (3). ⊢ H C B M \vdash_{\mathrm{HCB}} M ⊢ HCB M implies B-validity by Theorem 15. It remains to derive G L ⊢ M \mathrm{GL} \vdash M GL ⊢ M from the B-validity of M M M under the assumption of Σ 1 \Sigma_{1} Σ 1 -soundness. The formula M M M is a Boolean combination of the variables A i A_i A i , the atoms ? α 1 , … , ? α m ? \alpha_1,\ldots,? \alpha_m ? α 1 , … , ? α m and propositions □ B \Box B □ B , where by hypothesis the atoms ? α j ? \alpha_j ? α j stand outside the signs □ \Box □ , and the arguments B B B contain no problem variables. Fix an interpretation of the propositional variables. The translation M ∗ M^* M ∗ is a Boolean combination of the sentences A i ∗ A_i^* A i ∗ , the atoms ∃ y ( y ∈ X j ) \exists y\ (y \in X_j) ∃ y ( y ∈ X j ) and the sentences Pr ( B ∗ ) \operatorname{Pr}(B^*) Pr ( B ∗ ) (the formulas B ∗ B^* B ∗ are closed). The validity of M M M means Z F ⊢ ∀ X ⃗ M ∗ \mathrm{ZF} \vdash\forall\vec{X}\ M^* ZF ⊢ ∀ X M ∗ .
We show that this condition is equivalent to the following one:
( † ) Z F ⊢ M ∗ [ σ ⃗ ] for every tuple σ ⃗ ∈ { 0 = 0 , ⊥ } m , (\dagger)\qquad\mathrm{ZF} \vdash M^*[\vec{\sigma}]\quad\text{for every tuple }\vec{\sigma}\in\{0=0,\perp\}^{m}, ( † ) ZF ⊢ M ∗ [ σ ] for every tuple σ ∈ { 0 = 0 , ⊥ } m ,
where M ∗ [ σ ⃗ ] M^*[\vec{\sigma}] M ∗ [ σ ] is obtained from M ∗ M^* M ∗ by replacing each atom ∃ y ( y ∈ X j ) \exists y\ (y \in X_j) ∃ y ( y ∈ X j ) with the sentence σ j \sigma_j σ j . Validity implies ( † ) (\dagger) ( † ) : substitute for X j X_j X j the set ∅ \varnothing ∅ when σ j = ( ⊥ ) \sigma_j=(\perp) σ j = ( ⊥ ) and ω \omega ω when σ j = ( 0 = 0 ) \sigma_j=(0=0) σ j = ( 0 = 0 ) ; after the substitution the atom ∃ y ( y ∈ X j ) \exists y\ (y \in X_j) ∃ y ( y ∈ X j ) is ZF-equivalent to σ j \sigma_j σ j , and replacement of equivalents in the Boolean skeleton yields M ∗ [ σ ⃗ ] M^*[\vec{\sigma}] M ∗ [ σ ] . Conversely, suppose ( † ) (\dagger) ( † ) holds. We argue in ZF: by classical logic ⋀ j ( ∃ y ( y ∈ X j ) ∨ ¬ ∃ y ( y ∈ X j ) ) \bigwedge_j(\exists y\ (y \in X_j)\lor\neg\exists y\ (y \in X_j)) ⋀ j ( ∃ y ( y ∈ X j ) ∨ ¬∃ y ( y ∈ X j )) , which gives a case distinction with 2 m 2^m 2 m cases; in each case every atom is ZF-equivalent to its σ j \sigma_j σ j , replacement of equivalents in the Boolean skeleton yields M ∗ [ σ ⃗ ] M^*[\vec{\sigma}] M ∗ [ σ ] , and the latter is provable by ( † ) (\dagger) ( † ) . Thus Z F ⊢ M ∗ \mathrm{ZF}\vdash M^* ZF ⊢ M ∗ , and with it the closure.
It remains to relate ( † ) (\dagger) ( † ) to GL. Let M [ σ ⃗ ] M[\vec{\sigma}] M [ σ ] be the result of replacing in M M M each atom ? α j ? \alpha_j ? α j with ¬ ⊥ \neg\perp ¬ ⊥ when σ j = ( 0 = 0 ) \sigma_j=(0=0) σ j = ( 0 = 0 ) and with ⊥ \perp ⊥ when σ j = ( ⊥ ) \sigma_j=(\perp) σ j = ( ⊥ ) . This is a □ \Box □ -formula without atoms ? β ? \beta ? β , and M ∗ [ σ ⃗ ] M^*[\vec{\sigma}] M ∗ [ σ ] is ZF-equivalent to its translation. By Lemma 20(2) the condition ( † ) (\dagger) ( † ) is equivalent to G L ⊢ M [ σ ⃗ ] \mathrm{GL}\vdash M[\vec{\sigma}] GL ⊢ M [ σ ] for all σ ⃗ \vec{\sigma} σ . And this is equivalent to G L ⊢ M \mathrm{GL}\vdash M GL ⊢ M : the atoms ? α j ? \alpha_j ? α j stand outside □ \Box □ , so the formula M ≡ ⋁ σ ⃗ ( ⋀ j ( ? α j ≡ σ j ) ∧ M [ σ ⃗ ] ) M\equiv\bigvee_{\vec{\sigma}}(\bigwedge_j(?\alpha_j\equiv\sigma_j)\land M[\vec{\sigma}]) M ≡ ⋁ σ ( ⋀ j ( ? α j ≡ σ j ) ∧ M [ σ ]) is a classical tautology, and from all G L ⊢ M [ σ ⃗ ] \mathrm{GL}\vdash M[\vec{\sigma}] GL ⊢ M [ σ ] we get G L ⊢ M \mathrm{GL}\vdash M GL ⊢ M ; while conversely the M [ σ ⃗ ] M[\vec{\sigma}] M [ σ ] are substitution instances of M M M .
Remark 15 (atoms ? α ? \alpha ? α under the sign □ \Box □ ). The proviso of item (3) is essential: if atoms ? α ? \alpha ? α stand under the sign □ \Box □ , validity in B does not imply derivability in GL. Example: □ ? α ⊃ □ ⊥ \Box? \alpha\supset\Box\perp □ ? α ⊃ □ ⊥ is valid in B, since ZF proves the implication ( □ ? α ) ∗ ⊃ ( □ ⊥ ) ∗ (\Box? \alpha)^*\supset(\Box\perp)^* ( □ ? α ) ∗ ⊃ ( □ ⊥ ) ∗ : the argument of the inner □ \Box □ is read as the closure ∀ X ∃ y ( y ∈ X ) \forall X\ \exists y\ (y\in X) ∀ X ∃ y ( y ∈ X ) , which is refutable, and from a proof of it together with a fixed refutation one obtains a proof of ⊥ \perp ⊥ . In GL, however, the formula □ p ⊃ □ ⊥ \Box p\supset\Box\perp □ p ⊃ □ ⊥ is not derivable, and in I, E the proposition □ ? α ⊃ □ ⊥ \Box? \alpha\supset\Box\perp □ ? α ⊃ □ ⊥ is not valid: for α ∗ : = ( 0 = 0 ) \alpha^*:=(0=0) α ∗ := ( 0 = 0 ) it turns into a formula provably equivalent to the unprovable formula □ ⊥ \Box\perp □ ⊥ . In HCB, on the other hand, this proposition is derivable, and the derivation shows how the calculus takes the hidden quantifier into account: the propositional scheme ( Π E ) (\Pi E) ( Π E ) with θ : = ∅ \theta:=\varnothing θ := ∅ gives Π α ? α ⊃ ? ∅ \Pi\alpha? \alpha\supset?\varnothing Π α ? α ⊃ ? ∅ , that is, Π α ? α ⊃ ⊥ \Pi\alpha? \alpha\supset\perp Π α ? α ⊃⊥ by (A4d); the rule ( ! → ) (!\to) ( ! → ) gives ! Π α ? α → ! ⊥ !\Pi\alpha? \alpha\to!\perp ! Π α ? α → ! ⊥ ; the axiom ( Π ! ) (\Pi!) ( Π !) gives ! ? α → ! Π α ? α !? \alpha\to!\Pi\alpha? \alpha !? α → ! Π α ? α ; altogether the problem ! ? α → ! ⊥ !? \alpha\to!\perp !? α → ! ⊥ is derivable, and the rule ( ? → ) (?\to) ( ? → ) yields □ ? α ⊃ □ ⊥ \Box? \alpha\supset\Box\perp □ ? α ⊃ □ ⊥ . In HCI this Π \Pi Π -free formula is not derivable: by item (1) of the theorem it would be a theorem of GL. The formula is, of course, not clean (Remark 4): the variable α \alpha α stands under the sign ! ! ! ; we return to the question of conservativity of the Π \Pi Π -extension in Remark 13.
Corollary 22 (completeness on the propositional side). For every Π \Pi Π -free proposition A A A the following statements are equivalent:
The following statements are also equivalent:
In particular, the □ \square □ -fragment of HCI is exactly GL, and the □ \square □ -fragment of HCE is exactly GLS.
Proof. By Proposition 18 the derivability and the validity of A A A are equivalent to the derivability and the validity of the □ \square □ -formula A † A^\dagger A † ; Theorem 21 does the rest.
Thus, on the side of Π \Pi Π -free propositions our semantics gives nothing new compared with provability logic: two-sortedness and the modalities add not a single new scheme to GL and GLS. All the novelty is concentrated on the problem side, and for B also in propositions with the quantifier Π \Pi Π (§ 6.7 , §6.9).
In the Π \Pi Π -free language the normal form (Proposition 18) is built from the variables A i A_i A i and the propositions ? α ? \alpha ? α and □ B \square B □ B . In the language with the quantifier Π \Pi Π the reduction by (A4) stops at propositions ? Π α ⃗ χ ? \Pi\vec{\alpha}\,\chi ? Π α χ (the remark after Proposition 18), but the laws of Π \Pi Π allow one to simplify these as well. By an atom we mean a formula at which such simplifications come to an end. This notion is syntactic: it is defined by the set of equivalences listed below, and an atom may turn out to be equivalent to a simpler formula. In this subsection we consider formulas in which the quantifier Π \Pi Π is applied only to problems; propositions of the form Π α A \Pi\alpha\, A Π α A are not simplified here.
Definition 12 (Π \Pi Π -atom). A Π \Pi Π -atom is a proposition ? Π α 1 … Π α k χ ? \Pi\alpha_1 \ldots\Pi\alpha_k\,\chi ? Π α 1 … Π α k χ , k ≥ 1 k \ge1 k ≥ 1 , in which every variable α i \alpha_i α i occurs free in the problem χ \chi χ , and the problem χ \chi χ is either a variable, or a problem of the form ! A !A ! A , or an implication φ → ψ \varphi\to\psi φ → ψ in whose premise φ \varphi φ every α i \alpha_i α i occurs free.
Proposition 23 (normal form in the Π \Pi Π -extension). Every formula in which the quantifier Π \Pi Π is applied only to problems is equivalent in HCB to a formula in which ? ? ? occurs only in the combinations ? α ? \alpha ? α and □ B \square B □ B and in Π \Pi Π -atoms.
Proof. As in Proposition 18, but to the equivalences (A4a)–(A4d) we add the equivalences (Π ∧ \Pi\land Π ∧ ), (Π ∨ \Pi\lor Π ∨ ) (an axiom and Lemma 14(4)) and the equivalences of Lemma 14; all replacements are legitimate by Lemma 13. Let ? Π α ⃗ χ ? \Pi\vec{\alpha}\,\chi ? Π α χ be an occurrence that is not a Π \Pi Π -atom. A quantifier over a variable that does not occur free in χ \chi χ is dropped (Lemma 14(1)). If χ \chi χ is a conjunction or a disjunction, we move the quantifiers into the members by (Π ∧ \Pi\land Π ∧ ), (Π ∨ \Pi\lor Π ∨ ), and ? ? ? passes through the connective by (A4b) or (A4c). If χ = φ → ψ \chi= \varphi\to\psi χ = φ → ψ and some α i \alpha_i α i does not occur in the premise, we permute its quantifier to the inside of the block (Lemma 14(3)) and move it into the conclusion (Lemma 14(2)); if no quantifiers over the implication remain, ? ? ? passes through it by (A4a). The process terminates: every step, except the permutation of quantifiers, decreases in the lexicographic order the triple consisting of the number of problem connectives standing under the symbols ? ? ? , the total number of problem connectives in the scopes of the quantifiers Π \Pi Π standing under the symbols ? ? ? , and the number of such quantifiers; and a permutation is performed only immediately before a step that decreases the triple.
The atoms of the Π \Pi Π -free normal form, the variables A i A_i A i and the propositions ? α ? \alpha ? α , are unsimplifiable also in the semantic sense: they can independently be assigned arbitrary truth values (Corollary 19). For Π \Pi Π -atoms this is not so.
Definition 13 (eliminable Π \Pi Π -atom). A Π \Pi Π -atom θ \theta θ is eliminable if for some Π \Pi Π -free proposition A A A the equivalence θ ≡ A \theta\equiv A θ ≡ A is B-valid.
Let us note at once that quantifier elimination in problems (Proposition 17) also yields eliminability of atoms: if the problem Π α ⃗ χ \Pi\vec{\alpha}\,\chi Π α χ is B-equivalent to a Π \Pi Π -free problem ψ \psi ψ , then the proposition ? Π α ⃗ χ ?\Pi\vec{\alpha}\,\chi ? Π α χ is equivalent to ? ψ ?\psi ? ψ , and the latter is reduced by (A4) to a Π \Pi Π -free normal form; in this way many atoms that look irreducible at first glance are eliminable, for example ? Π α ( ( α → β ∨ γ ) → ( ( α → β ) ∨ ( α → γ ) ) ) ?\Pi\alpha((\alpha\to\beta\mathbin{\lor} \gamma) \to((\alpha\to\beta) \mathbin{\lor} (\alpha\to\gamma))) ? Π α (( α → β ∨ γ ) → (( α → β ) ∨ ( α → γ ))) , which is equivalent to ( ? γ ⊃ ? β ) ∨ ( ? β ⊃ ? γ ) (?\gamma\supset?\beta) \mathbin{\lor} (?\beta\supset?\gamma) ( ? γ ⊃ ? β ) ∨ ( ? β ⊃ ? γ ) , that is, to a classical tautology.
All Π \Pi Π -atoms encountered so far are eliminable: ? Π α α ?\Pi\alpha\,\alpha ? Π α α and ? Π α ( ∼ ∼ α → α ) ?\Pi\alpha(\mathord{\sim}\mathord{\sim}\alpha\to\alpha) ? Π α ( ∼ ∼ α → α ) are equivalent to ⊥ \bot ⊥ (Theorem 16), ? Π β ( ( ! A → β ) → β ) ?\Pi\beta((!A \to\beta) \to\beta) ? Π β (( ! A → β ) → β ) is equivalent to □ A \Box A □ A (Proposition 17(2) with φ : = ! A \varphi:= !A φ := ! A ), and ? Π β Π γ ρ ?\Pi\beta\Pi\gamma\rho ? Π β Π γ ρ is valid (Example 2) and hence equivalent to ¬ ⊥ \neg\bot ¬⊥ . The atom ? Π α ( ( ( α → β ) → α ) → α ) ?\Pi\alpha(((\alpha\to\beta) \to\alpha) \to\alpha) ? Π α ((( α → β ) → α ) → α ) is eliminable too—it is B-equivalent to ? β ?\beta ? β —but this equivalence has been proved only semantically, and whether it is derivable in HCB is unknown (Proposition 17(4), Remark 12). Whether ineliminable Π \Pi Π -atoms exist, we do not know (§ 8 ).
Modality-free Π \Pi Π -free valid problems
Let us return to the simplest class of problems—problems without modalities, that is, those built from variables and the constant ∅ \varnothing ∅ by the connectives → \to → , ∧ \mathbin{\land} ∧ , ∨ \mathbin{\lor} ∨ . For each semantics Z ∈ { I , B , E } Z \in\{I, B, E\} Z ∈ { I , B , E } we denote by L Z \mathcal{L}_Z L Z the set of modality-free problems valid in Z Z Z (note that by their grammar modality-free problems do not contain the quantifier Π \Pi Π either). By Lemmas 3 and 4 all three sets are closed under (MP) and under substitution of modality-free problems (such substitutions affect neither ! ! ! nor Π \Pi Π and are therefore safe), that is, they are superintuitionistic logics in the language → , ∧ , ∨ , ∅ \to, \mathbin{\land}, \mathbin{\lor}, \varnothing → , ∧ , ∨ , ∅ (the constant ∅ \varnothing ∅ plays the role of falsity): they contain Int by Proposition 6. Now that the soundness theorem has been proved, every fact of non-validity also gives a fact of non-derivability; we shall refer to this in § 6.12 .
At the same time, none of the three logics contains classical schemes.
Proposition 24 (the problems have remained intuitionistic). Let α \alpha α , β \beta β be variables of sort problem . The problems α ∨ ∼ α \alpha\mathbin{\lor} \mathord{\sim}\alpha α ∨ ∼ α , ∼ α ∨ ∼ ∼ α \mathord{\sim}\alpha\mathbin{\lor} \mathord{\sim}\mathord{\sim}\alpha ∼ α ∨ ∼ ∼ α , ∼ ∼ α → α \mathord{\sim}\mathord{\sim}\alpha\to\alpha ∼ ∼ α → α and ( ( α → β ) → α ) → α ((\alpha\to\beta) \to\alpha) \to\alpha (( α → β ) → α ) → α are not valid in any of the three semantics.
Proof. It suffices to prove the non-validity of the second problem—the weak law of excluded middle ∼ α ∨ ∼ ∼ α \mathord{\sim}\alpha\mathbin{\lor} \mathord{\sim}\mathord{\sim}\alpha ∼ α ∨ ∼ ∼ α . Indeed, the first problem implies the second in Int, and the third and the fourth are schemes each of which together with Int gives the whole of classical logic; since validity is preserved under substitution of problems for problem variables and under the rule (MP) (Lemmas 3 and 4), the validity of any of them would imply the validity of all classical tautologies, including the second problem. In the semantics I, E: we fix a computably enumerable undecidable set X ⊂ N X \subset\mathbb{N} X ⊂ N and express the property n ∈ X n \in X n ∈ X by an arithmetical Σ \Sigma Σ -formula ∃ x A ( x , n ) \exists x A(x,n) ∃ x A ( x , n ) . Arguing by contradiction, suppose there exists a solution S S S of the problem ∼ α ∨ ∼ ∼ α \sim\alpha\vee\sim\sim\alpha ∼ α ∨ ∼∼ α . For an arbitrary n ∈ N n \in\mathbb{N} n ∈ N consider the interpretation n ∗ {}^*_{n} n ∗ that interprets the variable α \alpha α by the formula A ( n , x ) A(n,x) A ( n , x ) . Then the solutions of the problem ( ∼ α ∨ ∼ ∼ α ) n ∗ (\sim\alpha\vee\sim\sim\alpha)^*_n ( ∼ α ∨ ∼∼ α ) n ∗ are all numbers of the form c ( 0 , m ) c(0,m) c ( 0 , m ) (and only they) if n ∉ X n \notin X n ∈ / X , and all numbers c ( 1 , m ) c(1,m) c ( 1 , m ) (and only they) if n ∈ X n \in X n ∈ X . And this fact is provable in the external theory. Thus the external theory proves n ∈ X ≡ ∃ m ( S ( n ∗ ) = c ( 1 , m ) ) n \in X \equiv\exists m(S({}^*_n)=c(1,m)) n ∈ X ≡ ∃ m ( S ( n ∗ ) = c ( 1 , m )) , and hence this statement is true for all n n n . Therefore, by means of the algorithm S S S applied to the code of the interpretation n ∗ {}^*_n n ∗ , one can decide whether n n n belongs to X X X . A contradiction.
In the semantics B it is even simpler: there is no code, the solution is a single fixed number c ( i , u ) c(i,u) c ( i , u ) , and for i = 0 i=0 i = 0 it is rejected by the box ∅ \varnothing ∅ , while for i = 1 i=1 i = 1 by the box { 0 } \{0\} { 0 } , and ZF proves the negation of the translation for such a box.
Thus all three logics L Z \mathcal{L}_{\mathcal{Z}} L Z lie between Int and classical logic, without coinciding with the latter. Neither do they coincide with Int, and a separating example was found by Rose [9 ] —as a propositional formula realizable under every substitution but not intuitionistically derivable; it was the first to show that the propositional logic of realizability is strictly wider than Int. In our semantics it is obtained as a special case of a general statement about surveyable problems (Theorem 25 below).
Surveyable problems
Let us fix an interpretation ∗ ^* ∗ (in the semantics B we argue inside ZF for given contents of the boxes). By choice programs for a problem φ \varphi φ under a given interpretation we mean the elements of the set ⟦ ∼ ∼ φ → φ ⟧ ∗ \llbracket\sim\sim\varphi\to\varphi\rrbracket_* [ [ ∼∼ φ → φ ] ] ∗ , that is, the solutions of the problem ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ under this interpretation. By Lemma 1(6) they are structured as follows: if ⟦ φ ⟧ ∗ ≠ ∅ \llbracket\varphi\rrbracket_* \ne\varnothing [ [ φ ] ] ∗ = ∅ , then ⟦ ∼ ∼ φ ⟧ ∗ = N \llbracket\sim\sim\varphi\rrbracket_*=\mathbb{N} [ [ ∼∼ φ ] ] ∗ = N , the input conveys nothing, and a choice program is a total program with values in ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_* [ [ φ ] ] ∗ ; if, however, ⟦ φ ⟧ ∗ = ∅ \llbracket\varphi\rrbracket_*=\varnothing [ [ φ ] ] ∗ = ∅ , then ⟦ ∼ ∼ φ ⟧ ∗ = ∅ \llbracket\sim\sim\varphi\rrbracket_*=\varnothing [ [ ∼∼ φ ] ] ∗ = ∅ and a choice program is any program, including the nowhere defined one.
Definition 14 (surveyable problem). A problem φ \varphi φ is called surveyable if from the code ∗ ^* ∗ one can compute a finite list of programs q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k (both their number and the programs themselves may depend on the code) with the property: if ⟦ φ ⟧ ∗ ≠ ∅ \llbracket\varphi\rrbracket_* \ne\varnothing [ [ φ ] ] ∗ = ∅ , then at least one of q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k is total and all its values lie in ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_* [ [ φ ] ] ∗ . (Recall that in B the code is the code of the transparent part, and the property of the list is required for arbitrary contents of the boxes.)
In other words, surveyability means that there are finitely many candidates for choice programs and they are written out in advance from the code of the interpretation. For example, the problem ∼ β ∨ ∼ ∼ γ \sim\beta\vee\sim\sim\gamma ∼ β ∨ ∼∼ γ is surveyable with a constant list of two programs—“output c ( 0 , 0 ) c(0,0) c ( 0 , 0 ) ” and “output c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) ”.
Theorem 25 (Rose’s scheme for surveyable problems). Let a problem φ \varphi φ be surveyable and ψ : = ∼ ∼ φ ∨ ∼ φ \psi:= \sim\sim\varphi\vee\sim\varphi ψ :=∼∼ φ ∨ ∼ φ . Then the problem
( ( ∼ ∼ φ → φ ) → ψ ) → ψ (2) ((\sim\sim\varphi\to\varphi) \to\psi) \to\psi \tag*{(2)} (( ∼∼ φ → φ ) → ψ ) → ψ (2) is valid in the given semantics as soon as the defining property of the list from Definition 14 is, for every ∗ ^* ∗ , provable in its external theory. In E this condition is always fulfilled (the external theory is TA, and the property of the list is true by definition), so that there the problem ((R)) is valid unconditionally.
Before the proof we recall that Rose’s formula ρ \rho ρ is the problem (R) for the (surveyable) formula φ = ∼ β ∨ ∼ γ \varphi= \mathord{\sim}\beta\mathbin{\lor} \mathord{\sim}\gamma φ = ∼ β ∨ ∼ γ .
Proof. Let us first work out what a solution of the problem ψ \psi ψ is. By Lemmas 1(5) and 2 the set ⟦ ∼ ∼ φ ⟧ ∗ \llbracket\mathord{\sim}\mathord{\sim}\varphi\rrbracket^{*} [ [ ∼ ∼ φ ] ] ∗ equals N \mathbb{N} N when ⟦ φ ⟧ ∗ ≠ ∅ \llbracket\varphi\rrbracket^{*} \ne\varnothing [ [ φ ] ] ∗ = ∅ and is empty otherwise, while ⟦ ∼ φ ⟧ ∗ \llbracket\mathord{\sim}\varphi\rrbracket^{*} [ [ ∼ φ ] ] ∗ is the other way round. Therefore a solution of the problem ψ \psi ψ is a label alone , and moreover a correct one: when ⟦ φ ⟧ ∗ ≠ ∅ \llbracket\varphi\rrbracket^{*} \ne\varnothing [ [ φ ] ] ∗ = ∅ the solutions are exactly the numbers with label 0, and when ⟦ φ ⟧ ∗ = ∅ \llbracket\varphi\rrbracket^{*} = \varnothing [ [ φ ] ] ∗ = ∅ , exactly the numbers with label 1. In particular, c ( 0 , 0 ) c(0,0) c ( 0 , 0 ) will do in the first case and c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) in the second.
A solution of the premise is a program p p p which, on every choice program for φ \varphi φ , halts and outputs a solution of the problem ψ \psi ψ . From it we construct a solution of the conclusion. From the code ∗ \ast ∗ we compute the list q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k of Definition 14 and run p p p in parallel on all q i q_i q i . Then:
as soon as some run has halted with an answer having label 0, we halt and output c ( 0 , 0 ) c(0,0) c ( 0 , 0 ) ;
if all k k k runs have halted with answers having label 1, we output c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) .
Verification. Let ⟦ φ ⟧ ∗ = ∅ \llbracket\varphi\rrbracket^{*} = \varnothing [ [ φ ] ] ∗ = ∅ . Then every program is a choice program, in particular all the q i q_i q i ; hence p p p halts on each of them, and all answers have label 1—there are no other solutions of the problem ψ \psi ψ when ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket^{*} [ [ φ ] ] ∗ is empty. Therefore the first clause will not fire, all k k k runs will terminate, and we shall output c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) —a correct solution.
Now let ⟦ φ ⟧ ∗ ≠ ∅ \llbracket\varphi\rrbracket^{*} \ne\varnothing [ [ φ ] ] ∗ = ∅ . By the definition of surveyability some q i q_i q i is a choice program, hence p p p halts on it and outputs a solution of the problem ψ \psi ψ ; when ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket^{*} [ [ φ ] ] ∗ is nonempty this is a number with label 0. Consequently the first clause will fire sooner or later, and we shall output c ( 0 , 0 ) c(0,0) c ( 0 , 0 ) —again a correct solution.
The list q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k is computed from the code, and the rest of the construction does not depend on the code, so the solving function is computable. The provability of the formula φ ∗ ( S ( ∗ ) ) \varphi^{*}(S(\ast)) φ ∗ ( S ( ∗ )) in the external theory is obtained by the same argument carried out inside it: the case distinction on ∃ x φ ∗ ( x ) \exists x\,\varphi^{*}(x) ∃ x φ ∗ ( x ) is classical, and everything else is a Σ 1 \Sigma_1 Σ 1 -argument about the work of a machine; in B the argument is carried out over free set variables, and the list is computed from the code of the transparent part. The only place where an additional condition is required is the step “if ∃ x φ ∗ ( x ) \exists x\,\varphi^{*}(x) ∃ x φ ∗ ( x ) , then some q i q_i q i is a choice program”: inside the external theory it can be used only if it has been proved there (for TA this is just truth; for PA and ZF truth is not enough).
The class of surveyable problems is fairly wide; to describe it explicitly, we single out one more class, given grammatically.
Definition 15 (O \mathcal{O} O -problems). O \mathcal{O} O -problems are the problems built by the grammar
φ : : = σ ∣ ∼ ψ ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ ) , \varphi::= \sigma\mid\mathord{\sim}\psi\mid(\varphi\mathbin{\land} \varphi) \mid(\varphi\mathbin{\lor} \varphi), φ ::= σ ∣ ∼ ψ ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ ) , where σ \sigma σ ranges over Σ \Sigma Σ -problems and ψ \psi ψ over arbitrary problems. In other words, all possible negations are added to the Σ \Sigma Σ -problems, and all this is closed under ∧ \land ∧ and ∨ \lor ∨ . Every Σ \Sigma Σ -problem is an O \mathcal{O} O -problem; the converse fails already for ∼ ! A \mathord{\sim}!A ∼ ! A .
Lemma 26 (the stock of surveyable problems). (1) Every problem φ \varphi φ for which the problem ∼ ψ → φ \mathord{\sim}\psi\mathbin{\to} \varphi ∼ ψ → φ is valid is surveyable. In particular, all Σ \Sigma Σ -problems and all problems of the form ∼ ψ \mathord{\sim}\psi ∼ ψ are surveyable.
(2) If φ \varphi φ and ψ \psi ψ are surveyable, then so are φ ⋏ ψ \varphi\curlywedge\psi φ ⋏ ψ and φ ⋎ ψ \varphi\curlyvee\psi φ ⋎ ψ . All of this applies to each of the three semantics, and in all cases the defining property of the list is provable in the external theory.
Proof. (1) Let S be a computable function solving ∼ ∼ φ → φ \mathord{\sim}\mathord{\sim}\varphi\to\varphi ∼ ∼ φ → φ . Take the list consisting of a single program: q : = q := q := “on any input output U S ( ∗ ) ( 0 ) U_{S(*)}(0) U S ( ∗ ) ( 0 ) ”. If ⟦ φ ⟧ ∗ ≠ ∅ \llbracket\varphi\rrbracket_* \ne\varnothing [ [ φ ] ] ∗ = ∅ , then U S ( ∗ ) U_{S(*)} U S ( ∗ ) is total with values in ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_* [ [ φ ] ] ∗ , hence q q q is total and its values lie in ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_* [ [ φ ] ] ∗ . For Σ \Sigma Σ -problems the scheme is valid in all three semantics—this is the scheme (A7), Proposition 9; for ∼ ψ \mathord{\sim}\psi ∼ ψ it is derivable already in Int and valid by Proposition 6.
Provability in the external theory: for Σ \Sigma Σ -problems it is part of the validity of (A7) by Definition 6—the external theory proves ∀ u ( ( ∼ ∼ φ ) ∗ ( u ) ⊃ φ ∗ ( U S ( ∗ ) ( u ) ) ) \forall u ((\mathord{\sim}\mathord{\sim}\varphi)^*(u) \supset\varphi^*(U_{S(*)}(u))) ∀ u (( ∼ ∼ φ ) ∗ ( u ) ⊃ φ ∗ ( U S ( ∗ ) ( u ))) , and the premise is equivalent to ∃ x φ ∗ ( x ) \exists x\,\varphi^*(x) ∃ x φ ∗ ( x ) by Lemma 2; for ∼ ψ \mathord{\sim}\psi ∼ ψ it is part of the validity of a scheme of Int.
(2) Let q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k be a list for φ \varphi φ , and q 1 ′ , … , q m ′ q'_1,\ldots,q'_m q 1 ′ , … , q m ′ a list for ψ \psi ψ . For φ ⋎ ψ \varphi\curlyvee\psi φ ⋎ ψ take the list of k + m k+m k + m programs: “run q i q_i q i and output c ( 0 , r e s u l t ) c(0,\mathop{\rm result}) c ( 0 , result ) ” and “run q j ′ q'_j q j ′ and output c ( 1 , r e s u l t ) ” . I f c(1,\mathop{\rm result})”. If c ( 1 , result ) ”. I f \llbracket\varphi \curlyvee \psi\rrbracket_* \ne \varnothing$, then ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_* [ [ φ ] ] ∗ or ⟦ ψ ⟧ ∗ \llbracket\psi\rrbracket_* [ [ ψ ] ] ∗ is nonempty, and the corresponding wrapped program is total with values in ⟦ φ ⋎ ψ ⟧ ∗ \llbracket\varphi\curlyvee\psi\rrbracket_* [ [ φ ⋎ ψ ] ] ∗ . For φ ⋏ ψ \varphi\curlywedge\psi φ ⋏ ψ take the k m km k m programs “run q i q_i q i and q j ′ q'_j q j ′ and output c ( r e s u l t s ) c(\mathop{\rm results}) c ( results ) ”; if ⟦ φ ⋏ ψ ⟧ ∗ ≠ ∅ \llbracket\varphi\curlywedge\psi\rrbracket_* \ne\varnothing [ [ φ ⋏ ψ ] ] ∗ = ∅ , then both factors are nonempty, and a suitable pair exists. Both arguments are formalized in the external theory word for word, so the provability of the property of the list is preserved.
Proposition 27 (Rose’s scheme is valid on the class O \mathcal{O} O ). For every O \mathcal{O} O -problem φ \varphi φ the problem (R) is valid in all three semantics.
Proof. Induction on the grammar of Definition 15 shows that every O \mathcal{O} O -problem is surveyable, and moreover the defining property of the list is provable in the external theory: for Σ \Sigma Σ -problems and problems of the form ∼ ψ \mathord{\sim}\psi ∼ ψ this is clause (1) of Lemma 26, and the connectives ⋏ \curlywedge ⋏ and ⋎ \curlyvee ⋎ preserve surveyability by its clause (2). It remains to apply Theorem 25.
We did not include Rose’s scheme among the axioms of the calculi, although it is valid in all three semantics. The calculi are composed so as to facilitate proofs of validity, and for this the axioms must be natural principles with a simple formulation—such are the axioms (A1)–(A7). Rose’s scheme is not a principle but a ready-made result: it is long, the class of O \mathcal{O} O -problems is not simple to define, it apparently does not give completeness on the problem side, and it is hard to imagine anyone using it for proving the validity of anything else. Therefore we record it among the examples of incompleteness : Rose’s formula is valid but not derivable in Int, and hence not in HCI either (§6.11).
Surveyability in Theorem 25 is essential: if φ \varphi φ is a variable, the scheme (R) is not valid. In Int it is equivalent to the scheme
( ( ∼ ∼ φ → φ ) → ( φ ⋎ ∼ φ ) ) → ( ∼ ∼ φ ⋎ ∼ φ ) . ((\mathord{\sim}\mathord{\sim}\varphi\to\varphi) \to(\varphi\curlyvee\mathord{\sim}\varphi)) \to(\mathord{\sim}\mathord{\sim}\varphi\curlyvee\mathord{\sim}\varphi). (( ∼ ∼ φ → φ ) → ( φ ⋎ ∼ φ )) → ( ∼ ∼ φ ⋎ ∼ φ ) .
which differs in that the conclusion of the premise is φ ⋎ ∼ φ \varphi\curlyvee\mathord{\sim}\varphi φ ⋎ ∼ φ rather than ∼ ∼ φ ⋎ ∼ φ \mathord{\sim}\mathord{\sim}\varphi\curlyvee\mathord{\sim}\varphi ∼ ∼ φ ⋎ ∼ φ : the premises are equivalent. Indeed, ( φ ⋎ ∼ φ ) → ( ∼ ∼ φ ⋎ ∼ φ ) (\varphi\curlyvee\mathord{\sim}\varphi) \to(\mathord{\sim}\mathord{\sim}\varphi\curlyvee\mathord{\sim}\varphi) ( φ ⋎ ∼ φ ) → ( ∼ ∼ φ ⋎ ∼ φ ) , since φ → ∼ ∼ φ \varphi\to\mathord{\sim}\mathord{\sim}\varphi φ → ∼ ∼ φ ; conversely, under the assumption ∼ ∼ φ → φ \mathord{\sim}\mathord{\sim}\varphi\to\varphi ∼ ∼ φ → φ , from ∼ ∼ φ ⋎ ∼ φ \mathord{\sim}\mathord{\sim}\varphi\curlyvee\mathord{\sim}\varphi ∼ ∼ φ ⋎ ∼ φ we get φ ⋎ ∼ φ \varphi\curlyvee\mathord{\sim}\varphi φ ⋎ ∼ φ . This scheme is called Scott’s axiom : Kreisel and Putnam [13 ] mention that D. Scott proved the disjunction property of the logic obtained by adding it to Int. Rose’s formula is its special case for φ : = ∼ β ⋎ ∼ γ \varphi:= \mathord{\sim}\beta\curlyvee\mathord{\sim}\gamma φ := ∼ β ⋎ ∼ γ . We shall call this problem Scott’s principle . Yankov [12 ] proved that Scott’s principle with a variable is not Kleene realizable; the following theorem is an analogue of this result for our semantics (the proof, as in Yankov’s, uses diagonalization over the number of computation steps).
Theorem 28 (Scott’s principle is not valid). The problem
φ : = ( ( ∼ ∼ α → α ) → ( ∼ ∼ α ∨ ∼ α ) ) → ( ∼ ∼ α ∨ ∼ α ) , \varphi:= ((\mathord{\sim}\mathord{\sim}\alpha\to\alpha) \to(\mathord{\sim}\mathord{\sim}\alpha\mathbin{\vee} \mathord{\sim}\alpha)) \to(\mathord{\sim}\mathord{\sim}\alpha\mathbin{\vee} \mathord{\sim}\alpha), φ := (( ∼ ∼ α → α ) → ( ∼ ∼ α ∨ ∼ α )) → ( ∼ ∼ α ∨ ∼ α ) , where α \alpha α is a variable of sort problem (that is, the scheme (R) for φ : = α \varphi:= \alpha φ := α ), is not valid in any of the three semantics.
Proof. Let S be an arbitrary algorithm. We need to define an interpretation ∗ \ast ∗ for which the formula φ ∗ ( S ( ∗ ) ) \varphi^{\ast}(S(\ast)) φ ∗ ( S ( ∗ )) is unprovable or false. As was already said in Remark 5, we shall prove the provability of the negation of this formula in the external theory. By the letter X we denote the value [ [ α ] ] ∗ [\![\alpha]\!]_{\ast} [ [ α ] ] ∗ : in the semantics B this is the contents of the box, in the others it is the set defined by the formula α ∗ \alpha^{\ast} α ∗ .
The semantics B. Here the proof is simpler: there are no propositional variables in the problem φ \varphi φ , the code of the interpretation is empty, and the solver is a single number. So we begin with it.
Let us describe what the solutions of the subproblems occurring in the problem are. By Lemma 1(6), a solution of the problem ∼ ∼ α → α \mathord{\sim}\mathord{\sim}\alpha\to\alpha ∼ ∼ α → α is, for X ≠ ∅ X \ne\varnothing X = ∅ , the number of a total function with values in X X X (the set [ [ ∼ ∼ α ] ] ∗ [\![\mathord{\sim}\mathord{\sim}\alpha]\!]_{\ast} [ [ ∼ ∼ α ] ] ∗ then equals N \mathbb{N} N , so the input conveys nothing), and for X = ∅ X = \varnothing X = ∅ it is an arbitrary number. We call such a number i i i X X X -correct.
A solution of the problem ∼ ∼ α ∨ ∼ α \mathord{\sim}\mathord{\sim}\alpha\mathbin{\vee} \mathord{\sim}\alpha ∼ ∼ α ∨ ∼ α is a number c ( 0 , v ) c(0,v) c ( 0 , v ) (if X ≠ ∅ X \ne\varnothing X = ∅ ) or a number c ( 1 , v ) c(1,v) c ( 1 , v ) (if X = ∅ X = \varnothing X = ∅ ), where v v v is arbitrary: the value of each of the disjuncts, when it is nonempty, is N \mathbb{N} N . Thus a solution is essentially just a tag, that is, the answer to the question whether X X X is empty; we shall say that the program answers “nonempty” or “empty”.
So, a solution of the premise is a program p p p which, on every X X X -correct number i i i , halts and correctly answers whether X X X is empty.
The code of the interpretation ∗ \ast ∗ is empty, hence S ( ∗ ) S(\ast) S ( ∗ ) is some fixed program not depending on the box. Put r : = S ( ∗ ) r := S(\ast) r := S ( ∗ )
The diagonal construction. By Kleene’s fixed-point theorem there is a program p p p which on input i i i does the following:
it simulates the run of the program r r r on input p p p , that is, on its own number, for exactly i i i steps;
if during this time r r r has halted with the answer “empty”, it answers “nonempty”;
otherwise it answers “empty”.
The bound on the number of steps is essential in two respects. First, the simulation is finite, and no looping arises, although r r r may along the way simulate p p p itself. Second—and this is the main point—if r r r halts with the answer “empty”, then the inputs on which p p p answers “empty” form a finite initial segment. (The program p p p uses the input i i i itself only as the number of steps.)
With r r r we associate a set X r X_r X r : if r r r on input p p p halts at step s s s with the answer “empty”, we put X r : = { ν ( s ) } X_r := \{\nu(s)\} X r := { ν ( s )} , where ν ( s ) \nu(s) ν ( s ) is the least number not occurring among U i ( 0 ) U_i(0) U i ( 0 ) for i ≤ s i \le s i ≤ s (there are finitely many such numbers, so ν ( s ) \nu(s) ν ( s ) is defined; computability of ν \nu ν will not be needed, arithmetical definability suffices); in all other cases we put X r : = ∅ X_r := \varnothing X r := ∅ .
Case analysis. Let us check: if X = X r X = X_r X = X r , then p p p is a solution of the premise, while r r r on input p p p diverges or outputs a wrong tag.
Case 1: r r r on input p p p diverges. Then for every i i i step (2) does not fire, and p ( i ) p(i) p ( i ) answers “empty”. Hence p p p is total and always answers “empty”. Moreover X = ∅ X = \varnothing X = ∅ , every number is X X X -correct, and the answer “empty” is a correct solution of the problem ∼ ∼ α ∨ ∼ α \sim\sim\alpha\vee\sim\alpha ∼∼ α ∨ ∼ α . Therefore p p p is a solution of the premise, and r r r diverges on it.
Case 2: r r r on input p p p halts with the answer “nonempty”. Step (2) again does not fire for any i i i , so p p p still everywhere answers “empty” and is a solution of the premise for X = ∅ X = \emptyset X = ∅ . But then the correct answer is “empty”, whereas r r r answered otherwise.
Case 3: r r r on input p p p halts at step s s s with the answer “empty”. Then X = { ν ( s ) } X = \{\nu(s)\} X = { ν ( s )} is a nonempty set. Let us check that p p p is a solution of the premise. Let i i i be an X X X -correct number; then U i U_i U i is total and U i ( 0 ) = ν ( s ) U_i(0) = \nu(s) U i ( 0 ) = ν ( s ) . If we had i < s i < s i < s , then ν ( s ) \nu(s) ν ( s ) would occur among U i ( 0 ) U_i(0) U i ( 0 ) for i < s i < s i < s , which is impossible by the choice of ν ( s ) \nu(s) ν ( s ) . Hence i ≥ s i \ge s i ≥ s ; when simulating i ≥ s i \ge s i ≥ s steps the program p p p sees the halting of r r r with the answer “empty”, step (2) fires, and p p p answers “nonempty” —correctly, since X X X is nonempty. So, p p p is a solution of the premise, the set X X X is nonempty, and r r r answered “empty”.
In all three cases p p p is a solution of the premise for X = X r X = X_r X = X r , and r r r on it errs or diverges. Take the set X r X_r X r as the contents of the box: by what has been proved, p p p solves the premise, and r r r errs or diverges on it, that is, r r r does not belong to the value of the problem for these contents of the box. This completes the proof of the negation of the formula φ ∗ ( S ( ∗ ) ) \varphi^*(S(*)) φ ∗ ( S ( ∗ )) in set theory.
The semantics E \mathbf{E} E and I \mathbf{I} I . This time we need to start by constructing a formula α ∗ ( x ) \alpha^*(x) α ∗ ( x ) , which we define by means of the fixed-point theorem for PA. Again put r : = S ( α ∗ ) r := S(\alpha^*) r := S ( α ∗ ) . Now the program r r r is built by the algorithm S S S from the formula α ∗ \alpha^* α ∗ which we must exhibit, and we must exhibit it so that the value ⟦ α ⟧ ∗ \llbracket\alpha\rrbracket_* [ [ α ] ] ∗ coincides with X r X_r X r . We get a vicious circle, and the existence of α ∗ \alpha^* α ∗ is ensured by the fixed-point lemma for PA: there is a formula α ∗ ( x ) \alpha^*(x) α ∗ ( x ) for which PA proves
α ∗ ( x ) ≡ ∃ s ( “ S ( α ∗ ) on input p halts at step s with the answer ‘empty’” ∧ x = ν ( s ) ) \alpha^*(x) \equiv\exists s\left(\text{“}S(\alpha^*)\text{ on input }p\text{ halts at step }s\text{ with the answer ‘empty’”} \wedge x=\nu(s)\right) α ∗ ( x ) ≡ ∃ s ( “ S ( α ∗ ) on input p halts at step s with the answer ‘empty’” ∧ x = ν ( s ) )
where p p p is built from r = S ( α ∗ ) r = S(\alpha^*) r = S ( α ∗ ) by the Diagonal construction given above. The lemma is applicable: the condition in parentheses is arithmetical, and ν \nu ν is arithmetically definable. By construction the formula α ∗ ( x ) \alpha^*(x) α ∗ ( x ) is equivalent in PA to the formula x ∈ X r x \in X_r x ∈ X r , so the case analysis refutes the formula φ ∗ ( S ( ∗ ) ) \varphi^*(S(*)) φ ∗ ( S ( ∗ )) in the external theory.
Let us note in passing that the class O \mathcal{O} O in Rose’s scheme can neither be extended to all problems nor substantially narrowed: with a variable in place of φ \varphi φ the scheme implies Scott’s principle, which is not valid (Theorem 28); on Σ \Sigma Σ -problems it is derivable from (A7) by a single (MP), so that all its content rests on the negations.
The positive modality-free fragment
A modality-free problem is called positive if it does not contain ∅ \emptyset ∅ (and hence does not contain ∼ \sim ∼ either). The positive fragment of a logic is the set of its positive formulas; a logic has an intuitionistic positive fragment if its positive fragment coincides with the positive fragment of Int. We shall prove that the positive fragments of all three logics L Z \mathcal{L}_Z L Z are intuitionistic: the whole difference between these logics and Int lives on formulas with ∅ \emptyset ∅ .
Definition 16 (Medvedev). A critical implication is a positive formula of the form ⋀ i ( ( P i → Q i ) → Q i ) → R \bigwedge_i((P_i \to Q_i) \to Q_i) \to R ⋀ i (( P i → Q i ) → Q i ) → R , where the P i P_i P i are conjunctions of variables, the Q i Q_i Q i and R R R are disjunctions of variables, and moreover for each i i i the formulas P i P_i P i and Q i Q_i Q i have no variables in common, while each of P i P_i P i , Q i Q_i Q i , R R R contains at least one variable. For each
n > 0 n>0 n > 0 put
J n : = ⋀ ∅ ≠ E ⊊ { 1 , … , n } ( ( ⋀ j ∉ E α j → ⋁ i ∈ E α i ) → ⋁ i ∈ E α i ) → ⋁ i = 1 n α i J_n := \bigwedge_{\varnothing\ne E \subsetneq\{1,\ldots,n\}} \left(\left(\bigwedge_{j\notin E}\alpha_j \to\bigvee_{i\in E}\alpha_i\right)\to\bigvee_{i\in E}\alpha_i\right)\to\bigvee_{i=1}^{n}\alpha_i J n := ∅ = E ⊊ { 1 , … , n } ⋀ j ∈ / E ⋀ α j → i ∈ E ⋁ α i → i ∈ E ⋁ α i → i = 1 ⋁ n α i
—the weakest critical implication in the problem variables α 1 , … , α n \alpha_1,\ldots,\alpha_n α 1 , … , α n ; in particular J 1 = α 1 J_1=\alpha_1 J 1 = α 1 .
Theorem 29 (Medvedev, 1962; [11 ] ). A superintuitionistic logic has an intuitionistic positive fragment if and only if no critical implication is derivable in it, and this is equivalent to the condition that none of the formulas J n J_n J n is derivable in it.
Theorem 30 (Yankov, 1968; [14 ] ). A superintuitionistic logic has an intuitionistic positive fragment if and only if it is contained in J : = Int + ( ∼ α ∨ ∼ ∼ α ) \mathfrak{J}:=\operatorname{Int}+(\mathord{\sim}\alpha\mathbin{\lor}\mathord{\sim\sim}\alpha) J := Int + ( ∼ α ∨ ∼∼ α ) —the logic of weak excluded middle.
Medvedev’s criterion is convenient for logics given semantically (and ours is given exactly in this way), Yankov’s criterion—for logics given axiomatically. We use them in tandem: the first yields an intuitionistic positive fragment, the second turns this into the inclusion L Z ⊆ J \mathcal{L}_{Z}\subseteq\mathfrak{J} L Z ⊆ J .
The logic of realizable propositional formulas is arranged as follows: variables are replaced by arithmetical formulas, connectives—by Kleene’s operations, and a formula is considered to belong to the logic if under every substitution it has a realization. Three variants are distinguished [18 ] : R \mathfrak{R} R —a realization merely exists; R e f f \mathfrak{R}_{\mathrm{eff}} R eff —a realization can be found effectively from the substituted formulas; R c o n s t \mathfrak{R}_{\mathrm{const}} R const —one and the same realization works under all substitutions. Obviously R c o n s t ⊆ R e f f ⊆ R \mathfrak{R}_{\mathrm{const}}\subseteq\mathfrak{R}_{\mathrm{eff}}\subseteq\mathfrak{R} R const ⊆ R eff ⊆ R .
The three levels of Remark 8 are exactly these. Our notion of validity is the middle one: a solution is produced by a computable function from the code of the interpretation. The only difference from R e f f \mathfrak{R}_{\mathrm{eff}} R eff is that for us the value of a variable is an arbitrary arithmetically definable set, whereas there it is the set of realizations of an arithmetical formula.
For the realizability logics R \mathfrak{R} R , R e f f \mathfrak{R}_{\mathrm{eff}} R eff , R c o n s t \mathfrak{R}_{\mathrm{const}} R const the intuitionisticity of the positive fragment is known (Medvedev, Plisko; [18 ] ), but we cannot refer to it here. It might seem that the inclusion L E ⊆ R \mathcal{L}_{E}\subseteq\mathfrak{R} L E ⊆ R suffices—the condition ∃ S ∀ ∗ \exists S\,\forall^{*} ∃ S ∀ ∗ is stronger than ∀ ∗ ∃ \forall^{*}\exists ∀ ∗ ∃ —and then the positive fragment of L E \mathcal{L}_{E} L E would be squeezed between the coinciding positive fragments of Int \operatorname{Int} Int and R \mathfrak{R} R . But the semantics do not coincide: for us the value of a variable is an arbitrary arithmetically definable set, whereas in the definition of R \mathfrak{R} R it is the set of realizations of an arithmetical formula, and not every arithmetical set is a set of realizations . Therefore we take the direct route: by Theorem 29 it suffices to check that no formula J n J_n J n is valid. The required construction is in [15 ] ; the operations on sets there are exactly the same as in our Definition 3 (labels 0 and 1 for disjunction, pairs for conjunction, e ( x ) ∈ Y e(x)\in Y e ( x ) ∈ Y for implication), so that the transfer reduces to closing the circular dependence of the solver on the code of the interpretation.
We say that a program co-enumerates a set if it enumerates its complement.
Lemma 31 ([15 ] ). Let there be given a natural number m ≥ 1 m\ge1 m ≥ 1 , a program q q q enumerating a set M M M of at most 2 m 2^m 2 m numbers, and a critical implication J n J_n J n in n n n variables. Then one can effectively (that is, by some total computable function of m m m , n n n and q q q ) find programs a 1 , … , a n a_1,\ldots,a_n a 1 , … , a n co-enumerating nonempty sets A 1 , … , A n A_1,\ldots,A_n A 1 , … , A n for which
M ∩ J n ( A 1 , … , A n ) = ∅ . M\cap J_n(A_1,\ldots,A_n)=\varnothing. M ∩ J n ( A 1 , … , A n ) = ∅ . Moreover, all elements of the sets A j A_j A j do not exceed $2^{Cm}$, where the constant C C C depends only on $n.
The proof of this lemma does not go beyond PA. The construction in a nutshell: the sets A j A_j A j are initially taken to be finite segments of suitable sizes, and then elements are removed from them step by step—every time the next program e ∈ M e \in M e ∈ M reveals itself on suitable arguments, its answer is removed from the corresponding A j A_j A j . Simultaneously, by the fixed-point theorem, auxiliary programs are constructed witnessing membership in the premises ( ( P i → Q i ) → Q i ) ((P_i \to Q_i) \to Q_i) (( P i → Q i ) → Q i ) , and the main work is the estimate of the number of removals, which shows that the process terminates and the sets do not become empty. It is exactly here that the condition from the definition of a critical implication, that P i P_i P i and Q i Q_i Q i have no variables in common, is used.
Theorem 32 (the positive fragment is intuitionistic). A positive problem is valid (in any of the three semantics) if and only if it is derivable in Int.
Proof. One direction is Proposition 6. Conversely, by Theorem 29 it suffices to check that no formula J n J_n J n is valid—in none of the three semantics.
The semantics B—the simplest case. There are no propositional variables in J n J_n J n , so the code of the transparent part is empty and the solver reduces to a single number e 0 e_0 e 0 . Apply Lemma 31 with m : = 1 m := 1 m := 1 to the program “print e 0 e_0 e 0 and halt”: we obtain nonempty co-enumerable sets A 1 , … , A n A_1,\ldots,A_n A 1 , … , A n with e 0 ∉ J n ( A 1 , … , A n ) e_0 \notin J_n(A_1,\ldots,A_n) e 0 ∈ / J n ( A 1 , … , A n ) . Let the contents of the boxes be X α j : = A j X_{\alpha_j} := A_j X α j := A j ; by Lemma 1 the values of the connectives are exactly the operations from Lemma 31, so that [ [ J n ] ] ∗ = J n ( A 1 , … , A n ) [\![J_n]\!]_* = J_n(A_1,\ldots,A_n) [ [ J n ] ] ∗ = J n ( A 1 , … , A n ) and the statement e 0 ∉ [ [ J n ] ] ∗ e_0 \notin[\![J_n]\!]_* e 0 ∈ / [ [ J n ] ] ∗ is provable in PA, and all the more so in ZF.
The semantics E and I. Here the solver receives a code, and self-reference is needed. Let S S S be a total computable function, presumably solving J n J_n J n . This means: the formula J n ∗ ( S ( ∗ ) ) J_n^*(S(*)) J n ∗ ( S ( ∗ )) is provable or true under every interpretation ∗ * ∗ .
Construction from the code. Take m : = 1 m := 1 m := 1 . For an arbitrary tuple c c c of n n n formulas denote by q c q_c q c the program “print S ( c ) S(c) S ( c ) and halt”; its number is computable from c c c . Let a 1 ( c ) , … , a n ( c ) a_1(c),\ldots,a_n(c) a 1 ( c ) , … , a n ( c ) be the programs that the algorithm of Lemma 31 outputs on q c q_c q c . This algorithm is a total computable function of the number of the input program, so a j ( c ) a_j(c) a j ( c ) are defined for every c c c ; put
A j ( c ) : = { x : the program a j ( c ) does not print x } . A_j(c) := \{x : \text{ the program } a_j(c) \text{ does not print } x\}. A j ( c ) := { x : the program a j ( c ) does not print x } .
The condition on the right is ∀ i ¬ ( U ( a j ( c ) , i ) ↓ = x ) \forall i \neg(U(a_j(c),i)\mathord{\downarrow}=x) ∀ i ¬ ( U ( a j ( c ) , i ) ↓ = x ) , that is, a Π 1 \Pi_1 Π 1 -condition, and uniformly in c c c . Hence there are arithmetical formulas θ j ( c , x ) \theta_j(c,x) θ j ( c , x ) defining A j ( c ) A_j(c) A j ( c ) for each c c c .
The statement of the lemma guarantees that for all c c c the sets A j ( c ) A_j(c) A j ( c ) are nonempty and that
S ( c ) ∉ J n ( A 1 ( c ) , … , A n ( c ) ) , (3) S(c) \notin J_n(A_1(c),\ldots,A_n(c)), \tag*{(3)} S ( c ) ∈ / J n ( A 1 ( c ) , … , A n ( c )) , (3)
and moreover this statement is provable in PA. Note that this statement is the negation of the formula ( J n ) ∗ ( S ( c ) ) (J_n)^*(S(c)) ( J n ) ∗ ( S ( c )) for the interpretation ∗ * ∗ (depending on c c c ) defined by the equalities α j ∗ : = θ j ( c , x ) \alpha_j^* := \theta_j(c,x) α j ∗ := θ j ( c , x ) . If we managed to choose c c c so that c c c coincides with ⟨ θ 1 ( c , x ) , … , θ n ( c , x ) ⟩ \langle\theta_1(c,x),\ldots,\theta_n(c,x)\rangle ⟨ θ 1 ( c , x ) , … , θ n ( c , x )⟩ , we would have reached our goal: the formula ¬ ( J n ) ∗ ( S ( c ) ) \neg(J_n)^*(S(c)) ¬ ( J n ) ∗ ( S ( c )) would be provable in PA for the corresponding interpretation ∗ * ∗ . But clearly this is hopeless.
The vicious circle is broken by the joint fixed-point lemma (see, e.g., [27 Ch. 1] ): for any formulas θ 1 ( c , x ) , … , θ n ( c , x ) \theta_1(c,x),\ldots,\theta_n(c,x) θ 1 ( c , x ) , … , θ n ( c , x ) there exist formulas χ 1 ( x ) , … , χ n ( x ) \chi_1(x),\ldots,\chi_n(x) χ 1 ( x ) , … , χ n ( x ) for which
P A ⊢ χ j ( x ) ≡ θ j ( ⟨ χ 1 , … , χ n ⟩ , x ) , j = 1 , … , n . \mathrm{PA} \vdash\chi_j(x) \equiv\theta_j(\langle\chi_1,\ldots,\chi_n\rangle,x), \qquad j=1,\ldots,n. PA ⊢ χ j ( x ) ≡ θ j (⟨ χ 1 , … , χ n ⟩ , x ) , j = 1 , … , n .
Now we can define the interpretation ∗ * ∗ by putting α j ∗ : = χ j \alpha_j^* := \chi_j α j ∗ := χ j and c : = ⟨ χ 1 , … , χ n ⟩ c := \langle\chi_1,\ldots,\chi_n\rangle c := ⟨ χ 1 , … , χ n ⟩ . By construction we can prove in PA the equivalence of θ j ( c , x ) \theta_j(c,x) θ j ( c , x ) and χ j ( x ) \chi_j(x) χ j ( x ) , and hence also the equivalence of J n ( A 1 ( c ) , … , A n ( c ) ) J_n(A_1(c),\ldots,A_n(c)) J n ( A 1 ( c ) , … , A n ( c )) and J n ( χ 1 , … , χ n ) J_n(\chi_1,\ldots,\chi_n) J n ( χ 1 , … , χ n ) . Hence the formula S ( c ) ∉ J n ( χ 1 , … , χ n ) S(c) \notin J_n(\chi_1,\ldots,\chi_n) S ( c ) ∈ / J n ( χ 1 , … , χ n ) is likewise provable in PA. And this formula is exactly ¬ ( J n ) ∗ ( S ( c ) ) \neg(J_n)^*(S(c)) ¬ ( J n ) ∗ ( S ( c )) .
As usual, for the semantics E we can simply say that provability implies truth, so J n J_n J n is not valid. And for the semantics I, as above for B, we use the consistency of the external theory.
Let us put both bounds together.
Corollary 33. For each of the three semantics Z Z Z
I n t ⊊ L Z ⊊ J ~ \mathrm{Int} \subsetneq\mathcal{L}_Z \subsetneq\widetilde{\mathsf{J}} Int ⊊ L Z ⊊ J Moreover, L I ⊆ L E \mathcal{L}_{\mathrm{I}} \subseteq\mathcal{L}_{\mathrm{E}} L I ⊆ L E .
Proof. The first inclusion and its strictness are Propositions 6 and 27 (Rose’s formula is valid in all three semantics, and with a constant solver at that). Further: by Theorem 32 each logic L Z \mathcal{L}_Z L Z has an intuitionistic positive fragment, and then by Yankov’s criterion (Theorem 30) L Z ⊆ J ~ \mathcal{L}_Z \subseteq\widetilde{\mathsf{J}} L Z ⊆ J . Strictness: weak excluded middle belongs to J ~ \widetilde{\mathsf{J}} J by definition, but is not valid in any of the semantics (Proposition 24). The inclusion L I ⊆ L E \mathcal{L}_{\mathrm{I}} \subseteq\mathcal{L}_{\mathrm{E}} L I ⊆ L E : the internal theory PA is contained in the external theory TA.
Independence of the axioms
Nontrivial facts about derivability are, first of all, facts about non -derivability. We collect them here.
Incompleteness on the problem side. The families of valid modality-free problems—the logics L Z \mathcal{L}_Z L Z —are described in § 6.10 up to a sandwich. Here we deal with derivable modality-free problems, namely with derivability in HCI. About HCE we say right away the little we know: its modality-free fragment contains the fragment of HCI (every theorem of HCI is an axiom of HCE) and is contained in L E \mathcal{L}_{\mathrm{E}} L E (soundness, Theorem 15), but whether it coincides with the fragment of HCI is unknown: from (A8) and (A9) by (MP) new modality-free problems could in principle be derived, and the model of Theorem 34 below does not rule this out—the schemes (A8) and (A9) are false in it (see also § 8 ).
About HCI the following is known.
Theorem 34 (the modality-free fragment is exactly Int). Let φ \varphi φ be a problem containing neither ! nor ?. Then φ \varphi φ is derivable in HCI if and only if it is derivable in Int.
The proof is in the appendix.
Corollary 35 (incompleteness on the problem side). The calculus HCI is incomplete with respect to each of the semantics I, E: Rose’s formula is valid in them (Proposition 27), but it is modality-free and not derivable in Int by Rose’s theorem [9 ] , and hence not derivable in HCI either.
Whether Rose’s formula is derivable in HCB, we do not know (Remark 13); two more candidates for an example of incompleteness of HCB are the problems
Π α ( ( ( α → β ) → α ) → α ) → β \Pi\alpha(((\alpha\to\beta) \to\alpha) \to\alpha) \to\beta Π α ((( α → β ) → α ) → α ) → β
and
Π α ( ( ( ( α → β ) → β ) → ( α ∨ β ) ) → β . \Pi\alpha((((\alpha\to\beta) \to\beta) \to(\alpha\mathbin{\vee} \beta)) \to\beta. Π α (((( α → β ) → β ) → ( α ∨ β )) → β .
which are B-valid by Proposition 17(4),(6); their derivability in HCB is unknown (Remark 12).
The scheme (A7).
Theorem 36. The scheme (A7) is not derivable in HCI from the remaining axioms. The proof is a two-point Kripke model in which all the schemes (A1)–(A6) and all three inference rules hold, while the problem ∼ ¬ ! ⊥ → ! ⊥ \sim\neg!\bot\to!\bot ∼ ¬ ! ⊥ → ! ⊥ does not; it is constructed in Appendix § 11 (Proposition 45). For HCE the question is open, and it cannot be settled by models in this way (see the remark below).
The schemes (A8) and (A9). They are not merely non-derivable in HCI, but incompatible with it.
The converse question—whether (A8) is derivable from (A9)—is settled negatively, although special cases of (A8) are obtained from (A9): thus in Example 1(4) the proposition □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ is derived.
Proposition 37 ((A8) is not derivable from (A9)). Let A A A be a variable of sort proposition. The proposition □ A ⊃ A \Box A \supset A □ A ⊃ A is not derivable from the theorems of HCI and the scheme (A9) by the rules (MP) and (PtoA). On the other hand, all instances of reflection □ ? φ ⊃ ? φ \Box? \varphi\supset?\varphi □ ? φ ⊃ ? φ are derivable from them.
Proof. Derivability: apply to an instance of (A9) the rule (? →) and the schemes (A4a), (A4d): ? ! ? φ ⊃ ? ∼ ∼ φ ?!?\varphi\supset?\sim\sim\varphi ?!? φ ⊃ ? ∼∼ φ , and ? ∼ ∼ φ ≡ ¬ ¬ ? φ ≡ ? φ ?\sim\sim\varphi\equiv\neg\neg?\varphi\equiv?\varphi ? ∼∼ φ ≡ ¬¬ ? φ ≡ ? φ .
Non-derivability. Let C 1 , … , C m C_1,\ldots,C_m C 1 , … , C m be a derivation of the proposition C m C_m C m from theorems of HCI and instances of (A9) by the rules (MP) and (PtoA). To each formula of the derivation we assign a proposition C i ′ C'_i C i ′ : if C i C_i C i is a proposition, then C i ′ : = C i C'_i := C_i C i ′ := C i , and if it is a problem, then C i ′ : = ? C i C'_i := ?C_i C i ′ := ? C i (we do not look inside the formulas).
We show that C m ′ C'_m C m ′ is derivable from theorems of GL and finitely many propositions of the form □ N ⊃ N \Box N \supset N □ N ⊃ N by the rule (MP) alone, where the N N N are □ \Box □ -formulas in which all propositional variables occur under □ \Box □ (only the atoms ? α ? \alpha ? α occur freely); in particular, N = A N = A N = A is not among them. If C i C_i C i is a theorem of HCI, then C i ′ C'_i C i ′ is a theorem of HCI as well (applying (PtoA) if necessary), and GL ⊢ C i ′ \vdash C'_i ⊢ C i ′ by Corollary 22. If C i C_i C i is an instance of (A9) ! ? φ → ∼ ∼ φ !? \varphi\to\sim\sim\varphi !? φ →∼∼ φ , then C i ′ = □ N ⊃ ¬ ¬ N C'_i = \Box N \supset\neg\neg N C i ′ = □ N ⊃ ¬¬ N , where N = ? φ N = ?\varphi N = ? φ ; it is obtained by (MP) from □ N ⊃ N \Box N \supset N □ N ⊃ N and a theorem of classical logic. The formula N N N is of the indicated form, since φ \varphi φ is a problem: a proposition enters a problem only in the form ! B !B ! B , and ( ! B ) ? = □ B † (!B)^{?}=\Box B^{\dagger} ( ! B ) ? = □ B † .
If C i C_i C i is obtained by (MP) from the problems C j C_j C j and C l = C j → C i C_l=C_j\to C_i C l = C j → C i , then C i † C_i^{\dagger} C i † is obtained by (MP) from C j † C_j^{\dagger} C j † and C i † = C j † ⊃ C i † C_i^{\dagger}=C_j^{\dagger}\supset C_i^{\dagger} C i † = C j † ⊃ C i † ; the rule (MP) on propositions is carried to itself. Finally, if C i = ? C j C_i=?C_j C i = ? C j is obtained by (PtoA), then C i † = C j † C_i^{\dagger}=C_j^{\dagger} C i † = C j † .
Thus C m † C_m^{\dagger} C m † is obtained from theorems of GL and finitely many propositions □ N i ⊃ N i \Box N_i\supset N_i □ N i ⊃ N i of the indicated form by applications of (MP) alone, and therefore
G L ⊢ ⋀ i ( □ N i ⊃ N i ) ⊃ C m † . \mathrm{GL}\vdash\bigwedge_i(\Box N_i\supset N_i)\supset C_m^{\dagger}. GL ⊢ i ⋀ ( □ N i ⊃ N i ) ⊃ C m † .
For C m = □ A ⊃ A C_m=\Box A\supset A C m = □ A ⊃ A (here C m † = C m C_m^{\dagger}=C_m C m † = C m ) this is impossible. Let k k k be greater than the modal depth of all the N i N_i N i , and consider the GL-model on the chain w 0 R w 1 R … R w k w_0Rw_1R\ldots Rw_k w 0 R w 1 R … R w k (transitive and irreflexive) in which A A A is false at w 0 w_0 w 0 and true at the remaining points, and all other atoms are constant. Then w 0 ⊩ □ A w_0\Vdash\Box A w 0 ⊩ □ A and w 0 ⊮ A w_0\nVdash A w 0 ⊮ A . On the other hand, at the points w 1 , … , w k w_1,\ldots,w_k w 1 , … , w k all atoms are constant, and by induction on the modal depth d d d of an arbitrary □ \Box □ -formula X X X (in which A A A may also occur outside modalities) one checks that at all points w 1 , … , w k − d w_1,\ldots,w_{k-d} w 1 , … , w k − d the truth value of X X X is the same. Base (d = 0 d=0 d = 0 ): X X X is a Boolean combination of atoms, which are constant at these points. Induction step: let X = □ Y X=\Box Y X = □ Y have depth d + 1 d+1 d + 1 and 1 ≤ i ≤ k − d − 1 1\le i\le k-d-1 1 ≤ i ≤ k − d − 1 ; the successors of the point w i w_i w i are w i + 1 , … , w k − d w_{i+1},\ldots,w_{k-d} w i + 1 , … , w k − d , at which Y Y Y has the same value by the induction hypothesis, and w k − d + 1 , … , w k w_{k-d+1},\ldots,w_k w k − d + 1 , … , w k , which are common to all such w i w_i w i . Similarly, for a formula N i N_i N i in which A A A occurs only under □ \Box □ , the truth value of N i N_i N i at w 0 w_0 w 0 coincides with its truth value at w 1 w_1 w 1 . Indeed, N i N_i N i is a Boolean combination of atoms other than A A A and of formulas of the form □ X \Box X □ X ; the atoms other than A A A have the same values at w 0 w_0 w 0 and w 1 w_1 w 1 , while □ X \Box X □ X at w 0 w_0 w 0 differs from □ X \Box X □ X at w 1 w_1 w 1 only by the value of X X X at w 1 w_1 w 1 , which coincides with the value of X X X at w 2 w_2 w 2 by what has been proved (the depth of X X X does not exceed k − 2 k-2 k − 2 ). Hence w 0 ⊩ □ N i w_0\Vdash\Box N_i w 0 ⊩ □ N i implies w 1 ⊩ N i w_1\Vdash N_i w 1 ⊩ N i , and with it w 0 ⊩ N i w_0\Vdash N_i w 0 ⊩ N i ; all the premises □ N i ⊃ N i \Box N_i\supset N_i □ N i ⊃ N i are true at w 0 w_0 w 0 , while □ A ⊃ A \Box A\supset A □ A ⊃ A is not.
Thus the schemes (A8) and (A9) in HCE are independent at least in one direction; the converse independence—of (A9) from HCI+(A8)—remains open (§ 8 ).
Schemes that did not become axioms. The axioms of the calculi were selected by validity, and some natural candidates were rejected along the way. Two of them are worth naming—as traces of the search for axioms: the distribution of ! ! ! over disjunction (and its □ \Box □ -version) and the attempt to invert the scheme (A3), obtaining from a transformation of proofs a proof of an implication between provabilities.
Theorem 38. Let A A A , B B B be variables of sort proposition. The following formulas are not valid in any of the three semantics, and hence (Theorem 15) not derivable in any of the three calculi:
□ ( A ∨ B ) ⊃ ( □ A ∨ □ B ) \Box(A\lor B)\supset(\Box A\lor\Box B) □ ( A ∨ B ) ⊃ ( □ A ∨ □ B ) ;
( ! A → ! B ) → ! ( □ A ⊃ □ B ) (!A\to!B)\to!(\Box A\supset\Box B) ( ! A → ! B ) → ! ( □ A ⊃ □ B ) .
Proof. (1) Let σ \sigma σ be a Rosser sentence for the internal theory: the consistency of the theory implies that neither σ \sigma σ nor ¬ σ \neg\sigma ¬ σ is provable in it, and this argument can be formalized in the theory itself (see, e.g., [27 Ch. 2] ). Take A ∗ : = σ A^*:=\sigma A ∗ := σ , B ∗ : = ¬ σ B^*:=\neg\sigma B ∗ := ¬ σ . The disjunction A ∗ ∨ B ∗ A^*\lor B^* A ∗ ∨ B ∗ is a tautology and hence provable, while neither A ∗ A^* A ∗ nor B ∗ B^* B ∗ is provable. In the semantics E everything is already clear: the premise is true and the conclusion is false. In the internal semantics we must refute provability in the external theory T T T (which is also the internal one): the premise is a true Σ 1 \Sigma_{1} Σ 1 -sentence and hence provable, so provability of the proposition would imply T ⊢ Pr ( σ ) ∨ Pr ( ¬ σ ) T \vdash\operatorname{Pr}(\sigma) \lor\operatorname{Pr}(\neg\sigma) T ⊢ Pr ( σ ) ∨ Pr ( ¬ σ ) , and together with the formalized Rosser theorem
T ⊢ Con ⊃ ¬ Pr ( σ ) ∧ ¬ Pr ( ¬ σ ) T \vdash\operatorname{Con} \supset\neg\operatorname{Pr}(\sigma) \land\neg\operatorname{Pr}(\neg\sigma) T ⊢ Con ⊃ ¬ Pr ( σ ) ∧ ¬ Pr ( ¬ σ )
this would give T ⊢ ¬ Con T \vdash\neg\operatorname{Con} T ⊢ ¬ Con . The latter is impossible under Σ 1 \Sigma_{1} Σ 1 -soundness of T T T : ¬ Con \neg\operatorname{Con} ¬ Con is a false Σ 1 \Sigma_{1} Σ 1 -sentence.
(2) Take A ∗ : = ¬ Con A^{*} := \neg\operatorname{Con} A ∗ := ¬ Con (that is, □ ⊥ \Box\bot □ ⊥ ) and B ∗ : = ⊥ B^{*} := \bot B ∗ := ⊥ ; denote by L L L the translation of the proposition □ A ⊃ □ B \Box A \supset\Box B □ A ⊃ □ B , that is, the formula □ □ ⊥ ⊃ □ ⊥ \Box\Box\bot\supset\Box\bot □□ ⊥ ⊃ □ ⊥ , and by T T T the external theory. Here we need Σ 1 \Sigma_{1} Σ 1 -soundness of T T T (Remark 5); since the internal theory is contained in the external one, it is then Σ 1 \Sigma_{1} Σ 1 -sound as well. We must show that T ⊬ φ ∗ ( n ) T \nvdash\varphi^{*}(n) T ⊬ φ ∗ ( n ) for every n n n , where
φ = ( ! □ ⊥ → ! ⊥ ) ⊃ ! ( □ □ ⊥ → □ ⊥ ) \varphi= (!\Box\bot\to!\bot) \supset!(\Box\Box\bot\to\Box\bot) φ = ( ! □ ⊥ → ! ⊥ ) ⊃ ! ( □□ ⊥ → □ ⊥ )
(for E this means that the value of the problem is empty). The formula φ ∗ ( n ) \varphi^{*}(n) φ ∗ ( n ) has the form
∀ v ( P ( v ) ⊃ Prf ( U n ( v ) , L ) ) , \forall v\,(P(v) \supset\operatorname{Prf}(U_{n}(v),L)), ∀ v ( P ( v ) ⊃ Prf ( U n ( v ) , L )) ,
where P ( v ) P(v) P ( v ) is the translation of the premise ! A → ! B !A \to!B ! A → ! B , that is,
∀ w ( Prf ( w , ¬ Con ) ⊃ Prf ( U v ( w ) , ⊥ ) ) . \forall w\,(\operatorname{Prf}(w,\neg\operatorname{Con}) \supset\operatorname{Prf}(U_{v}(w),\bot)). ∀ w ( Prf ( w , ¬ Con ) ⊃ Prf ( U v ( w ) , ⊥ )) .
Suppose T ⊢ φ ∗ ( n ) T \vdash\varphi^{*}(n) T ⊢ φ ∗ ( n ) . We argue in T T T : if ¬ □ □ ⊥ \neg\Box\Box\bot ¬ □□ ⊥ , that is, there are no proofs of the formula ¬ Con \neg\operatorname{Con} ¬ Con , then P ( v ) P(v) P ( v ) holds for every v v v , since its premise is false, hence Prf ( U n ( 0 ) , L ) \operatorname{Prf}(U_{n}(0),L) Prf ( U n ( 0 ) , L ) and all the more □ L \Box L □ L . Thus T ⊢ ¬ □ □ ⊥ ⊃ □ L T \vdash\neg\Box\Box\bot\supset\Box L T ⊢ ¬ □□ ⊥ ⊃ □ L . On the other hand, the formalized Löb theorem □ ( □ C ⊃ C ) ⊃ □ C \Box(\Box C \supset C) \supset\Box C □ ( □ C ⊃ C ) ⊃ □ C is a theorem of PA, and hence of T T T ; with C : = □ ⊥ C := \Box\bot C := □ ⊥ it gives T ⊢ □ L ⊃ □ □ ⊥ T \vdash\Box L \supset\Box\Box\bot T ⊢ □ L ⊃ □□ ⊥ . Together we obtain T ⊢ □ □ ⊥ T \vdash\Box\Box\bot T ⊢ □□ ⊥ . This is a Σ 1 \Sigma_{1} Σ 1 -sentence, and by Σ 1 \Sigma_{1} Σ 1 -soundness of T T T it is true: the internal theory proves □ ⊥ \Box\bot □ ⊥ , that is, ¬ Con \neg\operatorname{Con} ¬ Con —contrary to its Σ 1 \Sigma_{1} Σ 1 -soundness.
Derivable problems with modalities: what is known
We have no complete description of the family of derivable problems—just as we have no description of the family of valid ones (§ 5.4 ); it is not even known whether the system HCI is complete on the problem side (§ 8 ). Here we collect what is known about problems of a special form—about the ∇ \nabla ∇ -fragment.
For ∇ = ! ? \nabla= !? ∇ = !? the schemes K, 4 and Löb are derivable. The first scheme ∇ ( φ → ψ ) → ( ∇ φ → ∇ ψ ) \nabla(\varphi\to\psi) \to(\nabla\varphi\to\nabla\psi) ∇ ( φ → ψ ) → ( ∇ φ → ∇ ψ ) is obtained from (A3) with A : = ? φ A := ?\varphi A := ? φ , B : = ? ψ B := ?\psi B := ? ψ , since ! ? ( φ → ψ ) ↔ ! ( ? φ ⊃ ? ψ ) !?(\varphi\to\psi) \leftrightarrow!(?\varphi\supset?\psi) !? ( φ → ψ ) ↔ ! ( ? φ ⊃ ? ψ ) by (A4a) and Lemma 13. The second scheme ∇ φ → ∇ ∇ φ \nabla\varphi\to\nabla\nabla\varphi ∇ φ → ∇∇ φ is (A5) with σ : = ! ? φ \sigma:= !?\varphi σ := !? φ . Finally, ∇ ( ∇ φ → φ ) → ∇ φ \nabla(\nabla\varphi\to\varphi) \to\nabla\varphi ∇ ( ∇ φ → φ ) → ∇ φ is obtained from (A6) with A : = ? φ A := ?\varphi A := ? φ , since ! ? ( ∇ φ → φ ) ↔ ! ( □ ? φ ⊃ ? φ ) !?(\nabla\varphi\to\varphi) \leftrightarrow!(\Box?\varphi\supset?\varphi) !? ( ∇ φ → φ ) ↔ ! ( □ ? φ ⊃ ? φ ) by (A4a) and Lemma 13. The necessitation rule for ∇ \nabla ∇ is (PtoA) followed by (AtoP). Co-reflection φ → ∇ φ \varphi\to\nabla\varphi φ → ∇ φ is not derivable: it is not valid (Proposition 11(4)). The converse scheme ∇ ∇ φ → ∇ φ \nabla\nabla\varphi\to\nabla\varphi ∇∇ φ → ∇ φ is E-valid, but not I-valid and, consequently, not derivable in HCI: it would require P A ⊢ □ □ A ⊃ □ A \mathrm{PA} \vdash\Box\Box A \supset\Box A PA ⊢ □□ A ⊃ □ A .
Separately we note what has already been proved: the scheme ∼ ∼ ∇ φ → ∇ φ \sim\sim\nabla\varphi\to\nabla\varphi ∼∼ ∇ φ → ∇ φ is derivable as a special case of (A7), and co-reflection φ → ∇ φ \varphi\to\nabla\varphi φ → ∇ φ is derivable on the whole class of Σ \Sigma Σ -problems and only on it (∇ φ = ! ? φ \nabla\varphi= !?\varphi ∇ φ = !? φ is a Σ \Sigma Σ -problem by Definition 7; the axiom (A5) and Proposition 11(4)). The main point is the following.
Theorem 39. If the Boolean collapse of a problem χ \chi χ by the schemes (A4) is a classical tautology, then the problem ▽ χ \triangledown\chi ▽ χ is derivable in HCI. In particular, the following are derivable:
▽ ( φ ∨ ¬ φ ) , ▽ ( ¬ ¬ φ → φ ) , ▽ ( ( ( φ → ψ ) → φ ) → φ ) . \triangledown(\varphi\mathbin{\vee} \neg\varphi), \qquad\triangledown(\neg\neg\varphi\to\varphi), \qquad\triangledown(((\varphi\to\psi) \to\varphi) \to\varphi). ▽ ( φ ∨ ¬ φ ) , ▽ ( ¬¬ φ → φ ) , ▽ ((( φ → ψ ) → φ ) → φ ) . Proof. By the schemes (A4) the proposition ? χ ?\chi ? χ is derivably equivalent to its Boolean collapse (Proposition 18), and the latter is a classical tautology, the scheme (A1); hence ? χ ?\chi ? χ is a theorem of HCI, and, applying (AtoP), we obtain the problem ! ? χ = ▽ χ !? \chi= \triangledown\chi !? χ = ▽ χ .
Comparison with related logics
Of the systems listed in the introduction, only HC has the same syntax, and only the comparison with it requires separate work; most of this section is devoted to it. The remaining comparisons rest on what has already been proved and are only named here—at the end of the section.
Melikhov’s logic HC
Recall the axiomatics of HC: the classical schemes (propositions), the intuitionistic schemes (problems), the schemes
! ( A ⊃ B ) → ( ! A → ! B ) , ? ( φ → ψ ) ⊃ ( ? φ ⊃ ? ψ ) , ? ! A ⊃ A , φ → ! ? φ , ¬ ! ⊥ !(A \supset B) \to(!A \to!B), \qquad?(\varphi\to\psi) \supset(? \varphi\supset? \psi), \qquad?!A \supset A, \qquad\varphi\to!?\varphi, \qquad\neg!\bot ! ( A ⊃ B ) → ( ! A → ! B ) , ? ( φ → ψ ) ⊃ ( ? φ ⊃ ? ψ ) , ?! A ⊃ A , φ → !? φ , ¬ ! ⊥
and the rules (MP), (AtoP), (PtoA).
The comparison is two-sided: which theorems of HC are valid in our semantics and which of our axioms are derivable in HC. The first half is given by Proposition 11 and the following theorem.
Proposition 40. The problem ¬ ! ⊥ \neg!\bot ¬ ! ⊥ is E-valid, but neither I- nor B-valid.
Proof. In E: this problem is derivable in HCE (Example 1(4)), hence valid. In the internal semantics: the formula ( ¬ ! ⊥ ) ∗ ( x ) (\neg!\bot)^*(x) ( ¬ ! ⊥ ) ∗ ( x ) is provably equivalent to Con—again Gödel’s second theorem.
The first two schemes displayed above are our (A3) and the left half of (A4a); they are I-valid (Theorem 15). Reflection ? ! A ⊃ A ?!A \supset A ?! A ⊃ A and the scheme ¬ ! ⊥ \neg!\bot ¬ ! ⊥ are only E-valid (Proposition 11(1),(2) and Theorem 40), while co-reflection φ → ! ? φ \varphi\to!?\varphi φ → !? φ is not valid at all (Proposition 11(4)). The rules: (MP) and (PtoA) preserve both I- and E-validity (Lemma 3 and Theorem 15), whereas (AtoP) preserves only I-validity: by Proposition 11(3), applying (AtoP) to the E-valid proposition □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ yields a problem that is not valid. The rule ? φ / φ ?\varphi/\varphi ? φ / φ , the converse of (PtoA), is not admissible in our semantics either: the proposition ? ( α ∨ ¬ α ) ?(\alpha\mathbin{\vee} \neg\alpha) ? ( α ∨ ¬ α ) is valid, since ⟦ α ∨ ¬ α ⟧ ∗ ≠ ∅ \llbracket\alpha\mathbin{\vee} \neg\alpha\rrbracket^* \ne\varnothing [ [ α ∨ ¬ α ] ] ∗ = ∅ under every interpretation, whereas the problem α ∨ ¬ α \alpha\mathbin{\vee} \neg\alpha α ∨ ¬ α is not valid (Proposition 24).
It is convenient to name the outcome in advance: the common part of the two calculi is the core H C 0 \mathrm{HC}^0 HC 0 , the axioms (A1), (A2), (A3), the left half of (A4a), (A4b)–(A4d) and (A5) with all three rules; everything beyond the core diverges, and in both directions.
The second half remains—what of our axiomatics is derivable in HC. We begin with the group (A4): it is examined item by item.
Proposition 41.
H C 0 ⊆ H C HC^{0} \subseteq HC H C 0 ⊆ H C .
H C ⊈ H C E HC \nsubseteq HCE H C ⊈ H C E ; a fortiori H C ⊈ H C I HC \nsubseteq HCI H C ⊈ H C I .
H C I − ⊈ H C HCI^{-} \nsubseteq HC H C I − ⊈ H C ; a fortiori H C I ⊈ H C HCI \nsubseteq HC H C I ⊈ H C and H C E ⊈ H C HCE \nsubseteq HC H C E ⊈ H C .
The calculus H C + ( A 6 ) HC+(A6) H C + ( A 6 ) is inconsistent.
Proof. (1) The schemes (A1), (A2), (A3), the left half of (A4a) and the rules are exactly a part of the axiomatics of HC, the schemes (A4b)–(A4d) are derivable in HC (Remark 17), and (A5) is a special case of co-reflection φ → ! ? φ \varphi\to!?\varphi φ → !? φ (for Σ \Sigma Σ -problems φ \varphi φ ).
(2) Co-reflection is derivable in HC, and by Proposition 11(4) it is not E-valid, while HCE is sound with respect to E (Theorem 15); the theorems of HCI are among those of HCE.
(3) Already the right half of (A4a) is not derivable in HC (Remark 17); nor is (A7): its special case ¬ ¬ ! A → ! A \neg\neg!A \to!A ¬¬ ! A → ! A is Markov’s principle for !, while the problems in HC are intuitionistic, without Markov-style additions.
(4) HC has reflection \boxempty A \supset A and the necessitation rule for \boxempty (apply (AtoP), then (PtoA)); from (A6) we would obtain \boxempty(\boxempty A \supset A) , then \boxempty A for every A A A , and for A = ⊥ A = \bot A = ⊥ a contradiction with reflection. Meanwhile HC is consistent: it is sound with respect to Kripke frames with marked worlds [7 ] .
Thus, of our calculus exactly the core lives inside HC, and the divergence runs along several independent lines: the classicality of the modality ? (the right half of (A4a) with its derivative ¬ ? φ ⊃ ? ¬ φ \neg?\varphi\supset?\neg\varphi ¬ ? φ ⊃ ? ¬ φ ), Markov’s principle (A7) and the Löb line—the scheme (A6), which is not merely absent from HC but incompatible with it. In the opposite direction there is a single line—co-reflection. It is essential that the derivation of the formula (L) goes through already in the core (Theorem 42): therefore Corollary 43 on the incompatibility of HC with fixed points relies only on the common part of the two calculi.
The incompatibility of HC with the reading of ! ! ! as formal provability is visible even without fixed points. In HC the problem ! ( □ ⊥ ⊃ ⊥ ) !(\Box\bot\supset\bot) ! ( □ ⊥ ⊃ ⊥ ) is derivable: we apply the rule (AtoP) to the special case □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ of reflection. If the solutions of the problem ! A !A ! A are proofs of A A A in a consistent theory T T T proving the Hilbert–Bernays derivability conditions, then a solution of this problem is a proof of Con ( T ) \operatorname{Con}(T) Con ( T ) in T T T , which does not exist by Gödel’s second theorem. This is a two-sorted version of Gödel’s observation [3 ] : the □ \Box □ -fragment of HC is S4 [4 ] , and in S4 □ ¬ □ ⊥ \Box\neg\Box\bot □ ¬ □ ⊥ is derivable, so □ \Box □ in S4 cannot be read as formal provability. What is excluded is precisely provability in a single fixed formal theory; a semantics with explicit proofs in the spirit of Artemov’s logic of proofs [19 ] is not affected by this argument: there ¬ ( t : ⊥ ) \neg(t\mathbin{:}\bot) ¬ ( t : ⊥ ) is derivable for every term t t t , but the statement “there is no proof of ⊥ \bot ⊥ at all” is not in the language.
Fixed points are incompatible with HC.
From the derivation of the formula (L) in Example Example 1(5) one can extract more than the soundness of (A6). A careful inspection shows that the derivation goes through already in the common part of the two calculi—in the core HC0 ^{0} 0 .
Theorem 42. Already in the core HC0 ^{0} 0 (and hence in HCI− ^{-} − and in HC) the problem
! ( P ≡ ( □ P ⊃ S ) ) → ( ! ( □ S ⊃ S ) → ! S ) !(P \equiv(\Box P \supset S)) \to(!( \Box S \supset S) \to!S) ! ( P ≡ ( □ P ⊃ S )) → ( ! ( □ S ⊃ S ) → ! S ) is derivable for all propositions P P P and S S S .
Proof. This is item (5) of Example Example 1. It suffices to note that it uses only (A1), (A2), (A3), (A5), the rules (MP), (AtoP), (PtoA), the deduction lemma and the lemma on transferring derivations (Proposition 12(2),(3)) and the left half of (A4a)—the latter only in items (1) and (2) of the same example, in deriving the □ \Box □ -versions of (A3) and (A5). Neither the right half of (A4a), nor (A6), nor (A7) is needed.
Corollary 43 (fixed points are incompatible with HC). Suppose that a fixed point for falsity is added to HC: that is, the axiom
! ( P ≡ ( □ P ⊃ ⊥ ) ) ! \left(P \equiv(\Box P \supset\bot)\right) ! ( P ≡ ( □ P ⊃ ⊥ ) ) , where P P P is a variable of sort proposition. Then the resulting system is inconsistent—the problem ∅ \varnothing ∅ is derivable in it, and hence every problem.
Proof. By Proposition 41(1) the core HC0 ^{0} 0 is contained in HC, so Theorem 42 gives in HC the implication
! ( P ≡ ( □ P ⊃ ⊥ ) ) → ( ! ( □ ⊥ ⊃ ⊥ ) → ! ⊥ ) . !(P \equiv(\Box P \supset\bot)) \to(!(\Box\bot\supset\bot) \to!\bot). ! ( P ≡ ( □ P ⊃ ⊥ )) → ( ! ( □ ⊥ ⊃ ⊥ ) → ! ⊥ ) .
The premise is derivable by assumption. Further, □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ is a special case of reflection, that is, a theorem of HC; by (AtoP), ! ( □ ⊥ ⊃ ⊥ ) !(\Box\bot\supset\bot) ! ( □ ⊥ ⊃ ⊥ ) is derivable, and by two applications of (MP) we obtain ! ⊥ !\bot ! ⊥ . Together with the axiom ∼ ! ⊥ \sim!\bot ∼ ! ⊥ this gives ∅ \varnothing ∅ .
Other systems
Here only a list, with an indication of the places where the corresponding statements are proved.
Provability logic. The □ \Box □ -fragment of HCI is exactly GL, the □ \Box □ -fragment of HCE is exactly GLS; together with Solovay’s theorems [10 ] this yields completeness on the propositional side: Corollary 22.
Intuitionistic provability logics. Recall the definitions [24 , 26 ] : iK is the intuitionistic tautologies plus the scheme □ ( A ⊃ B ) ⊃ ( □ A ⊃ □ B ) \Box(A \supset B) \supset(\Box A \supset\Box B) □ ( A ⊃ B ) ⊃ ( □ A ⊃ □ B ) with the rules (MP) and necessitation; iGL = iK + Löb’s scheme □ ( □ A ⊃ A ) ⊃ □ A \Box(\Box A \supset A) \supset\Box A □ ( □ A ⊃ A ) ⊃ □ A ; finally iGLC = iGL + the completeness principle A ⊃ □ A A \supset\Box A A ⊃ □ A . The Kripke semantics for iGL consists of birelational frames ⟨ W , ⪯ , ⊲ ⟩ \langle W, \preceq, \lhd\rangle ⟨ W , ⪯ , ⊲ ⟩ , where ⪯ \preceq ⪯ is a partial order (the intuitionistic relation) and ⊲ \lhd ⊲ is a transitive conversely well-founded modal relation, compatible with the order in both directions: x ⪯ y ⊲ z x \preceq y \lhd z x ⪯ y ⊲ z implies x ⊲ z x \lhd z x ⊲ z , and x ⊲ y ⪯ z x \lhd y \preceq z x ⊲ y ⪯ z implies x ⊲ z x \lhd z x ⊲ z (Iemhoff calls such frames brilliant ). Valuations of variables are monotone with respect to ⪯ \preceq ⪯ , and □ A \Box A □ A is forced at a point x x x if A A A is forced at all its ⊲ \lhd ⊲ -successors. The logic iGL is complete with respect to such frames [25 Proposition 9] ; see also [26 ] . We compare them with the ▽ \triangledown ▽ -fragment of HCI (§ 6.13 ), reading □ \Box □ as ▽ \triangledown ▽ .
Proposition 44. The logic iGL is contained in the ▽ \triangledown ▽ -fragment of HCI, and strictly so: every theorem of iGL, read with □ : = ▽ \Box:= \triangledown □ := ▽ , is derivable in HCI, and the problem ▽ ( φ ⋎ ∼ φ ) \triangledown(\varphi\curlyvee\sim\varphi) ▽ ( φ ⋎ ∼ φ ) is derivable in HCI, whereas the formula □ ( p ∨ ¬ p ) \Box(p \vee\neg p) □ ( p ∨ ¬ p ) is not derivable in iGL.
Proof. Inclusion: the scheme K, Löb’s scheme and the necessitation rule for ▽ \triangledown ▽ are derived in § 6.13 . Strictness is given by the problem ▽ ( φ ⋎ ∼ φ ) \triangledown(\varphi\curlyvee\sim\varphi) ▽ ( φ ⋎ ∼ φ ) (Theorem 39): we show that □ ( p ∨ ¬ p ) \Box(p \vee\neg p) □ ( p ∨ ¬ p ) is not derivable in iGL.
Take the frame ⟨ W , ⪯ , ⊲ ⟩ \langle W, \preceq, \lhd\rangle ⟨ W , ⪯ , ⊲ ⟩ with W = { w , v , u } W = \{w, v, u\} W = { w , v , u } , where ⪯ \preceq ⪯ is the reflexive relation together with v ⪯ u v \preceq u v ⪯ u , and ⊲ \lhd ⊲ consists of the pairs ( w , v ) (w, v) ( w , v ) and ( w , u ) (w, u) ( w , u ) . This is a frame for iGL: the relation ⊲ \lhd ⊲ is transitive and conversely well-founded (there are no chains of length two), and both compatibility conditions are checked by exhaustive inspection—the only nontrivial case w ⊲ v ⪯ u w \lhd v \preceq u w ⊲ v ⪯ u gives w ⊲ u w \lhd u w ⊲ u . Let the variable p p p be true only at u u u ; the valuation is monotone, since u u u is maximal. Then v ⊮ p v \not\Vdash p v ⊩ p and v ⊮ ¬ p v \not\Vdash\neg p v ⊩ ¬ p (since v ⪯ u v \preceq u v ⪯ u and u ⊩ p u \Vdash p u ⊩ p ), hence v ⊮ p ∨ ¬ p v \not\Vdash p \vee\neg p v ⊩ p ∨ ¬ p , and from w ⊲ v w \lhd v w ⊲ v it follows that w ⊮ □ ( p ∨ ¬ p ) w \not\Vdash\Box(p \vee\neg p) w ⊩ □ ( p ∨ ¬ p ) . By the completeness of iGL with respect to such frames, the formula □ ( p ∨ ¬ p ) \Box(p \vee\neg p) □ ( p ∨ ¬ p ) is not derivable in iGL.
Remark 18. The reason for the divergence is that under the sign ▽ \triangledown ▽ all of classical logic appears, which no intuitionistic modal logic can provide, and iGL is no exception. The same shows where to look for an exact characterization: the ▽ \triangledown ▽ -fragment is, apparently, not some intuitionistic modal logic, but iGL together with all formulas ▽ χ \triangledown\chi ▽ χ whose Boolean collapse χ \chi χ is a tautology. Whether the fragment coincides exactly with this completion is an open question (§ 8 ).
The completeness principle of the logic iGLC is co-reflection, refuted by Proposition 11(4); but the restriction of completeness to Σ 1 \Sigma_1 Σ 1 , adopted in [24 ] , corresponds to our co-reflection on Σ \Sigma Σ -problems (the axiom (A5)). Finally, in Melikhov’s logic HC, for ▽ \triangledown ▽ the scheme K, the scheme 4 and co-reflection hold, but not Löb’s scheme—this is the intuitionistic modal logic H4, also known as IEL+ ^+ + of Artemov and Protopopescu [22 ] ; in our setting co-reflection is displaced by Löb’s scheme, and the ▽ \triangledown ▽ -fragment of HCI is a “Löbian” analogue of H4 over the intuitionistic logic of problems. (End of remark.)
Realizability logics. Our notion of validity is R e f f \mathfrak{R}_{\mathrm{eff}} R eff from the classification R c o n s t ⊆ R e f f ⊆ R \mathfrak{R}_{\mathrm{const}} \subseteq\mathfrak{R}_{\mathrm{eff}} \subseteq\mathfrak{R} R const ⊆ R eff ⊆ R [15 ] ; the three levels of Remark 8 are exactly these three logics. Hence the results of § 6.10 on the fragment of problems: the positive part is intuitionistic (Theorem 32), and the fragment itself lies strictly between Int and the logic of weak excluded middle (Corollary 33).
Open questions
What logic has arisen on the problem side? It is known that I n t ⊊ L Z ⊊ J \mathrm{Int} \subsetneq\mathcal{L}_Z \subsetneq\mathfrak{J} Int ⊊ L Z ⊊ J for all three semantics (Corollary 33) and that the positive fragment is intuitionistic (Theorem 32), so that the whole difference from Int lives on formulas containing ∅ \varnothing ∅ . On the left we are separated by Rose’s formula (Proposition 27), on the right by Scott’s principle (Theorem 28). Hence the scheme (A2) on the problem side is certainly insufficient, and HCI is incomplete on the problem side (Corollary 35 ); we did not close the gap with the ready-made Rose scheme (§6.10), and what a complete calculus looks like is unknown. The setting is close to the propositional logic of realizability of Rose and Plisko [9 , 18 ] —there, too, variables are replaced by arithmetical formulas—and it is from there that the next trial schemes should be taken.
One should be aware of how different the two sides are. On the propositional side we deal with a known object: the fragments are exactly GL and GLS, completeness follows from Solovay’s theorems (Corollary 22), and this side (in the Π \Pi Π -free language) will no longer change, whatever valid schemes about problems we may add: new axioms yield only valid theorems, and all valid propositions are already derivable. On the problem side there is no known object: the logics L Z \mathcal{L}_Z L Z lie strictly between Int and J \mathfrak{J} J and coincide with neither of them. The modality-free fragment of the calculus HCI is exactly Int, and the calculus itself reads as a gluing of two ready-made systems—Int on problems and GL on propositions, joined by the schemes (A3)–(A5) and (A7). The semantics, however, is not a gluing: on one side stands the classical provability logic, on the other an intermediate logic that is yet to be identified.
It may well be that it cannot be identified as a calculus at all. The closest relatives of the logics L Z \mathcal{L}_Z L Z are the logics of realizability, and there the situation is as follows: for the logic of realizable propositional formulas neither finite nor even recursive axiomatizability is known, and Medvedev’s logic of finite problems, as was shown recently, is Π 1 0 \Pi^0_1 Π 1 0 -complete and hence not computably enumerable: there is no computably enumerable complete calculus for it at all [16 , 17 ] . Our notion of validity is R e f f \mathcal{R}_{\mathrm{eff}} R eff , that is, it belongs to exactly this family. Therefore the fact that the valid Rose scheme (Proposition 27) is a series indexed by the number of disjuncts is more likely a property of the subject than an accident. And for the same reason, selecting axioms by validity cannot serve as a sign of completeness: new schemes may stop being found not because the list is complete.
How strong are the !-forms. From (A5) and (A6) their □ \Box □ -versions are derivable (Example 1(2),(3)); is the converse true? The □ \Box □ -versions speak only of the existence of proofs, the !-versions of a computable transformation of proofs, so that the converse passage is not obvious. The answer determines how substantive Theorem 42 is in comparison with its modal analogue (Appendix § 12 ).
Is (A5) needed for the derivation of Löb’s theorem , that is, is (A6) derivable from HCI− ^{-} − without (A5) (more precisely, without its special case ! A → ! □ A !A \to!\Box A ! A → ! □ A together with the premise ! ( P ≡ ( □ P ⊃ S ) ) !(P \equiv(\Box P \supset S)) ! ( P ≡ ( □ P ⊃ S )) ? In the proof of Theorem 15 the scheme (A5) takes the place of the scheme □ A ⊃ □ □ A \Box A \supset\Box\Box A □ A ⊃ □□ A , without which the fixed-point argument does not go through in the modal case either; but there is no proof of non-derivability. (That (A5) is not derivable from the remaining axioms of HCE together with the rule “from ! A → ! B !A \to!B ! A → ! B infer ! ( □ A ⊃ □ B ) !(\Box A \supset\Box B) ! ( □ A ⊃ □ B ) ” and all problems of the form ! T !T ! T for classical tautologies T T T is seen from a reflexive non-transitive three-world Kripke frame in which ! is read
as □ \Box □ and ? ? ? as the identity.)
Completeness on the problem side. On the propositional side the question is closed (Corollary 22), and Proposition 18 shows that as far as schemes about ? ? ? are concerned the system (A4) is exhaustive: ? ? ? is eliminated down to ? α ?\alpha ? α and □ B \Box B □ B . Hence everything unresolved has gathered on the problem side. The known gaps are Rose’s formula (Corollary 35 ) and, possibly, Peirce’s law with a quantifier (Proposition 17(4), Remark 12). The nearest check: whether there remain valid schemes of the same kind, where the solver has to guess the label of a disjunction while the list of candidates is not finite; see Section B.
Is the rule “from !A infer A” admissible in HCB? This rule preserves B-validity without any assumptions: if Z F ⊢ Prf ( n , ∀ X ⃗ A ∗ ) \mathrm{ZF} \vdash\operatorname{Prf}(n,\forall\vec{X}A^{*}) ZF ⊢ Prf ( n , ∀ X A ∗ ) , then, provided ZF is consistent, this Δ 0 \Delta_{0} Δ 0 -formula is true and Z F ⊢ ∀ X ⃗ A ∗ \mathrm{ZF} \vdash\forall\vec{X}A^{*} ZF ⊢ ∀ X A ∗ , while if ZF is inconsistent everything is valid. In HCE the rule is derived ((PtoA), then (A8)); in HCI it is admissible: from ⊢ H C I ! A \vdash_{\mathrm{HCI}} !A ⊢ HCI ! A , by Theorem 15, the I-validity of A A A follows, and by Corollary 22 its derivability. Is it true that H C B ⊢ ! A \mathrm{HCB} \vdash!A HCB ⊢ ! A implies H C B ⊢ A \mathrm{HCB} \vdash A HCB ⊢ A ? Adding the rule to HCB yields no new problems (by induction on the derivation: for every proposition A A A derivable with this rule, the problem ! A !A ! A is derivable in HCB), so the question concerns only propositions with the quantifier Π \Pi Π . A negative answer would mean that HCB lacks some law: under the sign ! ! ! the calculus derives more than outside it.
The modality-free fragment of HCE. Does the set of modality-free theorem-problems of HCE coincide with that of HCI? All that is known is H C I ⊆ H C E \mathrm{HCI} \subseteq\mathrm{HCE} HCI ⊆ HCE and that both fragments lie in L E \mathcal{L}_{E} L E (§ 6.12 ); the frame with a marked maximal point does not settle the question—the schemes (A8) and (A9) are false in it.
Independence of (A7) in HCE. For HCI the question is settled: Proposition 45 (Appendix § 11 ) gives a two-point Kripke model in which (A1)–(A6) and all the rules hold, while ∼ ∼ ! ⊥ → ! ⊥ \sim\sim!\bot\to!\bot ∼∼ ! ⊥ → ! ⊥ does not. For HCE one cannot proceed by models in this way (Remark 16). Note that syntactically the problem reduces to the following: the theorem-problems of HCE are the closure under (MP) of the set of theorem-problems of HCI together with all instances of (A9), since without (AtoP) there is no passage from a proposition to a problem. Hence one needs a structure in which all theorem-problems of HCI receive 1 (but the rule (AtoP) as a whole is not preserved), and all instances of (A9) do as well.
Independence of (A9). In the opposite direction the question is settled: (A8) is not derivable from (A9) (Proposition 37), although (A9) yields reflection for all □ \Box □ -formulas with modalized propositional variables. The difficulty with (A9) itself is that its ?-image is a special case of (A8) (Proposition 18): only a construction that distinguishes a problem from its ?-image can tell (A9) apart from (A8).
How far does (A7) reach. It is adopted for Σ \Sigma Σ -problems; Appendix § 10 shows that neither variables nor disjunctions of arbitrary problems can be added. The exact class of problems φ \varphi φ for which ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ is valid has not been described. Note that this class depends on the syntax: from ∗ * ∗ one must be able to construct an enumeration of ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_{*} [ [ φ ] ] ∗ , and for an implication there is nowhere to take it from.
Does the ∀ \forall ∀ -fragment coincide with iGL? (The definitions of the logics iK, iGL, iGLC are in § 7 .) The question of coincidence is settled negatively: by Proposition 44,
iGL is contained in the ▽ \triangledown ▽ -fragment of HCI strictly —already ▽ ( φ ∨ ¬ φ ) \triangledown(\varphi\mathbin{\vee} \neg\varphi) ▽ ( φ ∨ ¬ φ ) is derivable in our system and not derivable in iGL. It remains to find an exact characterization; a plausible conjecture is written out in Remark 18.
On the other hand, iGLC is not our fragment: the completeness principle φ → ▽ φ \varphi\to\triangledown\varphi φ → ▽ φ is co-reflection, and it has been refuted (Proposition 11(4)). Nevertheless there is a similarity with the arithmetical part of [24 ] , and a substantive one: there completeness is required not of all formulas but of Σ 1 \Sigma_1 Σ 1 ones (the condition □ △ S ⊃ □ S \Box\triangle S \supset\Box S □ △ S ⊃ □ S for S ∈ Σ 1 S \in\Sigma_1 S ∈ Σ 1 )—in our setting, in exactly the same way, co-reflection holds precisely on Σ \Sigma Σ -problems (axiom (A5)). It is worth understanding whether this coincidence is accidental.
Proviso. We are speaking of derivable formulas. The set of valid ▽ \triangledown ▽ -formulas is strictly wider than iGL already because Rose’s formula is valid (Proposition 27), and it is not derivable even in Int.
11. An intuitionistic version of the semantics. Since the divergence from iGL is created by the Boolean nature of ? ? ? , it is tempting to replace PA by HA. It is useful to see in advance that this is not enough: the Boolean nature has two independent sources. The internal one is the classicality of PA: the right half of (A4a) was derived by a case analysis “either ¬ ∃ u φ ∗ ( u ) \neg\exists u\,\varphi^*(u) ¬∃ u φ ∗ ( u ) or ∃ v ψ ∗ ( v ) \exists v\,\psi^*(v) ∃ v ψ ∗ ( v ) ”, and HA provides no such case analysis, so here the replacement will work. The external one is the two-valuedness of the standard model itself: external validity is defined via truth in N \mathbb{N} N , and ⟦ ? φ ⟧ ∗ = T \llbracket?\varphi\rrbracket^* = \mathsf{T} [ [ ? φ ] ] ∗ = T is equivalent to ⟦ φ ⟧ ∗ ≠ ∅ \llbracket\varphi\rrbracket^* \ne\varnothing [ [ φ ] ] ∗ = ∅ —a two-valued fact about N \mathbb{N} N under any theory under the sign !. To remove this source as well, one would have to compute values not in the standard model but in Kripke frames or in Heyting-valued models; but then the sort of propositions would cease to be classical, that is, we would be dealing no longer with HC but with its intuitionistic relatives. One should also keep the price in mind: with HA under the sign ! the modality □ \Box □ ceases to correspond to GL and becomes the provability logic of HA [23 ] , and from the disjunction property of HA the scheme □ ( A ∨ B ) ⊃ □ A ∨ □ B \Box(A \vee B) \supset\Box A \vee\Box B □ ( A ∨ B ) ⊃ □ A ∨ □ B is added for closed A A A , B B B .
12. Definable boxes. Does anything change if the boxes range only over arithmetically definable sets (Remark 3)? In all the facts examined, no; the only candidate for a divergence is the full scheme (Π E \Pi\mathrm{E} Π E ), which with definable boxes we are able to justify only for Π \Pi Π -free θ \theta θ , and the related question of substituting Π \Pi Π -containing problems (Lemma 4). Here belongs also the conservativity of the Π \Pi Π -extension over HCI on clean quantifier-free problems: for clean propositions it is proved assuming Σ 1 \Sigma_1 Σ 1 -soundness of ZF, while on non-clean formulas it fails (Remark 13). Do inclinable Π \Pi Π -atoms exist (Definition 13)? All those we have encountered reduce to Π \Pi Π -free propositions (§6.9), but for one of them—Peirce’s law with the quantifier over α \alpha α —the reduction is proved only semantically, and the derivability of the problem Π α ( ( ( α → β ) → α ) → α ) → β \Pi\alpha(((\alpha\to\beta) \to\alpha) \to\alpha) \to\beta Π α ((( α → β ) → α ) → α ) → β in HCB is a separate open question (Proposition 17(4), Remark 12). For Π \Pi Π -inclinable atoms to exist it suffices that the modality-free black-box logic be not computably enumerable; its complexity is a separate question. Finally, returning to PA : for which φ \varphi φ is the translation ( ? Π α φ ) ∗ (?\Pi\alpha\varphi)^* ( ? Π α φ ) ∗ equivalent to an arithmetical formula? This is proved for the class of problems in which all occurrences of variables lie under ∼ \sim ∼ (the dependence on the boxes factors through a finite vector of emptiness bits); the general case is open; with definable boxes the translation is arithmetical relative to 0 ( ω ) 0^{(\omega)} 0 ( ω ) .
13. The two-theory level. Carry out a full audit of the pair (PA, ZF) (modality—provability in PA, validity—derivability in ZF)—it returns to the calculus HCE a model-independent syntactic semantics—compare it with Solovay’s set-theoretic interpretation (the logic S O L SOL S O L , [27 Ch. 13] , [28 ] ) and choose a verification theory for B (for example, ZF plus an inaccessible cardinal). Adjacent to this is the question of the dual operator Σ α \Sigma\alpha Σ α (value ∪ A \cup_A ∪ A ): is it needed for the prenex normalization of Π \Pi Π -atoms, and what is its logic.
The logic of Π \Pi Π -problems without modalities. The most unexpected of what we have found happens on the problem side without any participation of propositions: the fragment of the language of B consisting of problems built from variables and ∅ \varnothing ∅ by the connectives → \to → , ∧ \wedge ∧ , ∨ \vee ∨ and the quantifier Π \Pi Π , together with its validity in B, form a logic that we have not identified. Syntactically it is second-order intuitionistic propositional logic with a single universal quantifier; semantically it is Kleene realizability with uniform quantification over sets, the same as the one used to interpret second-order arithmetic HAS; the axiom ( Π ∨ ) (\Pi\vee) ( Π ∨ ) is the propositional form of Troelstra’s uniformity principle. On Π \Pi Π -free problems it is L B \mathcal{L}_{B} L B . In all the cases we have examined (all problems of depth at most three in two variables) the quantifier is eliminable: for example, Π α ( ( α → β ∨ γ ) → ( ( α → β ) ∨ ( α → γ ) ) ) \Pi\alpha((\alpha\to\beta\vee\gamma)\to((\alpha\to\beta)\vee(\alpha\to\gamma))) Π α (( α → β ∨ γ ) → (( α → β ) ∨ ( α → γ ))) is equivalent to the linearity axiom ( γ → β ) ∨ ( β → γ ) (\gamma\to\beta)\vee(\beta\to\gamma) ( γ → β ) ∨ ( β → γ ) , and Π β ( ( ( α → β ) → β ) → ( α ∨ β ) ) \Pi\beta(((\alpha\to\beta)\to\beta)\to(\alpha\vee\beta)) Π β ((( α → β ) → β ) → ( α ∨ β )) to the law α ∨ ¬ α \alpha\vee\neg\alpha α ∨ ¬ α ; this is akin to Pitts’ uniform interpolation for Int, but the elimination sometimes relies on boxes like ω ∖ { n } \omega\setminus\{n\} ω ∖ { n } , which never occur as the value of a formula (Proposition 17(4), Remark 12). Questions: is the quantifier always eliminable; is this logic computably enumerable (for the predicate logic of realizability Plisko proved non-arithmeticity); which principles beyond ( Π E ) (\Pi E) ( Π E ) , Bernays’ rule and ( Π ∨ ) (\Pi\vee) ( Π ∨ ) hold in it—the first candidate is Π α ( ( ( α → β ) → α ) → α ) ↔ β \Pi\alpha(((\alpha\to\beta)\to\alpha)\to\alpha)\leftrightarrow\beta Π α ((( α → β ) → α ) → α ) ↔ β .
Deferred proofs
Proof of Lemma 2. By Lemma 1(6) the set ⟦ ¬ φ ⟧ ∗ \llbracket\neg\varphi\rrbracket_{*} [ [ ¬ φ ] ] ∗ is N \mathbb{N} N when ⟦ φ ⟧ ∗ = ∅ \llbracket\varphi\rrbracket_{*}=\varnothing [ [ φ ] ] ∗ = ∅ and ∅ \varnothing ∅ otherwise; applying the same once more, we obtain what is required. For the second claim we unfold the definitions: ( ¬ φ ) ∗ ( u ) (\neg\varphi)^{*}(u) ( ¬ φ ) ∗ ( u ) is ∀ v ( φ ∗ ( v ) ⊃ ⊥ ) \forall v\,(\varphi^{*}(v)\supset\bot) ∀ v ( φ ∗ ( v ) ⊃ ⊥ ) —a formula not depending on u u u and equivalent to ¬ ∃ v φ ∗ ( v ) \neg\exists v\,\varphi^{*}(v) ¬∃ v φ ∗ ( v ) ; hence ( ¬ ¬ φ ) ∗ ( x ) (\neg\neg\varphi)^{*}(x) ( ¬¬ φ ) ∗ ( x ) is equivalent to ¬ ¬ ∃ v φ ∗ ( v ) \neg\neg\exists v\,\varphi^{*}(v) ¬¬∃ v φ ∗ ( v ) , and PA is classical.
Justification of Remark 9. For ∗ * ∗ this is obvious: any two effective codings of one and the same finite collection of formulas are translated into each other computably, and the translator can be prepended to S S S .
For U U U and c c c the argument is slightly longer. Let ⟦ ⋅ ⟧ ∗ \llbracket\cdot\rrbracket_{*} [ [ ⋅ ] ] ∗ and ⟦ ⋅ ⟧ ∗ ′ \llbracket\cdot\rrbracket'_{*} [ [ ⋅ ] ] ∗ ′ be the values computed with respect to two sets of choices, and let φ ∗ \varphi^{*} φ ∗ and φ ∗ ′ \varphi^{*'} φ ∗ ′ be the corresponding translations. By simultaneous induction on the construction of the formula we build a pair of computable (uniformly in φ \varphi φ and in ∗ * ∗ ) functions h φ h_{\varphi} h φ and g φ g_{\varphi} g φ translating solutions in both directions:
u ∈ ⟦ φ ⟧ ∗ ⟹ h φ ( u ) ∈ ⟦ φ ⟧ ∗ ′ , v ∈ ⟦ φ ⟧ ∗ ′ ⟹ g φ ( v ) ∈ ⟦ φ ⟧ ∗ . u\in\llbracket\varphi\rrbracket_{*}\Longrightarrow h_{\varphi}(u)\in\llbracket\varphi\rrbracket'_{*},\qquad
v\in\llbracket\varphi\rrbracket'_{*}\Longrightarrow g_{\varphi}(v)\in\llbracket\varphi\rrbracket_{*}. u ∈ [ [ φ ] ] ∗ ⟹ h φ ( u ) ∈ [ [ φ ] ] ∗ ′ , v ∈ [ [ φ ] ] ∗ ′ ⟹ g φ ( v ) ∈ [ [ φ ] ] ∗ .
and moreover this very claim is provable in PA, and its proof is constructed from ∗ * ∗ . For conjunction and disjunction both functions permute the labels, replacing c c c by c ′ c' c ′ and back; for implication h φ → ψ h_{\varphi\to\psi} h φ → ψ , given an index i i i , outputs the index of the program v ↦ h ψ ( U i ( g φ ( v ) ) ) v\mapsto h_{\psi}(U_i(g_{\varphi}(v))) v ↦ h ψ ( U i ( g φ ( v ))) in the new numbering (the parametrization theorem), and symmetrically for g φ → ψ g_{\varphi\to\psi} g φ → ψ . Here one sees why both functions are needed at once: for implication the direction of translation is reversed on the premise. The case ! A \mathord{!}A ! A is handled as follows: by the induction hypothesis PA proves ∃ x φ ∗ ( x ) ≡ ∃ x φ ∗ ′ ( x ) \exists x\ \varphi^{*}(x) \equiv\exists x\ \varphi^{*'}(x) ∃ x φ ∗ ( x ) ≡ ∃ x φ ∗ ′ ( x ) for all problems φ \varphi φ occurring in A A A under the sign ?, and hence also A ∗ ≡ A ∗ ′ A^{*} \equiv A^{*'} A ∗ ≡ A ∗ ′ ; a proof of this equivalence is computed from ∗ \ast ∗ , and a proof of the formula A ∗ A^{*} A ∗ is transformed into a proof of the formula A ∗ ′ A^{*'} A ∗ ′ . Hence if S S S is a computable section for the first set of choices, then ∗ ↦ h φ ( S ( ∗ ) ) \ast\mapsto h_{\varphi}(S(\ast)) ∗ ↦ h φ ( S ( ∗ )) is a computable section for the second. The same argument, carried out inside PA, gives independence for I-validity as well.
The same argument goes through when the formula Prf is replaced by any other standard provability formula for PA: proofs of one system are transformed into proofs of the other computably, and the correctness of the translation is provable in PA. What matters is only that Prf defines a decidable relation and that PA proves the formalized derivability conditions.
Proof of Lemmas 3 and 4. (MP). For propositions the rule is obvious: provability in PA or ZF and truth in N \mathbb{N} N are closed under modus ponens; in B—together with the closure (from ZF ⊢ ∀ X ⃗ A ∗ \vdash\forall\vec{X}\ A^{*} ⊢ ∀ X A ∗ and ZF ⊢ ∀ X ⃗ ( A ∗ ⊃ B ∗ ) \vdash\forall\vec{X}\ (A^{*} \supset B^{*}) ⊢ ∀ X ( A ∗ ⊃ B ∗ ) it follows that ZF ⊢ ∀ X ⃗ B ∗ \vdash\forall\vec{X}\ B^{*} ⊢ ∀ X B ∗ ). For problems: if S 1 S_{1} S 1 solves φ \varphi φ and S 2 S_{2} S 2 solves φ → ψ \varphi\to\psi φ → ψ , then S ( c ) : = U S 2 ( c ) ( S 1 ( c ) ) S(c) := U_{S_{2}(c)}(S_{1}(c)) S ( c ) := U S 2 ( c ) ( S 1 ( c )) is computable and by Lemma 1(6) yields an element of [ [ ψ ] ] ∗ [\![\psi]\!]_{*} [ [ ψ ] ] ∗ . In B the solutions are assembled in the same way (they do not depend on the boxes), and a proof of the closure for ψ \psi ψ is obtained from the proofs of the closures for the premises by the same scheme.
Substitution. The semantics I and E: let φ ( α ) \varphi(\alpha) φ ( α ) be valid with the function S S S , and let us substitute a formula χ \chi χ for α \alpha α . The translation ( φ ( χ ) ) ∗ (\varphi(\chi))^{*} ( φ ( χ ) ) ∗ coincides with the translation φ ( α ) ∗ ′ \varphi(\alpha)^{*'} φ ( α ) ∗ ′ , where the interpretation ∗ ′ *' ∗ ′ coincides with ∗ * ∗ on the other variables and assigns to the variable α \alpha α the formula χ ∗ \chi^{*} χ ∗ . The code ∗ ′ *' ∗ ′ is computed from ∗ * ∗ , since the translation χ ↦ χ ∗ \chi\mapsto\chi^{*} χ ↦ χ ∗ is a computable operation on codes (Definition 2). Hence S ′ ( ∗ ) : = S ( ∗ ′ ) S'(*) := S(*') S ′ ( ∗ ) := S ( ∗ ′ ) is the required function.
Substitution of a proposition C C C for a propositional variable A A A in the semantics I and E is handled by the same composition of interpretations ( A ∗ : = C ∗ ) (A^{*} := C^{*}) ( A ∗ := C ∗ ) .
In the semantics B, substitution of a problem χ \chi χ for a free variable α \alpha α is an instantiation of the quantifier. Free occurrences of α \alpha α do not lie under the sign ! (they would be bound), so the translation refers to α \alpha α only through atoms x ∈ X α x \in X_{\alpha} x ∈ X α . From ZF ⊢ ∀ X ⃗ ∀ X α φ ∗ ( S ( ∗ ′ ) ) \vdash\forall\vec{X}\ \forall X_{\alpha}\ \varphi^{*}(S(*')) ⊢ ∀ X ∀ X α φ ∗ ( S ( ∗ ′ )) , substituting the set { x : χ ∗ ( x ) } \{x : \chi^{*}(x)\} { x : χ ∗ ( x )} for X α X_{\alpha} X α , we obtain the closure of the translation of φ [ χ / α ] \varphi[\chi/\alpha] φ [ χ / α ] : the free set variables of the formula χ ∗ \chi^{*} χ ∗ go under the common closure ∀ X ⃗ \forall\vec{X} ∀ X , and there is no capture by property (1) of safe substitution. The solver need not be changed, since the boxes do not enter the code. In B the set { x : χ ∗ ( x ) } \{x : \chi^{*}(x)\} { x : χ ∗ ( x )} is a legitimate content of a box for any χ \chi χ , including one with the quantifier Π \Pi Π : the boxes range over all sets (impredicativity).
Substitution of a proposition C C C for a propositional variable A A A in a formula is handled in two ways. If C C C has no free problem variables, then C ∗ C^{*} C ∗ is a closed formula of the language of ZF, that is, an admissible interpretation, and the composition of interpretations A ∗ ′ : = C ∗ A^{*'} := C^{*} A ∗ ′ := C ∗ works, including for occurrences of A A A under the sign !.
If, however, C C C has free problem variables, then by property (2) all occurrences of A A A lie outside !. This is possible only if the formula is a proposition B ( A ) B(A) B ( A ) (propositions enter problems only through !), and for the same reason the occurrences of A A A do not lie under the sign ? either. Therefore ( B ( C ) ) ∗ (B(C))^{*} ( B ( C ) ) ∗ is obtained from B ∗ B^{*} B ∗ by replacing the occurrences of A ∗ A^{*} A ∗ by C ∗ C^{*} C ∗ , and none of them stands inside a Gödel number. Since B ( A ) B(A) B ( A ) is valid, and ( 0 = 0 ) (0 = 0) ( 0 = 0 ) and ⊥ \bot ⊥ are admissible values of the variable A A A , ZF proves the closures of B ∗ ( 0 = 0 ) B^{*}(0 = 0) B ∗ ( 0 = 0 ) and B ∗ ⊥ B^{*}\bot B ∗ ⊥ . Reasoning in ZF with arbitrary contents of the boxes, we distinguish cases: if C ∗ C^{*} C ∗ is true, the formula C ∗ C^{*} C ∗ is equivalent to ( 0 = 0 ) (0 = 0) ( 0 = 0 ) ; if C ∗ C^{*} C ∗ is false, to the formula ⊥ \bot ⊥ . By replacement of equivalents, B ∗ ( C ∗ ) B^{*}(C^{*}) B ∗ ( C ∗ ) is equivalent to B ∗ ( 0 = 0 ) B^{*}(0 = 0) B ∗ ( 0 = 0 ) or to B ∗ ⊥ B^{*}\bot B ∗ ⊥ . The replacement is legitimate also under the quantifiers ∀ X β \forall X_{\beta} ∀ X β corresponding to Π β \Pi\beta Π β : by property (1), X β X_{\beta} X β does not occur in C ∗ C^{*} C ∗ . Consequently, ZF proves the closure of B ∗ ( C ∗ ) = ( B ( C ) ) ∗ B^{*}(C^{*})=(B(C))^{*} B ∗ ( C ∗ ) = ( B ( C ) ) ∗ .
Proof of Theorem 34 . One direction is the scheme (A2). The converse is obtained by a model.
Take a finite Kripke frame, that is, a finite partially ordered set ⟨ P , ≤ ⟩ \langle P,\le\rangle ⟨ P , ≤ ⟩ , and fix in it a maximal point p p p . We build a model K K K . Problem variables are evaluated by arbitrary upward closed subsets of P P P (as in Kripke models for Int), propositional variables by arbitrary truth values. The forcing x ⊩ φ x\Vdash\varphi x ⊩ φ of problems at points x ∈ P x\in P x ∈ P is defined by the usual Kripke clauses for ∅ \varnothing ∅ , ∧ \wedge ∧ , ∨ \vee ∨ , → \to → ; propositions receive truth values, their connectives are understood classically. The modalities:
x ⊩ ! A for all x and all A , ? φ is true ⟺ p ⊩ φ . x\Vdash{!A}\quad\text{for all }x\text{ and all }A,\qquad{?}\varphi\text{ is true}\Longleftrightarrow p\Vdash\varphi. x ⊩ ! A for all x and all A , ? φ is true ⟺ p ⊩ φ .
The definition is correct: ! A !A ! A is forced everywhere independently of A A A , so there is no circular dependence between the sorts; forcing is monotone with respect to ≤ \le ≤ (induction on the construction, trivial for ! A !A ! A ). A problem is true in K K K if it is forced at all points under every valuation of the variables; a proposition, if it is true under every valuation.
We check the axioms. (A1): propositions are two-valued and the connectives are classical; (A2): the schemes of Int are true in every Kripke model. The schemes (A3), (A5) and (A6) are trivial: the conclusion of each of them is a problem of the form ! X !X ! X (for (A3), after discharging both premises), forced everywhere, and an implication with a conclusion forced everywhere is itself forced everywhere.
The scheme (A4) is the only place where the choice of the point is at work. Since p p p is maximal, the only point above it is itself, so forcing at p p p is classical:
p ⊩ φ → ψ ⟺ ( p ⊩ φ ⇒ p ⊩ ψ ) , p\Vdash\varphi\to\psi\Longleftrightarrow\left(p\Vdash\varphi\Rightarrow p\Vdash\psi\right), p ⊩ φ → ψ ⟺ ( p ⊩ φ ⇒ p ⊩ ψ ) ,
and likewise p ⊩ φ ∧ ψ p\Vdash\varphi\wedge\psi p ⊩ φ ∧ ψ is equivalent to the conjunction, and p ⊩ φ ∨ ψ p\Vdash\varphi\vee\psi p ⊩ φ ∨ ψ to the disjunction; finally p ⊮ ∅ p\not\Vdash\varnothing p ⊩ ∅ . This is exactly (A4a)–(A4d): the map φ ↦ ? φ \varphi\mapsto?\varphi φ ↦ ? φ is a Boolean homomorphism.
The scheme (A7): a Σ \Sigma Σ -problem is assembled from ∅ \varnothing ∅ and problems of the form ! X !X ! X by the connectives ∧ \wedge ∧ and ∨ \vee ∨ , hence (induction on the construction) it is either forced everywhere or forced nowhere. For such problems ¬ ¬ σ → σ \neg\neg\sigma\to\sigma ¬¬ σ → σ is forced everywhere: if σ \sigma σ is forced everywhere, this is clear; if nowhere, then ¬ σ \neg\sigma ¬ σ is forced everywhere, ¬ ¬ σ \neg\neg\sigma ¬¬ σ nowhere, and the implication is forced vacuously.
The rules. (MP): if φ \varphi φ and φ → ψ \varphi\to\psi φ → ψ are forced at a point, then so is ψ \psi ψ ; for propositions this is classical logic. (AtoP): ! A !A ! A is forced everywhere for any A A A , all the more for a derivable one. (PtoA): if φ \varphi φ is forced everywhere, then in particular at p p p , hence ? φ ? \varphi ? φ is true.
Thus all axioms and rules of HCI are true in this model. (Rose’s formula is, of course, not satisfied by the model—it is not derivable in Int; this is precisely what makes the model useful.) Now let a problem φ \varphi φ contain no modalities. Then its forcing is the usual forcing in the Kripke frame P P P . If φ \varphi φ is derivable in HCI, then it is true in every such model, that is, in every finite Kripke frame, and hence derivable in Int by the completeness theorem for intuitionistic logic with respect to finite frames.
Why exactly these classes of problems in (A5) and (A7)
For the scheme (A5) the answer is short: beyond the class Σ \Sigma Σ , co-reflection φ → ! ? φ \varphi\to!? \varphi φ → !? φ fails already for a variable (Proposition 11(4)), where α ∗ : = Con \alpha^{*}:=\operatorname{Con} α ∗ := Con , and semantically (A5) is effective Σ 1 \Sigma_{1} Σ 1 -completeness with the witness on the input (Proposition 9), which rests on the fact that the translations of Σ \Sigma Σ -problems are Σ 1 \Sigma_{1} Σ 1 -formulas. With the scheme (A7) matters are more complicated. The class of Σ \Sigma Σ -problems cannot be extended in a natural way. For example, it cannot be replaced by the class O O O from Rose’s scheme: there the scheme (A7) fails already on ! A ∨ ∼ ! A !A \vee\sim!A ! A ∨ ∼ ! A , as we shall see below in this section.
First of all, the scheme (A7) ceases to be valid on variables: the problem ∼ ∼ α → α \sim\sim\alpha\to\alpha ∼∼ α → α with a variable α \alpha α is not valid (Proposition 24).
For disjunctions, even the scheme ∼ ∼ ( φ ∨ ψ ) → ( ∼ ∼ φ ∨ ∼ ∼ ψ ) \sim\sim(\varphi\vee\psi) \to(\sim\sim\varphi\vee\sim\sim\psi) ∼∼ ( φ ∨ ψ ) → ( ∼∼ φ ∨ ∼∼ ψ ) is not valid. The word “even” is justified as follows. A direct extension of (A7) to disjunctions of arbitrary problems would be the scheme ∼ ∼ ( φ ∨ ψ ) → ( φ ∨ ψ ) \sim\sim(\varphi\vee\psi) \to(\varphi\vee\psi) ∼∼ ( φ ∨ ψ ) → ( φ ∨ ψ ) , whereas the conclusion of the displayed one is weaker: in Int we have φ → ∼ ∼ φ \varphi\to\sim\sim\varphi φ →∼∼ φ , hence ( φ ∨ ψ ) → ( ∼ ∼ φ ∨ ∼ ∼ ψ ) (\varphi\vee\psi) \to(\sim\sim\varphi\vee\sim\sim\psi) ( φ ∨ ψ ) → ( ∼∼ φ ∨ ∼∼ ψ ) . A solution of the displayed scheme is required to provide not a solution of one of the disjuncts, but merely a label —an indication of which of them has a nonempty value (Lemma 2).
Nevertheless, this scheme is not valid either, and then by Lemmas 3 and 4 the direct extension is not valid as well. Take variables α \alpha α , β \beta β and put α ∗ ( x ) : = Prf ( x , σ ) \alpha^{*}(x) := \operatorname{Prf}(x,\sigma) α ∗ ( x ) := Prf ( x , σ ) , β ∗ : = ¬ Pr ( σ ) \beta^{*} := \neg\operatorname{Pr}(\sigma) β ∗ := ¬ Pr ( σ ) . Then [ [ α ∨ β ] ] ∗ ≠ ∅ [\![\alpha\vee\beta]\!]_{*} \ne\varnothing [ [ α ∨ β ] ] ∗ = ∅ for every σ \sigma σ , hence [ [ ∼ ∼ ( α ∨ β ) ] ] ∗ = N [\![\sim\sim(\alpha\vee\beta)]\!]_{*} = \mathbb{N} [ [ ∼∼ ( α ∨ β )] ] ∗ = N by Lemma 2; while by Lemma 1(5),(6) an element of the set [ [ ∼ ∼ α ∨ ∼ ∼ β ] ] ∗ [\![\sim\sim\alpha\vee\sim\sim\beta]\!]_{*} [ [ ∼∼ α ∨ ∼∼ β ] ] ∗ carries a label distinguishing the cases [ [ α ] ] ∗ ≠ ∅ [\![\alpha]\!]_{*} \ne\varnothing [ [ α ] ] ∗ = ∅ and [ [ β ] ] ∗ ≠ ∅ [\![\beta]\!]_{*} \ne\varnothing [ [ β ] ] ∗ = ∅ , that is, deciding the provability of σ \sigma σ .
One can also see exactly where the proof breaks down: the enumeration on which Lemma 8 rests is nowhere to be found for a variable and for an implication. For a variable α \alpha α the set [ [ α ] ] ∗ = { n : N ⊨ α ∗ ( n ) } [\![\alpha]\!]_{*} = \{n : \mathbb{N} \models\alpha^{*}(n)\} [ [ α ] ] ∗ = { n : N ⊨ α ∗ ( n )} is arbitrary: the formula α ∗ \alpha^{*} α ∗ can be anything whatsoever, and there is nothing to enumerate. For an implication the condition “x ∈ [ [ ψ → χ ] ] ∗ x \in[\![\psi\to\chi]\!]_{*} x ∈ [ [ ψ → χ ] ] ∗ ” is, by Lemma 1(6), the condition “U x U_{x} U x is defined everywhere on [ [ ψ ] ] ∗ [\![\psi]\!]_{*} [ [ ψ ] ] ∗ and lands in [ [ χ ] ] ∗ [\![\chi]\!]_{*} [ [ χ ] ] ∗ ”—a condition with a universal quantifier, again not enumerable.
Now about the promised class O O O from Rose’s scheme (Proposition 27): on it the scheme (A7) also ceases to be valid. It suffices to take φ : = ! A ∨ ∼ ! A \varphi:= !A \vee\sim!A φ := ! A ∨ ∼ ! A —the first disjunct is a Σ \Sigma Σ -problem, the second has the form ∼ ψ \sim\psi ∼ ψ , so that φ \varphi φ is an O O O -problem. Under every interpretation [ [ φ ] ] ∗ ≠ ∅ [\![\varphi]\!]_{*} \ne\varnothing [ [ φ ] ] ∗ = ∅ : if A ∗ A^{*} A ∗ is provable, then [ [ ! A ] ] ∗ [\![!A]\!]_{*} [ [ ! A ] ] ∗ is nonempty, and if not, then [ [ ∼ ! A ] ] ∗ = N [\![\sim!A]\!]_{*} = \mathbb{N} [ [ ∼ ! A ] ] ∗ = N . Hence [ [ ∼ ∼ φ ] ] ∗ = N [\![\sim\sim\varphi]\!]_{*} = \mathbb{N} [ [ ∼∼ φ ] ] ∗ = N always, and the scheme (A7) for this φ \varphi φ would require computing from the code a solution of φ \varphi φ —that is, a label answering the question whether A ∗ A^{*} A ∗ is provable. This is exactly the counterexample analyzed above with a disjunction whose label would decide provability—written inside the class O O O . So it is no accident that the scheme (A7) and Rose’s scheme are stated on different classes: Rose’s scheme requires only a finite list of candidates —they are written out in advance, and which of them is suitable is learned from the interlocutor who solves the premise—whereas (A7) requires a search that finds a witness, that is, enumerability of the value. The class O O O provides the former and not the latter: as soon as a negation enters a disjunction, enumerability is lost. Inside Σ \Sigma Σ , on the other hand, disjunction preserves enumerability—this is why (A7) works there, while Rose’s scheme, conversely, degenerates: on Σ \Sigma Σ -problems it is derivable from (A7) by a single (MP).
Let us now ask the converse question: can the class be narrowed without losing anything? In other words, which of the two admitted connectives really strengthen the scheme (A7)? It turns out that only disjunction does.
A problem φ \varphi φ is called stable if the double negation elimination scheme ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ holds for it; in these words the scheme (A7) says that all Σ \Sigma Σ -problems are stable. A connective is said to inherit stability if stability of the arguments implies stability of the result; in Int stability is inherited by ∧ \wedge ∧ and → \to → , but not by ∨ \vee ∨ .
Conjunction therefore does not strengthen the scheme (A7): the case φ = ψ ∧ χ \varphi= \psi\wedge\chi φ = ψ ∧ χ is derived from the cases ψ \psi ψ and χ \chi χ , since already in Int from ¬ ¬ ( ψ ∧ χ ) \neg\neg(\psi\land\chi) ¬¬ ( ψ ∧ χ ) follows ¬ ¬ ψ ∧ ¬ ¬ χ \neg\neg\psi\land\neg\neg\chi ¬¬ ψ ∧ ¬¬ χ . Disjunction does strengthen it: the scheme ¬ ¬ ( ! A ∨ ! B ) → ( ! A ∨ ! B ) \neg\neg(!A \lor!B) \to(!A \lor!B) ¬¬ ( ! A ∨ ! B ) → ( ! A ∨ ! B ) is no longer derivable in Int from ¬ ¬ ! A → ! A \neg\neg!A \to!A ¬¬ ! A → ! A and ¬ ¬ ! B → ! B \neg\neg!B \to!B ¬¬ ! B → ! B : even ¬ ¬ α → α \neg\neg\alpha\to\alpha ¬¬ α → α and ¬ ¬ β → β \neg\neg\beta\to\beta ¬¬ β → β do not yield ¬ ¬ ( α ∨ β ) → ( α ∨ β ) \neg\neg(\alpha\lor\beta) \to(\alpha\lor\beta) ¬¬ ( α ∨ β ) → ( α ∨ β ) (the Kripke frame with a root and two incomparable successors, in which α \alpha α and β \beta β respectively are true). Meanwhile Lemma 8 does give this scheme: a parallel exhaustive search for proofs of both formulas. Thus the whole content of (A7), beyond Markov’s principle ¬ ¬ ! A → ! A \neg\neg!A \to!A ¬¬ ! A → ! A , consists in that inside the class Σ \Sigma Σ stability is declared to be inherited by disjunction .
Conjunction, however, still cannot be removed from the grammar: without it one cannot build disjunctions like ( ! A ∧ ! B ) ∨ ! C (!A \land!B) \lor!C ( ! A ∧ ! B ) ∨ ! C , for which the scheme (A7) is, by what has just been said, no longer derivable.
Independence of the scheme (A7)
The scheme (A7) is not derivable from the remaining axioms of HCI. The proof is a Kripke model with two points.
Definition 17 (two-point model M M M ). The frame is the two-element chain a < b a < b a < b . Problem variables are evaluated by arbitrary upward closed sets (∅ \varnothing ∅ , { b } \{b\} { b } , { a , b } \{a,b\} { a , b } ), propositional variables by arbitrary truth values; the connectives of problems are understood according to the Kripke clauses, the connectives of propositions classically, ∅ \varnothing ∅ is forced nowhere, ⊥ \bot ⊥ is false. The modalities:
x ⊩ ! A ⟺ ( x = b or A is true ) , ? φ is true ⟺ b ⊩ φ . x \Vdash!A \Longleftrightarrow(x=b \text{ or } A \text{ is true}), \qquad?\varphi\text{ is true} \Longleftrightarrow b \Vdash\varphi. x ⊩ ! A ⟺ ( x = b or A is true ) , ? φ is true ⟺ b ⊩ φ . In other words, ! A !A ! A is always forced at the upper point, and at the lower one if and only if A A A is true (forcing is monotone); ? φ ? \varphi ? φ means that φ \varphi φ is forced at least at one point, since every nonempty upward closed set contains b b b . A formula is true in M M M if under every valuation of the variables it is forced at both points (for problems) or is true (for propositions).
Proposition 45. All the schemes (A1)–(A6) are true in M M M , and all three rules (MP), (AtoP), (PtoA) preserve truth in M M M . Meanwhile the problem ¬ ¬ ! ⊥ → ! ⊥ \neg\neg!\bot\to!\bot ¬¬ ! ⊥ → ! ⊥ —a special case of (A7)—is not true in M M M : it is not forced at the point a a a . Consequently, the scheme (A7) is not derivable in HCI from the remaining axioms.
Proof. Note at once: ! A !A ! A is forced at b b b for every A A A , hence
□ A = ? ! A is true for all A . \Box A = ?!A \text{ is true for all } A. □ A = ?! A is true for all A .
In this model “everything is provable”; this is precisely why Löb’s scheme holds in it for free.
Two general observations. First, the point b b b is maximal, so forcing at it is classical: b ⊩ φ → ψ b \Vdash\varphi\to\psi b ⊩ φ → ψ is equivalent to ( b ⊩ φ ⇒ b ⊩ ψ ) (b \Vdash\varphi\Rightarrow b \Vdash\psi) ( b ⊩ φ ⇒ b ⊩ ψ ) , and likewise for ∧ \land ∧ , ∨ \lor ∨ . Second, for problems of the form ! X !X ! X forcing at a a a is the truth of X X X , while at b b b it is automatic; therefore for problems built from problems ! X !X ! X by implications, forcing at a a a reduces to an implication between truth values: a ⊩ ! X → ! Y a \Vdash!X \to!Y a ⊩ ! X → ! Y is equivalent to ( X is true ⇒ Y is true ) (X \text{ is true} \Rightarrow Y \text{ is true}) ( X is true ⇒ Y is true ) , and likewise for nested implications.
(A1) Propositions are two-valued, the connectives are classical.
(A2) The schemes of Int are true in every Kripke model.
(A3) At b b b everything is forced. At a a a , by the second observation, we need: if A ⊃ B A \supset B A ⊃ B and A A A are true, then B B B is true.
(A4) By the first observation ? φ ? \varphi ? φ is true if and only if b ⊩ φ b \Vdash\varphi b ⊩ φ , and forcing at b b b is classical; this gives (A4a)–(A4c), while (A4d) is b ⊮ ∅ b \not\Vdash\varnothing b ⊩ ∅ .
(A5) If ? σ ? \sigma ? σ is true, then ! ? σ !?\sigma !? σ is forced everywhere and the implication σ → ! ? σ \sigma\to!?\sigma σ → !? σ is forced everywhere. If ? σ ? \sigma ? σ is false, then b ⊮ σ b \not\Vdash\sigma b ⊩ σ , and then by monotonicity σ \sigma σ is forced nowhere, and the implication is forced vacuously.
(A6) □ A \Box A □ A is true, so □ A ⊃ A \Box A \supset A □ A ⊃ A is true if and only if A A A is true; by the second observation a ⊩ ! ( □ A ⊃ A ) → ! A a \Vdash!(\Box A \supset A) \to!A a ⊩ ! ( □ A ⊃ A ) → ! A , while at b b b everything is forced.
The rules. (MP) is the usual property of forcing and of classical implication. (AtoP): if A A A is true, then ! A !A ! A is forced at both points. (PtoA): if φ \varphi φ is forced at both points, then in particular at b b b , and ? φ ? \varphi ? φ is true.
Finally, ⊥ \bot ⊥ is false, so ! ⊥ !\bot ! ⊥ is forced only at b b b . Then ∼ ! ⊥ \sim!\bot ∼ ! ⊥ is forced nowhere: at b b b because b ⊩ ! ⊥ b \Vdash!\bot b ⊩ ! ⊥ , at a a a because b b b lies above a a a . Hence ∼ ∼ ! ⊥ \sim\sim!\bot ∼∼ ! ⊥ is forced everywhere, and at the point a a a the premise of the problem ∼ ∼ ! ⊥ → ! ⊥ \sim\sim!\bot\to!\bot ∼∼ ! ⊥ → ! ⊥ is forced while the conclusion is not.
What is new in the derivation of Löb's scheme
Here we examine whether there is anything new in our proof of Löb's scheme (item (3) of the proof of Theorem 15). In the modal language such a derivation is known and standard: in GL without Löb’s scheme the fixed point ψ ≡ ( □ ψ ⊃ σ ) \psi\equiv(\Box\psi\supset\sigma) ψ ≡ ( □ ψ ⊃ σ ) yields Löb’s formula. Indeed, from ψ ⊃ ( □ ψ ⊃ σ ) \psi\supset(\Box\psi\supset\sigma) ψ ⊃ ( □ ψ ⊃ σ ) by the necessitation rule and the scheme K we obtain □ ψ ⊃ □ ( □ ψ ⊃ σ ) \Box\psi\supset\Box(\Box\psi\supset\sigma) □ ψ ⊃ □ ( □ ψ ⊃ σ ) , then by K and the scheme □ ψ ⊃ □ □ ψ \Box\psi\supset\Box\Box\psi □ ψ ⊃ □□ ψ the implication □ ψ ⊃ □ σ \Box\psi\supset\Box\sigma □ ψ ⊃ □ σ ; hence ( □ σ ⊃ σ ) ⊃ ( □ ψ ⊃ σ ) (\Box\sigma\supset\sigma) \supset(\Box\psi\supset\sigma) ( □ σ ⊃ σ ) ⊃ ( □ ψ ⊃ σ ) , and therefore also □ ( □ σ ⊃ σ ) ⊃ □ ( □ ψ ⊃ σ ) \Box(\Box\sigma\supset\sigma) \supset\Box(\Box\psi\supset\sigma) □ ( □ σ ⊃ σ ) ⊃ □ ( □ ψ ⊃ σ ) , which together with □ ( □ ψ ⊃ σ ) ⊃ □ ψ \Box(\Box\psi\supset\sigma) \supset\Box\psi □ ( □ ψ ⊃ σ ) ⊃ □ ψ (the second half of the fixed point) gives □ ( □ σ ⊃ σ ) ⊃ □ σ \Box(\Box\sigma\supset\sigma) \supset\Box\sigma □ ( □ σ ⊃ σ ) ⊃ □ σ .
Therefore what is new in Theorem 42 is not that Löb’s scheme is derived from a fixed point, but in what form it is derived. The scheme (A6) is written via ! ! ! : it asserts the existence of a computable transformation of proofs , not the existence of proofs, and it is inexpressible in the modal language. From (A6) the □ \Box □ -version is obtained by applying (PtoA) and (A4a); the converse passage is not obvious and remains open (see § 8 ).
In substance, what we get is this: the constructive Löb theorem is derived from effective Σ 1 \Sigma_1 Σ 1 -completeness. Usually it is proved by going through the proof of Löb’s theorem step by step and keeping track that all transformations of proofs are computable; here it suffices to have effective Σ 1 \Sigma_1 Σ 1 -completeness—the scheme (A5)—and the effectiveness of the fixed-point lemma, and the rest is done by the formal derivation. The function converting a proof of the formula Pr ( σ ) ⊃ σ \operatorname{Pr}(\sigma) \supset\sigma Pr ( σ ) ⊃ σ into a proof of the formula σ \sigma σ need not be constructed by hand: it is read off from this derivation.
Арифметическая и теоретико-множественная семантики логики задач и высказываний
Н. К. Верещагин; А. А. Оноприенко
Введение
В работе Колмогорова [1 ] интуиционистское исчисление было истолковано как исчисление задач . А в комментарии к этой работе в составе Избранных трудов [2 ] Колмогоров написал, что задачи и высказывания — вещи разные и что полное изложение должно говорить об обоих сортах сразу: интуиционистская логика описывает задачи, классическая — высказывания, и нужна общая система, в которой есть и то и другое вместе со связью между ними.
Примером такой системы является логика HC Мелихова [4 , 6 ] — совместная логика задач и высказываний. Она соединяет в одном двусортном языке классические высказывания и интуиционистские задачи, связывая два сорта двумя модальностями: задача ! A !A ! A читается как «найти доказательство высказывания A A A », а высказывание ? φ ? \varphi ? φ — как «у задачи φ \varphi φ есть решение», то есть, именно так, как наметил Колмогоров. Для HC известны семантики нескольких видов: топологические, интерпретации в планиметрии и в алгебраических уравнениях, неформальная семантика, восходящая к самому Колмогорову (Мелихов, [4 , 5 ] ), а также семантика Крипке с отмеченными мирами (Оноприенко, [7 ] ). Нас же интересует семантика, в которой модальности читаются буквально: решения задачи ! A !A ! A — это выводы высказывания A A A в фиксированной формальной теории, а высказывание ? φ ? \varphi ? φ утверждает, что у φ \varphi φ есть решение. Такой — арифметической , в духе реализуемости Клини — семантики для полного языка HC до сих пор не было: для фрагмента без модальности ? ? ? она намечена в [6 ] , но осталась незавершённой.
В настоящей работе такая семантика строится и изучается порождаемое ею понятие общезначимости, затем вводятся исчисления, корректные относительно этой семантики; аксиомы отбираются по общезначимости. Сам порядок «от толкования к исчислению» не нов: так построена и логика HC, аксиомы которой извлечены из колмогоровского толкования задач и орловско-гейтинговского толкования доказательств [6 ] . Разница в том, что у нас толкование — формальная семантика, и общезначимость в ней — точное математическое понятие, а потому вопрос о корректности и полноте исчисления имеет точный смысл. Этот порядок — постановка задачи, семантика и её изучение, исчисления и их изучение — определяет и план статьи.
Точнее, мы определяем три разных семантики. Начнём с первых двух, арифметических, обозначаемых I и E. В них высказывание P P P переводится в замкнутую формулу P ∗ P^* P ∗ арифметики Пеано, задача φ \varphi φ — в формулу φ ∗ ( x ) \varphi^*(x) φ ∗ ( x ) с (не более чем) одной свободной переменной; связки на задачах понимаются по Клини [8 ] , высказывание ? φ ?\varphi ? φ понимается как ∃ x φ ∗ ( x ) \exists x\ \varphi^{*}(x) ∃ x φ ∗ ( x ) , а решения задачи ! A !A ! A — гёделевы номера выводов формулы A ∗ A^{*} A ∗ в PA (§ 4 ). При этом оказывается, что не все аксиомы HC истинны в этой семантике, то есть, HC некорректна относительно нее. Самое главное в нашей интерпретации — понятие общезначимости задачи: решение задачи требуется предъявлять алгоритмом, вычисляющим его по коду интерпретации (определение 6). Как показано в замечании 8, именно от этого требования зависит, останется ли фрагмент задач интуиционистским: при более слабом понимании общезначимости он становится классическим. В семантике I требуется, чтобы при любой интерпретации формула была выводима в PA, а в семантике E — истинна в стандартной интерпретации PA. В семантике I множество общезначимых высказываний по существу совпадает с логикой доказуемости GL, а множество общезначимых задач является довольно сложной логикой, разрешимость которой неизвестна. В семантике E множество общезначимых высказываний по существу совпадает с логикой доказуемости GLS, а множество общезначимых задач опять является довольно сложной логикой, разрешимость которой неизвестна.
Затем мы приводим исчисления (логики), корректные относительно этих семантик. Мы не стремились получить исчисления, близкие к HC: от неё берутся только язык и неформальное понимание модальностей, а аксиомы отбирались по общезначимости — если схема общезначима и не выводится из уже принятых, она добавлялась. Так получились исчисление HCI, отвечающее тому, что PA доказывает, и исчисление HCE, отвечающее тому, что истинно (§ 6 ); их корректность — теорема 15.
Зачем нужны такие исчисления? Например, используя исчисление HCI, можно получить формальный вывод теоремы Лёба из теоремы о неподвижной точке для PA. Особенность этих исчислений в том, что почти все их аксиомы являются задачами. Исключений три: аксиомы классического исчисления высказываний (A1); чисто структурные схемы (A4), утверждающие, что ? ? ? переводит связки задач в связки высказываний (булев гомоморфизм); и рефлексия (A8) исчисления HCE — она не структурная, а содержательная, но это высказывание, а не задача. Все остальные аксиомы — задачи. Они либо говорят о возможности алгоритмического преобразования одних арифметических выводов в другие: например, (A5) — “по решению задачи φ \varphi φ (для задач φ \varphi φ специального вида) можно построить арифметическое доказательство того, что у φ \varphi φ есть решение”, (A6) — “арифметическое доказательство формулы □ A ⊃ A \Box A \supset A □ A ⊃ A можно преобразовать в арифметическое доказательство формулы A A A ” (теорема Лёба), либо о реализуемости некоторых задач без модальности $? — аксиома (A7). На уровне высказываний исчисления HCI и HCE полны и совпадают с GL и GLS, а на уровне задач опять получаются некоторые логики, про которые мы не знаем, разрешимы ли они.
В третьей семантике B мы немного расширяем язык, вводя в него квантор всеобщности Π по задачным переменным. Задача Π α φ \Pi\alpha\ \varphi Π α φ понимается как «укажи программу, которая решает задачу φ \varphi φ при любой интерпретации задачи α \alpha α ». Напомним, что без квантора по α \alpha α эта программа может зависеть вычислимым образом от интерпретации α ∗ \alpha^{*} α ∗ переменной α \alpha α . Зачем нам нужен такой квантор? Дело в сильной асимметрии двух фрагментов, задачного и высказывательного. Казалось бы, у нас есть переводы в обе стороны: модальность ! ! ! из задачи A A A даёт высказывание ! A !A ! A , а модальность ? ? ? действует в обратную сторону. Но оказывается, что первый перевод является честным: общезначимость задачи ! A !A ! A равносильна общезначимости высказывания A A A . А вот перевод φ ↦ ? φ \varphi\mapsto?\varphi φ ↦ ? φ этим свойством не обладает. Часто доказать в PA высказывание ( ? φ ) ∗ (?\varphi)^{*} ( ? φ ) ∗ при любой фиксированной интерпретации * значительно проще, чем доказать разрешимость задачи φ ∗ \varphi^{*} φ ∗ равномерно по ∗ \ast ∗ . Из-за этого и возникает асимметрия: множество общезначимых высказываний устроено просто, а множество общезначимых задач — нет.
Например, закон исключённого третьего α ∨ ∼ α \alpha\mathbin{\vee} \mathord{\sim}\alpha α ∨ ∼ α не является общезначимым (нет алгоритма, который по арифметической формуле α ∗ ( x ) \alpha^{*}(x) α ∗ ( x ) выяснял бы, истинно ли высказывание ∃ x α ∗ ( x ) \exists x\alpha^{*}(x) ∃ x α ∗ ( x ) ). Но при этом высказывание ? ( α ∨ ∼ α ) ?(\alpha\mathbin{\vee}\mathord{\sim}\alpha) ? ( α ∨ ∼ α ) является общезначимым, потому что PA является классической теорией и может использовать закон исключённого третьего для доказательства формулы ∃ x ( α ∨ ∼ α ) ∗ ( x ) \exists x(\alpha\mathbin{\vee}\mathord{\sim}\alpha)^{*}(x) ∃ x ( α ∨ ∼ α ) ∗ ( x ) для любой фиксированной формулы α ∗ ( x ) \alpha^{*}(x) α ∗ ( x ) . Другой пример: формула Роуза ρ \rho ρ задает общезначимую формулу, при этом реализующий ее алгоритм не тривиален. Но при навешивании модальности ? ? ? получается тривиально общезначимая формула ? ρ ?\rho ? ρ : при любой интерпретации ∗ \ast ∗ формула ∃ x ρ ∗ ( x ) \exists x\rho^{*}(x) ∃ x ρ ∗ ( x ) легко доказывается в PA с помощью закона исключённого третьего.
К сожалению, чтобы записать утверждение о разрешимости задачи ? Π α φ ? \Pi\alpha\ \varphi ? Π α φ , нужен квантор всеобщности по арифметическим интерпретациям. В арифметике Пеано такое, видимо, невыразимо, поскольку по теореме Тарского невозможно выразить истинность формулы с данным гёделевым номером. Поэтому вместо PA мы переходим к теории множеств ZF. В семантике B (от слов «black box») интерпретациями задачных переменных служат любые подмножества N \mathbb{N} N — «чёрные ящики», которые решающая программа не видит; квантор всеобщности по ним — формула первого порядка языка ZF, и высказывание «программа p p p решает задачу φ \varphi φ при любой интерпретации задачи α \alpha α » записывается теоретико-множественной формулой. Общезначимость в B определяется через выводимость в ZF. Корректное исчисление для неё устроено как HCI плюс кванторный слой: бескванторная часть его аксиоматики — это в точности HCI. Целью расширения было увеличить запас общезначимых высказываний, и в расширенном языке это заведомо удалось: например, общезначимым является высказывание ? Π β Π γ ρ ? \Pi\beta\Pi\gamma\rho ? Π β Π γ ρ — «формула Роуза равномерно разрешима», — невыразимое без квантора. Новые бескванторные теоремы расширение тоже даёт — например, □ ? α ⊃ □ ⊥ \Box?\alpha\supset\Box\bot □ ? α ⊃ □ ⊥ , — но лишь за счёт того, что в семантике B модальность ! ! ! связывает задачные переменные и читается с замыканием. Для чистых формул, в которых ! ! ! применяется только к замкнутым высказываниям, картина другая: на стороне высказываний расширение консервативно над HCI (при Σ 1 \Sigma_{1} Σ 1 -корректности ZF), а для чистых задач вопрос о консервативности открыт. Мы также не знаем, имеет ли в новой семантике фрагмент задач ту же сложность, что и фрагмент высказываний.1
Общезначимость всех аксиом наших исчислений сведена в таблицу 1 (§5.6), из которой устройство исчислений видно непосредственно.
Место наших исчислений среди близких логик. Из систем, с которыми стоит сравнивать получившееся, HC выделяется одним: у неё тот же синтаксис. Всё остальное расходится. От HC мы берём язык и чтение модальностей, но не список теорем: наши исчисления находятся с HC в общем положении.
На стороне высказываний мы попадаем в классическую логику доказуемости: □ \Box □ -фрагменты исчислений HCI и HCE суть в точности GL и GLS Соловея [10 ] (следствие [22 ] ), и двусортность там ничего нового не даёт. Интуиционистские логики доказуемости описывают другое: iGL [24 , 26 ] содержится в нашем ∇ \nabla ∇ -фрагменте строго, а iGLC нашим фрагментом не является — её принцип полноты A ⊃ □ A A \supset\Box A A ⊃ □ A есть корефлексия. Впрочем, сходство есть: там полнота требуется только на Σ 1 \Sigma_1 Σ 1 , а у нас корефлексия верна в точности на Σ \Sigma Σ -задачах (аксиома (A5)).
В школе Артёмова [19 , 20 , 21 , 22 ] доказательства тоже присутствуют явно, но иначе: там в язык вводятся термы t : F t:F t : F «t t t есть доказательство F F F », тогда как у нас доказательства — это решения задачи ! A !A ! A , а язык остаётся модальным. Двусортности «задача есть множество, решение есть число» там нет.
Наконец, задачи как множества — давняя традиция: массовые задачи Медведева и Мучника и логики реализуемости [9 , 18 ] . Отличие в том, что там один сорт и нет модальностей: доказательствам и модальности ! ! ! там места нет. Зато понятие общезначимости у нас в точности совпадает с одним из известных: это R e f f \mathcal{R}_{\mathrm{eff}} R eff — «реализацию можно эффективно найти по подставляемым формулам» [15 ] . Отсюда и результаты о фрагменте задач (§ 6.10 ): его позитивная часть интуиционистская, а сам он лежит строго между Int и логикой слабого закона исключённого третьего.
Самого сочетания — два сорта, задачи как произвольные арифметически определимые множества с клиниевскими операциями, ! A !A ! A как множество выводов, ? ? ? как непустота и равномерность по коду интерпретации — мы в литературе не нашли.
План статьи повторяет порядок «задача — семантика — исчисления». Семантике и её изучению посвящены § 4 –§ 5 : интерпретации всех трёх семантик, понятие общезначимости и всё, что мы знаем об общезначимых формулах: общезначимость будущих аксиом, описание безмодального фрагмента задач, примеры необщезначимых формул, законы оператора Π \Pi Π (§ 18.6 ) и сводная таблица общезначимости (§ 5.6 ). Исчисления и их изучение — § 6 : три исчисления, по одному на семантику, производные правила и примеры выводов, корректность, что даёт квантор Π \Pi Π , нормальная форма и полнота на стороне высказываний вместе с характеризацией общезначимых высказываний логиками GL и GLS (§ 6.8 ), нормальная форма с Π \Pi Π -атомами (§6.9), независимость аксиом и то немногое, что известно о выводимых задачах. Сравнение с HC и другими близкими логиками — § 7 , открытые вопросы — § 8 . В приложения вынесены отложенные доказательства, разбор классов задач в схемах (A5) и (A7), независимость схемы (A7) и разбор того, что ново в нашем выводе схемы Лёба.
Язык и обозначения
Сначала определим синтаксис для арифметических семантик. Мы пользуемся языком HC, но меняем буквы, чтобы сорт формулы был виден сразу:
большие латинские буквы A A A , B B B , C C C , … \ldots … — формулы сорта высказывание ;
греческие буквы — формулы сорта задача .
При этом мы придерживаемся следующего соглашения. Буквы α \alpha α , β \beta β , γ \gamma γ (при необходимости с индексами) обозначают только переменные сорта задача , а буквы φ \varphi φ , ψ \psi ψ , χ \chi χ , θ \theta θ — произвольные задачи. Для сорта высказывание отдельных букв под переменные мы не отводим: большие латинские буквы обозначают, вообще говоря, произвольные высказывания, а там, где существенно, что буква обозначает именно переменную, это оговаривается явно. Формулы строятся так:
A : : = A i ∣ ⊥ ∣ ( A ∧ A ) ∣ ( A ∨ A ) ∣ ( A ⊃ A ) ∣ ? φ , A ::= A_i \mid\bot\mid(A \land A) \mid(A \lor A) \mid(A \supset A) \mid?\varphi, A ::= A i ∣ ⊥ ∣ ( A ∧ A ) ∣ ( A ∨ A ) ∣ ( A ⊃ A ) ∣ ? φ ,
φ : : = α i ∣ ∅ ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ ) ∣ ( φ → φ ) ∣ ! A , \varphi::= \alpha_i \mid\varnothing\mid(\varphi\land\varphi) \mid(\varphi\lor\varphi) \mid(\varphi\to\varphi) \mid!A, φ ::= α i ∣ ∅ ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ ) ∣ ( φ → φ ) ∣ ! A ,
где A i A_i A i — переменные сорта высказывание, α i \alpha_i α i — переменные сорта задача.
Константа ⊥ \bot ⊥ — ложное высказывание, константа ∅ \varnothing ∅ — неразрешимая задача (задача с пустым множеством решений). Отрицание и эквиваленция не входят в язык, а определяются:
¬ A : = A ⊃ ⊥ , ∼ φ : = φ → ∅ , A ≡ B : = ( A ⊃ B ) ∧ ( B ⊃ A ) , φ ↔ ψ : = ( φ → ψ ) ∧ ( ψ → φ ) . \neg A := A \supset\bot,\quad\sim\varphi:= \varphi\to\varnothing,\quad A \equiv B := (A \supset B) \wedge(B \supset A),\quad\varphi\leftrightarrow\psi:= (\varphi\to\psi) \wedge(\psi\to\varphi). ¬ A := A ⊃ ⊥ , ∼ φ := φ → ∅ , A ≡ B := ( A ⊃ B ) ∧ ( B ⊃ A ) , φ ↔ ψ := ( φ → ψ ) ∧ ( ψ → φ ) .
Знаки связок различаются по сортам. Язык двусортный, и одна и та же связка на двух сортах значит разное: импликация высказываний — обычная классическая, импликация задач — клиниевская «по решению посылки вычислить решение заключения». Поэтому каждый сорт получает свои знаки:
Table 4.
Высказывания получили классическую пару ⊃ \supset ⊃ , ≡ \equiv ≡ , задачи — стрелки → \to → , ↔ \leftrightarrow ↔ ; конъюнкция, дизъюнкция и отрицание на задачах помечены кочергой и тильдой.
Смысл различения виден уже на схеме (A3), которая записывается как ! ( A ⊃ B ) → ( ! A → ! B ) !(A \supset B) \to(!A \to!B) ! ( A ⊃ B ) → ( ! A → ! B ) : внутри скобок стоит импликация высказываний, снаружи — две импликации задач, и это разные вещи. Знаки ⊃ \supset ⊃ , ∧ \wedge ∧ , ∨ \vee ∨ , ⊥ \bot ⊥ , ¬ \neg ¬ , ≡ \equiv ≡ употребляются и внутри арифметических формул (в A ∗ A^* A ∗ , φ ∗ \varphi^* φ ∗ и им подобных): язык арифметики классический, и заводить для него третий набор знаков незачем. Связки сорта задача в арифметических формулах не встречаются никогда, а отличить объектную формулу от арифметической помогает звёздочка. Производные модальности: □ A = ? ! A \Box A = ?!A □ A = ?! A (высказывание) и ▽ φ = ! ? φ \triangledown\varphi= !?\varphi ▽ φ = !? φ (задача).
Арифметический аппарат
Фиксируем язык арифметики и стандартную модель N \mathbb{N} N ; «истинно» всюду значит «истинно в N \mathbb{N} N ». Истинностные значения обозначаем И и Л. Фиксируем:
U 0 , U 1 , U 2 , … U_0,\ U_1,\ U_2,\ \ldots U 0 , U 1 , U 2 , …
вычислимую биекцию c : N 2 → N c:\mathbb{N}^2 \to\mathbb{N} c : N 2 → N (спаривание);
арифметическую формулу Prf ( x , y ) \operatorname{Prf}(x,y) Prf ( x , y ) , выражающую «x x x есть (номер) вывода в PA формулы с номером y y y », и Pr ( y ) = ∃ x Prf ( x , y ) \operatorname{Pr}(y) = \exists x\operatorname{Prf}(x,y) Pr ( y ) = ∃ x Prf ( x , y ) . Как обычно, Con = ¬ Pr ⊥ \operatorname{Con} = \neg\operatorname{Pr}\bot Con = ¬ Pr ⊥ .
Замечание 1 (облегчение обозначений). Мы отождествляем формулу с её гёделевым номером : там, где формально следовало бы писать Prf ( x , ⌜ σ ⌝ ) \operatorname{Prf}(x,\ulcorner\sigma\urcorner) Prf ( x , ┌ σ ┐ ) , мы пишем Prf ( x , σ ) \operatorname{Prf}(x,\sigma) Prf ( x , σ ) . Точно так же там, где в арифметическую формулу подставляется значение n n n вычислимой функции, формально следовало бы подставлять нумерал n ˉ \bar n n ˉ — стандартный терм, задающий n n n ; мы пишем просто n n n . Наконец, запись U i ( u ) U_i(u) U i ( u ) внутри арифметических формул читается через график: ψ ( U i ( u ) ) \psi(U_i(u)) ψ ( U i ( u )) — это сокращение для ∃ w ( U i ( u ) ≃ w ∧ ψ ( w ) ) \exists w\,(U_i(u)\simeq w\land\psi(w)) ∃ w ( U i ( u ) ≃ w ∧ ψ ( w )) , где U i ( u ) ≃ w U_i(u)\simeq w U i ( u ) ≃ w — Σ 1 \Sigma_1 Σ 1 -формула, выражающая «U i U_i U i определена на u u u и равна w w w »; в частности, такая запись влечёт определённость. Все оговорки сделаны только ради читаемости и нигде не используются по существу.
Интерпретации
Арифметические интерпретации
Определение 1 (арифметической интерпретации). Арифметической интерпретацией называется отображение ∗ * ∗ , сопоставляющее
каждой переменной A A A сорта высказывание — замкнутую арифметическую формулу A ∗ A^* A ∗ ;
каждой переменной α \alpha α сорта задача — арифметическую формулу α ∗ ( x ) \alpha^*(x) α ∗ ( x ) с (не более чем) одной свободной переменной x x x .
Интерпретация продолжается на все формулы языка HC одновременной рекурсией : высказыванию A A A сопоставляется замкнутая формула A ∗ A^* A ∗ , задаче φ \varphi φ — формула φ ∗ ( x ) \varphi^*(x) φ ∗ ( x ) с (не более чем) одной свободной переменной.
Определение 2 (продолжение ∗ * ∗ ). Для высказываний:
⊥ ∗ : = ⊥ , ( A ∧ B ) ∗ : = A ∗ ∧ B ∗ , ( A ∨ B ) ∗ : = A ∗ ∨ B ∗ , ( A ⊃ B ) ∗ : = A ∗ ⊃ B ∗ , ( ? φ ) ∗ : = ∃ x φ ∗ ( x ) . \begin{aligned}
\bot^* &:= \bot,\\
(A\land B)^* &:= A^*\land B^*,\qquad(A\lor B)^* := A^*\lor B^*,\\
(A\supset B)^* &:= A^*\supset B^*,\qquad(? \varphi)^* := \exists x\,\varphi^*(x).
\end{aligned} ⊥ ∗ ( A ∧ B ) ∗ ( A ⊃ B ) ∗ := ⊥ , := A ∗ ∧ B ∗ , ( A ∨ B ) ∗ := A ∗ ∨ B ∗ , := A ∗ ⊃ B ∗ , ( ? φ ) ∗ := ∃ x φ ∗ ( x ) . Для задач:
∅ ∗ ( x ) : = ⊥ , ( φ ∧ ψ ) ∗ ( x ) : = ∃ u ∃ v ( x = c ( u , v ) ∧ φ ∗ ( u ) ∧ ψ ∗ ( v ) ) , ( φ ⋎ ψ ) ∗ ( x ) : = ∃ u ( ( x = c ( 0 , u ) ∧ φ ∗ ( u ) ) ∨ ( x = c ( 1 , u ) ∧ ψ ∗ ( u ) ) ) , ( φ → ψ ) ∗ ( x ) : = ∀ v ( φ ∗ ( v ) ⊃ ψ ∗ ( U x ( v ) ) ) , ( ! A ) ∗ ( x ) : = Prf ( x , A ∗ ) . \begin{aligned}
\varnothing^*(x)&:=\bot,\\
(\varphi\land\psi)^*(x)&:=\exists u\,\exists v\,(x=c(u,v)\land\varphi^*(u)\land\psi^*(v)),\\
(\varphi\curlyvee\psi)^*(x)&:=\exists u\,((x=c(0,u)\land\varphi^*(u))\lor(x=c(1,u)\land\psi^*(u))),\\
(\varphi\to\psi)^*(x)&:=\forall v\,(\varphi^*(v)\supset\psi^*(U_x(v))),\\
(!A)^*(x)&:=\operatorname{Prf}(x,A^*).
\end{aligned} ∅ ∗ ( x ) ( φ ∧ ψ ) ∗ ( x ) ( φ ⋎ ψ ) ∗ ( x ) ( φ → ψ ) ∗ ( x ) ( ! A ) ∗ ( x ) := ⊥ , := ∃ u ∃ v ( x = c ( u , v ) ∧ φ ∗ ( u ) ∧ ψ ∗ ( v )) , := ∃ u (( x = c ( 0 , u ) ∧ φ ∗ ( u )) ∨ ( x = c ( 1 , u ) ∧ ψ ∗ ( u ))) , := ∀ v ( φ ∗ ( v ) ⊃ ψ ∗ ( U x ( v ))) , := Prf ( x , A ∗ ) . Подчеркнём, что A ∗ A^* A ∗ всегда является замкнутой формулой — индукцией по построению нетрудно доказать, что перевод любой задачи — формула с (не более чем) одной свободной переменной, а перевод любого высказывания — замкнутая формула.
Определение 3 (значение). Для высказывания A A A положим [ [ A ] ] ∗ : = И [[A]]_*:=\text{И} [[ A ] ] ∗ := И , если формула A ∗ A^* A ∗ истинна в N \mathbb{N} N , и [ [ A ] ] ∗ : = Л [[A]]_*:=\text{Л} [[ A ] ] ∗ := Л иначе. Для задачи φ \varphi φ положим
[ [ φ ] ] ∗ : = { n ∈ N : N ⊨ φ ∗ ( n ) } . [[\varphi]]_*:=\{n\in\mathbb{N}:\mathbb{N}\models\varphi^*(n)\}. [[ φ ] ] ∗ := { n ∈ N : N ⊨ φ ∗ ( n )} . Итак, значение высказывания — истинностное значение, значение задачи — множество натуральных чисел («множество решений», оно же множество реализаций). Индекс ∗ * ∗ в записи [ [ ⋅ ] ] ∗ [[\cdot]]_* [[ ⋅ ] ] ∗ напоминает, что значение зависит от интерпретации.
Лемма 1 (связки ведут себя как обещано). Для любой интерпретации ∗ * ∗ :
⟦ ⊥ ⟧ ∗ = I , и связки ∧ , ∨ , ⊃ на высказываниях действуют классически; (4) \llbracket\bot\rrbracket_* = \mathcal{I},\ \text{и связки }\land,\lor,\supset\text{ на высказываниях действуют классически;} \tag*{(4)} [ [ ⊥ ] ] ∗ = I , и связки ∧ , ∨ , ⊃ на высказываниях действуют классически ; (4)
⟦ ? φ ⟧ ∗ = I ⟺ ⟦ φ ⟧ ∗ ≠ ∅ ; (5) \llbracket?\varphi\rrbracket_* = \mathcal{I} \Longleftrightarrow\llbracket\varphi\rrbracket_* \ne\varnothing; \tag*{(5)} [ [ ? φ ] ] ∗ = I ⟺ [ [ φ ] ] ∗ = ∅ ; (5)
⟦ ∅ ⟧ ∗ = ∅ ; (6) \llbracket\varnothing\rrbracket_* = \varnothing; \tag*{(6)} [ [ ∅ ] ] ∗ = ∅ ; (6)
⟦ φ ∧ ψ ⟧ ∗ = { c ( u , v ) : u ∈ ⟦ φ ⟧ ∗ , v ∈ ⟦ ψ ⟧ ∗ } ; (7) \llbracket\varphi\mathbin{\wedge} \psi\rrbracket_* = \{c(u,v): u \in\llbracket\varphi\rrbracket_*,\ v \in\llbracket\psi\rrbracket_*\}; \tag*{(7)} [ [ φ ∧ ψ ] ] ∗ = { c ( u , v ) : u ∈ [ [ φ ] ] ∗ , v ∈ [ [ ψ ] ] ∗ } ; (7)
⟦ φ ∨ ψ ⟧ ∗ = { c ( 0 , u ) : u ∈ ⟦ φ ⟧ ∗ } ∪ { c ( 1 , v ) : v ∈ ⟦ ψ ⟧ ∗ } ; (8) \llbracket\varphi\mathbin{\vee} \psi\rrbracket_* = \{c(0,u): u \in\llbracket\varphi\rrbracket_*\} \cup\{c(1,v): v \in\llbracket\psi\rrbracket_*\}; \tag*{(8)} [ [ φ ∨ ψ ] ] ∗ = { c ( 0 , u ) : u ∈ [ [ φ ] ] ∗ } ∪ { c ( 1 , v ) : v ∈ [ [ ψ ] ] ∗ } ; (8)
⟦ φ → ψ ⟧ ∗ = { i : для всех u ∈ ⟦ φ ⟧ ∗ значение U i ( u ) определено и лежит в ⟦ ψ ⟧ ∗ } ; (9) \llbracket\varphi\to\psi\rrbracket_* = \{i: \text{для всех }u \in\llbracket\varphi\rrbracket_*\text{ значение }U_i(u)\text{ определено и лежит в }\llbracket\psi\rrbracket_*\}; \tag*{(9)} [ [ φ → ψ ] ] ∗ = { i : для всех u ∈ [ [ φ ] ] ∗ значение U i ( u ) определено и лежит в [ [ ψ ] ] ∗ } ; (9)
в частности ⟦ ∼ φ ⟧ ∗ = N \llbracket\sim\varphi\rrbracket_* = \mathbb{N} [ [ ∼ φ ] ] ∗ = N , если ⟦ φ ⟧ ∗ = ∅ \llbracket\varphi\rrbracket_* = \varnothing [ [ φ ] ] ∗ = ∅ , и ⟦ ∼ φ ⟧ ∗ = ∅ \llbracket\sim\varphi\rrbracket_* = \varnothing [ [ ∼ φ ] ] ∗ = ∅ иначе;
⟦ ! A ⟧ ∗ = { n : n есть номер вывода формулы A ∗ в PA } . (10) \llbracket!A \rrbracket_* = \{n: n\text{ есть номер вывода формулы }A^*\text{ в PA}\}. \tag*{(10)} [ [ ! A ] ] ∗ = { n : n есть номер вывода формулы A ∗ в PA } . (10)
Лемма 2 (двойное отрицание — это ? на стороне задач). Для всякой задачи φ \varphi φ и всякой интерпретации ∗ * ∗
⟦ ∼ ∼ φ ⟧ ∗ = { N , если ⟦ φ ⟧ ∗ ≠ ∅ , ∅ , иначе, то есть ⟦ ∼ ∼ φ ⟧ ∗ ≠ ∅ ⟺ ⟦ ? φ ⟧ ∗ = I . \llbracket\sim\sim\varphi\rrbracket_* =
\begin{cases}
\mathbb{N}, & \text{если }\llbracket\varphi\rrbracket_* \ne\varnothing,\\
\varnothing, & \text{иначе,}
\end{cases}
\qquad\text{то есть }\llbracket\sim\sim\varphi\rrbracket_* \ne\varnothing\Longleftrightarrow\llbracket?\varphi\rrbracket_* = \mathcal{I}. [ [ ∼∼ φ ] ] ∗ = { N , ∅ , если [ [ φ ] ] ∗ = ∅ , иначе , то есть [ [ ∼∼ φ ] ] ∗ = ∅ ⟺ [ [ ? φ ] ] ∗ = I . Более того, PA доказывает ∀ x ( ( ∼ ∼ φ ) ∗ ( x ) ≡ ( ? φ ) ∗ ) \forall x((\sim\sim\varphi)^*(x) \equiv(? \varphi)^*) ∀ x (( ∼∼ φ ) ∗ ( x ) ≡ ( ? φ ) ∗ ) , и вывод этой эквивалентности строится по ∗ * ∗ .
Доказательство — в приложении.
Теоретико-множественная семантика: чёрные ящики
Наряду с арифметической интерпретацией мы рассматриваем ещё одну, теоретико-множественную. Вместе с двумя уровнями общезначимости § 5 всего получается три семантики: I и E (арифметические) и B (чёрные ящики).
Язык. Для новой семантики мы вводим в грамматику, задающую формулы, ещё два правила — по одному на каждый сорт:
φ ← Π α i φ , A ← Π α i A . \varphi\leftarrow\Pi\alpha_i\varphi,\qquad A \leftarrow\Pi\alpha_i A. φ ← Π α i φ , A ← Π α i A .
Оператор Π α \Pi\alpha Π α («равномерно по α \alpha α ») применяется к формулам обоих сортов и связывает вхождения переменной α \alpha α в своей области действия. Кроме того — и это существенно — в семантике B связывающей считается и модальность !: задача !A связывает все задачные переменные, свободные в A. Причина станет ясна из определений: решения задачи !A — выводы одной формулы, а вывод не может зависеть от содержимого ящика.
Свободные и связанные вхождения, переименование связанных переменных и оговорка «θ \theta θ свободна для α \alpha α в φ \varphi φ » понимаются как обычно для кванторов. Через F V ( φ ) FV(\varphi) F V ( φ ) , F V ( A ) FV(A) F V ( A ) обозначаем множество свободных задачных переменных формулы (любого сорта).
Определение 4 (семантика B). В семантике B интерпретация ∗ * ∗ сопоставляет каждой переменной сорта высказывание замкнутую формулу языка ZF (например, арифметическую); переменные-задачи не интерпретируются — это чёрные ящики . Интерпретация — «прозрачная» часть семантики (у неё есть код), ящики — «чёрная» (у ящика кода нет). Перевод определяется теми же пунктами, что в определении 2, с четырьмя изменениями:
α ∗ ( x ) : = ( x ∈ X α ) , ( ! A ) ∗ ( x ) : = Prf Z F ( x , ∀ X ⃗ A ∗ ) , \alpha^{*}(x) := (x \in X_{\alpha}), \qquad(!A)^{*}(x) := \operatorname{Prf}_{\mathrm{ZF}}(x,\forall\vec{X}\, A^{*}), α ∗ ( x ) := ( x ∈ X α ) , ( ! A ) ∗ ( x ) := Prf ZF ( x , ∀ X A ∗ ) ,
( Π α φ ) ∗ ( x ) : = ∀ X α ⊆ ω φ ∗ ( x ) , ( Π α A ) ∗ : = ∀ X α ⊆ ω A ∗ . (\Pi_{\alpha}\varphi)^{*}(x) := \forall X_{\alpha}\subseteq\omega\ \varphi^{*}(x), \qquad(\Pi_{\alpha} A)^{*} := \forall X_{\alpha}\subseteq\omega\ A^{*}. ( Π α φ ) ∗ ( x ) := ∀ X α ⊆ ω φ ∗ ( x ) , ( Π α A ) ∗ := ∀ X α ⊆ ω A ∗ .
Здесь X α X_{\alpha} X α — множественная переменная языка ZF, своя для каждой переменной-задачи α \alpha α : ящики представлены в переводе свободными переменными X α X_{\alpha} X α . В пункте для ! через X ⃗ \vec{X} X обозначены переменные X β X_{\beta} X β для всех задачных переменных β \beta β , свободных в A A A , то есть связываемых этим знаком !; гёделев номер замыкания — числовой терм, и переменные X β X_{\beta} X β в формуле ( ! A ) ∗ (!A)^{*} ( ! A ) ∗ не встречаются. Замыкание ∀ X ⃗ A ∗ \forall\vec{X}\,A^{*} ∀ X A ∗ — это блок кванторов ∀ X β ⊆ ω \forall X_{\beta}\subseteq\omega ∀ X β ⊆ ω по всем таким β \beta β в фиксированном порядке (скажем, по возрастанию индексов переменных). Иначе говоря, ∀ X ⃗ A ∗ \forall\vec{X}\,A^{*} ∀ X A ∗ есть перевод высказывания Π β ⃗ A \Pi_{\vec{\beta}} A Π β A , где β ⃗ \vec{\beta} β — свободные задачные переменные A A A , выписанные в том же порядке, и переводы задач ! A !A ! A и ! Π β ⃗ A !\Pi_{\vec{\beta}} A ! Π β A совпадают. Этим мы воспользуемся при проверке схемы (A6). Кодом интерпретации служит код одной лишь прозрачной части (определение 5): у ящика кода нет.
Значения. О значениях формул в семантике B B B мы говорим только внутри ZF. При данных множествах X α ⊆ ω X_{\alpha}\subseteq\omega X α ⊆ ω значение задачи φ \varphi φ — это множество [ [ φ ] ] ∗ : = { n ∈ ω : φ ∗ ( n ) } [\![\varphi]\!]^{*}:=\{n\in\omega:\varphi^{*}(n)\} [ [ φ ] ] ∗ := { n ∈ ω : φ ∗ ( n )} , существующее по аксиоме выделения; слова «при всяком содержимом ящиков» означают квантор всеобщности по X α X_{\alpha} X α внутри ZF. Можно представлять себе, что рассуждение ведётся в какой-нибудь модели ZF. Но канонической модели у ZF нет, поэтому в определение общезначимости (определение 6) значения не входят.
Замечание 2 (почему ! связывает). Индукцией по построению нетрудно доказать, что перевод A ∗ A^{*} A ∗ любого высказывания A A A — формула, свободными переменными которой могут быть лишь X α X_{\alpha} X α для свободных задачных переменных α \alpha α высказывания A A A , а перевод φ ∗ \varphi^{*} φ ∗ любой задачи может иметь сверх них ещё максимум одну свободную числовую переменную. Решение задачи Π α φ \Pi_{\alpha}\varphi Π α φ — это одно решение φ \varphi φ , годное при любом содержимом ящика α \alpha α ; высказывание Π α A \Pi_{\alpha} A Π α A читается «A A A при любом содержимом ящика α \alpha α ».
Пункт для ! можно было бы записать и короче, Prf Z F ( x , A ∗ ) \operatorname{Prf}_{\mathrm{ZF}}(x,A^{*}) Prf ZF ( x , A ∗ ) , с открытой формулой A ∗ A^{*} A ∗ под знаком номера: выводы открытой формулы — это выводы её замыкания, так что обе записи задают одно и то же множество решений с точностью до вычислимого преобразования. Но вторая запись скрывает квантор, и это опасно.
Вот пример, иллюстрирующий это явление. Рассмотрим задачу φ : = ! ? α \varphi:=!?\,\alpha φ := !? α . Ее интерпретацией является формула φ ∗ = Prf ( y , ∀ X ∃ x ∈ X ) \varphi^{*}=\operatorname{Prf}(y,\forall X\exists x\in X) φ ∗ = Prf ( y , ∀ X ∃ x ∈ X ) . Формула ∀ X ∃ x ( x ∈ X ) \forall X\exists x\ (x\in X) ∀ X ∃ x ( x ∈ X ) опровержима в ZF (ящик ∅ \varnothing ∅ ), и из любого её вывода вместе с фиксированным опровержением эффективно строится вывод формулы ⊥ \bot ⊥ , причём корректность этого преобразования доказуема в ZF; обратно, из вывода ⊥ \bot ⊥ строится вывод чего угодно. Таким образом, наша задача φ \varphi φ равносильна задаче ! ⊥ !\bot ! ⊥ : общезначима формула φ ↔ ! ⊥ \varphi\leftrightarrow!\bot φ ↔ ! ⊥ . (Конец замечания.)
Замечание 3 (об отвергнутой семантике S S S ). Наряду с B B B мы рассматривали ещё одну теоретико-множественную семантику — подстановочную S S S (от слова «substitute»), в двух редакциях. В первой задачные переменные интерпретировались, как в I I I , арифметическими формулами α ∗ ( x ) \alpha^{*}(x) α ∗ ( x ) , и решатель получал их код, а квантор Π \Pi Π читался подстановочно: «φ ∗ \varphi^{*} φ ∗ выполнено при подстановке вместо α \alpha α любой арифметической формулы». Записать это формулой ZF можно только через релятивизацию квантора по ящикам: при вложенных кванторах подстановочные экземпляры φ ∗ \varphi^{*} φ ∗ сами содержат предикат истинности, и по теореме Тарского прямая запись не проходит; поэтому ящик X α X_\alpha X α пробегал арифметически определимые множества, что выражается формулой Def ( X ) \operatorname{Def}(X) Def ( X ) языка ZF (через определимый в ZF предикат истинности для арифметики). Ничего принципиально нового по сравнению с I и B доказать про эту семантику нам не удалось, а сочетание кода подставленной формулы со связывающей модальностью ! ! ! требовало оговорок в схеме ( Π E ) (\Pi E) ( Π E ) и в правиле обобщения. Во второй редакции код был убран вовсе: S — это B, в которой ящики пробегают только арифметически определимые множества (кванторы по X α X_\alpha X α в пунктах для Π \Pi Π и для ! ! ! релятивизованы формулой Def \operatorname{Def} Def ). Такая семантика почти не отличается от B: все положительные результаты переносятся релятивизацией кванторов, а все наши опровержения используют арифметически определимые ящики. Единственная известная нам точка возможного расхождения — предикативность: в S значения Π \Pi Π -содержащих задач лишь определимы в ZF и в диапазон квантора не попадают, поэтому схему ( Π E ) (\Pi E) ( Π E ) удавалось обосновать лишь для Π \Pi Π -свободных θ \theta θ , а замкнутость относительно подстановки — лишь для Π \Pi Π -свободных подставляемых задач; в B квантор не предикативен, и обе оговорки излишни. Платить за семантику, в доказанном ничем не отличающуюся от B, оговорками во всех утверждениях мы не стали и из статьи её исключили. Меняет ли что-нибудь ограничение ящиков определимыми множествами, остаётся открытым вопросом (§ 8 ); попутный довод в пользу определимых ящиков — переводы высказываний ! Π α ⃗ φ !\Pi_{\vec{\alpha}}\varphi ! Π α φ становятся арифметическими относительно 0 ( ω ) 0^{(\omega)} 0 ( ω ) , а не Π 1 1 \Pi^1_1 Π 1 1 -формулами. (Конец замечания.)
Лемма 1 переносится на семантику B (её утверждения доказуемы в ZF); дополнительно ZF доказывает
⟦ Π α φ ⟧ ∗ = ⋂ X ⊆ ω ⟦ φ ⟧ ∗ [ X α : = X ] . \llbracket\Pi_\alpha\varphi\rrbracket_* = \bigcap_{X \subseteq\omega} \llbracket\varphi\rrbracket_*[X_\alpha:= X]. [ [ Π α φ ] ] ∗ = X ⊆ ω ⋂ [ [ φ ] ] ∗ [ X α := X ] .
Параметры трёх семантик собраны в таблице:
Table 5.
Две последние строки вводят два термина, которыми мы будем пользоваться постоянно. Внутренняя теория семантики — та, выводы которой служат решениями задач !A; доказуемость в ней и выражает модальность □ = ? ! \Box= ?! □ = ?! , а Pr, Prf и Con без уточнения относятся к ней. Внешняя теория семантики — та, в которой проверяется общезначимость (§ 5 ): формула считается установленной, если она во внешней теории выводима. Для E внешней теорией служит TA — ее аксиомами являются все истинные в N \mathbb{N} N арифметические предложения, так что «TA ⊢ σ \vdash\sigma ⊢ σ » означает просто истинность σ \sigma σ в N \mathbb{N} N . Во внутренних семантиках I, B внутренняя и внешняя теории совпадают (отсюда и название этих семантик); в E внешняя теория строго сильнее внутренней. Во всех трёх случаях внутренняя теория содержится во внешней.
Общезначимость
Определение
Определение 5 (код интерпретации). Пусть в данной формуле φ \varphi φ встречаются переменные A 1 , … , A k A_1,\ldots,A_k A 1 , … , A k сорта высказывание и α 1 , … , α m \alpha_1,\ldots,\alpha_m α 1 , … , α m сорта задача. Кодом арифметической интерпретации ∗ \ast ∗ (относительно формулы φ \varphi φ ) назовём кортеж
∗ φ : = ⟨ A 1 ∗ , … , A k ∗ , α 1 ∗ , … , α m ∗ ⟩ . \ast_{\varphi} := \langle A_1^\ast,\ldots,A_k^\ast,\alpha_1^\ast,\ldots,\alpha_m^\ast\rangle. ∗ φ := ⟨ A 1 ∗ , … , A k ∗ , α 1 ∗ , … , α m ∗ ⟩ .
Это конечный объект: значения ∗ \ast ∗ на переменных, не входящих в φ \varphi φ , в него не входят. Для семантики B вторую часть кортежа опускаем: задачные переменные там — ящики, кода у них нет.
Определение 6 (общезначимость). Высказывание A A A общезначимо в данной семантике, если при всякой интерпретации ∗ \ast ∗ формула A ∗ A^\ast A ∗ выводима во внешней теории этой семантики. Задача φ \varphi φ общезначима в данной семантике, если существует всюду определённая вычислимая функция S S S такая, что для всякой интерпретации ∗ \ast ∗ значение S ( ∗ φ ) S(\ast_\varphi) S ( ∗ φ ) определено и формула φ ∗ ( S ( ∗ ) ) \varphi^\ast(S(\ast)) φ ∗ ( S ( ∗ )) выводима во внешней теории.2 В семантике B переводы A ∗ A^\ast A ∗ и φ ∗ ( S ( ∗ ) ) \varphi^\ast(S(\ast)) φ ∗ ( S ( ∗ )) могут содержать свободные множественные переменные X ⃗ \vec{X} X — ящики свободных задачных переменных формулы. Выводимостью такой формулы мы называем в B выводимость её замыкания ∀ X ⃗ φ ∗ ( S ( ∗ ) ) \forall\vec{X}\,\varphi^\ast(S(\ast)) ∀ X φ ∗ ( S ( ∗ )) .
Общезначимость в семантике Z Z Z мы называем также Z Z Z -общезначимостью; общезначимость сразу в нескольких семантиках — например, I, B-общезначимостью. Для E выводимость в TA — это истинность в N \mathbb{N} N , то есть принадлежность S ( ∗ ) ∈ [ [ φ ] ] ∗ S(\ast) \in[[\varphi]]^\ast S ( ∗ ) ∈ [[ φ ] ] ∗ ; для I эта принадлежность следует из выводимости, поскольку PA содержится в TA. Для B значения в определение не входят: у ZF нет канонической модели. Если представить себе какую-нибудь модель M M M теории ZF и значения в ней (определение 4), то общезначимая задача решается функцией S S S в M M M при всякой интерпретации и всяком содержимом ящиков; но это не часть определения, а его неформальное понимание.
Замечание 5 (метатеоретические допущения). Все доказательства необщезначимости в семантике B используют предположение о непротиворечивости ZF, что необходимо, поскольку иначе все формулы общезначимы.
Точнее, чтобы доказать необщезначимость задачи φ \varphi φ в этих семантиках, мы должны для любой тотальной вычислимой функции S S S предъявить интерпретацию ∗ \ast ∗ , для которой формула φ ∗ ( S ( ∗ ) ) \varphi^{*}(S(*)) φ ∗ ( S ( ∗ )) не выводима в ZF. Вместо этого мы будем доказывать, что отрицание этой формулы выводимо в ZF. В предположении непротиворечивости это гарантирует невыводимость самой формулы. Аналогичным образом, вместо доказательства невыводимости формулы A ∗ A^{*} A ∗ (для высказывания A A A ) мы будем доказывать выводимость ¬ A ∗ \neg A^{*} ¬ A ∗ . Точно так же мы будем действовать и для арифметических семантик, только в этом случае никаких предположений делать не нужно. В нескольких местах непротиворечивости мало, и мы используем более сильное допущение — Σ 1 \Sigma_{1} Σ 1 -корректность внешней теории: всякое доказуемое в ней арифметическое Σ 1 \Sigma_{1} Σ 1 -предложение истинно; на это всякий раз указывается явно. Других метатеоретических допущений в статье нет: везде речь идёт либо о непротиворечивости внешней теории, либо о её Σ 1 \Sigma_{1} Σ 1 -корректности, а для внешних теорий PA и TA оба свойства имеют место.
Оба допущения — следствие того, что метатеория у нас не фиксирована и остаётся по возможности слабой. При достаточно сильной метатеории, например при формализации в системе Lean, они становятся теоремами: стандартная модель N \mathbb{N} N и модель ZFC из библиотеки Mathlib (кумулятивная иерархия до недостижимого кардинала κ \kappa κ ) там построены, так что непротиворечивость и Σ 1 \Sigma_{1} Σ 1 -корректность PA и ZF доказуемы. Заодно появляется аналог семантики E для ZF: внешняя теория — истинность в этой модели V κ V_{\kappa} V κ , а внутренняя — по-прежнему ZF. (Конец замечания.)
Замечание 6 (другая внутренняя теория). В семантике I арифметика Пеано играет обе роли — внутренней и внешней теории. Вместо неё можно взять любую перечислимую Σ 1 \Sigma_{1} Σ 1 -корректную теорию T T T , содержащую PA (или интерпретирующую арифметику), например ZF: переменные-высказывания интерпретируются замкнутыми формулами T T T , переменные-задачи — формулами T T T с одной свободной переменной, пробегающей натуральные числа, решения задачи ! A !A ! A — выводы формулы A ∗ A^{*} A ∗ в T T T , а общезначимость — выводимость в T T T . Обозначим эту семантику I T I_{T} I T , так что I = I P A I=I_{\mathrm{PA}} I = I PA . Всё, что ниже доказано о семантике I, переносится на I T I_{T} I T вместе с доказательствами: в них используются лишь Σ 1 \Sigma_{1} Σ 1 -полнота, лемма о неподвижной точке, формализуемость реализуемости и россеровское предложение — свойства, общие для всех таких теорий; для T = Z F T=\mathrm{ZF} T = ZF соответствующие выкладки и проведены ниже при разборе семантики B. Отметим, что I Z F I_{\mathrm{ZF}} I ZF — не то же самое, что B без квантора: в B модальность ! связывает задачные переменные, и, например, высказывание □ ? α ⊃ □ ⊥ \Box? \alpha\supset\Box\bot □ ? α ⊃ □ ⊥ B-общезначимо (замечание [15 ] ), а в I Z F I_{\mathrm{ZF}} I ZF — нет (возьмите α ∗ ( x ) : = ( x = x ) \alpha^{*}(x):=(x=x) α ∗ ( x ) := ( x = x ) ). Совпадают ли множества общезначимых задач в I и I Z F I_{\mathrm{ZF}} I ZF , мы не знаем: перенос доказательств для этого недостаточен, а полноты на задачах нет. (Конец замечания.)
Замечание 7 (вывод формулы находится перебором). Заметим, что в определении I, B-общезначимости выводы формул A ∗ A^{*} A ∗ и φ ∗ ( S ( ∗ ) ) \varphi^{*}(S(*)) φ ∗ ( S ( ∗ )) можно найти перебором. Например, для формулы A ∗ A^{*} A ∗ : по коду ∗ * ∗ вычисляется сама формула A ∗ A^{*} A ∗ (перевод ⋅ ↦ ∗ \cdot\mapsto* ⋅ ↦ ∗ из определения 2 — вычислимая операция над кодами), отношение Prf \operatorname{Prf} Prf разрешимо, а перебор по предположению останавливается при каждом ∗ * ∗ ; значит функция P : ∗ ↦ P:*\mapsto P : ∗ ↦ «первый найденный вывод формулы A ∗ A^{*} A ∗ » всюду определена и вычислима.
Замечание 8 (три возможных понятия и почему выбрано среднее). В определении общезначимости задачи φ \varphi φ можно потребовать
(а) ∀ ∗ ∃ e ∈ ⟦ φ ⟧ ∗ ; (б) ∃ S ∀ ∗ S ( ∗ ) ∈ ⟦ φ ⟧ ∗ ; (в) ∃ e ∀ ∗ e ∈ ⟦ φ ⟧ ∗ . \text{(а)}\quad\forall*\ \exists e\in\llbracket\varphi\rrbracket_{*};\qquad
\text{(б)}\quad\exists S\ \forall*\ S(*)\in\llbracket\varphi\rrbracket_{*};\qquad
\text{(в)}\quad\exists e\ \forall*\ e\in\llbracket\varphi\rrbracket_{*}. ( а ) ∀ ∗ ∃ e ∈ [ [ φ ] ] ∗ ; ( б ) ∃ S ∀ ∗ S ( ∗ ) ∈ [ [ φ ] ] ∗ ; ( в ) ∃ e ∀ ∗ e ∈ [ [ φ ] ] ∗ .
где в (б) функция S S S вычислима. Очевидно, (в) влечёт (б), а (б) влечёт (а). Крайние понятия не годятся оба.
При определении (а) выбор решения ничем не стеснён, и фрагмент задач становится классическим: общезначима α ∨ ∼ α \alpha\vee\sim\alpha α ∨ ∼ α , закон Пирса и вообще все классические тавтологии (предложение 24 ниже показывает, что при (б) этого уже нет).
Понятие (в) — слишком сильное. Уже задача ! ( B ⊃ B ) !(B \supset B) ! ( B ⊃ B ) не будет общезначима: её решения при интерпретации ∗ * ∗ — это выводы формулы B ∗ ⊃ B ∗ B^* \supset B^* B ∗ ⊃ B ∗ , а одного числа, годного при всех ∗ * ∗ , нет, поскольку у разных формул разные выводы. Между тем хотелось бы, чтобы все интуиционистски выводимые формулы были общезначимы. При (б) всё в порядке: вывод формулы B ∗ ⊃ B ∗ B^* \supset B^* B ∗ ⊃ B ∗ эффективно строится по B ∗ B^* B ∗ . (Конец замечания.)
Замечание 9 (выбор нумерации, спаривания и кодирования не важен). В определениях 2–5 было сделано три произвольных выбора: гёделева нумерация U 0 , U 1 , … U_0, U_1, \ldots U 0 , U 1 , … , спаривающая функция c c c и способ кодирования интерпретации в ∗ * ∗ . Ни один из них не влияет на то, какие формулы общезначимы — ни в одной из семантик. Обоснование — в приложении.
Мы закончим этот раздел доказательством того, что общезначимость сохраняется при подстановках формул вместо переменных, а также при применении правила Modus Ponens (MP).
Лемма 3 (замкнутость). В арифметических семантиках множество общезначимых формул замкнуто относительно правила (MP) и относительно подстановки: задач — вместо свободных переменных-задач, высказываний — вместо переменных-высказываний.
Для семантики В аналог этой леммы верен не для всех подстановок. Вот контрпример: высказывание ? Π α ( β ∨ ∼ β ) ?\Pi\alpha(\beta\vee\sim\beta) ? Π α ( β ∨ ∼ β ) общезначимо в В: формулу ∃ x ( β ∨ ∼ β ) ∗ ( x ) \exists x\,(\beta\vee\sim\beta)^*(x) ∃ x ( β ∨ ∼ β ) ∗ ( x ) теория ZF доказывает разбором случаев: если значение β \beta β непусто, скажем выполнено β ∗ ( u ) \beta^*(u) β ∗ ( u ) , то решением служит c ( 0 , u ) c(0,u) c ( 0 , u ) , а иначе — c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) . Если подставить α \alpha α вместо β \beta β , получится высказывание ? Π α ( α ∨ ∼ α ) ?\Pi\alpha(\alpha\vee\sim\alpha) ? Π α ( α ∨ ∼ α ) , которое ZF опровергает : решение вида c ( 0 , u ) c(0,u) c ( 0 , u ) отвергается ящиком ∅ \varnothing ∅ , а решение вида c ( 1 , e ) c(1,e) c ( 1 , e ) — ящиком { 0 } \{0\} { 0 } , поскольку метка 1 обещает пустоту значения.
Для семантики В нам будет достаточно этой леммы для так называемых безопасных подстановок . По определению, это подстановки со следующими двумя свойствами:
Свободные задачные переменные подставляемой формулы не должны попадать под связывающий квантор Π \Pi Π . Это явление называется захватом переменных , необходимость запрещения захвата мы только что продемонстрировали контрпримером.
Аналогично, свободные задачные переменные подставляемой формулы не должны попадать под связывающую модальность ! ! ! . Это ограничение касается только подстановок высказываний вместо переменных-высказываний: при подстановке задачи вместо задачной переменной оно выполнено автоматически, поскольку свободные вхождения задачной переменной под знаком ! ! ! не лежат. Пример нарушения: ! A → ! ! α !A \to!!\alpha ! A → !! α . Необходимость этого ограничения мы не можем продемонстрировать примером: мы не знаем, необходимо ли оно в самом деле.
Лемма 4 (замкнутость). В семантике В множество общезначимых формул замкнуто относительно правила (MP) и относительно безопасных подстановок.
Доказательство лемм — в приложении.
Схема (A4)
Единственная схема о высказываниях, которая станет аксиомой, — это группа (A4), утверждающая, что модальность ? ? ? — булев гомоморфизм; здесь мы проверим её общезначимость. В этом и двух следующих подразделах все утверждения формулируются и доказываются сразу для всех трёх семантик.
Лемма 5 (? — булев гомоморфизм на уровне переводов). Для любых задач φ \varphi φ , ψ \psi ψ следующие эквивалентности доказуемы в внутренней теории (а потому и во внешней), причём выводы вычислимо строятся по коду интерпретации:
( ? ( φ → ψ ) ) ∗ ≡ ( ( ? φ ) ∗ ⊃ ( ? ψ ) ∗ ) , ( ? ( φ ∧ ψ ) ) ∗ ≡ ( ( ? φ ) ∗ ∧ ( ? ψ ) ∗ ) , ( ? ( φ ∨ ψ ) ) ∗ ≡ ( ( ? φ ) ∗ ∨ ( ? ψ ) ∗ ) , ( ? ∅ ) ∗ ≡ ⊥ . \begin{aligned}
(?(\varphi\to\psi))^{*} &\equiv((?\varphi)^{*} \supset(?\psi)^{*}), \qquad&(?(\varphi\land\psi))^{*} &\equiv((?\varphi)^{*} \land(?\psi)^{*}),\\
(?(\varphi\lor\psi))^{*} &\equiv((?\varphi)^{*} \lor(?\psi)^{*}), \qquad&(?\varnothing)^{*} &\equiv\bot.
\end{aligned} ( ? ( φ → ψ ) ) ∗ ( ? ( φ ∨ ψ ) ) ∗ ≡ (( ? φ ) ∗ ⊃ ( ? ψ ) ∗ ) , ≡ (( ? φ ) ∗ ∨ ( ? ψ ) ∗ ) , ( ? ( φ ∧ ψ ) ) ∗ ( ? ∅ ) ∗ ≡ (( ? φ ) ∗ ∧ ( ? ψ ) ∗ ) , ≡ ⊥.
Доказательство. Для конъюнкции: формула ? ( φ ∧ ψ ) ∗ ?( \varphi\land\psi)^{*} ? ( φ ∧ ψ ) ∗ есть ∃ x ∃ u ∃ v ( x = c ( u , v ) ∧ φ ∗ ( u ) ∧ ψ ∗ ( v ) ) \exists x \exists u \exists v (x = c(u,v) \land\varphi^{*}(u) \land\psi^{*}(v)) ∃ x ∃ u ∃ v ( x = c ( u , v ) ∧ φ ∗ ( u ) ∧ ψ ∗ ( v )) , и внутренняя теория доказывает её эквивалентность конъюнкции ∃ u φ ∗ ( u ) ∧ ∃ v ψ ∗ ( v ) \exists u \varphi^{*}(u) \land\exists v \psi^{*}(v) ∃ u φ ∗ ( u ) ∧ ∃ v ψ ∗ ( v ) : слева направо — проекции пары, справа налево — построение пары. Так же для дизъюнкции, с разбором того, какая из меток c ( 0 , u ) c(0,u) c ( 0 , u ) , c ( 1 , v ) c(1,v) c ( 1 , v ) стоит. Для ∅ \varnothing ∅ : ( ? ∅ ) ∗ (?\varnothing)^{*} ( ? ∅ ) ∗ есть ∃ x ⊥ \exists x \bot ∃ x ⊥ .
Для импликации слева направо внутренняя теория доказывает ∃ x ( φ → ψ ) ∗ ( x ) ⊃ ( ∃ y φ ∗ ( y ) ⊃ ∃ z ψ ∗ ( z ) ) \exists x (\varphi\to\psi)^{*}(x) \supset(\exists y \varphi^{*}(y) \supset\exists z \psi^{*}(z)) ∃ x ( φ → ψ ) ∗ ( x ) ⊃ ( ∃ y φ ∗ ( y ) ⊃ ∃ z ψ ∗ ( z )) — это чистая логика. Справа налево нужна работа: надо предъявить индекс. Внутренняя теория доказывает ( ∃ u φ ∗ ( u ) ⊃ ∃ v ψ ∗ ( v ) ) ⊃ ∃ x ( φ → ψ ) ∗ ( x ) (\exists u \varphi^{*}(u) \supset\exists v \psi^{*}(v)) \supset\exists x (\varphi\to\psi)^{*}(x) ( ∃ u φ ∗ ( u ) ⊃ ∃ v ψ ∗ ( v )) ⊃ ∃ x ( φ → ψ ) ∗ ( x ) разбором двух случаев. Если ¬ ∃ u φ ∗ ( u ) \neg\exists u \varphi^{*}(u) ¬∃ u φ ∗ ( u ) , то условие в ( φ → ψ ) ∗ ( x ) (\varphi\to\psi)^{*}(x) ( φ → ψ ) ∗ ( x ) пусто и годится любое x x x . Если же ∃ v ψ ∗ ( v ) \exists v \psi^{*}(v) ∃ v ψ ∗ ( v ) , то, взяв наименьшее такое v v v , годится x : = k ( v ) x := k(v) x := k ( v ) , где k k k — всюду определённая вычислимая функция, дающая по v v v номер постоянной функции u ↦ v u \mapsto v u ↦ v (теорема о параметризации). Разбор случаев здесь классический — это остаточная классичность нашей семантики, к которой мы ещё вернёмся (замечание 17). Все выкладки одинаковы в PA и ZF; в B они проводятся поверх свободных множественных переменных X α X_{\alpha} X α , которые ни в разборе случаев, ни в построении пар не участвуют.
Безмодальные задачи: схемы Int
Перейдём к задачам и начнём с самого простого их класса — задач без модальностей, то есть построенных из переменных и константы ∅ \varnothing ∅ связками → \to → , ∧ \land ∧ , ∨ \lor ∨ . Будущие аксиомы (A2) — схемы интуиционистского исчисления Int — общезначимы.
Предложение 6 (схемы Int общезначимы). Всякая задача, выводимая в интуиционистском исчислении, общезначима во всех трёх семантиках, причём с постоянной решающей функцией.
Доказательство. Клиниевские реализации схем аксиом Int строятся из номеров, доставляемых теоремой о параметризации, и от интерпретации не зависят; корректность каждой реализации доказуема во внутренней теории, и вывод строится по коду: выкладки одни и те же в PA и ZF, а в B они проводятся поверх свободных множественных переменных. Правило (MP) сохраняет общезначимость по леммам 3 и 4.
Всё остальное, что мы знаем об общезначимых безмодальных задачах — в частности, что классических схем среди них нет, а интуиционистскими они не исчерпываются, — удобнее доказывать после теоремы корректности; это сделано в § 6.10 .
Общезначимые задачи с модальностями
О множестве всех общезначимых задач — с модальностями — мы знаем гораздо меньше. Оно (в каждой из трёх семантик) замкнуто относительно (MP) и подстановки — в B безопасной (леммы 3 и 4). Здесь мы проверим общезначимость тех схем с модальностями, которые станут аксиомами исчислений § 6 для семантик I и B: схемы (A3) и схем (A5) и (A7) о задачах специального вида. Аксиомы исчисления для E — рефлексия (A8) и её аналог для задач (A9) — будут проверены при его определении.
Предложение 7 (схема (A3)). Для любых высказываний A A A , B B B задача ! ( A ⊃ B ) → ( ! A → ! B ) !(A \supset B) \to(!A \to!B) ! ( A ⊃ B ) → ( ! A → ! B ) общезначима во всех трёх семантиках.
Доказательство. В I и E: функция, строящая по выводам формул A ∗ ⊃ B ∗ A^* \supset B^* A ∗ ⊃ B ∗ и A ∗ A^* A ∗ во внутренней теории вывод формулы B ∗ B^* B ∗ по правилу modus ponens, вычислима; теорема о параметризации даёт постоянную решающую функцию S S S , и её корректность доказуема во внешней теории. В B то же, с поправкой на связывание: решения задач ! ( A ⊃ B ) !(A \supset B) ! ( A ⊃ B ) , ! A !A ! A , ! B !B ! B — выводы замыканий формул A ∗ ⊃ B ∗ A^* \supset B^* A ∗ ⊃ B ∗ , A ∗ A^* A ∗ , B ∗ B^* B ∗ по свободным переменным соответствующих высказываний. Из вывода формулы ∀ X ⃗ A ( A ∗ ⊃ B ∗ ) \forall\vec{X}_A (A^* \supset B^*) ∀ X A ( A ∗ ⊃ B ∗ ) и вывода формулы ∀ X ⃗ A A ∗ \forall\vec{X}_A A^* ∀ X A A ∗ строится вывод формулы ∀ X ⃗ B B ∗ \forall\vec{X}_B B^* ∀ X B B ∗ : переменные, свободные в A A A , но не в B B B , инстанцируем множеством ∅ \varnothing ∅ , после чего остаются modus ponens и обобщение. Преобразование вычислимо, решатель постоянен, его корректность доказуема в ZF.
Σ \Sigma Σ -задачи
Выделим класс задач, заданный грамматически; он появится в аксиомах (A5) и (A7) исчислений (§ 6 ).
Определение 7 (Σ \Sigma Σ -задачи и Σ \Sigma Σ -высказывания). Σ \Sigma Σ -задачами называем задачи, построенные по грамматике
φ : : = ∅ ∣ ! A ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ ) , \varphi::= \varnothing\mid!A \mid(\varphi\mathbin{\wedge} \varphi) \mid(\varphi\mathbin{\vee} \varphi), φ ::= ∅ ∣ ! A ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ ) , где A A A — произвольное высказывание. Иначе говоря, Σ \Sigma Σ -задача собирается из задач вида ! A !A ! A и константы ∅ \varnothing ∅ одними лишь ∧ \wedge ∧ и ∨ \vee ∨ : переменные сорта задача, импликация и, значит, отрицание сюда не входят. Например, ! A !A ! A , ! A ∨ ! B !A \vee!B ! A ∨ ! B и ( ! A ∧ ! B ) ∨ ! C (!A \wedge!B) \vee!C ( ! A ∧ ! B ) ∨ ! C — Σ \Sigma Σ -задачи, а α \alpha α , ∼ ! A \sim!A ∼ ! A и ! A → ! B !A \to!B ! A → ! B — нет. В семантике B у Σ \Sigma Σ -задачи нет свободных задачных переменных: все её задачные переменные стоят под ! ! ! и связаны этим знаком.
Σ \Sigma Σ -высказываниями называем высказывания, построенные по грамматике
A : : = ⊥ ∣ ? φ ∣ ( A ∧ A ) ∣ ( A ∨ A ) , A ::= \bot\mid?\varphi\mid(A \wedge A) \mid(A \vee A), A ::= ⊥ ∣ ? φ ∣ ( A ∧ A ) ∣ ( A ∨ A ) , где φ \varphi φ пробегает Σ \Sigma Σ -задачи. Переменных сорта высказывание, импликации и отрицания здесь снова нет. В нашем исчислении всякое такое высказывание будет эквивалентно комбинации из ⊥ \bot ⊥ и формул □ B \Box B □ B при помощи ∧ \wedge ∧ и ∨ \vee ∨ : ? ∅ ≡ ⊥ ? \varnothing\equiv\bot ? ∅ ≡ ⊥ , ? ! B ≡ □ B ?!B \equiv\Box B ?! B ≡ □ B , а ? ? ? проходит сквозь ∧ \wedge ∧ и ∨ \vee ∨ . В частности, □ B \Box B □ B — Σ \Sigma Σ -высказывание при любом B B B .
Проверим две схемы о Σ \Sigma Σ -задачах, которые станут аксиомами (A5) и (A7).
Лемма 8. Существует всюду определённая вычислимая функция, которая по Σ \Sigma Σ -задаче φ \varphi φ и коду ∗ * ∗ выдаёт номер программы, перечисляющей множество ∣ φ ∣ ∗ \lvert\varphi\rvert_* ∣ φ ∣ ∗ . Более того, внешняя теория доказывает, что эта программа перечисляет в точности множество, задаваемое формулой φ ∗ \varphi^* φ ∗ .
Доказательство. Индукция по построению φ \varphi φ , с опорой на лемму 1. Для φ = ∅ \varphi=\varnothing φ = ∅ — пустой перебор. Для φ = ! A \varphi={!A} φ = ! A множество [ [ ! A ] ] ∗ [\![!A]\!]_{*} [ [ ! A ] ] ∗ — это выводы формулы A ∗ A^{*} A ∗ (в B — её замыкания), а «n n n есть вывод данной формулы» — разрешимое отношение, так что годится перебор всех n n n с проверкой. Для φ = ψ ∧ χ \varphi=\psi\mathbin{\wedge}\chi φ = ψ ∧ χ перечисляем пары c ( u , v ) c(u,v) c ( u , v ) по перечислениям [ [ ψ ] ] ∗ [\![\psi]\!]_{*} [ [ ψ ] ] ∗ и [ [ χ ] ] ∗ [\![\chi]\!]_{*} [ [ χ ] ] ∗ , для φ = ψ ∨ χ \varphi=\psi\mathbin{\vee}\chi φ = ψ ∨ χ — элементы c ( 0 , u ) c(0,u) c ( 0 , u ) и c ( 1 , v ) c(1,v) c ( 1 , v ) , чередуя два перечисления. В B перевод φ ∗ \varphi^{*} φ ∗ свободных множественных переменных не содержит, и рассуждение то же. □ \square □
Предложение 9 (схемы (A5) и (A7)). Для всякой Σ \Sigma Σ -задачи φ \varphi φ во всех трёх семантиках общезначимы задачи
(A5) φ → ! ? φ \varphi\to!?\,\varphi φ → !? φ (ко-рефлексия) и (A7) ∼ ∼ φ → φ \sim\!\sim\varphi\to\varphi ∼ ∼ φ → φ (снятие двойного отрицания).
Доказательство. Перевод φ ∗ \varphi^{*} φ ∗ — Σ 1 \Sigma_{1} Σ 1 -формула: пункт для ! A !A ! A даёт разрешимое отношение Prf \operatorname{Prf} Prf , а пункты для ∧ \wedge ∧ и ∨ \vee ∨ навешивают лишь ∧ \wedge ∧ , ∨ \vee ∨ и ∃ \exists ∃ .
(A5). Решение задачи ( ! ? φ ) ∗ (!?\varphi)^{*} ( !? φ ) ∗ — вывод формулы ∃ x φ ∗ ( x ) \exists x\,\varphi^{*}(x) ∃ x φ ∗ ( x ) во внутренней теории. Пусть e e e — номер программы, которая, получив что угодно на вход, перебирает все числа и выдаёт первое найденное число, являющееся выводом формулы ∃ x φ ∗ ( x ) \exists x\,\varphi^{*}(x) ∃ x φ ∗ ( x ) во внутренней теории; положим S ( ∗ ) : = e S(*) := e S ( ∗ ) := e . Если [ [ φ ] ] ∗ = ∅ [\![\varphi]\!]_{*}=\varnothing [ [ φ ] ] ∗ = ∅ , проверять нечего. Если же u ∈ [ [ φ ] ] ∗ u\in[\![\varphi]\!]_{*} u ∈ [ [ φ ] ] ∗ , то ∃ x φ ∗ ( x ) \exists x\,\varphi^{*}(x) ∃ x φ ∗ ( x ) — истинное Σ 1 \Sigma_{1} Σ 1 -предложение, по Σ 1 \Sigma_{1} Σ 1 -полноте внутренней теории оно выводимо, перебор останавливается, и U e ( u ) U_e(u) U e ( u ) — его вывод. Выводимость во внешней теории: она доказывает φ ∗ ( u ) ⊃ Pr ( ∃ x φ ∗ ( x ) ) \varphi^{*}(u)\supset\operatorname{Pr}(\exists x\,\varphi^{*}(x)) φ ∗ ( u ) ⊃ Pr ( ∃ x φ ∗ ( x )) (формализованная Σ 1 \Sigma_{1} Σ 1 -полнота), а при Pr ( ∃ x φ ∗ ( x ) ) \operatorname{Pr}(\exists x\,\varphi^{*}(x)) Pr ( ∃ x φ ∗ ( x )) перебор останавливается на первом найденном выводе (формализация неограниченного поиска, как ниже в (A7)). Итак, внешняя теория доказывает ∀ u ( φ ∗ ( u ) ⊃ Prf ( U e ( u ) , ∃ x φ ∗ ( x ) ) ) \forall u\;(\varphi^{*}(u)\supset\operatorname{Prf}(U_e(u),\exists x\,\varphi^{*}(x))) ∀ u ( φ ∗ ( u ) ⊃ Prf ( U e ( u ) , ∃ x φ ∗ ( x ))) .
(A7). По лемме 8 по ∗ * ∗ строится алгоритм, перечисляющий множество [ [ φ ] ] ∗ [\![\varphi]\!]_{*} [ [ φ ] ] ∗ . Пусть e e e — номер программы, которая, получив что угодно на вход, запускает этот перебор и выдаёт первый найденный элемент; положим S ( ∗ ) : = e S(*) := e S ( ∗ ) := e . Если [ [ ∼ ∼ φ ] ] ∗ = ∅ [\![\sim\!\sim\varphi]\!]_{*}=\varnothing [ [ ∼ ∼ φ ] ] ∗ = ∅ , проверять нечего. Если же [ [ ∼ ∼ φ ] ] ∗ = N [\![\sim\!\sim\varphi]\!]_{*}=\mathbb{N} [ [ ∼ ∼ φ ] ] ∗ = N , то по лемме 2 множество [ [ φ ] ] ∗ [\![\varphi]\!]_{*} [ [ φ ] ] ∗ непусто, перебор останавливается, и U e ( u ) ∈ [ [ φ ] ] ∗ U_e(u)\in[\![\varphi]\!]_{*} U e ( u ) ∈ [ [ φ ] ] ∗ при всех u u u . Выводимость во внешней теории: по лемме 2 формула ( ∼ ∼ φ ) ∗ ( u ) (\sim\!\sim\varphi)^{*}(u) ( ∼ ∼ φ ) ∗ ( u ) доказуемо эквивалентна ∃ v φ ∗ ( v ) \exists v\,\varphi^{*}(v) ∃ v φ ∗ ( v ) , а по лемме 8 внешняя теория доказывает, что перечисление отвечает формуле φ ∗ \varphi^{*} φ ∗ ; значит она доказывает и то, что при ∃ v φ ∗ ( v ) \exists v\,\varphi^{*}(v) ∃ v φ ∗ ( v ) перебор останавливается на первом найденном свидетеле (обычная формализация ограниченного поиска). Итак, внешняя теория доказывает ∀ u ( ( ∼ ∼ φ ) ∗ ( u ) ⊃ φ ∗ ( U e ( u ) ) ) \forall u\;((\sim\!\sim\varphi)^{*}(u)\supset\varphi^{*}(U_e(u))) ∀ u (( ∼ ∼ φ ) ∗ ( u ) ⊃ φ ∗ ( U e ( u ))) , и вывод строится по ∗ * ∗ .
Во всех случаях выкладки одинаковы в PA и ZF; в B переводы Σ \Sigma Σ -задач свободных множественных переменных не содержат. □ \square □
Семантика B: оператор Π \Pi Π
Все факты подразделов 5.2–5.4 уже доказаны сразу для всех трёх семантик; новое в этом подразделе — сам оператор Π \Pi Π . Напомним мотивировку из введения. Под знаком ? ? ? конструктивное содержание задачи теряется: высказывание ? ( α ∨ ¬ α ) ?( \alpha\mathbin{\vee}\neg\alpha) ? ( α ∨ ¬ α ) общезначимо тривиально (PA — классическая теория и доказывает ∃ x ( α ∨ ¬ α ) ∗ ( x ) \exists x\,(\alpha\mathbin{\vee}\neg\alpha)^{*}(x) ∃ x ( α ∨ ¬ α ) ∗ ( x ) разбором случаев при каждой фиксированной интерпретации), и точно так же тривиально общезначимо ? ρ ? \rho ? ρ для формулы Роуза (§ 6.10 ), хотя сама задача ρ \rho ρ решается нетривиальным алгоритмом. Квантор Π \Pi Π возвращает потерянное: позже мы докажем (§ 6.7 ), что высказывание ? Π α ( α ∨ ¬ α ) ? \Pi_{\alpha}(\alpha\mathbin{\vee}\neg\alpha) ? Π α ( α ∨ ¬ α ) опровержимо — общезначимо его отрицание, — а ? Π / Π γ ρ ? \Pi/\Pi\gamma_{\rho} ? Π/Π γ ρ — содержательно общезначимое высказывание. Здесь же мы проверим общезначимость законов самого оператора; они станут аксиомами исчисления для B.
Предложение 10 (законы Π). В B общезначимы следующие формулы (в скобках — реализатор задач; все реализаторы постоянны).
(ΠE): Π α φ → φ [ θ / α ] \Pi\alpha\ \varphi\to\varphi[\theta/\alpha] Π α φ → φ [ θ / α ] и Π α A ⊃ A [ θ / α ] \Pi\alpha\ A \supset A[\theta/\alpha] Π α A ⊃ A [ θ / α ] , если θ \theta θ свободна для α \alpha α (для задачи реализатор тождественный: перевод φ [ θ / α ] \varphi[\theta/\alpha] φ [ θ / α ] получается из φ ∗ \varphi^{*} φ ∗ подстановкой множества { x : θ ∗ ( x ) } \{x : \theta^{*}(x)\} { x : θ ∗ ( x )} вместо X α X_{\alpha} X α — знаков ! подстановка не задевает, поскольку свободные вхождения α \alpha α под ними не лежат, — а пересечение по всем ящикам содержится в значении при этом ящике; для высказывания ZF доказывает перевод тем же инстанцированием квантора ∀ X α \forall X_{\alpha} ∀ X α );
(Π⋎): Π α ( φ ⋎ ψ ) → Π α φ ⋎ Π α ψ \Pi\alpha(\varphi\mathbin{\curlyvee} \psi) \to\Pi\alpha\ \varphi\mathbin{\curlyvee} \Pi\alpha\ \psi Π α ( φ ⋎ ψ ) → Π α φ ⋎ Π α ψ (тождественный; существенно, что метка решения фиксирована: решение посылки — пара из метки и решения e e e , и та же метка с тем же e e e годится при всяком ящике);
(Π!): ! A ↔ ! Π α A !A \leftrightarrow!\Pi\alpha\ A ! A ↔ ! Π α A (реализатор — преобразование выводов: решения посылки — выводы замыкания ∀ X ⃗ A ∗ \forall\vec{X}\ A^{*} ∀ X A ∗ , решения заключения — выводы замыкания ∀ X ⃗ ′ ∀ X α A ∗ \forall\vec{X}'\ \forall X_{\alpha}\ A^{*} ∀ X ′ ∀ X α A ∗ , где X ⃗ ′ \vec{X}' X ′ — ящики остальных свободных задачных переменных A A A ; эти формулы отличаются лишь порядком кванторов (а при α ∉ F V ( A ) \alpha\notin FV(A) α ∈ / F V ( A ) — лишним квантором), и если α \alpha α стоит в X ⃗ \vec{X} X последней, они совпадают; перестановка кванторов в выводе — вычислимое преобразование, корректность которого доказуема в ZF).
Все рассуждения проводятся в ZF поверх свободных множественных переменных.
Кроме этих аксиом исчислению для B понадобится одно правило — правило Бернайса : из φ → ψ \varphi\to\psi φ → ψ вывести φ → Π α ψ \varphi\to\Pi\alpha\ \psi φ → Π α ψ при α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) (и так же для высказываний). Оно сохраняет общезначимость — это проверяется вместе с остальными правилами в теореме 15. Остальные привычные законы квантора — обобщение, Π α φ ↔ φ \Pi\alpha\ \varphi\leftrightarrow\varphi Π α φ ↔ φ при α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) , дистрибутивность относительно импликации и конъюнкции, обратная к (Π⋎) импликация — будут выведены из (ΠE) и правила Бернайса (лемма 14).
Сводка: таблица общезначимости
Таблица 1 сводит общезначимость всех схем, которые в § 6 станут аксиомами исчислений (схемы (A8) и (A9) исчисления для E разобраны в § 6.3 ). Обозначения: + — общезначима; − — не общезначима (с допущениями замечания 5); · — не выражается в данной семантике (нет Π). В последнем столбце указано, где это доказано; общезначимость схемы (A6) будет получена в § 6 выводом в исчислении (теорема 15).
Исчисления
Для каждой из трёх семантик мы определяем исчисление, корректное относительно неё: HCI, HCB и HCE. Аксиомы — в точности схемы из таблицы 1, отмеченные плюсом в соответствующем столбце. Общезначимость всех аксиом исчислений для I и B, кроме (A6), доказана в § 5 , аксиом (A8) и (A9) исчисления для E — в § 6.3 ; схему (A6) мы не станем проверять напрямую — она будет выведена из остальных аксиом и леммы о неподвижной точке (теорема 15).
Table 1 (PDF p. 80). Аксиомы исчислений и их общезначимость в трёх семантиках
Исчисление для семантики I
Определение 8 (система HCI). Схемы аксиом:
(A1) классические тавтологии (сорт высказывание);
(A2) схемы аксиом интуиционистской логики (сорт задача);
(A3) ! ( A ⊃ B ) → ( ! A → ! B ) !(A \supset B) \to(!A \to!B) ! ( A ⊃ B ) → ( ! A → ! B ) ;
(A4) ? ? ? — булев гомоморфизм:
(A4a) ? ( φ → ψ ) ≡ ( ? φ ⊃ ? ψ ) ?( \varphi\to\psi) \equiv(? \varphi\supset? \psi) ? ( φ → ψ ) ≡ ( ? φ ⊃ ? ψ ) ,
(A4b) ? ( φ ∧ ψ ) ≡ ( ? φ ∧ ? ψ ) ?(\varphi\land\psi) \equiv(? \varphi\land? \psi) ? ( φ ∧ ψ ) ≡ ( ? φ ∧ ? ψ ) ,
(A4c) ? ( φ ∨ ψ ) ≡ ( ? φ ∨ ? ψ ) ?(\varphi\lor\psi) \equiv(? \varphi\lor? \psi) ? ( φ ∨ ψ ) ≡ ( ? φ ∨ ? ψ ) ,
(A4d) ? ∅ ≡ ⊥ ? \varnothing\equiv\bot ? ∅ ≡ ⊥ ;
(A5) φ → ! ? φ \varphi\to!?\varphi φ → !? φ для Σ \Sigma Σ -задач φ \varphi φ (ко-рефлексия на классе Σ \Sigma Σ );
(A6) ! ( □ A ⊃ A ) → ! A !(\Box A \supset A) \to!A ! ( □ A ⊃ A ) → ! A (конструктивный вариант теоремы Лёба);
(A7) ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ для Σ \Sigma Σ -задач φ \varphi φ .
Во всех схемах A A A , B B B — произвольные высказывания, φ \varphi φ , ψ \psi ψ — произвольные задачи (а в (A7) — произвольные задачи указанного класса); схема обозначает множество всех своих частных случаев. Все формулы здесь Π \Pi Π -свободные. Правила вывода:
A , A ⊃ B B и φ , φ → ψ ψ (для обоих сортов); \frac{A,\ A \supset B}{B}
\quad\text{и} \quad
\frac{\varphi,\ \varphi\to\psi}{\psi}
\qquad\text{(для обоих сортов);} B A , A ⊃ B и ψ φ , φ → ψ ( для обоих сортов ); A ! A из высказывания — задача; \frac{A}{!A}
\qquad\text{из высказывания — задача;} ! A A из высказывания — задача ; φ ? φ из задачи — высказывание. \frac{\varphi}{?\varphi}
\qquad\text{из задачи — высказывание.} ? φ φ из задачи — высказывание . Названия правил читаются как «assertion to problem» и «problem to assertion»: (AtoP) по высказыванию A A A даёт задачу ! A !A ! A «найти доказательство A A A », а (PtoA) по задаче φ \varphi φ даёт высказывание ? φ ?\varphi ? φ «у φ \varphi φ есть решение».
Частный случай σ : = ! A \sigma:= !A σ := ! A схемы (A5) — задача ! A → ! □ A !A \to!\Box A ! A → ! □ A : по выводу формулы A A A можно построить вывод формулы □ A \Box A □ A .
Через HCI− обозначаем то же исчисление без схем (A6) и (A7). Оно понадобится потому, что схему Лёба мы не будем проверять напрямую: она будет выведена в HCI−
из леммы о неподвижной точке. Через H C 0 HC^{0} H C 0 (ядро) обозначаем ещё меньшую систему: схемы (A1), (A2), (A3), левая половина (A4a), (A4b)–(A4d), (A5) и все три правила вывода. Ядро — это ровно та часть нашей аксиоматики, которая содержится в логике HC Мелихова.
Исчисление для семантики B
Определение 9 (система HCB). Формулы — формулы полного языка с квантором Π \Pi Π (§ 4.2 ). Аксиомы системы HCB — схемы (A1)–(A7) и аксиомы оператора Π \Pi Π :
( Π E ) (для обоих сортов) , ( Π ⋏ ) , ( Π ! ) . (\Pi\mathrm{E}) \qquad\text{(для обоих сортов)}, \qquad(\Pi\curlywedge), \qquad(\Pi!). ( Π E ) ( для обоих сортов ) , ( Π ⋏ ) , ( Π !) . (формулировки — предложение 10; в ( Π E ) (\Pi\mathrm{E}) ( Π E ) подразумевается, что θ \theta θ свободна для α \alpha α ). Правила вывода: (MP), (AtoP), (PtoA) и правило Бернайса для обоих сортов
( B e r n ) φ → ψ φ → Π α ψ и A ⊃ B A ⊃ Π α B (для обоих сортов) , (\mathrm{Bern})\qquad\frac{\varphi\to\psi}{\varphi\to\Pi_{\alpha}\psi}\qquad\text{и}\qquad\frac{A \supset B}{A \supset\Pi_{\alpha}B}\qquad\text{(для обоих сортов)}, ( Bern ) φ → Π α ψ φ → ψ и A ⊃ Π α B A ⊃ B ( для обоих сортов ) , где α \alpha α не входит свободно в посылку φ \varphi φ (соответственно A A A ).
Таким образом, бескванторная часть аксиоматики HCB совпадает с HCI; что даёт кванторный слой, обсуждается в § 6.7 .
Исчисление для семантики E
Определение 10 (система HCE). Аксиомы системы HCE — все теоремы HCI, а также схемы
( A 8 ) □ A ⊃ A (рефлексия) , ( A 9 ) ! ? φ → ∼ ∼ φ (рефлексия для задач) (A8)\quad\Box A \supset A\quad\text{(рефлексия)},\qquad(A9)\quad!?\varphi\to\sim\sim\varphi\quad\text{(рефлексия для задач)} ( A 8 ) □ A ⊃ A ( рефлексия ) , ( A 9 ) !? φ →∼∼ φ ( рефлексия для задач ) (A A A — произвольное высказывание, φ \varphi φ — произвольная задача). Правила вывода: (MP) и (PtoA); правила (AtoP) нет.
Предложение 11 (схемы (A8) и (A9) и семантики). Пусть A A A — переменная сорта высказывание, α \alpha α — переменная сорта задача.
Схемы (A8) и (A9) E-общезначимы.
Схемы (A8) и (A9) не I- и не B-общезначимы: не общезначимы уже их экземпляры □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ и ! ? ∅ → ∼ ∼ ∅ !? \varnothing\to\sim\sim\varnothing !? ∅ →∼∼ ∅ .
Задача ! ( □ ⊥ ⊃ ⊥ ) !(\Box\bot\supset\bot) ! ( □ ⊥ ⊃ ⊥ ) не общезначима ни в одной из трёх семантик.
Ни задача ! ? α → α !? \alpha\to\alpha !? α → α , ни обратная к ней ко-рефлексия α → ! ? α \alpha\to!?\alpha α → !? α не общезначимы ни в одной из трёх семантик.
Доказательство. (1) Схема (A8). В E: если [ [ ? ! A ] ] ∗ = И [\![?!A]\!]_{*} = И [ [ ?! A ] ] ∗ = И , то P A ⊢ A ∗ \mathrm{PA} \vdash A^{*} PA ⊢ A ∗ , и формула A ∗ A^{*} A ∗ истинна, поскольку внутренняя теория PA содержится во внешней TA.
Схема (A9). В E годится S ( ∗ ) : = e S(*) := e S ( ∗ ) := e , где e e e — номер постоянной функции u ↦ 0 u \mapsto0 u ↦ 0 ; он один и тот же при всех ∗ * ∗ , так что никакого разбора случаев алгоритм не делает. Проверим, что этот номер подходит. Если [ [ ! ? φ ] ] ∗ = ∅ [\![!? \varphi]\!]_{*} = \varnothing [ [ !? φ ] ] ∗ = ∅ , то [ [ ! ? φ → ∼ ∼ φ ] ] ∗ = N [\![!? \varphi\to\sim\sim\varphi]\!]_{*} = \mathbb{N} [ [ !? φ →∼∼ φ ] ] ∗ = N и годится любой номер. Если же [ [ ! ? φ ] ] ∗ ≠ ∅ [\![!? \varphi]\!]_{*} \ne\varnothing [ [ !? φ ] ] ∗ = ∅ , то P A ⊢ ∃ x φ ∗ ( x ) \mathrm{PA} \vdash\exists x\,\varphi^{*}(x) PA ⊢ ∃ x φ ∗ ( x ) , и отсюда [ [ φ ] ] ∗ ≠ ∅ [\![\varphi]\!]_{*} \ne\varnothing [ [ φ ] ] ∗ = ∅ , и по лемме 2 [ [ ∼ ∼ φ ] ] ∗ = N [\![\sim\sim\varphi]\!]_{*} = \mathbb{N} [ [ ∼∼ φ ] ] ∗ = N ; значит U e U_{e} U e попадает в [ [ ∼ ∼ φ ] ] ∗ [\![\sim\sim\varphi]\!]_{*} [ [ ∼∼ φ ] ] ∗ при любом входе. (2) Схема (A8). Перевод формулы □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ рефлексии есть Con, а непротиворечивость внутренней теории в ней самой (она же внешняя) не выводима — вторая теорема Гёделя.
Схема (A9). Во внутренних семантиках не общезначима уже формула ! ? ∅ → ¬ ¬ ∅ !? \varnothing\to\neg\neg\varnothing !? ∅ → ¬¬ ∅ . В самом деле, задача ¬ ¬ ∅ \neg\neg\varnothing ¬¬ ∅ доказуемо эквивалентна ∅ \varnothing ∅ , а ( ? ∅ ) ∗ (?\varnothing)^{*} ( ? ∅ ) ∗ — формуле ⊥ \bot ⊥ (лемма 5), так что перевод задачи ! ? ∅ → ¬ ¬ ∅ !? \varnothing\to\neg\neg\varnothing !? ∅ → ¬¬ ∅ доказуемо эквивалентен переводу задачи ¬ ! ⊥ \neg!\bot ¬ ! ⊥ , то есть формуле ∀ v ( Prf ( v , ⊥ ) ⊃ ⊥ ) \forall v\,(\operatorname{Prf}(v,\bot) \supset\bot) ∀ v ( Prf ( v , ⊥ ) ⊃ ⊥ ) , доказуемо эквивалентной Con; а непротиворечивость внутренней теории в ней самой (она же внешняя) не выводима — вторая теорема Гёделя.
(3) Допустим, что эта задача общезначима, и обозначим через S S S её решатель. Применив его к формуле ⊥ \bot ⊥ получим натуральное число n n n , для которого внешняя теория доказывает формулу Prf ( n , □ ⊥ ⊃ ⊥ ) \operatorname{Prf}(n,\Box\bot\supset\bot) Prf ( n , □ ⊥ ⊃ ⊥ ) . Это Σ 0 0 \Sigma^{0}_{0} Σ 0 0 -предложение; будь оно ложно, его отрицание было бы доказуемо (Σ 1 \Sigma_{1} Σ 1 -полнота) вопреки непротиворечивости внешней теории. Значит оно истинно: n n n — вывод формулы □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ во внутренней теории, то есть внутренняя теория доказывает собственную непротиворечивость — вопреки второй теореме Гёделя.
(4) Для арифметических семантик: фиксируем перечислимое неразрешимое множество X ⊂ N X \subset\mathbb{N} X ⊂ N и выразим свойство n ∈ X n \in X n ∈ X арифметической сигма формулой ∃ x A ( x , n ) \exists x A(x,n) ∃ x A ( x , n ) . Положим α n ∗ ( x ) : = ( x = 0 ∧ ¬ A ( x , n ) ) ∨ ( x = 1 ∧ A ( x , n ) ) \alpha^{*}_{n}(x) := (x = 0 \land\neg A(x,n)) \lor(x = 1 \land A(x,n)) α n ∗ ( x ) := ( x = 0 ∧ ¬ A ( x , n )) ∨ ( x = 1 ∧ A ( x , n )) . Тогда PA доказывает ∃ x α n ∗ ( x ) \exists x\,\alpha^{*}_{n}(x) ∃ x α n ∗ ( x ) при всяком натуральном n n n , так что ⟦ ! ? α ⟧ n ∗ ≠ ∅ \llbracket!?\alpha\rrbracket^{*}_{n} \ne\varnothing [ [ !? α ] ] n ∗ = ∅ , а ⟦ α ⟧ n ∗ \llbracket\alpha\rrbracket^{*}_{n} [ [ α ] ] n ∗ есть { 0 } \{0\} { 0 } или { 1 } \{1\} { 1 } смотря по тому, принадлежит ли n n n к X X X ; решение выдавало бы разрешающий алгоритм для X X X .
Эта формула не является чистой, поэтому в теоретико-множественной семантике доказательство совсем другое. Равносильная ей чистая формула ! ? β → α !? \beta\to\alpha !? β → α равносильна ! ⊥ → α !\bot\to\alpha ! ⊥ → α и не общезначима: её экземпляр при α : = ∅ \alpha:= \varnothing α := ∅ — задача ¬ ! ⊥ \neg!\bot ¬ ! ⊥ , перевод которой доказуемо эквивалентен Con, так что при непротиворечивости ZF решений у неё нет.
Ко-рефлексия. Для арифметических семантик допустим, что существует алгоритм S S S , доказуемо доставляющий по ∗ * ∗ решение задачи ( α → ! ? α ) ∗ (\alpha\to!?\alpha)^{*} ( α → !? α ) ∗ . Положим α ∗ \alpha^{*} α ∗ равной Con (без свободных переменных), то есть, арифметической формуле, выражающей непротиворечивость внутренней теории. Положим n = S ( ∗ ) n = S(*) n = S ( ∗ ) . Тогда во внешней теории доказуема формула
( α → ! ? α ) ∗ ( n ) = ∀ x ( Con ⊃ Prf ( U n ( x ) , ∃ y Con ) ) , (\alpha\to!?\alpha)^{*}(n) = \forall x(\operatorname{Con} \supset\operatorname{Prf}(U_{n}(x),\exists y\,\operatorname{Con})), ( α → !? α ) ∗ ( n ) = ∀ x ( Con ⊃ Prf ( U n ( x ) , ∃ y Con )) ,
которая доказуемо влечёт
Con ⊃ ∃ z Prf ( z , Con ) . \operatorname{Con} \supset\exists z\operatorname{Prf}(z,\operatorname{Con}). Con ⊃ ∃ z Prf ( z , Con ) .
Между тем, по второй теореме Гёделя во внутренней (а значит и во внешней) теории выводимо
Con ⊃ ¬ ∃ z Prf ( z , Con ) . \operatorname{Con} \supset\neg\exists z\operatorname{Prf}(z,\operatorname{Con}). Con ⊃ ¬∃ z Prf ( z , Con ) .
Следовательно, во внешней теории выводима ложная формула ¬ Con \neg\operatorname{Con} ¬ Con .
Для семантики B сначала заметим, что переменная α \alpha α в заключении формулы α → ! ? α \alpha\to!?\alpha α → !? α связана, поэтому она означает совсем не то, что означает переменная α \alpha α в посылке. Равносильная ей чистая формула α → ! ? β \alpha\to!?\beta α → !? β равносильна формуле α → ! ⊥ \alpha\to!\bot α → ! ⊥ (замечание 2), а та не общезначима: её экземпляр при α : = ¬ ∅ \alpha:= \neg\varnothing α := ¬ ∅ равносилен задаче ! ⊥ !\bot ! ⊥ , у которой при непротиворечивости ZF решений нет. ∎
Теперь видно, почему в HCE нет правила (AtoP): высказывание □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ E-общезначимо (частный случай (A8), пункт (1)), а применение к нему правила (AtoP) даёт задачу ! ( □ ⊥ ⊃ ⊥ ) !(\Box\bot\supset\bot) ! ( □ ⊥ ⊃ ⊥ ) , не общезначимую ни в одной семантике (пункт (3)).
Замечание 10 (зачем (A9) и почему её нельзя усилить). Схема (A9) — это в точности рефлексия, перенесённая на сорт задач: высказывание ? φ ? \varphi ? φ и задача ∼ ∼ φ \sim\sim\varphi ∼∼ φ имеют, как показывает лемма 2, один и тот же смысл «у φ \varphi φ есть решение», и (A9) говорит: если доказано, что решение есть, то оно есть. Усилить её до ! ? φ → φ !? \varphi\to\varphi !? φ → φ нельзя: уже для переменной эта задача не общезначима (предложение 11(4)). Двойное отрицание в правой части — ровно то ослабление, которое стирает эту информацию: по лемме 1(6) множество [ [ ∼ ∼ φ ] ] ∗ [\![\sim\sim\varphi]\!]_\ast [ [ ∼∼ φ ] ] ∗ есть N \mathbb{N} N или ∅ \varnothing ∅ , и выбирать в нём нечего.
Корректность всех трёх исчислений — теорема 15 (§ 6.6 ); сначала — производные правила и примеры выводов.
Еще один естественный вопрос: почему в (A5) и (A7) взяты именно такие классы задач. Краткий ответ: мы взяли наибольшие естественные синтаксически определяемые классы задач, для которых эти схемы общезначимы. Более подробный ответ — в разделе B в Приложении.
Производные правила вывода
Предложение 12. В исчислениях HCI− ^{-} − , HCI, HCB допустимы правила вывода (1), (4), (5) и верны лемма о дедукции (2) и лемма о переводе выводов (3). В HCE, где нет правила (AtoP), верны лемма о дедукции (2), вторая половина леммы (3) и правило (4); правила (1), (5) и первая половина леммы (3) опираются на (AtoP).
(1) правило необходимости для □ \Box □ : из A можно вывести □ A \Box A □ A .
(2) Лемма о дедукции. Будем выводом из гипотез φ 1 , … , φ n \varphi_1,\ldots,\varphi_n φ 1 , … , φ n называть вывод с использованием только правила (MP), в котором в качестве аксиом используются формулы φ 1 , … , φ n \varphi_1,\ldots,\varphi_n φ 1 , … , φ n и любые выводимые в HCI− ^{-} − формулы. Тогда, если существует вывод задачи χ \chi χ из гипотез φ 1 , … , φ n \varphi_1,\ldots,\varphi_n φ 1 , … , φ n , то в HCI− ^{-} − выводима задача
φ 1 → ( φ 2 → ( … ( φ n → χ ) … ) ) . \varphi_1 \to(\varphi_2 \to(\ldots(\varphi_n \to\chi)\ldots)). φ 1 → ( φ 2 → ( … ( φ n → χ ) … )) . Буквы здесь греческие: гипотезы и заключение — задачи. Аналогичное верно для высказываний и для HCI.
(3) Лемма о переводе выводов. Если высказывание A выводимо из гипотез B 1 , … , B n B_1,\ldots,B_n B 1 , … , B n в HCI− ^{-} − , то задача ! A !A ! A выводима из гипотез ! B 1 , … , ! B n !B_1,\ldots,!B_n ! B 1 , … , ! B n в HCI− ^{-} − . Аналогично, если задача χ \chi χ выводима из гипотез φ 1 , … , φ n \varphi_1,\ldots,\varphi_n φ 1 , … , φ n в HCI− ^{-} − , то высказывание ? χ ?\chi ? χ выводимо из гипотез ? φ 1 , … , ? φ n ? \varphi_1,\ldots,? \varphi_n ? φ 1 , … , ? φ n в HCI− ^{-} − . Аналогичное верно и для HCI.
(4) правило (? → \to → ): Из φ → ψ \varphi\to\psi φ → ψ можно вывести ? φ ⊃ ? ψ ? \varphi\supset? \psi ? φ ⊃ ? ψ .
(5) правило (! → \to → ): Из A ⊃ B A \supset B A ⊃ B можно вывести ! A → ! B !A \to!B ! A → ! B .
Доказательство. (1) (AtoP), затем (PtoA).
(2) Годится обычное доказательство леммы о дедукции.
(3) Пусть дан вывод высказывания A из гипотез B 1 , … , B n B_1,\ldots,B_n B 1 , … , B n в HCI− ^{-} − . Заменим в этом выводе каждое высказывание C на задачу ! C !C ! C . В результате этой замены все выводимые в HCI− ^{-} − формулы (принимаемые в качестве аксиом) превратятся по правилу (AtoP) снова в выводимые формулы. Гипотезы B 1 , … , B n B_1,\ldots,B_n B 1 , … , B n превратятся в данные нам гипотезы ! B 1 , … , ! B n !B_1,\ldots,!B_n ! B 1 , … , ! B n , а последняя формула A A A — в искомую формулу ! A !A ! A . Однако полученная последовательность формул перестанет быть выводом по правилу MP. Но это легко исправить, поскольку если формула U U U получена из формул V V V и V ⊃ U V \supset U V ⊃ U по правилу MP, то из формул ! V !V ! V и ! ( V ⊃ U ) !(V \supset U) ! ( V ⊃ U ) и аксиомы (A3) можно вывести ! U !U ! U , применив дважды MP. Второй перевод обосновывается так же, только вместо (AtoP) применяется (PtoA), а вместо (A3) — левая половина (A4a): из ? V ?V ? V и ? ( V → U ) ?(V \to U) ? ( V → U ) она даёт ? U ?U ? U .
(4) По (PtoA) и левой половине (A4a).
(5) По (AtoP) и (A3).
Далее мы докажем лемму о замене на эквивалентную формулу. Она требует аккуратности: наши формулы двусортны, и заменяемая подформула может стоять под модальностями. Подчеркнём заранее, что никакие аксиомы «внутрь модальности» при этом не вносятся: замена под знаками ! ! ! и ? ? ? производится подъёмом выводимой эквивалентности сквозь модальность правилами (AtoP) и (PtoA), а они применимы именно потому, что эквивалентность — теорема.
Лемма 13 (о замене на эквивалентную формулу). Пусть в HCI− выводима эквивалентность C ≡ D C \equiv D C ≡ D (высказывания) или χ ↔ χ ′ \chi\leftrightarrow\chi' χ ↔ χ ′ (задачи), и формула E ′ E' E ′ (любого сорта) получена из формулы E E E заменой некоторых вхождений подформулы C C C на D D D (соответственно χ \chi χ на χ ′ \chi' χ ′ ). Тогда в HCI− выводима эквивалентность E ≡ E ′ E \equiv E' E ≡ E ′ или E ↔ E ′ E \leftrightarrow E' E ↔ E ′ , смотря по сорту E E E . То же верно в HCI, в HCE и — для формул с квантором Π \Pi Π — в HCB.
Доказательство. Индукция по построению формулы E E E . Если E E E — заменяемое вхождение, то эквивалентность дана по условию; если же вхождений внутри E E E нет, то E = E ′ E = E' E = E ′ .
Шаг разбирается по главной связке E E E . Связки высказываний: если ⊢ E 1 ≡ E 1 ′ \vdash E_1 \equiv E_1' ⊢ E 1 ≡ E 1 ′ и ⊢ E 2 ≡ E 2 ′ \vdash E_2 \equiv E_2' ⊢ E 2 ≡ E 2 ′ , то ⊢ ( E 1 ⋆ E 2 ) ≡ ( E 1 ′ ⋆ E 2 ′ ) \vdash(E_1 \star E_2) \equiv(E_1' \star E_2') ⊢ ( E 1 ⋆ E 2 ) ≡ ( E 1 ′ ⋆ E 2 ′ ) для ⋆ ∈ { ∧ , ∨ , ⊃ } \star\in\{\land,\lor,\supset\} ⋆ ∈ { ∧ , ∨ , ⊃ } , поскольку ( X ≡ X ′ ) ⊃ ( ( Y ≡ Y ′ ) ⊃ ( ( X ⋆ Y ) ≡ ( X ′ ⋆ Y ′ ) ) ) (X \equiv X') \supset((Y \equiv Y') \supset((X \star Y) \equiv(X' \star Y'))) ( X ≡ X ′ ) ⊃ (( Y ≡ Y ′ ) ⊃ (( X ⋆ Y ) ≡ ( X ′ ⋆ Y ′ ))) — классическая тавтология, схема (A1); остаётся (MP).
Связки задач: аналогичные конгруэнц-схемы ( φ ↔ φ ′ ) → ( ( ψ ↔ ψ ′ ) → ( ( φ ⋆ ψ ) ↔ ( φ ′ ⋆ ψ ′ ) ) ) (\varphi\leftrightarrow\varphi') \to((\psi\leftrightarrow\psi') \to((\varphi\star\psi) \leftrightarrow(\varphi' \star\psi'))) ( φ ↔ φ ′ ) → (( ψ ↔ ψ ′ ) → (( φ ⋆ ψ ) ↔ ( φ ′ ⋆ ψ ′ ))) для ⋆ ∈ { ∧ , ∨ , → } \star\in\{\land,\lor,\to\} ⋆ ∈ { ∧ , ∨ , → } выводимы в Int, то есть входят в (A2).
Модальность ! ! ! : пусть ⊢ A ≡ A ′ \vdash A \equiv A' ⊢ A ≡ A ′ . Из обеих импликаций по (A1) получаем ⊢ A ⊃ A ′ \vdash A \supset A' ⊢ A ⊃ A ′ и ⊢ A ′ ⊃ A \vdash A' \supset A ⊢ A ′ ⊃ A ; правило ( ! → ) (! \to) ( ! → ) даёт ! A → ! A ′ !A \to!A' ! A → ! A ′ и ! A ′ → ! A !A' \to!A ! A ′ → ! A .
Модальность ? ? ? : аналогично, только вместо ( ! → ) (! \to) ( ! → ) используем ( ? → ) (? \to) ( ? → ) .
Квантор Π \Pi Π (в HCB): пусть ⊢ φ ↔ φ ′ \vdash\varphi\leftrightarrow\varphi' ⊢ φ ↔ φ ′ . По (ΠE) выводима Π α φ → φ \Pi\alpha\varphi\to\varphi Π α φ → φ , по (A2) — φ → φ ′ \varphi\to\varphi' φ → φ ′ , их композиция — Π α φ → φ ′ \Pi\alpha\varphi\to\varphi' Π α φ → φ ′ ; переменная α \alpha α в Π α φ \Pi\alpha\varphi Π α φ свободно не входит, и правило Бернайса даёт Π α φ → Π α φ ′ \Pi\alpha\varphi\to\Pi\alpha\varphi' Π α φ → Π α φ ′ ; симметрично обратная импликация. Для высказываний Π α A \Pi\alpha A Π α A то же, с высказывательной (ΠE), правилом Бернайса и схемами (A1).
Для исчислений с квантором нужны ещё производные законы самого Π \Pi Π .
Лемма 14 (производные законы Π \Pi Π ). В HCB выводимы следующие задачи.
Π α φ ↔ φ \Pi\alpha\varphi\leftrightarrow\varphi Π α φ ↔ φ , если α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) .
(Π → \to → ): Π α ( φ → ψ ) ↔ ( φ → Π α ψ ) \Pi\alpha(\varphi\to\psi) \leftrightarrow(\varphi\to\Pi\alpha\psi) Π α ( φ → ψ ) ↔ ( φ → Π α ψ ) , если α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) .
Π α Π β φ ↔ Π β Π α φ \Pi\alpha\Pi\beta\varphi\leftrightarrow\Pi\beta\Pi\alpha\varphi Π α Π β φ ↔ Π β Π α φ .
(4) ( Π ∧ ) (\Pi\land) ( Π ∧ ) : Π α ( φ ∧ ψ ) ↔ Π α φ ∧ Π α ψ \Pi_{\alpha}(\varphi\land\psi) \leftrightarrow\Pi_{\alpha}\varphi\land\Pi_{\alpha}\psi Π α ( φ ∧ ψ ) ↔ Π α φ ∧ Π α ψ , а также обратная к аксиоме ( Π ∨ ) (\Pi\lor) ( Π ∨ ) импликация Π α φ ∨ Π α ψ → Π α ( φ ∨ ψ ) \Pi_{\alpha}\varphi\lor\Pi_{\alpha}\psi\to\Pi_{\alpha}(\varphi\lor\psi) Π α φ ∨ Π α ψ → Π α ( φ ∨ ψ ) .
Те же утверждения верны и для высказываний: Π α A ≡ A \Pi_{\alpha} A \equiv A Π α A ≡ A при α ∉ F V ( A ) \alpha\notin FV(A) α ∈ / F V ( A ) ; Π α ( A ⊃ B ) ≡ ( A ⊃ Π α B ) \Pi_{\alpha}(A \supset B) \equiv(A \supset\Pi_{\alpha}B) Π α ( A ⊃ B ) ≡ ( A ⊃ Π α B ) при α ∉ F V ( A ) \alpha\notin FV(A) α ∈ / F V ( A ) ; Π α Π β A ≡ Π β Π α A \Pi_{\alpha}\Pi_{\beta} A \equiv\Pi_{\beta}\Pi_{\alpha} A Π α Π β A ≡ Π β Π α A ; Π α ( A ∧ B ) ≡ Π α A ∧ Π α B \Pi_{\alpha}(A \land B) \equiv\Pi_{\alpha}A \land\Pi_{\alpha}B Π α ( A ∧ B ) ≡ Π α A ∧ Π α B и Π α A ∨ Π α B ⊃ Π α ( A ∨ B ) \Pi_{\alpha}A \lor\Pi_{\alpha}B \supset\Pi_{\alpha}(A \lor B) Π α A ∨ Π α B ⊃ Π α ( A ∨ B ) .
Доказательство. Всюду ниже «правило Бернайса» применяется к импликации, в посылку которой α \alpha α свободно не входит; это каждый раз видно по виду посылки.
(1) Импликация Π α φ → φ \Pi_{\alpha}\varphi\to\varphi Π α φ → φ — это ( Π E ) (\Pi E) ( Π E ) при θ : = α \theta:= \alpha θ := α ; обратная получается правилом Бернайса из теоремы φ → φ \varphi\to\varphi φ → φ .
(2) Слева направо: из ( Π E ) (\Pi E) ( Π E ) Π α ( φ → ψ ) → ( φ → ψ ) \Pi_{\alpha}(\varphi\to\psi) \to(\varphi\to\psi) Π α ( φ → ψ ) → ( φ → ψ ) в Int выводима φ ∧ Π α ( φ → ψ ) → ψ \varphi\land\Pi_{\alpha}(\varphi\to\psi) \to\psi φ ∧ Π α ( φ → ψ ) → ψ ; правило Бернайса даёт φ ∧ Π α ( φ → ψ ) → Π α ψ \varphi\land\Pi_{\alpha}(\varphi\to\psi) \to\Pi_{\alpha}\psi φ ∧ Π α ( φ → ψ ) → Π α ψ , и остаётся снова перейти к импликации в Int. Справа налево: из ( Π E ) (\Pi E) ( Π E ) Π α ψ → ψ \Pi_{\alpha}\psi\to\psi Π α ψ → ψ в Int выводима ( φ → Π α ψ ) → ( φ → ψ ) (\varphi\to\Pi_{\alpha}\psi) \to(\varphi\to\psi) ( φ → Π α ψ ) → ( φ → ψ ) ; правило Бернайса даёт ( φ → Π α ψ ) → Π α ( φ → ψ ) (\varphi\to\Pi_{\alpha}\psi) \to\Pi_{\alpha}(\varphi\to\psi) ( φ → Π α ψ ) → Π α ( φ → ψ ) .
(3) Из ( Π E ) (\Pi E) ( Π E ) дважды выводима Π α Π β φ → φ \Pi_{\alpha}\Pi_{\beta}\varphi\to\varphi Π α Π β φ → φ ; правило Бернайса по α \alpha α , затем по β \beta β даёт Π α Π β φ → Π β Π α φ \Pi_{\alpha}\Pi_{\beta}\varphi\to\Pi_{\beta}\Pi_{\alpha}\varphi Π α Π β φ → Π β Π α φ ; обратная импликация симметрична.
(4) ( Π ∧ ) (\Pi\land) ( Π ∧ ) слева направо: из ( Π E ) (\Pi E) ( Π E ) и проекций Int выводимы Π α ( φ ∧ ψ ) → φ \Pi_{\alpha}(\varphi\land\psi) \to\varphi Π α ( φ ∧ ψ ) → φ и Π α ( φ ∧ ψ ) → ψ \Pi_{\alpha}(\varphi\land\psi) \to\psi Π α ( φ ∧ ψ ) → ψ ; правило Бернайса к каждой и ∧ \land ∧ -введение. Справа налево: из ( Π E ) (\Pi E) ( Π E ) дважды Π α φ ∧ Π α ψ → φ ∧ ψ \Pi_{\alpha}\varphi\land\Pi_{\alpha}\psi\to\varphi\land\psi Π α φ ∧ Π α ψ → φ ∧ ψ , затем правило Бернайса.
Обратная к ( Π ∨ ) (\Pi\lor) ( Π ∨ ) импликация: из ( Π E ) (\Pi E) ( Π E ) и Int выводима Π α φ → φ ∨ ψ \Pi_{\alpha}\varphi\to\varphi\lor\psi Π α φ → φ ∨ ψ , правило Бернайса даёт Π α φ → Π α ( φ ∨ ψ ) \Pi_{\alpha}\varphi\to\Pi_{\alpha}(\varphi\lor\psi) Π α φ → Π α ( φ ∨ ψ ) ; так же для Π α ψ \Pi_{\alpha}\psi Π α ψ ; остаётся ∨ \lor ∨ -исключение в Int.
Для высказываний выводы те же, с высказывательной аксиомой ( Π E ) (\Pi E) ( Π E ) , правилом Бернайса для высказываний и классическими тавтологиями вместо теорем Int.
Примеры выводов
Пример 1. Приведем примеры выводов в исчислениях HCI−, HCI, HCE. Некоторые из них нам понадобятся далее; в каждом пункте указано, в каком именно исчислении ведётся вывод.
(1) В HCI− выводима □ \Box □ -версия (A3): □ ( A ⊃ B ) ⊃ ( □ A ⊃ □ B ) \Box(A \supset B) \supset(\Box A \supset\Box B) □ ( A ⊃ B ) ⊃ ( □ A ⊃ □ B ) . Для вывода применим ( ? → ) (? \to) ( ? → ) к (A3), затем (A4a) и Лемму о замене на эквивалентную формулу.
(2) В HCI− выводимо A ⊃ □ A A \supset\Box A A ⊃ □ A для всякого Σ \Sigma Σ -высказывания A A A (Σ 1 \Sigma_{1} Σ 1 -полнота на стороне высказываний); в частности выводима □ \Box □ -версия (A5), схема □ A ⊃ □ □ A \Box A \supset\Box\Box A □ A ⊃ □□ A , поскольку □ A \Box A □ A — Σ \Sigma Σ -высказывание. Сначала заметим, что всякое Σ \Sigma Σ -высказывание A A A выводимо эквивалентно высказыванию ? σ A ? \sigma_{A} ? σ A для некоторой Σ \Sigma Σ -задачи σ A \sigma_{A} σ A : по (A4d) ⊥ ≡ ? ∅ \bot\equiv?\varnothing ⊥ ≡ ? ∅ , по (A4b) и (A4c) ? σ ∧ ? τ ≡ ? ( σ ∧ τ ) ? \sigma\land? \tau\equiv?(\sigma\land\tau) ? σ ∧ ? τ ≡ ? ( σ ∧ τ ) и ? σ ∨ ? τ ≡ ? ( σ ∨ τ ) ? \sigma\lor? \tau\equiv?(\sigma\lor\tau) ? σ ∨ ? τ ≡ ? ( σ ∨ τ ) , а задачи ∅ \varnothing ∅ , σ ∧ τ \sigma\land\tau σ ∧ τ , σ ∨ τ \sigma\lor\tau σ ∨ τ снова лежат в классе Σ \Sigma Σ ; остаётся индукция по построению A A A с леммой 13. Теперь аксиома (A5) даёт σ A → ! ? σ A \sigma_{A} \to!? \sigma_{A} σ A → !? σ A , правило ( ? → ) (? \to) ( ? → ) — ? σ A ⊃ □ ? σ A ? \sigma_{A} \supset\Box? \sigma_{A} ? σ A ⊃ □ ? σ A , и лемма 13 заменяет ? σ A ? \sigma_{A} ? σ A на A A A в обеих частях.
(3) В HCI выводимо
(D4) □ ( □ A ⊃ A ) ⊃ □ A (теорема Лёба) \text{(D4)}\quad\Box(\Box A \supset A) \supset\Box A \quad\text{(теорема Лёба)} (D4) □ ( □ A ⊃ A ) ⊃ □ A ( теорема Лёба )
Применим ( ? → ) (? \to) ( ? → ) к (A6).
(4) В HCE выводимы формулы ∼ ! ⊥ \sim!\bot ∼ ! ⊥ и ¬ □ ⊥ \neg\Box\bot ¬ □ ⊥ . Сначала применим правило ( ! → ) (! \to) ( ! → ) к формуле ⊥ ⊃ ? ∅ \bot\supset?\varnothing ⊥ ⊃ ? ∅ , классической тавтологии (A1). Мы получим формулу ! ⊥ ⊃ ! ? ∅ !\bot\supset!?\varnothing ! ⊥ ⊃ !? ∅ . Далее, схема (A9) при φ = ∅ \varphi= \varnothing φ = ∅ даёт ! ∅ → ∼ ∼ ∅ !\varnothing\to\sim\sim\varnothing ! ∅ →∼∼ ∅ , а ∼ ∼ ∅ → ∅ \sim\sim\varnothing\to\varnothing ∼∼ ∅ → ∅ — интуиционистская теорема. Итого ! ⊥ → ∅ !\bot\to\varnothing ! ⊥ → ∅ , то есть ∼ ! ⊥ \sim!\bot ∼ ! ⊥ . Теперь применим к этой формуле (? → \to → ), получим □ ⊥ → ? ∅ \Box\bot\to?\varnothing □ ⊥ → ? ∅ . Наконец, воспользовавшись (A4d), получим □ ⊥ → ⊥ \Box\bot\to\bot □ ⊥ → ⊥ . (Заметим в скобках, что последняя формула является частным случаем аксиомы A8, так что ее можно было вывести короче.)
(5) Этот пример на выводимость в HC0 ^{0} 0 нам понадобится в доказательстве общезначимости аксиомы (A6). Пусть P P P и S S S — произвольные высказывания. Тогда в HCI− ^{-} − выводима задача
! ( P ≡ ( □ P ⊃ S ) ) → ( ! ( □ S ⊃ S ) → ! S ) . (11) !(P \equiv(\Box P \supset S)) \to(!( \Box S \supset S) \to!S). \tag*{(11)} ! ( P ≡ ( □ P ⊃ S )) → ( ! ( □ S ⊃ S ) → ! S ) . (11)
Сначала мы воспользуемся леммой о переводе выводов, а затем леммой о дедукции. Для этого примем в качестве гипотез высказывания
□ S ⊃ S , □ ( P ⊃ ( □ P ⊃ S ) ) , ( □ P ⊃ S ) ⊃ P \Box S \supset S,\qquad\Box(P \supset(\Box P \supset S)),\qquad(\Box P \supset S) \supset P □ S ⊃ S , □ ( P ⊃ ( □ P ⊃ S )) , ( □ P ⊃ S ) ⊃ P
и выведем формулы □ P ⊃ S \Box P \supset S □ P ⊃ S и P P P .
(1) □ P ⊃ □ ( □ P ⊃ S ) \Box P \supset\Box(\Box P \supset S) □ P ⊃ □ ( □ P ⊃ S )
эта формула выводится по MP из второй гипотезы и первого примера выводимых формул
(2) □ ( □ P ⊃ S ) ⊃ ( □ □ P ⊃ □ S ) \Box(\Box P \supset S) \supset(\Box\Box P \supset\Box S) □ ( □ P ⊃ S ) ⊃ ( □□ P ⊃ □ S )
это формула из нашего первого примера выводимых формул при A : = □ P A := \Box P A := □ P , B : = S B := S B := S .
(3) □ P ⊃ □ □ P \Box P \supset\Box\Box P □ P ⊃ □□ P
это формула из второго примера выводимых формул.
(4) □ P ⊃ □ S \Box P \supset\Box S □ P ⊃ □ S
Выводится из (1), (2), (3) в классическом ИВ.
(5) □ P ⊃ S \Box P \supset S □ P ⊃ S
Вывод из (4) и первой гипотезы в классическом ИВ.
(6) P P P
из третьей гипотезы и (5) по MP.
(7) Заметим, что весь вывод (1)–(6) является выводом из трёх принятых гипотез. Поэтому можно применить лемму о переводе выводов. По этой лемме имеется вывод формул ! ( □ P ⊃ S ) !(\Box P \supset S) ! ( □ P ⊃ S ) и ! P !P ! P из гипотез
! ( □ S ⊃ S ) , ! □ ( P ⊃ ( □ P ⊃ S ) ) , ! ( ( □ P ⊃ S ) ⊃ P ) . !(\Box S \supset S),\qquad!\Box(P \supset(\Box P \supset S)),\qquad!((\Box P \supset S) \supset P). ! ( □ S ⊃ S ) , ! □ ( P ⊃ ( □ P ⊃ S )) , ! (( □ P ⊃ S ) ⊃ P ) .
Докажем, что этот вывод можно продолжить до вывода задачи ! S !S ! S .
(8) Из тех же гипотез можно вывести ещё и формулу ! □ P !\Box P ! □ P (приписав к выводу аксиому (A5) при σ : = ! P \sigma:= !P σ := ! P и применив MP).
(9) Приписав к выводу аксиому (A3) и применив MP, можно далее вывести задачу ! □ P → ! S !\Box P \to!S ! □ P → ! S .
(10) Наконец, можно вывести формулу ! S !S ! S , ещё раз применив MP. Итак, из этих трёх гипотез выводится формула ! S !S ! S .
(11) Теперь покажем, что вторую и третью гипотезу можно заменить на одну гипотезу:
F : = ! ( P ≡ ( □ P ⊃ S ) ) , F := !(P \equiv(\Box P \supset S)), F := ! ( P ≡ ( □ P ⊃ S )) ,
являющуюся первой посылкой исходной формулы. Во-первых, из F F F выводится третья гипотеза: высказывание ( □ P ⊃ S ) ⊃ P (\Box P \supset S) \supset P ( □ P ⊃ S ) ⊃ P выводится из P ≡ ( □ P ⊃ S ) P \equiv(\Box P \supset S) P ≡ ( □ P ⊃ S ) в классическом исчислении, а лемма о переводе выводов переносит этот вывод под знак ! ! ! . Аналогичным образом из F F F выводится формула ! ( P ⊃ ( □ P ⊃ S ) ) !(P \supset(\Box P \supset S)) ! ( P ⊃ ( □ P ⊃ S )) . Она отличается от второй гипотезы только наличием бокса после восклицательного знака, а аксиома (A5) при σ : = ! ( P ⊃ ( □ P ⊃ S ) ) \sigma:= !(P \supset(\Box P \supset S)) σ := ! ( P ⊃ ( □ P ⊃ S )) как раз позволяет по MP вывести из неё вторую гипотезу.
Итак, из гипотез F F F и ! ( □ S ⊃ S ) !(\Box S \supset S) ! ( □ S ⊃ S ) можно вывести формулу ! S !S ! S , причём одними лишь применениями MP. Осталось применить лемму о дедукции и получить формулу (L).
Отметим, что вывод этого пункта был формализован и проверен системой Metamath, причём в полностью развёрнутом виде: лемма о дедукции и лемма о переводе выводов в формализации не используются, а раскрыты в явный вывод из аксиом (около семисот элементарных шагов). Проверены и выводы пунктов (1)–(4).
Замечание 11 (о классе в (A5)). Аксиома (A5) записана сразу для всего класса Σ \Sigma Σ , хотя её частного случая σ : = ! A \sigma:= !A σ := ! A было бы достаточно. В самом деле, индукцией по построению Σ \Sigma Σ -задачи σ \sigma σ выводится σ → ! ? σ \sigma\to!?\sigma σ → !? σ : для ∅ \varnothing ∅ — по Int, для ! A !A ! A — частный случай; если же σ = σ 1 ∧ σ 2 \sigma= \sigma_1 \land\sigma_2 σ = σ 1 ∧ σ 2 , то из σ i → ! ? σ i \sigma_i \to!?\sigma_i σ i → !? σ i получаем σ → ! ? σ 1 ∧ ! ? σ 2 \sigma\to!?\sigma_1 \land!?\sigma_2 σ → !? σ 1 ∧ !? σ 2 , далее σ → ! ( ? σ 1 ∧ ? σ 2 ) \sigma\to!(\,?\sigma_1 \land?\sigma_2) σ → ! ( ? σ 1 ∧ ? σ 2 ) (из тавтологии A ⊃ ( B ⊃ A ∧ B ) A \supset(B \supset A \land B) A ⊃ ( B ⊃ A ∧ B ) правилом (AtoP) и схемой (A3)), а ? σ 1 ∧ ? σ 2 ≡ ? σ ?\sigma_1 \land?\sigma_2 \equiv?\sigma ? σ 1 ∧ ? σ 2 ≡ ? σ по (A4b), и лемма 13 заканчивает; для ∨ \lor ∨ так же, с правилом ( ! → ) (! \to) ( ! → ) из тавтологий A ⊃ A ∨ B A \supset A \lor B A ⊃ A ∨ B , B ⊃ A ∨ B B \supset A \lor B B ⊃ A ∨ B и с (A4c). Это то же наблюдение, что в пункте (2) примера 1: схемы (A4) склеивают ? ? ? -образы Σ \Sigma Σ -задач в ? ? ? -образ одной Σ \Sigma Σ -задачи. Записать (A5) сразу для класса Σ \Sigma Σ естественнее: семантически это эффективная Σ 1 \Sigma_1 Σ 1 -полнота со свидетелем на входе (предложение 9), и ограничение на ! A !A ! A в ней случайно.
Аксиома (A5) и пункт (2) примера 1 — одно и то же утверждение, увиденное с двух сторон: эффективная Σ 1 \Sigma_1 Σ 1 -полнота в ! ! ! -форме порождает и ко-рефлексию на Σ \Sigma Σ -задачах, и Σ 1 \Sigma_1 Σ 1 -полноту на Σ \Sigma Σ -высказываниях, а Σ \Sigma Σ -высказывания — это с точностью до выводимой эквивалентности высказывания ? σ ?\sigma ? σ для Σ \Sigma Σ -задач σ \sigma σ . Границы у обоих классов поэтому одинаковые. Переменную в Σ \Sigma Σ -высказывания не пустить: при A ∗ : = Con A^* := \operatorname{Con} A ∗ := Con схема A ⊃ □ A A \supset\Box A A ⊃ □ A даёт Con ⊃ Pr ( Con ) \operatorname{Con} \supset\operatorname{Pr}(\operatorname{Con}) Con ⊃ Pr ( Con ) , что ложно по второй теореме Гёделя. Импликацию тоже: □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ есть Con \operatorname{Con} Con , и получается то же самое. (Конец замечания.)
Корректность исчислений
Теорема 15 (корректность). Для каждой из трёх семантик Z ∈ { I , B , E } Z \in\{I, B, E\} Z ∈ { I , B , E } всякая теорема исчисления H C Z \mathrm{HC}_Z HC Z Z Z Z -общезначима.
Доказательство. Индукция по выводу: нужно проверить, что каждая аксиома общезначима в соответствующей семантике и что каждое правило сохраняет общезначимость.
Аксиомы, кроме (A6). Общезначимость во всех трёх семантиках схем (A1) видна прямо: перевод — подстановочный экземпляр классической тавтологии, и его
вывод вычислимо строится по коду интерпретации. Общезначимость схем (A2) — это предложение 6, схемы (A3) — предложение 7, группы (A4) — лемма 5 (переводы доказуемы во внутренней теории, выводы строятся по коду), схем (A5) и (A7) — предложение 9. E \mathrm{E} E -общезначимость схем (A8) и (A9) — предложение 11(1). Аксиомы Π \Pi Π в B \mathrm{B} B — предложение 10. Всё это и сведено в таблице 1.
(2) Правила. Всюду ниже, говоря о выводимости во внешней теории, мы имеем в виду в B \mathrm{B} B выводимость замыкания из определения 6.
(MP) сохраняет общезначимость по леммам 3 и 4.
(PtoA): пусть S S S решает задачу φ \varphi φ , то есть внешняя теория доказывает φ ∗ ( S ( ∗ ) ) \varphi^{*}(S(*)) φ ∗ ( S ( ∗ )) при всякой интерпретации ∗ * ∗ (её замыкание φ ∗ ( S ( ∗ ) ) ‾ \overline{\varphi^{*}(S(*))} φ ∗ ( S ( ∗ )) в интерпретациях B \mathrm{B} B ). Припишем к её выводу одну аксиому φ ∗ ( S ( ∗ ) ) ⊃ ∃ x φ ∗ ( x ) \varphi^{*}(S(*)) \supset\exists x\,\varphi^{*}(x) φ ∗ ( S ( ∗ )) ⊃ ∃ x φ ∗ ( x ) исчисления предикатов и формулу ∃ x φ ∗ ( x ) \exists x\,\varphi^{*}(x) ∃ x φ ∗ ( x ) — получится вывод формулы ( ? φ ) ∗ (?\varphi)^{*} ( ? φ ) ∗ . В B \mathrm{B} B мы выведем формулу ∃ x φ ∗ ( x ) ‾ \exists x\,\overline{\varphi^{*}(x)} ∃ x φ ∗ ( x ) , из которой выводится искомая формула ∃ x φ ∗ ( x ) ‾ \overline{\exists x\,\varphi^{*}(x)} ∃ x φ ∗ ( x ) стандартными средствами исчисления предикатов. Итак, высказывание ? φ ?\varphi ? φ общезначимо.
(AtoP) в I \mathrm{I} I , B \mathrm{B} B : пусть высказывание A A A общезначимо, то есть внешняя теория, совпадающая здесь с внутренней, доказывает A ∗ A^{*} A ∗ (в B \mathrm{B} B — замыкание A ∗ ‾ \overline{A^{*}} A ∗ ). Это ровно та формула, выводы которой суть решения задачи ! A !A ! A (определения 2, 4). По коду интерпретации некоторый вывод P ( ∗ ) P(*) P ( ∗ ) этой формулы находится перебором (замечание 7). Утверждение Prf ( P ( ∗ ) , A ∗ ) \operatorname{Prf}(P(*), A^{*}) Prf ( P ( ∗ ) , A ∗ ) (или Prf ( P ( ∗ ) , A ∗ ‾ ) \operatorname{Prf}(P(*), \overline{A^{*}}) Prf ( P ( ∗ ) , A ∗ ) ) — истинное Σ 0 \Sigma_{0} Σ 0 -предложение, и внешняя теория его доказывает. Значит, P P P решает задачу ! A !A ! A .
Правило Бернайса в B \mathrm{B} B : пусть S S S решает φ → ψ \varphi\to\psi φ → ψ , где α ∉ F V ( φ ) \alpha\notin FV(\varphi) α ∈ / F V ( φ ) , то есть Z F \mathrm{ZF} ZF доказывает замыкание ∀ X ⃗ ∀ X α ∀ u ( φ ∗ ( u ) ⊃ ψ ∗ ( U S ( ∗ ) ( u ) ) ) \forall\vec{X}\,\forall X_{\alpha}\,\forall u\,(\varphi^{*}(u) \supset\psi^{*}(U_{S(*)}(u))) ∀ X ∀ X α ∀ u ( φ ∗ ( u ) ⊃ ψ ∗ ( U S ( ∗ ) ( u ))) по всем ящикам, в том числе по X α X_{\alpha} X α . Перевод ( φ → Π α ψ ) ∗ ( S ( ∗ ) ) (\varphi\to\Pi_{\alpha}\psi)^{*}(S(*)) ( φ → Π α ψ ) ∗ ( S ( ∗ )) — это ∀ u ( φ ∗ ( u ) ⊃ ∀ X α ψ ∗ ( U S ( ∗ ) ( u ) ) ) \forall u\,(\varphi^{*}(u) \supset\forall X_{\alpha}\,\psi^{*}(U_{S(*)}(u))) ∀ u ( φ ∗ ( u ) ⊃ ∀ X α ψ ∗ ( U S ( ∗ ) ( u ))) ; переменная X α ∗ X_{\alpha}^{*} X α ∗ не встречается, и замыкание этой формулы получается из предыдущего чистой логикой — переносом квантора ∀ X α \forall X_{\alpha} ∀ X α через посылку. Тот же S S S решает φ → Π α ψ \varphi\to\Pi_{\alpha}\psi φ → Π α ψ . Для высказываний так же: из Z F ⊢ ∀ X ⃗ ∀ X α ( A ∗ ⊃ B ∗ ) \mathrm{ZF} \vdash\forall\vec{X}\,\forall X_{\alpha}\,(A^{*} \supset B^{*}) ZF ⊢ ∀ X ∀ X α ( A ∗ ⊃ B ∗ ) при X α X_{\alpha} X α , не входящей в A ∗ A^{*} A ∗ , следует Z F ⊢ ∀ X ⃗ ( A ∗ ⊃ ∀ X α B ∗ ) \mathrm{ZF} \vdash\forall\vec{X}\,(A^{*} \supset\forall X_{\alpha}\,B^{*}) ZF ⊢ ∀ X ( A ∗ ⊃ ∀ X α B ∗ ) .
(3) Схема (A6). Сначала заметим, что в семантике B \mathrm{B} B достаточно разобрать высказывания A A A без свободных задачных переменных: экземпляр схемы для произвольного A A A выводится в НСВ из экземпляра для высказывания A ˉ : = Π α ⃗ A \bar{A} := \Pi_{\vec{\alpha}} A A ˉ := Π α A , где α ⃗ \vec{\alpha} α — свободные задачные переменные A A A , с помощью аксиом и правил, уже проверенных в пунктах (1) и (2); поэтому из общезначимости экземпляра для A ˉ \bar{A} A ˉ следует общезначимость экземпляра для A A A . Для этого достаточно доказать, что задачи
! ( □ A ⊃ A ) → ! A , ! ( □ A ˉ ⊃ A ˉ ) → ! A ˉ !(\Box A \supset A) \to!A,\qquad!(\Box\bar{A} \supset\bar{A}) \to!\bar{A} ! ( □ A ⊃ A ) → ! A , ! ( □ A ˉ ⊃ A ˉ ) → ! A ˉ
выводимо эквивалентны в НСВ (без (A6)). По лемме 13 достаточно установить эквивалентность их посылок и заключений.
По аксиоме (П!) выводима эквивалентность заключений ! A ↔ ! A ˉ !A \leftrightarrow!\bar{A} ! A ↔ ! A ˉ , а из неё по правилу (? → \to → ) — □ A ≡ □ A ˉ \Box A \equiv\Box\bar{A} □ A ≡ □ A ˉ . Для посылок та же аксиома (П!) даёт
! ( □ A ⊃ A ) ↔ ! Π α ⃗ ( □ A ⊃ A ) !(\Box A \supset A) \leftrightarrow!\Pi_{\vec{\alpha}}(\Box A \supset A) ! ( □ A ⊃ A ) ↔ ! Π α ( □ A ⊃ A )
(свободные задачные переменные высказывания □ A ⊃ A \Box A \supset A □ A ⊃ A — те же α ⃗ \vec{\alpha} α , поскольку у □ A = ? ! A \Box A = ?!A □ A = ?! A их нет). По лемме 14(2) для высказываний (α ⃗ \vec{\alpha} α в □ A \Box A □ A не входят) выводима эквивалентность
Π α ⃗ ( □ A ⊃ A ) ≡ ( □ A ⊃ Π α ⃗ A ) , \Pi_{\vec{\alpha}}(\Box A \supset A) \equiv(\Box A \supset\Pi_{\vec{\alpha}}A), Π α ( □ A ⊃ A ) ≡ ( □ A ⊃ Π α A ) ,
а по лемме 13 в её правой части □ A \Box A □ A можно заменить на □ A ˉ \Box\bar{A} □ A ˉ ; получаем Π α ⃗ ( □ A ⊃ A ) ≡ ( □ A ˉ ⊃ A ˉ ) \Pi_{\vec{\alpha}}(\Box A \supset A) \equiv(\Box\bar{A} \supset\bar{A}) Π α ( □ A ⊃ A ) ≡ ( □ A ˉ ⊃ A ˉ ) . Наконец, ещё раз применим лемму 13, теперь под знаком ! ! ! , и получим ! Π α ⃗ ( □ A ⊃ A ) ↔ ! ( □ A ‾ ⊃ A ‾ ) !\Pi\vec{\alpha}(\Box A \supset A) \leftrightarrow!(\Box\overline{A} \supset\overline{A}) ! Π α ( □ A ⊃ A ) ↔ ! ( □ A ⊃ A ) , а с ней и требуемую эквивалентность посылок ! ( □ A ⊃ A ) ↔ ! ( □ A ‾ ⊃ A ‾ ) !(\Box A \supset A) \leftrightarrow!(\Box\overline{A} \supset\overline{A}) ! ( □ A ⊃ A ) ↔ ! ( □ A ⊃ A ) .
Теперь, когда общезначимость остальных аксиом и корректность правил установлены, схему Лёба можно не проверять напрямую, а вывести из них и леммы о неподвижной точке для внутренней теории. Нам нужна лемма о неподвижной точке в эффективной форме:
по замкнутой формуле σ \sigma σ (арифметической — для PA; языка ZF — для ZF) можно вычислить замкнутую формулу π \pi π и вывод во внутренней теории эквивалентности π ≡ ( Pr ( π ) ⊃ σ ) \pi\equiv(\operatorname{Pr}(\pi) \supset\sigma) π ≡ ( Pr ( π ) ⊃ σ ) .
Вывод разбивается на две части. Сначала — вывод в HCI− ^{-} − формулы
! ( P 0 ≡ ( □ P 0 ⊃ A ) ) → ( ! ( □ A ⊃ A ) → ! A ) (12) !(P_0 \equiv(\Box P_0 \supset A)) \to(!( \Box A \supset A) \to!A) \tag*{(12)} ! ( P 0 ≡ ( □ P 0 ⊃ A )) → ( ! ( □ A ⊃ A ) → ! A ) (12)
где P 0 P_0 P 0 — любая переменная сорта высказывание, не входящая в A A A : это пример 1(5) при P : = P 0 P := P_0 P := P 0 , S : = A S := A S := A . Поскольку (L′) выведена без (A6), по уже доказанному она общезначима — в I, а также в B, где HCI− ^{-} − содержится в HCB. Пусть A A A — высказывание (в B — по доказанному, без свободных задачных переменных), для которого нужно доказать общезначимость задачи ! ( □ A ⊃ A ) → ! A !(\Box A \supset A) \to!A ! ( □ A ⊃ A ) → ! A . Нам нужно построить алгоритм, который по интерпретации ∗ * ∗ находит такое x x x , для которого внешняя теория доказывает ( ! ( □ A ⊃ A ) → ! A ) ∗ ( x ) (!( \Box A \supset A) \to!A)^*(x) ( ! ( □ A ⊃ A ) → ! A ) ∗ ( x ) . При этом мы можем считать, что ∗ * ∗ присваивает значения только переменным, входящим в нашу формулу, в частности не присваивает значения переменной P 0 P_0 P 0 . Поскольку формула (L′) общезначима, у нас имеется алгоритм, который доставляет нужное нам x x x , если ему дать на вход любые y , ∗ ′ y, *' y , ∗ ′ , для которых во внешней теории выводимо ! ( P 0 ≡ ( □ P 0 ⊃ A ) ) ∗ ′ ( y ) !(P_0 \equiv(\Box P_0 \supset A))^{*'}(y) ! ( P 0 ≡ ( □ P 0 ⊃ A ) ) ∗ ′ ( y ) и ∗ ′ *' ∗ ′ продолжает ∗ * ∗ на переменную P 0 P_0 P 0 . Такие y , ∗ ′ y, *' y , ∗ ′ и доставляются леммой о неподвижной точке: положим ∗ ′ ( P 0 ) = π *'(P_0) = \pi ∗ ′ ( P 0 ) = π , для которого во внутренней теории доказуема эквивалентность π ≡ ( Pr ( π ) ⊃ A ∗ ) \pi\equiv(\operatorname{Pr}(\pi) \supset A^*) π ≡ ( Pr ( π ) ⊃ A ∗ ) ; y y y — её вывод, найденный перебором всех доказательств (формула Prf ( y , … ) \operatorname{Prf}(y,\ldots) Prf ( y , … ) — истинное Σ 0 \Sigma_0 Σ 0 -предложение, и внешняя теория его доказывает). Именно здесь нужна замкнутость формулы A ∗ A^* A ∗ : в B решение задачи ! ( P 0 ≡ ( □ P 0 ⊃ A ) ) !(P_0 \equiv(\Box P_0 \supset A)) ! ( P 0 ≡ ( □ P 0 ⊃ A )) — вывод замыкания эквивалентности по свободным задачным переменным A A A , а лемма о неподвижной точке даёт эквивалентность лишь для замкнутой A ∗ A^* A ∗ ; сама же формула (L′) общезначима при любом A A A .
(4) Семантика E. Аксиомы HCE — теоремы HCI и схемы (A8), (A9). Всякая теорема HCI I-общезначима по доказанному, а I-общезначимость влечёт E-общезначимость, поскольку внутренняя теория PA содержится во внешней TA. Схемы (A8) и (A9) E-общезначимы по предложению 11(1), а правила (MP) и (PtoA) сохраняют E-общезначимость по пункту (2).
Что даёт квантор Π
Напомним мотивировку квантора (§5.5): под знаком ? конструктивное содержание задачи теряется, и высказывания ?( α ∨ ¬ α ) (\alpha\vee\neg\alpha) ( α ∨ ¬ α ) , ?ρ \rho ρ общезначимы тривиально. Теперь, когда есть исчисления и теорема о корректности, обещанное можно доказать.
Теорема 16 (три задачи с квантором Π, равносильные ∅). В B общезначимы эквивалентности
Π α ↔ ∅ , Π α ( α ∨ ¬ α ) ↔ ∅ , Π α ( ¬ ¬ α → α ) ↔ ∅ \Pi\alpha\leftrightarrow\varnothing,\qquad\Pi\alpha(\alpha\vee\neg\alpha) \leftrightarrow\varnothing,\qquad\Pi\alpha(\neg\neg\alpha\to\alpha) \leftrightarrow\varnothing Π α ↔ ∅ , Π α ( α ∨ ¬ α ) ↔ ∅ , Π α ( ¬¬ α → α ) ↔ ∅
и отрицания высказываний
? Π α α ?\Pi\alpha\ \alpha ? Π α α , ? Π α ( α ∨ ¬ α ) ?\Pi\alpha(\alpha\mathbin{\lor} \neg\alpha) ? Π α ( α ∨ ¬ α ) , ? Π α ( ¬ ¬ α → α ) ?\Pi\alpha(\neg\neg\alpha\mathbin{\to} \alpha) ? Π α ( ¬¬ α → α ) .
Сами эти три высказывания, следовательно, не общезначимы (в предположении непротиворечивости ZF).
Доказательство. Выведем все шесть формул в исчислении НСВ. Импликации справа налево для первых трех формул являются аксиомами Int. Теперь выведем импликации в обратную сторону.
Формула Π α α → ∅ \Pi\alpha\ \alpha\mathbin{\to} \varnothing Π α α → ∅ является аксиомой (ΠE) при θ : = ∅ \theta:= \varnothing θ := ∅ .
Действительно, (ΠE) при θ : = ∅ \theta:= \varnothing θ := ∅ даёт Π α α → ∅ \Pi\alpha\ \alpha\mathbin{\to} \varnothing Π α α → ∅ . Аналогично, (ΠE) при θ : = ¬ ∅ \theta:= \neg\varnothing θ := ¬ ∅ даёт Π α ¬ α → ¬ ¬ ∅ \Pi\alpha\ \neg\alpha\mathbin{\to} \neg\neg\varnothing Π α ¬ α → ¬¬ ∅ , а ¬ ¬ ∅ → ∅ \neg\neg\varnothing\mathbin{\to} \varnothing ¬¬ ∅ → ∅ выводима в Int. Поэтому выводимо Π α ¬ α → ∅ \Pi\alpha\ \neg\alpha\mathbin{\to} \varnothing Π α ¬ α → ∅ . Вместе с (Π∨) это даёт Π α ( α ∨ ¬ α ) → ∅ \Pi\alpha(\alpha\mathbin{\lor} \neg\alpha) \mathbin{\to} \varnothing Π α ( α ∨ ¬ α ) → ∅ .
Действительно, для H : = Π α ( ¬ ¬ α → α ) H := \Pi\alpha(\neg\neg\alpha\mathbin{\to} \alpha) H := Π α ( ¬¬ α → α ) : (ΠE) при θ : = α ∨ ¬ α \theta:= \alpha\mathbin{\lor} \neg\alpha θ := α ∨ ¬ α даёт
H → ( ¬ ¬ ( α ∨ ¬ α ) → ( α ∨ ¬ α ) ) . H \mathbin{\to} \bigl(\neg\neg(\alpha\mathbin{\lor} \neg\alpha) \mathbin{\to} (\alpha\mathbin{\lor} \neg\alpha)\bigr). H → ( ¬¬ ( α ∨ ¬ α ) → ( α ∨ ¬ α ) ) .
Теорема Int ¬ ¬ ( α ∨ ¬ α ) \neg\neg(\alpha\mathbin{\lor} \neg\alpha) ¬¬ ( α ∨ ¬ α ) даёт H → ( α ∨ ¬ α ) H \mathbin{\to} (\alpha\mathbin{\lor} \neg\alpha) H → ( α ∨ ¬ α ) . Далее правило Бернайса (α в H H H свободно не входит) даёт H → Π α ( α ∨ ¬ α ) H \mathbin{\to} \Pi\alpha(\alpha\mathbin{\lor} \neg\alpha) H → Π α ( α ∨ ¬ α ) , а отсюда H → ∅ H \mathbin{\to} \varnothing H → ∅ по предыдущему пункту.
Для доказательства второго утверждения (о выводимости отрицаний) мы к каждой из выведенных импликаций применяем ( ? → ) (? \mathbin{\to}) ( ? → ) и затем (A4d).
Итак, ? Π α ( α ∨ ¬ α ) ?\Pi\alpha(\alpha\mathbin{\lor} \neg\alpha) ? Π α ( α ∨ ¬ α ) опровержимо, тогда как без квантора ? ( α ∨ ¬ α ) ?(\alpha\mathbin{\lor} \neg\alpha) ? ( α ∨ ¬ α ) — теорема (по (A4) оно равносильно тавтологии ? α ∨ ¬ ? α ?\alpha\mathbin{\lor} \neg?\alpha ? α ∨ ¬ ? α ): сквозь квантор классический разбор случаев не проходит, и теперь и на уровне высказываний становится видна разница между законом исключённого третьего и его конструктивной версией.
Пример 2. Пусть ρ \rho ρ — формула Роуза, то есть задача (R) для φ = ¬ β ∨ ¬ γ \varphi= \neg\beta\mathbin{\lor} \neg\gamma φ = ¬ β ∨ ¬ γ , где β \beta β , γ \gamma γ — задачные переменные (§ 6.10 ниже). В B общезначимо высказывание ? Π β Π γ ρ ?\Pi\beta\Pi\gamma\rho ? Π β Π γ ρ : решатель формулы Роуза постоянен и на содержимое ящиков не смотрит (предложение 27 ниже), так что ZF доказывает ∀ X β ∀ X γ ρ ∗ ( r ) \forall X_\beta\forall X_\gamma\rho^*(r) ∀ X β ∀ X γ ρ ∗ ( r ) для его кода r r r , то есть ( Π β Π γ ρ ) ∗ ( r ) (\Pi\beta\Pi\gamma\rho)^*(r) ( Π β Π γ ρ ) ∗ ( r ) , а с ним и ( ? Π β Π γ ρ ) ∗ (?\Pi\beta\Pi\gamma\rho)^* ( ? Π β Π γ ρ ) ∗ . Без квантора высказывание ? ρ ?\rho ? ρ по (A4) равносильно тавтологии и ничего не говорит; с квантором оно утверждает, что формула Роуза решается одним алгоритмом при любом содержимом ящиков. Это первый случай, когда открытие на задачной стороне порождает новое общезначимое высказывание. Выводимо ли оно в НСВ, мы не знаем: сама ρ \rho ρ в НСИ не выводима (§ 6.12 ), а консервативность НСВ над НСИ на чистых задачах открыта (замечание 13).
Второй вопрос — насколько новы задачи и высказывания с квантором. Во всех нетривиальных случаях, которые нам удалось разобрать, квантор устраняется: задача с Π оказывается равносильной задаче без Π. Соберём эти случаи вместе.
Предложение 17 (устранение квантора). Пусть φ \varphi φ — задача, в которую переменная β \beta β свободно не входит, а α , β , γ \alpha,\beta,\gamma α , β , γ — переменные. Следующие эквивалентности B-общезначимы:
Π β ( φ → β ) ↔ ¬ φ \Pi\beta\;(\varphi\mathbin{\to} \beta) \mathbin{\leftrightarrow} \neg\varphi Π β ( φ → β ) ↔ ¬ φ ;
Π β ( ( φ → β ) → β ) ↔ φ \Pi\beta\;((\varphi\mathbin{\to} \beta) \mathbin{\to} \beta) \mathbin{\leftrightarrow} \varphi Π β (( φ → β ) → β ) ↔ φ ;
Π β ( ( ( α → β ) → α ) → α ) ↔ ( ¬ ¬ α → α ) \Pi\beta\;(((\alpha\mathbin{\to} \beta) \mathbin{\to} \alpha) \mathbin{\to} \alpha) \mathbin{\leftrightarrow} (\neg\neg\alpha\mathbin{\to} \alpha) Π β ((( α → β ) → α ) → α ) ↔ ( ¬¬ α → α ) ;
(4) Π α ( ( ( α → β ) → α ) → α ) ↔ β \Pi\alpha\; (((\alpha\to\beta) \to\alpha) \to\alpha) \leftrightarrow\beta Π α ((( α → β ) → α ) → α ) ↔ β ;
(5) Π β ( ( ( α → β ) → β ) → ( α ⋎ β ) ) ↔ α ⋎ ∼ α \Pi\beta\; (((\alpha\to\beta) \to\beta) \to(\alpha\mathbin{\curlyvee} \beta)) \leftrightarrow\alpha\mathbin{\curlyvee} \sim\alpha Π β ((( α → β ) → β ) → ( α ⋎ β )) ↔ α ⋎ ∼ α ;
(6) Π α ( ( ( α → β ) → β ) → ( α ⋎ β ) ) ↔ β \Pi\alpha\; (((\alpha\to\beta) \to\beta) \to(\alpha\mathbin{\curlyvee} \beta)) \leftrightarrow\beta Π α ((( α → β ) → β ) → ( α ⋎ β )) ↔ β ;
(7) Π α ( ( α → β ⋎ γ ) → ( ( α → β ) ⋎ ( α → γ ) ) ) ↔ ( γ → β ) ⋎ ( β → γ ) \Pi\alpha\; ((\alpha\to\beta\mathbin{\curlyvee} \gamma) \to((\alpha\to\beta) \mathbin{\curlyvee} (\alpha\to\gamma))) \leftrightarrow(\gamma\to\beta) \mathbin{\curlyvee} (\beta\to\gamma) Π α (( α → β ⋎ γ ) → (( α → β ) ⋎ ( α → γ ))) ↔ ( γ → β ) ⋎ ( β → γ ) ;
(8) Π α ( ( β ⋏ γ → α ) → ( ( β → α ) ⋎ ( γ → α ) ) ) ↔ ( β → γ ) ⋎ ( γ → β ) \Pi\alpha\; ((\beta\mathbin{\curlywedge} \gamma\to\alpha) \to((\beta\to\alpha) \mathbin{\curlyvee} (\gamma\to\alpha))) \leftrightarrow(\beta\to\gamma) \mathbin{\curlyvee} (\gamma\to\beta) Π α (( β ⋏ γ → α ) → (( β → α ) ⋎ ( γ → α ))) ↔ ( β → γ ) ⋎ ( γ → β ) .
Все они, кроме пунктов (4) и (6), выводимы в НСВ; в пунктах (4) и (6) выводима импликация справа налево. Вместе с каждой эквивалентностью задач Π α ⃗ χ ↔ ψ \Pi\vec{\alpha}\,\chi\leftrightarrow\psi Π α χ ↔ ψ выводима (соответственно общезначима) и эквивалентность высказываний ? Π α ⃗ χ ≡ ? ψ ? \Pi\vec{\alpha}\,\chi\equiv?\psi ? Π α χ ≡ ? ψ .
Доказательство. Последнее утверждение: из задачи Π α ⃗ χ ↔ ψ \Pi\vec{\alpha}\,\chi\leftrightarrow\psi Π α χ ↔ ψ правило ( ? → ) (? \to) ( ? → ) даёт обе импликации между ? Π α ⃗ χ ? \Pi\vec{\alpha}\,\chi ? Π α χ и ? ψ ? \psi ? ψ ; семантический вариант — лемма [5 ] и теорема [15 ] .
Во всех задачах импликация справа налево доказывается одинаково. Пусть Π δ λ \Pi\delta\,\lambda Π δ λ обозначает левую часть, а μ \mu μ — правую часть формулы. Тогда импликация μ → λ \mu\to\lambda μ → λ выводима в Int, что проверяется непосредственно в каждом из пунктов. А затем мы применяем правило Бернайса.
Импликация слева направо во всех пунктах тоже доказывается одинаково, за исключением пунктов (4) и (6). А именно, мы применяем аксиому ( Π E ) (\Pi E) ( Π E ) , подставляя в формулу λ \lambda λ некоторую формулу θ \theta θ вместо связанной переменной так, что для полученной формулы λ ( θ ) \lambda(\theta) λ ( θ ) формула λ ( θ ) → μ \lambda(\theta) \to\mu λ ( θ ) → μ выводима в Int. Укажем, как выбирать формулу θ \theta θ в каждом пункте: (1) θ : = ∅ \theta:= \varnothing θ := ∅ , (2) θ : = φ \theta:= \varphi θ := φ , (3) θ : = ∅ \theta:= \varnothing θ := ∅ , (5) θ : = ∼ α \theta:= \sim\alpha θ :=∼ α , (7) θ : = β ⋎ γ \theta:= \beta\mathbin{\curlyvee} \gamma θ := β ⋎ γ ; (8) θ : = β ⋏ γ \theta:= \beta\mathbin{\curlywedge} \gamma θ := β ⋏ γ .
Пункты (4) и (6) разберём отдельно. Начнём с (4). Пишем Y Y Y вместо X β X_{\beta} X β ; рассуждаем в ZF при свободной Y Y Y . Для множеств X X X , Y Y Y положим X → Y : = { q : ∀ x ∈ X U q ( x ) ↓ ∈ Y } X \to Y := \{q : \forall x \in X\ U_q(x)\mathord{\downarrow} \in Y\} X → Y := { q : ∀ x ∈ X U q ( x ) ↓ ∈ Y } и
Φ ( X ) : = { p : ∀ q ∈ X → Y U p ( q ) ↓ ∈ X } . \Phi(X) := \{p : \forall q \in X \to Y\ U_p(q)\mathord{\downarrow} \in X\}. Φ ( X ) := { p : ∀ q ∈ X → Y U p ( q ) ↓ ∈ X } .
Тогда e ∈ [ [ Π α ( ( ( α → β ) → α ) → α ) ] ] ∗ e \in[[\Pi\alpha(((\alpha\to\beta) \to\alpha) \to\alpha)]]_\ast e ∈ [[ Π α ((( α → β ) → α ) → α )] ] ∗ означает: для всех X X X и всех p ∈ Φ ( X ) p \in\Phi(X) p ∈ Φ ( X ) выполнено U e ( p ) ↓ ∈ X U_e(p)\mathord{\downarrow} \in X U e ( p ) ↓ ∈ X . Зафиксируем код I I I тождественной программы (U I ( q ) = q U_I(q) = q U I ( q ) = q ) и код a a a программы, тождественно равной нулю. Решатель такой:
f ( e ) : = U n ( a ) , где n : = U e ( I ) . f(e) := U_n(a), \qquad\text{где } n := U_e(I). f ( e ) := U n ( a ) , где n := U e ( I ) .
Покажем, что для всякого Y Y Y и всякого такого e e e значение f ( e ) f(e) f ( e ) определено и лежит в Y Y Y .
Шаг 1: n n n определено. При X : = ω X := \omega X := ω имеем I ∈ Φ ( ω ) I \in\Phi(\omega) I ∈ Φ ( ω ) , поскольку U I ( q ) = q ∈ ω U_I(q) = q \in\omega U I ( q ) = q ∈ ω при любом q q q ; значит n = U e ( I ) n = U_e(I) n = U e ( I ) определено.
Шаг 2: U n U_n U n отображает ω ∖ { n } \omega\setminus\{n\} ω ∖ { n } в Y Y Y . Допустим противное: есть x ≠ n x \ne n x = n , для которого U n ( x ) U_n(x) U n ( x ) не определено или не лежит в Y Y Y . Положим X : = ω ∖ { n } X := \omega\setminus\{n\} X := ω ∖ { n } . Тогда I ∈ Φ ( X ) I \in\Phi(X) I ∈ Φ ( X ) : если q ∈ X → Y q \in X \to Y q ∈ X → Y , то q ≠ n q \ne n q = n (из-за точки x ∈ X x \in X x ∈ X число n n n не принадлежит X → Y X \to Y X → Y ), то есть U I ( q ) = q ∈ X U_I(q) = q \in X U I ( q ) = q ∈ X . По определению e e e отсюда n = U e ( I ) ∈ X = ω ∖ { n } n = U_e(I) \in X = \omega\setminus\{n\} n = U e ( I ) ∈ X = ω ∖ { n } — противоречие.
Шаг 3: f ( e ) ∈ Y f(e) \in Y f ( e ) ∈ Y . Если a ≠ n a \ne n a = n , то по шагу 2 значение U n ( a ) U_n(a) U n ( a ) определено и лежит в Y Y Y . Если a = n a = n a = n , то U n U_n U n тождественно равна нулю, по шагу 2 число 0 = U n ( x ) 0 = U_n(x) 0 = U n ( x ) при любом x ≠ n x \ne n x = n лежит в Y Y Y , и f ( e ) = 0 ∈ Y f(e) = 0 \in Y f ( e ) = 0 ∈ Y .
Всё это — рассуждение в ZF при свободной Y Y Y .
Для (6) рассуждение похожее. Будем использовать обозначения из рассуждения для случая (4). Положим k : = λ q . U q ( q ) k := \lambda q.\, U_q(q) k := λ q . U q ( q ) , то есть, U k ( q ) = U q ( q ) U_k(q) = U_q(q) U k ( q ) = U q ( q ) . Число k k k принадлежит [ [ ( ω → Y ) → Y ] ] ∗ [[(\omega\to Y) \to Y]]^{*} [[( ω → Y ) → Y ] ] ∗ , так что U e ( k ) U_e(k) U e ( k ) определено и лежит в ω ⊔ Y \omega\sqcup Y ω ⊔ Y . Если это ⟨ 1 , y ⟩ \langle1,y\rangle ⟨ 1 , y ⟩ , то y ∈ Y y \in Y y ∈ Y . Если это ⟨ 0 , n ⟩ \langle0,n\rangle ⟨ 0 , n ⟩ , то, как и в шаге 2, U n U_n U n отображает ω ∖ { n } \omega\setminus\{n\} ω ∖ { n } в Y Y Y . В самом деле, иначе k k k является решением задачи ( ω ∖ { n } → Y ) → Y (\omega\setminus\{n\} \to Y) \to Y ( ω ∖ { n } → Y ) → Y (если q q q — решение задачи ω ∖ { n } → Y \omega\setminus\{n\} \to Y ω ∖ { n } → Y , то q ≠ n q \ne n q = n по предположению, следовательно, U q ( q ) ∈ Y U_q(q) \in Y U q ( q ) ∈ Y , поскольку U q ( x ) ∈ Y U_q(x) \in Y U q ( x ) ∈ Y для всех x ≠ n x \ne n x = n ). Следовательно, U n ( a ) ∈ Y U_n(a) \in Y U n ( a ) ∈ Y , что доказывается так же, как и в шаге 3 выше.
В первом случае решатель выдает то y y y , для которого U e ( k ) = c ( 1 , y ) U_e(k) = c(1,y) U e ( k ) = c ( 1 , y ) , а во втором — U n ( a ) U_n(a) U n ( a ) .
Эквивалентность (2) — известное непредикативное представление задачи квантором второго порядка: «решить φ \varphi φ » равносильно «уметь решить всякую задачу β \beta β , сводящуюся к φ \varphi φ ».
Замечание 12 (о пунктах (4) и (6)). Выводимы ли в HCB импликации слева направо в пунктах (4) и (6) предложения 17, мы не знаем. Выводимо их ослабление с ∼ ∼ β \sim\sim\beta ∼∼ β в заключении: при гипотезе ∼ β \sim\beta ∼ β импликация α → β \alpha\to\beta α → β равносильна ∼ α \sim\alpha ∼ α , закон Пирса превращается в ∼ ∼ α → α \sim\sim\alpha\to\alpha ∼∼ α → α , правило Бернайса даёт Π α ( ∼ ∼ α → α ) \Pi\alpha(\sim\sim\alpha\to\alpha) Π α ( ∼∼ α → α ) , а эта задача равносильна ∅ \varnothing ∅ (теорема 16).
Невыводимость же импликаций справа налево, как есть (с формулой β \beta β ), нам удалось доказать только в исчислении HCI минус ( Π ∨ ) (\Pi\lor) ( Π ∨ ) . В самом деле возьмём двухточечную шкалу Крипке w 0 < w 1 w_0 < w_1 w 0 < w 1 , в которой β \beta β истинна только в w 1 w_1 w 1 , задачи — конусы, Π \Pi Π — пересечение по всем конусам, ! A !A ! A — верх, а ? φ ? \varphi ? φ истинно, когда φ \varphi φ истинна в w 1 w_1 w 1 . Все аксиомы и правила HCB, кроме ( Π ∨ ) (\Pi\lor) ( Π ∨ ) , в ней верны (ср. теорему 34), и в w 0 w_0 w 0 верна задача Π α ( ( ( α → β ) → α ) → α ) \Pi\alpha(((\alpha\to\beta) \to\alpha) \to\alpha) Π α ((( α → β ) → α ) → α ) : при любом конусе X X X посылка X → β X \to\beta X → β истинна в w 0 w_0 w 0 ровно когда X X X не содержит w 0 w_0 w 0 , и тогда ( X → β ) → X (X \to\beta) \to X ( X → β ) → X в w 0 w_0 w 0 ложна. А β \beta β в w 0 w_0 w 0 ложна. Аксиому ( Π ∨ ) (\Pi\lor) ( Π ∨ ) эта шкала не выполняет: в w 1 w_1 w 1 посылка Π α ( α ∨ ∼ α ) \Pi\alpha(\alpha\lor\sim\alpha) Π α ( α ∨ ∼ α ) истинна, а заключение Π α α ∨ Π α ∼ α \Pi\alpha\alpha\lor\Pi\alpha\sim\alpha Π α α ∨ Π α ∼ α ложно (оба дизъюнкта пусты: среди конусов есть пустой и полный), так что этот экземпляр ( Π ∨ ) (\Pi\lor) ( Π ∨ ) ложен и в w 1 w_1 w 1 , и в w 0 w_0 w 0 . Значит, возможный вывод обязан использовать ( Π ∨ ) (\Pi\lor) ( Π ∨ ) существенно. В семантическом доказательстве решающим было инстанцирование квантора ящиком ω ∖ { n } \omega\setminus\{n\} ω ∖ { n } , зависящим от ответа самого решателя; значением формулы такое множество не бывает. Пункты (4) и (6) — кандидаты на примеры неполноты HCB (следствие 35). (Конец замечания.)
Примера неустранимости квантора — задачи с Π \Pi Π , не равносильной никакой задаче без Π \Pi Π , — нам найти не удалось. Это, конечно, не означает, что квантор не нужен: устранение в предложении 17 само требует квантора, а в пунктах (4) и (6) ещё и выходит за пределы исчисления.
Замечание 13 (бескванторная часть). Аксиоматика HCB устроена как HCI плюс кванторный слой: выбрасывая аксиомы Π \Pi Π и правило Бернайса, получаем в точности HCI. Цель расширения — увеличить запас доказуемых формул . В расширенном языке рост заведомый: выводимы новые содержательные высказывания вроде ? Π β Π γ ?\Pi\beta\Pi\gamma ? Π β Π γ (пример 2), невыразимые без квантора. Рост есть и на бескванторных формулах: □ α ⊃ □ ⊥ \square\alpha\supset\square\bot □ α ⊃ □ ⊥ выводимо в HCB и не выводимо в HCI (замечание 15). Но этот рост — не новое знание о задачах, а следствие того, что в B знак ! ! ! связывает задачные переменные: в HCB формула означает □ Π α ? α ⊃ □ ⊥ \square\Pi\alpha\,?\alpha\supset\square\bot □ Π α ? α ⊃ □ ⊥ и не является чистой. Поэтому вопрос о консервативности правильно ставить для чистых бескванторных формул (замечание 4): совпадает ли множество чистых бескванторных теорем HCB с множеством теорем HCI? Для высказываний ответ известен: в нормальной форме чистого Π \Pi Π -свободного высказывания атомы ? α ? \alpha ? α стоят вне знаков □ \square □ , и при Σ 1 \Sigma_1 Σ 1 -корректности ZF его выводимость в HCB равносильна выводимости в HCI (предложение 18, теорема 21 (1),(3)). Для чистых задач вопрос открыт (§ 8 ).
Нормальная форма и полнота на стороне высказываний
Здесь мы опишем два семейства Π \Pi Π -свободных высказываний: выводимые в каждом из исчислений и общезначимые в каждой из семантик. Оба описания получаются через одну и ту же нормальную форму , в которой модальность ? ? ? устранена до сочетаний ? α ? \alpha ? α и □ B \Box B □ B , и оба отсылают к известным объектам: с точностью до нормальной формы это логика доказуемости GL Соловея (для HCI и для внутренних семантик I, B) и её внешний вариант GLS (для HCE и для E). Доказательство идёт по кругу: из выводимости в нашем исчислении — общезначимость (теорема о корректности), из общезначимости — выводимость в GL или GLS (теорема Соловея), а из выводимости в GL или GLS — выводимость в нашем исчислении (прямая проверка). В итоге на стороне высказываний исчисления HCI и HCE полны.
Нормальная форма строится проталкиванием ? ? ? внутрь по схемам (A4): к переменным и к задачам вида ! B !B ! B .
Определение 11 (перевод в нормальную форму). Каждой Π \Pi Π -свободной формуле χ \chi χ сопоставим её нормальную форму χ † \chi^{\dagger} χ † . Для высказываний: переменные и константа ⊥ \bot ⊥ переходят в себя, классические связки сохраняются (( A ∧ B ) † = A † ∧ B † (A \land B)^{\dagger} = A^{\dagger} \land B^{\dagger} ( A ∧ B ) † = A † ∧ B † и так далее для ∨ \lor ∨ , ⊃ \supset ⊃ ), а ( ? φ ) † : = φ ? (?\varphi)^{\dagger} := \varphi^{?} ( ? φ ) † := φ ? , где вспомогательный перевод φ ? \varphi^{?} φ ? задач в высказывания задаётся правилами
α ? : = ? α , ∅ ? : = ⊥ , ( ! B ) ? : = □ B † , \alpha^{?} := ?\alpha,\qquad\varnothing^{?} := \bot,\qquad(!B)^{?} := \Box B^{\dagger}, α ? := ? α , ∅ ? := ⊥ , ( ! B ) ? := □ B † ,
( φ → ψ ) ? : = φ ? ⊃ ψ ? , ( φ ⋏ ψ ) ? : = φ ? ∧ ψ ? , ( φ ⋎ ψ ) ? : = φ ? ∨ ψ ? . (\varphi\to\psi)^{?} := \varphi^{?} \supset\psi^{?},\qquad
(\varphi\mathbin{\curlywedge} \psi)^{?} := \varphi^{?} \land\psi^{?},\qquad
(\varphi\mathbin{\curlyvee} \psi)^{?} := \varphi^{?} \lor\psi^{?}. ( φ → ψ ) ? := φ ? ⊃ ψ ? , ( φ ⋏ ψ ) ? := φ ? ∧ ψ ? , ( φ ⋎ ψ ) ? := φ ? ∨ ψ ? .
В дальнейшем мы будем называть φ ? \varphi^{?} φ ? булевой свёрткой задачи φ \varphi φ . Для задач: α † = α \alpha^{\dagger} = \alpha α † = α , ∅ † = ∅ \varnothing^{\dagger} = \varnothing ∅ † = ∅ , задачные связки сохраняются, а ( ! B ) † : = ! B † (!B)^{\dagger} := !B^{\dagger} ( ! B ) † := ! B † (при этом высказывание B B B нормализуется по правилам выше).
Нетрудно видеть, что в нормальной форме всякого Π \Pi Π -свободного высказывания A A A модальность встречается только в сочетаниях ? α ? \alpha ? α (α \alpha α — переменная сорта задача) и ? ! B = □ B ?!B = \Box B ?! B = □ B .
Предложение 18 (нормальная форма). Для всякой Π \Pi Π -свободной формулы в HCI− ^{-} − (а значит, и в HCI, HCB, HCE) выводима эквивалентность
A ≡ A † для высказываний , φ ↔ φ † для задач . A \equiv A^{\dagger}\quad\text{для высказываний},\qquad
\varphi\leftrightarrow\varphi^{\dagger}\quad\text{для задач}. A ≡ A † для высказываний , φ ↔ φ † для задач . Следовательно, при всякой интерпретации внешняя теория каждой из трёх семантик доказывает A ∗ ≡ A † A^{*} \equiv A^{\dagger} A ∗ ≡ A † (в B — замыкание этой эквивалентности), и высказывание A A A общезначимо в данной семантике тогда и только тогда, когда в ней общезначимо A † A^{\dagger} A † .
Доказательство. Совместная индукция по построению формулы. Для переменной и ⊥ \bot ⊥ очевидно, связки проходят по лемме 13. Для A = ? φ A = ?\varphi A = ? φ надо проверить ⊢ H C I − ? φ ≡ φ ? \vdash_{\mathrm{HCI}^{-}} ?\varphi\equiv\varphi^{?} ⊢ HCI − ? φ ≡ φ ? индукцией по φ \varphi φ : при φ = α \varphi= \alpha φ = α это тождество (α ? = ? α \alpha^{?} = ?\alpha α ? = ? α ); при φ = ∅ \varphi= \varnothing φ = ∅ — схема (A4d); при φ = ! B \varphi= !B φ = ! B требуется ⊢ H C I − □ B ≡ □ B † \vdash_{\mathrm{HCI}^{-}} \Box B \equiv\Box B^{\dagger} ⊢ HCI − □ B ≡ □ B † , что получается из внешнего предположения индукции ⊢ H C I − B ≡ B † \vdash_{\mathrm{HCI}^{-}} B \equiv B^{\dagger} ⊢ HCI − B ≡ B † леммой 13; случаи → \to → , ⋏ \mathbin{\curlywedge} ⋏ , ⋎ \mathbin{\curlyvee} ⋎ — это в точности три эквивалентности (A4a), (A4b), (A4c) вместе с предположением индукции и леммой 13. Здесь и работает булевость ? ? ? . Для задач: переменная и ∅ \varnothing ∅ очевидны, связки — по лемме 13, а ( ! B ) † = ! B † (!B)^{\dagger} = !B^{\dagger} ( ! B ) † = ! B † получается из ⊢ H C I − B ≡ B † \vdash_{\mathrm{HCI}^{-}} B \equiv B^{\dagger} ⊢ HCI − B ≡ B † той же леммой. Использованы только (A1), (A2), (A3), группа (A4) и три правила.
Второе утверждение: по теореме 15 выведенная эквивалентность I-общезначима, а потому и E-общезначима (P A ⊆ T A PA \subseteq TA P A ⊆ T A ), и B-общезначима, поскольку H C I − ⊆ H C B HCI^{-} \subseteq HCB H C I − ⊆ H C B . Множество теорем внешней теории замкнуто по (MP), поэтому A ∗ A^{*} A ∗ выводима во внешней теории тогда и только тогда, когда выводима A † ∗ A^{\dagger*} A †∗ .
Оговорка о Π \Pi Π -свободности существенна: схемы (A4) проталкивают ? ? ? сквозь связки → \to → , ∧ \land ∧ , ∨ \lor ∨ и константу ∅ \varnothing ∅ , но не сквозь квантор Π \Pi Π , и в полном языке семантики B нормализация обрывается на высказываниях вида ? Π α φ ?\Pi\alpha\,\varphi ? Π α φ . Аналога схем (A4) для Π \Pi Π нет и быть не может: высказывание ? Π α ( α ∨ ¬ α ) ?\Pi\alpha(\alpha\lor\neg\alpha) ? Π α ( α ∨ ¬ α ) опровержимо — общезначимо его отрицание (теорема 16), тогда как без квантора ? ( α ∨ ¬ α ) ≡ ? α ∨ ¬ ? α ?( \alpha\lor\neg\alpha)\equiv?\alpha\lor\neg?\alpha ? ( α ∨ ¬ α ) ≡ ? α ∨ ¬ ? α — общезначимая классическая тавтология: сквозь Π \Pi Π классический разбор случаев не проходит. Законы квантора Π \Pi Π позволяют упростить и такие высказывания; что при этом получается, сказано в §6.9.
Следствие 19 (фрагмент высказываний). В нормальной форме высказывания строятся классическими связками и модальностью □ \Box □ из переменных A i A_i A i и из формул ? α j ?\alpha_j ? α j . При этом формулы ? α j ?\alpha_j ? α j ведут себя как ещё одни независимые переменные сорта высказывание: взяв α ∗ : = σ \alpha^{*}:=\sigma α ∗ := σ для произвольного замкнутого σ \sigma σ , получаем ( ? α ) ∗ = ∃ x σ (?\alpha)^{*}=\exists x\,\sigma ( ? α ) ∗ = ∃ x σ , что логически эквивалентно σ \sigma σ . Поэтому вопрос о фрагменте высказываний целиком сводится к вопросу о □ \Box □ -фрагменте, которым мы дальше и займёмся.
□ \Box □ -формулой называется высказывание, построенное классическими связками ⊥ \bot ⊥ , ∨ \lor ∨ , ∧ \land ∧ , ⊃ \supset ⊃ из атомов двух видов — переменных сорта высказывание и высказываний вида ? β ?\beta ? β , где β \beta β — переменная сорта задача, — и модальности □ = ? ! \Box= ?! □ = ?! , применяемой к □ \Box □ -формулам; иных вхождений ! ! ! и ? ? ? нет. При выводимости в GL и GLS атомы обоих видов играют роль пропозициональных переменных модального языка. В нормальной форме Π \Pi Π -свободное высказывание построено классическими связками из переменных A i A_i A i , высказываний ? α j ?\alpha_j ? α j и высказываний □ B \Box B □ B , где B B B — снова высказывания в нормальной форме. Иными словами, нормальная форма Π \Pi Π -свободного высказывания — □ \Box □ -формула, и отдельный перевод в модальный язык не нужен. □ \Box □ -формулой является и ? ? ? -свёртка φ ? \varphi^{?} φ ? всякой Π \Pi Π -свободной задачи φ \varphi φ (определение 11).
Напомним определения логик GL и GLS (см. [27 гл. 1] ); обе формулируются в языке □ \Box □ -формул.
GL: аксиомы — все классические тавтологии (в модальном языке), схема K □ ( M ⊃ N ) ⊃ ( □ M ⊃ □ N ) \Box(M\supset N)\supset(\Box M\supset\Box N) □ ( M ⊃ N ) ⊃ ( □ M ⊃ □ N ) , схема □ M ⊃ □ □ M \Box M\supset\Box\Box M □ M ⊃ □□ M (по традиции называемая схемой 4) и схема Лёба □ ( □ M ⊃ M ) ⊃ □ M \Box(\Box M\supset M)\supset\Box M □ ( □ M ⊃ M ) ⊃ □ M ; правила — (MP) и правило необходимости M / □ M M/\Box M M / □ M . (Схема 4 выводима из остальных аксиом, но мы оставляем её в списке.)
GLS: множество формул, выводимых по правилу (MP) из теорем GL и всех экземпляров схемы рефлексии □ M ⊃ M \Box M\supset M □ M ⊃ M . Правила необходимости в GLS нет, и множество её теорем относительно него не замкнуто: GLS ⊢ □ ⊥ ⊃ ⊥ \vdash\Box\bot\supset\bot ⊢ □ ⊥ ⊃ ⊥ , но GLS ⊬ □ ( □ ⊥ ⊃ ⊥ ) \nvdash\Box(\Box\bot\supset\bot) ⊬ □ ( □ ⊥ ⊃ ⊥ ) , поскольку эта формула GL-эквивалентна □ ⊥ \Box\bot □ ⊥ .
Теоремы Соловея говорят, что GL — это в точности □ \Box □ -формулы, все арифметические реализации которых доказуемы в PA, а GLS — в точности формулы, все реализации которых истинны; в наших терминах это общезначимость в I и в E.
Для семантик I и E мы воспользуемся теоремами Соловея [10 ] для PA; для B нужен их вариант для ZF, и здесь требуется второе допущение замечания 5 — Σ 1 \Sigma_1 Σ 1 -корректность ZF. Обойтись одной непротиворечивостью нельзя уже на замкнутых формулах: необщезначимость формулы □ ⊥ \Box\bot □ ⊥ означает, что ZF не доказывает P r Z F ( ⊥ ) \mathop{\mathrm{Pr}}_{\mathrm{ZF}}(\bot) Pr ZF ( ⊥ ) .
Непротиворечивость не гарантирует, а Σ 1 \Sigma_{1} Σ 1 -корректность гарантирует это. Для упрощения формулировки воспользуемся тем, что (1) язык GL является частью нашего языка и (2) для семантик I и E наше определение общезначимости □ \Box □ -формул есть определение общезначимости по Соловею: интерпретациями атомов обоих видов служат произвольные замкнутые арифметические формулы. В семантике B так читаются только атомы первого вида (им отвечают произвольные замкнутые формулы языка ZF); атом ? β ? \beta ? β там — предложение ∃ y ( y ∈ X β ) \exists y\ (y \in X_{\beta}) ∃ y ( y ∈ X β ) о ящике, а под знаком □ \Box □ он к тому же читается замыканием (замечание 2). Поэтому для B лемма формулируется для □ \Box □ -формул без атомов второго вида.
Лемма 20 (теорема Соловея). (1) Для всякой □ \Box □ -формулы M M M : GL ⊢ M \vdash M ⊢ M тогда и только тогда, когда M M M общезначима в I; GLS ⊢ M \vdash M ⊢ M тогда и только тогда, когда M M M общезначима в E.
(2) Пусть ZF Σ 1 \Sigma_{1} Σ 1 -корректна. Для всякой □ \Box □ -формулы M M M , не содержащей атомов вида ? β ? \beta ? β , следующие утверждения равносильны: GL ⊢ M \vdash M ⊢ M и M M M общезначима в B.
Замечание 14. Пункт (1) — это первая и вторая теоремы Соловея для PA, пункт (2) — теорема Соловея для ZF. Метатеоретическое допущение нужно для направления «общезначима ⇒ \Rightarrow ⇒ выводима»: в конструкции Соловея по невыводимой в GL формуле строится реализация, невыводимость которой в ZF устанавливается в предположении 1-непротиворечивости, то есть Σ 1 \Sigma_{1} Σ 1 -корректности. В пункте (2) интерпретации переменных-высказываний — произвольные замкнутые формулы языка ZF, а теорема Соловея доказана для арифметических реализаций; это не мешает: направление «GL ⊢ M ⇒ \vdash M \Rightarrow ⊢ M ⇒ ZF ⊢ M ∗ \vdash M^{*} ⊢ M ∗ » верно при любых подставленных предложениях (условия выводимости и формализованная теорема Лёба от них не зависят), а обратное достаточно иметь для арифметических реализаций, которые суть частный случай. В B перевод формулы без атомов ? β ? \beta ? β не содержит множественных переменных, и оба замыкания в определении 6 пусты. Подробности о конструкции Соловея — в [10 ] и [27 гл. 9] .
Теорема 21 (выводимые и общезначимые □ \Box □ -формулы — это GL и GLS). Пусть M M M — □ \Box □ -формула.
(1) Следующие три утверждения равносильны: ⊢ H C I M \vdash_{\mathrm{HCI}} M ⊢ HCI M ; M M M общезначима в I; GL ⊢ M \vdash M ⊢ M .
(2) Следующие три утверждения равносильны: ⊢ H C E M \vdash_{\mathrm{HCE}} M ⊢ HCE M ; M M M общезначима в E; GLS ⊢ M \vdash M ⊢ M .
(3) Пусть атомы вида ? α ? \alpha ? α входят в M M M только вне знаков □ \Box □ (под знаком □ \Box □ в семантике B задачная переменная была бы связана и читалась бы замыканием — замечание 2). Тогда из ⊢ H C B M \vdash_{\mathrm{HCB}} M ⊢ HCB M следует общезначимость M M M в B, из GL ⊢ M \vdash M ⊢ M следует ⊢ H C B M \vdash_{\mathrm{HCB}} M ⊢ HCB M , а в предположении Σ 1 \Sigma_{1} Σ 1 -корректности ZF из общезначимости в B следует GL ⊢ M \vdash M ⊢ M , так что все три утверждения равносильны.
Доказательство. Каждый пункт доказывается по кругу: из выводимости в нашем исчислении — общезначимость (теорема о корректности), из общезначимости — выводимость в GL или GLS (теорема Соловея), из выводимости в GL или GLS — выводимость в нашем исчислении (прямая проверка). Последний шаг общий для всех пунктов, с него и начнём.
Из G L ⊢ M \mathrm{GL} \vdash M GL ⊢ M следует ⊢ H C I M \vdash_{\mathrm{HCI}} M ⊢ HCI M . Всякий GL-вывод, прочитанный на наших атомах (переменных-высказываниях и формулах ? α ? \alpha ? α ), превращается в вывод в HCI: схема K — это пункт (1) примера [1 ] , схема 4 — пункт (2), схема Лёба — пункт (3); классические тавтологии дают схемы (A1); правило необходимости допустимо, поскольку из ⊢ H C I A \vdash_{\mathrm{HCI}} A ⊢ HCI A по (AtoP) следует ⊢ H C I ! A \vdash_{\mathrm{HCI}} !A ⊢ HCI ! A , а по (PtoA) — ⊢ H C I ? ! A \vdash_{\mathrm{HCI}} ?!A ⊢ HCI ?! A , то есть ⊢ H C I □ A \vdash_{\mathrm{HCI}} \Box A ⊢ HCI □ A . Из G L S ⊢ M \mathrm{GLS} \vdash M GLS ⊢ M следует ⊢ H C E M \vdash_{\mathrm{HCE}} M ⊢ HCE M : GLS — это теоремы GL вместе со всеми частными случаями рефлексии □ N ⊃ N \Box N \supset N □ N ⊃ N , замкнутые относительно (MP); теоремы GL выводимы в HCI ⊆ \subseteq ⊆ HCE, рефлексия — схема (A8), а правило необходимости здесь не используется. Из G L ⊢ M \mathrm{GL} \vdash M GL ⊢ M следует ⊢ H C B M \vdash_{\mathrm{HCB}} M ⊢ HCB M , поскольку HCI ⊂ \subset ⊂ HCB.
Пункты (1) и (2). Из ⊢ H C I M \vdash_{\mathrm{HCI}} M ⊢ HCI M следует I-общезначимость M M M , а из ⊢ H C E M \vdash_{\mathrm{HCE}} M ⊢ HCE M — E-общезначимость (теорема 15). Из I-общезначимости следует G L ⊢ M \mathrm{GL} \vdash M GL ⊢ M , а из E-общезначимости — G L S ⊢ M \mathrm{GLS} \vdash M GLS ⊢ M (лемма 20(1)). Круг замкнут.
Пункт (3). Из ⊢ H C B M \vdash_{\mathrm{HCB}} M ⊢ HCB M следует B-общезначимость по теореме 15. Остаётся вывести G L ⊢ M \mathrm{GL} \vdash M GL ⊢ M из B-общезначимости M M M в предположении Σ 1 \Sigma_1 Σ 1 -корректности. Формула M M M — булева комбинация переменных A i A_i A i , атомов ? α 1 , … , ? α m ? \alpha_1,\ldots,? \alpha_m ? α 1 , … , ? α m и высказываний □ B \Box B □ B , причём по условию атомы ? α j ? \alpha_j ? α j стоят вне знаков □ \Box □ , а аргументы B B B задачных переменных не содержат. Зафиксируем интерпретацию переменных-высказываний. Перевод M ∗ M^* M ∗ — булева комбинация предложений A i ∗ A_i^* A i ∗ , атомов ∃ y ( y ∈ X j ) \exists y\ (y \in X_j) ∃ y ( y ∈ X j ) и предложений Pr ( B ∗ ) \operatorname{Pr}(B^*) Pr ( B ∗ ) (формулы B ∗ B^* B ∗ замкнуты). Общезначимость M M M означает Z F ⊢ ∀ X ⃗ M ∗ \mathrm{ZF} \vdash\forall\vec{X}\ M^* ZF ⊢ ∀ X M ∗ .
Покажем, что это условие равносильно следующему:
Z F ⊢ M ∗ [ σ ⃗ ] для каждого набора σ ⃗ ∈ { 0 = 0 , ⊥ } m , (13) \mathrm{ZF} \vdash M^*[\vec{\sigma}] \quad\text{для каждого набора } \vec{\sigma} \in\{0=0,\ \bot\}^m, \tag*{(13)} ZF ⊢ M ∗ [ σ ] для каждого набора σ ∈ { 0 = 0 , ⊥ } m , (13)
где M ∗ [ σ ⃗ ] M^*[\vec{\sigma}] M ∗ [ σ ] получается из M ∗ M^* M ∗ заменой каждого атома ∃ y ( y ∈ X j ) \exists y\ (y \in X_j) ∃ y ( y ∈ X j ) на предложение σ j \sigma_j σ j . Из общезначимости следует (†): подставим вместо X j X_j X j множество ∅ \varnothing ∅ при σ j = ( ⊥ ) \sigma_j=(\bot) σ j = ( ⊥ ) и ω \omega ω при σ j = ( 0 = 0 ) \sigma_j=(0=0) σ j = ( 0 = 0 ) ; после подстановки атом ∃ y ( y ∈ X j ) \exists y\ (y \in X_j) ∃ y ( y ∈ X j ) ZF-эквивалентен σ j \sigma_j σ j , и замена эквивалентных в булевом остове даёт M ∗ [ σ ⃗ ] M^*[\vec{\sigma}] M ∗ [ σ ] . Обратно, пусть выполнено (†). Рассуждаем в ZF: по классической логике ⋀ j ( ∃ y ( y ∈ X j ) ∨ ¬ ∃ y ( y ∈ X j ) ) \bigwedge_j(\exists y\ (y \in X_j) \vee\neg\exists y\ (y \in X_j)) ⋀ j ( ∃ y ( y ∈ X j ) ∨ ¬∃ y ( y ∈ X j )) , что даёт разбор 2 m 2^m 2 m случаев; в каждом случае каждый атом ZF-эквивалентен своему σ j \sigma_j σ j , замена эквивалентных в булевом остове даёт M ∗ [ σ ⃗ ] M^*[\vec{\sigma}] M ∗ [ σ ] , а она доказуема по (†). Итак, Z F ⊢ M ∗ \mathrm{ZF} \vdash M^* ZF ⊢ M ∗ , а с ним и замыкание.
Осталось связать (†) с GL. Пусть M [ σ ⃗ ] M[\vec{\sigma}] M [ σ ] — результат замены в M M M каждого атома ? α j ? \alpha_j ? α j на ¬ ⊥ \neg\bot ¬⊥ при σ j = ( 0 = 0 ) \sigma_j=(0=0) σ j = ( 0 = 0 ) и на ⊥ \bot ⊥ при σ j = ( ⊥ ) \sigma_j=(\bot) σ j = ( ⊥ ) . Это □ \Box □ -формула без атомов ? β ? \beta ? β , и M ∗ [ σ ⃗ ] M^*[\vec{\sigma}] M ∗ [ σ ] ZF-эквивалентна её переводу. По лемме 20(2) условие (†) равносильно тому, что G L ⊢ M [ σ ⃗ ] \mathrm{GL} \vdash M[\vec{\sigma}] GL ⊢ M [ σ ] при всех σ ⃗ \vec{\sigma} σ . А это равносильно G L ⊢ M \mathrm{GL} \vdash M GL ⊢ M : атомы ? α j ? \alpha_j ? α j стоят вне □ \Box □ , поэтому формула M ≡ ⋁ σ ⃗ ( ⋀ j ( ? α j ≡ σ j ) ∧ M [ σ ⃗ ] ) M \equiv\bigvee_{\vec{\sigma}}(\bigwedge_j(? \alpha_j \equiv\sigma_j) \land M[\vec{\sigma}]) M ≡ ⋁ σ ( ⋀ j ( ? α j ≡ σ j ) ∧ M [ σ ]) — классическая тавтология, и из всех G L ⊢ M [ σ ⃗ ] \mathrm{GL} \vdash M[\vec{\sigma}] GL ⊢ M [ σ ] следует G L ⊢ M \mathrm{GL} \vdash M GL ⊢ M ; а обратно M [ σ ⃗ ] M[\vec{\sigma}] M [ σ ] — подстановочные экземпляры M M M .
Замечание 15 (атомы ? α ? \alpha ? α под знаком □ \Box □ ). Оговорка пункта (3) существенна: если атомы ? α ? \alpha ? α стоят под знаком □ \Box □ , общезначимость в B выводимости в GL не влечёт. Пример: □ ? α ⊃ □ ⊥ \Box?\alpha\supset\Box\bot □ ? α ⊃ □ ⊥ общезначимо в B, поскольку ZF доказывает импликацию ( □ ? α ) ∗ ⊃ ( □ ⊥ ) ∗ (\Box?\alpha)^* \supset(\Box\bot)^* ( □ ? α ) ∗ ⊃ ( □ ⊥ ) ∗ : аргумент внутреннего □ \Box □ читается замыканием ∀ X ∃ y ( y ∈ X ) \forall X\ \exists y\ (y \in X) ∀ X ∃ y ( y ∈ X ) , которое опровержимо, и из его вывода вместе с фиксированным опровержением получается вывод ⊥ \bot ⊥ . В GL же формула □ p ⊃ □ ⊥ \Box p \supset\Box\bot □ p ⊃ □ ⊥ не выводима, и в I, E высказывание □ ? α ⊃ □ ⊥ \Box?\alpha\supset\Box\bot □ ? α ⊃ □ ⊥ не общезначимо: при α ∗ : = ( 0 = 0 ) \alpha^*:=(0=0) α ∗ := ( 0 = 0 ) оно превращается в формулу, выводимо эквивалентную невыводимой формуле □ ⊥ \Box\bot □ ⊥ . В HCB же это высказывание выводимо, и вывод показывает, как исчисление учитывает скрытый квантор: высказывательная схема (ПЕ) при θ : = ∅ \theta:=\varnothing θ := ∅ даёт Π α ? α ⊃ ? ∅ \Pi\alpha?\alpha\supset?\varnothing Π α ? α ⊃ ? ∅ , то есть Π α ? α ⊃ ⊥ \Pi\alpha?\alpha\supset\bot Π α ? α ⊃ ⊥ по (A4d); правило (! → ! \to ! → ) — задачу ! Π α ? α → ! ⊥ ! \Pi\alpha\ ?\alpha\to!\bot ! Π α ? α → ! ⊥ ; аксиома (Π ! \Pi! Π ! ) — ! ? α → ! Π α ? α !? \alpha\to!\Pi\alpha\ ?\alpha !? α → ! Π α ? α ; итого выводима задача ! ? α → ! ⊥ !? \alpha\to!\bot !? α → ! ⊥ , а правило (? → ? \to ? → ) даёт □ ? α ⊃ □ ⊥ \Box?\alpha\supset\Box\bot □ ? α ⊃ □ ⊥ . В HCI эта Π \Pi Π -свободная формула не выводима: по пункту (1) теоремы она была бы теоремой GL. Формула, конечно, не чистая (замечание 4): переменная α \alpha α стоит под знаком ! ! ! ; к вопросу о консервативности Π \Pi Π -расширения мы вернёмся в замечании 13.
Следствие 22 (полнота на стороне высказываний). Для всякого Π \Pi Π -свободного высказывания A A A следующие утверждения равносильны:
Равносильны также следующие утверждения:
В частности, □ \Box □ -фрагмент HCI есть в точности GL, а □ \Box □ -фрагмент HCE — в точности GLS.
Доказательство. По предложению 18 выводимость и общезначимость A A A равносильны выводимости и общезначимости □ \Box □ -формулы A † A^\dagger A † ; остаётся теорема 21.
Итак, на стороне Π \Pi Π -свободных высказываний наша семантика не даёт ничего нового по сравнению с логикой доказуемости: двусортность и модальности не добавляют к GL и GLS ни одной новой схемы. Вся новизна сосредоточена на стороне задач, а для B — ещё и в высказываниях с квантором Π \Pi Π (§ 6.7 , §6.9).
Нормальная форма в Π \Pi Π -расширении
В Π \Pi Π -свободном языке нормальная форма (предложение 18) строится из переменных A i A_i A i и высказываний ? α ? \alpha ? α и □ B \Box B □ B . В языке с квантором Π \Pi Π приведение по (A4) обрывается на высказываниях ? Π α ⃗ χ ? \Pi\vec{\alpha}\ \chi ? Π α χ (замечание после предложения 18), но законы Π \Pi Π позволяют упростить и их. Атомом мы называем формулу, на которой такие упрощения заканчиваются. Это понятие синтаксическое: оно определяется выписанным ниже набором эквивалентностей, и атом может оказаться равносилен более простой формуле. В этом подразделе рассматриваются формулы, в которых квантор Π \Pi Π применяется только к задачам; высказывания вида Π α A \Pi\alpha\ A Π α A мы здесь не упрощаем.
Определение 12 (Π \Pi Π -атом). Π \Pi Π -атомом называем высказывание ? Π α 1 … Π α k χ ? \Pi\alpha_1 \ldots\Pi\alpha_k\ \chi ? Π α 1 … Π α k χ , k ≥ 1 k \ge1 k ≥ 1 , в котором каждая переменная α i \alpha_i α i входит в задачу χ \chi χ свободно, а задача χ \chi χ — либо переменная, либо задача вида ! A !A ! A , либо импликация φ → ψ \varphi\to\psi φ → ψ , в посылку φ \varphi φ которой свободно входит каждая α i \alpha_i α i .
Предложение 23 (нормальная форма в Π \Pi Π -расширении). Всякая формула, в которой квантор Π \Pi Π применяется только к задачам, эквивалентна в HCB формуле, в которой ? ? ? встречается только в сочетаниях ? α ? \alpha ? α и □ B \Box B □ B и в Π \Pi Π -атомах.
Доказательство. Как в предложении 18, но к эквивалентностям (A4a)–(A4d) добавляются эквивалентности (Π⋏), (Π⋎) (аксиома и лемма 14(4)) и эквивалентности леммы 14; все замены законны по лемме 13. Пусть ? Π α ⃗ χ ?\Pi\vec{\alpha}\ \chi ? Π α χ — вхождение, не являющееся Π-атомом. Квантор по переменной, не входящей в χ \chi χ свободно, снимаем (лемма 14(1)). Если χ \chi χ — конъюнкция или дизъюнкция, вносим кванторы в члены по (Π⋏), (Π⋎), и ? ‘ проходитсвязкупо ( A 4 b ) или ( A 4 c ) . Если ?` проходит связку по (A4b) или (A4c). Если ? ‘ проходитсвязкупо ( A 4 b ) или ( A 4 c ) . Если \chi = \varphi \to \psiинекоторая и некоторая инекоторая \alpha_iневходитвпосылку , переставляемеёкванторвнутрьблока ( лемма 14 ( 3 ) ) ивносимеговзаключение ( лемма 14 ( 2 ) ) ; есликванторовнадимпликациейнеосталось , не входит в посылку, переставляем её квантор внутрь блока (лемма 14(3)) и вносим его в заключение (лемма 14(2)); если кванторов над импликацией не осталось, невходитвпосылку , переставляемеёкванторвнутрьблока ( лемма 14 ( 3 )) ивносимеговзаключение ( лемма 14 ( 2 )) ; есликванторовнадимпликациейнеосталось , ?` проходит её по (A4a). Процесс обрывается: каждый шаг, кроме перестановки кванторов, уменьшает в лексикографическом порядке тройку из числа задачных связок, стоящих под знаками ? ? ? , суммарного числа задачных связок в областях действия кванторов Π, стоящих под знаками $?$ , и числа таких кванторов; а перестановка делается лишь непосредственно перед шагом, который тройку уменьшает.
Атомы Π-свободной нормальной формы, переменные A i A_i A i и высказывания ? α ? \alpha ? α , неупрощаемы и в семантическом смысле: им можно независимо приписать любые истинностные значения (следствие 19). Для Π-атомов это не так.
Определение 13 (устранимый Π-атом). Π-атом θ \theta θ устраним, если для некоторого Π-свободного высказывания A A A эквивалентность θ ≡ A \theta\equiv A θ ≡ A B-общезначима.
Отметим сразу, что устранение квантора в задачах (предложение 17) даёт и устранимость атомов: если задача Π α ⃗ χ \Pi\vec{\alpha}\ \chi Π α χ B-равносильна Π-свободной задаче ψ \psi ψ , то высказывание ? Π α ⃗ χ ?\Pi\vec{\alpha}\ \chi ? Π α χ равносильно ? ψ ? \psi ? ψ , а то приводится по (A4) к Π-свободной нормальной форме; так устранимы многие атомы, на первый взгляд неприводимые, например ? Π α ( ( α → β ∨ γ ) → ( ( α → β ) ∨ ( α → γ ) ) ) ?\Pi\alpha((\alpha\to\beta\vee\gamma) \to((\alpha\to\beta) \vee(\alpha\to\gamma))) ? Π α (( α → β ∨ γ ) → (( α → β ) ∨ ( α → γ ))) , равносильное ( ? γ ⊃ ? β ) ∨ ( ? β ⊃ ? γ ) (?\gamma\supset?\beta) \vee(?\beta\supset?\gamma) ( ? γ ⊃ ? β ) ∨ ( ? β ⊃ ? γ ) , то есть классической тавтологии.
Все Π-атомы, встречавшиеся до сих пор, устранимы: ? Π α α ?\Pi\alpha\ \alpha ? Π α α и ? Π α ( ∼ ∼ α → α ) ?\Pi\alpha(\sim\sim\alpha\to\alpha) ? Π α ( ∼∼ α → α ) равносильны ⊥ \bot ⊥ (теорема 16), ? Π β ( ( ! A → β ) → β ) ?\Pi\beta((!A \to\beta) \to\beta) ? Π β (( ! A → β ) → β ) равносильно □ A \Box A □ A (предложение 17(2) при φ : = ! A \varphi:= !A φ := ! A ), а ? Π β Π γ ρ ?\Pi\beta\Pi\gamma\rho ? Π β Π γ ρ общезначимо (пример 2) и потому равносильно ¬ ⊥ \neg\bot ¬⊥ . Устраним и атом ? Π α ( ( ( α → β ) → α ) → α ) ?\Pi\alpha(((\alpha\to\beta) \to\alpha) \to\alpha) ? Π α ((( α → β ) → α ) → α ) — он B-равносилен ? β ? \beta ? β , — но эта эквивалентность доказана лишь семантически, и выводима ли она в НСВ, неизвестно (предложение 17(4), замечание 12). Существуют ли неустранимые Π-атомы, мы не знаем (§8).
Безмодальные Π-свободные общезначимые задачи
Вернёмся к самому простому классу задач — задачам без модальностей, то есть построенным из переменных и константы ∅ \varnothing ∅ связками → \to → , ∧ \land ∧ , ∨ \lor ∨ . Для каждой семантики Z ∈ { I , B , E } Z \in\{I, B, E\} Z ∈ { I , B , E } обозначим через L Z L_Z L Z множество безмодальных задач, общезначимых в Z Z Z (отметим, что по своей грамматике безмодальные задачи не содержат и квантора Π). По леммам 3 и 4 все три множества замкнуты относительно (MP) и подстановки безмодальных задач (такие подстановки не затрагивают ни ! ! ! , ни Π и потому безопасны), то есть являются суперинтуиционистскими логиками в языке → \to → , ∧ \land ∧ , ∨ \lor ∨ , ∅ \varnothing ∅ (константа ∅ \varnothing ∅ играет роль лжи): Int они содержат по предложению 6. Теперь, когда доказана теорема корректности, всякий факт о необщезначимости даёт и факт о невыводимости; на это мы будем ссылаться в §6.11.
Классических схем ни в одной из трёх логик при этом нет.
Предложение 24 (задачи остались интуиционистскими). Пусть α \alpha α , β \beta β — переменные сорта задача. Задачи α ∨ ∼ α \alpha\mathbin{\vee} \mathord{\sim}\alpha α ∨ ∼ α , ∼ α ∨ ∼ ∼ α \mathord{\sim}\alpha\mathbin{\vee} \mathord{\sim}\mathord{\sim}\alpha ∼ α ∨ ∼ ∼ α , ∼ ∼ α → α \mathord{\sim}\mathord{\sim}\alpha\to\alpha ∼ ∼ α → α и ( ( α → β ) → α ) → α ((\alpha\to\beta) \to\alpha) \to\alpha (( α → β ) → α ) → α не общезначимы ни в одной из трёх семантик.
Доказательство. Достаточно доказать необщезначимость второй задачи — слабого закона исключённого третьего ∼ α ∨ ∼ ∼ α \mathord{\sim}\alpha\mathbin{\vee} \mathord{\sim}\mathord{\sim}\alpha ∼ α ∨ ∼ ∼ α . В самом деле, первая задача влечёт вторую в Int, а третья и четвёртая — схемы, каждая из которых вместе с Int даёт всю классическую логику; поскольку общезначимость сохраняется подстановкой задач вместо задачных переменных и правилом (MP) (леммы 3 и 4), из общезначимости любой из них следовала бы общезначимость всех классических тавтологий, в том числе второй задачи.
В семантиках I, E: фиксируем перечислимое неразрешимое множество X ⊂ N X \subset\mathbb{N} X ⊂ N и выразим свойство n ∈ X n \in X n ∈ X арифметической Σ \Sigma Σ -формулой ∃ x A ( x , n ) \exists x A(x,n) ∃ x A ( x , n ) . Рассуждая от противного, допустим существует решение S S S задачи ∼ α ∨ ∼ ∼ α \mathord{\sim}\alpha\mathbin{\vee} \mathord{\sim}\mathord{\sim}\alpha ∼ α ∨ ∼ ∼ α . Для произвольного n ∈ N n \in\mathbb{N} n ∈ N рассмотрим интерпретацию ∗ n \ast_n ∗ n , интерпретирующую переменную α \alpha α формулой A ( n , x ) A(n,x) A ( n , x ) . Тогда решениями задачи ( ∼ α ∨ ∼ ∼ α ) ∗ n (\mathord{\sim}\alpha\mathbin{\vee} \mathord{\sim}\mathord{\sim}\alpha)^{\ast_n} ( ∼ α ∨ ∼ ∼ α ) ∗ n являются все числа вида c ( 0 , m ) c(0,m) c ( 0 , m ) (и только они), если n ∉ X n \notin X n ∈ / X и все числа c ( 1 , m ) c(1,m) c ( 1 , m ) (и только они), если n ∈ X n \in X n ∈ X . И этот факт доказуем во внешней теории. Таким образом, внешняя теория доказывает n ∈ X ≡ ∃ m ( S ( ∗ n ) = c ( 1 , m ) ) n \in X \equiv\exists m(S(\ast_n) = c(1,m)) n ∈ X ≡ ∃ m ( S ( ∗ n ) = c ( 1 , m )) , а значит это утверждение истинно для всех n n n . Поэтому с помощью алгоритма S S S , применённого к коду интерпретации ∗ n \ast_n ∗ n , можно выяснить принадлежность n n n к X X X . Противоречие.
В семантике B ещё проще: кода нет, решение — одно фиксированное число c ( i , u ) c(i,u) c ( i , u ) , и при i = 0 i = 0 i = 0 его отвергает ящик ∅ \varnothing ∅ , а при i = 1 i = 1 i = 1 — ящик { 0 } \{0\} { 0 } , и ZF доказывает отрицание перевода при таком ящике.
Итак, все три логики L Z L_Z L Z лежат между Int и классической логикой, не совпадая с последней. С Int они тоже не совпадают, и разделяющий пример был найден Роузом [9 ] — как пропозициональная формула, реализуемая при всякой подстановке, но не выводимая интуиционистски; ею было впервые показано, что пропозициональная логика реализуемости строго шире Int. В нашей семантике она получается как частный случай общего утверждения об обозримых задачах (теорема 25 ниже).
Обозримые задачи
Зафиксируем интерпретацию ∗ \ast ∗ (в семантике B рассуждаем внутри ZF при данном содержимом ящиков). Программами выбора для задачи φ \varphi φ при данной интерпретации будем называть элементы множества [ [ ∼ ∼ φ → φ ] ] ∗ [\![\mathord{\sim}\mathord{\sim}\varphi\to\varphi]\!]_{\ast} [ [ ∼ ∼ φ → φ ] ] ∗ , то есть решения задачи ∼ ∼ φ → φ \mathord{\sim}\mathord{\sim}\varphi\to\varphi ∼ ∼ φ → φ при этой интерпретации. По лемме 1[6 ] они устроены так: если [ [ φ ] ] ∗ ≠ ∅ [\![\varphi]\!]_{\ast} \ne\varnothing [ [ φ ] ] ∗ = ∅ , то [ [ ∼ ∼ φ ] ] ∗ = N [\![\mathord{\sim}\mathord{\sim}\varphi]\!]_{\ast} = \mathbb{N} [ [ ∼ ∼ φ ] ] ∗ = N , вход ничего не сообщает, и программа выбора — это всюду определённая программа со значениями в [ [ φ ] ] ∗ [\![\varphi]\!]_{\ast} [ [ φ ] ] ∗ ; если же [ [ φ ] ] ∗ = ∅ [\![\varphi]\!]_{\ast} = \varnothing [ [ φ ] ] ∗ = ∅ , то [ [ ∼ ∼ φ ] ] ∗ = ∅ [\![\mathord{\sim}\mathord{\sim}\varphi]\!]_{\ast} = \varnothing [ [ ∼ ∼ φ ] ] ∗ = ∅ и программой выбора является любая программа, в том числе нигде не определённая.
Определение 14 (обозримая задача). Задача φ \varphi φ называется обозримой , если по коду ∗ \ast ∗ вычислим конечный список программ q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k (и их число, и они сами могут зависеть от кода) со свойством: если [ [ φ ] ] ∗ ≠ ∅ [\![\varphi]\!]_{\ast} \ne\varnothing [ [ φ ] ] ∗ = ∅ , то хотя бы одна из q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k всюду определена и все её значения лежат в [ [ φ ] ] ∗ [\![\varphi]\!]_{\ast} [ [ φ ] ] ∗ . (Напомним, что в B кодом служит код прозрачной части, а свойство списка требуется при любом содержимом ящиков.)
Иными словами, обозримость означает, что кандидатов в программы выбора конечное число и они выписываются заранее по коду интерпретации. Например, задача ∼ β ∨ ∼ γ \sim\beta\mathbin{\vee}\sim\gamma ∼ β ∨ ∼ γ обозрима с постоянным списком из двух программ — «выдать c ( 0 , 0 ) c(0,0) c ( 0 , 0 ) » и «выдать c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) ».
Теорема 25 (схема Роуза для обозримых задач). Пусть задача φ \varphi φ обозрима и ψ : = ∼ ∼ φ ∨ ∼ φ \psi:= \sim\sim\varphi\mathbin{\vee}\sim\varphi ψ :=∼∼ φ ∨ ∼ φ . Тогда задача
( ( ∼ ∼ φ → φ ) → ψ ) → ψ ((\sim\sim\varphi\to\varphi)\to\psi)\to\psi (( ∼∼ φ → φ ) → ψ ) → ψ общезначима в данной семантике, как только определяющее свойство списка из определения определения 14 при каждом ∗ \ast ∗ доказуемо в её внешней теории. В E это условие выполнено всегда (внешняя теория — TA, а свойство списка истинно по определению), так что там задача (R) общезначима безусловно.
Перед доказательством напомним, что формула Роуза ρ \rho ρ — это задача (R) для (обозримой) формулы φ = ∼ β ∨ ∼ γ \varphi=\sim\beta\mathbin{\vee}\sim\gamma φ =∼ β ∨ ∼ γ .
Доказательство. Разберёмся сперва, что такое решение задачи ψ \psi ψ . По леммам 1(5) и 2 множество [ [ ∼ ∼ φ ] ] ∗ [\![\sim\sim\varphi]\!]_\ast [ [ ∼∼ φ ] ] ∗ равно N \mathbb{N} N при [ [ φ ] ] ∗ ≠ ∅ [\![\varphi]\!]_\ast\ne\varnothing [ [ φ ] ] ∗ = ∅ и пусто иначе, а [ [ ∼ φ ] ] ∗ [\![\sim\varphi]\!]_\ast [ [ ∼ φ ] ] ∗ — наоборот. Поэтому решение задачи ψ \psi ψ — это одна лишь метка, и притом верная: при [ [ φ ] ] ∗ ≠ ∅ [\![\varphi]\!]_\ast\ne\varnothing [ [ φ ] ] ∗ = ∅ решения — это в точности числа с меткой 0, а при [ [ φ ] ] ∗ = ∅ [\![\varphi]\!]_\ast=\varnothing [ [ φ ] ] ∗ = ∅ — в точности числа с меткой 1. В частности, годится c ( 0 , 0 ) c(0,0) c ( 0 , 0 ) в первом случае и c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) во втором.
Решение посылки — это программа p p p , которая по всякой программе выбора для φ \varphi φ останавливается и выдаёт решение задачи ψ \psi ψ . Построим по ней решение заключения. Вычислим по коду ∗ \ast ∗ список q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k из определения 14 и запустим p p p параллельно на всех q i q_i q i . Далее:
как только какой-нибудь запуск остановился с ответом, имеющим метку 0, останавливаемся и выдаём c ( 0 , 0 ) c(0,0) c ( 0 , 0 ) ;
если все k k k запусков остановились с ответами, имеющими метку 1, выдаём c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) .
Проверка. Пусть [ [ φ ] ] ∗ = ∅ [\![\varphi]\!]_\ast=\varnothing [ [ φ ] ] ∗ = ∅ . Тогда всякая программа является программой выбора, в частности все q i q_i q i ; значит p p p на каждой из них останавливается, и все ответы имеют метку 1 — других решений задачи ψ \psi ψ при пустом [ [ φ ] ] ∗ [\![\varphi]\!]_\ast [ [ φ ] ] ∗ нет. Поэтому первый пункт не сработает, все k k k запусков кончатся, и мы выдадим c ( 1 , 0 ) c(1,0) c ( 1 , 0 ) — верное решение.
Пусть теперь [ [ φ ] ] ∗ ≠ ∅ [\![\varphi]\!]_\ast\ne\varnothing [ [ φ ] ] ∗ = ∅ . По определению обозримости какая-то q i q_i q i является программой выбора, значит p p p на ней останавливается и выдаёт решение задачи ψ \psi ψ ; при непустом [ [ φ ] ] ∗ [\![\varphi]\!]_\ast [ [ φ ] ] ∗ это число с меткой 0. Стало быть первый пункт рано или поздно сработает, и мы выдадим c ( 0 , 0 ) c(0,0) c ( 0 , 0 ) — снова верное решение.
Список q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k вычисляется по коду, а всё остальное построение от кода не зависит, так что решающая функция вычислима. Выводимость формулы φ ∗ ( S ( ∗ ) ) \varphi^\ast(S(\ast)) φ ∗ ( S ( ∗ )) во внешней теории получается тем же рассуждением, проведённым внутри неё: разбор случая по ∃ x φ ∗ ( x ) \exists x\,\varphi^\ast(x) ∃ x φ ∗ ( x ) классический, а всё остальное — Σ 1 \Sigma_1 Σ 1 -рассуждение о работе машины; в B рассуждение проводится поверх свободных множественных переменных, а список вычисляется по коду прозрачной части. Единственное место, где требуется дополнительное условие, — переход «если ∃ x φ ∗ ( x ) \exists x\,\varphi^\ast(x) ∃ x φ ∗ ( x ) , то какая-то q i q_i q i — программа выбора»: внутри внешней теории им можно пользоваться, только если оно в ней доказано (для TA это и есть истинность, для PA и ZF истинности недостаточно). □
Класс обозримых задач достаточно широк; чтобы описать его явно, выделим ещё один класс, заданный грамматически.
Определение 15 (O-задачи ). O-задачами называем задачи, построенные по грамматике
φ : : = σ ∣ ∼ ψ ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ ) , \varphi::= \sigma\mid\sim\psi\mid(\varphi\land\varphi) \mid(\varphi\lor\varphi), φ ::= σ ∣∼ ψ ∣ ( φ ∧ φ ) ∣ ( φ ∨ φ ) , где σ \sigma σ пробегает Σ \Sigma Σ -задачи, а ψ \psi ψ — произвольные задачи. Иначе говоря, к Σ \Sigma Σ -задачам добавлены всевозможные отрицания, и всё это замкнуто относительно ∧ \land ∧ и ∨ \lor ∨ . Всякая Σ \Sigma Σ -задача является O O O -задачей; обратное неверно уже для ∼ ! A \sim!A ∼ ! A .
Лемма 26 (запас обозримых задач). (1) Всякая задача φ \varphi φ , для которой общезначима задача ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ , обозрима. В частности обозримы все Σ \Sigma Σ -задачи и все задачи вида ∼ ψ \sim\psi ∼ ψ .
(2) Если φ \varphi φ и ψ \psi ψ обозримы, то обозримы φ ∧ ψ \varphi\land\psi φ ∧ ψ и φ ∨ ψ \varphi\lor\psi φ ∨ ψ .
Всё сказанное относится к каждой из трёх семантик, и во всех случаях определяющее свойство списка доказуемо во внешней теории.
Доказательство. (1) Пусть S S S — вычислимая функция, решающая ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ . Возьмём список из одной программы: q : = q := q := «на любом входе выдать U S ( ∗ ) ( 0 ) U_{S(*)}(0) U S ( ∗ ) ( 0 ) ». Если ⟦ φ ⟧ ∗ ≠ ∅ \llbracket\varphi\rrbracket_* \ne\varnothing [ [ φ ] ] ∗ = ∅ , то U S ( ∗ ) U_{S(*)} U S ( ∗ ) всюду определена со значениями в ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_* [ [ φ ] ] ∗ , значит q q q всюду определена и её значения лежат в ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_* [ [ φ ] ] ∗ . Для Σ \Sigma Σ -задач схема общезначима во всех трёх семантиках — это схема (A7), предложение 9; для ∼ ψ \sim\psi ∼ ψ она выводима уже в Int и общезначима по предложению 6.
Доказуемость во внешней теории: для Σ \Sigma Σ -задач она входит в общезначимость (A7) по определению 6 — внешняя теория доказывает ∀ u ( ( ∼ ∼ φ ) ∗ ( u ) ⊃ φ ∗ ( U S ( ∗ ) ( u ) ) ) \forall u ((\sim\sim\varphi)^*(u) \supset\varphi^*(U_{S(*)}(u))) ∀ u (( ∼∼ φ ) ∗ ( u ) ⊃ φ ∗ ( U S ( ∗ ) ( u ))) , а посылка эквивалентна ∃ x φ ∗ ( x ) \exists x \varphi^*(x) ∃ x φ ∗ ( x ) по лемме 2; для ∼ ψ \sim\psi ∼ ψ — в общезначимость схемы Int.
(2) Пусть q 1 , … , q k q_1,\ldots,q_k q 1 , … , q k — список для φ \varphi φ , а q 1 ′ , … , q m ′ q'_1,\ldots,q'_m q 1 ′ , … , q m ′ — для ψ \psi ψ . Для φ ∨ ψ \varphi\lor\psi φ ∨ ψ возьмём список из k + m k+m k + m программ: «запустить q i q_i q i и выдать c ( 0 , результат ) c(0,\ результат) c ( 0 , результат ) » и «запустить q j ′ q'_j q j ′ и выдать c ( 1 , результат ) c(1,\ результат) c ( 1 , результат ) ». Если ⟦ φ ∨ ψ ⟧ ∗ ≠ ∅ \llbracket\varphi\lor\psi\rrbracket_* \ne\varnothing [ [ φ ∨ ψ ] ] ∗ = ∅ , то непусто ⟦ φ ⟧ ∗ \llbracket\varphi\rrbracket_* [ [ φ ] ] ∗ или ⟦ ψ ⟧ ∗ \llbracket\psi\rrbracket_* [ [ ψ ] ] ∗ , и соответствующая обёрнутая программа всюду определена со значениями в ⟦ φ ∨ ψ ⟧ ∗ \llbracket\varphi\lor\psi\rrbracket_* [ [ φ ∨ ψ ] ] ∗ . Для φ ∧ ψ \varphi\land\psi φ ∧ ψ возьмём k m km k m программ «запустить q i q_i q i и q j ′ q'_j q j ′ и выдать c(\результаты) »; если ⟦ φ ∧ ψ ⟧ ∗ ≠ ∅ \llbracket\varphi\land\psi\rrbracket_* \ne\varnothing [ [ φ ∧ ψ ] ] ∗ = ∅ , то непусты оба сомножителя, и годная пара найдётся. Оба рассуждения дословно формализуются во внешней теории, так что доказуемость свойства списка сохраняется.
Предложение 27 (схема Роуза общезначима на классе O O O ). Для всякой O O O -задачи φ \varphi φ задача (R) общезначима во всех трёх семантиках.
Доказательство. Индукция по грамматике из определения 15 показывает, что всякая O O O -задача обозрима, причём определяющее свойство списка доказуемо во внешней теории: для Σ \Sigma Σ -задач и задач вида ∼ ψ \sim\psi ∼ ψ это пункт (1) леммы 26, а связки ∧ \land ∧ и ∨ \lor ∨ сохраняют обозримость по её пункту (2). Остаётся применить теорему 25.
Схему Роуза мы не включили в число аксиом исчислений, хотя она общезначима во всех трёх семантиках. Исчисления составляются так, чтобы облегчать доказательства общезначимости, а для этого аксиомы должны быть естественными принципами с простой формулировкой — таковы аксиомы (A1)–(A7). Схема Роуза — не принцип, а готовый результат: она длинна, класс O O O -задач определяется непросто, полноты на задачах она, по всей видимости, не даёт, и трудно представить, чтобы кто-нибудь воспользовался ею для доказательства общезначимости чего-то другого. Поэтому мы записываем её в примеры неполноты : формула Роуза общезначима, но не выводима в Int, а потому и в HCI (§ 6.12 ).
Обозримость в теореме 25 существенна: если φ \varphi φ — переменная, схема (R) не общезначима. В Int она равносильна схеме
( ( ¬ ¬ φ → φ ) → ( φ ∨ ¬ φ ) ) → ( ¬ ¬ φ ∨ ¬ φ ) ((\neg\neg\varphi\to\varphi) \to(\varphi\lor\neg\varphi)) \to(\neg\neg\varphi\lor\neg\varphi) (( ¬¬ φ → φ ) → ( φ ∨ ¬ φ )) → ( ¬¬ φ ∨ ¬ φ )
отличающейся тем, что в заключении посылки стоит φ ∨ ¬ φ \varphi\lor\neg\varphi φ ∨ ¬ φ , а не ¬ ¬ φ ∨ ¬ φ \neg\neg\varphi\lor\neg\varphi ¬¬ φ ∨ ¬ φ : посылки равносильны. В самом деле, ( φ ∨ ¬ φ ) → ( ¬ ¬ φ ∨ ¬ φ ) (\varphi\lor\neg\varphi) \to(\neg\neg\varphi\lor\neg\varphi) ( φ ∨ ¬ φ ) → ( ¬¬ φ ∨ ¬ φ ) , так как φ → ¬ ¬ φ \varphi\to\neg\neg\varphi φ → ¬¬ φ ; обратно, в предположении ¬ ¬ φ → φ \neg\neg\varphi\to\varphi ¬¬ φ → φ из ¬ ¬ φ ∨ ¬ φ \neg\neg\varphi\lor\neg\varphi ¬¬ φ ∨ ¬ φ следует φ ∨ ¬ φ \varphi\lor\neg\varphi φ ∨ ¬ φ . Эту схему называют аксиомой Скотта : Крайзел и Патнэм [13 ] упоминают, что Д. Скотт доказал дизъюнктивное свойство логики, получающейся добавлением её к Int. Формула Роуза — её частный случай при φ : = ¬ β ∨ ¬ γ \varphi:= \neg\beta\lor\neg\gamma φ := ¬ β ∨ ¬ γ . Мы будем называть эту задачу принципом Скотта . Янков [12 ] доказал, что принцип Скотта с переменной не реализуем по Клини; следующая теорема — аналог этого результата для наших семантик (в доказательстве, как и у Янкова, используется диагонализация по числу шагов вычисления).
Теорема 28 (принцип Скотта не общезначим). Задача
φ : = ( ( ¬ ¬ α → α ) → ( ¬ ¬ α ∨ ¬ α ) ) → ( ¬ ¬ α ∨ ¬ α ) \varphi:= ((\neg\neg\alpha\to\alpha) \to(\neg\neg\alpha\lor\neg\alpha)) \to(\neg\neg\alpha\lor\neg\alpha) φ := (( ¬¬ α → α ) → ( ¬¬ α ∨ ¬ α )) → ( ¬¬ α ∨ ¬ α ) где α \alpha α — переменная сорта задача (то есть схема (R) при φ : = α \varphi:= \alpha φ := α ), не общезначима ни в одной из трёх семантик.
Доказательство. Пусть S S S — произвольный алгоритм. Нам нужно определить интерпретацию ∗ * ∗ , для которой невыводима или ложна формула φ ∗ ( S ( ∗ ) ) \varphi^*(S(*)) φ ∗ ( S ( ∗ )) . Как уже говорилось в Замечании 5, мы докажем выводимость отрицания этой формулы во внешней теории. Буквой X X X будем обозначать значение [ [ α ] ] ∗ [\![\alpha]\!]_* [ [ α ] ] ∗ : в семантике В это содержимое ящика, в остальных — множество, определяемое формулой α ∗ \alpha^* α ∗ .
Семантика B. В ней доказательство проще: переменных-высказываний в задаче φ \varphi φ нет, код интерпретации пуст, и решатель — одно число. Поэтому с неё и начинаем.
Опишем, что такое решения входящих в задачу подзадач.
По лемме 1(6) решение задачи ¬ ¬ α → α \neg\neg\alpha\to\alpha ¬¬ α → α — это, при X ≠ ∅ X \ne\varnothing X = ∅ , номер всюду определённой функции со значениями в X X X (множество [ [ ¬ ¬ α ] ] ∗ [\![\neg\neg\alpha]\!]_* [ [ ¬¬ α ] ] ∗ равно тогда N \mathbb{N} N , так что вход ничего не сообщает), а при X = ∅ X = \varnothing X = ∅ — любое число. Назовём такой номер i i i X X X -корректным.
Решение задачи ¬ ¬ α ∨ ¬ α \neg\neg\alpha\lor\neg\alpha ¬¬ α ∨ ¬ α — это число c ( 0 , v ) c(0,v) c ( 0 , v ) (если X ≠ ∅ X \ne\varnothing X = ∅ ) или число c ( 1 , v ) c(1,v) c ( 1 , v ) (если X = ∅ X = \varnothing X = ∅ ), где v v v произвольно: значение каждого из дизъюнктов, когда оно непусто, есть N \mathbb{N} N . Значит, решение — это по существу одна лишь метка, то есть ответ на вопрос, пусто ли X X X ; будем говорить, что программа отвечает «не пусто» или «пусто».
Итак, решение посылки — это программа p p p , которая по всякому X X X -корректному номеру i i i останавливается и правильно отвечает, пусто ли X X X .
Код интерпретации ∗ * ∗ пуст, значит S ( ∗ ) S(*) S ( ∗ ) — некоторая фиксированная программа, не зависящая от ящика. Положим r : = S ( ∗ ) r := S(*) r := S ( ∗ )
Диагональная конструкция. По теореме Клини о неподвижной точке существует программа p p p , которая на входе i i i делает следующее:
моделирует работу программы r r r на входе p p p , то есть на собственном номере, ровно i i i шагов;
если за это время r r r остановилась с ответом «пусто», то отвечает «не пусто»;
иначе отвечает «пусто».
Ограничение числом шагов существенно дважды. Во-первых, моделирование конечно, и никакого зацикливания не возникает, хотя r r r по дороге может моделировать саму p p p . Во-вторых — и это главное — если r r r останавливается с ответом «пусто», то входы, на которых p p p отвечает «пусто», образуют конечный начальный отрезок. (Сам вход i i i программа p p p использует только как число шагов.)
Свяжем с r r r множество X r X_r X r : если r r r на входе p p p останавливается на шаге s s s с ответом «пусто», положим X r : = { ν ( s ) } X_r := \{\nu(s)\} X r := { ν ( s )} , где ν ( s ) \nu(s) ν ( s ) — наименьшее число, не встречающееся среди U i ( 0 ) U_i(0) U i ( 0 ) при i < s i < s i < s (таких чисел конечное число, так что ν ( s ) \nu(s) ν ( s ) определено; вычислимость ν \nu ν не понадобится, достаточно арифметической определимости); во всех остальных случаях положим X r : = ∅ X_r := \varnothing X r := ∅ .
Разбор случаев. Проверим: если X = X r X = X_r X = X r , то p p p — решение посылки, а r r r на входе p p p расходится или выдаёт неверную метку.
Случай 1: r r r на входе p p p расходится. Тогда при всяком i i i шаг (2) не срабатывает, и p ( i ) p(i) p ( i ) отвечает «пусто». Значит p p p всюду определена и всегда отвечает «пусто». При этом X = ∅ X = \varnothing X = ∅ , всякий номер X X X -корректен, и ответ «пусто» — правильное решение задачи ∼ ∼ α ∨ ∼ α \sim\!\sim\alpha\mathbin{\vee} \sim\alpha ∼ ∼ α ∨ ∼ α . Стало быть p p p — решение посылки, а r r r на нём расходится.
Случай 2: r r r на входе p p p останавливается с ответом «не пусто». Шаг (2) снова не срабатывает ни при каком i i i , так что p p p по-прежнему всюду отвечает «пусто» и является решением посылки при X = ∅ X = \varnothing X = ∅ . Но тогда правильный ответ — «пусто», а r r r ответила иначе.
Случай 3: r r r на входе p p p останавливается на шаге s s s с ответом «пусто». Тогда X = { ν ( s ) } X = \{\nu(s)\} X = { ν ( s )} — непустое множество. Проверим, что p p p — решение посылки. Пусть i i i — X X X -корректный номер; тогда U i U_i U i всюду определена и U i ( 0 ) = ν ( s ) U_i(0) = \nu(s) U i ( 0 ) = ν ( s ) . Если бы было i < s i < s i < s , то ν ( s ) \nu(s) ν ( s ) встречалось бы среди U i ( 0 ) U_i(0) U i ( 0 ) при i < s i < s i < s , чего быть не может по выбору ν ( s ) \nu(s) ν ( s ) . Значит i ≥ s i \ge s i ≥ s , при моделировании i ≥ s i \ge s i ≥ s шагов программа p p p видит остановку r r r с ответом «пусто», срабатывает шаг (2), и p p p отвечает «не пусто» — правильно, поскольку X X X непусто. Итак, p p p — решение посылки, множество X X X непусто, а r r r ответила «пусто».
Во всех трёх случаях p p p — решение посылки при X = X r X = X_r X = X r , а r r r на нём ошибается или расходится.
Возьмём в качестве содержимого ящика множество X r X_r X r : по доказанному p p p решает посылку, а r r r на ней ошибается или расходится, то есть r r r не принадлежит значению задачи при этом содержимом ящика. Это заканчивает доказательство отрицания формулы φ ∗ ( S ( ∗ ) ) \varphi^*(S(*)) φ ∗ ( S ( ∗ )) в теории множеств.
Семантики E и I. На этот раз нам нужно начать с построения формулы α ∗ ( x ) \alpha^*(x) α ∗ ( x ) , которую мы определим с помощью теоремы о неподвижной точке для PA. Опять положим r : = S ( α ∗ ) r := S(\alpha^*) r := S ( α ∗ ) . Теперь программа r r r строится алгоритмом S S S по формуле α ∗ \alpha^* α ∗ , которую мы должны предъявить, а предъявить её нужно так, чтобы значение ⟦ α ⟧ ∗ \llbracket\alpha\rrbracket_* [ [ α ] ] ∗ совпало с X r X_r X r . Получается порочный круг, и существование α ∗ \alpha^* α ∗ обеспечивается леммой о неподвижной точке для PA: существует формула α ∗ ( x ) \alpha^*(x) α ∗ ( x ) , для которой PA доказывает
α ∗ ( x ) ≡ ∃ s ( ⟨ S ( α ∗ ) на входе p останавливается на шаге s с ответом «пусто» ⟩ ∧ x = ν ( s ) ) , \alpha^*(x) \equiv\exists s\left(\left\langle S(\alpha^*)\text{ на входе }p\text{ останавливается на шаге }s\text{ с ответом «пусто»}\right\rangle\wedge x=\nu(s)\right), α ∗ ( x ) ≡ ∃ s ( ⟨ S ( α ∗ ) на входе p останавливается на шаге s с ответом « пусто » ⟩ ∧ x = ν ( s ) ) ,
где p p p строится по r = S ( α ∗ ) r = S(\alpha^*) r = S ( α ∗ ) вышеприведённой Диагональной конструкцией. Лемма применима: условие в скобках арифметично, а ν \nu ν арифметически определима. По построению формула α ∗ ( x ) \alpha^*(x) α ∗ ( x ) равносильна в PA формуле x ∈ X r x \in X_r x ∈ X r , так что разбор случаев опровергает формулу φ ∗ ( S ( ∗ ) ) \varphi^*(S(*)) φ ∗ ( S ( ∗ )) во внешней теории. □
Отметим попутно, что класс O \mathcal{O} O в схеме Роуза ни расширить до всех задач, ни существенно сузить нельзя: с переменной вместо φ \varphi φ схема влечёт принцип Скотта, который не общезначим (теорема 28); на Σ \Sigma Σ -задачах она выводима из (A7) одним (MP), так что всё её содержание держится на отрицаниях.
Позитивный безмодальный фрагмент
Позитивной назовём безмодальную задачу, не содержащую ∅ \varnothing ∅ (а значит, и ∼ \sim ∼ ). Позитивный фрагмент логики — множество её позитивных формул; логика имеет интуиционистский позитивный фрагмент, если её позитивный фрагмент совпадает с позитивным фрагментом Int. Мы докажем, что позитивные фрагменты всех трёх логик L Z \mathcal{L}_Z L Z интуиционистские: вся разница этих логик с Int живёт на формулах с ∅ \varnothing ∅ .
Определение 16 (Медведев). Критическая импликация — позитивная формула вида ⋀ i ( ( P i → Q i ) → Q i ) → R \bigwedge_i((P_i \to Q_i) \to Q_i) \to R ⋀ i (( P i → Q i ) → Q i ) → R , где P i P_i P i — конъюнкции переменных, Q i Q_i Q i и R R R — дизъюнкции переменных, причём при каждом i i i формулы P i P_i P i и Q i Q_i Q i не имеют общих переменных, а каждая из P i P_i P i , Q i Q_i Q i , R R R содержит хотя бы одну переменную. Для каждого n > 0 n > 0 n > 0 положим
J n : = ⋀ ∅ ≠ E ⊊ { 1 , … , n } ( ( ⋀ j ∉ E α j → ⋁ i ∈ E α i ) → ⋁ i ∈ E α i ) → ⋁ i = 1 n α i J_n := \bigwedge_{\varnothing\ne E \subsetneq\{1,\ldots,n\}} \left(\left(\bigwedge_{j \notin E} \alpha_j \to\bigvee_{i \in E} \alpha_i\right) \to\bigvee_{i \in E} \alpha_i\right) \to\bigvee_{i=1}^{n} \alpha_i J n := ∅ = E ⊊ { 1 , … , n } ⋀ j ∈ / E ⋀ α j → i ∈ E ⋁ α i → i ∈ E ⋁ α i → i = 1 ⋁ n α i — самую слабую критическую импликацию в переменных-задачах α 1 , … , α n \alpha_1,\ldots,\alpha_n α 1 , … , α n ; в частности J 1 = α 1 J_1 = \alpha_1 J 1 = α 1 .
Теорема 29 (Медведев, 1962; [11 ] ). Суперинтуиционистская логика имеет интуиционистский позитивный фрагмент в том и только том случае, когда в ней не выводима ни одна критическая импликация, и это равносильно тому, что в ней не выводима ни одна из формул J n J_n J n .
Теорема 30 (Янков, 1968; [14 ] ). Суперинтуиционистская логика имеет интуиционистский позитивный фрагмент в том и только том случае, когда она содержится в J : = I n t + ( ∼ α ∨ ∼ ∼ α ) \mathsf{J} := \mathrm{Int} + (\sim\alpha\mathbin{\vee} \sim\sim\alpha) J := Int + ( ∼ α ∨ ∼∼ α ) — логике слабого закона исключённого третьего.
Критерий Медведева удобен для логик, заданных семантически (а наша задана именно так), критерий Янкова — для заданных аксиоматически. Мы пользуемся ими в связке: первый даёт интуиционистский позитивный фрагмент, второй превращает это во включение L Z ⊆ J \mathcal{L}_Z \subseteq\mathsf{J} L Z ⊆ J .
Логика реализуемых пропозициональных формул устроена так: переменные заменяются арифметическими формулами, связки — клиниевскими операциями, и формула считается принадлежащей логике, если при всякой подстановке у неё есть реализация. Различают три варианта [18 ] : R \mathcal{R} R — реализация просто существует; R e f f \mathcal{R}_{\mathrm{eff}} R eff — реализацию можно эффективно найти по подставляемым формулам; R c o n s t \mathcal{R}_{\mathrm{const}} R const — одна и та же реализация годится при всех подстановках. Очевидно R c o n s t ⊆ R e f f ⊆ R \mathcal{R}_{\mathrm{const}} \subseteq\mathcal{R}_{\mathrm{eff}} \subseteq\mathcal{R} R const ⊆ R eff ⊆ R .
Три уровня из замечания 8 — это в точности они. Наше понятие общезначимости — средний: решение выдаётся вычислимой функцией по коду интерпретации. Разница с R e f f \mathcal{R}_{\mathrm{eff}} R eff только в том, что у нас значением переменной служит произвольное арифметически определимое множество, а там — множество реализаций арифметической формулы.
Для логик реализуемости R \mathcal{R} R , R e f f \mathcal{R}_{\mathrm{eff}} R eff , R c o n s t \mathcal{R}_{\mathrm{const}} R const интуиционистичность позитивного фрагмента известна (Медведев, Плиско; [18 ] ), но ссылаться на это здесь нельзя. Казалось бы, достаточно включения L E ⊆ R \mathcal{L}_E \subseteq\mathcal{R} L E ⊆ R — условие ∃ S ∀ ∗ \exists S\,\forall^* ∃ S ∀ ∗ сильнее, чем ∀ ∗ ∃ \forall^* \exists ∀ ∗ ∃ , — и тогда позитивный фрагмент L E \mathcal{L}_{\mathrm{E}} L E оказался бы зажат между совпадающими позитивными фрагментами Int и R \mathfrak{R} R . Но семантики не совпадают: у нас значением переменной служит произвольное арифметически определимое множество, а в определении R \mathfrak{R} R — множество реализаций арифметической формулы, и не всякое арифметическое множество является множеством реализаций. Поэтому мы пойдём прямым путём: по теореме 29 достаточно проверить, что ни одна формула J n J_n J n не общезначима. Нужная конструкция есть в [15 ] ; операции над множествами там ровно те же, что в нашем определении 3 (метки 0 и 1 у дизъюнкции, пары у конъюнкции, e ( x ) ∈ Y e(x) \in Y e ( x ) ∈ Y у импликации), так что перенос сводится к тому, чтобы замкнуть круговую зависимость решателя от кода интерпретации.
Скажем, что программа коперечисляет множество, если она перечисляет его дополнение.
Лемма 31 ([15 ] ). Пусть даны натуральное m ≥ 1 m \ge1 m ≥ 1 , программа q q q , перечисляющая множество M M M из не более чем 2 m 2^m 2 m чисел, и критическая импликация J n J_n J n от n n n переменных. Тогда можно эффективно (то есть некоторой всюду определённой вычислимой функцией от m m m , n n n и q q q ) найти программы a 1 , … , a n a_1,\ldots,a_n a 1 , … , a n , коперечисляющие непустые множества A 1 , … , A n A_1,\ldots,A_n A 1 , … , A n , для которых
M ∩ J n ( A 1 , … , A n ) = ∅ . M \cap J_n(A_1,\ldots,A_n) = \varnothing. M ∩ J n ( A 1 , … , A n ) = ∅ . При этом все элементы множеств A j A_j A j не превосходят 2 C m 2^{Cm} 2 C m , где константа C C C зависит только от n n n .
Доказательство этой леммы не выходит за рамки PA. Конструкция в двух слоях: множества A j A_j A j берутся вначале конечными отрезками подходящих размеров, а затем из них по шагам удаляются элементы — всякий раз, когда очередная программа e ∈ M e \in M e ∈ M обнаруживает себя на подходящих аргументах, её ответ удаляется из соответствующего A j A_j A j . Одновременно по теореме о неподвижной точке строятся вспомогательные программы, свидетельствующие о принадлежности посылок ( ( P i → Q i ) → Q i ) ((P_i \to Q_i) \to Q_i) (( P i → Q i ) → Q i ) , и главная работа — оценка числа удалений, которая и показывает, что процесс останавливается, а множества не пустеют. Именно здесь используется условие из определения критической импликации, что P i P_i P i и Q i Q_i Q i не имеют общих переменных.
Теорема 32 (позитивный фрагмент интуиционистский). Позитивная задача общезначима (в любой из трёх семантик) тогда и только тогда, когда она выводима в Int.
Доказательство. Одна сторона — предложение 6. Обратно, по теореме 29 достаточно проверить, что ни одна формула J n J_n J n не общезначима — ни в одной из трёх семантик.
Семантика B — самый простой случай. Высказывательных переменных в J n J_n J n нет, поэтому код прозрачной части пуст и решатель сводится к одному числу e 0 e_0 e 0 . Применим лемму 31 при m : = 1 m := 1 m := 1 к программе «напечатать e 0 e_0 e 0 и остановиться»: получим непустые коперечислимые множества A 1 , … , A n A_1,\ldots,A_n A 1 , … , A n с e 0 ∉ J n ( A 1 , … , A n ) e_0 \notin J_n(A_1,\ldots,A_n) e 0 ∈ / J n ( A 1 , … , A n ) . Положим содержимое ящиков X α j : = A j X_{\alpha_j} := A_j X α j := A j ; по лемме 1 значения связок — это в точности операции из леммы 31, так что [ J n ] ∗ = J n ( A 1 , … , A n ) [J_n]_* = J_n(A_1,\ldots,A_n) [ J n ] ∗ = J n ( A 1 , … , A n ) и утверждение e 0 ∉ [ J n ] ∗ e_0 \notin[J_n]_* e 0 ∈ / [ J n ] ∗ доказуемо в PA, а тем более в ZF. Семантики E и I. Здесь решатель получает код, и нужна самоссылка. Пусть S S S — всюду определённая вычислимая функция, предположительно решающая J n J_n J n . Это означает: формула J n ∗ ( S ( ∗ ) ) J_n^{*}(S(*)) J n ∗ ( S ( ∗ )) доказуема или истинна при всякой интерпретации ∗ * ∗ .
Построение по коду. Возьмём m : = 1 m := 1 m := 1 . Для произвольного кортежа c c c из n n n формул обозначим через q c q_c q c программу «напечатать S ( c ) S(c) S ( c ) и остановиться»; её номер вычислим по c c c . Пусть a 1 ( c ) , … , a n ( c ) a_1(c),\ldots,a_n(c) a 1 ( c ) , … , a n ( c ) — программы, которые выдаёт по q c q_c q c алгоритм из леммы 31. Этот алгоритм есть всюду определённая вычислимая функция от номера входной программы, поэтому a j ( c ) a_j(c) a j ( c ) определены при всяком c c c ; положим
A j ( c ) : = { x : программа a j ( c ) не печатает x } . A_j(c) := \{x : \text{программа }a_j(c)\text{ не печатает }x\}. A j ( c ) := { x : программа a j ( c ) не печатает x } .
Условие справа — это ∀ i ¬ ( U ( a j ( c ) , i ) ↓ = x ) \forall i\ \neg(U(a_j(c),i)\downarrow=x) ∀ i ¬ ( U ( a j ( c ) , i ) ↓= x ) , то есть Π 1 \Pi_1 Π 1 -условие, причём равномерно по c c c . Значит есть арифметические формулы θ j ( c , x ) \theta_j(c,x) θ j ( c , x ) , задающие A j ( c ) A_j(c) A j ( c ) при каждом c c c .
Утверждение же леммы гарантирует, что для всех c c c множества A j ( c ) A_j(c) A j ( c ) непусты и что
S ( c ) ∉ J n ( A 1 ( c ) , … , A n ( c ) ) , (14) S(c) \notin J_n(A_1(c),\ldots,A_n(c)), \tag*{(14)} S ( c ) ∈ / J n ( A 1 ( c ) , … , A n ( c )) , (14)
причём это утверждение доказуемо в PA. Заметим, что это утверждение есть отрицание формулы ( J n ) ∗ ( S ( c ) ) (J_n)^*(S(c)) ( J n ) ∗ ( S ( c )) для интерпретации ∗ * ∗ (зависящей от c c c ), определённой равенствами α j ∗ : = θ j ( c , x ) \alpha_j^* := \theta_j(c,x) α j ∗ := θ j ( c , x ) . Если бы нам удалось выбрать c c c так, чтобы c c c совпадало с ⟨ θ 1 ( c , x ) , … , θ n ( c , x ) ⟩ \langle\theta_1(c,x),\ldots,\theta_n(c,x)\rangle ⟨ θ 1 ( c , x ) , … , θ n ( c , x )⟩ , мы достигли бы цели: формула ¬ ( J n ) ∗ ( S ( c ) ) \neg(J_n)^*(S(c)) ¬ ( J n ) ∗ ( S ( c )) была бы доказуема в PA для соответствующей интерпретации ∗ * ∗ . Но ясно, что это безнадёжно.
Порочный круг разрывается совместной леммой о неподвижной точке (см., например, [27 гл. 1] ): для любых формул θ 1 ( c , x ) , … , θ n ( c , x ) \theta_1(c,x),\ldots,\theta_n(c,x) θ 1 ( c , x ) , … , θ n ( c , x ) существуют формулы χ 1 ( x ) , … , χ n ( x ) \chi_1(x),\ldots,\chi_n(x) χ 1 ( x ) , … , χ n ( x ) , для которых
P A ⊢ χ j ( x ) ≡ θ j ( ⟨ χ 1 , … , χ n ⟩ , x ) , j = 1 , … , n . \mathrm{PA}\vdash\chi_j(x)\equiv\theta_j(\langle\chi_1,\ldots,\chi_n\rangle,x),\qquad j=1,\ldots,n. PA ⊢ χ j ( x ) ≡ θ j (⟨ χ 1 , … , χ n ⟩ , x ) , j = 1 , … , n .
Теперь мы можем определить интерпретацию ∗ * ∗ , положив α j ∗ : = χ j \alpha_j^* := \chi_j α j ∗ := χ j и c : = ⟨ χ 1 , … , χ n ⟩ c := \langle\chi_1,\ldots,\chi_n\rangle c := ⟨ χ 1 , … , χ n ⟩ . По построению мы можем доказать в PA равносильность θ j ( c , x ) \theta_j(c,x) θ j ( c , x ) и χ j ( x ) \chi_j(x) χ j ( x ) , а значит и равносильность J n ( A 1 ( c ) , … , A n ( c ) ) J_n(A_1(c),\ldots,A_n(c)) J n ( A 1 ( c ) , … , A n ( c )) и J n ( χ 1 , … , χ n ) J_n(\chi_1,\ldots,\chi_n) J n ( χ 1 , … , χ n ) . Значит формула S ( c ) ∉ J n ( χ 1 , … , χ n ) S(c)\notin J_n(\chi_1,\ldots,\chi_n) S ( c ) ∈ / J n ( χ 1 , … , χ n ) так же доказуема в PA. А эта формула и есть ¬ ( J n ) ∗ ( S ( c ) ) \neg(J_n)^*(S(c)) ¬ ( J n ) ∗ ( S ( c )) .
Как обычно, для семантики E мы просто можем сказать, что из доказуемости следует истинность, поэтому J n J_n J n не общезначима. А для семантики I, как и выше для B, воспользоваться непротиворечивостью внешней теории.
Сведём вместе обе границы.
Следствие 33. Для каждой из трёх семантик Z Z Z
I n t ⊊ L Z ⊊ ⋈ . \mathrm{Int}\subsetneq\mathcal{L}_Z\subsetneq\mathord{\Join}. Int ⊊ L Z ⊊ ⋈ . Кроме того, L I ⊆ L E \mathcal{L}_I\subseteq\mathcal{L}_E L I ⊆ L E .
Доказательство. Первое включение и его строгость — предложения 6 и 27 (формула Роуза общезначима во всех трёх семантиках, причём с постоянным решателем). Далее: по теореме 32 каждая логика L Z \mathcal{L}_Z L Z имеет интуиционистский позитивный фрагмент, а тогда по критерию Янкова (теорема 30) L Z ⊆ ⋈ \mathcal{L}_Z\subseteq\mathord{\Join} L Z ⊆ ⋈ . Строгость: слабый закон исключённого третьего принадлежит ⋈ \mathord{\Join} ⋈ по определению, но не общезначим ни в одной семантике (предложение 24). Включение L I ⊆ L E \mathcal{L}_I\subseteq\mathcal{L}_E L I ⊆ L E : внутренняя теория PA содержится во внешней TA.
Независимость аксиом
Нетривиальные факты о выводимости — это прежде всего факты о невыводимости. Соберём их здесь.
Неполнота на задачах. Семейства общезначимых безмодальных задач — логики L Z \mathcal{L}_{Z} L Z — описаны в § 6.10 с точностью до сэндвича. Здесь речь пойдёт о выводимых безмодальных задачах, причём о выводимости в HCI. Про HCE скажем сразу то немногое, что знаем: его безмодальный фрагмент содержит фрагмент HCI (всякая теорема HCI — аксиома HCE) и содержится в L E \mathcal{L}_{E} L E (корректность, теорема 15), но совпадает ли он с фрагментом HCI — неизвестно: из (A8) и (A9) по (MP) в принципе могли бы вывестись новые безмодальные задачи, и модель теоремы 34 ниже этого не исключает — схемы (A8) и (A9) в ней ложны (см. также § 8 ). Про HCI известно следующее.
Теорема 34 (безмодальный фрагмент — это в точности Int). Пусть φ \varphi φ — задача, не содержащая ни ! ! ! , ни ? ? ? . Тогда φ \varphi φ выводима в HCI в том и только том случае, когда она выводима в Int.
Доказательство — в приложении.
Следствие 35 (неполнота на задачах). Исчисление HCI неполно относительно каждой из семантик I, E: формула Роуза общезначима в них (предложение 27), но безмодальна и в Int не выводима по теореме Роуза [9 ] , а потому не выводима и в HCI.
Выводима ли формула Роуза в HCB, мы не знаем (замечание 13); ещё два кандидата на пример неполноты HCB — задачи
Π α ( ( ( α → β ) → α ) → α ) → β \Pi\alpha\left(((\alpha\to\beta) \to\alpha) \to\alpha\right) \to\beta Π α ( (( α → β ) → α ) → α ) → β
и
Π α ( ( ( α → β ) → β ) → ( α ∨ β ) ) → β , \Pi\alpha\left(((\alpha\to\beta) \to\beta) \to(\alpha\mathbin{\lor} \beta)\right) \to\beta, Π α ( (( α → β ) → β ) → ( α ∨ β ) ) → β ,
B-общезначимые по предложению 17(4),(6); их выводимость в HCB неизвестна (замечание 12).
Схема (A7).
Теорема 36. Схема (A7) не выводима в HCI из остальных аксиом.
Доказательство — двухточечная модель Крипке, в которой верны все схемы (A1)–(A6) и все три правила вывода, а задача ∼ ∼ ! ⊥ → ! ⊥ \sim\sim!\bot\to!\bot ∼∼ ! ⊥ → ! ⊥ — нет; она построена в приложении C (предложение 45). Для HCE вопрос открыт, и моделями его так не решить (замечание ниже).
Схемы (A8) и (A9).
Они не просто не выводимы в HCI, а несовместимы с ним.
Замечание 16. Ни (A8), ни (A9) нельзя добавить к HCI: оба исчисления HCI+(A8) и HCI+(A9) противоречивы. Достаточно одного экземпляра (A8) — высказывания □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ : правило (AtoP) даёт ! ( □ ⊥ ⊃ ⊥ ) !(\Box\bot\supset\bot) ! ( □ ⊥ ⊃ ⊥ ) , схема Лёба (A6) при A : = ⊥ A := \bot A := ⊥ — задачу ! ⊥ !\bot ! ⊥ , правило (PtoA) — высказывание ? ! ⊥ ?!\bot ?! ⊥ , то есть □ ⊥ \Box\bot □ ⊥ , и □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ даёт ⊥ \bot ⊥ .
Схема (A9) этот экземпляр доставляет: в примере 1(4) из (A9) выведена задача ∼ ! ⊥ \sim!\bot ∼ ! ⊥ , а из неё правилом (PtoA) и схемами (A4a), (A4d) — высказывание ? ! ⊥ ⊃ ⊥ ?!\bot\supset\bot ?! ⊥ ⊃ ⊥ , то есть □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ .
Иначе говоря, (A9) относится к сорту задача ровно так же, как рефлексия (A8) — к сорту высказывание: и та, и другая несовместимы с парой «необходимость + Лёб». Поэтому обе стоят в HCE, где правила (AtoP) нет, и поэтому же HCE, вопреки виду, не замкнуто относительно (AtoP): его непротиворечивость даёт только теорема 15.
Практическое следствие: никакая одна алгебраическая модель не может удовлетворять всем аксиомам и правилам HCI и вдобавок всем частным случаям (A9). Независимость чего-либо от HCE моделями так не доказывается — нужна техника вроде той, какой пользуются для GLS. (Конец замечания.)
Обратный вопрос — выводится ли (A8) из (A9) — решается отрицательно, хотя частные случаи (A8) из (A9) получаются: так в примере 1(4) выведено □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ .
Предложение 37 ((A8) не выводима из (A9)). Пусть A A A — переменная сорта высказывание. Высказывание □ A ⊃ A \Box A \supset A □ A ⊃ A не выводимо из теорем HCI и схемы (A9) правилами (MP) и (PtoA). Выводимы же из них все экземпляры рефлексии □ ? φ ⊃ ? φ \Box?\varphi\supset?\varphi □ ? φ ⊃ ? φ .
Доказательство. Выводимость: применим к экземпляру (A9) правило ( ? → ) (? \to) ( ? → ) и схемы (A4a), (A4d): ? ! ? φ ⊃ ? ∼ ∼ φ ?!?\varphi\supset?\sim\sim\varphi ?!? φ ⊃ ? ∼∼ φ , а ? ∼ ∼ φ ≡ ¬ ¬ ? φ ≡ ? φ ? \sim\sim\varphi\equiv\neg\neg?\varphi\equiv?\varphi ? ∼∼ φ ≡ ¬¬ ? φ ≡ ? φ .
Невыводимость. Пусть C 1 , … , C m C_1,\ldots,C_m C 1 , … , C m — вывод высказывания C m C_m C m из теорем HCI и экземпляров (A9) правилами (MP) и (PtoA). Сопоставим каждой формуле вывода высказывание C i ′ C_i' C i ′ : если C i C_i C i — высказывание, то C i ′ : = C i C_i' := C_i C i ′ := C i , а если задача, то C i ′ : = ? C i C_i' := ?C_i C i ′ := ? C i (внутрь формул мы не заглядываем).
Покажем, что C m † C_m^\dagger C m † выводится из теорем GL и конечного числа высказываний вида □ N ⊃ N \Box N \supset N □ N ⊃ N одним правилом (MP), причём N N N здесь — □ \Box □ -формулы, в которых все переменные-высказывания стоят под □ \Box □ (свободно стоят только атомы ? α ? \alpha ? α ); в частности, N = A N = A N = A среди них нет. Если C i C_i C i — теорема HCI, то и C i ′ C_i' C i ′ — теорема HCI (при необходимости применяем (PtoA)), и G L ⊢ C i ′ † \mathrm{GL} \vdash C_i'^\dagger GL ⊢ C i ′ † по следствию 22. Если C i C_i C i — экземпляр (A9) ! ? φ → ∼ ∼ φ !? \varphi\to\sim\sim\varphi !? φ →∼∼ φ , то C i ′ † = □ N ⊃ ¬ ¬ N C_i'^\dagger= \Box N \supset\neg\neg N C i ′ † = □ N ⊃ ¬¬ N , где N = φ † N = \varphi^\dagger N = φ † ; она получается по (MP) из □ N ⊃ N \Box N \supset N □ N ⊃ N и теоремы классической логики. Формула N N N — указанного вида, поскольку φ \varphi φ — задача: высказывание входит в задачу только в виде ! B !B ! B , а ( ! B ) † = □ B † ( !B)^\dagger= \Box B^\dagger ( ! B ) † = □ B † . Если C i C_i C i получена по (MP) из задач C j C_j C j и C l = C j → C i C_l = C_j \to C_i C l = C j → C i , то C i ′ † C_i'^\dagger C i ′ † получается по (MP) из C j ′ † C_j'^\dagger C j ′ † и C l ′ † = C j ′ † ⊃ C i ′ † C_l'^\dagger= C_j'^\dagger\supset C_i'^\dagger C l ′ † = C j ′ † ⊃ C i ′ † ; правило (MP) на высказываниях переходит в себя. Наконец, если C i = ? C j C_i = ?C_j C i = ? C j получена по (PtoA), то C i ′ = C j ′ C_i' = C_j' C i ′ = C j ′ .
Итак, C m † C_m^\dagger C m † получается из теорем GL и конечного числа высказываний □ N i ⊃ N i \Box N_i \supset N_i □ N i ⊃ N i указанного вида одними применениями (MP), и потому
G L ⊢ ⋀ i ( □ N i ⊃ N i ) ⊃ C m † . \mathrm{GL} \vdash\bigwedge_i(\Box N_i \supset N_i) \supset C_m^\dagger. GL ⊢ i ⋀ ( □ N i ⊃ N i ) ⊃ C m † .
Для C m = □ A ⊃ A C_m = \Box A \supset A C m = □ A ⊃ A (здесь C m † = C m C_m^\dagger= C_m C m † = C m ) это невозможно. Пусть k k k больше модальной глубины всех N i N_i N i , и рассмотрим GL-модель на цепи w 0 R w 1 R … R w k w_0 R w_1 R \ldots R w_k w 0 R w 1 R … R w k (транзитивной и иррефлексивной), в которой A A A ложна в w 0 w_0 w 0 и истинна в остальных точках, а все прочие атомы постоянны. Тогда w 0 ⊩ □ A w_0 \Vdash\Box A w 0 ⊩ □ A и w 0 ⊮ A w_0 \nVdash A w 0 ⊮ A . С другой стороны, в точках w 1 , … , w k w_1,\ldots,w_k w 1 , … , w k все атомы постоянны, и индукцией по модальной глубине d d d произвольной □ \Box □ -формулы X X X (в ней A A A может стоять и вне модальностей) проверяется, что во всех точках w 1 , … , w k − d w_1,\ldots,w_{k-d} w 1 , … , w k − d истинность X X X одна и та же. База (d = 0 d = 0 d = 0 ): X X X — булева комбинация атомов, постоянных в этих точках. Шаг индукции: пусть X = □ Y X = \Box Y X = □ Y имеет глубину d + 1 d + 1 d + 1 и $1 \le i \le k - d - 1$; преемники точки w i w_i w i — это w i + 1 , … , w k − d w_{i+1},\ldots,w_{k-d} w i + 1 , … , w k − d , в которых Y Y Y по предположению индукции имеет одно и то же значение, и w k − d + 1 , … , w k w_{k-d+1},\ldots,w_k w k − d + 1 , … , w k , общие для всех таких w i w_i w i . Аналогично, для формулы N i N_i N i , в которой A A A встречается только под □ \Box □ , истинность N i N_i N i в w 0 w_0 w 0 совпадает с истинностью в w 1 w_1 w 1 . Действительно, N i N_i N i — булева комбинация атомов, отличных от A A A , и формул вида □ X \Box X □ X ; атомы, отличные от A A A , в w 0 w_0 w 0 и w 1 w_1 w 1 имеют одинаковые значения, а □ X \Box X □ X в w 0 w_0 w 0 отличается от □ X \Box X □ X в w 1 w_1 w 1 лишь значением X X X в w 1 w_1 w 1 , которое совпадает со значением X X X в w 2 w_2 w 2 по доказанному (глубина X X X не превосходит k − 2 k-2 k − 2 ). Значит, из w 0 ⊩ □ N i w_0 \Vdash\Box N_i w 0 ⊩ □ N i следует w 1 ⊩ N i w_1 \Vdash N_i w 1 ⊩ N i , а с ним и w 0 ⊩ N i w_0 \Vdash N_i w 0 ⊩ N i ; все посылки □ N i ⊃ N i \Box N_i \supset N_i □ N i ⊃ N i в w 0 w_0 w 0 верны, а □ A ⊃ A \Box A \supset A □ A ⊃ A — нет.
Таким образом, схемы (A8) и (A9) в HCE независимы хотя бы в одну сторону; обратная независимость — (A9) от HCI+(A8) — остаётся открытой (§ 8 ).
Схемы, не ставшие аксиомами. Аксиомы исчислений отбирались по общезначимости, и некоторые естественные кандидаты на этом пути были отвергнуты. Два из них стоит назвать — как следы поиска аксиом: распределение ! по дизъюнкции (и его □ \Box □ -версия) и попытка обратить схему (A3), получив из преобразования выводов вывод импликации между доказуемостями.
Теорема 38. Пусть A A A , B B B — переменные сорта высказывание. Следующие формулы не общезначимы ни в одной из трёх семантик, а потому (теорема 15) не выводимы ни в одном из трёх исчислений:
(1) □ ( A ∨ B ) ⊃ ( □ A ∨ □ B ) \Box(A \lor B) \supset(\Box A \lor\Box B) □ ( A ∨ B ) ⊃ ( □ A ∨ □ B ) ;
(2) ( ! A → ! B ) → ! ( □ A ⊃ □ B ) (!A \to!B) \to!(\Box A \supset\Box B) ( ! A → ! B ) → ! ( □ A ⊃ □ B ) .
Доказательство. (1) Пусть σ \sigma σ — россеровское предложение для внутренней теории: из непротиворечивости теории следует, что ни σ \sigma σ , ни ¬ σ \neg\sigma ¬ σ в ней не доказуемы, причём это рассуждение формализуется в самой теории (см., напр., [27 гл. 2] ). Возьмём A ∗ : = σ A^* := \sigma A ∗ := σ , B ∗ : = ¬ σ B^* := \neg\sigma B ∗ := ¬ σ . Дизъюнкция A ∗ ∨ B ∗ A^* \lor B^* A ∗ ∨ B ∗ — тавтология и потому доказуема, а ни A ∗ A^* A ∗ , ни B ∗ B^* B ∗ не доказуемы. В семантике E уже всё ясно: посылка истинна, а заключение ложно. Во внутренних семантиках надо опровергнуть выводимость во внешней теории T T T (она же внутренняя): посылка — истинное Σ 1 \Sigma_1 Σ 1 -предложение и потому доказуема, так что из доказуемости высказывания следовало бы T ⊢ Pr ( σ ) ∨ Pr ( ¬ σ ) T \vdash\operatorname{Pr}(\sigma) \lor\operatorname{Pr}(\neg\sigma) T ⊢ Pr ( σ ) ∨ Pr ( ¬ σ ) , а вместе с формализованной теоремой Россера
T ⊢ Con ⊃ ¬ Pr ( σ ) ∧ ¬ Pr ( ¬ σ ) T \vdash\operatorname{Con} \supset\neg\operatorname{Pr}(\sigma) \land\neg\operatorname{Pr}(\neg\sigma) T ⊢ Con ⊃ ¬ Pr ( σ ) ∧ ¬ Pr ( ¬ σ )
это дало бы T ⊢ ¬ Con T \vdash\neg\operatorname{Con} T ⊢ ¬ Con . Последнее невозможно при Σ 1 \Sigma_1 Σ 1 -корректности T T T : ¬ Con \neg\operatorname{Con} ¬ Con — ложное Σ 1 \Sigma_1 Σ 1 -предложение.
(2) Возьмём A ∗ : = ¬ Con A^* := \neg\operatorname{Con} A ∗ := ¬ Con (то есть □ ⊥ \Box\bot □ ⊥ ) и B ∗ : = ⊥ B^* := \bot B ∗ := ⊥ ; обозначим через L L L перевод высказывания □ A ⊃ □ B \Box A \supset\Box B □ A ⊃ □ B , то есть формулу □ □ ⊥ ⊃ □ ⊥ \Box\Box\bot\supset\Box\bot □□ ⊥ ⊃ □ ⊥ , а через T T T — внешнюю теорию. Здесь понадобится Σ 1 \Sigma_1 Σ 1 -корректность T T T (замечание 5); поскольку внутренняя теория содержится во внешней, она тогда тоже Σ 1 \Sigma_1 Σ 1 -корректна. Надо показать, что T ⊬ φ ∗ ( n ) T \nvdash\varphi^*(n) T ⊬ φ ∗ ( n ) при любом n n n , где
φ = ( ! □ ⊥ → ! ⊥ ) ⊃ ! ( □ □ ⊥ → □ ⊥ ) \varphi= (!\Box\bot\to!\bot) \supset!(\Box\Box\bot\to\Box\bot) φ = ( ! □ ⊥ → ! ⊥ ) ⊃ ! ( □□ ⊥ → □ ⊥ )
(для E это означает, что значение задачи пусто). Формула φ ∗ ( n ) \varphi^*(n) φ ∗ ( n ) имеет вид
∀ v ( P ( v ) ⊃ Prf ( U n ( v ) , L ) ) , \forall v\ \bigl(P(v) \supset\operatorname{Prf}(U_n(v),L)\bigr), ∀ v ( P ( v ) ⊃ Prf ( U n ( v ) , L ) ) ,
где P ( v ) P(v) P ( v ) — перевод посылки ! A → ! B !A \to!B ! A → ! B , то есть
∀ w ( Prf ( w , ¬ Con ) ⊃ Prf ( U v ( w ) , ⊥ ) ) . \forall w\ \bigl(\operatorname{Prf}(w,\neg\operatorname{Con}) \supset\operatorname{Prf}(U_v(w),\bot)\bigr). ∀ w ( Prf ( w , ¬ Con ) ⊃ Prf ( U v ( w ) , ⊥ ) ) .
Допустим T ⊢ φ ∗ ( n ) T \vdash\varphi^*(n) T ⊢ φ ∗ ( n ) . Рассуждаем в T T T : если ¬ □ □ ⊥ \neg\Box\Box\bot ¬ □□ ⊥ , то есть выводов формулы ¬ C o n \neg\mathrm{Con} ¬ Con нет, то P ( v ) P(v) P ( v ) выполнено при всяком v v v , так как ее посылка ложна, поэтому P r f ( U n ( 0 ) , L ) \mathrm{Prf}(U_n(0), L) Prf ( U n ( 0 ) , L ) и тем более □ L \Box L □ L . Итак, T ⊢ ¬ □ □ ⊥ ⊃ □ L T \vdash\neg\Box\Box\bot\supset\Box L T ⊢ ¬ □□ ⊥ ⊃ □ L . С другой стороны, формализованная теорема Лёба □ ( □ C ⊃ C ) ⊃ □ C \Box(\Box C \supset C) \supset\Box C □ ( □ C ⊃ C ) ⊃ □ C — теорема PA, а потому и T T T — при C : = □ ⊥ C := \Box\bot C := □ ⊥ даёт T ⊢ □ L ⊃ □ □ ⊥ T \vdash\Box L \supset\Box\Box\bot T ⊢ □ L ⊃ □□ ⊥ . Вместе получаем T ⊢ □ □ ⊥ T \vdash\Box\Box\bot T ⊢ □□ ⊥ . Это Σ 1 \Sigma_1 Σ 1 -предложение, и по Σ 1 \Sigma_1 Σ 1 -корректности T T T оно истинно: внутренняя теория доказывает □ ⊥ \Box\bot □ ⊥ , то есть ¬ C o n \neg\mathrm{Con} ¬ Con , — вопреки её Σ 1 \Sigma_1 Σ 1 -корректности.
Выводимые задачи с модальностями: что известно
Полного описания семейства выводимых задач у нас нет — как нет и описания семейства общезначимых (§ 5.4 ); неизвестно даже, полна ли система HCI на задачах (§ 8 ). Здесь собрано то, что известно о задачах специального вида — о ▽ \triangledown ▽ -фрагменте.
Для ▽ = ! ? \triangledown= !? ▽ = !? выводимы схемы K, 4 и Лёба. Первая схема ▽ ( φ → ψ ) → ( ▽ φ → ▽ ψ ) \triangledown(\varphi\to\psi) \to(\triangledown\varphi\to\triangledown\psi) ▽ ( φ → ψ ) → ( ▽ φ → ▽ ψ ) получается из (A3) при A : = ? φ A := ?\varphi A := ? φ , B : = ? ψ B := ?\psi B := ? ψ , поскольку ! ? ( φ → ψ ) ↔ ! ( ? φ ⊃ ? ψ ) !?(\varphi\to\psi) \leftrightarrow!(?\varphi\supset?\psi) !? ( φ → ψ ) ↔ ! ( ? φ ⊃ ? ψ ) по (A4a) и лемме 13. Вторая схема ▽ φ → ▽ ▽ φ \triangledown\varphi\to\triangledown\triangledown\varphi ▽ φ → ▽▽ φ — это (A5) при σ : = ! ? φ \sigma:= !?\varphi σ := !? φ . Наконец, ▽ ( ▽ φ → φ ) → ▽ φ \triangledown(\triangledown\varphi\to\varphi) \to\triangledown\varphi ▽ ( ▽ φ → φ ) → ▽ φ получается из (A6) при A : = ? φ A := ?\varphi A := ? φ , поскольку ! ? ( ▽ φ → φ ) ↔ ! ( □ ? φ ⊃ ? φ ) !?(\triangledown\varphi\to\varphi) \leftrightarrow!(\Box?\varphi\supset?\varphi) !? ( ▽ φ → φ ) ↔ ! ( □ ? φ ⊃ ? φ ) по (A4a) и лемме 13. Правило необходимости для ▽ \triangledown ▽ — это (PtoA), затем (AtoP). Не выводима ко-рефлексия φ → ▽ φ \varphi\to\triangledown\varphi φ → ▽ φ : она не общезначима (предложение 11(4)). Обратная схема ▽ ▽ φ → ▽ φ \triangledown\triangledown\varphi\to\triangledown\varphi ▽▽ φ → ▽ φ E-общезначима, но не I-общезначима и, стало быть, в HCI не выводима: она потребовала бы P A ⊢ □ □ A ⊃ □ A \mathrm{PA} \vdash\Box\Box A \supset\Box A PA ⊢ □□ A ⊃ □ A .
Отдельно отметим уже доказанное: схема ∼ ∼ ▽ φ → ▽ φ \sim\sim\triangledown\varphi\to\triangledown\varphi ∼∼ ▽ φ → ▽ φ выводима как частный случай (A7), а ко-рефлексия φ → ▽ φ \varphi\to\triangledown\varphi φ → ▽ φ выводима на всём классе Σ \Sigma Σ -задач и только на нём (▽ φ = ! ? φ \triangledown\varphi= !?\varphi ▽ φ = !? φ — Σ \Sigma Σ -задача по определению 7; аксиома (A5) и предложение 11(4)). Главное же — следующее.
Теорема 39. Если булева свёртка задачи χ \chi χ по схемам (A4) — классическая тавтология, то задача ▽ χ \triangledown\chi ▽ χ выводима в HCI. В частности, выводимы
▽ ( φ ∨ ∼ φ ) , ▽ ( ∼ ∼ φ → φ ) , ▽ ( ( ( φ → ψ ) → φ ) → φ ) . \triangledown(\varphi\lor\sim\varphi), \qquad\triangledown(\sim\sim\varphi\to\varphi), \qquad\triangledown(((\varphi\to\psi) \to\varphi) \to\varphi). ▽ ( φ ∨ ∼ φ ) , ▽ ( ∼∼ φ → φ ) , ▽ ((( φ → ψ ) → φ ) → φ ) .
Доказательство. По схемам (A4) высказывание ? χ ?\chi ? χ выводимо эквивалентно своей булевой свёртке (предложение 18), а та — классическая тавтология, схема (A1); значит ? χ ?\chi ? χ — теорема HCI, и, применяя (AtoP), получаем задачу ! ? χ = ▽ χ !?\chi= \triangledown\chi !? χ = ▽ χ .
Сравнение с близкими логиками
Из систем, перечисленных во введении, только HC имеет тот же синтаксис, и только с ней сравнение требует отдельной работы; ей посвящена большая часть раздела. Остальные сравнения опираются на уже доказанное и здесь лишь названы — в конце раздела.
Логика HC Мелихова
Напомним аксиоматику HC: классические схемы (высказывания), интуиционистские схемы (задачи), схемы
! ( A ⊃ B ) → ( ! A → ! B ) , ? ( φ → ψ ) ⊃ ( ? φ ⊃ ? ψ ) , ? ! A ⊃ A , φ → ! ? φ , ∼ ! ⊥ !(A \supset B) \to(!A \to!B), \qquad?(\varphi\to\psi) \supset(?\varphi\supset?\psi), \qquad?!A \supset A, \qquad\varphi\to!?\varphi, \qquad\sim!\bot ! ( A ⊃ B ) → ( ! A → ! B ) , ? ( φ → ψ ) ⊃ ( ? φ ⊃ ? ψ ) , ?! A ⊃ A , φ → !? φ , ∼ ! ⊥
и правила (MP), (AtoP), (PtoA).
Сравнение двустороннее: какие теоремы HC общезначимы в нашей семантике и какие из наших аксиом выводимы в HC. Первую половину дают предложение 11 и следующая теорема.
Предложение 40. Задача ∼ ! ⊥ \sim!\bot ∼ ! ⊥ E-общезначима, но не I- и не B-общезначима.
Доказательство. В E: эта задача выводима в HCE (Пример 1(4)), следовательно, общезначима. Во внутренних семантиках: формула ( ∼ ! ⊥ ) ∗ ( x ) (\sim!\bot)^*(x) ( ∼ ! ⊥ ) ∗ ( x ) доказуемо эквивалентна Con — снова вторая теорема Гёделя.
Первые две выписанные схемы — это наши (A3) и левая половина (A4a); они I-общезначимы (теорема 15). Рефлексия ? ! A ⊃ A ?!A \supset A ?! A ⊃ A и схема ∼ ! ⊥ \sim!\bot ∼ ! ⊥ только E-общезначимы (предложение 11(1),(2) и теорема 40), а ко-рефлексия φ → ! ? φ \varphi\to!?\varphi φ → !? φ не общезначима вовсе (предложение 11(4)). Правила: (MP) и (PtoA) сохраняют и I-, и E-общезначимость (лемма 3 и теорема 15), а (AtoP) — только I-общезначимость: по предложению 11(3) применение (AtoP) к E-общезначимому высказыванию □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ даёт необщезначимую задачу. Не допустимо в нашей семантике и правило ? φ / φ ?\varphi/\varphi ? φ / φ , обратное к (PtoA): высказывание ? ( α ⋎ ∼ α ) ?( \alpha\mathbin{\curlyvee} \sim\alpha) ? ( α ⋎ ∼ α ) общезначимо, поскольку [ [ α ⋎ ∼ α ] ] ∗ ≠ ∅ [\![\alpha\mathbin{\curlyvee} \sim\alpha]\!]_* \ne\varnothing [ [ α ⋎ ∼ α ] ] ∗ = ∅ при всякой интерпретации, а задача α ⋎ ∼ α \alpha\mathbin{\curlyvee} \sim\alpha α ⋎ ∼ α не общезначима (предложение 24).
Итог удобно назвать заранее: общая часть двух исчислений — это ядро H C 0 \mathrm{HC}^{0} HC 0 , аксиомы (A1), (A2), (A3), левая половина (A4a), (A4b)–(A4d) и (A5) при всех трёх правилах; всё, что сверх ядра, расходится, причём в обе стороны.
Осталась вторая половина — что из нашей аксиоматики выводимо в HC. Начнём с группы (A4): она разбирается поштучно.
H C 0 ⊆ H C HC^{0} \subseteq HC H C 0 ⊆ H C .
H C ⊈ H C E HC \nsubseteq HCE H C ⊈ H C E ; тем более H C ⊈ H C I HC \nsubseteq HCI H C ⊈ H C I .
H C I − ⊈ H C HCI^{-} \nsubseteq HC H C I − ⊈ H C ; тем более H C I ⊈ H C HCI \nsubseteq HC H C I ⊈ H C и H C E ⊈ H C HCE \nsubseteq HC H C E ⊈ H C .
Исчисление H C + ( A 6 ) HC+(A6) H C + ( A 6 ) противоречиво.
Доказательство. (1) Схемы (A1), (A2), (A3), левая половина (A4a) и правила — это в точности часть аксиоматики HC, схемы (A4b)–(A4d) выводимы в HC (замечание 17), а (A5) — частный случай ко-рефлексии φ → ! ? φ \varphi\to!?\varphi φ → !? φ (для Σ \Sigma Σ -задач φ \varphi φ ).
(2) В HC выводима ко-рефлексия, которая по предложению 11(4) не E-общезначима, а HCE корректна относительно E (теорема 15); теоремы HCI входят в HCE.
(3) Уже правая половина (A4a) в HC не выводима (замечание 17); не выводима и (A7): её частный случай ∼ ∼ ! A → ! A \sim\sim!A \to!A ∼∼ ! A → ! A — марковский принцип для !, а задачи в HC интуиционистские, без марковских добавок.
(4) В HC есть рефлексия □ A ⊃ A \Box A \supset A □ A ⊃ A и правило необходимости для □ \Box □ (применяем (AtoP), затем (PtoA)); из (A6) мы получили бы □ ( □ A ⊃ A ) \Box(\Box A \supset A) □ ( □ A ⊃ A ) , затем □ A \Box A □ A при любом A A A , а при A = ⊥ A = \bot A = ⊥ — противоречие с рефлексией. Между тем HC непротиворечива: она корректна относительно шкал Крипке с отмеченными мирами [7 ] .
Итак, внутри HC из нашего исчисления живёт ровно ядро, а расхождение идёт по нескольким независимым линиям: классичность модальности ? (правая половина (A4a) с производной ¬ ? φ ⊃ ? ∼ φ \neg?\varphi\supset?\sim\varphi ¬ ? φ ⊃ ? ∼ φ ), марковский принцип (A7) и лёбовская линия — схема (A6), которая не просто отсутствует в HC, а несовместима с ней. В обратную сторону линия одна — ко-рефлексия. Существенно, что вывод формулы (L) проходит уже в ядре (теорема 42): поэтому следствие 43 о несовместимости HC с неподвижными точками опирается только на общую часть двух исчислений.
Несовместимость HC с чтением ! как формальной доказуемости видна и без неподвижных точек. В HC выводима задача ! ( □ ⊥ ⊃ ⊥ ) !(\Box\bot\supset\bot) ! ( □ ⊥ ⊃ ⊥ ) : применяем правило (AtoP) к частному случаю рефлексии □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ . Если решения задачи ! A !A ! A — выводы A A A в непротиворечивой теории T T T , доказывающей условия выводимости Гильберта–Бернайса, то решение этой задачи — вывод Con ( T ) \operatorname{Con}(T) Con ( T ) в T T T , которого нет по второй теореме Гёделя. Это двусортный вариант наблюдения Гёделя [3 ] : □ \Box □ -фрагмент HC есть S4 [4 ] , а в S4 выводимо □ ¬ □ ⊥ \Box\neg\Box\bot □ ¬ □ ⊥ , поэтому □ \Box □ в S4 нельзя читать как формальную доказуемость. Исключается именно доказуемость в одной фиксированной формальной теории; семантика с явными доказательствами в духе логики доказательств Артёмова [19 ] под этот довод не подпадает: там ¬ ( t : ⊥ ) \neg(t:\bot) ¬ ( t : ⊥ ) выводимо для каждого терма t t t , но утверждения «никакого доказательства ⊥ \bot ⊥ нет» в языке нет.
Неподвижные точки несовместимы с HC
Из вывода формулы (L) в примере 1(5) можно извлечь больше, чем корректность (A6). Внимательный осмотр показывает, что вывод проходит уже в общей части двух исчислений — в ядре H C 0 HC^{0} H C 0 .
Теорема 42. Уже в ядре H C 0 HC^{0} H C 0 (а значит, и в H C I − HCI^{-} H C I − , и в HC) выводима задача
! ( P ≡ ( □ P ⊃ S ) ) → ( ! ( □ S ⊃ S ) → ! S ) !(P \equiv(\Box P \supset S)) \to(!(\Box S \supset S) \to!S) ! ( P ≡ ( □ P ⊃ S )) → ( ! ( □ S ⊃ S ) → ! S ) при любых высказываниях P P P и S S S .
Доказательство. Это пункт (5) примера 1. Достаточно заметить, что в нём используются только (A1), (A2), (A3), (A5), правила (MP), (AtoP), (PtoA), лемма о дедукции и лемма о переводе выводов (предложение 12(2),(3)) и левая половина (A4a) — последняя лишь в пунктах (1) и (2) того же примера, при выводе □ \Box □ -версий (A3) и (A5). Ни правая половина (A4a), ни (A6), ни (A7) не нужны.
Следствие 43 (неподвижные точки несовместимы с HC). Пусть к HC добавлена неподвижная точка для лжи: то есть, аксиома ! ( P ≡ ( □ P ⊃ ⊥ ) ) !(P \equiv(\Box P \supset\bot)) ! ( P ≡ ( □ P ⊃ ⊥ )) , где P P P — переменная сорта высказывание. Тогда полученная система противоречива — в ней выводима задача ∅ \varnothing ∅ , а значит и любая задача.
Доказательство. По предложению 41(1) ядро H C 0 \mathrm{HC}^{0} HC 0 содержится в HC, поэтому теорема 42 даёт в HC импликацию
! ( P ≡ ( □ P ⊃ ⊥ ) ) → ( ! ( □ ⊥ ⊃ ⊥ ) → ! ⊥ ) . !(P \equiv(\Box P \supset\bot)) \to(!( \Box\bot\supset\bot) \to!\bot). ! ( P ≡ ( □ P ⊃ ⊥ )) → ( ! ( □ ⊥ ⊃ ⊥ ) → ! ⊥ ) .
Посылка выводима по условию. Далее, □ ⊥ ⊃ ⊥ \Box\bot\supset\bot □ ⊥ ⊃ ⊥ — частный случай рефлексии, то есть теорема HC; по (AtoP) выводимо ! ( □ ⊥ ⊃ ⊥ ) !(\Box\bot\supset\bot) ! ( □ ⊥ ⊃ ⊥ ) , и двумя применениями (MP) получаем ! ⊥ !\bot ! ⊥ . Вместе с аксиомой ∼ ! ⊥ \sim!\bot ∼ ! ⊥ это даёт ∅ \varnothing ∅ .
Остальные системы
Здесь только перечень, с указанием мест, где соответствующие утверждения доказаны.
Логика доказуемости. □ \Box □ -фрагмент HCI есть в точности GL, □ \Box □ -фрагмент HCE — в точности GLS; вместе с теоремами Соловея [10 ] отсюда следует полнота на стороне высказываний: следствие 22.
Интуиционистские логики доказуемости. Напомним определения [24 , 26 ] : iK — интуиционистские тавтологии плюс схема □ ( A ⊃ B ) ⊃ ( □ A ⊃ □ B ) \Box(A \supset B) \supset(\Box A \supset\Box B) □ ( A ⊃ B ) ⊃ ( □ A ⊃ □ B ) при правилах (MP) и необходимости; iGL = iK + схема Лёба □ ( □ A ⊃ A ) ⊃ □ A \Box(\Box A \supset A) \supset\Box A □ ( □ A ⊃ A ) ⊃ □ A ; наконец iGLC = iGL + принцип полноты A ⊃ □ A A \supset\Box A A ⊃ □ A . Семантика Крипке для iGL — бирелационные шкалы ⟨ W , ≼ , ⊲ ⟩ \langle W, \preccurlyeq, \mathrel{\lhd}\rangle ⟨ W , ≼ , ⊲ ⟩ , где ≼ \preccurlyeq ≼ — частичный порядок (интуиционистское отношение), а ⊲ \lhd ⊲ — транзитивное обратно фундированное модальное отношение, согласованное с порядком в обе стороны: из x ≼ y ⊲ z x \preccurlyeq y \lhd z x ≼ y ⊲ z следует x ⊲ z x \lhd z x ⊲ z , и из x ⊲ y ≼ z x \lhd y \preccurlyeq z x ⊲ y ≼ z следует x ⊲ z x \lhd z x ⊲ z (такие шкалы Иемхоф называет brilliant ). Оценки переменных монотонны по ≼ \preccurlyeq ≼ , а □ A \Box A □ A вынуждено в точке x x x , если A A A вынуждено во всех её ⊲ \lhd ⊲ -преемниках. Логика iGL полна относительно таких шкал [25 предложение 9] ; см. также [26 ] . Сравнивать с ними будем ▽ \triangledown ▽ -фрагмент HCI (§ 6.13 ), читая □ \Box □ как ▽ \triangledown ▽ .
Предложение 44. Логика iGL содержится в ▽ \triangledown ▽ -фрагменте HCI, причём строго: всякая теорема iGL, прочитанная с □ : = ▽ \Box:= \triangledown □ := ▽ , выводима в HCI, а задача ▽ ( φ ⋎ ∼ φ ) \triangledown(\varphi\mathbin{\curlyvee} \sim\varphi) ▽ ( φ ⋎ ∼ φ ) выводима в HCI, тогда как формула □ ( p ∨ ¬ p ) \Box(p \mathbin{\vee} \neg p) □ ( p ∨ ¬ p ) в iGL не выводима.
Доказательство. Включение: схема K, схема Лёба и правило необходимости для ▽ \triangledown ▽ выведены в § 6.13 . Строгость даёт задача ▽ ( φ ⋎ ∼ φ ) \triangledown(\varphi\mathbin{\curlyvee} \sim\varphi) ▽ ( φ ⋎ ∼ φ ) (теорема 39): покажем, что □ ( p ∨ ¬ p ) \Box(p \mathbin{\vee} \neg p) □ ( p ∨ ¬ p ) не выводима в iGL.
Возьмём шкалу ⟨ W , ≼ , ⊲ ⟩ \langle W, \preccurlyeq, \mathrel{\lhd}\rangle ⟨ W , ≼ , ⊲ ⟩ с W = { w , v , u } W = \{w, v, u\} W = { w , v , u } , где ≼ \preccurlyeq ≼ — рефлексивное отношение вместе с v ≼ u v \preccurlyeq u v ≼ u , а ⊲ \lhd ⊲ состоит из пар ( w , v ) (w,v) ( w , v ) и ( w , u ) (w,u) ( w , u ) . Это шкала для iGL: отношение ⊲ \lhd ⊲ транзитивно и обратно фундировано (цепочек длины два нет), а оба условия согласования проверяются перебором — единственный нетривиальный случай w ⊲ v ≼ u w \lhd v \preccurlyeq u w ⊲ v ≼ u даёт w ⊏ u w \sqsubset u w ⊏ u . Пусть переменная p p p истинна только в u u u ; оценка монотонна, поскольку u u u максимальна. Тогда v ⊮ p v \nVdash p v ⊮ p и v ⊮ ¬ p v \nVdash\neg p v ⊮ ¬ p (так как v ⪯ u v \preceq u v ⪯ u и u ⊩ p u \Vdash p u ⊩ p ), значит v ⊮ p ∨ ¬ p v \nVdash p \lor\neg p v ⊮ p ∨ ¬ p , а из w ⊑ v w \sqsubseteq v w ⊑ v следует w ⊮ □ ( p ∨ ¬ p ) w \nVdash\Box(p \lor\neg p) w ⊮ □ ( p ∨ ¬ p ) . По полноте iGL относительно таких шкал формула □ ( p ∨ ¬ p ) \Box(p \lor\neg p) □ ( p ∨ ¬ p ) в iGL невыводима.
Замечание 18. Причина расхождения — под знаком ▽ \triangledown ▽ оказывается вся классическая логика, чего никакая интуиционистская модальная логика дать не может, и iGL — не исключение. Это же показывает, где искать точную характеризацию: ▽ \triangledown ▽ -фрагмент — это, по-видимому, не какая-нибудь интуиционистская модальная логика, а iGL вместе со всеми формулами ▽ χ \triangledown\chi ▽ χ , у которых булева свёртка χ \chi χ — тавтология. Совпадает ли фрагмент в точности с этим пополнением — открытый вопрос (§ 8 ).
Принцип полноты логики iGLC — это ко-рефлексия, опровергнутая предложением 11(4); но ограничение полноты на Σ 1 \Sigma_1 Σ 1 , принятое в [24 ] , отвечает нашей корефлексии на Σ \Sigma Σ -задачах (аксиома (A5)). Наконец, в логике HC Мелихова для ▽ \triangledown ▽ верны схема K, схема 4 и ко-рефлексия, но не схема Лёба — это интуиционистская модальная логика H4, она же IEL+ Артёмова и Протопопеску [22 ] ; у нас ко-рефлексию вытесняет схема Лёба, и ▽ \triangledown ▽ -фрагмент HCI — «лёбовский» аналог H4 над интуиционистской логикой задач. (Конец замечания.)
Логики реализуемости. Наше понятие общезначимости — это R e f f \mathfrak{R}_{\mathrm{eff}} R eff из классификации R c o n s t ⊆ R e f f ⊆ R \mathfrak{R}_{\mathrm{const}} \subseteq\mathfrak{R}_{\mathrm{eff}} \subseteq\mathfrak{R} R const ⊆ R eff ⊆ R [15 ] ; три уровня из замечания 8 суть в точности эти три логики. Отсюда результаты § 6.10 о фрагменте задач: позитивная часть интуиционистская (теорема 32), а сам фрагмент лежит строго между Int и логикой слабого закона исключённого третьего (следствие 33).
Открытые вопросы
Что за логика получилась на задачах? Известно, что I n t ⊊ L Z ⊊ J \mathrm{Int} \subsetneq\mathcal{L}_{Z} \subsetneq\mathcal{J} Int ⊊ L Z ⊊ J для всех трёх семантик (следствие 33) и что позитивный фрагмент интуиционистский (теорема 32), так что вся разница с Int живёт на формулах с ∅ \varnothing ∅ . Слева нас отделяет формула Роуза (предложение 27), справа — принцип Скотта (теорема 28). Значит схемы (A2) на стороне задач заведомо не хватает, и HCI на задачах неполна (следствие 35); закрывать брешь готовой схемой Роуза мы не стали (§ 6.10 ), а как выглядит полное исчисление — неизвестно. Постановка близка к пропозициональной логике реализуемости Роуза и Плиско [9 , 18 ] — переменные там тоже заменяются арифметическими формулами, — и оттуда же стоит брать следующие пробные схемы.
Стоит отдавать себе отчёт в том, насколько разные это две стороны. На стороне высказываний мы имеем дело с известным объектом: фрагменты суть в точности GL и GLS, полнота получается из теорем Соловея (следствие 22), и эта сторона (в Π \Pi Π -свободном языке) уже не изменится, какие бы общезначимые схемы о задачах мы ни добавляли: новые аксиомы дают лишь общезначимые теоремы, а все общезначимые высказывания уже выводимы. На стороне задач известного объекта нет: логики L Z \mathcal{L}_{Z} L Z лежат строго между Int и J \mathcal{J} J и ни с одной из них не совпадают. Безмодальный фрагмент исчисления HCI есть в точности Int, и само исчисление читается как склейка двух готовых систем — Int на задачах и GL на высказываниях, соединённых схемами (A3)–(A5) и (A7). Семантика же склейкой не является: с одной стороны стоит классическая логика доказуемости, с другой — промежуточная логика, которую ещё предстоит опознать.
Не исключено, что опознать её в виде исчисления не удастся вовсе. Ближайшие родственники логик L Z L_Z L Z — логики реализуемости, а там дело обстоит так: для логики реализуемых пропозициональных формул неизвестна ни конечная, ни даже рекурсивная аксиоматизируемость, а логика финитных задач Медведева, как недавно показано, Π 1 0 \Pi^0_1 Π 1 0 -полна и, следовательно, не перечислима: никакого перечислимого полного исчисления для неё нет [16 , 17 ] . Наше понятие общезначимости — это R e f f \mathrm{Reff} Reff , то есть ровно из этого семейства. Поэтому и то, что общезначимая схема Роуза (предложение 27) есть серия по числу дизъюнктов, скорее свойство предмета, чем случайность. И поэтому же отбор аксиом по общезначимости не может служить признаком полноты: новые схемы могут перестать находиться не оттого, что список полон.
Насколько сильны !-формы. Из (А5) и (А6) их □ \Box □ -версии выводятся (пример 1(2),(3)); верно ли обратное? □ \Box □ -версии говорят лишь о существовании выводов, !-версии — о вычислимом преобразовании выводов, так что обратный переход неочевиден. От ответа зависит, насколько содержательно теорема 42 по сравнению с его модальным аналогом (приложение D).
Нужна ли (А5) для вывода теоремы Лёба, то есть выводима ли (А6) из HCI− без (А5) (точнее, без её частного случая ! A → ! □ A !A \to!\Box A ! A → ! □ A ) вместе с посылкой ! ( P ≡ ( □ P ⊃ S ) ) !(P \equiv(\Box P \supset S)) ! ( P ≡ ( □ P ⊃ S )) ? В доказательстве теоремы 15 схема (А5) занимает место схемы □ A ⊃ □ □ A \Box A \supset\Box\Box A □ A ⊃ □□ A , без которой рассуждение с неподвижной точкой не проходит и в модальном случае; но доказательства невыводимости нет. (Что (А5) не выводима из остальных аксиом HCE вместе с правилом «из ! A → ! B !A \to!B ! A → ! B вывести ! ( □ A ⊃ □ B ) !(\Box A \supset\Box B) ! ( □ A ⊃ □ B ) » и всеми задачами вида ! T !T ! T для классических тавтологий T T T , видно из рефлексивной нетранзитивной трёхмировой шкалы Крипке, в которой ! читается как □ \Box □ , а ? — тождественно.)
Полнота на задачах. На стороне высказываний вопрос закрыт (следствие 22), а предложение 18 показывает, что схемами про ? система (А4) исчерпана: ? устраняется до ? α ?\alpha ? α и □ B \Box B □ B . Значит всё нерешённое собралось на стороне задач. Известные бреши — формула Роуза (следствие 35) и, возможно, закон Пирса с квантором (предложение 17(4), замечание 12). Ближайшая проверка: не осталось ли общезначимых схем того же рода, где решателю нужно угадать метку дизъюнкции, а список кандидатов не конечен; см. раздел B.
Допустимо ли в HCB правило «из !A вывести A»? Это правило сохраняет B-общезначимость без всяких допущений: если Z F ⊢ Prf ( n , ∀ X ⃗ A ∗ ) \mathrm{ZF} \vdash\operatorname{Prf}(n,\forall\vec{X}A^*) ZF ⊢ Prf ( n , ∀ X A ∗ ) , то при непротиворечивости ZF эта Δ 0 \Delta^0 Δ 0 -формула истинна и Z F ⊢ ∀ X ⃗ A ∗ \mathrm{ZF} \vdash\forall\vec{X}A^* ZF ⊢ ∀ X A ∗ , а при противоречивости общезначимо всё. В HCE правило производное ((PtoA), затем (A8)), в HCI допустимо: из ⊢ H C I ! A \vdash_{\mathrm{HCI}} !A ⊢ HCI ! A по теореме 15 следует !-общезначимость A A A , а по следствию 22 — его выводимость. Верно ли, что из H C B ⊢ ! A \mathrm{HCB} \vdash!A HCB ⊢ ! A следует H C B ⊢ A \mathrm{HCB} \vdash A HCB ⊢ A ? Новых задач добавление правила к HCB не даёт (индукцией по выводу: для всякого высказывания A A A , выводимого с этим правилом, задача ! A !A ! A выводима в HCB), так что вопрос касается лишь высказываний с квантором П. Отрицательный ответ означал бы, что в HCB не хватает какого-то закона: под знаком ! исчисление выводит больше, чем снаружи.
Безмодальный фрагмент HCE. Совпадает ли множество безмодальных теорем-задач HCE с таковым для HCI? Известно лишь HCI ⊆ \subseteq ⊆ HCE и что оба фрагмента
лежат в L \mathcal{L} L (§ 6.12 ); шкала с отмеченной максимальной точкой вопроса не решает — схемы (A8) и (A9) в ней ложны.
Независимость (A7) в HCE. Для HCI вопрос решён: предложение 45 (приложение C) даёт двухточечную модель Крипке, в которой верны (A1)–(A6) и все правила, а ∼ ∼ ! ⊥ → ! ⊥ \sim\sim!\bot\to!\bot ∼∼ ! ⊥ → ! ⊥ — нет. Для HCE моделями так действовать нельзя (замечание 16). Заметим, что синтаксически задача сводится к следующему: теоремы-задачи HCE — это замыкание по (MP) множества теорем-задач HCI вместе со всеми частными случаями (A9), поскольку из высказывания в задачу без (AtoP) хода нет. Значит нужна структура, в которой все теоремы-задачи HCI получают 1 (но правило (AtoP) в целом не сохраняется) и все частные случаи (A9) — тоже.
Независимость (A9). В обратную сторону вопрос решён: (A8) из (A9) не выводится (предложение 37), хотя (A9) даёт рефлексию для всех □ \Box □ -формул с помодализованными переменными-высказываниями. Трудность с самой (A9) в том, что её ?-образ есть частный случай (A8) (предложение 18): отличить (A9) от (A8) может только конструкция, различающая задачу и её ?-образ.
Как далеко тянется (A7). Она принята для Σ \Sigma Σ -задач; приложение B показывает, что ни переменные, ни дизъюнкции произвольных задач добавить нельзя. Точный класс задач φ \varphi φ , для которых ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ общезначима, не описан. Заметим, что этот класс зависит от синтаксиса: по ∗ * ∗ надо уметь построить перечисление [ [ φ ] ] ∗ [\![\varphi]\!]_{*} [ [ φ ] ] ∗ , а для импликации оно неоткуда взяться.
Совпадает ли ▽ \triangledown ▽ -фрагмент с iGL? (Определения логик iK, iGL, iGLC — в § 7 .) Вопрос о совпадении решён отрицательно: по предложению 44 iGL содержится в ▽ \triangledown ▽ -фрагменте HCI строго — уже ▽ ( φ ∨ ∼ φ ) \triangledown(\varphi\mathbin{\vee} \sim\varphi) ▽ ( φ ∨ ∼ φ ) выводима у нас и не выводима в iGL. Осталось найти точную характеризацию; правдоподобная догадка выписана в замечании 18.
А вот iGLC нашим фрагментом не является: принцип полноты φ → ▽ φ \varphi\to\triangledown\varphi φ → ▽ φ — это ко-рефлексия, и она опровергнута (предложение 11(4)). Тем не менее сходство с арифметической частью [24 ] есть, и содержательное: там полнота требуется не от всех формул, а от Σ 1 \Sigma_1 Σ 1 (условие □ ◊ S ⊃ □ S \Box\Diamond S \supset\Box S □◊ S ⊃ □ S при S ∈ Σ 1 S \in\Sigma_1 S ∈ Σ 1 ), — у нас ровно так же ко-рефлексия верна в точности на Σ \Sigma Σ -задачах (аксиома (A5)). Стоит понять, случайное ли это совпадение.
Оговорка. Речь идёт о выводимых формулах. Множество общезначимых ▽ \triangledown ▽ -формул строго шире iGL уже потому, что общезначима формула Роуза (предложение 27), а она не выводима даже в Int.
Интуиционистский вариант семантики. Раз расхождение с iGL создаёт булевость ?, напрашивается заменить PA на HA. Полезно заранее видеть, что этого мало: у булевости два независимых источника. Внутренний — классичность PA: правая половина (A4a) выведена разбором случаев «либо ¬ ∃ u φ ∗ ( u ) \neg\exists u\ \varphi^{*}(u) ¬∃ u φ ∗ ( u ) , либо ∃ v ψ ∗ ( v ) \exists v\ \psi^{*}(v) ∃ v ψ ∗ ( v ) », и HA такого разбора не даёт, так что здесь замена сработает. Внешний — двузначность самой стандартной модели: внешняя общезначимость определяется через истинность в N \mathbb{N} N , а [ [ φ ] ] ∗ = I [\![\varphi]\!]_{*} = \mathbb{I} [ [ φ ] ] ∗ = I равносильно [ [ φ ] ] ∗ ≠ ∅ [\![\varphi]\!]_{*} \ne\varnothing [ [ φ ] ] ∗ = ∅ — двузначный факт о N \mathbb{N} N при любой теории под знаком !. Чтобы снять и его, придётся считать значения не в стандартной модели, а в шкалах Крипке или в гейтинговозначных моделях; но тогда сорт высказываний перестанет быть классическим, то есть
речь пойдёт уже не о HC, а о её интуиционистской родне. Стоит иметь в виду и цену: при HA под знаком ! модальность □ \Box □ перестаёт отвечать GL и становится логикой доказуемости HA [23 ] , а из дизъюнктивного свойства HA добавляется схема □ ( A ∨ B ) ⊃ □ A ∨ □ B \Box(A \vee B) \supset\Box A \vee\Box B □ ( A ∨ B ) ⊃ □ A ∨ □ B для замкнутых A A A , B B B .
Определимые ящики
Меняется ли что-нибудь, если ящики пробегают только арифметически определимые множества (замечание 3)? На всех разобранных фактах — нет; единственный кандидат на расхождение — полная схема (Π E \Pi E Π E ), которую при определимых ящиках мы умеем обосновать лишь для Π \Pi Π -свободных θ \theta θ , и родственный ей вопрос о подстановке Π \Pi Π -содержащих задач (лемма 4). Сюда же — консервативность Π \Pi Π -расширения над HCI на чистых бескванторных задачах: для чистых высказываний она доказана при Σ 1 \Sigma_1 Σ 1 -корректности ZF, а на нечистых формулах нарушается (замечание 13). Существуют ли неустранимые Π \Pi Π -атомы (определение 13)? Все встретившиеся нам приводятся к Π \Pi Π -свободным высказываниям (§6.9), но для одного из них — закона Пирса с квантором по α \alpha α — приведение доказано только семантически, и выводимость задачи Π α ( ( ( α → β ) → α ) → α ) → β \Pi\alpha(((\alpha\to\beta) \to\alpha) \to\alpha) \to\beta Π α ((( α → β ) → α ) → α ) → β в HCB — отдельный открытый вопрос (предложение 17(4), замечание 12). Для существования неустранимых атомов достаточно, чтобы безмодальная чёрноящичная логика не была рекурсивно перечислимой; её сложность — отдельный вопрос. Наконец, возвращение к PA: для каких φ \varphi φ перевод ( ? Π α ⃗ φ ) ∗ (?\Pi\vec{\alpha}\,\varphi)^* ( ? Π α φ ) ∗ эквивалентен арифметической формуле? Это доказано для класса задач, в которых все вхождения переменных лежат под ∼ \sim ∼ (зависимость от ящиков факторизуется через конечный вектор битов пустоты); общий случай открыт; при определимых ящиках перевод арифметичен относительно 0 ( ω ) 0^{(\omega)} 0 ( ω ) .
Двухтеорийный уровень
Провести полный аудит пары (PA, ZF) (модальность — доказуемость в PA, общезначимость — выводимость в ZF) — она возвращает исчислению HCE модельно-независимую синтаксическую семантику, — сопоставить её с теоретико-множественной интерпретацией Соловея (логика S O L SOL S O L , [27 гл. 13] , [28 ] ) и подобрать верификационную теорию для B (например, ZF плюс недостижимый кардинал). Сюда же примыкает вопрос о двойственном операторе Σ α \Sigma\alpha Σ α (значение ⋃ A α \bigcup A_\alpha ⋃ A α ): нужен ли он для пренексной нормализации Π \Pi Π -атомов и какова его логика.
Логика Π \Pi Π -задач без модальностей
Самое неожиданное из найденного происходит на стороне задач без всякого участия высказываний: фрагмент языка B из задач, построенных из переменных и ∅ \varnothing ∅ связками → \to → , ∧ \wedge ∧ , ∨ \vee ∨ и квантором Π \Pi Π , и его общезначимость в B образуют логику, которую мы не опознали. Синтактически это второпорядковая интуиционистская пропозициональная логика с одним квантором всеобщности, семантически — реализуемость по Клини с равномерной квантификацией по множествам, та же, какой интерпретируют второпорядковую арифметику HAS; аксиома (Π γ \Pi\gamma Π γ ) — пропозициональная форма принципа равномерности Трульстры. На Π \Pi Π -свободных задачах это L B L_B L B . Квантор во всех разобранных нами случаях (все задачи глубины не более трёх от двух переменных) устраним: например, Π α ( ( α → β ⋎ γ ) → ( ( α → β ) ⋎ ( α → γ ) ) ) \Pi\alpha((\alpha\to\beta\curlyvee\gamma) \to((\alpha\to\beta) \curlyvee(\alpha\to\gamma))) Π α (( α → β ⋎ γ ) → (( α → β ) ⋎ ( α → γ ))) равносильна аксиоме линейности ( γ → β ) ⋎ ( β → γ ) (\gamma\to\beta) \curlyvee(\beta\to\gamma) ( γ → β ) ⋎ ( β → γ ) , а Π β ( ( ( α → β ) → β ) → ( α ⋎ β ) ) \Pi\beta(((\alpha\to\beta) \to\beta) \to(\alpha\curlyvee\beta)) Π β ((( α → β ) → β ) → ( α ⋎ β )) — закону α ⋎ ¬ α \alpha\curlyvee\neg\alpha α ⋎ ¬ α ; это родственно равномерной интерполяции Питтса для Int, но устранение иногда опирается на ящики вроде ω ∖ { n } \omega\setminus\{n\} ω ∖ { n } , которые значением формулы не бывают (предложение 17(4), замечание 12). Вопросы: устраним ли квантор всегда; рекурсивно ли перечислима эта логика (для предикатной логики реализуемости Плиско доказал неарифметичность); какие принципы сверх ( Π E ) (\Pi E) ( Π E ) , правила Бернайса и ( Π γ ) (\Pi\gamma) ( Π γ ) в ней верны — первый кандидат P a ( ( ( α → β ) → α ) → α ) ↔ β \mathsf{Pa}(((\alpha\to\beta) \to\alpha) \to\alpha) \leftrightarrow\beta Pa ((( α → β ) → α ) → α ) ↔ β .
Отложенные доказательства
Доказательство леммы [2 ] . По лемме 1(6) множество [ [ ¬ φ ] ] ∗ [\![\neg\varphi]\!]_{*} [ [ ¬ φ ] ] ∗ есть N \mathbb{N} N при [ [ φ ] ] ∗ = ∅ [\![\varphi]\!]_{*} = \varnothing [ [ φ ] ] ∗ = ∅ и ∅ \varnothing ∅ иначе; применяя то же ещё раз, получаем требуемое. Для второго утверждения раскроем определения: ( ¬ φ ) ∗ ( u ) (\neg\varphi)^{*}(u) ( ¬ φ ) ∗ ( u ) есть ∀ v ( φ ∗ ( v ) ⊃ ⊥ ) \forall v\,(\varphi^{*}(v) \supset\bot) ∀ v ( φ ∗ ( v ) ⊃ ⊥ ) — формула, не зависящая от u u u и эквивалентная ¬ ∃ v φ ∗ ( v ) \neg\exists v\,\varphi^{*}(v) ¬∃ v φ ∗ ( v ) ; поэтому ( ¬ ¬ φ ) ∗ ( x ) (\neg\neg\varphi)^{*}(x) ( ¬¬ φ ) ∗ ( x ) эквивалентна ¬ ¬ ∃ v φ ∗ ( v ) \neg\neg\exists v\,\varphi^{*}(v) ¬¬∃ v φ ∗ ( v ) , а PA классична. □
Обоснование замечания [9 ] . Для ∗ * ∗ это очевидно: любые два эффективных кодирования одного и того же конечного набора формул переводятся друг в друга вычислимо, и переводчик можно приписать к S S S спереди.
Для U U U и c c c рассуждение чуть длиннее. Пусть [ [ ⋅ ] ] ∗ [\![\cdot]\!]_{*} [ [ ⋅ ] ] ∗ и [ [ ⋅ ] ] ∗ ′ [\![\cdot]\!]_{*}^{\prime} [ [ ⋅ ] ] ∗ ′ — значения, посчитанные по двум наборам выборов, а φ ∗ \varphi^{*} φ ∗ и φ ∗ ′ \varphi^{*\prime} φ ∗ ′ — соответствующие переводы. Одновременной индукцией по построению формулы строится пара вычислимых (равномерно по φ \varphi φ и по ∗ * ∗ ) функций h φ h_{\varphi} h φ и g φ g_{\varphi} g φ , переводящих решения в обе стороны:
u ∈ [ [ φ ] ] ∗ ⇒ h φ ( u ) ∈ [ [ φ ] ] ∗ ′ , v ∈ [ [ φ ] ] ∗ ′ ⇒ g φ ( v ) ∈ [ [ φ ] ] ∗ . u \in[\![\varphi]\!]_{*} \Rightarrow h_{\varphi}(u) \in[\![\varphi]\!]_{*}^{\prime}, \qquad v \in[\![\varphi]\!]_{*}^{\prime} \Rightarrow g_{\varphi}(v) \in[\![\varphi]\!]_{*}. u ∈ [ [ φ ] ] ∗ ⇒ h φ ( u ) ∈ [ [ φ ] ] ∗ ′ , v ∈ [ [ φ ] ] ∗ ′ ⇒ g φ ( v ) ∈ [ [ φ ] ] ∗ .
причём само это утверждение доказуемо в PA, и его вывод строится по ∗ * ∗ . Для конъюнкции и дизъюнкции обе функции переставляют метки, заменяя c c c на c ′ c^{\prime} c ′ и обратно; для импликации h φ → ψ h_{\varphi\to\psi} h φ → ψ по индексу i i i выдаёт индекс программы v ↦ h ψ ( U i ( g φ ( v ) ) ) v \mapsto h_{\psi}(U_{i}(g_{\varphi}(v))) v ↦ h ψ ( U i ( g φ ( v ))) в новой нумерации (теорема о параметризации), и симметрично для g φ → ψ g_{\varphi\to\psi} g φ → ψ . Здесь и видно, зачем нужны обе функции сразу: при импликации направление перевода меняется на посылке. Случай ! A !A ! A разбирается так: по предположению индукции PA доказывает ∃ x φ ∗ ( x ) ≡ ∃ x φ ∗ ′ ( x ) \exists x\,\varphi^{*}(x) \equiv\exists x\,\varphi^{*\prime}(x) ∃ x φ ∗ ( x ) ≡ ∃ x φ ∗ ′ ( x ) для всех задач φ \varphi φ , входящих в A A A под знаком ? ? ? , а потому и A ∗ ≡ A ∗ ′ A^{*} \equiv A^{*\prime} A ∗ ≡ A ∗ ′ ; вывод этой эквивалентности вычисляется по ∗ * ∗ , и вывод формулы A ∗ A^{*} A ∗ перерабатывается в вывод формулы A ∗ ′ A^{*\prime} A ∗ ′ .
Значит если S S S — вычислимое сечение при первом наборе выборов, то ∗ ↦ h φ ( S ( ∗ ) ) * \mapsto h_{\varphi}(S(*)) ∗ ↦ h φ ( S ( ∗ )) — вычислимое сечение при втором. То же рассуждение, проведённое внутри PA, даёт независимость и для I-общезначимости.
Тот же довод проходит и при замене формулы Prf \operatorname{Prf} Prf на любую другую стандартную формулу доказуемости для PA: выводы одной системы перерабатываются в выводы другой вычислимо, и корректность перевода доказуема в PA. Существенно только то, что Prf \operatorname{Prf} Prf задаёт разрешимое отношение и что PA доказывает формализованные условия выводимости. □
Доказательство лемм [3 ] и [4 ] . (MP). Для высказываний правило очевидно: выводимость в PA или ZF и истинность в N \mathbb{N} N замкнуты относительно modus ponens; в B — вместе с замыканием (из Z F ⊢ ∀ X ⃗ A ∗ \mathrm{ZF} \vdash\forall\vec{X}\,A^{*} ZF ⊢ ∀ X A ∗ и Z F ⊢ ∀ X ⃗ ( A ∗ ⊃ B ∗ ) \mathrm{ZF} \vdash\forall\vec{X}\,(A^{*} \supset B^{*}) ZF ⊢ ∀ X ( A ∗ ⊃ B ∗ ) следует Z F ⊢ ∀ X ⃗ B ∗ \mathrm{ZF} \vdash\forall\vec{X}\,B^{*} ZF ⊢ ∀ X B ∗ ). Для задач: если S 1 S_{1} S 1 решает φ \varphi φ , а S 2 S_{2} S 2 решает φ → ψ \varphi\to\psi φ → ψ , то S ( c ) : = U S 2 ( c ) ( S 1 ( c ) ) S(c) := U_{S_{2}(c)}(S_{1}(c)) S ( c ) := U S 2 ( c ) ( S 1 ( c )) вычислима и по лемме 1(6) даёт элемент [ [ ψ ] ] ∗ [\![\psi]\!]_{*} [ [ ψ ] ] ∗ . В B решения собираются так же (от ящиков они не зависят), а вывод замыкания для ψ \psi ψ получается из выводов замыканий для посылок по той же схеме.
Подстановка. Семантики I и E: пусть φ ( α ) \varphi(\alpha) φ ( α ) общезначима с функцией S S S , и мы подставляем вместо α \alpha α формулу χ \chi χ . Перевод ( φ ( χ ) ) ∗ (\varphi(\chi))^{*} ( φ ( χ ) ) ∗ совпадает с переводом φ ( α ) ∗ \varphi(\alpha)^{*} φ ( α ) ∗ , где интерпретация ∗ * ∗ совпадает с ∗ * ∗ на прочих переменных, а переменной α \alpha α сопоставляет формулу χ ∗ \chi^* χ ∗ . Код ∗ ′ *' ∗ ′ вычисляется по ∗ * ∗ , поскольку перевод χ ↦ χ ∗ \chi\mapsto\chi^* χ ↦ χ ∗ — вычислимая операция над кодами (определение 2). Значит S ′ ( ∗ ) : = S ( χ ∗ ) S'(*) := S(\chi^*) S ′ ( ∗ ) := S ( χ ∗ ) — искомая функция.
Подстановка высказывания C C C вместо переменной-высказывания A A A в семантиках I и E разбирается той же композицией интерпретаций (A ∗ ′ : = C ∗ A^{*'} := C^* A ∗ ′ := C ∗ ).
В семантике B подстановка задачи χ \chi χ вместо свободной переменной α \alpha α — это инстанцирование квантора. Свободные вхождения α \alpha α под знаком ! не лежат (они были бы связаны), поэтому перевод обращается к α \alpha α только атомами x ∈ X α x \in X_\alpha x ∈ X α . Из ZF ⊢ ∀ X ⃗ ∀ X α φ ∗ ( S ∗ ) \vdash\forall\vec{X}\,\forall X_\alpha\,\varphi^*(S^*) ⊢ ∀ X ∀ X α φ ∗ ( S ∗ ) подстановкой множества { x : χ ∗ ( x ) } \{x : \chi^*(x)\} { x : χ ∗ ( x )} вместо X α X_\alpha X α получается замыкание перевода φ [ χ / α ] \varphi[\chi/\alpha] φ [ χ / α ] : свободные множественные переменные формулы χ ∗ \chi^* χ ∗ уходят под общее замыкание ∀ X ⃗ \forall\vec{X} ∀ X , а захвата нет по свойству (1) безопасной подстановки. Решатель менять не нужно, поскольку ящики в код не входят. В B множество { x : χ ∗ ( x ) } \{x : \chi^*(x)\} { x : χ ∗ ( x )} — законное содержимое ящика при любой χ \chi χ , в том числе с квантором Π \Pi Π : ящики пробегают все множества (непредикативность).
Подстановка высказывания C C C вместо переменной-высказывания A A A в формулу разбирается двумя способами. Если C C C не имеет свободных задачных переменных, то C ∗ C^* C ∗ — замкнутая формула языка ZF, то есть допустимая интерпретация, и работает композиция интерпретаций A ∗ ′ : = C ∗ A^{*'} := C^* A ∗ ′ := C ∗ , в том числе для вхождений A A A под знаком !.
Если же у C C C есть свободные задачные переменные, то по свойству (2) все вхождения A A A лежат вне !. Такое возможно, только если формула — высказывание B ( A ) B(A) B ( A ) (в задачи высказывания входят лишь через !), и по той же причине вхождения A A A не лежат и под знаком ?. Поэтому ( B ( C ) ) ∗ (B(C))^* ( B ( C ) ) ∗ получается из B ∗ B^* B ∗ заменой вхождений A ∗ A^* A ∗ на C ∗ C^* C ∗ , и ни одно из них не стоит внутри гёделева номера. Так как B ( A ) B(A) B ( A ) общезначимо, а ( 0 = 0 ) (0 = 0) ( 0 = 0 ) и ⊥ \bot ⊥ — допустимые значения переменной A A A , ZF доказывает замыкания B ∗ ( 0 = 0 ) B^*(0 = 0) B ∗ ( 0 = 0 ) и B ∗ ⊥ B^*\bot B ∗ ⊥ . Рассуждая в ZF при произвольном содержимом ящиков, разберём случаи: при истинном C ∗ C^* C ∗ формула C ∗ C^* C ∗ эквивалентна ( 0 = 0 ) (0 = 0) ( 0 = 0 ) , при ложном C ∗ C^* C ∗ — формуле ⊥ \bot ⊥ . По замене эквивалентных B ∗ ( C ∗ ) B^*(C^*) B ∗ ( C ∗ ) эквивалентна B ∗ ( 0 = 0 ) B^*(0 = 0) B ∗ ( 0 = 0 ) или B ∗ ⊥ B^*\bot B ∗ ⊥ . Замена законна и под кванторами ∀ X β \forall X_\beta ∀ X β , отвечающими Π β \Pi_\beta Π β : по свойству (1) X β X_\beta X β в C ∗ C^* C ∗ не входит. Следовательно, ZF доказывает замыкание B ∗ ( C ∗ ) = ( B ( C ) ) ∗ B^*(C^*) = (B(C))^* B ∗ ( C ∗ ) = ( B ( C ) ) ∗ .
Доказательство теоремы 34. Одна сторона — это схема (A2). Обратная получается моделью.
Возьмём конечную шкалу Крипке, то есть конечное частично упорядоченное множество ⟨ P , ≤ ⟩ \langle P, \le\rangle ⟨ P , ≤ ⟩ , и зафиксируем в ней максимальную точку p p p . Построим модель K K K . Переменные-задачи оцениваются произвольными открытыми вверх подмножествами P P P (как в моделях Крипке для Int), переменные-высказывания — произвольными истинностными значениями. Вынуждение x ⊩ φ x \Vdash\varphi x ⊩ φ задач в точках x ∈ P x \in P x ∈ P определяется обычными пунктами Крипке для ∧ \land ∧ , ∧ \wedge ∧ , γ \gamma γ , → \to → ; высказывания получают истинностные значения, их связки понимаются классически. Модальности:
x ⊩ ! A при всех x и всех A , ? φ истинно ⟺ p ⊩ φ . x \Vdash{!}A \text{ при всех } x \text{ и всех } A,\qquad?\varphi\text{ истинно} \Longleftrightarrow p \Vdash\varphi. x ⊩ ! A при всех x и всех A , ? φ истинно ⟺ p ⊩ φ .
Определение корректно: ! A !A ! A вынуждена всюду независимо от A A A , поэтому никакой циклической зависимости между сортами нет; вынуждение монотонно по ≤ \le ≤ (индукция по построению, для ! A !A ! A тривиально). Задача верна в K K K , если вынуждена во всех точках при всякой оценке переменных; высказывание — если истинно при всякой оценке.
Проверим аксиомы. (A1) — высказывания двузначны и связки классические; (A2) — схемы Int верны во всякой модели Крипке. Схемы (A3), (A5) и (A6) тривиальны: заключение каждой из них — задача вида ! X !X ! X (у (A3) — после снятия обеих посылок), вынужденная всюду, а импликация с вынужденным всюду заключением сама вынуждена всюду.
Схема (A4) — единственное место, где работает выбор точки. Так как p p p максимальна, единственная точка над нею — она сама, поэтому вынуждение в p p p классично:
p ⊩ φ → ψ ⟺ ( p ⊩ φ ⇒ p ⊩ ψ ) p \Vdash\varphi\to\psi\Longleftrightarrow\left(p \Vdash\varphi\Rightarrow p \Vdash\psi\right) p ⊩ φ → ψ ⟺ ( p ⊩ φ ⇒ p ⊩ ψ )
и точно так же p ⊩ φ ∧ ψ p \Vdash\varphi\land\psi p ⊩ φ ∧ ψ равносильно конъюнкции, а p ⊩ φ ∨ ψ p \Vdash\varphi\lor\psi p ⊩ φ ∨ ψ — дизъюнкции; наконец p ⊮ ∅ p \not\Vdash\varnothing p ⊩ ∅ . Это и есть (A4a)–(A4d): отображение φ ↦ ? φ \varphi\mapsto?\varphi φ ↦ ? φ — булев гомоморфизм.
Схема (A7): Σ \Sigma Σ -задача собрана из ∅ \varnothing ∅ и задач вида ! X !X ! X связками ∧ \land ∧ и ∨ \lor ∨ , поэтому (индукция по построению) она либо вынуждена всюду, либо не вынуждена нигде. Для таких задач ¬ ¬ σ → σ \neg\neg\sigma\to\sigma ¬¬ σ → σ вынуждена всюду: если σ \sigma σ вынуждена всюду, это ясно; если нигде, то ¬ σ \neg\sigma ¬ σ вынуждена всюду, ¬ ¬ σ \neg\neg\sigma ¬¬ σ — нигде, и импликация вынуждена вхолостую.
Правила. (MP): если в точке вынуждены φ \varphi φ и φ → ψ \varphi\to\psi φ → ψ , то вынуждена и ψ \psi ψ ; для высказываний — классика. (AtoP): ! A !A ! A вынуждена всюду при любом A A A , тем более при выводимом. (PtoA): если φ \varphi φ вынуждена всюду, то и в p p p , значит ? φ ? \varphi ? φ истинно.
Итак, все аксиомы и правила HCI в этой модели верны. (Формулу Роуза модель, разумеется, не выполняет — она не выводима в Int; именно этим модель и полезна.) Пусть теперь задача φ \varphi φ не содержит модальностей. Тогда её вынуждение — это обычное вынуждение в шкале Крипке P P P . Если φ \varphi φ выводима в HCI, то она верна в каждой такой модели, то есть в каждой конечной шкале Крипке, а значит выводима в Int по теореме о полноте интуиционистской логики относительно конечных шкал.
Почему в (A5) и (A7) взяты именно такие классы задач
Для схемы (A5) ответ короткий: шире класса Σ \Sigma Σ ко-рефлексия φ → ! ? φ \varphi\to!?\varphi φ → !? φ неверна уже для переменной (предложение 11(4), где α ∗ : = Con \alpha^* := \operatorname{Con} α ∗ := Con ), а семантически (A5) — это эффективная Σ 1 \Sigma_1 Σ 1 -полнота со свидетелем на входе (предложение 9), которая держится на том, что переводы Σ \Sigma Σ -задач суть Σ 1 \Sigma_1 Σ 1 -формулы. Со схемой (A7) сложнее. Класс Σ \Sigma Σ -задач нельзя естественным образом расширить. Например, его нельзя заменить на класс O O O из схемы Роуза: там схема (A7) неверна уже на ! A ∨ ¬ ! A !A \lor\neg!A ! A ∨ ¬ ! A , как мы увидим ниже в этом разделе.
Прежде всего, схема (A7) перестаёт быть общезначимой на переменных: задача ¬ ¬ α → α \neg\neg\alpha\to\alpha ¬¬ α → α с переменной α \alpha α не общезначима (предложение 24).
Для дизъюнкций не общезначима даже схема ¬ ¬ ( φ ∨ ψ ) → ( ¬ ¬ φ ∨ ¬ ¬ ψ ) \neg\neg(\varphi\lor\psi) \to(\neg\neg\varphi\lor\neg\neg\psi) ¬¬ ( φ ∨ ψ ) → ( ¬¬ φ ∨ ¬¬ ψ ) . Слово «даже» оправдано вот чем. Прямым расширением (A7) на дизъюнкции произвольных задач была бы схема ¬ ¬ ( φ ∨ ψ ) → ( φ ∨ ψ ) \neg\neg(\varphi\lor\psi) \to(\varphi\lor\psi) ¬¬ ( φ ∨ ψ ) → ( φ ∨ ψ ) , а у выписанной заключение слабее: в Int верно φ → ¬ ¬ φ \varphi\to\neg\neg\varphi φ → ¬¬ φ , значит ( φ ∨ ψ ) → ( ¬ ¬ φ ∨ ¬ ¬ ψ ) (\varphi\lor\psi) \to(\neg\neg\varphi\lor\neg\neg\psi) ( φ ∨ ψ ) → ( ¬¬ φ ∨ ¬¬ ψ ) . От решения выписанной схемы требуется не решение одного из дизъюнктов, а лишь метка — указание, у какого из них значение непусто (лемма 2). Тем не менее не общезначима и она, а тогда по леммам 3 и 4 не общезначимо и прямое расширение. Возьмём переменные α \alpha α , β \beta β и положим α ∗ ( x ) : = Prf ( x , σ ) \alpha^*(x) := \operatorname{Prf}(x,\sigma) α ∗ ( x ) := Prf ( x , σ ) , β ∗ : = ¬ Pr ( σ ) \beta^* := \neg\operatorname{Pr}(\sigma) β ∗ := ¬ Pr ( σ ) . Тогда ⟦ α ∨ β ⟧ ∗ ≠ ∅ \llbracket\alpha\lor\beta\rrbracket_* \ne\varnothing [ [ α ∨ β ] ] ∗ = ∅ при всяком σ \sigma σ , значит ⟦ ¬ ¬ ( α ∨ β ) ⟧ ∗ = N \llbracket\neg\neg(\alpha\lor\beta) \rrbracket_* = \mathbb{N} [ [ ¬¬ ( α ∨ β ) ] ] ∗ = N по лемме 2; а по лемме 1(5),(6) элемент множества ⟦ ¬ ¬ α ∨ ¬ ¬ β ⟧ ∗ \llbracket\neg\neg\alpha\lor\neg\neg\beta\rrbracket_* [ [ ¬¬ α ∨ ¬¬ β ] ] ∗ несёт метку, различающую случаи ⟦ α ⟧ ∗ ≠ ∅ \llbracket\alpha\rrbracket_* \ne\varnothing [ [ α ] ] ∗ = ∅ и ⟦ β ⟧ ∗ ≠ ∅ \llbracket\beta\rrbracket_* \ne\varnothing [ [ β ] ] ∗ = ∅ , то есть разрешающую доказуемость σ \sigma σ . Видно и то, где именно ломается доказательство: перечисление, на котором держится лемма 8, для переменной и для импликации взять неоткуда. Для переменной α \alpha α множество [ [ α ] ] ∗ = { n : N ⊨ α ∗ ( n ) } [\![\alpha]\!]_* = \{n : \mathbb{N} \models\alpha^*(n)\} [ [ α ] ] ∗ = { n : N ⊨ α ∗ ( n )} произвольно: формула α ∗ \alpha^* α ∗ может быть какой угодно, и перечислять тут нечего. Для импликации условие «x ∈ [ [ ψ → χ ] ] ∗ »по x r e f ‘ лемме 1 ( 6 ) ‘ есть« x \in[\![\psi\to\chi]\!]_*» по {xref}`лемме 1(6)` есть « x ∈ [ [ ψ → χ ] ] ∗ » по x r e f ‘ лемме 1 ( 6 ) ‘ есть « U_x$ определена всюду на [ [ ψ ] ] ∗ [\![\psi]\!]_* [ [ ψ ] ] ∗ и попадает в [ [ χ ] ] ∗ [\![\chi]\!]_* [ [ χ ] ] ∗ » — условие с квантором всеобщности, тоже не перечислимое.
Теперь про обещанный класс O \mathcal{O} O из схемы Роуза (предложение 27): на нём схема (A7) тоже перестаёт быть общезначимой. Достаточно взять φ : = ! A ∨ ∼ ! A \varphi:= {!A} \lor\sim{!A} φ := ! A ∨ ∼ ! A — первый дизъюнкт есть Σ \Sigma Σ -задача, второй имеет вид ∼ ψ \sim\psi ∼ ψ , так что φ \varphi φ есть O \mathcal{O} O -задача. При всякой интерпретации [ [ φ ] ] ∗ ≠ ∅ [\![\varphi]\!]_* \ne\varnothing [ [ φ ] ] ∗ = ∅ : если A ∗ A^* A ∗ доказуема, непусто [ [ ! A ] ] ∗ [\![{!A}]\!]_* [ [ ! A ] ] ∗ , а если нет, то [ [ ∼ ! A ] ] ∗ = N [\![\sim{!A}]\!]_* = \mathbb{N} [ [ ∼ ! A ] ] ∗ = N . Значит [ [ ∼ ∼ φ ] ] ∗ = N [\![\sim\sim\varphi]\!]_* = \mathbb{N} [ [ ∼∼ φ ] ] ∗ = N всегда, и схема (A7) для этой φ \varphi φ требовала бы вычислять по коду решение φ \varphi φ — то есть метку, отвечающую на вопрос, доказуема ли A ∗ A^* A ∗ . Это в точности разобранный выше контрпример с дизъюнкцией, метка которой разрешала бы доказуемость, — записанный внутри класса O \mathcal{O} O . Схема (A7) и схема Роуза поэтому не случайно заданы на разных классах: схема Роуза требует лишь конечного списка кандидатов — их выписывают заранее, а какой из них годен, узнают у собеседника, решающего посылку, — тогда как (A7) требует поиска , находящего свидетеля, то есть перечислимости значения. Класс O \mathcal{O} O даёт первое и не даёт второго: как только в дизъюнкцию входит отрицание, перечислимость пропадает. Внутри же Σ \Sigma Σ дизъюнкция перечислимость сохраняет — потому там и работает (A7), а схема Роуза, наоборот, вырождается: на Σ \Sigma Σ -задачах она выводима из (A7) одним (MP).
Спросим теперь наоборот: нельзя ли класс сузить, ничего не потеряв? Иначе говоря, какие из двух допущенных связок действительно усиливают схему (A7)? Оказывается, только дизъюнкция.
Задачу φ \varphi φ называют стабильной , если для неё верна схема снятия двойного отрицания ∼ ∼ φ → φ \sim\sim\varphi\to\varphi ∼∼ φ → φ ; в этих словах схема (A7) говорит, что все Σ \Sigma Σ -задачи стабильны. Про связку говорят, что она наследует стабильность, если из стабильности аргументов следует стабильность результата; в Int стабильность наследуют ∧ \land ∧ и → \to → , но не ∨ \lor ∨ .
Конъюнкция поэтому схему (A7) не усиливает: случай φ = ψ ∧ χ \varphi= \psi\land\chi φ = ψ ∧ χ выводится из случаев ψ \psi ψ и χ \chi χ , поскольку уже в Int из ∼ ∼ ( ψ ∧ χ ) \sim\sim(\psi\land\chi) ∼∼ ( ψ ∧ χ ) следует ∼ ∼ ψ ∧ ∼ ∼ χ \sim\sim\psi\land\sim\sim\chi ∼∼ ψ ∧ ∼∼ χ . Дизъюнкция усиливает: схема ∼ ∼ ( ! A ∨ ! B ) → ( ! A ∨ ! B ) \sim\sim({!A} \lor{!B}) \to({!A} \lor{!B}) ∼∼ ( ! A ∨ ! B ) → ( ! A ∨ ! B ) из ∼ ∼ ! A → ! A \sim\sim{!A} \to{!A} ∼∼ ! A → ! A и ∼ ∼ ! B → ! B \sim\sim{!B} \to{!B} ∼∼ ! B → ! B в Int уже не выводится: даже ∼ ∼ α → α \sim\sim\alpha\to\alpha ∼∼ α → α и ∼ ∼ β → β \sim\sim\beta\to\beta ∼∼ β → β не дают ∼ ∼ ( α ∨ β ) → ( α ∨ β ) \sim\sim(\alpha\lor\beta) \to(\alpha\lor\beta) ∼∼ ( α ∨ β ) → ( α ∨ β ) (шкала Крипке с корнем и двумя несравнимыми потомками, в которых истинны соответственно α \alpha α и β \beta β ). Между тем лемма 8 эту схему даёт: параллельный перебор выводов обеих формул. Значит всё содержание (A7), сверх марковского принципа ∼ ∼ ! A → ! A \sim\sim{!A} \to{!A} ∼∼ ! A → ! A , состоит в том, что внутри класса Σ \Sigma Σ стабильность объявляется наследуемой дизъюнкцией .
Конъюнкцию, однако, из грамматики убрать всё равно нельзя: без неё не построить дизъюнкций вроде ( ! A ∧ ! B ) ∨ ! C ({!A} \land{!B}) \lor{!C} ( ! A ∧ ! B ) ∨ ! C , для которых схема (A7) по только что сказанному уже не выводится.
Независимость схемы
Схема (A7) не выводится из остальных аксиом HCI. Доказательство — модель Крипке из двух точек.
Определение 17 (двухточечная модель M M M ). Шкала — двухэлементная цепь a < b a < b a < b . Переменные-задачи оцениваются произвольными открытыми вверх множествами (∅ \varnothing ∅ , { b } \{b\} { b } , { a , b } \{a,b\} { a , b } ), переменные-высказывания — произвольными истинностными значения-
ми; связки задач понимаются по пунктам Крипке, связки высказываний — классически, ∅ \varnothing ∅ не вынуждена нигде, ⊥ \bot ⊥ ложно. Модальности:
x ⊩ ! A ⟺ ( x = b или A истинно ) , ? φ истинно ⟺ b ⊩ φ . x \Vdash{!A} \Longleftrightarrow(x=b\ \text{или}\ A\ \text{истинно}), \qquad?\varphi\ \text{истинно} \Longleftrightarrow b\Vdash\varphi. x ⊩ ! A ⟺ ( x = b или A истинно ) , ? φ истинно ⟺ b ⊩ φ .
Иначе говоря, ! A !A ! A вынуждена в верхней точке всегда, а в нижней — тогда и только тогда, когда A A A истинно (вынуждение монотонно); ? φ ? \varphi ? φ означает, что φ \varphi φ вынуждена хотя бы в одной точке, поскольку всякое непустое открытое вверх множество содержит b b b . Формула верна в M M M , если при всякой оценке переменных она вынуждена в обеих точках (для задач) или истинна (для высказываний).
Предложение 45. Все схемы ( A 1 ) (A1) ( A 1 ) –( A 6 ) (A6) ( A 6 ) верны в M M M , и все три правила ( M P ) (MP) ( M P ) , ( A t o P ) (AtoP) ( A t o P ) , ( P t o A ) (PtoA) ( P t o A ) сохраняют верность в M M M . Между тем задача ∼ ∼ ! ⊥ → ! ⊥ \mathord{\sim}\mathord{\sim}! \bot\to!\bot ∼ ∼ ! ⊥ → ! ⊥ — частный случай ( A 7 ) (A7) ( A 7 ) — в M M M не верна: она не вынуждена в точке a a a . Следовательно, схема ( A 7 ) (A7) ( A 7 ) не выводима в HCI из остальных аксиом.
Доказательство. Заметим сразу: ! A !A ! A вынуждена в b b b при любом A A A , поэтому
□ A = ? ! A истинно при всех A . \Box A = ?!A\quad\text{истинно при всех }A. □ A = ?! A истинно при всех A .
В этой модели «доказуемо всё»; именно поэтому схема Лёба в ней верна даром. Два общих наблюдения. Во-первых, точка b b b максимальна, поэтому вынуждение в ней классично: b ⊩ φ → ψ b\Vdash\varphi\to\psi b ⊩ φ → ψ равносильно ( b ⊩ φ ⇒ b ⊩ ψ ) (b\Vdash\varphi\Rightarrow b\Vdash\psi) ( b ⊩ φ ⇒ b ⊩ ψ ) , и так же для ∧ \land ∧ , ∨ \lor ∨ . Во-вторых, для задач вида ! X !X ! X вынуждение в a a a — это истинность X X X , а в b b b оно автоматическое; поэтому для задач, составленных из задач ! X !X ! X импликациями, вынуждение в a a a сводится к импликации истинностей: a ⊩ ! X → ! Y a\Vdash!X\to!Y a ⊩ ! X → ! Y равносильно ( X истинно ⇒ Y истинно ) (X\ \text{истинно}\Rightarrow Y\ \text{истинно}) ( X истинно ⇒ Y истинно ) , и так же для вложенных импликаций.
( A 1 ) (A1) ( A 1 ) Высказывания двузначны, связки классические.
( A 2 ) (A2) ( A 2 ) Схемы Int верны во всякой модели Крипке.
( A 3 ) (A3) ( A 3 ) В b b b всё вынуждено. В a a a по второму наблюдению нужно: если A ⊃ B A\supset B A ⊃ B и A A A истинны, то истинно B B B .
( A 4 ) (A4) ( A 4 ) По первому наблюдению ? φ ? \varphi ? φ истинно тогда и только тогда, когда b ⊩ φ b\Vdash\varphi b ⊩ φ , а вынуждение в b b b классично; отсюда ( A 4 a ) (A4a) ( A 4 a ) –( A 4 c ) (A4c) ( A 4 c ) , а ( A 4 d ) (A4d) ( A 4 d ) — это b ⊮ ∅ b\nVdash\varnothing b ⊮ ∅ .
( A 5 ) (A5) ( A 5 ) Если ? σ ? \sigma ? σ истинно, то ! ? σ !? \sigma !? σ вынуждена всюду и импликация σ → ! ? σ \sigma\to!? \sigma σ → !? σ вынуждена всюду. Если ? σ ? \sigma ? σ ложно, то b ⊮ σ b\nVdash\sigma b ⊮ σ , а тогда по монотонности σ \sigma σ не вынуждена нигде, и импликация вынуждена вхолостую.
( A 6 ) (A6) ( A 6 ) □ A \Box A □ A истинно, поэтому □ A ⊃ A \Box A\supset A □ A ⊃ A истинно тогда и только тогда, когда истинно A A A ; по второму наблюдению a ⊩ ! ( □ A ⊃ A ) → ! A a\Vdash!(\Box A\supset A)\to!A a ⊩ ! ( □ A ⊃ A ) → ! A , а в b b b всё вынуждено.
Правила. ( M P ) (MP) ( M P ) — обычное свойство вынуждения и классической импликации. ( A t o P ) (AtoP) ( A t o P ) : если A A A истинно, то ! A !A ! A вынуждена в обеих точках. ( P t o A ) (PtoA) ( P t o A ) : если φ \varphi φ вынуждена в обеих точках, то и в b b b , и ? φ ? \varphi ? φ истинно.
Наконец, ⊥ \bot ⊥ ложно, поэтому ! ⊥ !\bot ! ⊥ вынуждена только в b b b . Тогда ∼ ! ⊥ \mathord{\sim}!\bot ∼ ! ⊥ не вынуждена нигде: в b b b — потому что b ⊩ ! ⊥ b\Vdash!\bot b ⊩ ! ⊥ , в a a a — потому что над a a a лежит b b b . Значит, ∼ ∼ ! ⊥ \mathord{\sim}\mathord{\sim}!\bot ∼ ∼ ! ⊥ вынуждена всюду, и в точке a a a посылка задачи ∼ ∼ ! ⊥ → ! ⊥ \mathord{\sim}\mathord{\sim}!\bot\to!\bot ∼ ∼ ! ⊥ → ! ⊥ вынуждена, а заключение — нет.
Что ново в выводе схемы Лёба
Здесь мы разбираем, есть ли что-либо новое в нашем доказательстве схемы Лёба (пункт (3) доказательства теоремы 15). В модальном языке такой вывод известен и стандартен: в GL без схемы Лёба неподвижная точка ψ ≡ ( □ ψ ⊃ σ ) \psi\equiv(\Box\psi\supset\sigma) ψ ≡ ( □ ψ ⊃ σ ) даёт формулу Лёба. Действительно, из ψ ⊃ ( □ ψ ⊃ σ ) \psi\supset(\Box\psi\supset\sigma) ψ ⊃ ( □ ψ ⊃ σ ) правилом необходимости и схемой K получаем □ ψ ⊃ □ ( □ ψ ⊃ σ ) \Box\psi\supset\Box(\Box\psi\supset\sigma) □ ψ ⊃ □ ( □ ψ ⊃ σ ) , далее по K и схеме □ ψ ⊃ □ □ ψ \Box\psi\supset\Box\Box\psi □ ψ ⊃ □□ ψ — импликацию □ ψ ⊃ □ σ \Box\psi\supset\Box\sigma □ ψ ⊃ □ σ ; отсюда ( □ σ ⊃ σ ) ⊃ ( □ ψ ⊃ σ ) (\Box\sigma\supset\sigma) \supset(\Box\psi\supset\sigma) ( □ σ ⊃ σ ) ⊃ ( □ ψ ⊃ σ ) , а значит и □ ( □ σ ⊃ σ ) ⊃ □ ( □ ψ ⊃ σ ) \Box(\Box\sigma\supset\sigma) \supset\Box(\Box\psi\supset\sigma) □ ( □ σ ⊃ σ ) ⊃ □ ( □ ψ ⊃ σ ) , что вместе с □ ( □ ψ ⊃ σ ) ⊃ □ ψ \Box(\Box\psi\supset\sigma) \supset\Box\psi □ ( □ ψ ⊃ σ ) ⊃ □ ψ (вторая половина неподвижной точки) даёт □ ( □ σ ⊃ σ ) ⊃ □ σ \Box(\Box\sigma\supset\sigma) \supset\Box\sigma □ ( □ σ ⊃ σ ) ⊃ □ σ .
Поэтому в теореме 42 ново не то, что схема Лёба выводится из неподвижной точки, а то, в какой форме она выводится. Схема (A6) записана через !: она утверждает существование вычислимого преобразования выводов , а не существование выводов, и в модальном языке невыразима. Из (A6) □ \Box □ -версия получается применением (PtoA) и (A4a); обратный переход неочевиден и остаётся открытым (см. § 8 ).
Содержательно получается вот что: конструктивная теорема Лёба выводится из эффективной Σ 1 \Sigma_1 Σ 1 -полноты. Обычно её доказывают, разбирая по шагам доказательство теоремы Лёба и следя за тем, что все преобразования выводов вычислимы; здесь же достаточно эффективной Σ 1 \Sigma_1 Σ 1 -полноты — схемы (A5) — и эффективности леммы о неподвижной точке, а остальное делает формальный вывод. Функцию, перерабатывающую вывод формулы Pr ( σ ) ⊃ σ \operatorname{Pr}(\sigma) \supset\sigma Pr ( σ ) ⊃ σ в вывод формулы σ \sigma σ , строить руками не нужно: она читается из этого вывода.
Список литературы