Abstract
Church-Turing Thesis, mechanistic project, and Gödelian Arguments offer different perspectives of informal intuitions behind the relationship existing between the notion of intuitively provable and the definition of decidability by some Turing machine. One of the most formal lines of research in this setting is represented by the theory of knowing machines, based on an extension of Peano Arithmetic, encompassing an epistemic notion of knowledge formalized through a modal operator denoting intuitive provability. In this framework, variants of the Church-Turing Thesis can be constructed and interpreted to characterize the knowledge that can be acquired by machines. In this paper, we survey such a theory of knowing machines and extend some recent results proving that a machine can know its own code exactly but cannot know its own correctness (despite actually being sound). In particular, we define a machine that, for (at least) a specific case, knows its own code and knows to be sound.
You have full access to this open access chapter, Download conference paper PDF
Similar content being viewed by others
Keywords
- Church-Turing Thesis
- Mechanism
- Epistemic Arithmetic
- Gödelian Arguments
- Intuitive provability
- Knowledge operator
1 Introduction
After the seminal paper by Turing in 1950 [37], the launch of the mechanistic project, intended to establish whether minds can be explained, either extensionally or intensionally, in purely mechanist terms, was contrasted by the so-called Gödelian Arguments. These represent the effort done by several scholars to interpret Gödel’s Incompleteness Theorems [12] with the purpose of refuting mechanism. In particular, several speculative ideas, like the anti-mechanist arguments by Lucas [24, 25] and Penrose [29], contributed to animate the debate. On the other hand, authors like Benacerraf [5], Chihara [8], and Shapiro [35] tried to follow more sophisticated lines of reasoning for the analysis of the relation between human mind and machines [9]. Most of these approaches preserve intensional elements on properties of human mind that make severely informal the argumentation and, more confusing, make hard even to define precisely what the (anti-)mechanistic thesis claims.
In this setting, a series of results presented by Reinhardt [32], Carlson [7], and Alexander [3], clarify some typically informal aspects of the Gödelian Arguments. This is done in the framework of a theory, called Epistemic Arithmetic (EA), developed independently by both Reinhardt and Shapiro [30, 31, 34], and encompassing an epistemic notion of intuitive provability. In particular, Reinhardt uses such an axiomatic framework to study both ramifications of the Church-Turing Thesis [21]:
every effectively calculable function is computable by a Turing Machine
and the consequences of Gödel’s Incompleteness Theorems, with the aim of strengthening the formal elements behind the philosophical debate on the knowledge that can be acquired by machines.
EA is the language of Peano Arithmetic enriched by a modal operator K for knowledge, which is the notation used by Shapiro and from Carlson on (see, e.g., [3, 7, 34]). According to Shapiro, K means “ideally, or potentially, knowable”, while Carlson, analogously, says “can eventually come to be known”. On the other hand, Reinhardt prefers the more specific interpretation “it is intuitively provable that” [30] and, to strengthen such an idea, uses the epistemic operator B for beweisbar (meaning provable in German). By following the same motivation, we adopt the operator B, which is closer to the intended interpretation of its role, and use the two intuitions – provability and knowledge – interchangeably, by assuming that the notion of knowability [34] is actually limited to intuitive provability. Hence, the idea behind such a modal operator is to express a definition of decidability by human mind (humanly provable) that occurs in many forms both in the mechanistic thesis and in the Gödelian Arguments.
The formal interpretation of B passes through the definition of the properties at the base of an epistemic notion of knowledge. For instance, it is expected that humanly provable statements are closed under logic consequence, meaning that if we can intuitively prove \(\phi \rightarrow \psi \) and we have an intuitive proof of \(\phi \), then by combining these we derive an intuitive proof of \(\psi \). In other words, we are representing modus ponens as a rule for intuitive provability. Analogously, we also expect the soundness of intuitive provability (what can be proved is true, thus stating the infallibilism of knowledge) and that what is humanly provable includes all tautologies. Using this latter rule in the setting of intuitive provability amounts to establish an introspection principle: if \(\phi \) can be proved then such a knowledge can be proved. Such a principle may be seen as an instance of the general, largely discussed and controversial, KK (knowing that one knows) law (see, e.g., [17, 19]). However, intuitive provability (“it can be proved”) is weaker than the general notion of knowledge (“I know that”) and relies on idealizations abstracting from space, time, and complexity constraints, thus making the introspection rule less debatable with respect to the classical contrast between internalist and externalist theories of knowledge (see, e.g., [6, 15]).
As we will see, all the laws informally expressed above are formalized through very common axioms of epistemic modal systems, see, e.g., [18] for a comprehensive discussion. Therefore, in essence, knowability is treated in axioms form, while any attempt to specify precisely its meaning by following model theoretic approaches is intentionally avoided. In fact, representing knowledge as a predicate easily leads to contradictions forcing all true propositions to be provable [23, 26, 27, 30, 32].
Then, the aim of an axioms system based on the operator B is to apply deductive reasoning to prove the (in)consistency of statements specified in an appropriately formulated logic and representing conjectures related to Church’s Thesis and the mechanist project, with a specific interest towards the following:
the property of being humanly provable is equivalent to decidability by some Turing Machine.
In the rest of the paper, we first illustrate such a theory of knowledge (Sect. 2). Then, we survey the main results obtained by recasting Gödel Incompleteness Theorems and by analyzing variants of the Church-Turing Thesis in this setting (Sect. 3). We also show how to extend a tradeoff result obtained by Alexander [3] about the relation between knowledge of soundness and knowledge of own code for (knowing) machines. Some conclusions terminate the paper (Sect. 4). This paper is a full and revised version of an extended abstract presented at HaPoC 2015 [1].
2 Epistemic Arithmetic
We start by introducing some notation used to describe the language of Peano Arithmetic (PA)Footnote 1: \(\phi , \psi \) denote well formed formulas (wff, for short), which, if not specified, are considered to include only one free variable x.Footnote 2 A sentence, usually denoted by \(\sigma \), is a wff without free variables, and any set of sentences closed under logical consequence is called theory. Terms and substitution principle are defined as usual: if t is a term, then \(x \mid t\) denotes the substitution of x by t. An assignment is a function \(s: \mathcal {V}\rightarrow {\mathcal {U}}\) from the domain of variables to the reference universe, such that \(s(x \mid t)\) denotes the function assigning t to x and s(y) to every variable \(y \not = x\).
Epistemic Arithmetic extends Peano Arithmetic with the modal operator B. The language of EA contains every wff of the language of PA and the additional formulas of the form \(B \phi \) whenever \(\phi \) is a wff of EA. In the following, given a set \(\varPhi \) of wff we also use the notation \(B \varPhi \) to denote the set \(\{ B \phi \mid \phi \in \varPhi \}\). It is worth noticing that \(B \phi \) is treated as an atomic formula. Then, in EA a structure \(\mathcal {M}\) with respect to a universe \({\mathcal {U}}\) is defined in the classical way for the first order part related to PA and includes also a boolean interpretation function for B. More precisely, for each assignment s, \(\mathcal {M}\,\models \, B \phi [ s ]\) means that \(\phi \) can be intuitively proved when the free variables of \(\phi \) are interpreted according to s. Obviously, the interpretation of \(B \phi [ s ]\) does not depend on s(x) whenever x does not occur free in \(\phi \).
Moreover, we write \(\mathcal {M}\,\models \, \phi \) if \(\mathcal {M}\,\models \, \phi [s]\) for each assignment s and we say that \(\phi \) is valid if \(\mathcal {M}\,\models \, \phi \) for each structure \(\mathcal {M}\); \(\phi \) is logical consequence of a set of sentences \(\varSigma \) (denoted \(\varSigma \,\models \, \phi \)) if for each structure \(\mathcal {M}\) it holds that:
We observe that, in such an epistemic extension of PA, compactness and completeness results can be proved.Footnote 3
As far as the axiomatization of EA is concerned, we first recall the Peano axioms:
-
1.
\(\forall x (\mathbf {S}(x) \not = \mathbf {0})\)
-
2.
\(\forall x \forall y ((\mathbf {S}(x) = \mathbf {S}(y)) \rightarrow (x = y))\)
-
3.
\(\forall x (x + \mathbf {0} = x)\)
-
4.
\(\forall x \forall y(x + \mathbf {S}(y) = \mathbf {S}(x + y))\)
-
5.
\(\forall x (x \cdot \mathbf {0} = \mathbf {0})\)
-
6.
\(\forall x \forall y (x \cdot \mathbf {S}(y) = x \cdot y + x)\)
-
7.
\(\forall y_1 \dots \forall y_n ((\phi (x \mid \mathbf {0}) \wedge \forall x(\phi \rightarrow \phi (x \mid \mathbf {S}(x)))) \rightarrow \forall x \phi )\) for each wff \(\phi \)
establishing that \(\mathbf {0}\) is not in the codomain of \(\mathbf {S}\) (see 1), \(\mathbf {S}\) is injective (see 2), while 3 to 6 define the rules for sum and product, and 7 expresses the induction schema, where \(\phi \) is a formula with free variables \(x,y_1,\dots ,y_n\).
To the standard Peano axioms we add the universal closure of the following basic axioms of knowledge:
-
\(B1.\ B \forall x \phi \rightarrow \forall x B \phi \)
-
\(B2.\ B (\phi \rightarrow \psi ) \rightarrow (B \phi \rightarrow B \psi )\)
-
\(B3.\ B \phi \rightarrow \phi \)
-
\(B4.\ B \phi \rightarrow B B \phi \)
where B2–B4 formalize the intuitive properties illustrated in Sect. 1 and are essentially taken from the modal system S4 [18, 22]. To complete the axioms system, the first order condition B1 establishes that the statement “\(\phi \) can be proved to be valid” implies the knowledge of each element that can be assigned to the free variable x of \(\phi \) and the provability of the formula under each such assignment. This condition represents a sort of accessibility principle ensuring that the elements assigned to the free variable of \(\phi \) should be accessible to the knower in some way, and from which we notice that the following desirable condition can be derived:
which states that if \(\phi \) can be proved under the interpretation provided by \(\mathcal {M}\), then it is possible to prove \(\phi (x)\) for each assignment of the variable x in the universe \({\mathcal {U}}\).
Now, given a wff \(\phi \), we define the B-closure of \(\phi \) as \(\phi \,\cup \, B \phi \), which extends easily to sets of formulas. Then, the standard axiomatization of the theory of knowledge for EA is given by the B-closure of B1–B4 and of the axioms of PA, with the modus ponens being the unique rule of this formal system. The theory of knowledge axiomatized in such a way extends conservatively the classical interpretation of PA.
In particular, let us characterize the following property emphasizing the role of each element of the theory of knowledge. If T is a theory with an axiomatization of the form \(\varSigma \cup B \varSigma \) extending the theory of knowledge, then:
Hence, we have a correspondence between the valid sentences of T and the sentences that can be intuitively proved in T. On one hand, if \(\sigma \in \varSigma \cup B \varSigma \) then, by B4, \(BB \sigma \in T\) and, by B3, \(B \sigma \in T\). Now, assume that \(\sigma _2\) derives by modus ponens from \(\sigma _1, \sigma _1 \rightarrow \sigma _2 \in T\). By induction hypothesis, both \(B \sigma _1\) and \(B (\sigma _1 \rightarrow \sigma _2)\) are in T and, by applying B2, we derive \(B \sigma _2 \in T\). On the other hand, by B3 we have that \(B \sigma \in T\) implies \(\sigma \in T\).
Finally, giving for granted the accessibility principle, it is possible to reason about a simple theory of knowledge [3, 7] in which B1 is replaced by the rule of necessitation: if \(\vdash \phi \), then \(\vdash B \phi \). Hence, it can be shown that the theory of knowledge corresponds to the set of sentences that can be proved in the modal system S4.
2.1 Knowing Entities and Machines
The statements presented in the next section are considered with respect to a knower reasoning about basic arithmetic. Therefore, we refer to the standard interpretation of the model of arithmetic, extended formally in the following way. Given a set of sentences \(\varSigma \) in EA, the structure \(\mathcal {N}_\varSigma \) over the set of naturals \(\mathbb {N}\) is such that, for any wff \(\phi \) with one free variable x, it holds that:
where \(\overline{n}\) is the numeral associated to the natural number n (i.e., the term of the language of PA corresponding to n). Informally, \(B \phi \) is satisfied by \(\mathcal {N}_\varSigma \) under assignment s if and only if \(\phi \) is logical consequence of \(\varSigma \) whenever replacing each free occurrence of x in \(\phi \) by the numeral associated to s(x). Then, we say that a theory T in EA is a (knowing) entity if \(\mathcal {N}_T\) is a model of the theory of knowledge. Finally, by using Carlson’s notation [7], a recursively enumerable entity is said to be a (knowing) machine.
3 Properties of Knowing Machines
While Shapiro was more involved with the description in EA of the grounds of constructive mathematics [34], Reinhardt’s main intent was to use the theory of knowledge illustrated above for studying variants of the Church-Turing Thesis. The effective version under analysis is based on a notion of weak decidability, according to which a property \(\phi \) of natural numbers is weakly decidable if there exists a theorem proving procedure by an idealized human mathematician that can eventually produce each n satisfying the property, i.e., such that \(\phi (n)\) is true. Such a notion is expressed in EA in terms of the modal operator B, thus leading to a definition of weak B-decidability: \(\forall n (\phi (n) \rightarrow B \phi (n))\), i.e., given a formula \(\phi \) with one free variable, it holds that the assignments of the variable satisfying \(\phi \) are known. The objective is then to analyze the relationship between properties that are weakly B-decidable and the Turing Machines (TMs) that formalize the decision algorithm for these properties. Therefore, weak B-decidability expresses in the framework of EA a notion of humanly provable as discussed in Sect. 1, and its equivalence with respect to Turing computability is represented by the following formula (which we simply call Turing Thesis):
where we assume that \(W_e\) is the recursively enumerable set with Gödel number represented by the PA language term e. Notice that such a statement can be seen as a constructive, effective version of Church’s Thesis: a recursively enumerable set exists (and, therefore, a TM enumerates its elements) that contains all and only the assignments of x making \(\phi \) intuitively provable, that is to say, Turing computability coincides with weak B-decidability.
As we will show later, we have that (1) is consistent in EA [30]. However, validity of the Turing Thesis implies that there exists an absolutely undecidable statement. Formally, the following theorem holds.
Theorem 1
(Incompleteness of \(\varvec{B}\) ). For every theory T in which (1) holds, then there exists \(\phi \) with one free variable such that:
Proof
Let us assume \(\phi (x) = \lnot (x \in W_x)\). Then, from (1) we derive:
and, by taking \(x=e\), it follows:
Since, by applying B3, we have:
Now, recalling that, by applying tautologies, \(B \phi (e) \rightarrow \lnot \phi (e)\) and \(B \phi (e) \rightarrow \phi (e)\) imply \(\lnot B \phi (e)\), and that \(\lnot \phi (e) \rightarrow B \phi (e)\) and \(B \phi (e) \rightarrow \phi (e)\) imply \(\phi (e)\), then it is immediate to observe that a tautological consequence of (4) is the following:
which corresponds to the statement of the theorem.
Notice that B3 and (5) imply:
because \((B \lnot \phi (e) \rightarrow \lnot \phi (e))\) and \(\phi (e)\) hold, and therefore it must be \( \lnot B \lnot \phi (e)\), thus stating the absolute undecidability of \(\phi (e)\). Such an incompleteness result can be viewed as a version of Gödel’s first incompleteness theorem, that is, if T is sound, then it is also incomplete [31].
Analogously, even Gödel’s second incompleteness theorem can be recast in this setting to show that the consistency of T is absolutely unprovable. More precisely, a generalized version of Gödel’s second incompleteness theorem defined in EA establishes that for any intuitively definable upper bound for intuitive provability we have an absolute impossibility of a consistency proof [31]. Formally, the following second incompleteness of B theorem holds, where we use the notation \(\bar{\phi }\) to represent the symbolic expression \(\bar{n}\), with n the Gödel number of the formula \(\phi \).
Theorem 2
(Incompleteness of \(\varvec{B}\) ). Assume the existence of a formula \(\psi \) with one free variable such that for every sentence \(\sigma \) of T it holds that:
then it also holds that:
where the predicate \( Con \) expressing consistency of its argument is defined as \(\forall x \lnot (\psi (x) \wedge \lnot \psi (x))\).
Before proving this theorem, it is worth observing that \(\psi \) represents an intuitive upper bound for provability: it is provable that if \(\sigma \) is known, then \(\psi \) holds when applied to the symbolic representation of the Gödel number of \(\sigma \). In fact, notice that the formula above is an instance of the B-closure of B3 stating the knowledge of the bounds of intuitive provability, which are established by \(\psi \). Then, the result states that the consistency of \(\psi \) is absolutely unprovable or, in other words, no interesting upper bounds for intuitive provability can be defined. The following proof relies on a preliminary result by Reinhardt [31] stating the applicability of Gödel Fixed Point LemmaFootnote 4 in the setting of EA.
Proof
By Gödel Fixed Point Lemma, we can choose a sentence \(\sigma \) such that:
We now construct the derivation sequence:
At the same time, we also have the following derivation sequence:
Hence, from \(\sigma \rightarrow \psi (\bar{\sigma })\) and \(\sigma \rightarrow \lnot \psi (\bar{\sigma })\) we obtain \(\sigma \rightarrow \lnot Con \psi \) by definition of Con. Since it is possible to prefix with B every step of the proof above, it also holds \(B(\sigma \rightarrow \lnot Con \psi )\) and, equivalently, \(B( Con \psi \rightarrow \lnot \sigma )\), which, by applying B2, implies:
Now:
Since it is possible to prefix with B every step, we have \(B (B Con \psi \rightarrow \lnot \psi (\bar{\sigma }))\) from which, by B2, it follows \(B B Con \psi \rightarrow B \lnot \psi (\bar{\sigma })\). From this and by virtue of B4 we derive:
Then, by applying B3, from (8) we derive \(B Con \psi \rightarrow \lnot \sigma \), which, in conjunction with \(B Con \psi \rightarrow \sigma \) proved above, imply \(\lnot B Con \psi \). Again, by prefixing B to each previous step, we get:
This result completes the part concerning the revisiting of the Gödel incompleteness theorems in EA starting from the Turing Thesis. In the following, it is our interest to consider stronger versions of the Turing Thesis involving the knowledge that can be acquired in the theory about such a thesis. The strongest claim, which we call Reinhardt’s schema, establishes that the index of the TM deciding \(B \phi \) in the Turing Thesis is known. This claim can be refuted in \(\textsc {EA}\), as stated by the following theorem.
Theorem 3
(Reinhardt’s schema [32]). \(\exists e B \forall x (B \phi \leftrightarrow x \in W_e)\) is not consistent in EA.
Notice that Reinhardt’s schema states that a TM exists for which it is known that it enumerates all (and only) the elements (for which it is known) that make \(\phi \) true. By citing Carlson’s intuition, I know to be a TM and I know which one. The inconsistency of this schema can be viewed as an alternative characterization of Gödel’s first incompleteness theorem.
Proof
By B1, from Reinhardt’s schema we derive:
Now, assume \(\phi (x) = \lnot (x \in W_x)\) and \(x = e\), hence we have:
while by the B-closure of B3:
From the conjunction of the two above, by applying tautologies and distributivity, we derive \(B (\phi \wedge \lnot B \phi )\) and then \(B \phi \wedge B \lnot B \phi \), and applying B3:
A weaker version of Reinhardt’s schema consists of moving the outermost B operator to prefix the whole formula, thus obtaining the so-called Strong Mechanistic Thesis, which we call Carlson’s schema from the author who proved its consistency in EA.
Theorem 4
(Carlson’s schema [7]). \(B \exists e \forall x (B \phi \leftrightarrow x \in W_e)\) is consistent in EA.
By citing Carlson, I know that the set of x for which I know \(\phi (x)\) is recursively enumerable or, by rephrasing an hypothesis studied by Benacerraf independently, I know to be a TM but I do not know which one.
To prove Theorem 4, in [7] it is shown that the theory of knowledge plus Carlson’s schema is a (knowing) machine. In order to establish the induction proving the result, Carlson generalizes the modal operator B by introducing a collection of operators \(B_t\), where t belongs to a linearly ordered set and can be interpreted as the amount of steps (either logical or temporal) needed to prove the formula guarded by \(B_t\). In such a stratified version of the theory of knowledge, each formula is such that any occurrence of \(B_t\) in the scope of another occurrence \(B_{t'}\) satisfies the condition \(t < t'\). Then, the key parts of the proof rely on showing that the standard axiomatization of the stratified theory of knowledge for EA plus Carlson’s schema is recursively enumerable and that such a result is inherited by the non-stratified theory.
Theorem 4 implies, as a corollary deriving from the application of B3, the validity of the Turing Thesis. Another interesting corollary of the theorem is related to the first incompleteness of B theorem.
Corollary 1
Given T and \(\phi \) as in Theorem 1, then:
Proof
By Theorem 1, (5) holds and if (1) holds whenever prefixed by B, then so does (5), because under such a hypothesis it is possible to prefix with B every step of the proof of Theorem 1. Now, it is sufficient to notice that (1) prefixed by B is exactly Carlson’s schema.
Informally, this result states that knowledge of the Turing Thesis implies knowledge that there exists an absolutely undecidable sentence in EA. In particular, the corollary requires B prefixed to B3, which is the only axiom for B used in the proof of (5) in Theorem 1. In general, all the proofs related to variants of the Church-Turing Thesis discussed so far rely on the validity of \(B(B \phi \rightarrow \phi )\), stating that in the formal system the soundness (factivity, as called by Alexander) of knowledge can be proved. Under such a condition, we have Theorem 4 stating that for each wff \(\phi \), an unspecified TM enumerates recursively the set of values for which one knows that \(\phi \) is satisfiable (which can be read as “I know to have some code related to \(\phi \)”). On the other hand, we have Theorem 3 stating that the knowledge of the identity of such a TM cannot be acquired (which can be read as “I cannot know my own code related to \(\phi \)”). In between the limiting results stated by Reinhardt and Carlson, Alexander has recently proved a dichotomy revealing the relation between knowledge of factivity and knowledge of own code. Either a machine can know to be sound (that is, \(B(B \phi \rightarrow \phi )\) is valid) as well as that it has some code (without knowing which, as proved by Carlson), or it can know its own code exactly (thus proving the consistency of Reinhardt’s schema) but in such a case cannot know its own soundness (that is, \(B(B \phi \rightarrow \phi )\) is not valid anymore). As a consequence, we emphasize that renouncing knowledge of soundness implies that the machine loses also knowledge of incompleteness.
Providing that the axioms of EA mod factivity consist of the axioms of EA except for the universal closure of B3 prefixed by B (i.e., \(B(B \phi \rightarrow \phi )\) is not valid), it is possible to prove that:
Theorem 5
(Alexander [3]). Reinhardt’s schema is consistent in EA mod factivity.
and then to construct the previous dichotomy.
In order to sketch the main intuition behind the proof (see [2] for details), it is worth considering the family of axioms \(\varSigma (n)\), for \(n \in \mathbb {N}\), which essentially consists of the axioms of EA mod factivity minus B3 and plus the additional schemes:
where b is a canonical computable bijection - hence definable in the language of PA - mapping pairs (represented by the symbolic Gödel number of \(\phi \) and its input x) to numerals. Since by completeness and compactness of EA, \(\varSigma (n)\) is recursively enumerable, then, by the Church-Turing Thesis, chosen \(\phi \) as above, for every \(n \in \mathbb {N}\) there exists a total computable function \(f: \mathbb {N} \rightarrow \mathbb {N}\) such that:
meaning that the set of elements that, assigned to x in \(\phi \), make \(\phi \) a logical consequence of \(\varSigma (n)\), is recursively enumerable by a set of index f(n). Now, by Kleene’s Recursion Theorem, it holds that there exists \(e \in \mathbb {N}\) such that \(W_e = W_{f(e)}\).
Hence, \(\mathcal {N}_{\varSigma (e)}\) satisfies \(\forall x ( B \phi \leftrightarrow b(x,\bar{\phi }) \in W_{\bar{e}})\), because for each s with \(s(x)=m\) it holds:
In addition, by construction, \(\mathcal {N}_{\varSigma (e)}\) satisfies also all the instances of the other axioms of \(\varSigma (e)\). Then, for each axiom \(\phi \) of \(\varSigma (e)\), it holds that \(B \phi \) is satisfied by \(\mathcal {N}_{\varSigma (e)}\) because \(\varSigma (e) \,\models \, \phi \) and \(\phi \) is a sentence, so that, by definition of \(\mathcal {N}_{\varSigma (e)}\), it follows \(\mathcal {N}_{\varSigma (e)} \,\models \, B \phi \). Notice that, by virtue of this condition, \(\mathcal {N}_{\varSigma (e)}\) satisfies Reinhardt’s schema. To complete the proof, it remains to show that \(\mathcal {N}_{\varSigma (e)}\) satisfies B3, which is not included in \(\varSigma (e)\), i.e., \(\mathcal {N}_{\varSigma (e)} \,\models \, B \phi \rightarrow \phi \). Supposing \(\mathcal {N}_{\varSigma (e)} \,\models \, B \phi [s]\) for some s, then \(\varSigma (e) \,\models \, \phi (x \mid \overline{s(x)})\) and, since \(\mathcal {N}_{\varSigma (e)} \,\models \, \varSigma (e)\), we derive \(\mathcal {N}_{\varSigma (e)} \,\models \, \phi (x \mid \overline{s(x)})\).
Summarizing, we have described a recursively enumerable set of sentences (including EA mod factivity and Reinhardt’s schema) that turns out to be an entity, which represents the result expressed by Theorem 5.
In the framework of such a machine, we show a result related to a specific case. Consider \(\phi (x) = (x \in W_x)\) and \(x = e\). Thus from:
we derive:
and:
which expresses a limited form of knowledge of soundness allowed in EA mod factivity. More precisely, we have a specific function \(\phi \) for which the related machine knows its own code and knows to be sound with respect to a specific input x. We notice that, by definition, \(\phi \) turns out to represent an instance of an interpreter functionFootnote 5 and the specific input x is the index of the machine itself. Therefore, by following the same intuitions derived from Reinhardt and Carlson theorems, “If I am a universal TM knowing my own code, then I know the soundness of the computation provided when I am fed with my own code”. By virtue of the previous results and according to Alexander’s dichotomy, knowledge about other TMs is much more limited. As a consequence, in general a universal TM knowing its own code cannot know the soundness of what it proves when interpreting other TMs. On the other hand, if a (universal) TM can prove the soundness of its knowledge, then it cannot know its own code.
In our opinion, this is an interesting enhancement of the tradeoff result provided by Alexander representing an additional formal element for the analysis of the Gödelian Arguments.
4 Conclusion
Historically, the idea of a provability logic is first discussed by Gödel [13, 14] with the aim of defining a formal semantics for intuitionistic truth [36]. Gödel’s calculus is based on propositional logic and on the modal operator \(\Box \), and is basically equivalent to S4 [22]. The resulting notion of provability shall not be confused with formal deducibility for theories including PA, as such a correspondence leads to a contradiction [14]. Following Gödel’s attempt, several approaches have been proposed either to define axiom systems for formal deducibility, or to find an exact provability semantics for S4-like modal systems. For a comprehensive survey, we refer, e.g., to [4].
In this setting, the theory of knowing machines offers a proof-theoretic framework to reason about the notions of intuitive provability and consistency of TMs. In practice, the extended results show precisely the relation between self-awareness of soundness and of own code in the setting of knowing machines, and show some compatibility with philosophical arguments like the following suggestions due to Gödel himself [38]:
On the other hand, on the basis of what has been proved so far, it remains possible that there may exist (and even be empirically discoverable) a theorem proving machine which in fact is equivalent to mathematical intuition, but cannot be proved to be so, nor even be proved to yield only correct theorems of finitary number theory.
The results provided in EA are obtained by following formal lines of reasoning even if starting from the definition of an epistemic notion of intuitive provability. In fact, on one hand, it is worth noticing that the modal operator B necessitates an atomic treatment of formulas of the form \(B \phi \) and allowing only for an axiomatic representation of its properties. Hence, the lack of a precise model-theoretic semantics represents a weakness. However, on the other hand, it is also worth observing that all the proofs of the results provided by Reinhardt, Carlson, and ourselves derive from the formal application of deductive reasoning and proof theoretic techniques. The unique exception is given by Theorem 5, which relies on the application of the Church-Turing Thesis (see, as an example, [33] for the informal aspects of practical uses of the Church-Turing Thesis).
Even in the setting of EA as defined by Shapiro [34], the consistency of epistemic variants of Myhill’s version of the Church-Turing Thesis [28] can be demonstrated [11, 16, 20]. Such variants are captured by the following informal statement: if it is intuitively provable that for each x there exists y such that it holds that \(\phi (x,y)\) can be proved, then \(\phi \) determines a total recursive function. This is analogous to the Turing Thesis discussed in this paper and is independent from the formalization of Carlson’s schema, which represents the strongest mechanistic position demonstrated in the framework defined by Reinhardt.
The abstractions behind the notion of intuitive provability, which cover all the aspects related to space and time constraints [31], do not allow for reasoning about the relation between knowability and complexity. As future work, it would be interesting to investigate such a relation, in order to formalize what informally stated, e.g., by Benacerraf [5]:
It seems to be consistent with all this that I am indeed a Turing machine, but one with such a complex machine table (program) that I cannot ascertain what it is.
Notes
- 1.
We employ the standard nonlogical symbols of PA syntax \(\mathbf {0}, \mathbf {S}, +, \cdot \), and the usual application order on the operators.
- 2.
A variable x occurs free in \(\phi \) if it is not in the scope of any quantifier of \(\phi \) defined over x.
- 3.
In particular, the set of valid wff is recursively enumerable and if \(\varSigma \) is recursively enumerable then so is \(\{\phi \mid \varSigma \,\models \, \phi \}\).
- 4.
Let \(\psi (x)\) be any formula in the language of PA with one free variable x. Then, there exists a sentence \(\sigma \) of which it can be proved that \(\sigma \leftrightarrow \psi (\bar{\sigma })\).
- 5.
Given any gödelization of functions, an interpreter \(f_u\) is a function mimicking the behavior of any other function, i.e., \(f_u(x,y) = f_x(y)\). As an example, the universal TM is an interpreter. We recall that interpreters represent a classical tool in computability theory and play a fundamental role for programming languages.
References
Aldini, A., Fano, V., Graziani, P.: A note on knowing machines. In: Gadducci, F., Tavosanis, M. (eds.) Preliminary Proceedings of the 3rd International Conferene on the History and Philosophy of Computing (HaPoC 2105), pp. 15–17. Pisa University Press (2015)
Alexander, S.: The theory of several knowing machines. Ph.D. thesis, Ohio State University (2013)
Alexander, S.: A machine that knows its own code. Stud. Logica. 102, 567–576 (2014)
Artemov, S.N., Beklemishev, L.D.: Provability logic. In: Gabbay, D.M., Guenthner, F. (eds.) Handbook of Philosophical Logic, vol. 13, 2nd edn, pp. 189–360. Springer, Dordrecht (2004)
Benacerraf, P.: God, the devil and Gödel. Monist 51, 9–32 (1967)
BonJour, L.: The Structure of Empirical Knowledge. Harvard University Press, Cambridge (1985)
Carlson, T.J.: Knowledge, machines, and the consistency of Reinhardt’s strong mechanistic thesis. Ann. Pure Appl. Logic 105, 51–82 (2000)
Chihara, C.S.: On alleged refutations of mechanism using Gödel’s incompleteness results. J. Philos. 69, 507–526 (1971)
Fano, V., Graziani, P.: Mechanical intelligence and Gödelian arguments. In: Agazzi, E. (ed.) The Legacy of A.M. Turing, pp. 48–71. Franco Angeli, Milano (2013)
Feferman, S., et al. (eds.): Kurt Gödel Collected Works, vol. 1. Oxford University Press, New York (1986)
Flagg, R.: Church’s Thesis is consistent with epistemic arithmetic. In: Shapiro, S. (ed.) Intensional Mathematics, pp. 121–172. North-Holland, Amsterdam (1985)
Gödel, K.: Über formal unentscheidbare Sätze der Principia mathematica und verwandter Systeme. Monatshefte für Mathematik und Physik 38, 173–198 (1931). En. Tr. in [10], pp. 144–195
Gödel, K.: Zum intuitionistischen Aussagenkalkül. Akademie der Wissenschaften in Wien, Mathematisch-naturwissenschaftliche Klasse, Anzeiger 69, 65–66 (1932). En. Tr. in [10], pp. 222–225
Gödel, K.: Eine Interpretation des intuitionistischen Aussagenkalküls. Ergebnisse eines mathematischen Kolloquiums 4, 39–40 (1933). En. Tr. in [10], pp. 300–303
Goldman, A.: What is justified belief? In: Pappas, G. (ed.) Justification and Knowledge: New Studies in Epistemology, pp. 1–23. D. Reidel Publishing, Dordrecht (1979)
Goodman, N.D.: Flagg realizability in arithmetic. J. Symb. Logic 51(2), 387–392 (1986)
Hawthorne, J.: Knowledge and Lotteries. Oxford University Press, Oxford (2004)
Hintikka, J.: Knowledge and Belief: An Introduction to the Logic of the Two Notions. Cornell University Press, Ithaca (1962)
Hintikka, J.: Knowing that one knows. Synthese 21, 141–162 (1970)
Horsten, L.: In defense of epistemic arithmetic. Synthese 116(1), 1–25 (1998)
Kleene, S.C.: Mathematical Logic. Wiley, New York (1967)
Lewis, C.I., Langford, C.H.: Symbolic Logic. Dover, New York (1932)
Löb, M.H.: Solution of a problem of Henkin. J. Symb. Logic 20, 115–118 (1955)
Lucas, J.R.: Minds, machine and Gödel. Philosophy 36, 112–127 (1961)
Lucas, J.R.: Satan stultified: a rejoinder to Paul Benacerraf. Monist 52, 145–158 (1968)
Montague, R.: Syntactical treatments of modality. Acta Philosophica Fennica 16, 153–167 (1963)
Myhill, J.: Some remarks on the notion of proof. J. Philos. 57, 463–471 (1960)
Myhill, J.: Intensional set theory. In: Shapiro, S. (ed.) Intensional Mathematics, pp. 47–62. North-Holland, Amsterdam (1985)
Penrose, R.: Beyond the doubting shadow. Psyche 2–1, 89–129 (1996)
Reinhardt, W.: The consistency of a variant of Church’s Thesis with an axiomatic theory of an epistemic notation. In: Proceedings of the 5th Latin American Symposium on Mathematical Logic, Revista Colombiana de Matematicas, vol. XIX, pp. 177–200 (1981)
Reinhardt, W.: Absolute versions of incompleteness theorems. Noûs 19(3), 317–346 (1985)
Reinhardt, W.: Epistemic theories and the interpretation of Gödel’s incompleteness theorems. J. Philos. Logic 15, 427–474 (1986)
San Mauro, L.: The informal side of computability: Church-Turing Thesis, in practice. In: Gadducci, F., Tavosanis, M. (eds.) Preliminary Proceedings of the 3rd International Conference on the History and Philosophy of Computing (HaPoC 2105), pp. 83–84. Pisa University Press (2015)
Shapiro, S.: Epistemic and intuitionistic arithmetic. In: Shapiro, S. (ed.) Intentional Mathematics, pp. 11–46. North-Holland, Amsterdam (1985)
Shapiro, S.: Incompleteness, mechanism, and optimism. Bull. Symb. Logic 4, 273–302 (1998)
Troelstra, A.S., van Dalen, D.: Constructivism in Mathematics, vols. 1 and 2. North-Holland, Amsterdam (1988)
Turing, A.: Computing machinery and intelligence. Mind 59, 433–460 (1950)
Wang, H.: From Mathematics to Philosophy. Humanities Press, New York (1974)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 IFIP International Federation for Information Processing
About this paper
Cite this paper
Aldini, A., Fano, V., Graziani, P. (2016). Theory of Knowing Machines: Revisiting Gödel and the Mechanistic Thesis. In: Gadducci, F., Tavosanis, M. (eds) History and Philosophy of Computing. HaPoC 2015. IFIP Advances in Information and Communication Technology, vol 487. Springer, Cham. https://doi.org/10.1007/978-3-319-47286-7_4
Download citation
DOI: https://doi.org/10.1007/978-3-319-47286-7_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-47285-0
Online ISBN: 978-3-319-47286-7
eBook Packages: Computer ScienceComputer Science (R0)