Propositional Logic Intro
Propositional Logic Intro
Logic
Study of reasoning.
Focuses on relationship between the
statements rather than the content.
2
A Simple Example
3
Proposition
A declarative sentence that is either true or false
J= “Ibrahim is wearing a red coat”
D = “Today is Tuesday”
4
Propositional Logic
5
Propositional Variables and
Connectives
6
Connectives
7
Connectives
8
Connectives
9
Truth values of Propositions
10
Truth values of Propositions
p: A decade is 10 years,
q: A millenniumis 100 years,
thenp is true, q is false(a millennium is 1000
years),
conjunction,
p∧ q: A decade is 10 years and a millenniumis
100 years,
is false.
11
Truth values of Propositions
12
Truth values of Propositions
p: A decade is 10 years,
q: A millenniumis 100 years,
thenp is true, q is false(a millennium is 1000
years),
disjunction,
p ∨ q: A decade is 10 years or a millenniumis 100
years,
is true.
13
Conjunctions
A and B
14
Conjunctions A and B
“A”=True
“A and B”= True and
“B”=True
15
Conjunctions A and B
16
Conjunctions A and B
17
Disjunctions
A or B
18
Disjunctions A or B
19
Disjunctions A or B
“A or B or C or D or E”
20
Contradictories:
not-A
21
Contradictories: not-A
A= “Ibrahim is at the home”
The CONTRADICTORY of A:
A claim that always has the OPPOSITE truth value
of A
Not-A
~A
¬A
Not-A=“Ibrahim is not at the home”
22
Contradictories: not-A
A Not-A
T F
F T
23
Practice Exercise for Today
24
Practice Exercise (Solution)
25
Practice Exercise (Solution)
26
Practice Exercise (Solution)
27
Practice Exercise (Solution)
Truth value is F.
28
Thank You!
29