Discrete Structures

Lecture Notes, 15 October 2010

Last Update: 15 October 2010

Note: NEW or UPDATED 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


Midterm Practice

Consider this argument:

FOL representation:

Translation into FOL:

Formal proof of validity {with strategy shown in comment-braces like this}:


Consider another version of the argument:

Propositional-Logic Representation:

Propositional-Logic Translation:

Formal proof of validity (2 versions):

Truth-Table Analysis:


Given that we can express the argument in both propositional logic and FOL,
which should we use?

In general, use the simplest logic that enables you to prove validity,
which, in this case, would be propositional logic.

However, there are some arguments that are invalid if expressed in propositional logic
but valid if expressed in FOL;
these have to be expressed in FOL to show that they are, indeed, valid.

Here's one example (which goes back to Aristotle):

In propositional logic, this would be:

which is clearly invalid.

In FOL, we might have:

proof:

1.Horse(a) ∧ Head(b,a): temporary assumption to show (Animal(a) ∧ Head(b,a)) by Dir. Pf.
2.x[Horse(x) → Animal(x)]: P1
3.Horse(a) → Animal(a): 2, UI
4.Horse(a): 1, Simp
5.Animal(a): 3,4; MP
6.Head(b,a): 1, Simp
7.Animal(a) ∧ Head(b,a): 5,6; Conj
8.(Horse(a) ∧ Head(b,a)) → (Animal(a) ∧ Head(b,a)): 1,7; Direct Proof
9.xy[(Horse(x) ∧ Head(x,y)) → (Animal(x) ∧ Head(x,y))]: 8, UG


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-20101015.html-20101015