

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information about a homework assignment for a computer science course, cmsc250, given in spring 2004. The assignment includes proofs, translations into formal language, and deciding the validity of arguments. It also includes situations where symbolic expressions must be determined.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


You must write the solutions to the problems single-sided on your own lined paper, with all sheets stapled together, and with all answers written in sequential order or you will lose points.
(a)
P1 ∀x ∈ D P (x) → (T (x) ∨ Q(x)) P2 ∀y ∈ D Q(y) ∨ (R(y) ∧ P (y)) P3 ∀z ∈ D (T (z) ∧ R(z)) → S(z) ∴ ∀w ∈ D ∼ Q(w) → S(w)
(b)
P1 ∀t ∈ D (A(t) → B(t)) → (C(t) ∨ D(t)) P2 ∃u ∈ D ∼ A(u) ∧ (D(u) → E(u)) P3 ∀v ∈ D ∼ E(v) → (C(v) → A(v)) ∴ ∃h ∈ D ∼ B(h) ∨ E(h)
(c)
P1 ∀w ∈ D J(w) → M (w) P2 ∀x ∈ D M (x) → ((N (x) →∼ J(x))∧ ∼ K(x)) P3 ∀y ∈ D N (y)∨ ∼ L(y) P4 ∀z ∈ D (J(z) ∧ K(z)) ∨ (L(z) ∧ M (z)) ∴ ∀q ∈ D ∼ J(q)
(a) Exactly two people completely understand quantum physics. (U = {universal set}, P (m) = m is a person, Q(n) = n completely understands quantum physics.) (b) I own at least three cats. (C = {all cats}, N (x) = I own x.) (c) No more than two people own both a kangaroo and a polar bear. (P = {all people}, K(p) = p owns a kangaroo, B(p) = p owns a polar bear.)
(a) • All shortshops can steal bases.
(b) • All CS professors are intelligent.
(1) ∀x ∈ L ∃y ∈ M P (x, y) (2) ∃x ∈ L ∀y ∈ M P (x, y) (3) ∀y ∈ M ∃x ∈ L P (x, y) (4) ∃y ∈ M ∀x ∈ L P (x, y)
You may assume that in each situation, each person plays only the instruments listed for him or her, and no others. In other words, if its not listed, they don’t play it! Remember, for each situation, write down the corresponding numbers of all the sym- bolic expressions that apply to that situation. Situations:
(a) John plays piano, Kate plays trumpet, and Lisa plays accordian. (b) John plays piano, Kate plays piano and trumpet, and Lisa plays piano and accor- dian. (c) John plays trumpet, Kate plays piano, trumpet, and accordian, and Lisa doesn’t play anything. (d) John plays trumpet, Kate plays piano and trumpet, and Lisa plays trumpet. (e) John plays trumpet, Kate doesn’t play anything, and Lisa plays piano and accor- dian. (f) John plays accordian, Kate plays piano and accordian, and Lisa plays piano. (g) John plays piano, trumpet, and accordian, Kate plays trumpet and accordian, and Lisa plays accordian. (h) John plays piano and trumpet, Kate plays piano and accordian, and Lisa plays piano, trumpet, and accordian.