How to submit:

  • Submit before actual tutorial time for it to be graded. There are 2 ways to do this:
    1. 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.
    2. Submit your written attempts in-person during our tutorial.
  • Official due date for submission: 10 Feb 2026, 11:59 PM or during tutorial itself.

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:

  • < 1 week after submission deadline: 50% penalty
  • < 2 weeks after submission deadline: 75% penalty
  • No submissions after 2 weeks.

Overview

This tutorial gives practice questions to be discussed during the relevant tutorial in person. This particular tutorial sheet corresponds to Unit 1 Part 3. It is recommended to either watch the lectures or read the notes for each respective parts before attempting the tutorial sheet.

All the questions here are related to proofs.

Questions 1 and 5 are graded for participation.

That said, we encourage you to try all the questions. This way, when you come for tutorials we can make the best use of your time since you can either verify your solutions, or understand the discussions when our tutors go through the solutions.


Question 1 [Graded for Participation]:

For the following proofs, fill in the blanks with the corresponding rule of deduction used, quoting the appropriate line numbers where necessary.

Sub-part 1

Proof:

  1. Let be arbitrarily chosen.
  2. Suppose .
  3. Case 1: Assume .
    1. . [ (a) Rule of deduction: Basic algebra ]
  4. Case 2: Assume .
    1. . [ (b) Rule of deduction: Basic algebra ]
  5. In all cases, we have . [ (c) Rule of deduction: Proof by cases on lines 2, 3.1, 4.1 ]
  6. . [ (d) Rule of deduction: Implication introduction on lines 2 and 5 ]
  7. . [ (e) Rule of deduction: Universal generalisation on lines 1 and 6 ]

Sub-part 2

Proof:

  1. Let be arbitrarily chosen.
  2. Suppose, for the sake of contradiction, that .
    1. . [Logically equivalent to line 2]
    2. . [Basic algebra]
    3. [Basic algebra]
    4. . [ (f) Rule of deduction: Conjunction on lines 1 and 2.3 ]
    5. . [ (g) Rule of deduction: Contradiction rule on line 2.4 ]
  3. . [ (h) Rule of deduction: Proof by contradiction on line 2.5 ]
  4. . [Universal generalisation on lines 1 and 3]

Question 2:

For each of the following proofs, identify where there were incorrect/missing steps of justification, and discuss potential corrections to them.

Sub-part 1

Proof:

  1. Let .
  2. Since , . [Basic algebra]
  3. . [Existential generalisation on line 2]

Missing a line introducing as a variable and not explaining which domain it draws from. Missing a universal instantiation rule. In general, the last line itself is actually packing multiple things into a single line. But it’s not following what the existential generalisation rule is doing.

Sub-part 2

For any integer , we define the predicate to be the following:

Proof:

  1. Let be arbitrarily chosen.
  2. Suppose .
  3. Let . [Instantiation on line 2]
  4. Then , where . [Basic algebra]
  5. Therefore . [Definition of ]

On line 1, we didn’t specify which domain is drawn from. We’re skipping the step of first unpacking the definition. Line 4 has done the algebra wrong, should be . At the end of the proof, we need to finish the proof with 2 more lines by re-introducing the implication, and then applying universal generalisation.

Sub-part 3

Proof:

  1. Suppose, for the sake of contradiction, that .
  2. Let be such that . [Universal instantiation on line 1]
  3. But multiplying any number by gives an even number and is not even, so this is impossible. [Contradiction]
  4. . [Proof by contradiction on line 3]

The biggest issue to focus on here is that line 3 is in English and we’re not really applying the contradiction rule to obtain a contradiction here. It’s not really following the proof system on how to actually obtain a contradiction.


Question 3:

Fill in the missing steps in the following proof, given the rules of deduction.

You may use the following lemma in your proof:

Lemma

.

We also define the following predicate:

Proof:

  1. Let be arbitrarily chosen.
  2. . [Universal instantiation of given lemma]
  3. Case 1: .
    1. . [Definition of ]
    2. Let be such that . [Existential instantiation on line 3.1]
    3. . [Basic algebra]
    4. Since , we know that . [Basic algebra]
    5. . [Existential generalisation on line 3.4]
    6. . [Definition of ]
  4. Case 2: .
    1. . [Definition of ]
    2. Let be such that . [Existential instantiation on line 4.1]
    3. . [Basic algebra]
    4. Since , we know that . [Basic algebra]
    5. . [Existential generalisation on line 4.4]
    6. . [Definition of ]
  5. In all cases, . [Proof by cases on lines 2, 3.6, 4.6]
  6. . [Universal generalisation on lines 1 and 5]

