Discrete Structures
Lecture Notes, 8 Oct 2010
Last Update: 8 October 2010
Note:
or
material is highlighted
|
Note: A username and password may be required to access certain
documents.
Please
contact
Bill Rapaport.
Index to all lecture notes
…Previous lecture
§§1.6: Proof Strategies
- Top-Level Proof Strategy:
- Look at the logical structure
(i.e., at the principal connective or quantifier)
of the proposition to be proved:
- Then use a lower-level strategy for proving
propositions of that form.
- A General Strategy Applicable at Any Time:
- Replace predicates by their definitions whenever that's useful
- i.e., to prove P(x), where
P(x) =def D(x),
try to show D(x) instead.
- e.g., to show Even(n),
where Even(x) =def ∃j[x=2j],
try to show ∃j[n=2j]
- That's a search statement, so:
- try to find j such that
n=2j
- e.g., to show Odd(n),
where Odd(x) =def
∃j[x=2j+1],
try to show ∃j[n=2j]
- That's a search statement, so:
- try to find j such that
n=2j+1
- Direct Proof:
- To show (A → B):
Assume/suppose/make believe that A is the case
and try to show B
- Can combine strategies:
- To show (P(n) → B),
where P(x) =def D(x),
suppose D(n) & try to show B
- To show ∀x[P(x) → Q(x)]:
- Choose an arbitrary object c in the domain,
- try to show (P(c) → Q(c))
- How? By using the Direct Proof strategy above!
- and then apply UG.
- An Example:
- Prove: If n is odd, then n+1 is even.
Hidden assumption: n is an integer
Logical form (FOL transation):
(*) (∀ integer n)[Odd(n) → Even(n+1)]
Strategy & Proof:
- Proofs are stories;
you don't just want to say what happens,
but also how & why
- Here is a more formal ("cleaned up") version:
Show: (∀ integer n)[Odd(n)
→ Even(n+1)]
Let c be an arbitrary integer
Show Odd(c) → Even(c+1):
1. |
Odd(c) |
: temporary assumption for Direct Proof |
2. |
∃k[c=2k+1] |
: 1; def of Odd |
3. |
c=2k1+1 |
: 2; EI |
4. |
c+1=2k1+1+1 |
: 3; algebra |
…(cue the closing music and a deep voice: "to be continued next
time")
Next lecture…
Text copyright © 2010 by William J. Rapaport
(rapaport@buffalo.edu)
Cartoon links and screen-captures appear here for your enjoyment.
They are not meant to infringe on any copyrights held by the creators.
For more information on any cartoon, click on it, or contact me.
http://www.cse.buffalo.edu/~rapaport/191/F10/lecturenotes-20101008.html-20101008