4. Predicate logic Flashcards

1
Q

Translate ‘john walks’ in predicate logic

A

Wj

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the existential quantifiër in predicate logic? Give an example

A

existential quantifiër: ∃
Some boy walks: ∃x(Bx ∧ W x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the universal quantifiër in predicate logic? Give an example

A

universal quantifiër: ∀
Every boy walks: ∀x(Bx → W x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which predicate is bounded by ∀ in the expression: ∀x(Ax →Bx)

A

Only A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which predicate is bounded by ∃ in the expression: ∃x(Ax ∧ Bx).

A

Only A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Predicate logic expression for symmetry

A

∀x∀y(Rxy → Ryx)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Predicate logic expression for transitivity

A

∀x∀z∀y((Rxy ∧ Ryz) → Rxz)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Predicate logic expression for linearity

A

∀x∀y(Rxy ∨ x = y ∨ Ryx)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When is a predicate logic formula open?

A

When there is at least one variable occurens which is free (not bound)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a close predicate logic formula and what else is it called?

A

When there are no free occurences of a variable, also called a sentence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When is a quantifiër vacuous?

A

If the quantifiër ranges over an empty domain.
i.e. ∀x∃yRxx

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Give an example of substitution without quantifiër

A

Change variable Rxx if the substitution has ‘x substituted by y’ to Ryy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Give an example of substitution with quantifiër

A

(∀yRxx) if x is substituted by y it changes to (∀yRyy)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is are ‘Alphabetic variants’, give an example

A

If the quantification patterns are the same, but with differ in the variables they quantifiy over.
i.e. ∀xRxx and ∀yRyy
∀x∃yRxy and ∀z∃xRzx

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When is a predicate logical formule P called ‘logically valid’?

A

If P is true in every model under ever assignment, |= ϕ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When are two predicate formulas (p and q) logically equivalent?

A

If P ↔ Q is valid

17
Q

Describe predicate logic ‘valid consequence’

A

If q follows from p so that p |= q and q is never false if p is true.

18
Q

How do you specify the number of instances in a predicat logical formula?

A

exlemation mark followed by ^2 i.e. ∃!^n x

19
Q

How do we say: p follows from q ?

A

q |= p

20
Q

Does this hold ∀x∀y(Rxy → Ryx), Rab |= Rba ?

A

yes, we can pick a and b again in the conclusion

21
Q

Describe the ‘Universal Generalization’ rule

A

From ϕ infer ∀xϕ. Condition: x does not occur free in any premise which has been used in the proof of ϕ.

22
Q

Describe: soundness

A

Every theorem of predicate logic is valid

23
Q

Describe: Completeness

A

Every valid formula is a provable theorem

24
Q

Describe identity in predicate logic

A

Also called equality, use = and /=

25
Q

How to say: there is exactly one object with property P (no exlamation)

A

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

26
Q

Describe: Function symbols

A

f, for example if f is the father function, f(x) gives the father of x

27
Q

Describe predicate logic Models.

A

M = (D, I)
D: The domain of objects
I: The interpretation function for objects from domain D

28
Q

The only interesting valid inference between 2-quantifier combinations

A

∃x∀yϕ implies ∀y∃xϕ.

29
Q

Does ∀ distributes over V ?

A

No, we know ∀x(Gx ∨ Bx) = ∀xGx ∨ ∀xBx doesn’t hold.

30
Q

Valid inference of ∀x∀yϕ

A

∀x∀yϕ ↔ ∀y∀xϕ

31
Q

Valid inference of ∃x∀yϕ

A

∃x∀yϕ implies ∀y∃xϕ

32
Q

Equivalence of: ¬∀x(Ax → Bx)

A

∃x¬(Ax → Bx) and ∃x(Ax ∧ ¬Bx)

33
Q

Equivalence of: ∀x(Ax → ¬Bx)

A

¬∃x¬(Ax → ¬Bx), and ¬∃x(Ax ∧ Bx).

34
Q

Parafrase: Not all A are B

A

Some A are not B

35
Q

Parafrase: All A are not B

A

there are no A that are also B