l5_6soln

l5_6soln - CS 245 Winter 2009 Solution Set for Lectures 5...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS 245 Winter 2009 Solution Set for Lectures 5 & 6 Nissanke Ch. 5 Exercise 5.1 (p. 65) 1. p q , p Therefore, q Counterexample: v ( p ) = F ,v ( q ) = T Premises: v ( p q ) = v ( p ) OR v ( q ) = F OR T = T v ( p ) = NOT v ( p ) = NOT F = T Conclusion: v ( q ) = NOT v ( q ) = NOT T = F 2. p q , p r , r Therefore, p Counterexample: v ( p ) = F ,v ( q ) = F ,v ( r ) = T Premises: v ( p q ) = v ( p ) IFF v ( q ) = F IFF F = T v ( p r ) = v ( p ) IMP v ( r ) = F IMP T = T v ( r ) = T Conclusion: v ( p ) = F 1 3. p q , q Therefore, p Counterexample: v ( p ) = F ,v ( q ) = T Premises: v ( p q ) = v ( p ) OR v ( q ) = F OR T = T v ( q ) = T Conclusion: v ( p ) = F 4. p q , q p Therefore, p q Counterexample: v ( p ) = F ,v ( q ) = F Premises: v ( p q ) = v ( p ) IMP v ( q ) = F IMP F = T v ( q p ) = v ( q ) IMP v ( p ) = F IMP F = T Conclusion: v ( p q ) = v ( p ) AND v ( q ) = F AND F = F 2 Exercise 5.3 (p. 76) A B,C D,B D E, E | = ND A C 1 A B premise 2 C D premise 3 B D E premise 4 E premise 5 A assumption 6 B E 1 , 5 7 B D I 6 8 E E 3 , 7 9 false E 4 , 8 10 A RAA 5- 9 11 C assumption...
View Full Document

This note was uploaded on 10/23/2009 for the course CS 245 taught by Professor A during the Spring '08 term at Waterloo.

Page1 / 7

l5_6soln - CS 245 Winter 2009 Solution Set for Lectures 5...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online