Proof and Precise Reasoning: From Arguments to Theorems

Euclid's proof that the primes never run out is often presented as a proof by contradiction. His own version is a recipe. Give it any finite list of primes, and it produces a prime not on the list.

Demonstrated

Guess first

Take 'If it rained, the road is wet'. Its truth table has four rows: rain or not, wet or dry. In how many rows is it false?

Not set

· Committing first, even to a wrong guess, makes the answer stick.

At a glance · about 1 min

What Counts as Proof

Example

  • Shows a claim holds once
  • Can fail at the next case

Computation

  • Checks particular cases
  • Refutes; proves only if every case is checked

Diagram or simulation

  • Suggests a truth
  • Can hide assumptions
  • Evidence about a model only

Proof

  • Each step follows from definitions
  • Covers every case in the domain
Only a valid proof establishes a universal claim (checking every case of a finite domain is one); the rest suggest or refute.

In brief

'Every odd number is prime' survives 3, 5 and 7, then fails at 9. Checking some cases can sink a universal claim but not establish it, and diagrams and simulations only suggest. A proof covers every case in its stated domain, because each step follows from definitions and accepted statements.

Key ideas

  • A proof derives a claim over a stated domain from definitions and accepted statements by steps that each follow; examples, diagrams and simulations can suggest it but not establish it, and a computation establishes it only by checking every case of a finite domain.
  • Validity concerns form only, meaning true premises would force the conclusion; soundness also requires the premises to be true, so a valid argument can still reach a false conclusion.
  • One valid counterexample refutes a universal claim, while checking only some cases cannot prove one; that asymmetry is why "what would refute this?" is so useful.
Check yourself 5 cards answer from memory, then open each

Retrieval, not rereading, makes learning last (see the weekly loop). Grade yourself honestly and the study dashboard brings each card back on a spaced schedule that supports retention.

  1. recall

    What is the difference between a valid argument and a sound argument?

    Show answer

    A valid argument is one where, if the premises were true, the conclusion would have to be true; validity concerns form only. A sound argument is valid and also has premises that are in fact true.

  2. recall

    When is a conditional "if P then Q" false, and which statement always shares its truth value: its converse or its contrapositive?

    Show answer

    It is false only when P is true and Q is false. Its contrapositive, "if not Q then not P", always has the same truth value; its converse, "if Q then P", need not.

  3. explain

    Why is affirming the consequent ("If it rained, the road is wet; the road is wet; so it rained") an invalid form?

    Show answer

    Both premises can be true while the conclusion is false, because the road could be wet for other reasons. The argument treats "if it rained, the road is wet" as if it meant its converse, "if the road is wet, it rained", which it does not.

  4. apply

    A classmate checks a formula for n = 1, 2, 3 and 4 and concludes it holds for every positive integer n. Why is that not a proof, and which proof form on the page is built to cover every n?

    Show answer

    Checking particular cases can refute a universal claim but cannot establish it; the next case could fail, as "every odd number is prime" fails at 9. Induction can cover every n: prove a base case, then prove that if the formula holds for n, it holds for n + 1.

  5. connect

    This page says the counterexample habit underlies the testing habit in 'Hypotheses, Predictions and Tests'. What asymmetry drives that habit, and how does it shape the way you test an explanation?

    Show answer

    One valid counterexample refutes a universal claim, while checking some cases cannot prove it. So you ask "what would refute this?" and design tests whose result could show the explanation wrong, writing the prediction down before you look.

The grammar of valid inference: validity and soundness, truth tables, quantifiers, the main proof techniques and counterexamples, framed by the trivium habit of defining, testing and explaining.

After this page You can tell a proof from a pile of examples, and write short proofs that cover every case.

#proof#logic#trivium#reasoning

Read the full pageHide the full page · 7 min

A proof is an argument that leaves no logical gap between accepted starting points and a claim over a stated domain. It is a different thing from an example, a computation, a picture or a simulation, however convincing those feel. Learning the grammar of proof helps you stop being fooled, by others and by yourself.

