Professional Documents
Culture Documents
Logic
Logic
Mathematical Logic
Graduate School
First Sem, SY 2020-21
Solomon L. Olayta
Mathematical Logic
Graduate School
First Sem, SY 2020-21
Solomon L. Olayta
Outline
1 Sentential Logic
Truth Tables
Valid Arguments
Example 1
If today is Sunday, then I’ll go swimming.
Today is Sunday.
Therefore, I will go swimming.
Example 2
Either, the maid is the spy or the gardener is the spy.
Either, the gardener is the spy or the driver is the spy.
Therefore, the maid is the spy or the driver is the spy.
Example 2
Either, the maid is the spy or the gardener is the spy.
Either, the gardener is the spy or the driver is the spy.
Therefore, the maid is the spy or the driver is the spy.
Example 2
Either, the maid is the spy or the gardener is the spy.
Either, the gardener is the spy or the driver is the spy.
Therefore, the maid is the spy or the driver is the spy.
Propositions
Definition 1.1
A proposition is a statement that is either true or false but not
both.
Illustrations
Illustrations
Illustrations
Illustrations
Illustrations
Connective Symbols
Symbol Meaning
∨ or
∧ and
¬ not
Examples
Let J mean for ”John is lazy” and let C mean ”The clown is
sad.” Thus, we have
J ∨C
.
Let R mean ”Rody is prepared”. Let L means Lenie is not
prepared. Let B mean ”Bong is working hard”. Thus, we have
(R ∧ ¬L) ∨ B
.
Note: The symbols ∨ and ∧ can be only used between two
statements. The symbol ¬ can be used before a statement.
Let J mean for ”John is lazy” and let C mean ”The clown is
sad.” Thus, we have
J ∨C
.
Let R mean ”Rody is prepared”. Let L means Lenie is not
prepared. Let B mean ”Bong is working hard”. Thus, we have
(R ∧ ¬L) ∨ B
.
Note: The symbols ∨ and ∧ can be only used between two
statements. The symbol ¬ can be used before a statement.
Let J mean for ”John is lazy” and let C mean ”The clown is
sad.” Thus, we have
J ∨C
.
Let R mean ”Rody is prepared”. Let L means Lenie is not
prepared. Let B mean ”Bong is working hard”. Thus, we have
(R ∧ ¬L) ∨ B
.
Note: The symbols ∨ and ∧ can be only used between two
statements. The symbol ¬ can be used before a statement.
Let J mean for ”John is lazy” and let C mean ”The clown is
sad.” Thus, we have
J ∨C
.
Let R mean ”Rody is prepared”. Let L means Lenie is not
prepared. Let B mean ”Bong is working hard”. Thus, we have
(R ∧ ¬L) ∨ B
.
Note: The symbols ∨ and ∧ can be only used between two
statements. The symbol ¬ can be used before a statement.
∨P (not well-defined)
∧Q (not well-defined)
P¬Q (not well-defined)
P ∨ ∧Q (not well-defined)
∨P (not well-defined)
∧Q (not well-defined)
P¬Q (not well-defined)
P ∨ ∧Q (not well-defined)
∨P (not well-defined)
∧Q (not well-defined)
P¬Q (not well-defined)
P ∨ ∧Q (not well-defined)
Truth Table of ¬P
P ¬P
T F
F T
Truth Table of P ∧ Q
P Q P ∧Q
T T T
T F F
F T F
F F F
Truth Table of P ∨ Q
P Q P ∨Q
T T T
T F T
F T T
F F F
Note: P ∨ Q mean ”P or Q, or both.” In English language, ”P or
Q” mean P or Q but not both.
Truth Table of P ∨ Q
P Q P ∨Q
T T T
T F T
F T T
F F F
Note: P ∨ Q mean ”P or Q, or both.” In English language, ”P or
Q” mean P or Q but not both.
P Q Pexclusive orQ
T T F
T F T
F T T
F F F
Validating Arguments
R ∨S
¬R
∴S
R S ¬R R ∨ S S
1 T T F T T
2 T F F T F
3 F T T T T
4 F F T F F
Note: An argument is valid if the premises cannot be all true
without the conclusion being true as well.
is a valid argument.