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

COS3751 Assignment 3 (717989) 2025 Due 15 August 2025

Rating
-
Sold
7
Pages
16
Grade
A+
Uploaded on
07-08-2025
Written in
2025/2026

Comprehensive Answers.

Institution
Course










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

Connected book

Written for

Institution
Course

Document information

Uploaded on
August 7, 2025
Number of pages
16
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COS3751
ASSIGNMENT 03
Assignment No: 717989
Due 15 August 2025

,Question 1: First-Order Logic Translations

Vocabulary:


• Customer(p1, p2): Predicate — person p1 is a customer of person p2.

• Boss(p1, p2): Predicate — person p1 is a boss of person p2.

• Doctor(p): Predicate — person p is a doctor.

• Surgeon(p): Predicate — person p is a surgeon.

• Lawyer(p): Predicate — person p is a lawyer.

• Actor(p): Predicate — person p is an actor.

• Emily, Joe: Constants denoting individuals.


Translations to First-Order Logic:

(a) Emily is either a surgeon or a lawyer (but not both).

This is an exclusive disjunction — one of the two roles holds for Emily, but not both
simultaneously.



(Surgeon(Emily) ∨ Lawyer(Emily)) ∧ ¬(Surgeon(Emily) ∧ Lawyer(Emily))


Explanation: The disjunction ensures Emily has at least one role, while the negation
excludes the possibility of both roles, implementing a logical XOR.

(b) All surgeons are doctors.

This is a universal implication: for all individuals, being a surgeon implies being a doctor.



∀p (Surgeon(p) → Doctor(p))


Explanation: The formula applies to all people p, enforcing that the set of surgeons is a
subset of doctors.

1

, (c) Joe does not have a lawyer.

Joe is not the customer of any individual who is a lawyer.



∀p (Lawyer(p) → ¬Customer(Joe, p))


Alternative (equivalent) form:


¬∃p (Lawyer(p) ∧ Customer(Joe, p))


Explanation: Both forms are logically equivalent. The universal formulation aligns more
closely with the phrasing “not the customer of any lawyer.”

(d) There exists a lawyer all of whose customers are doctors.

This asserts the existence of at least one lawyer whose every customer is a doctor.



∃p (Lawyer(p) ∧ ∀q (Customer(q, p) → Doctor(q)))


Explanation: The inner universal quantifier ensures that all customers q of the lawyer
p are doctors. If the lawyer has no customers, the statement holds vacuously, which is
standard in first-order logic.

(e) Every surgeon has a lawyer.

Each surgeon is a customer of at least one lawyer.



∀p (Surgeon(p) → ∃q (Lawyer(q) ∧ Customer(p, q)))


Explanation: The existential quantifier inside the implication ensures that for each sur-
geon p, a corresponding lawyer q exists whom they are a customer of. The quantifier
order is essential to reflect the correct logical relationship.


Summary of Logical Translations:


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.
BeeNotes teachmetutor
Follow You need to be logged in order to follow users or courses
Sold
283
Member since
6 months
Number of followers
0
Documents
486
Last sold
1 week ago
BeeNotes

BeeNotes: Buzzing Brilliance for Your Studies Discover BeeNotes, where hard-working lecture notes fuel your academic success. Our clear, concise study materials simplify complex topics and help you ace exams. Join the hive and unlock your potential with BeeNotes today!

4.1

36 reviews

5
21
4
3
3
8
2
1
1
3

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