

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


(a) Either you do your homework early, or else you stay up late and do not sleep. (b) This homework is not hard or you like discrete math or you need to study more.
(a) Every CS 173 student loves to do their homework. (b) There is a student taking both CS 173 and CS 125 who hates to do their homework. (c) Every CS 125 student knows a CS 173 student who likes to do their homework. (d) If every student in CS 125 knows a person in CS 173, then every student in CS 125 knows a crazy person.
For example the statements ∀x[D(x) → A(x)] could be translated to ”Everyone who watches TV likes West Wing.”
(a) ∀x[A(x) ∨ B(x) → D(x)] (b) ∃x[A(x) ∧ B(x)] (c) ∀x[B(x) → C(x)] (d) ∃x[A(x) ∨ B(x) ∧ C(x) ∧ D(x)]
(a) If Erin and Kevin are out of town, then CS 173 will have a guest lecturer. (b) You will be late to lecture if you oversleep. (c) If Erin’s daughter is sick this week, then she either brings her to lecture or gets a babysit- ter.
p q p ↑ q p ↓ q T T F F T F T F F T T F F F T T
(a) Express the Sheffer stroke operation p ↑ q as a well-formed formula using only the operations ¬ and ∧. (b) Express the Peirce arrow operation p ↓ q as a well-formed formula using only the opera- tions ↑ and ∨. (c) The set of operators {∧, ∨, ¬} is functionally complete , which means that every logical statement can be expressed using only these three operators. You are given a proposition p ∨ q, where p and q use only ∨, ∧ and ¬. However, you must eliminate all occurrences of ∨ from this proposition. Kevin comes along and gives you p′, a proposition which is logically equivalent to p but does not use ∨. Not to be outdone, Erin then comes along and gives you q′, a proposition which is logically equivalent to q but does not use ∨. Show how to rewrite p ∨ q to remove all occurrences of ∨, making use of p′^ and q′. (This is enough to show that that the smaller set of operators {∧, ¬} is also functionally complete.) (d) Explain why the set of operators {↑} is functionally complete.
(a) Classify the following formulas into logically equivalent groups: i. p ii. p ∨ ¬p iii. p ∧ ¬p iv. (p ∧ q) → p v. (p ∨ q) → p vi. ((p ∨ q) ∧ ¬q) → (p ∧ q) vii. (p ∨ ¬p) → (p ∧ ¬p)