See H. Wang, Reflections on Kurt Gödel (1987); E. Nagel et al., Gödel's Proof (rev. ed. 2001); R. Goldstein, The Proof and Paradox of Kurt Gödel (2005); P. Yourgrau, A World without Time: The Forgotten Legacy of Gödel and Einstein (2005).
St. Anselm's ontological argument, in its most succinct form, is as follows: "God, by definition, is that than which a greater cannot be thought. God exists in the understanding. If God exists in the understanding, we could imagine Him to be greater by existing in reality. Therefore, God must exist." A more elaborate version was given by Gottfried Leibniz; this is the version that Gödel studied and attempted to clarify with his ontological argument.
The first version of the ontological proof in Gödel's papers is dated "around 1941". Gödel is not known to have told anyone about his work on the proof until 1970, when he thought he was dying. In February, he allowed Dana Scott to copy out a version of the proof, which circulated privately. In August 1970, Gödel told Oskar Morgenstern that he was "satisfied" with the proof, but Morgenstern recorded in his diary entry for 29 August 1970 that Gödel would not publish because he was afraid that others might think
that he actually believes in God, whereas he is only engaged in a logical investigation (that is, in showing that such a proof with classical assumptions (completeness, etc.) correspondingly axiomatized, is possible).Gödel died in 1978. Another version, slightly different from Scott's, was found in his papers. It was finally published, together with Scott's version, in 1987.
Morgenstern's diary is an important and usually reliable source for Gödel's later years, but the implication of the August 1970 diary entry -- that Gödel did not believe in God -- is not consistent with the other evidence. In letters to his mother, who was not a churchgoer and had raised Kurt and his brother as freethinkers, Gödel argued at length for a belief in an afterlife. He did the same in an interview with a skeptical Hao Wang, who says that
I expressed my doubts as G spoke [...] Gödel smiled as he replied to my questions, obviously aware that his answers were not convincing me.Wang reports that Gödel's wife, Adele, two days after Gödel's death, told Wang that "Gödel, although he did not go to church, was religious and read the Bible in church every Sunday morning. In an unmailed answer to a questionnaire, Gödel described his religion as "baptized Lutheran (but not member of any religious congregation). My belief is theistic, not pantheistic, following Leibniz rather than Spinoza.
Gödel left a fourteen point outline of his philosophical beliefs in his papers. Points relevant to the ontological proof include
4. There are other worlds and rational beings of a different and higher kind.
5. The world in which we live is not the only one in which we shall live or have lived.
13. There is a scientific (exact) philosophy and theology, which deals with concepts of the highest abstractness; and this is also most highly fruitful for science.
14. Religions are, for the most part, bad -- but religion is not.
A truth is necessary if its negation entails a contradiction, such as 2 + 2 = 4; by contrast, a contingent truth just happens to be the case, for instance "more than half of the earth is covered by water". In the most common interpretation of modal logic, one considers "all possible worlds". If a statement is true in all possible worlds, then it is a necessary truth. If a statement happens to be true in our world, but is not true in all other worlds, then it is a contingent truth. A statement that is true in some world (not necessarily our own) is called a possible truth.
A property assigns to each object, in every possible world, a truth value (either true or false). Note that not all worlds have the same objects: some objects exist in some worlds and not in others. A property has only to assign truth values to those objects that exist in a particular world. As an example, consider the property
and consider the object
In our world, P(s) is true because my shirt happens to be pink; in some other world, P(s) is false, while in still some other world, P(s) wouldn't make sense because my shirt doesn't exist there.
We say that the property P entails the property Q, if any object in any world that has the property P in that world also has the property Q in that same world. For example, the property
entails the property
We then assume that the following three conditions hold for all positive properties (which can be summarized by saying "the positive properties form an ultrafilter"):
Finally, we assume:
Now we define a new property G: if x is an object in some possible world, then G(x) is true if and only if P(x) is true in that same world for all positive properties P. G is called the "God-like" property. An object x that has the God-like property is called God.
Then, Gödel defined essences: if x is an object in some world, then the property P is said to be an essence of x if P(x) is true in that world and if P entails all other properties that x has in that world. We also say that x necessarily exists if for every essence P the following is true: in every possible world, there is an element y with P(y).
Since necessary existence is positive, it must follow from Godlikeness. Moreover, Godlikeness is an essence of God, since it entails all positive properties, and any nonpositive property is the negation of some positive property, so God cannot have any nonpositive properties. Since any Godlike object is necessarily existent, it follows that any Godlike object in one world is a Godlike object in all worlds, by the definition of necessary existence. Given the existence of a Godlike object in one world, proven above, we may conclude that there is a Godlike object in every possible world, as required.
From these hypotheses, it is also possible to prove that there is only one God in each world: by identity of indiscernibles, no two distinct objects can have precisely the same properties, and so there can only be one object in each world that possesses property G. Gödel did not attempt to do so however, as he purposely limited his proof to the issue of existence, rather than uniqueness. This was more to preserve the logical precision of the argument than due to a penchant for polytheism. This uniqueness proof will only work if one supposes that the positiveness of a property is independent of the object to which it is applied, a claim which some have considered to be suspect.
In Anderson's system, Axioms 1, 2, and 5 above are unchanged; however the other axioms are replaced with:
These axioms leave open the possibility that a Godlike object will possess some non-positive properties, provided that these properties are contingent rather than necessary.