What a proof is, and is not

  • An example shows a claim holds once. "Every odd number is prime" survives 3, 5 and 7, then fails at 9.
  • A computation checks particular cases. It can refute a universal claim but cannot establish one, unless the domain is finite and it checks every case.
  • A diagram can suggest a truth and can also hide an assumption. Geometry proofs have long depended on features that merely look right in a figure.
  • A simulation gives evidence about a model, not a theorem about every case.
  • A proof derives the claim from definitions and accepted statements by steps that each follow. Demonstrated in the strict mathematical sense when the proof is valid.

The same discipline sits behind the trivium of grammar, logic and rhetoric described in Seven Liberal Arts, Hands-On. Applied to mathematical work:

Art In mathematics Habit
Grammar Definitions, notation, units, assumptions Write each key definition in your words, with an example and a non-example
Logic Proof, counterexample, model structure Ask what would falsify the claim or chart before accepting it
Rhetoric Explaining to a reader A one-page memo: claim, model, evidence, uncertainty, recommendation

Anatomy of an argument

Any argument has premises, a conclusion, and usually some hidden assumptions. To evaluate it, state the conclusion, list the premises, add the unstated assumptions, check the inference, and then name the strongest objection. Reconstruct the other person's position fairly before criticizing it. Peirce on the Fixation of Belief shows the same discipline applied to ways of settling belief.

Validity, soundness, consistency and truth

These are different properties, and confusing them causes many bad arguments.

  • Valid: if the premises were true, the conclusion would have to be true. Validity concerns form, not whether the premises are actually true.
  • Sound: valid, and the premises are in fact true.
  • Consistent: the statements can all be true together.
  • True: a property of a single statement.

A valid argument can have a false conclusion if a premise is false. An invalid argument can have a true conclusion by luck. A classic invalid form is affirming the consequent: "If it rained, the road is wet; the road is wet; so it rained." The road could be wet for other reasons. Established

Propositional logic and truth tables

Statements combine with not, and, or, if...then and if and only if. A truth table lists the result for every assignment of true and false. The one that surprises people is the conditional: "if P then Q" is false only when P is true and Q is false. It does not claim that P causes Q, and it is not the same as its converse "if Q then P". Tables let you test whether two statements are equivalent, whether an argument is valid, and whether a set of statements is consistent. The contrapositive "if not Q then not P" always has the same truth value as the original.

Quantifiers and scope

"For all" and "there exists" are the quantifiers. Their order matters: "for every person there is someone they trust" is not "there is someone every person trusts". To negate: not (for all x, P) means there exists x with not P; not (there exists x, P) means for all x, not P. Practise these until they are automatic, because many invalid proofs go wrong at a quantifier.

The main proof forms

Form Idea Classic example
Direct Assume the hypothesis, derive the conclusion The sum of two even numbers is even
Contrapositive Prove "not Q implies not P" instead If n squared is even, then n is even
Contradiction Assume the negation and derive an absurdity The square root of 2 is irrational
Induction Prove a base case and a step from n to n+1 1 + 2 + ... + n = n(n+1)/2
Two directions Prove both "if A then B" and "if B then A" A set-theoretic or number-theoretic equivalence
Set equality Show each set is a subset of the other Distribution laws for sets
Existence and uniqueness Exhibit an object, then show any two such objects agree Solutions of linear equations

Euclid's proof that the primes never run out (Elements IX.20) is often presented as a proof by contradiction. His own version is constructive. Multiply the primes on any finite list and add one. Some prime divides the result, and none on the list can, since each leaves a remainder of one. Aristotle (Prior Analytics I.23) already refers to proof by reductio that the diagonal of a square is incommensurable with its side. Demonstrated These are the techniques to learn from a text such as Hammack's Book of Proof.

Domain matters

State the domain before manipulating. "If x squared equals 4, then x equals 2" is false over the real numbers, because x could be negative 2. The same statement is true if the domain is restricted to positive numbers. A familiar-looking manipulation can fail when the domain is forgotten. The same applies to dividing by an expression that might be zero, or to taking square roots. Loosely, a health study has a domain of its own: who took part, and at what dose. One nutrition trial tested 30 g of milled flaxseed a day in patients with peripheral artery disease. Its finding is about that dose in those patients, not a tablespoon on everyone's breakfast.

Counterexample and falsification

