COS2661
ASSIGNMENT 2 2025
UNIQUE NO. 800278
DUE DATE: 25 JUNE 2025
,COS2661 ASSIGNMENT 02 – UNIQUE NUMBER: 800278
Name:
Student Number:
Due Date: 25 June 2025
Question 1
1.1
Given: ∃x ¬P(x)
Tautological Equivalence: ¬∀x P(x)
Explanation: This equivalence is based on the principle of quantifier negation: saying
“there exists an x such that P(x) is false” is logically the same as saying “it is not the
case that P(x) is true for all x.”
1.2
Given: ∀x ¬P(x)
Tautological Equivalence: ¬∃x P(x)
Explanation: Saying “P(x) is false for all x” is logically equivalent to saying “there is no
x for which P(x) is true.”
1.3
Compare: A ↔ B and (A ∧ B) ∨ (¬A ∧ ¬B)
Truth Table:
, A B A ↔ B (A ∧ B) ∨ (¬A ∧ ¬B)
T T T T
T F F F
F T F F
F F T T
Conclusion: The two expressions are tautologically equivalent, as their truth values
match in all cases.
Question 2
2.1
Sentence: If David is a student at Cyprian College, Patty is the teacher who teaches
him.
FOL:
Student(david, cc) → (Teacher(patty) ∧ Teach(patty, david))
2.2
Sentence: Unless Patty is a student there, Temba is the principal heading Cyprian
College.
FOL:
¬Student(patty, cc) → (Principal(temba) ∧ Head(temba, cc))
ASSIGNMENT 2 2025
UNIQUE NO. 800278
DUE DATE: 25 JUNE 2025
,COS2661 ASSIGNMENT 02 – UNIQUE NUMBER: 800278
Name:
Student Number:
Due Date: 25 June 2025
Question 1
1.1
Given: ∃x ¬P(x)
Tautological Equivalence: ¬∀x P(x)
Explanation: This equivalence is based on the principle of quantifier negation: saying
“there exists an x such that P(x) is false” is logically the same as saying “it is not the
case that P(x) is true for all x.”
1.2
Given: ∀x ¬P(x)
Tautological Equivalence: ¬∃x P(x)
Explanation: Saying “P(x) is false for all x” is logically equivalent to saying “there is no
x for which P(x) is true.”
1.3
Compare: A ↔ B and (A ∧ B) ∨ (¬A ∧ ¬B)
Truth Table:
, A B A ↔ B (A ∧ B) ∨ (¬A ∧ ¬B)
T T T T
T F F F
F T F F
F F T T
Conclusion: The two expressions are tautologically equivalent, as their truth values
match in all cases.
Question 2
2.1
Sentence: If David is a student at Cyprian College, Patty is the teacher who teaches
him.
FOL:
Student(david, cc) → (Teacher(patty) ∧ Teach(patty, david))
2.2
Sentence: Unless Patty is a student there, Temba is the principal heading Cyprian
College.
FOL:
¬Student(patty, cc) → (Principal(temba) ∧ Head(temba, cc))