Practice Problems Week 7
Practice Problems Week 7
Brian James
Work on the practice problems must be typed and submitted in pdf format only. Any other
formats will not be accepted. Make your own copy (File > Make a copy) of the document. Edit
your copy of the documents with your answers. Then, download a copy of your word doc as a
PDF (File > Download > PDF) and submit it through the Canvas submission page.
Note: When asked to write proof, create the problems on proof-checker.org and paste the
screenshots of your successful proofs in this document for your submission.
Consider working with others when needed on the following problems:
Yes, it is a theorem.
4. If you have time, show that the following argument is invalid using the method described
in lecture:
∀𝑥𝑥 (𝐹𝐹𝐹𝐹 ∨ 𝐺𝐺𝐺𝐺), ¬𝐹𝐹𝐹𝐹
𝐺𝐺𝐺𝐺
Domain: our pets
Fx: x is a swimmer.
Gx: x is a flyer.
a: Our new pet bird
b: Our new pet fish
Fa v Ga Our new pet bird is a flyer, or Our new pet bird is a swimmer
~Fa Our new pet bird is a not a swimmer.
----
Gb Our new pet fish is a flyer.
The argument is invalid.
Lab: Relations, functions, identity, and multiple quantifiers
1. Write a FOL formula to express that predicate F (with arity 2) is reflexive.
Ax(Fxx)
2. Write a FOL formula to express that predicate F (with arity 2) is transitive.
AxAyAz(Fxy ^ Fyz -> Fxz)
3. Prove the theorem we proved in class on your own.
5. Translate "there are no more than two apples" to logic. Use the translation key "Fx x is
an apple".
Fx = x is an apple
∀x∀y∀z[(Fx ^ Fy ^ Fz) → ((x = y) v (x = z) v (y = z))]
6. Translate "there are exactly two apples" to logic. Use the translation key "Fx x is an
apple".
“There are at least two apples, and there are at most two apples.”
∃x∃y((Fx ^ Fy) ^ ~(x = y)) ^ ∀x∀y∀z[(Fx ^ Fy ^ Fz) → (((x = y) v (x = z)) v (y = z))]