Discrete Mathematics practice, Exercises of Mathematical logic

Discrete Mathematics practice for university

Typology: Exercises

2019/2020

Uploaded on 06/08/2020

yellow-red
yellow-red 🇨🇳

4

(1)

23 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Discrete Mathematics Homework
1.3.54
(a)
p p↓p ¬p
T F F
F T T
Therefore, p↓p is logically equivalent to ¬p
(b)
p q p↓q (p↓q)↓(p↓q
)
pq
T T F T T
T F F T T
F T F T T
F F T F F
Therefore,(p↓q)↓(p↓ q) is logically equivalent to pq
(c)Because {¬,} is a functionally complete collection of logical
operators, and we have: ¬pp↓p and pq(p↓q)↓(p↓ q), so {↓} is a
functionally complete collection of logical operators.
1.3.34
We know (1)a→b≡¬ab, (2)¬(ab)¬a¬b, (3)¬(ab)¬a¬b,
(4)a(¬b¬a) ≡a¬b, (5)a¬aa, (6)aT≡T
So (pq)(¬pr)→(qr)
¬((pq)(¬pr))(qr) (use(1))
(¬(pq)¬(¬pr))(qr) (use(2))
((¬p¬q)(p¬r))(qr) (use(3))
(¬p¬q)(p¬r)qr
≡(q(¬p¬q))(r(p¬r))
≡(q¬p)(rp) (use(4))
≡qr(p¬p)
≡qrT (use(5))
≡T (use(6))
Therefore, this is a tautology.
1.3.54
(a)
p p↓p ¬p
T F F
pf2

Partial preview of the text

Download Discrete Mathematics practice and more Exercises Mathematical logic in PDF only on Docsity!

Discrete Mathematics Homework 1.3. (a) p p↓p ¬p T F F F T T Therefore, p↓p is logically equivalent to ¬p (b) p q p↓q (p↓q)↓(p↓q ) p∨q T T F T T T F F T T F T F T T F F T F F Therefore,(p↓q)↓(p↓ q) is logically equivalent to p∨q (c)Because {¬,∨} is a functionally complete collection of logical operators, and we have: ¬p≡p↓p and p∨q≡(p↓q)↓(p↓ q), so {↓} is a functionally complete collection of logical operators. 1.3. We know (1)a→b≡¬a∨b, (2)¬(a∧b)≡¬a∨¬b, (3)¬(a∨b)≡¬a∧¬b, (4)a∨(¬b∧¬a) ≡a∨¬b, (5)a∨¬a≡a, (6)a∨T≡T So (p∨q)∧(¬p∨r)→(q∨r) ≡¬((p∨q)∧(¬p∨r))∨(q∨r) (use(1)) ≡(¬(p∨q)∨¬(¬p∨r))∨(q∨r) (use(2)) ≡((¬p∧¬q)∨(p∧¬r))∨(q∨r) (use(3)) ≡(¬p∧¬q)∨(p∧¬r)∨q∨r ≡(q∨(¬p∧¬q))∨(r∨(p∧¬r)) ≡(q∨¬p)∨(r∨p) (use(4)) ≡q∨r∨(p∨¬p) ≡q∨r∨T (use(5)) ≡T (use(6)) Therefore, this is a tautology. 1.3. (a) p p↓p ¬p T F F

F T T

Therefore, p↓p is logically equivalent to ¬p (b) p q p↓q (p↓q)↓(p↓q ) p∨q T T F T T T F F T T F T F T T F F T F F Therefore,(p↓q)↓(p↓ q) is logically equivalent to p∨q (c)Because {¬,∨} is a functionally complete collection of logical operators, and we have: ¬p≡p↓p and p∨q≡(p↓q)↓(p↓ q), so {↓} is a functionally complete collection of logical operators.