10 likes | 310 Views
A mushroom is poisonous only if it is purple Student solution -Exists x [Mushroom(x) ^ -Purple(x) ^ Poisonous(x)] Answer Forall x [(Mushroom(x) ^ Poisonous(x)) -> Purple(x)] <-> Forall x [-(Mushroom(x) ^ Poisonous(x)) v Purple(x)] <-> Forall x [-Mushroom(x) v -Poisonous(x) v Purple(x)]
E N D
A mushroom is poisonous only if it is purple • Student solution • -Exists x [Mushroom(x) ^ -Purple(x) ^ Poisonous(x)] • Answer • Forall x [(Mushroom(x) ^ Poisonous(x)) -> Purple(x)] • <-> • Forall x [-(Mushroom(x) ^ Poisonous(x)) v Purple(x)] • <-> • Forall x [-Mushroom(x) v -Poisonous(x) v Purple(x)] • <-> • -Exists x [-(-Mushroom(x) v -Poisonous(x) v Purple(x))] • <-> • -Exists x [Mushroom(x) ^ Poisonous(x) v –Purple(x)] • <-> • -Exists x [Mushroom(x) ^ -Purple(x) ^ Poisonous(x)]