Proof By Contradiction
   HOME

TheInfoList



OR:

In
logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
, proof by contradiction is a form of
proof Proof most often refers to: * Proof (truth), argument or sufficient evidence for the truth of a proposition * Alcohol proof, a measure of an alcoholic drink's strength Proof may also refer to: Mathematics and formal logic * Formal proof, a co ...
that establishes the
truth Truth or verity is the Property (philosophy), property of being in accord with fact or reality.Merriam-Webster's Online Dictionarytruth, 2005 In everyday language, it is typically ascribed to things that aim to represent reality or otherwise cor ...
or the validity of a
proposition A proposition is a statement that can be either true or false. It is a central concept in the philosophy of language, semantics, logic, and related fields. Propositions are the object s denoted by declarative sentences; for example, "The sky ...
by showing that assuming the proposition to be false leads to a
contradiction In traditional logic, a contradiction involves a proposition conflicting either with itself or established fact. It is often used as a tool to detect disingenuous beliefs and bias. Illustrating a general tendency in applied logic, Aristotle's ...
. Although it is quite freely used in mathematical proofs, not every school of mathematical thought accepts this kind of nonconstructive proof as universally valid. More broadly, proof by contradiction is any form of argument that establishes a statement by arriving at a contradiction, even when the initial assumption is not the negation of the statement to be proved. In this general sense, proof by contradiction is also known as indirect proof, proof by assuming the opposite, and ''reductio ad impossibile''. A mathematical proof employing proof by contradiction usually proceeds as follows: #The proposition to be proved is ''P''. #We assume ''P'' to be false, i.e., we assume ''¬P''. #It is then shown that ''¬P'' implies falsehood. This is typically accomplished by deriving two mutually contradictory assertions, ''Q'' and ''¬Q'', and appealing to the law of noncontradiction. #Since assuming ''P'' to be false leads to a contradiction, it is concluded that ''P'' is in fact true. An important special case is the
existence proof In mathematics, a constructive proof is a method of proof that demonstrates the existence of a mathematical object by creating or providing a method for creating the object. This is in contrast to a non-constructive proof (also known as an existen ...
by contradiction: in order to demonstrate that an object with a given property exists, we derive a contradiction from the assumption that all objects satisfy the negation of the property.


Formalization

The principle may be formally expressed as the
propositional formula In propositional logic, a propositional formula is a type of syntactic formula which is well formed. If the values of all variables in a propositional formula are given, it determines a unique truth value. A propositional formula may also be call ...
¬¬''P'' ⇒ ''P'', equivalently (¬''P'' ⇒ ⊥) ⇒ ''P'', which reads: "If assuming ''P'' to be false implies falsehood, then ''P'' is true." In
natural deduction In logic and proof theory, natural deduction is a kind of proof calculus in which logical reasoning is expressed by inference rules closely related to the "natural" way of reasoning. This contrasts with Hilbert-style systems, which instead use ...
the principle takes the form of the
rule of inference Rules of inference are ways of deriving conclusions from premises. They are integral parts of formal logic, serving as norms of the Logical form, logical structure of Validity (logic), valid arguments. If an argument with true premises follows a ...
: \cfrac which reads: "If \lnot\lnot P is proved, then P may be concluded." In
sequent calculus In mathematical logic, sequent calculus is a style of formal logical argumentation in which every line of a proof is a conditional tautology (called a sequent by Gerhard Gentzen) instead of an unconditional tautology. Each conditional tautolog ...
the principle is expressed by the sequent : \Gamma, \lnot\lnot P \vdash P, \Delta which reads: "Hypotheses \Gamma ''and'' \lnot\lnot P entail the conclusion P ''or'' \Delta."


Justification

In
classical logic Classical logic (or standard logic) or Frege–Russell logic is the intensively studied and most widely used class of deductive logic. Classical logic has had much influence on analytic philosophy. Characteristics Each logical system in this c ...
the principle may be justified by the examination of the
truth table A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, Boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arg ...
of the proposition ''¬¬P ⇒ P'', which demonstrates it to be a tautology: Another way to justify the principle is to derive it from the
law of the excluded middle In logic, the law of excluded middle or the principle of excluded middle states that for every proposition, either this proposition or its negation is true. It is one of the three laws of thought, along with the law of noncontradiction and th ...
, as follows. We assume ''¬¬P'' and seek to prove ''P''. By the law of excluded middle ''P'' either holds or it does not: # if ''P'' holds, then of course ''P'' holds. # if ''¬P'' holds, then we derive falsehood by applying the law of noncontradiction to ''¬P'' and ''¬¬P'', after which the
principle of explosion In classical logic, intuitionistic logic, and similar logical systems, the principle of explosion is the law according to which any statement can be proven from a contradiction. That is, from a contradiction, any proposition (including its n ...
allows us to conclude ''P''. In either case, we established ''P''. It turns out that, conversely, proof by contradiction can be used to derive the law of excluded middle. In classical sequent calculus LK proof by contradiction is derivable from the inference rules for negation: : \cfrac \; (L)


Relationship with other proof techniques


Refutation by contradiction

Proof by contradiction is similar to refutation by contradiction, also known as proof of negation, which states that ''¬P'' is proved as follows: # The proposition to be proved is ''¬P''. # Assume ''P''. # Derive falsehood. # Conclude ''¬P''. In contrast, proof by contradiction proceeds as follows: # The proposition to be proved is ''P''. # Assume ''¬P''. # Derive falsehood. # Conclude ''P''. Formally these are not the same, as refutation by contradiction applies only when the proposition to be proved is negated, whereas proof by contradiction may be applied to any proposition whatsoever. In classical logic, where P and \neg\neg P may be freely interchanged, the distinction is largely obscured. Thus in mathematical practice, both principles are referred to as "proof by contradiction".


Law of the excluded middle

Proof by contradiction is equivalent to the
law of the excluded middle In logic, the law of excluded middle or the principle of excluded middle states that for every proposition, either this proposition or its negation is true. It is one of the three laws of thought, along with the law of noncontradiction and th ...
, first formulated by
Aristotle Aristotle (; 384–322 BC) was an Ancient Greek philosophy, Ancient Greek philosopher and polymath. His writings cover a broad range of subjects spanning the natural sciences, philosophy, linguistics, economics, politics, psychology, a ...
, which states that either an assertion or its negation is true, ''P ∨ ¬P''.


Law of non-contradiction

The law of noncontradiction was first stated as a metaphysical principle by
Aristotle Aristotle (; 384–322 BC) was an Ancient Greek philosophy, Ancient Greek philosopher and polymath. His writings cover a broad range of subjects spanning the natural sciences, philosophy, linguistics, economics, politics, psychology, a ...
. It posits that a proposition and its negation cannot both be true, or equivalently, that a proposition cannot be both true and false. Formally the law of non-contradiction is written as ''¬(P ∧ ¬P)'' and read as "it is not the case that a proposition is both true and false". The law of non-contradiction neither follows nor is implied by the principle of Proof by contradiction. The laws of excluded middle and non-contradiction together mean that exactly one of ''P'' and ''¬P'' is true.


Proof by contradiction in intuitionistic logic

In
intuitionistic logic Intuitionistic logic, sometimes more generally called constructive logic, refers to systems of symbolic logic that differ from the systems used for classical logic by more closely mirroring the notion of constructive proof. In particular, systems ...
proof by contradiction is not generally valid, although some particular instances can be derived. In contrast, proof of negation and principle of noncontradiction are both intuitionistically valid.
Brouwer–Heyting–Kolmogorov interpretation In mathematical logic, the Brouwer–Heyting–Kolmogorov interpretation, or BHK interpretation, is an explanation of the meaning of proof in intuitionistic logic, proposed by L. E. J. Brouwer and Arend Heyting, and independently by Andrey Kolmogor ...
of proof by contradiction gives the following intuitionistic validity condition: If we take "method" to mean
algorithm In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
, then the condition is not acceptable, as it would allow us to solve the
Halting problem In computability theory (computer science), computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program and an input, whether the program will finish running, or continue to run for ...
. To see how, consider the statement ''H(M)'' stating "
Turing machine A Turing machine is a mathematical model of computation describing an abstract machine that manipulates symbols on a strip of tape according to a table of rules. Despite the model's simplicity, it is capable of implementing any computer algori ...
''M'' halts or does not halt". Its negation ''¬H(M)'' states that "''M'' neither halts nor does not halt", which is false by the law of noncontradiction (which is intuitionistically valid). If proof by contradiction were intuitionistically valid, we would obtain an algorithm for deciding whether an arbitrary Turing machine ''M'' halts, thereby violating the (intuitionistically valid) proof of non-solvability of the
Halting problem In computability theory (computer science), computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program and an input, whether the program will finish running, or continue to run for ...
. A proposition ''P'' which satisfies \lnot\lnot P \Rightarrow P is known as a ''¬¬-stable proposition''. Thus in intuitionistic logic proof by contradiction is not universally valid, but can only be applied to the ¬¬-stable propositions. An instance of such a proposition is a decidable one, i.e., satisfying P \lor \lnot P. Indeed, the above proof that the law of excluded middle implies proof by contradiction can be repurposed to show that a decidable proposition is ¬¬-stable. A typical example of a decidable proposition is a statement that can be checked by direct computation, such as "n is prime" or "a divides b".


Examples of proofs by contradiction


Euclid's Elements

An early occurrence of proof by contradiction can be found in
Euclid's Elements The ''Elements'' ( ) is a mathematics, mathematical treatise written 300 BC by the Ancient Greek mathematics, Ancient Greek mathematician Euclid. ''Elements'' is the oldest extant large-scale deductive treatment of mathematics. Drawing on the w ...
, Book 1, Proposition 6: : If in a triangle two angles equal one another, then the sides opposite the equal angles also equal one another. The proof proceeds by assuming that the opposite sides are not equal, and derives a contradiction. Likewise, many other proofs following in Euclid's Elements also use the same proof strategy, such as in Book 7, Proposition 33: : If the side of the hexagon and that of the decagon inscribed in the same circle are added together, then the whole straight line has been cut in extreme and mean ratio, and its greater segment is the side of the hexagon.


Hilbert's Nullstellensatz

An influential proof by contradiction was given by
David Hilbert David Hilbert (; ; 23 January 1862 – 14 February 1943) was a German mathematician and philosopher of mathematics and one of the most influential mathematicians of his time. Hilbert discovered and developed a broad range of fundamental idea ...
. His Nullstellensatz states: : If f_1,\ldots,f_k are
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
s in indeterminates with
complex Complex commonly refers to: * Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe ** Complex system, a system composed of many components which may interact with each ...
coefficients, which have no common complex zeros, then there are polynomials g_1,\ldots, g_k such that f_1g_1+\ldots +f_kg_k=1. Hilbert proved the statement by assuming that there are no such polynomials g_1, \ldots, g_k and derived a contradiction.


Infinitude of primes

Euclid's theorem Euclid's theorem is a fundamental statement in number theory that asserts that there are Infinite set, infinitely many prime number, prime numbers. It was first proven by Euclid in his work ''Euclid's Elements, Elements''. There are several proof ...
states that there are infinitely many primes. In
Euclid's Elements The ''Elements'' ( ) is a mathematics, mathematical treatise written 300 BC by the Ancient Greek mathematics, Ancient Greek mathematician Euclid. ''Elements'' is the oldest extant large-scale deductive treatment of mathematics. Drawing on the w ...
the theorem is stated in Book IX, Proposition 20: : Prime numbers are more than any assigned multitude of prime numbers. Depending on how we formally write the above statement, the usual proof takes either the form of a proof by contradiction or a refutation by contradiction. We present here the former, see below how the proof is done as refutation by contradiction. If we formally express Euclid's theorem as saying that for every natural number n there is a prime bigger than it, then we employ proof by contradiction, as follows. Given any number n, we seek to prove that there is a prime larger than n. Suppose to the contrary that no such ''p'' exists (an application of proof by contradiction). Then all primes are smaller than or equal to n, and we may form the list p_1, \ldots, p_k of them all. Let P = p_1 \cdot \ldots \cdot p_k be the product of all primes and Q = P + 1. Because Q is larger than all prime numbers it is not prime, hence it must be divisible by one of them, say p_i. Now both P and Q are divisible by p_i, hence so is their difference Q - P = 1, but this cannot be because 1 is not divisible by any primes. Hence we have a contradiction and so there is a prime number bigger than n.


Examples of refutations by contradiction

The following examples are commonly referred to as proofs by contradiction, but formally employ refutation by contradiction (and therefore are intuitionistically valid).


Infinitude of primes

Let us take a second look at
Euclid's theorem Euclid's theorem is a fundamental statement in number theory that asserts that there are Infinite set, infinitely many prime number, prime numbers. It was first proven by Euclid in his work ''Euclid's Elements, Elements''. There are several proof ...
– Book IX, Proposition 20: : Prime numbers are more than any assigned multitude of prime numbers. We may read the statement as saying that for every finite list of primes, there is another prime not on that list, which is arguably closer to and in the same spirit as Euclid's original formulation. In this case Euclid's proof applies refutation by contradiction at one step, as follows. Given any finite list of prime numbers p_1, \ldots, p_n, it will be shown that at least one additional prime number not in this list exists. Let P = p_1 \cdot p_2 \cdots p_n be the product of all the listed primes and p a
prime factor A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
of P + 1, possibly P + 1 itself. We claim that p is not in the given list of primes. Suppose to the contrary that it were (an application of refutation by contradiction). Then p would divide both P and P + 1, therefore also their difference, which is 1. This gives a contradiction, since no prime number divides 1.


Irrationality of the square root of 2

The classic proof that the square root of 2 is irrational is a refutation by contradiction. Indeed, we set out to prove the negation ''¬ ∃ a, b ∈ \mathbb . a/b = '' by assuming that there exist natural numbers ''a'' and ''b'' whose ratio is the square root of two, and derive a contradiction.


Proof by infinite descent

Proof by infinite descent In mathematics, a proof by infinite descent, also known as Fermat's method of descent, is a particular kind of proof by contradiction used to show that a statement cannot possibly hold for any number, by showing that if the statement were to hold f ...
is a method of proof whereby a smallest object with desired property is shown not to exist as follows: * Assume that there is a smallest object with the desired property. * Demonstrate that an even smaller object with the desired property exists, thereby deriving a contradiction. Such a proof is again a refutation by contradiction. A typical example is the proof of the proposition "there is no smallest positive rational number": assume there is a smallest positive rational number ''q'' and derive a contradiction by observing that is even smaller than ''q'' and still positive.


Russell's paradox

Russell's paradox In mathematical logic, Russell's paradox (also known as Russell's antinomy) is a set-theoretic paradox published by the British philosopher and mathematician, Bertrand Russell, in 1901. Russell's paradox shows that every set theory that contains ...
, stated set-theoretically as "there is no set whose elements are precisely those sets that do not contain themselves", is a negated statement whose usual proof is a refutation by contradiction.


Notation

Proofs by contradiction sometimes end with the word "Contradiction!".
Isaac Barrow Isaac Barrow (October 1630 – 4 May 1677) was an English Christian theologian and mathematician who is generally given credit for his early role in the development of infinitesimal calculus; in particular, for proof of the fundamental theorem ...
and Baermann used the notation Q.E.A., for "''quod est absurdum''" ("which is absurd"), along the lines of
Q.E.D. Q.E.D. or QED is an initialism of the List of Latin phrases (full), Latin phrase , meaning "that which was to be demonstrated". Literally, it states "what was to be shown". Traditionally, the abbreviation is placed at the end of Mathematical proof ...
, but this notation is rarely used today. A graphical symbol sometimes used for contradictions is a downwards zigzag arrow "lightning" symbol (U+21AF: ↯), for example in Davey and Priestley. Others sometimes used include a pair of opposing arrows (as \rightarrow\!\leftarrow or \Rightarrow\!\Leftarrow), struck-out arrows (\nleftrightarrow), a stylized form of hash (such as U+2A33: ⨳), or the "reference mark" (U+203B: ※), or \times\!\!\!\!\times.


Hardy's view

G. H. Hardy Godfrey Harold Hardy (7 February 1877 – 1 December 1947) was an English mathematician, known for his achievements in number theory and mathematical analysis. In biology, he is known for the Hardy–Weinberg principle, a basic principle of pop ...
described proof by contradiction as "one of a mathematician's finest weapons", saying "It is a far finer gambit than any chess gambit: a chess player may offer the sacrifice of a pawn or even a piece, but a mathematician offers the game."
G. H. Hardy Godfrey Harold Hardy (7 February 1877 – 1 December 1947) was an English mathematician, known for his achievements in number theory and mathematical analysis. In biology, he is known for the Hardy–Weinberg principle, a basic principle of pop ...
, '' A Mathematician's Apology; Cambridge University Press, 1992. .
PDF p.19
.


Automated theorem proving

In
automated theorem proving Automated theorem proving (also known as ATP or automated deduction) is a subfield of automated reasoning and mathematical logic dealing with proving mathematical theorems by computer programs. Automated reasoning over mathematical proof was a majo ...
the method of resolution is based on proof by contradiction. That is, in order to show that a given statement is entailed by given hypotheses, the automated prover assumes the hypotheses and the negation of the statement, and attempts to derive a contradiction.


See also

*
Law of excluded middle In logic, the law of excluded middle or the principle of excluded middle states that for every proposition, either this proposition or its negation is true. It is one of the three laws of thought, along with the law of noncontradiction and t ...
* Law of noncontradiction *
Proof by exhaustion Proof by exhaustion, also known as proof by cases, proof by case analysis, complete induction or the brute force method, is a method of mathematical proof in which the statement to be proved is split into a finite number of cases or sets of equi ...
*
Proof by infinite descent In mathematics, a proof by infinite descent, also known as Fermat's method of descent, is a particular kind of proof by contradiction used to show that a statement cannot possibly hold for any number, by showing that if the statement were to hold f ...
*
Modus tollens In propositional logic, ''modus tollens'' () (MT), also known as ''modus tollendo tollens'' (Latin for "mode that by denying denies") and denying the consequent, is a deductive argument form and a rule of inference. ''Modus tollens'' is a m ...
*
Reductio ad absurdum In logic, (Latin for "reduction to absurdity"), also known as (Latin for "argument to absurdity") or ''apagogical argument'', is the form of argument that attempts to establish a claim by showing that the opposite scenario would lead to absur ...


References


Further reading and external links

*
Proof by Contradiction
from Larry W. Cusick'


Reductio ad Absurdum
Internet Encyclopedia of Philosophy; ISSN 2161-0002 {{DEFAULTSORT:Proof By Contradiction Mathematical proofs Methods of proof Theorems in propositional logic