The ontological proof for the existence of God (really “proofs” or perhaps “arguments,” as there are various versions) has popped up in the blogs a few times recently: e.g. Ophelia Benson, Josh Rosenau, Jerry Coyne. You’ve probably heard this one; it was most famously formulated by Saint Anselm, and most famously trashed by Immanuel “Existence is not a predicate” Kant. A cartoon version of it would be something like
- God is by definition a perfect being.
- It is more perfect to exist than to not exist.
- Therefore, God exists.
Now, this is a really cartoonish version of the argument — it’s not meant to be taken seriously. This kind of ontological proof is a favorite whipping-argument for atheists, just because it seems so prima facie silly. Just ask Jesus and Mo.

This kind of mockery is a little unfair (although only a little). What’s important to realize is that the ontological proof is perfectly logical — that is, the conclusions follow inevitably from the premises. It’s the premises that are a bit loopy.
It’s instructive and fun to see this in terms of formal logic, especially because the proof requires modal logic — an extension of standard logic that classifies propositions not only as “true” or “false,” but also as “necessarily true/false” and “possibly true/false.” That is, it’s a logic of hypotheticals.
So here is one formalization of the ontological argument, taken from a very nice exposition by Peter Suber. First we have to define some notation to deal with our modalities. We denote possibility and necessity via:

Just given these simple ideas, a few axioms, and a fondness for pushing around abstract symbols, we’re ready to go. Remember that “~” means “not,” a “v” means “or,” and the sideways U means “implies.” Take “p” to be the proposition “something perfect exists,” and we’re off: (more…)