A single valid counterexample refutes a universal claim. This asymmetry is why "what would refute this?" is the most useful question in reasoning. It is the same move as the elenchus in Socratic questioning, and it underlies the testing habit in Hypotheses, Predictions and Tests and the way Evidence-Based Troubleshooting chooses the next test that separates competing causes. Euclid's method, where everything rests on stated definitions and postulates, is the ancestor of this style; Geometry, Euclid and Trigonometry shows how to study it by reconstruction.

Building a proof notebook

Keep a notebook with one entry per proof: the claim, the domain, the definitions used, your attempt, a corrected version, and a note of the first step that failed if you got stuck. Revisit selected proofs after a week and rewrite them without looking. The standard is validity, not elegance.

A proof checker, whether a person, a textbook solution or software, validates steps. It does not check that your formal statement faithfully captures the claim you meant. Translation from plain words to symbols is its own skill and needs separate practice.

Beyond the first course

Sets, functions and relations lead into Discrete Mathematics and Graphs. Further on, logic studies itself: the difference between syntax (what can be derived by rules) and semantics (what is true in a model). Godel's first incompleteness theorem (1931, in the form later sharpened by Rosser) says that any consistent, effectively axiomatized theory strong enough to express basic arithmetic contains statements it can neither prove nor refute. Demonstrated for such theories. It does not say that "nothing can be proved" or that "truth is unknowable"; popular summaries often overreach. Proof habits also carry into writing for others, as in Technical Writing as Reasoning.

Try this

  1. Write a proof that the sum of two odd integers is even, then a proof by contrapositive that if n squared is odd, n is odd. State the domain at the start of each.
  2. Negate in words and in symbols: "Every student passed some exam." Then invent a situation where the original is true and its (wrong) quantifier-swapped version is false.
  3. Find a flaw: "I tested the formula on n = 1, 2, 3 and 4, so it holds for all n." Write what a proof would need to add.

Further reading

  • Richard Hammack, Book of Proof (3rd ed., free online).
  • Daniel Velleman, How to Prove It (3rd ed., Cambridge University Press, 2019).
  • P. D. Magnus and others, forall x: Calgary Remix (Open Logic Project, free online).
  • Charles S. Peirce, "The Fixation of Belief" (1877).
  • Kurt Godel, "Uber formal unentscheidbare Satze..." (1931); for a readable modern treatment, the Open Logic Project's Incompleteness and Computability.

Sources 9
  • Hammack, R. (2018). Book of Proof (3rd ed.). Virginia Commonwealth University. Chapters 1, 2 and 4-10 (sets, logic, direct proof, contrapositive proof, proof by contradiction, proving non-conditional statements, proofs involving sets, disproof, induction).
  • Velleman, D. J. (2019). How to Prove It: A Structured Approach (3rd ed.). Cambridge University Press. Chapters 1-3.
  • Magnus, P. D., Button, T., Loftis, J. R., Thomas-Bolduc, A., & Zach, R. forall x: Calgary Remix. Open Logic Project. chapters on arguments and truth-functional (propositional) logic.
  • Euclid, Elements, Book IX, Proposition 20 (infinitely many primes).
  • Hardy, M., & Woodgold, C. (2009). Prime Simplicity. The Mathematical Intelligencer, 31(4), 44-52.
  • Aristotle, Prior Analytics, Book I, chapter 23 (reference to the incommensurability of the diagonal by reductio).
  • Godel, K. (1931). Uber formal unentscheidbare Satze der Principia Mathematica und verwandter Systeme I. Monatshefte fur Mathematik und Physik, 38, 173-198.
  • Peirce, C. S. (1877). The Fixation of Belief. Popular Science Monthly, 12, 1-15.
  • Rodriguez-Leyva, D., et al. (2013). Potent antihypertensive action of dietary flaxseed in hypertensive patients. Hypertension, 62(6), 1081-1089.

Revisions

  • : The main proof forms: Euclid's proof of the infinitude of primes is 'often presented', not 'usually taught', as a proof by contradiction. Why: The sources checked support 'often' (Wikipedia's 'Euclid's theorem', citing Hardy and Woodgold 2009); 'usually' could not be verified.
  • : Opening: learning the grammar of proof 'helps you stop being fooled'. The page had called it 'the quickest way' to stop. Why: Nothing on the page compares ways of avoiding error, so the superlative was unsupported.