Download Howework 8

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Modal logic wikipedia , lookup

Axiom of reducibility wikipedia , lookup

History of logic wikipedia , lookup

History of the function concept wikipedia , lookup

Model theory wikipedia , lookup

Structure (mathematical logic) wikipedia , lookup

Gödel's incompleteness theorems wikipedia , lookup

Jesús Mosterín wikipedia , lookup

Quantum logic wikipedia , lookup

First-order logic wikipedia , lookup

Non-standard calculus wikipedia , lookup

Axiom wikipedia , lookup

Interpretation (logic) wikipedia , lookup

Foundations of mathematics wikipedia , lookup

Propositional calculus wikipedia , lookup

Sequent calculus wikipedia , lookup

Mathematical proof wikipedia , lookup

List of first-order theories wikipedia , lookup

Intuitionistic logic wikipedia , lookup

Law of thought wikipedia , lookup

Principia Mathematica wikipedia , lookup

Theorem wikipedia , lookup

Mathematical logic wikipedia , lookup

Curry–Howard correspondence wikipedia , lookup

Peano axioms wikipedia , lookup

Laws of Form wikipedia , lookup

Transcript
Applied Logic
Homework 8
CS 4860 Spring 2009
Due Date: Thursday, April 30, 2009
Reading
The nal three lectures will review the material that we have covered so far, elaborate some of the
issues a bit deeper, and discuss the philosphical implications of the results and methods used.
Please prepare questions that you would like to see adressed in these lectures.
Questions
(1) Prove
(∀x)(∃y)(0 6= x ⊃ y+1 = x) in Peano Arithmetic.
If you were to prove this formula in renement logic, what well-known function would the
evidence term describe?
(2) Show how to represent the following functions in Peano Arithmetic.
= x÷y
1 if x divides y
The function divides with divides(x, y) =
0 otherwise
1 if x is a prime number
The function prime with prime(x) =
0 otherwise
(a) Integer division div with
(b)
(c)
div(x, y)
(3) Show by providing an appropriate model that the following laws are not valid in
(a)
(b)
(c)
(d)
(e)
Q.
(∀x, y) (x + y = y + x)
(∀x, y, z) (x + (y + z) = (x + y) + z)
(∀x) (0 + x = x)
(∀x, y) (x ∗ y = y ∗ x)
(∀x) (0 ∗ x = 0)
(4) Bonus Let
P rov be a provability predicate for the theory Q and X and Y be formulas in the
Q. Assume |=Q P rov(dXe) ⊃ Y and |=Q P rov(dY e) ⊃ X
language of
Show, using Löb's theorem, that both
X
and
1
Y
are theorems in
Q.
Training Material
Here are some more questions that are similar to those that could be asked in an exam. You may
use them to prepare yourself. They will not be graded.
(1) Give a Tableau proof of
(p ∧ (q ∧ (r ∧ ((p ∨ r)⊃t))))⊃t.
(2) Prove the following formula in Renement logic
(∀x)[(∃y)P (x, y)⊃P (x, x)]⊃(∀z)(∀t)[P (z, t)⊃(∃y)P (x, y)]
(3) In the Tableau rules, there is a proviso on the
δ rules.
(a) If the proviso is removed, is the proof system consistent? Explain your answer as cogently as possible, using ideas from the course. The quality of your explanation is very
important.
(b) If the proviso is removed, is the proof system complete? Explain your answer.
hB, =, ⇔ , ∨ ,i with the identities , F. Dene the operations ∼, ∧ ,
⊃ in terms of the ring operations and prove the followng laws solely on the basis of the
(4) Consider the boolean ring
and
ring axioms.
p⊃(p ∨ q),
(p ∧ q)⊃p,
(3) (p ∧ q)⊃q ,
(4) p⊃(q⊃p),
(5) ∼q ⊃ (q⊃p),
(6) p⊃q ⊃ (∼q⊃∼p),
(7) p ∨ p ⇔ p.
(1)
(2)
and
2