Barbershop paradox


 * This article is about a paradox in the theory of logical conditionals introduced by Lewis Carroll in "A Logical Paradox." For an unrelated paradox of self-reference with a similar name, attributed to Bertrand Russell, see the Barber paradox.

The Barbershop Paradox was proposed by Lewis Carroll in a three-page essay entitled "A Logical Paradox," which appeared in the July 1894 issue of Mind. The name comes from the "ornamental" short story that Carroll uses to illustrate the paradox (although it had appeared several times in more abstract terms in his writing and correspondence before the story was published).

The paradox
Briefly, the story runs as follows: Uncle Joe, Uncle Jim and their nephew are walking to the barber shop. There are three barbers who work in the shop - Allen, Brown, and Carr - but not all of them are always in the shop. Carr is a good barber, and Uncle Jim is keen to be shaved by him. He knows that the shop is open, so at least one of them must be in. He also knows that Allen is a very nervous man, so that he never leaves the house without Brown going with him. Uncle Joe insists that Carr is certain to be in, and then claims that he can prove it logically. Uncle Jim demands the proof. Uncle Joe reasons as follows. Suppose that Carr is out. If Carr is out, then if Allen is also out Brown would have to be in -- since someone must be in the shop for it to be open. However, we know that whenever Allen goes out he takes Brown with him, and thus we know as a general rule that if Allen is out, Brown is out. So if Carr is out then the statements "if Allen is out then Brown is in" and "if Allen is out then Brown is out" would both be true at the same time. Uncle Joe notes that this seems paradoxical; the hypotheticals seem "incompatible" with each other. So, by contradiction, Carr must logically be in.

Simplification
Carroll wrote this story to illustrate a controversy in the field of logic that was raging at the time. His vocabulary and writing style can easily add to the confusion of the core issue for modern readers.

Notation
When reading the original it may help to keep the following in mind: Symbols can be used to greatly simplify logical statements such as those inherent in this story:
 * What Carroll called "hypotheticals" modern logicians call "conditionals."
 * Whereas Uncle Joe concludes his proof reductio ad absurdum, modern mathematicians would more commonly claim "proof by contradiction."
 * What Carroll calls the prostasis of a conditional is now known as the antecedent, and similarly the apodosis is now called the consequent.

Note: X &rArr; Y (also known as 'Implication') can be read many ways, from "X is necessary for Y" to "Y follows from X." See also Table of mathematical symbols.

Restatement
To aid in restating Carroll's story more simply, we will take the following atomic statements: So, for instance (&not;A &and; B) represents "Allen is out and Brown is in" Uncle Jim gives us our two axioms:
 * A = Allen is in the shop
 * B = Brown is in
 * C = Carr is in
 * 1) There is at least one barber in the shop now
 * 2) Allen goes nowhere without Brown

Uncle Joe presents a proof:

Uncle Joe basically makes the argument that (&not;A &rArr; B) and (&not;A &rArr; &not;B) are contradictory, saying that the same antecedent cannot result in two different consequents. This purported contradiction is the crux of Joe's "proof." Carroll presents this intuition defying result as a paradox, hoping that the contemporary ambiguity would be resolved.

Discussion
In modern logic theory this scenario is not a paradox. The law of implication reconciles what Uncle Joe claims are incompatible hypotheticals. This law states that "if X then Y" is logically identical to "either X is false, or Y is true" (&not;X &or; Y). For example, given the statement "if you press the button then the light comes on", it must be true at any given moment that either you have not pressed the button, or the light is on.

Simplifying to Axiom 1
Applying the law of implication to the offending conditionals shows that rather than contradicting each other one simply reiterates the fact that since the shop is open one or more of Allen, Brown or Carr is in and the other puts very little restriction on who can or cannot be in shop.

To see this let's attack Jim's large "contradictory" result, mainly by applying the law of implication repeatedly. First let's break down one of the two offending conditionals: Substituting this into Which yields, with continued application of the law of implication, And finally, (on the right we are distributing over the parentheses)

So the two statements which become true at once are: "One or more of Allen, Brown or Carr is in", which is simply Axiom 1, and "Carr is in or Allen is in or Brown is out". Clearly one way that both of these statements can become true at once in the case where Allen is in (perhaps Brown met Allen at Allen's house, they walked together to the shop but at some point Brown left the shop, leaving Allen 'stranded'). Another way to describe how (X &rArr; Y) &hArr; (&not;X &or; Y) resolves this into a valid set of statements is to rephrase Jim's statement that "If Allen is also out..." into "If Carr is out and Allen is out then Brown is in" ( (&not;C &and; &not;A) &rArr; B).

Showing Conditionals Compatible
It should be noted that the two conditionals are not logical opposites: to prove by contradiction Jim needed to show &not;C &rArr; (Z &and; &not;Z), where Z happens to be a conditional. The opposite of (A &rArr; B) is &not;(A &rArr; B), which, using DeMorgan's Law, resolves to (A &and; &not;B), which is not at all the same thing as (&not;A &or; &not;B), which is what A &rArr; &not;B reduces to.

This confusion about the "compatibility" of these two conditionals was foreseen by Carroll, who includes a mention of it at the end of the story. He attempts to clarify the issue by arguing that the protasis and apodosis of the implication "If Carr is in..." are "incorrectly divided". However, application of the Law of Implication removes the "If..." entirely (reducing to disjunctions), so no protasis and apodosis exist and no counter-argument is needed.