Graduate → Mathematical Logic and Foundations → Propositional Logic ↓
Proof Techniques in Propositional Logic
In the field of mathematical logic, proof techniques are methods applied by mathematicians to demonstrate the truth of propositions. Propositional logic involves statements that can be true or false, often called "propositions." Understanding the various proof techniques is important for analyzing logical arguments and formulating new arguments. This text discusses in depth the major proof techniques used in propositional logic, providing text-based and visual examples for clarity.
1. Direct evidence
Direct proof is a direct way of establishing that a given proposition is true. It involves a logical sequence of statements from an assumed true premise to a conclusion.
Consider proving if A, then B
phase:
- Suppose that
A
is true. - Use logical reasoning to show that
B
must also be true.
Example:
Prove: If n is an even number, then n 2 is even.
evidence:
- Let
n
be even. Thenn = 2k
for some integerk
. - So
n 2 = (2k) 2 = 4k 2
. - Note that
4k 2 = 2(2k 2 )
, which is divisible by 2, so even. - Therefore,
n 2
is even.
2. Indirect proof (proof by contradiction)
Indirect proof, or proof by contradiction, involves assuming that the statement you want to prove is false, then showing that this assumption leads to a contradiction.
Suppose that proving ¬A ⇒ false
makes A
true.
phase:
- Suppose
A
is false. - Show that this assumption leads to a logical contradiction.
- Conclude that
A
must be true.
Example:
Prove: There is no greatest integer.
evidence:
- For the sake of contradiction suppose that there is a largest integer called
N
- Consider
N + 1
Clearly,N + 1 > N
. - This contradicts the assumption that
N
is the largest integer. - So our assumption is wrong. So there is no largest integer.
3. Proof by counterbalancing
Proof by counterexample consists in proving that if not B, then not A
is a way of showing if A, then B
.
Example:
Prove: If n 2 is even, then n is even.
evidence:
- Conversely, we will prove: if
n
is odd, thenn 2
is odd. - Let
n
be odd. Thenn = 2k + 1
for some integerk
. - So
n 2 = (2k + 1) 2 = 4k 2 + 4k + 1
. - Note that
4k 2 + 4k + 1
is odd since it is of the form2m + 1
. - Thus, if
n
is odd,n 2
is odd. - Therefore, by converse, if
n 2
is even,n
is even.
4. Proof by induction
Mathematical induction is a powerful technique used to prove statements about the natural numbers. It consists of two main components: the base case and the inductive step.
phase:
- Base case: Verify the statement for an initial value (often
n=0
orn=1
). - Inductive step: Assume the statement is true for an arbitrary case
n=k
, and show that it is also true forn=k+1
.
Example:
Prove: For all natural numbers n , 1 + 2 + ldots + n = frac{n(n + 1)}{2}.
evidence:
- Base case: For
n=1
, the left side is1
and the right sidefrac{1(1+1)}{2} = 1
The base case is valid. - Inductive step: Assume that for
n=k
the truth is:1 + 2 + ldots + k = frac{k(k+1)}{2}
- Prove that for
n=k+1
:1 + 2 + ldots + k + (k+1) = frac{k(k+1)}{2} + (k+1)
- Rewriting,
frac{k(k+1)}{2} + (k+1) = frac{k(k+1) + 2(k+1)}{2} = frac{(k+1)(k+2)}{2}
- Thus, the formula is true for
n=k+1
. - By induction, the formula is valid for all natural numbers
n
.
5. Evidence from exhaustion
Proof by exhaustion, or case analysis, is a technique in which a statement is proved by including all possible cases.
phase:
- Divide the proposal into a limited number of cases.
- Prove that the proposition is true for each case separately.
Example:
Prove: Every integer from 1 to 4 is less than 5.
evidence:
- Case 1:
n = 1
, then1 < 5
. - Case 2:
n = 2
, then2 < 5
. - Case 3:
n = 3
, then3 < 5
. - Case 4:
n = 4
, then4 < 5
.
6. Proof by counterexample
Proof by counterexample is the technique of proving a universal statement false by providing a single counterexample.
Example:
Disprove: All prime numbers are odd.
Counterexample:
2
is a prime number but it is not odd.
Conclusion
Understanding and using proof techniques in propositional logic is an essential skill in mathematical logic and foundations. Mastering these techniques provides the tools needed to efficiently analyze and construct logical arguments. From direct and indirect proofs to mathematical induction and proof by counterexample, each method offers unique insights and approaches to solving logical problems. Practicing these techniques with diverse examples helps build a strong foundation for advanced topics in mathematics.