Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 TrustPilot
logo-home
Other

COS3751 - Assignment 3 2023

Rating
-
Sold
1
Pages
8
Uploaded on
10-08-2023
Written in
2023/2024

Complete Solutions to COS3751 Assignment 3 for the year 2023.

Content preview

UNISA
Assignment 3
COS3751
Title

, Question 1
FOL:
∀x (∀y (⌐P(y) V Q(x, y)) → (¬∀y Q(y, x)))

In CNF:
1. Eliminate the Implication (→):
¬(¬P(y) V Q(x, y)) V (¬∀y Q(y, x))

2. Apply De Morgan's Law:
(P(y) ∧ ¬Q(x, y)) V (¬∀y Q(y, x))

3. Apply Quantifier Negation:
(P(y) ∧ ¬Q(x, y)) V (∃y ¬Q(y, x))

4. Skolemization: Introduce Skolem constants for the existential quantifiers. Let's say we use
Skolem constants s1 and s2:
(P(y) ∧ ¬Q(x, y)) V ¬Q(s2, x)

5. Distribute the Disjunction (∨) over the Conjunction (∧):
(P(y) V ¬Q(s2, x)) ∧ (¬Q(x, y) V ¬Q(s2, x))

6. Apply Distribution again:
(P(y) V ¬Q(s2, x)) ∧ (¬Q(x, y) ∧ ¬Q(s2, x))

7. Apply Distribution one last time:
(P(y) ∧ ¬Q(x, y)) ∧ (P(y) ∧ ¬Q(s2, x)) ∧ (¬Q(x, y) ∧ ¬Q(s2, x))

Now the sentence is in Conjunctive Normal Form (CNF), which is a conjunction (AND) of clauses,
where each clause is a disjunction (OR) of literals.


Question 2
2.1)

• Predicates:
Passes(x, y): Person x passes exam y.
Happy(x): Person x is happy.
WinsLottery(x): Person x wins the lottery.
StudiesHard(x): Person x studies hard.
Lucky(x): Person x is lucky.
• Constants:
Jack: Refers to the person named Jack.
2.2)

Document information

Uploaded on
August 10, 2023
Number of pages
8
Written in
2023/2024
Type
OTHER
Person
Unknown

Subjects

R100,00
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Learn2Progress Learn2Progress
View profile
Follow You need to be logged in order to follow users or courses
Sold
75
Member since
3 year
Number of followers
63
Documents
15
Last sold
2 year ago

4,6

5 reviews

5
4
4
0
3
1
2
0
1
0

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions