100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 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.

Institution
Course









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

Written for

Institution
Course

Document information

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

Subjects

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)

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
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
1 year ago

4.6

5 reviews

5
4
4
0
3
1
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 tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card 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