Proofs
Part 7 of 8 · Previous: CS Notation · Index · Next: Reference
28. Proof vocabulary
| Term | Meaning |
|---|---|
| Definition | Introduces the exact meaning of an object |
| Axiom | Assumed truth |
| Proposition | Mathematical claim |
| Theorem | Important claim proved from definitions/results |
| Lemma | Supporting theorem used in a larger proof |
| Corollary | Result following quickly from another theorem |
| Conjecture | Claim believed true but not proven |
| Counterexample | Example proving a universal claim false |
| Invariant | Property remaining true throughout an algorithm |
| Necessary condition | Must be true, but may not be sufficient |
| Sufficient condition | Guarantees the result, but may not be necessary |
| Necessary and sufficient | Exact condition; an iff statement |
| Upper bound | Value the result cannot exceed |
| Lower bound | Value the result cannot go below |
| Tight bound | Matching upper and lower bounds |
| Contradiction | Logical impossibility used to reject an assumption |
| WLOG | Without loss of generality |
| QED / | End of proof |
29. Common proof styles
Direct proof
To prove:
assume , then derive .
Proof by contradiction
To prove :
- assume ;
- derive an impossibility;
- conclude that must hold.
Common wording:
Suppose, for contradiction, that…
Proof by induction
Used for statements indexed by integers:
- Base case: prove or .
- Induction hypothesis: assume .
- Inductive step: prove .
- Conclude for all relevant .
Proof of equivalence
To prove:
prove both:
and:
Counterexample
To disprove:
find one such that:
30. Necessary versus sufficient
Suppose:
Then:
- is sufficient for ;
- is necessary for .
Example:
- is sufficient to know ;
- is necessary for ;
- is not sufficient for .
An exact characterization uses:
Then both conditions are necessary and sufficient.
31. Common equation styles
Definition
Define as the sum.
Constraint
Every valid solution must satisfy this equality.
Inequality bound
Running time is bounded above by .
Optimization
Find the smallest objective value over valid choices.
Recurrence
Define the current value using smaller instances.
Set characterization
Define a set through a condition.
Case distinction
Use a different expression depending on the condition.
Chain of relations
means:
32. Punctuation inside formulas
| Symbol | Meaning in context |
|---|---|
| Separates expressions or means “and then” | |
| “Such that” or introduces a type | |
| “Such that,” divides, or conditional probability | |
| Separates conditions | |
| Visual spacing only | |
| Pattern continues | |
| Labels part of an expression | |
| Labels part from above |
The vertical bar is highly overloaded:
means divides .
means probability of given .
means all such that .