CSE 215 Lecture Notes - Lecture 4: Truth Table

41 views3 pages

Document Summary

We can show that (x ^ y) -> z is always true (a tautology). B says: a and b are of opposite types. For statement 1, x -> y. (if x is a knight, then y is also a knight) (knights always tell the truth) For statement 1, ~x -> ~y (if x is not a knight, then y is not a knight) (knaves lie) Combine two above statements: (x -> y) and (~x -> y) For statement 2, (y -> ~(x==y)) and (~y -> (x==y)) (if they are the same types or not) Bob is majoring in both math and cs and ann is majoring in math but ann is not majoring in both math and cs. It is not the case that both bob and ann are majoring in both math and cs, but it is the case that. Ann is majoring in math and bob in both math and cs.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents