Submission instructions: Submit your answers to the following problems as a sing

Submission instructions: Submit your answers to the following problems as a single pdf file.
Computer typesetting is encouraged, but if you are handwriting your solutions on paper or on a
touchscreen device, please make sure your solutions are legible.
Problem 1.
Verify that [𝑝 β†’ (π‘ž β†’ π‘Ÿ)] β†’ [(𝑝 β†’ π‘ž) β†’ (𝑝 β†’ π‘Ÿ)] is a tautology.
Problem 2.
Assuming proposition π‘ž is true (T), determine all truth value assignments for the propositions 𝑝,
π‘Ÿ, and 𝑠 for which the truth value of the following compound proposition is false (F).
(π‘ž β†’ [(¬𝑝 ∧ π‘Ÿ) ∨ ¬𝑠]) ∨ [𝑠 β†’ (Β¬π‘Ÿ ∧ π‘ž)]
Explain your reasoning.
Problem 3.
Consider each of the following arguments. If the argument is valid, identify the rule of inference
that establishes its validity. If not, explain why.
a) Andrea can program in C++, and she can program in Java. Therefore, she can program in
C++.
b) If Ron’s computer program is correct, then he’ll be able to complete his computer science
assignment in at most two hours. It takes Ron over two hours to complete his computer
science assignment. Therefore, Ron’s computer program is not correct.
c) If interest rates fall, then the stock market will rise. Interest rates are not falling. Therefore,
the stock market will not rise.
Problem 4.
Let the universe for the variables in the following statement consist of all real numbers. Negate
and simplify βˆ€π‘₯βˆ€π‘¦[(|π‘₯| = |𝑦|) β†’ (𝑦 = Β±π‘₯)].
Problem 5.
A perfect square is an integer which is also square of an integer. More formally, 𝑛 ∈ β„€ is a perfect
square if 𝑛 = π‘Ž2 for some π‘Ž ∈ β„€.
Prove or disprove the following two claims.
a) If π‘š and 𝑛 are perfect squares, then the product π‘šπ‘› is also a perfect square.
b)Ifπ‘šand𝑛are perfect squares, then the sumπ‘š+𝑛is also a perfect square.