Question 4:

For this question, we refer to the following definition of rational numbers:

Prove the following statement:

Solution

  1. Let be arbitrarily chosen.
  2. . [Basic algebra]
  3. . [Basic algebra]
  4. . [Basic algebra]
  5. . [Conjunction on lines 3 and 4]
  6. . [Existential generalisation on line 5]
  7. . [Definition of ]
  8. . [Universal generalisation on lines 1 and 7]

Question 5 [Graded for Participation]:

Prove the following statement:

You may use the following theorems:

Theorem

.

Theorem

.

Solution

  1. Let and be arbitrarily chosen.
  2. Assume that .
    1. . [Logically equivalent to line 2]
    2. [Specialisation on line 2.1]
    3. [Specialisation on line 2.1]
    4. [Using Lemma 1]
    5. [Universal instantiation on line 1, 2.2]
    6. [Universal instantiation on line 1, 2.3]
    7. . [Definition of ]
    8. Let be such that . [Existential instantiation on lines 1, 2.7]
    9. Let be such that . [Existential instantiation on line 1, 2.7]
    10. . [Basic algebra, from lines 2.8 and 2.9]
    11. Since , . [Basic algebra, from line 2.10]
    12. . [Existential generalisation on lines 2.10 and 2.11]
    13. . [Definition of on line 2.12]
    14. Since , [Basic algebra]
    15. . [Universal instantiation on line 2.14, 2.4]
  3. . [Implication introduction on lines 2 and 2.13]
  4. . [Logically equivalent to line 3]
  5. , [Universal generalisation on lines 1 and 4]

Question 6:

Prove the following statement:

Theorem

Solution

Proof:

  1. Let be arbitrarily chosen.
  2. Assume for the sake of contradiction that .
    1. . [Double negation on line 2]
    2. . [Specialisation on line 2.1]
    3. . [Unpacking definition of ]
    4. Let be such that . [Existential instantiation on line 2.3]
    5. . [Specialisation on line 2.1]
    6. . [Unpacking definition of ]
    7. Let be such that . [Existential instantiation on line 2.6]
    8. Then, we have . [Basic algebra, from lines 2.4 and 2.7]
    9. . [Basic algebra]
    10. . [Basic algebra]
    11. . [Basic algebra, from line 2.10]
    12. Since and , we have . [By basic algebra, from lines 2.4 and 2.7]
    13. . [Conjunction on lines 2.11 and 2.12]
    14. . [Contradiction rule on line 2.13]
  3. . [Proof by contradiction rule on line 2.14]
  4. . [Universal generalisation on lines 1 and 3]

Note: There’s actually quite a few ways to do this question. But generally, the “most natural” way will probably have you deriving a contradiction somehow.


Question 7 [Bonus]:

You are tasked with building a load balancer that services clients, and has to balance them between servers. All clients will request to be serviced at the same time at the start of the day, and the load balancer must assign each client a server immediately at the start of the day.

Your boss tells you to keep costs down, that each server must service fewer than clients in total. Let be the number of clients that the server has to service, i.e., is the number of clients for the first server, is the number of clients for the second server, and so on. Since we have servers, we have quantities .

Question: Prove to yourself and your boss that this is impossible.

Solution:

Before we begin the proof, let’s formalise what the question wants us to prove. We need to show that the following statement is true:

Given such that , and the set (refer to this section for an explanation of this notation),

Essentially, that it is impossible (indicated by the "" symbol) for all servers to service fewer than clients. Now that we have a concrete statement down, we can continue proving it:

Solution

Proof:

  1. Let , arbitrarily chosen, be such that .
  2. Assume for the sake of contradiction that .
    1. Then, we must have that , , , . [Universal instantiation on line 2.1]
    2. . Rewriting this (for presentation’s sake), we have . [Basic algebra]
    3. In particular, . [Basic algebra]
    4. . [Conjunction on lines 1 and 2.3]
    5. . [Contradiction rule on line 2.4]
  3. . [Proof by contradiction rule on line 2.5]
  4. Therefore, [Universal generalisation on lines 1 and 3]

Thus, such a task is impossible.