Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Proof by exhaustion
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Type of mathematical proof}} {{about|the type of mathematical proof|the method of calculating limits|Method of exhaustion}} {{redirect|Brute force method|similarly named methods in other disciplines|Brute force (disambiguation)}} {{redirect|Proof by cases|the concept in propositional logic|Disjunction elimination}} '''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 equivalent cases, and where each type of case is checked to see if the proposition in question holds.<ref>{{citation|last1=Reid|first1=D. A|last2=Knipping|first2=C|year=2010|title=Proof in Mathematics Education: Research, Learning, and Teaching|publisher=Sense Publishers|page=133|isbn=978-9460912443}}.</ref> This is a method of [[direct proof]]. A proof by exhaustion typically contains two stages: # A proof that the set of cases is exhaustive; i.e., that each instance of the statement to be proved matches the conditions of (at least) one of the cases. # A proof of each of the cases. The prevalence of digital [[computer]]s has greatly increased the convenience of using the method of exhaustion (e.g., the first computer-assisted proof of [[four color theorem]] in 1976), though such approaches can also be challenged on the basis of [[mathematical elegance]]. [[Expert system]]s can be used to arrive at answers to many of the questions posed to them. In theory, the proof by exhaustion method can be used whenever the number of cases is finite. However, because most mathematical sets are infinite, this method is rarely used to derive general mathematical results.<ref>{{Cite book|title=Discrete mathematics with applications|last=S.|first=Epp, Susanna|date=2011-01-01|publisher=Brooks/Cole|isbn=978-0495391326|oclc=970542319}}</ref> In the [[Curry–Howard isomorphism]], proof by exhaustion and case analysis are related to ML-style [[pattern matching]].{{Citation needed|date=March 2017}} ==Example== Proof by exhaustion can be used to prove that if an [[integer]] is a [[perfect cube]], then it must be either a multiple of 9, 1 more than a multiple of 9, or 1 less than a multiple of 9.<ref>{{Cite web| url=https://www.m-a.org.uk/resources/2017-Sep-Proof-Glaisters-MiS.pdf| title=Mathematical argument, language and proof — AS/A Level 2017| last=Glaister| first=Elizabeth|last2=Glaister|first2=Paul|date=September 2017|website=Mathematical Association| access-date=October 25, 2019}}</ref> '''Proof''': <br>Each perfect cube is the cube of some integer ''n'', where ''n'' is either a multiple of 3, 1 more than a multiple of 3, or 1 less than a multiple of 3. So these three cases are exhaustive: *Case 1: If ''n'' = 3''p'', then ''n''<sup>3</sup> = 27''p''<sup>3</sup>, which is a multiple of 9. *Case 2: If ''n'' = 3''p'' + 1, then ''n''<sup>3</sup> = 27''p''<sup>3</sup> + 27''p''<sup>2</sup> + 9''p'' + 1, which is 1 more than a multiple of 9. For instance, if ''n'' = 4 then ''n''<sup>3</sup> = 64 = 9×7 + 1. *Case 3: If ''n'' = 3''p'' − 1, then ''n''<sup>3</sup> = 27''p''<sup>3</sup> − 27''p''<sup>2</sup> + 9''p'' − 1, which is 1 less than a multiple of 9. For instance, if ''n'' = 5 then ''n''<sup>3</sup> = 125 = 9×14 − 1. [[Q.E.D.]] ==Elegance== Mathematicians prefer to avoid proofs by exhaustion with large numbers of cases, which are viewed as [[Mathematical elegance|inelegant]]. An illustration as to how such proofs might be inelegant is to look at the following proofs that all modern [[Summer Olympic Games]] are held in years which are divisible by 4: '''Proof''': The [[1896 Summer Olympics|first modern Summer Olympics]] were held in 1896, and then every 4 years thereafter (neglecting exceptional situations such as when the games' schedule were disrupted by World War I, World War II and the [[COVID-19 pandemic]].). Since 1896 = 474 × 4 is divisible by 4, the next Olympics would be in year 474 × 4 + 4 = (474 + 1) × 4, which is also divisible by four, and so on (this is a proof by [[mathematical induction]]). Therefore, the statement is proved. The statement can also be proved by exhaustion by listing out every year in which the Summer Olympics were held, and checking that every one of them can be divided by four. With 28 total Summer Olympics as of 2016, this is a proof by exhaustion with 28 cases. In addition to being less elegant, the proof by exhaustion will also require an extra case each time a new Summer Olympics is held. This is to be contrasted with the proof by mathematical induction, which proves the statement indefinitely into the future. ==Number of cases== There is no upper limit to the number of cases allowed in a proof by exhaustion. Sometimes there are only two or three cases. Sometimes there may be thousands or even millions. For example, rigorously solving a [[chess endgame]] [[chess problem|puzzle]] might involve considering a very large number of possible positions in the [[game tree]] of that problem. The first proof of the [[four colour theorem]] was a proof by exhaustion with 1834 cases.<ref>{{Citation |last=Appel |first=Kenneth |last2=Haken |first2=Wolfgang |last3=Koch |first3=John |year=1977 |title=Every Planar Map is Four Colorable. II. Reducibility |journal=Illinois Journal of Mathematics| volume=21 |page=504| mr=0543793 | issue=3 |doi=10.1215/ijm/1256049012 |doi-access=free |quote=Of the 1834 configurations in 𝓤}}</ref> This proof was controversial because the majority of the cases were checked by a computer program, not by hand. The shortest known proof of the four colour theorem today still has over 600 cases. In general the probability of an error in the whole proof increases with the number of cases. A proof with a large number of cases leaves an impression that the theorem is only true by coincidence, and not because of some underlying principle or connection. Other types of proofs—such as proof by induction ([[mathematical induction]])—are considered more [[mathematical beauty|elegant]]. However, there are some important theorems for which no other method of proof has been found, such as * The proof that there is no finite [[projective plane]] of order 10. * The [[classification of finite simple groups]]. * The [[Kepler conjecture]]. * The [[Boolean Pythagorean triples problem]]. == See also == * [[British Museum algorithm]] * [[Computer-assisted proof]] * [[Enumerative induction]] * [[Mathematical induction]] * [[Proof by contradiction]] * [[Disjunction elimination]] ==Notes== {{reflist}} {{Mathematical logic}} [[Category:Mathematical proofs]] [[Category:Methods of proof]] [[Category:Problem solving methods]] [[de:Beweis (Mathematik)#Vollständige Fallunterscheidung]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:About
(
edit
)
Template:Citation
(
edit
)
Template:Citation needed
(
edit
)
Template:Cite book
(
edit
)
Template:Cite web
(
edit
)
Template:Mathematical logic
(
edit
)
Template:Redirect
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)