100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Answers

Tutorial Letter 203/0/2020

Rating
-
Sold
1
Pages
6
Uploaded on
26-09-2020
Written in
2020/2021

This Tutorial Letter contains SOLUTIONS TO ASSIGNMENT 3










Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
September 26, 2020
Number of pages
6
Written in
2020/2021
Type
Answers
Person
Unknown

Content preview

COS4807/203/0/2020




Tutorial Letter 203/0/2020


Formal Logic
COS4807

Year module

Department of Computer Science
School of Computing


CONTENTS
Solutions to Assignment 3




university
Define Tomorrow. of south africa

, SOLUTIONS TO ASSIGNMENT 3
Question 1 (20)
(i) To prove that the formula A = ∃x¬(p(x) → q(x)) → ¬(∃xp(x) → ∀xq(x)) is valid, we must
show that it is true in all interpretations.
Let I be an interpretation in which the antecedent of the formula is true. In other words,
vI (∃x¬(p(x) → q(x))) = T . Then vσI (¬(p(x) → q(x))) = T for some assignment σI (by the
semantics of existential quantification, as stated in Theorem 7.22) and vσI (p(x) → q(x)) = F for
some assignment σI (by the truth values for negation). Then vσI (p(x)) = T and vσI (q(x)) = F
for some assignment σI (by the truth values for implication). But then vI (∃xp(x)) = T and
vI (∀xq(x)) = F (by Theorem 7.22). From this we conclude that vI (∃xp(x) → ∀xq(x)) = F
(by the truth values for for implication) and vI (¬(∃xp(x) → ∀xq(x))) = T (by the truth values
for negation).
We have shown that if the antecedent of the formula is true in I , then the consequent is true
in I . Since I is an arbitrary interpretation, we conclude that the who formula is true in any
interpretation.

(ii) To prove that B = ∃x∃yp(x, y) ↔ ∀x∀y¬p(x, y) is unsatisfiable, we must show that it is false in
all interpretations.
Let I be an arbitrary interpretation of B.

vI (∃x∃yp(x, y)) = T iff vσI (p(x, y)) = T for some assignment σI (by Theorem 7.22)
iff vσI (¬p(x, y)) = F for some assignment σI
(by the truth values for negation)
iff vI (∀x∀y¬p(x, y)) = F (by Theorem 7.22)

Since vI (∃x∃yp(x, y)) = T iff vI (∀x∀y¬p(x, y)) = F , we conclude that vI (∃x∃yp(x, y)) 6=
vI (∀x∀y¬p(x, y)), and thus that vI (∃x∃yp(x, y) ↔ ∀x∀y¬p(x, y)) = F (by the truth values for
equivalence). Since I is an arbitrary interpretation, we conclude that B is unsatisfiable.

Question 2 (10)
(i) Consider the formula A = ∀x(p(x) ↔ ∃y(q(y) ∧ r(x, y))). Under the given interpretation, this
formula states that for all natural numbers x, x is stange iff there is an odd number y such that
x has y distinct divisors.

(ii) To prove that A is falsifiable, we need to specify an interpretation in which it is false. There are
many possibilities. Here are a few:
(a) We can use the interpretation given for part (i), but just change the interpretation of pred-
icate p, say to the relation prime. Under this interprepretation, formula A states that all
prime numbers have an odd number of distinct divisors. This is obviously not true for any
prime number, because every prime number has exactly 2 distinct divisors, namely 1 and
itself.
(b) We can change the interpretation of predicate q, say to the unary relation even. Under
this interprepretation, formula A states that all strange numbers have an even number of
distinct divisors. This is obviously not true, according to the definition of strange numbers.



2
R133,00
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
passynsapo75

Get to know the seller

Seller avatar
passynsapo75 University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
5 year
Number of followers
1
Documents
0
Last sold
3 year ago

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions