1-Introduction-Chapter01-Propositional Logic
1-Introduction-Chapter01-Propositional Logic
MATHEMATICS
AND
ITS APPLICATIONS
Book: Discrete Mathematics and Its Applications
Author: Kenneth H. Rosen
Sixth Edition
McGraw-Hill International Edition
Chapter 1
The Foundations:
Logic and Proofs
Objectives
Explain what makes up a correct mathematical
argument
Introduce tools to construct arguments
Contents
1.1-Propositional Logic – Logic mệnh đề
1.2-Propositonal Equivalences
1.3-Predicates and Quantifiers (vị ngữ và lượng từ)
1.4-Nested Quantifiers
1.5-Rules of Inference – Các quy tắc suy diễn
1.1- Propositional Logic
Truth table
– I am a girl
p
True/ T / 1
False / F / 0
1.1.1- Definitions…
Negation of propositions p is the statement “ It is
not case that p”.
Notation: p (or p)
1.1.1- Definitions…
Conjunction( hội) of propositions p and q is the
proposition “ p and q” and denoted by p^q
p q p^q
0 0 0
0 1 0
1 0 0
1 1 1
1.1.1- Definitions…
Disjunction (tuyển) of propositions p and q is the
proposition “ p or q” and denoted by p v q
p q pq
0 0 0
0 1 1
1 0 1
1 1 1
1.1.1- Definitions…
Exclusive-or (xor) (tuyển loại) of propositions p and
q, denoted by p q
p q pq
0 0 0
0 1 1
1 0 1
q 1 1 0
1.1.1- Definitions…
Implication: p → q (p implies q)
p: hypothesis / antecedent / premise p q p→q
q: conclusion / consequence 0 0 1
p → q can be expressed as: 0 1 1
- q if p
1 0 0
- If p, then q
-
1 1 1
p is sufficient condition for q
- q is necessary condition for p
- -
“If 1 + 1 = 3, then dogs can
fly” TRUE
(p q)
p=0, q=0 ,
so (pq) is true.
1.1.1- Definitions…
Biconditional statement p q is the proposition “ p if and only
if q”
p → q (p only if q) and pq (p if q)
0
1.2- Propositional Equivalences
Important:
Question:
1.3- Predicates and Quantifiers
Introduction
Predicates
Quantifiers
1.3.1- Introduction
Restricted domains
1.3.5- Precedence of Quantifiers
Definitions
Rules of Inferences
1.5.1- Definitions
Hắn chửi như những người say rượu hát. Giá hắn biết hát
thì hắn có lẽ hắn không cần chửi. Khổ cho hắn và khổ cho
người, hắn lại không biết hát. Thì hắn chửi, cũng như
chiều nay hắn chửi….. (Nam Cao, Chí Phèo, trang 78)
p→¬q
¬p
¬(¬q) = q là không hợp logic
1.5.4- Rules of Inference for
Quantified Statements
Rule Name
xP(x) Universal Instantiation
P(c) Cụ thể hóa lượng từ phổ dụng
P(c) for arbitrary c Universal generalization
xP(x) Tổng quát hóa bằng lượng từ phổ dụng
xP(x) Existential instantiation
P(c) for some element c Chuyên biệt hóa
P(c) for some element c Existential generalization
xP(x) Khái quát hóa bằng lượng từ tồn tại
Rules of Inference for Quantified Statements…
Q(HB) // conclusion
Summary
Propositional Logic – Luận lý mệnh đề
Propositional Equivalences
Predicates and Quantifiers
Nested Quantifiers
Rules and Inference – Quy tắc và diễn
dịch
THANK YOU