



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!




ANS1: ∀j ∀n(P (j, n) → n ≥ 3) ANS2: ¬∃j∃n (P (j, n) ∧ n < 3)
ANS: ∃j ∃n ∀k ∀m (L(j, n) ∧ (L(k, m) → m < n))
ANS: Invalid. The form of the argument is: (¬r ∨ l) → ¬p and ¬l and ¬p; therefore ¬r. But ((¬r ∨ l) → ¬p) ∧ ¬l ∧ ¬p) → ¬r is not a tautology. For example, if r is true and both p and l are false, it is false. This answer formalizes that, although you may know two reasons why a program might not execute some statement, there could be other reasons (e.g., a run-time error could occur before execution reaches that statement).
ANS: It is valid. The rules used: Universal instantiation, modus ponens, and existential generalization.
ANS: ∃y ∀x (¬R(y) ∧ [¬Q(x, y) ∧ R(x)])
(q → ¬p) ∧ (r → ¬q) ≡ (¬q ∨ ¬p) ∧ (¬r ∨ ¬q) Conseq. (twice) & double negation ≡ (¬q ∧ (¬r ∨ ¬q)) ∨ (¬p ∧ (¬r ∨ ¬q)) Distributive ≡ (¬q ∧ ¬r) ∨ (¬q ∧ ¬q) ∨ (¬p ∧ ¬r) ∨ (¬p ∧ ¬q) Distributive (twice), associative ≡ [(¬q ∧ ¬r) ∨ ¬q] ∨ (¬p ∧ ¬r) ∨ (¬p ∧ ¬q) Idempotent, assoc. ≡ ¬q ∨ (¬p ∧ ¬r) ∨ (¬p ∧ ¬q) Absorption ≡ (¬q ∨ (¬p ∧ ¬q)) ∨ (¬p ∧ ¬r) Commutative, assoc. ≡ ¬q ∨ (¬p ∧ ¬r) Absorption