Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Antwoorden

Tutorial Letter 203/0/2020

Beoordeling
-
Verkocht
1
Pagina's
6
Geüpload op
26-09-2020
Geschreven in
2020/2021

This Tutorial Letter contains SOLUTIONS TO ASSIGNMENT 3

Instelling
Vak

Voorbeeld van de inhoud

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

Gekoppeld boek

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
26 september 2020
Aantal pagina's
6
Geschreven in
2020/2021
Type
Antwoorden
Persoon
Onbekend

Onderwerpen

$8.41
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
passynsapo75

Maak kennis met de verkoper

Seller avatar
passynsapo75 University of South Africa (Unisa)
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1
Lid sinds
5 jaar
Aantal volgers
1
Documenten
0
Laatst verkocht
3 jaar geleden

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen