Professional Documents
Culture Documents
D - J J (MP) : Bulanadi, Jeff Kevin M. BSIT-3-A DM
D - J J (MP) : Bulanadi, Jeff Kevin M. BSIT-3-A DM
BSIT-3-A DM
Let H= Henry works hard, D= Henry is a dull boy J= Henry will get
the job
H H->D
H->D D->~J
D->~J H->~J (Hypothetical Syllogism)
∴ ~J H
∴ ~J (MP)
H
H->D
D (Modus Ponens)
D->~J
∴ ~J (MP)
3. (Valid or Invalid?). Provide Proofs?
(a) All students in this class understand logic. Pascal is a student in this
class. Therefore, Pascal understands logic. (Let P(x) = “x is in this class”
and Q(x) = “x understands logic”.) ∀x, P(x) -> Q(x) P (Pascal), ∴
Q(Pascal)
Valid, U.M.P
(b) Every c.s. major takes discrete mathematics. Esther is taking discrete
mathematics. Therefore, Esther is a c.s. major. (Let P(x) = “x is a c.s.
major” and Q(x) = “x takes discrete”.) ∀x, P(x) -> Q(x) Q(Esther),
∴P(Esther) Invalid, U.A.C
(c) All parrots like fruit. My pet bird is not a parrot. Therefore, my pet bird
does not like fruit. (Let P(x) = “x is a parrot” and Q(x) = “x like fruit”.) ∀x,
P(x) -> Q(x) -P (my pet bird), ∴ -Q (my pet bird) Invalid, U.P.H
(d) Everyone who eats granola every day is healthy. John is not healthy.
Therefore John does not eat granola every day. (Let P(x) = “x eats granola
every day” and Q(x) = “x is healthy”.) ∀x, P(x) -> Q(x) -Q (John), ∴ -P
(John) Valid, U.M.T
(1) -p ^ q Hypothesis
(3) ~q v r Hypothesis
(7) ~s ^ p Hypothesis
(1) p ^ q Hypothesis