Professional Documents
Culture Documents
Assignment 1
Write your name and your student number in the spaces provided below.
Full working must be shown in your answers.
Assignments should be neatly handwritten in blue or black pen.
To complete this assignment you should write your solutions into the blank answer spaces following
each question.
– If you have a printer (or can access one), then you should print out the assignment template,
handwrite your solutions into the answer spaces and then scan your assignment to a PDF file
for upload; If you do not have a printer, but you can annotate a PDF using an iPad/Android
tablet/Graphics tablet, then annotate your answers directly onto the assignment PDF and
save a copy for submission;
– Whether you complete on paper or by annotating the pdf, if you find you are unable to answer
the whole question in the answer space provided then you can append additional handwritten
solutions to the end of your template assignment. If you do this you must make a note in the
correct answer space for the question, warning the marker that you have appended additional
remarks at the end.
When complete, scan your assignment and upload in ‘GradeScope’.
Please note that some marks will be allocated for properly setting out your solutions and the
correct use of notation.
Students must not seek or obtain help with assignment questions from others, including:
fellow students, University employees or people from outside the University, whether in person or
via social media (or other means of communication). Seeking, obtaining or providing such help is
considered to be academic misconduct.
Name:
Student ID:
(a) Write down a question which you can ask to either of the guardians that will allow you to find
the treasure.
Hint: Either you will ask your question to the knight, or you will ask it to the knave.
Consider the two possible cases separately. You must find a way for one question to involve
both guardians.
Remark: This question illustrates an important feature of humans and other animals: we
possess and can use knowledge, not just about the physical world, but also about the knowledge
and behaviours of other creatures. Solving this question requires you to use your knowledge
of what the knight and the knave know about the world and each other and how they will
each behave.
(b) Explain how your question will lead you to find the treasure.
(a) Translate the statement P into a quantified, conditional statement in First Order Logic.
(b) Express the statement P in First Order Logic using the contrapositive to the conditional in
your answer to Part(b).
(c) In fact zero is the only number with the property identified in P . Express this fact in First
Order Logic.
(d) For your statement in Part (c), show how to provide examples which verify the statement for
each non-zero real number.
3. (4 marks) A tautology:
Prove that ((p ⇔ q) ⇔ r) ⇔ (p ⇔ (q ⇔ r)) is a tautology.
(b) Present detailed proofs of your translations of the statements from Part (a).