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

COS3751 ASSIGNMENT 3 ANS 2023

Rating
1.8
(4)
Sold
20
Pages
10
Uploaded on
08-08-2023
Written in
2023/2024

COS3751 ASSIGNMENT 3 Due Date: 28 August 2023 Total Marks: 83 YEAR MODULE

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 8, 2023
Number of pages
10
Written in
2023/2024
Type
Other
Person
Unknown

Subjects

Content preview

QUESTION 1

To convert the given FOL sentence to Conjunctive Normal Form (CNF), we need to follow these steps:



Step 1: Move the quantifiers to the leftmost position:

∀x(∀y(¬P(y) ∨ Q(x, y)) ⇒ (¬∀yQ(y, x)))



Step 2: Eliminate the implication (⇒) using the equivalence A ⇒ B ≡ ¬A ∨ B:

∀x(∀y(¬P(y) ∨ Q(x, y)) ⇒ (¬∀yQ(y, x))) is equivalent to

∀x(∀y(¬(¬P(y) ∨ Q(x, y)) ∨ (¬∀yQ(y, x))))



Step 3: Apply De Morgan's law to eliminate the negation inside:

∀x(∀y((P(y) ∧ ¬Q(x, y)) ∨ (∃y¬Q(y, x))))



Step 4: Distribute the quantifiers over the disjunction (∨):

, ∀x∀y((P(y) ∧ ¬Q(x, y)) ∨ (∃y¬Q(y, x)))



Step 5: Convert the sentence to Conjunctive Normal Form (CNF):

∀x∀y(P(y) ∨ ¬Q(x, y)) ∧ ∀x∀y(∃y¬Q(y, x))



Therefore, the given FOL sentence has been converted to CNF as:

∀x∀y(P(y) ∨ ¬Q(x, y)) ∧ ∀x∀y(∃y¬Q(y, x))



QUESTION 2

2.1) Vocabulary for the statements:

- AI exam: AI_exam(x)

- Passes exams: Passes_exams(x)

- Wins the lottery: Wins_lottery(x)

- Is happy: Is_happy(x)

- Studies hard: Studies_hard(x)

- Is lucky: Is_lucky(x)

- Jack: jack



2.2) Translation of English sentences to FOL statements:

1. ∀x (AI_exam(x) ∧ Wins_lottery(x)) ⇒ Is_happy(x)

2. ∀x (Studies_hard(x) ∨ Is_lucky(x)) ⇒ Passes_exams(x)

3. ¬Studies_hard(jack)

4. Is_lucky(jack)

5. ∀x (Is_lucky(x) ⇒ Wins_lottery(x))



2.3) Conversion of FOL statements to CNF:

1. ¬(AI_exam(x) ∧ Wins_lottery(x)) ∨ Is_happy(x)

2. ¬(Studies_hard(x) ∨ Is_lucky(x)) ∨ Passes_exams(x)

3. ¬Studies_hard(jack)

4. Is_lucky(jack)

5. ¬Is_lucky(x) ∨ Wins_lottery(x)
$6.09
Get access to the full document:
Purchased by 20 students

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

Reviews from verified buyers

Showing all 4 reviews
2 year ago

2 year ago

Not all methods are correct.

2 year ago

Question 4 has misleading and wrong counting of (YES and NO)

2 year ago

1.8

4 reviews

5
0
4
0
3
1
2
1
1
2
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

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.
GoldenKey University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
135
Member since
4 year
Number of followers
122
Documents
31
Last sold
3 months ago

3.4

11 reviews

5
4
4
1
3
3
2
1
1
2

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