Homework1 Baypazzar
Homework1 Baypazzar
Topic: Logic
Instructions:
• Questions listed as “Section x.y Problem z” are from the course textbook.
• This assignment must be completed individually, on your own.
• You may use an AI assistant such as Chat-GPT or Claude on this assignment, but there
are important restrictions:
o You must use an AI assistant account that saves your chat history for future
reference. Be prepared to log in to your AI assistant account and show your "live"
chat history to the instructor or TAs.
o You must cite AI whenever it was used. It is sufficient to cite the name of the AI
model and the type of help you received. For example: (received hints from
ChatGPT) or (copied answer from Chat-GPT).
o You are not allowed to rely on an AI model that allows you to directly browse and
copy online solutions to similar problems.
o You must have your own conversation with the AI assistant; you are not allowed
to share your conversation output with other students. o Be aware that the AI
models do get things wrong!
o Please do not rely on these to do the work for you because this will inhibit your
own learning, and because they make mistakes. Practice using AI as a tutor.
• When answering questions, always justify your answer.
• Unless otherwise stated, you cannot use truth tables to prove logical equivalences.
• Full credit requires exemplary answers that are clear, concise, and complete.
(a) (5 points) Write the following English sentence as a proposition using p, q, and/or r:
"I will eat lunch if the restaurant is open."
(b) (5 points) Write the following English sentence as a proposition using p, q, and/or r:
"I will eat lunch only if I am hungry and the restaurant is open."
6. Let the binary predicate F(x,y) be the statement "You can fool person x at time y".
a. (10 points) Express the famous Bob Marley quote, "You can fool some people
sometimes, but you can't fool all the people all the time" using F(x,y) and
quantifiers. You must simplify all negations (no negations to the left of a
quantifier). You may use a compound predicate statement involving Ù or
Ú.
b. (5 points) Negate the previous statement, simplify all negations, and express as a
statement in English, as simply as you can.
7. (20 points) Prove the conclusion from the premises, stating the rules of inference that you
use. You must number the lines of your proof and reference the appropriate lines
when you state the rules of inference.
"If there is a tree in the park, it is over 10 years old. Every tree over 10 years old has deep
roots. There is a tree in the park. Therefore, there is a tree with deep roots in the park."
Let P(x) be, "x is in the park," let T(x) be, "x is over 10 years old," and let R(x) be, "x has
deep roots." Use y to represent an unspecified oak tree.