Jump to content

Proof by contradiction

From Wikipedia, the free encyclopedia

Inlogic,proof by contradictionis a form ofproofthat establishes thetruthor thevalidityof aproposition,by showing that assuming the proposition to be false leads to acontradiction. Although it is quite freely used in mathematical proofs, not everyschool of mathematical thoughtaccepts this kind ofnonconstructive proofas universally valid.[1]

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 asindirect proof,proof by assuming the opposite,[2]andreductio ad impossibile.[3]

A mathematical proof employing proof by contradiction usually proceeds as follows:

  1. The proposition to be proved isP.
  2. We assumePto be false, i.e., we assume¬P.
  3. It is then shown that¬Pimplies falsehood. This is typically accomplished by deriving two mutually contradictory assertions,Qand¬Q,and appealing to thelaw of noncontradiction.
  4. Since assumingPto be false leads to a contradiction, it is concluded thatPis in fact true.

An important special case is theexistence proofby 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[edit]

The principle may be formally expressed as thepropositional formula¬¬P ⇒ P,equivalently(¬P ⇒ ⊥) ⇒ P,which reads: "If assumingPto be false implies falsehood, thenPis true. "

Innatural deductionthe principle takes the form of therule of inference

which reads: "Ifis proved, thenmay be concluded. "

Insequent calculusthe principle is expressed by the sequent

which reads: "Hypothesesandentail the conclusionor."

Justification[edit]

Inclassical logicthe principle may be justified by the examination of thetruth tableof the proposition¬¬P ⇒ P,which demonstrates it to be atautology:

p ¬p ¬¬p ¬¬p ⇒ p
T F T T
F T F T

Another way to justify the principle is to derive it from thelaw of the excluded middle,as follows. We assume¬¬Pand seek to proveP.By the law of excluded middlePeither holds or it does not:

  1. ifPholds, then of coursePholds.
  2. if¬Pholds, then we derive falsehood by applying thelaw of noncontradictionto¬Pand¬¬P,after which theprinciple of explosionallows us to concludeP.

In either case, we establishedP.It turns out that, conversely, proof by contradiction can be used to derive the law of excluded middle.

Inclassical sequent calculus LKproof by contradiction is derivable from theinference rulesfor negation:

Relationship with other proof techniques[edit]

Refutation by contradiction[edit]

Proof by contradiction is similar torefutation by contradiction,[4][5]also known asproof of negation,which states that¬Pis proved as follows:

  1. The proposition to be proved is¬P.
  2. AssumeP.
  3. Derive falsehood.
  4. Conclude¬P.

In contrast, proof by contradiction proceeds as follows:

  1. The proposition to be proved isP.
  2. Assume¬P.
  3. Derive falsehood.
  4. ConcludeP.

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.[6]In classical logic, whereandmay 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[edit]

Proof by contradiction is equivalent to thelaw of the excluded middle,first formulated byAristotle,which states that either an assertion or its negation is true,P ∨ ¬P.

Law of non-contradiction[edit]

Thelaw of noncontradictionwas first stated as a metaphysical principle byAristotle.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 ofPand¬Pis true.

Proof by contradiction in intuitionistic logic[edit]

Inintuitionistic logicproof 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 interpretationof proof by contradiction gives the following intuitionistic validity condition:if there is no method for establishing that a proposition is false, then there is a method for establishing that the proposition is true.[clarify]

If we take "method" to meanalgorithm,then the condition is not acceptable, as it would allow us to solve theHalting problem.To see how, consider the statementH(M)stating "Turing machineMhalts or does not halt ". Its negation¬H(M)states that "Mneither halts nor does not halt ", which is false by thelaw of noncontradiction(which is intuitionistically valid). If proof by contradiction were intuitionistically valid, we would obtain an algorithm for deciding whether an arbitrary Turing machineMhalts, thereby violating the (intuitionistically valid) proof of non-solvability of theHalting problem.

A propositionPwhich satisfiesis 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.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 "is prime "or"divides".

Examples of proofs by contradiction[edit]

Euclid's Elements[edit]

An early occurrence of proof by contradiction can be found inEuclid's Elements,Book 1, Proposition 6:[7]

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.

Hilbert's Nullstellensatz[edit]

An influential proof by contradiction was given byDavid Hilbert.His Nullstellensatzstates:

Ifarepolynomialsinnindeterminates withcomplexcoefficients, which have no common complexzeros,then there are polynomialssuch that

Hilbert proved the statement by assuming that there are no such polynomialsand derived a contradiction.[8]

Infinitude of primes[edit]

Euclid's theoremstates that there are infinitely many primes. InEuclid's Elementsthe theorem is stated in Book IX, Proposition 20:[9]

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 numberthere is a prime bigger than it, then we employ proof by contradiction, as follows.

