• Keine Ergebnisse gefunden

SS 2013 June 19th, 2013 In-class Exercises to the Lecture Logics Sheet 5 Jun.-Prof. Dr. Roland Meyer Discussion on June 20th and 21st, 2013

N/A
N/A
Protected

Academic year: 2021

Aktie "SS 2013 June 19th, 2013 In-class Exercises to the Lecture Logics Sheet 5 Jun.-Prof. Dr. Roland Meyer Discussion on June 20th and 21st, 2013"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

SS 2013 June 19th, 2013 In-class Exercises to the Lecture Logics

Sheet 5

Jun.-Prof. Dr. Roland Meyer Discussion on June 20th and 21st, 2013 Exercise 5.1 [Formulae in predicate logic]

a) Let A @xDyppx, yq and B Dy@xppx, yq . Which of these formulas is deducible from the other? Are they equivalent?

b) Is the formula @xppxq Ñ Dxppxq a tautology?

Exercise 5.2 [Tautologies]

Suppose A

1

is formula in predicate logic that is obtained from a formula A in proposi- tional logic by replacing each variable with an atomic formula in predicate logic. Here, all occurrences of a given variable should be replaced by the same atomic formula. Example:

If A p p ^ q q Ñ p p _ q q , then A

1

could be p r p a, b q ^ s p c qq Ñ p r p a, b q _ s p c qq .

Prove: If A is a tautology in propositional logic, then A

1

is a tautology in predicate logic.

Exercise 5.3 [Elimination of “ ”]

We write FO

p S q for the set of formulae in predicate logic over the signature S in which the symbol “ ” does not occur.

a) Devise a method that transforms a formula A P FO p S q into an equisatisfiable formula A

1

P FO

p S q .

b) Describe how, given a model for A

1

, one can construct a model for A.

Exercise 5.4 [Skolem normal form]

a) Suppose A @ y

1

@ y

n

D zB. Furthermore, let f { n P Sko be a Skolem symbol not occurring in B. Show that

@ y

1

@ y

n

B t z { f p y

1

, . . . , y

n

qu is equisatisfiable with A.

b) Conclude that the algorithm in Definition 3.26 yields an equisatisfiable formula.

c) Show that Skolemization can yield a formula that is not necessarily equivalent to the

input formula. Consider, for example, the formula @ x D yp p x, y q .

Referenzen

ÄHNLICHE DOKUMENTE

[r]

b) In Exercise 1.3 you saw that it is possible to construct an equivalent formula in DNF for any given formula. Explain why the following is not an efficient algorithm for

Mai 2012 In-class Exercises to the Lecture Logics.

Smullyan’s ball game is played by one player according to the following rules: There is a container that has capacity for an unlimited number of balls.. Furthermore, there is

[r]

such that you can define sets of graphs using formulae... b) Present a formula that defines precisely the set of connected graphs. Exercise

[r]

A variant of Herbrand’s Theorem reads: A formula in first order predicate logic without “=” is satisfiable if and only if it has a Herbrand model.. a) Present a satisfiable formula