{
  "aliases": [
    "rigour",
    "rigor",
    "mathematical-rigor",
    "rigorous-proof",
    "mathematical-rigour"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "20F7K9RVT6"
    },
    {
      "field": "uses",
      "target": "8VZ77R4R8S"
    },
    {
      "field": "uses",
      "target": "ARWPBPW0Y3"
    },
    {
      "field": "uses",
      "target": "GQCW6RG3GB"
    },
    {
      "field": "uses",
      "target": "K3M3TEX7SJ"
    },
    {
      "field": "uses",
      "target": "KQZNTQG6KM"
    },
    {
      "field": "uses",
      "target": "MJ3EHQJJHX"
    },
    {
      "field": "instance_of",
      "target": "ARWPBPW0Y3"
    },
    {
      "field": "instance_of",
      "target": "KQZNTQG6KM"
    },
    {
      "field": "not_instance_of",
      "target": "GQCW6RG3GB"
    }
  ],
  "body": "\n## Summary\n\nRigor is the demand that every step of a [[proof|0B94TKFQJX]] has a reason that a competent reader can check.\nIt matters because a step that only looks right can be wrong, and a wrong step spreads into every result that uses it.\n\nIn his *Cours d'analyse* of 1821, Augustin-Louis Cauchy stated that a convergent series of continuous functions has a continuous sum.\nThe claim sounds right, and it is false as we now read it.\nTake $u_1(x) = x$ and $u_k(x) = x^k - x^{k - 1}$ for $k \\ge 2$, on the interval $[0, 1]$.\nEach term is continuous, and the $n$-th partial sum is $s_n(x) = x^n$.\nFor $0 \\le x \u003c 1$ the partial sums tend to $0$, and at $x = 1$ they are all $1$, so the sum jumps at $x = 1$.\nThe step that failed was the exchange of two limits, which needs the extra hypothesis now called [[uniform convergence|08VZ57PT26]].\n\nSo we say that an argument is rigorous for a given reader when each step is an axiom, a definition, a hypothesis, an earlier result, or follows from earlier steps by a valid rule of inference.\nSteps that the argument leaves out must be ones that this reader can fill in by routine work.\nNo step may rest only on a picture, on intuition, or on a claim that nobody has proved.\n\n## Motivation\n\nMany statements look true from a picture or from a few cases.\nA continuous curve that starts below the horizontal axis and ends above it seems to cross the axis.\nYet on the rational numbers the function $g(x) = x^2 - 2$ is negative at $1$ and positive at $2$, and it has no rational zero, as [[the example on the intermediate value theorem|ARWPBPW0Y3]] shows.\nSo the crossing depends on a property of the real numbers that the picture does not show.\n\nRigor answers this problem in two ways.\nA rigorous proof names each property that it uses, so the reader sees where each hypothesis enters and what fails without it.\nIt also lets one result serve as a safe step in later proofs, because each of its steps was checked.\nThe next question is who does the checking: a human reader, a community of experts over years, or a computer, as in [[computer-assisted proof|MC18C7BMFT]].\n\n## Notation\n\nThere is no symbol for rigor.\nAmerican books spell the word \"rigor\" and British books spell it \"rigour\"; the adjective is \"rigorous\" in both.\n\nSeveral words describe how much detail a proof gives.\nA \"sketch\" or an \"outline\" gives the main steps and leaves gaps on purpose.\nA \"complete proof\" claims that no gap remains for the intended reader.\nA \"formal proof\" is a derivation in a formal system, in which each step follows a stated rule, and [[formal and informal proofs|8VZ77R4R8S]] compares the two kinds.\nThe words [[trivial, obvious and clearly|Y0HXCJRB9B]] claim that a step is routine, and they hide a gap when it is not.\n\n## Remarks\n\n### Finding the missing hypothesis\n\nWhy does Cauchy's claim fail for $s_n(x) = x^n$?\nConvergence at each point lets the speed of convergence depend on the point.\nNear $x = 1$ the convergence is slow: for each $n$, the point $x = (1/2)^{1/n}$ lies in $[0, 1)$ and gives\n$$s_n(x) = \\left( (1/2)^{1/n} \\right)^n = \\tfrac{1}{2},$$\nwhile the limit at that point is $0$.\nSo no single $n$ makes $|s_n(x) - 0| \u003c \\tfrac{1}{2}$ for all $x$ in $[0, 1)$ at once.\nUniform convergence asks exactly for such an $n$ for each tolerance, and with it the claim becomes the [[uniform limit theorem|0X9XT05JVC]].\n\nCheck: for $n = 3$, $(1/2)^{1/3} \\approx 0.794$ and $0.794^3 \\approx 0.500$.\n\nHistorians still discuss what Cauchy meant by convergence, so the case is about the claim as later readers took it.\nIts lesson does not depend on that question: a rigorous proof must name the hypothesis on which an exchange of limits rests.\n\n### Two levels for one sum\n\nRigor depends on the reader, and a familiar identity shows how.\nThe pairing argument for $1 + 2 + \\dots + n = n(n + 1)/2$ writes the sum forward and backward and adds the two rows:\n$$2(1 + 2 + \\dots + n) = \\underbrace{(n + 1) + (n + 1) + \\dots + (n + 1)}_{n \\text{ terms}} = n(n + 1).$$\nFor a school reader this is a complete proof.\nA reader who asks what the dots mean needs a definition of the sum by recursion and a proof by [[induction|0ASJVEFA9J]].\n[[The sum at two levels of rigor|KQZNTQG6KM]] gives both proofs and says what each one takes as known.\n\n### Where the picture hides an axiom\n\nThe [[intermediate value theorem|00KAFBR32E]] says that a continuous function on $[a, b]$ takes every value between $f(a)$ and $f(b)$.\nThe same statement fails on the rational numbers, since $x^2 - 2$ changes sign on $[1, 2]$ and $x^2 = 2$ has no rational solution.\nSo any proof must use a property that $\\mathbb{R}$ has and $\\mathbb{Q}$ lacks.\n[[The supremum proof|P54346XMQQ]] uses the [[completeness axiom|0AXWET80YW]] at one named step, and [[the worked comparison|ARWPBPW0Y3]] checks every number.\n\nIn the same way, the proof that $\\sqrt{2}$ is [[irrational|0DZGSDHD92]] is rigorous because each step uses the hypothesis $\\sqrt{2} = a/b$, the definition of an even number, or arithmetic.\n\n### What rigor depends on\n\nRigor is relative to the reader.\nA paper for specialists leaves out steps that a text for first-year students must write, and both can be rigorous.\n\nRigor is relative to the period.\nEighteenth-century analysis accepted arguments with infinitely small quantities that the standard of the late 19th century rejected, as [[the history of proof and rigor|20F7K9RVT6]] tells.\n\nRigor is relative to the starting points.\nA proof is rigorous with respect to the [[axioms|GD2JBXJV5Z]] and earlier results that it uses.\n\nRigor is not formality.\nA rigorous informal proof can in principle be expanded into a formal derivation, but it is already rigorous when each gap is routine for its reader.\nA program can check each step of [[a proof in the Lean proof assistant|QF0Q7B5Q73]], which is the strictest level we have.\n\n### What fails the test\n\n[[Euclid's first proposition|GQCW6RG3GB]] builds an equilateral triangle from two circles and takes a point where they meet.\nNo postulate of the *Elements* says that the circles meet, so by the modern standard that step has no reason.\n\nThe [[forty prime values of $n^2 + n + 41$|H75AB4EJT5]] for $n = 0$ to $39$ are not a proof that the value is always prime.\nThe checks cover forty cases and the claim covers all natural numbers, and $n = 40$ gives $40^2 + 40 + 41 = 1681 = 41^2$.\n\nThe sentence \"a curve that goes from below the axis to above it must cross the axis\" is not a rigorous step either.\nIt rests on a picture, and the property behind it, the completeness of $\\mathbb{R}$, has no name in it.\n\n### Watch out\n\nA rigorous proof does not have to be long or full of symbols.\nIt gives each step that its reader needs and no more, so the pairing proof above is rigorous for a school reader in three lines.\n\nA true conclusion does not make an argument rigorous.\nCauchy's claim is true for uniformly convergent series, yet his argument did not name that hypothesis, and the series $s_n(x) = x^n$ shows the gap.\nIn the same way, a correct theorem can have a faulty first proof.\n\nA picture or a large computation of cases is not a proof of a general claim.\nIt can suggest a proof, and the proof must still name each property that it uses.\n\n### History\n\nGreek mathematics made deductive proof the standard, and [[Euclid's Elements|83WHDAV68J]] was the model of rigor for more than two thousand years.\nBernard Bolzano in 1817 and Cauchy in 1821 proved the intermediate value theorem, which earlier authors had taken as evident.\nIn 1826 Niels Henrik Abel pointed out that the series $\\sin x - \\tfrac{1}{2} \\sin 2x + \\tfrac{1}{3} \\sin 3x - \\dots$ is an exception to Cauchy's claim.\nPhilipp Ludwig von Seidel in 1847 located the failure in convergence that becomes arbitrarily slow, and later in the century uniform convergence became a standard notion in analysis.\nIn 1899 David Hilbert published a system of [[axioms for geometry|KM1FB8XZ2R]] that states the assumptions Euclid's proofs use without stating them.\nIn the 20th century rigor came to mean that a proof can in principle be written in a formal system such as set theory.\n\n### Try it\n\nFirst, the function $f_n(x) = x^n$ also converges on $[0, \\tfrac{1}{2}]$.\nIs the convergence uniform there?\nYes: for every $x$ in $[0, \\tfrac{1}{2}]$ we have $x^n \\le (1/2)^n$, and this bound tends to $0$ without depending on $x$.\n\nSecond, a student writes \"$n^2$ is even, so $n$ is even, since squares keep parity\".\nWhich step lacks a reason?\nThe phrase \"squares keep parity\" is the claim itself, so the step needs a real argument, such as the contrapositive proof in the L2 explanation below.\n\n## Explanations\n\n### L1 human\n\nA rigorous argument is one in which each step has a reason that anyone can check.\nThe reason can be a rule we agreed on, a fact we proved before, or plain arithmetic.\nTake the claim \"the sum of two odd numbers is even\".\nThe example $3 + 5 = 8$ is not a reason, because it is only one case.\nA rigorous argument says that an odd number is one more than an even number, so the sum of two odd numbers is two more than the sum of two even numbers, and that is even.\nEach part of the sentence can be checked, and it works for every pair of odd numbers.\n\n### L2 human\n\nWe test a short proof by giving, for each step, the reason that justifies it.\nThe claim is that if $n$ is an integer and $n^2$ is even, then $n$ is even.\n\n1. Suppose that $n$ is odd, since we prove the [[contrapositive|0BB5TPGQ1N]]: if $n$ is odd, then $n^2$ is odd.\n2. Then $n = 2k + 1$ for some integer $k$, by the definition of an odd integer.\n3. So $n^2 = 4k^2 + 4k + 1$, by expanding the square.\n4. So $n^2 = 2(2k^2 + 2k) + 1$, by taking out the factor $2$ from the first two terms.\n5. So $n^2$ is odd, because $2k^2 + 2k$ is an integer and $n^2$ has the form of the definition.\n6. So if $n^2$ is even, then $n$ is even, because a statement and its contrapositive are equivalent.\n\nEvery step has a reason, so the proof is rigorous for a first-year reader.\nThe typical use of this test is to check your own proof before you hand it in.\nWatch out for a step that you accept because it \"looks right\": if you cannot say its reason, you have found a gap.\n\n### L3 human\n\nTwo notions of rigor live side by side.\nThe practical notion is social: a proof is rigorous when experts agree that each gap can be filled by routine work.\nThe ideal notion is formal: a proof is rigorous when it can be expanded into a derivation in a formal system, such as first-order logic with the axioms of set theory, so that a program can check each step.\nMost mathematicians work with the practical notion and believe that it implies the ideal one, and [[formal and informal proofs|8VZ77R4R8S]] discusses that belief.\n\nBoth notions come under strain.\nVery long proofs, such as the classification of finite simple groups, test the practical notion, and computer proofs test the idea that a human reads each step, as [[long proofs and surveyability|RM0S65BHWH]] explains.\nIn 1993 Arthur Jaffe and Frank Quinn asked how much speculation mathematics should allow before rigor arrives, and [[their debate with Thurston|K3M3TEX7SJ]] follows the replies.\nWhy a rigorous proof gives knowledge at all is a question for the [[philosophy of mathematics|NTJ5XW0PVD]].\n",
  "commit": "35d5da104f2b90e930cd762570f4d67e50027674",
  "front": {
    "aliases": [
      "rigour",
      "rigor",
      "mathematical-rigor",
      "rigorous-proof",
      "mathematical-rigour"
    ],
    "audience": "ug1",
    "kind": "concept",
    "msc": [
      "00A35"
    ],
    "name": "Mathematical rigor",
    "sources": [
      {
        "locator": "Mathematics",
        "url": "https://en.wikipedia.org/wiki/Rigour"
      },
      {
        "locator": "Nature and purpose",
        "url": "https://en.wikipedia.org/wiki/Mathematical_proof"
      },
      {
        "locator": "History",
        "url": "https://en.wikipedia.org/wiki/Intermediate_value_theorem"
      },
      {
        "locator": "History",
        "url": "https://en.wikipedia.org/wiki/Uniform_convergence"
      },
      {
        "book": "isbn:9781108439534",
        "locator": "Introduction"
      }
    ],
    "tag": "E1PE9R8DBB",
    "topics": [
      "1BTHSHST4M"
    ],
    "uses": [
      "0B94TKFQJX",
      "GD2JBXJV5Z",
      "Y0HXCJRB9B"
    ]
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/E1PE9R8DBB/",
  "links": [
    {
      "field": "topics",
      "target": "1BTHSHST4M"
    },
    {
      "field": "uses",
      "target": "0B94TKFQJX"
    },
    {
      "field": "uses",
      "target": "GD2JBXJV5Z"
    },
    {
      "field": "uses",
      "target": "Y0HXCJRB9B"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/E1PE9R8DBB.md",
  "msc": [
    "00A35"
  ],
  "name": "Mathematical rigor",
  "prov": {
    "log": "https://github.com/tamnd/math2/blob/main/prov/E1P/E1PE9R8DBB.jsonl",
    "quarantine": null,
    "unchecked": null
  },
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/E1P/E1PE9R8DBB.md",
  "status": null,
  "tag": "E1PE9R8DBB",
  "uri": "m2://E1PE9R8DBB",
  "url": "https://math2.tamnd.com/wiki/mathematical-rigor/",
  "writing": {
    "tag": "E1PE9R8DBB",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
