4. Predicate logic Flashcards
Translate ‘john walks’ in predicate logic
Wj
What is the existential quantifiër in predicate logic? Give an example
existential quantifiër: ∃
Some boy walks: ∃x(Bx ∧ W x)
What is the universal quantifiër in predicate logic? Give an example
universal quantifiër: ∀
Every boy walks: ∀x(Bx → W x)
Which predicate is bounded by ∀ in the expression: ∀x(Ax →Bx)
Only A
Which predicate is bounded by ∃ in the expression: ∃x(Ax ∧ Bx).
Only A
Predicate logic expression for symmetry
∀x∀y(Rxy → Ryx)
Predicate logic expression for transitivity
∀x∀z∀y((Rxy ∧ Ryz) → Rxz)
Predicate logic expression for linearity
∀x∀y(Rxy ∨ x = y ∨ Ryx)
When is a predicate logic formula open?
When there is at least one variable occurens which is free (not bound)
What is a close predicate logic formula and what else is it called?
When there are no free occurences of a variable, also called a sentence
When is a quantifiër vacuous?
If the quantifiër ranges over an empty domain.
i.e. ∀x∃yRxx
Give an example of substitution without quantifiër
Change variable Rxx if the substitution has ‘x substituted by y’ to Ryy
Give an example of substitution with quantifiër
(∀yRxx) if x is substituted by y it changes to (∀yRyy)
What is are ‘Alphabetic variants’, give an example
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
When is a predicate logical formule P called ‘logically valid’?
If P is true in every model under ever assignment, |= ϕ