






































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!







































Jason Filippou
CMSC250 @ UMCP
05-31-
(^1) Syntax
(^2) Semantics Truth Tables Simplifying expressions
(^3) Inference Valid reasoning Basic rules of inference
We will study Propositional (and “Predicate” logic) in three (unbalanced) steps: Syntax. Semantics. Inference (or “Proof theory”).
Syntax
Syntax
Syntax for Propositional Logic consists of: {T rue, F alse, P, ∼, ∧, ∨, (, ), ⇒, ⇔, ≡}. So what do all of these symbols mean?
Semantics
Semantics
Think of a Propositional Symbol like a binary variable with domain True, False. Anything that can be either true or false in our world can be modelled by such a symbol. E.g the symbol rain is True if it’s raining today, False otherwise. Probabilities?
Semantics Truth Tables
Semantics Truth Tables
What would the truth table for conjunction and disjunction be?
Semantics Truth Tables
What would the truth table for conjunction and disjunction be?
p q p ∧ q p ∨ q F F F F F T F T T F F T T T T T
Semantics Truth Tables
Implication: p q p ⇒ q F F T F T T T F F T T T
Semantics Truth Tables
Implication: p q p ⇒ q F F T F T T T F F T T T Bi-conditional:
Semantics Truth Tables
Let’s convert the following natural language statements to propositional logic: (^1) It’s rainy and gloomy. (^2) I will pass 250 if I study. (^3) I will pass 250 only if I study. (^4) THOU SHALT NOT PASS. (^5) All work and no play makes Jack a dull boy.
Semantics Simplifying expressions