s09_t01 - UNIVERSITY OF WATERLOO School of Computer Science...

Info iconThis preview shows pages 1–2. 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
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: UNIVERSITY OF WATERLOO School of Computer Science CS245 Logic and Computation Spring 2009 TUTORIAL 1 1. Formalization and consistency. (i) If the dog is barking, then the dog is in the house. (ii) If the dog is in the house, then someone is at the front door unless the dog is not barking. (iii) The dog is barking. (iv) Someone is at the front door. (a) Express the sentences as propositional formula. b the dog is barking h the dog is in the house d someone is at the front door i. b h ii. h ( d b ) iii. b iv. d (b) Is this set of formulas consistent? I.e., is there an interpretation where sentences (i)(iv) are true? Answer this question using a truth table. Explain. b d h b h h ( d b ) ( b h ) ( h ( d b )) b d T T T T T T C T T F F T F T F T T F F T F F F T F F T T T T F F T F T T F F F T T T F F F F T T F Yes, the set of formulas is consistent (see the row marked with C )....
View Full Document

Page1 / 2

s09_t01 - UNIVERSITY OF WATERLOO School of Computer Science...

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

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