Professional Documents
Culture Documents
Propositional Logic: Proposition
Propositional Logic: Proposition
Proposition
Statement or expression that is either true or false,
but not both (e.g. Russel’s paradox)
Propositional Logic An atomic proposition is represented by a single
propositional (boolean) variable that can take one of
the two constant values, i.e., true (1) or false (0)
Compound proposition (boolean expression) =
Atomic propositions (boolean variable) + Logical
operators (connectives)
Muthukkaruppan Annamalai Operators in the order of precedence: negation (¬),
mk@tmsk.uitm.edu.my conjunction (⋀), disjunction (⋁), conditonal/
implication (), biconditional/ equivalence ()
What is the truth values of ¬P, (P⋀Q) and (P⋁Q)?
14/9/2017 mk 2
Logical Expressions
Form vs. Content
There is a man barber who shaves all men Logic focuses on the form (relationship among
in the village who do not shave propositions), and
themselves. NOT on the semantics (content of a proposition)
e.g.
Does the barber shave himself? The cow jumped over the moon and the little dog
laughed to see such sport
14/9/2017 mk 3 14/9/2017 mk 4
mk 1
CSC510 Lecture Slides 14/09/2017
14/9/2017 mk 5 14/9/2017 mk 6
mk 2
CSC510 Lecture Slides 14/09/2017
mk 3
CSC510 Lecture Slides 14/09/2017
mk 4
CSC510 Lecture Slides 14/09/2017
Propositional Logic
In a conditional P Q the sufficient condition is the also known as Boolean Algebra
ENABLING condition; the necessary condition indicates has a set of proposition symbols,
the REQUIREMENTS connected with binary (⋀, ⋁ , → , ↔) and unary (¬)
Having a ticket ENABLES a patron to walk into a show, while operators, and
walking into a show REQUIRES the patron to have a ticket.
has two distinct outcome values: true (1) and false (0)
Having a ticket is a sufficient condition, and walking into a show
is a necessary condition. such that, the set of proposition symbols (e.g. P,
Q and R) abide by laws of Boolean Algebra (or
A bi-conditional P Q is true if both P and Q have the
axioms), whose values can be deduced based
same truth values and is false if P and Q have opposite
truth values on inferencing rules
14/9/2017 mk 17 14/9/2017 mk 18
P⋁0≡P P⋀0=0
P⋀1≡P P⋁1=1
(P ⋁ Q) ⋀ (P ⋁ R) ≡ P ⋁ (Q ⋀ R) 2. PQR
Identity laws Universal bound laws (P ⋀ Q) ⋁ (P ⋀ R) ≡ P ⋀ (Q ⋁ R)
P⋁P≡P
P⋀P≡P ¬ (P ⋀ Q) ≡ ¬P ⋁ ¬Q
Distributive laws
3. P¬QR
Idempotent laws ¬ (P ⋁ Q) ≡ ¬P ⋀ ¬Q
¬ (¬P) ≡ P
Double-negation law
P Q ≡ ¬P ⋁ Q
De Morgan’s laws
4. PQR
P⋁Q≡Q⋁P
PQR
P Q ≡ (P Q) ⋀ (Q P) 5.
P⋀Q≡Q⋀P
Commutative laws
14/9/2017 mk 19 14/9/2017 mk 20
mk 5
CSC510 Lecture Slides 14/09/2017
14/9/2017 mk 21 14/9/2017 mk 22
mk 6