• Keine Ergebnisse gefunden

a) Define the semantics of formulaet1 “t2, ppt1

N/A
N/A
Protected

Academic year: 2021

Aktie "a) Define the semantics of formulaet1 “t2, ppt1"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

SS 2013 June 12th, 2013 Exercises to the lecture Logics

Sheet 5

Jun.-Prof. Dr. Roland Meyer Due June 21st, 2013, 12pm

Exercise 5.1[Semantics of predicate logic]

On the slides, the semantics of a formula A P F OpSq in a structure M “ pD, Iq is defined as a function

MJAK:DV ÑB.

Since a functionDV ÑB corresponds to a subset ofDV (and vice versa), we can define the semantics of a formula A as such a subset.

a) Define the semantics of formulaet1t2, ppt1, . . . , tkq, A, A^B, A_B,DxA, and

@xA, if MJAK is to be a subset ofDV. Hint: Use set operators.

b) Using the new semantics of formulae, how do you define logical consequence Σ(A?

Exercise 5.2[Cardinality of domains]

Given a structure M“ pD, Iq, we write |M| for |D|, the cardinality of D. We say Mis finite if the set D is finite.

a) Present a closed formulaA such that M(A if and only if |M| “1.

b) Let B be a formula without the predicate symbol ““”. Given a finite interpretation Mwith M(B, how can you construct an interpretation M1 with |M1| “ |M| `1 and M1 (B? A proof for M1 (B is not absolutely necessary here.

c) Deduce from b) that there is no formula without ““” that is equivalent to the formula A above.

Exercise 5.3[A satisfiability check]

a) Present an algorithm that, given a formula A, a finite interpretation M, and a valuation σ P DV, decides whether M, σ ( A. Note: This means you have shown that satisfaction under a given finite interpretation is decidable.

b) LetAbe a closed formula of the formDx1¨ ¨ ¨ DxnB, in whichBcontains no quantifier.

Show: If A is satisfiable, then it has a model M with |M| ď |B|. (We say that the class of formulae of this shape exhibits a small model property.)

c) Prove using a) and b): Given a closed formulaA ” Dx1¨ ¨ ¨ DxnB as above, it can be decided algorithmically whether A is satisfiable.

(2)

Exercise 5.4[Modelling]

a) Describe function symbols and predicate symbols that model name, address, and preferred political party of individuals (e.g. in a database). It should be possible that for certain individuals, not all the data is available. In particular, you should specify the arity and the intended meaning of the function and predicate symbols.

b) Formalize the following integrity constraint: “If a person prefers party P or L, then their name and address are available.”

Delivery: until June 21st, 2013, 12pm into the box next to room 34/401.4

Referenzen

ÄHNLICHE DOKUMENTE

• Although there are no systematic studies on the optimal treatment of individuals in whom drug resistance due to PrEP is found, there is anecdotal evidence that

a certain graph, is shown, and he wants to understand what it means — this corre- sponds to reception, though it involves the understanding of a non-linguistic sign;

the top of the list: building a computer ca- pable of a teraflop-a trillion floating- point operations per second. Not surprisingly, Thinking Machines 63.. had an inside track

M 2.1 Contested heritage: the Cecil Rhodes Statue, Oriel College, Oxford / Auswerten einer Bildcollage.. M 2.2 Rhodes must fall in Oxford: the pros and cons / Auswerten einer

– Time spent for education - a key resource in the social and economic development, paper presented at the 2007 Annual Conference of International Association of Time Use

Prove this for a vocabulary containing a ternary relation R and a constant c as the only non-unary and non-binary symbols. Hint: Show that c and R can be eliminated by introducing

The German Devel- opment Institute / Deutsches Institut für Entwicklung- spolitik (DIE) is one of the leading global research in- stitutions and think tanks on global

Uses of HEU other than for nuclear weapons are as fuel in civilian research reactors, as base material for the production of special isotopes used in medical diagnostics,