Given any number,we seek to prove that there is a prime larger than.Suppose to the contrary that no suchpexists (an application of proof by contradiction). Then all primes are smaller than or equal to,and we may form the listof them all. Letbe the product of all primes and.Becauseis larger than all prime numbers it is not prime, hence it must be divisible by one of them, say.Now bothandare divisible by,hence so is their difference,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

Examples of refutations by contradiction[edit]

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

Infinitude of primes[edit]

Let us take a second look atEuclid's theorem– Book IX, Proposition 20:[11]

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 caseEuclid's proofapplies refutation by contradiction at one step, as follows.

Given any finite list of prime numbers,it will be shown that at least one additional prime number not in this list exists. Letbe the product of all the listed primes andaprime factorof,possiblyitself. We claim thatis not in the given list of primes. Suppose to the contrary that it were (an application of refutation by contradiction). Thenwould divide bothand,therefore also their difference, which is.This gives a contradiction, since no prime number divides 1.

Irrationality of the square root of 2[edit]

The classicproof that the square root of 2 is irrationalis a refutation by contradiction.[12] Indeed, we set out to prove the negation¬ ∃ a, b ∈.a/b =2by assuming that there exist natural numbersaandbwhose ratio is the square root of two, and derive a contradiction.

Proof by infinite descent[edit]

Proof by infinite descentis 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 numberqand derive a contradiction by observing thatq/2is even smaller thanqand still positive.

Russell's paradox[edit]

Russell's paradox,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[edit]

Proofs by contradiction sometimes end with the word "Contradiction!".Isaac Barrowand Baermann used the notation Q.E.A., for "quod est absurdum"(" which is absurd "), along the lines ofQ.E.D.,but this notation is rarely used today.[13]A graphical symbol sometimes used for contradictions is a downwards zigzag arrow "lightning" symbol (U+21AF: ↯), for example in Davey and Priestley.[14]Others sometimes used include a pair ofopposing arrows(as[citation needed]or),[citation needed]struck-out arrows (),[citation needed]a stylized form of hash (such as U+2A33: ⨳),[citation needed]or the "reference mark" (U+203B: ※),[citation needed]or.[15][16]

Hardy's view[edit]

G. H. Hardydescribed proof by contradiction as "one of a mathematician's finest weapons", saying "It is a far finer gambit than anychess gambit:a chess player may offer the sacrifice of a pawn or even a piece, but a mathematician offers the game. "[17]

Automated theorem proving[edit]

Inautomated theorem provingthe method ofresolutionis 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.[18]

See also[edit]


References[edit]

  1. ^Bishop, Errett 1967.Foundations of Constructive Analysis,New York: Academic Press.ISBN4-87187-714-0
  2. ^"Proof By Contradiction".www2.edc.org.Retrieved12 June2023.
  3. ^"Reductio ad absurdum | logic".Encyclopedia Britannica.Retrieved25 October2019.
  4. ^"Proof by contradiction".nLab.Retrieved7 October2022.
  5. ^Richard Hammack,Book of Proof,3rd edition, 2022,ISBN978-0-9894721-2-8;see "Chapter 9: Disproof".
  6. ^Bauer, Andrej (29 March 2010)."Proof of negation and proof by contradiction".Mathematics and Computation.Retrieved26 October2021.
  7. ^"Euclid's Elements, Book 6, Proposition 1".Retrieved2 October2022.
  8. ^Hilbert, David(1893)."Ueber die vollen Invariantensysteme".Mathematische Annalen.42(3): 313–373.doi:10.1007/BF01444162.
  9. ^"Euclid's Elements, Book 9, Proposition 20".Retrieved2 October2022.
  10. ^Bauer, Andrej (2017)."Five stages of accepting constructive mathematics".Bulletin of the American Mathematical Society.54(3): 481–498.doi:10.1090/bull/1556.Retrieved2 October2022.
  11. ^"Euclid's Elements, Book 9, Proposition 20".Retrieved2 October2022.
  12. ^Alfeld, Peter (16 August 1996)."Why is the square root of 2 irrational?".Understanding Mathematics, a study guide.Department of Mathematics, University of Utah.Retrieved6 February2013.
  13. ^"Math Forum Discussions".
  14. ^B. Davey and H.A. Priestley,Introduction to Lattices and Order,Cambridge University Press, 2002; see "Notation Index", p. 286.
  15. ^Gary Hardegree,Introduction to Modal Logic,Chapter 2, pg. II–2.https://web.archive.org/web/20110607061046/http://people.umass.edu/gmhwww/511/pdf/c02.pdf
  16. ^The Comprehensive LaTeX Symbol List, pg. 20.http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf
  17. ^G. H. Hardy,A Mathematician's Apology;Cambridge University Press, 1992.ISBN9780521427067.PDF p.19Archived2021-02-16 at theWayback Machine.
  18. ^"Linear Resolution",From Logic to Logic Programming,The MIT Press, 1994,doi:10.7551/mitpress/3133.003.0007,ISBN978-0-262-28847-7,retrieved21 December2023

Further reading and external links[edit]