06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

“mcs” — 2017/3/3 — 11:21 — page 66 — #74<br />

66<br />

Chapter 3<br />

Logical Formulas<br />

above did was translate the logical <strong>for</strong>mula (3.25) into English and then appeal to<br />

the meaning, in English, of “<strong>for</strong> all” and “there exists” as justification.<br />

In contrast to (3.25), the <strong>for</strong>mula<br />

8y9x: P.x; y/ IMPLIES 9x8y: P.x; y/: (3.28)<br />

is not valid. We can prove this just by describing an interpretation where the hypothesis<br />

8y9x: P.x; y/ is true but the conclusion 9x8y: P.x; y/ is not true. For<br />

example, let the domain be the integers and P.x; y/ mean x > y. Then the hypothesis<br />

would be true because, given a value n <strong>for</strong> y we could choose the value<br />

of x to be n C 1, <strong>for</strong> example. But under this interpretation the conclusion asserts<br />

that there is an integer that is bigger than all integers, which is certainly false. An<br />

interpretation like this that falsifies an assertion is called a counter-model to that<br />

assertion.<br />

3.7 References<br />

[19]<br />

Problems <strong>for</strong> Section 3.1<br />

Practice Problems<br />

Problem 3.1.<br />

Some people are uncom<strong>for</strong>table with the idea that from a false hypothesis you can<br />

prove everything, and instead of having P IMPLIES Q be true when P is false,<br />

they want P IMPLIES Q to be false when P is false. This would lead to IMPLIES<br />

having the same truth table as what propositional connective?<br />

Problem 3.2.<br />

Your class has a textbook and a final exam. Let P , Q and R be the following<br />

propositions:<br />

P WWD You get an A on the final exam.<br />

QWWD You do every exercise in the book.<br />

RWWD You get an A in the class.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!