This is the first of two assignments and is worth 15% of the total grade. The assignment is due Sunday 02nd March 2025, 2359. Submit your solutions digitally on Canvas, a submission box will be open under “Assignments > Assignment 1”.

There are 5 questions for a total of 15 marks. There is also a optional bonus question that you may attempt, for 2 marks. The total earnable marks is 17 out of 15 marks. (Think of the bonus marks as potentially making up any minor mistakes you may have made in the other parts of this assignment.)

Please make sure your handwriting is legible. You may scan/take a picture of handwritten solutions, you may also type your solutions. We are not particular about the symbol use if you cannot type out the symbols but please make it clear to us what symbol you were intending to use.

How to submit:

  • Submit online on Canvas. There is a submission box on Canvas for you to submit your document. Either .docx, .pdf, or a picture of your written solutions are acceptable as long as we can read your attempts.
  • Official due date for submission : Sunday 02nd March 2025, 2359

Collaboration Policy:

  • You may discuss high-level ideas with your classmates or friends. You should list your collaborators if you do so.
  • Do not share your solutions.
  • ChatGPT (and other LLMs) are not allowed.
  • Your submission must be of your own write-up.

Late Policy:

  • No late submissions for the assignment allowed.

Question 1 (1 mark):

Is logically equivalent to ?

Fill out the 4 remaining cells to check whether they are equivalent. You need not show intermediate working (but you can if you feel that it helps you).


Question 2 (2 marks):

Is the following logical equivalence true?

Fill out the 8 remaining cells to check whether they are equivalent. You need not show intermediate working (but you can if you feel that it helps you).


Question 3 (4 marks):

Let and . Determine which of the following quantified statements are true:

You do not have to give a formal proof of the statements; you may simply state whether the statements are true or false.


Question 4 (3 marks):

Prove the following statement:

Theorem

You may use the following definitions of predicates in your proof:

You may also use the following lemmas in your proof:

Lemma 1

Hint: Use lemma 1 to say that is either even or odd. When that happens, try to prove both cases separately.

We recommend doing the proof step by step following the rules laid out in Inferences in case you unsure about which steps are and not allowed. If steps are skipped, it is up to the grader’s discretion as to whether to penalise or not.


Question 5 (5 marks):

Let be the predicate that essentially says “We can find a rational number strictly in between values and .”

We want to disprove the following statement:

i.e., we believe that it is false. Your friend has already done part of it. In particular, your friend has already negated the statement:

And also started a proof. Your friend’s proof has these steps, and they want you to help them fill in the remaining portions of the proof.

    1. Assume for the sake of contradiction that .
  1. [Proof by contradiction rule]
  2. [Existential generalisation on lines 1 and 2]

Fill in the remaining portion of the proof in the middle. You may need more than 4 lines, that is okay, in which case the line should be shifted accordingly. For example if you used 8 lines in your proof after line 1.1, then should be on on line 1.10.

We recommend doing the proof step by step following the rules laid out in Inferences in case you unsure about which steps are and not allowed. If steps are skipped, it is up to the grader’s discretion as to whether to penalise or not.


Bonus Question: (2 marks)

Assume every person either only tell lies (knave) or only speaks the truth (knight). A family of 4 say the following the statements:

Agnes: “Edith and Gru are of the same type.” Edith: “Margo is a knave.” Margo: “Gru is a knight.” Gru: “Agnes is lying!”

We can use predicates to encode these statements mathematically as follows:

  1. means is a knave.
  2. means is a knight.
  3. “Every person is either a knight or a knave” can be written as
  4. “Every person cannot be both a knight and a knave” can be written as

For each character, identify whether they are a knight or knave!