Contradictions and the Principle of Explosion

14 Feb 2024

[ logic  Bertrand Russell  philosophy  ]

That logic should be free from contradiction is probably its most fundamental principle, dating back to Aristotle. As described last time, the emergence of a contradiction in set theory – in the form of Russell’s paradox – was catastrophic. Few question the claim that no statement can be both true and false at the same time. But the law of contradiction is widely associated with something else, the principle of explosion: ex contradictione quodlibet, a contradiction implies everything. This principle has been disputed. One can formulate predicate logic without it: minimal logic.
And allegedly a student challenged Bertrand Russell by saying “suppose 1=0; prove that you are the Pope”. Russell is said to have replied that if 1=0 then 2=1 and therefore the 2-element set consisting of himself and the Pope actually contains only one element. It’s an amusing tale, but is the argument rigorous?

Origins

A 12th century Parisian logician named William of Soissons is said to have been the first to derive the principle of explosion. There is a simple logical proof of an arbitrary conclusion $Q$ from the two assumptions $P$ and $\neg P$. For if we know $P$ then surely $P\lor Q$ follows by the meaning of logical OR. So either $P$ or $Q$ holds, but the former is impossible by $\neg P$. Hence, we have derived $Q$.

Unfortunately, this argument cannot be carried out in a typical natural deduction calculus. The proof turns out to rely on the principle of explosion itself, which is built into most formalisms: the reasoning would be circular. I think the informal version of the proof is pretty convincing, but we can look for other evidence. (And yes, evidence is what we should be looking for when trying to justify a principle too fundamental to be proved.) In many specific contexts, a contradicting fact leads to an explosion by calculation.

The explosion in arithmetic

As we saw in the argument attributed to Russell, 1=0 in an arithmetic setting allows other identities to be derived by adding or multiplying the two sides by a constant. It’s trivial to obtain $m=n$ for all pairs of numbers. Conversely, the assumption $m=n$ can be transformed by subtraction and division into 1=0. On the other hand, it is possible postulate something like 5=0 if the other axioms are weak enough, and then you have simply supplied the axioms for a version of modular arithmetic.

The explosion in the λ-calculus

The λ-calculus is an extremely simple formalism in which a great many computational notions can be encoded. Familiar data types such as the Booleans, natural numbers, integers, lists and trees can be represented, as well as algorithms operating on them. We can even have infinite lists and trees operated on by “lazy” algorithms. The standard representations of true and false are $\lambda x y.x$ and $\lambda x y.y$, respectively. So what happens if we are given that true equals false? Then $M = (\lambda x y.x)MN = (\lambda x y.y)MN = N$. Therefore we can show $M=N$ for any two given λ-terms, $M$ and $N$. The same sort of thing happens given 1=0 and the standard representation of natural numbers, though the details are complicated.1

The explosion in axiomatic set theory

Here things get a little more technical. And with all due respect to Bertrand Russell,
he is not a set, and neither is the Pope. In set theory, 0 is the empty set and 1 is $\{0\}$, which implies $0\in 1$. So 1=0 then we have big problems: $0\in 1$ is both true and false (because nothing can belong to the empty set). And so, for any given set $A$, the set $\{x\in A\mid 0\in 1\}$ equals $A$ if we take $0\in 1$ to be true, but otherwise the resulting set is empty. It follows that $A$ equals the empty set for all $A$, so all sets are equal.

Deriving the explosion in natural deduction logic

The rule of disjunction elimination in natural deduction allows us to derive an arbitrary conclusion $R$ from the following three promises:

The idea behind this rule is that one of $P$ or $Q$ must be true, and therefore, $R$ is derivable using the corresponding premise. The rule incorporates the key idea of natural deduction, namely permission to make specified assumptions locally that are discharged (“paid off”, so to speak) further on.

This rule can obviously be generalised to an $n$-ary disjunction. We may derive $R$ from the following $n+1$ promises:

Obviously, if $n=2$, we get the same rule as before. If $n=1$, it degenerates to a tautology. And what happens if $n=0$? Then the rule says that $R$ follows from the empty disjunction alone. The empty disjunction is falsity.2 If our calculus can derive falsity from $P$ and $\neg P$, then it has the principle of explosion built in.

Final remarks

As promised, in specific formal systems, the principle of explosion arises all by itself. It doesn’t have to be assumed. Taking it as a general logical principle is then simply a form of abstraction.
But it also arises naturally in logical formalisms from the basic principles of natural deduction.

Paraconsistent logics are formal systems in which the impact of a contradiction is contained. I can’t comment on the value of such work to philosophy, but they have also been studied in the context of artificial intelligence. There, the point is that it’s easy for the facts in an inexact real-world situation to be inconsistent, and you don’t want everything to collapse. I would argue however that you should never be using formal logic to reason directly about real-world situations. And indeed, the symbolic/logical tendency that was so prominent in early AI work has pretty much vanished in favour of essentially statistical techniques based on neural networks. There, the problem doesn’t arise because nothing is being proved.

  1. $M = 0(\textbf{K}N)M = 1(\textbf{K}N)M = \textbf{K}NM = N$ 

  2. I hope you can see this: $P_1\lor \cdots \lor P_n$ is true precisely if some $P_i$ is true, $i=1$, …, $n$. If $n=0$ then it must always be false.