Let
p: he takes coffe
q : he drinks milk
r :he eats crackers
s : he takes soup
Then
1) If he takes coffee, he does not drink milk.
p→qˉ
2) He eats crackers only if he drinks milk.
r→q
3) He does not take soup unless he eats crackers.
rˉ→sˉ
4) At noon today, he had coffee.
p
5) Therefore he took soup at noon today.
s
Since
p→qˉ a premise
qˉ→rˉ contrapositive of premise
p→rˉ a conclusion by law of syllogism
rˉ→sˉ a premise
p→sˉ a premise law of syllogism
p a premise
sˉ a conclusion by modus ponens
Hence sˉ is the conclusion
(p∨qˉ)→r
pFFFFTTTTqFFTTFFTTqˉTTFFTTFFrFTFTFTFTp∨qˉTTFFTTTT(p∨qˉ)→rFTTTFTFT
Comments