• Keine Ergebnisse gefunden

Mixed quantifiers

N/A
N/A
Protected

Academic year: 2022

Aktie "Mixed quantifiers"

Copied!
19
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Proof methods for quantifiers

Logik f¨ ur Informatiker Logic for computer scientists

Till Mossakowski

WiSe 2013/14

(2)

Proof methods for quantifiers

Multiple quantifiers

(3)

Proof methods for quantifiers

Multiple quantifiers in Aristotelian forms

Some cube is left of a tetrahedron

∃x∃y[Cube(x)∧Tet(y)∧LeftOf(x,y)]

∃x[Cube(x)∧ ∃y(Tet(y)∧LeftOf(x,y))]

Every cube is left of every tetrahedron

∀x∀y[(Cube(x)∧Tet(y))→LeftOf(x,y)]

∀x[Cube(x)→ ∀y(Tet(y)→LeftOf(x,y))]

(4)

Proof methods for quantifiers

Multiple quantifiers and conversational implicature

What is the meaning of

∀x∀y[(Cube(x)∧Cube(y))→(LeftOf(x,y)∨RightOf(x,y))] ?

What is the meaning of

∃x∃y(Cube(x)∧Cube(y)) ?

(5)

Proof methods for quantifiers

Mixed quantifiers

Every cube is to the left of a tetrahedron.

∀x[Cube(x)→ ∃y(Tet(y)∧LeftOf(x,y))]

∀x∃y[Cube(x)→(Tet(y)∧LeftOf(x,y))]

(6)

Proof methods for quantifiers

Order of mixed quantifiers

∀x∃y Likes(x,y) is very different from

∃y∀x Likes(x,y)

(7)

Proof methods for quantifiers

There is exactly one . . .

There is exactly one cube.

∃x(Cube(x)∧ ∀y(Cube(y)→y =x))

(8)

Proof methods for quantifiers

Step-by-step translation

Each cube is to the left of a tetrahedron.

;

∀x(Cube(x)→x is-to-the-left-of-a-tetrahedron)

x is-to-the-left-of-a-tetrahedron;∃y(Tet(y)∧LeftOf(x,y))

∀x(Cube(x)→x is-to-the-left-of-a-tetrahedron)

;

∀x(Cube(x)→ ∃y(Tet(y)∧LeftOf(x,y)))

(9)

Proof methods for quantifiers

Paraphrasing can be necessary

Every farmer who owns a donkey beats it.

∀x(Farmer(x)∧∃y(Donkey(y)∧Owns(x,y))→Beats(x,y)) wrong!

Paraphrase:

Every donkey owned by any farmer is beaten by them.

∀x(Donkey(x)→ ∀y((Farmer(y)∧Owns(y,x))→Beats(y,x)))

(10)

Proof methods for quantifiers

Ambiguity and context sensitivity

Every minute a man is mugged in New York City.

We are going to interview him tonight.

weak reading:

∀x(Minute(x)→ ∃y(Man(y)∧MuggedDuring(y,x)))

strong reading:

∃y(Man(y)∧ ∀x(Minute(x)→MuggedDuring(y,x)))

(11)

Proof methods for quantifiers

Prenex Form

Every cube to the left of a tetrahedron is in back of a dodecahedron

∀x[(Cube(x)∧∃y(Tet(y)∧LeftOf(x,y)))→ ∃y(Dodec(y)∧BackOf(x,y))]

Conversion to prenex from shifts all quantifiers to the top-level:

∀x∀y∃z[(Cube(x)∧Tet(y)∧LeftOf(x,y))→(Dodec(z)∧BackOf(x,z))]

(12)

Proof methods for quantifiers

Prenex Form: Rules for conjunctions and disjunctions

∀xQ∧P ;∀x(Q∧P) ∃xQ∧P ;∃x(Q∧P) P∧ ∀xQ;∀x(P∧Q) P ∧ ∃xQ ;∃x(P ∧Q)

∀xQ∨P ;∀x(Q∨P) ∃xQ∨P ;∃x(Q∨P) P∨ ∀xQ;∀x(P∨Q) P ∨ ∃xQ ;∃x(P ∨Q) Note thatx must not be a free variable in P.

Ifx is a free variable in P, we can achieve this condition by the following rule:

∀xQ;∀yQ[y/x]

Here,Q[y/x] is Q with all free occurrences ofx replaced byy.

(13)

Proof methods for quantifiers

Prenex Form: Rules for negations, implications, equivalences

¬∀xP ;∃x¬P ¬∃xP ;∀x¬P

∀xQ→P ;∃x(Q →P) ∃xQ→P ;∀x(Q →P) P → ∀xQ ;∀x(P →Q) P → ∃xQ ;∃x(P →Q) P ↔Q ;(P →Q)∧(Q →P)

Note that for the second and third line,x must not be a free variable inP.

(14)

Proof methods for quantifiers

Prenex Form: example

What is the prenex normal form of

∃xCube(x)→ ∀ySmall(y)

∀x[(Cube(x)∧∃y(Tet(y)∧LeftOf(x,y)))→ ∃y(Dodec(y)∧BackOf(x,y))]

(15)

Proof methods for quantifiers

Proof methods for

quantifiers

(16)

Proof methods for quantifiers

Proof methods for quantifiers

Universal elimination

Universal statments can be instantiated to any object.

From∀xS(x), we may infer S(c).

Existential introduction

If we have established a statement for an instance, we can also establish the corresponding existential statement.

FromS(c), we may infer ∃xS(x).

(17)

Proof methods for quantifiers

Example

∀x[Cube(x)→Large(x)]

∀x[Large(x)→LeftOf(x,b)]

Cube(d)

∃x[Large(x)∧LeftOf(x,b)]

(18)

Proof methods for quantifiers

Existential elimination

From∃xS(x), we can infer things by assumingS(c) in a subproof, ifc is a new name not used otherwise.

Example: Scotland Yard searched a serial killer. The did not know who he was, but for their reasoning, they called him“Jack the ripper”.

This would have been an unfair procedure if there had been a real person named Jack the ripper.

(19)

Proof methods for quantifiers

Example

∀x[Cube(x)→Large(x)]

∀x[Large(x)→LeftOf(x,b)]

∃xCube(x)

∃x[Large(x)∧LeftOf(x,b)]

Referenzen

ÄHNLICHE DOKUMENTE

Other things onboard the vessel that remind us of Christmas are the bountiful "Bunte Teller" (a plate full of sweets and treats) given as a present at the Christmas dinner

Mario Rizzo (2010b) questions the Keynesian tendency to disband economic theory during downturns, asking “[w]hen does the Keynesian moment end — and the

After Abdalla’s release in 1972, he went into exile in Tanzania where he held a position of Senior Research Fellow at the Institute of Kiswahili Research, University of Dar es

This stands in contrast with the demographic transition in most other world regions where, during the period of mortality decline, net fertility increased to high levels,

n Islam did not play a political role in Turkmenistan until the 1990s, when Niyazov attempted to monopolize reli- gion in order to strengthen his own power.. However, this

Este sistema representa una gran oportunidad para mejorar la transparencia de la Cuenta Pública, para evaluar la asignación de recursos por parte de los congresistas y el desempeño

The adjusted national saving rate, which subtracts government investment spending from government and gross saving to more fully capture the budget deficit in both measures and

The File Control Block 173 When we use the FCB to access named files, we let CP/M keep track of all those little 128 byte records for us, and part of the