Syntax of L2 Flashcards
(8 cards)
What is the arity of a predicate letter?
The value of the upper index of a predicate letter is called its arity. If a predicate letter
does not have an upper index its arity is 0.
What are the constants of L2?
a, b, c, a1, b1, c1, a2, b2, c2, . . . are constants.
What are the variables of L2?
Variables: x, y, z, x1, y1, z1, x2, y2, z2, . . . are variables.
What are the atomic formulae of L2?
If Z is a predicate letter of arity n and each of t1, . . . , tn is a variable or constant, then Zt1 . . . tn is an atomic formula of L2.
What is a quantifier?
A quantifier is an expression ∀v or ∃v where v is a variable.
What is the definition of formulae of L2?
(i) All atomic formulae of L2 are formulae of L2.
(ii) If φ and ψ are formulae of L2 then ¬φ, (φ ∧ ψ), (φ ∨ ψ), (φ → ψ) and (φ ↔ ψ) are formulae
of L2.
(iii) If v is a variable and φ is a formula then ∀vφ and ∃vφ are formulae of L2.
(iv) Nothing else is a formula of L2.
What are the definitions for free occurence of a variable?
(i) All occurrences of variables in atomic formulae are free.
(ii) The occurences of a varaiable that are free in φ and ψ are also free in ¬φ, φ ∧ ψ, φ ∨ ψ,
φ → ψ, and φ ↔ ψ.
(iii) In a formula ∀vφ or ∃vφ no occurrence of the variable v is free; all occurrences of variables
other than v that are free in φ are also free in ∀vφ and ∃vφ.
An occurrence of a variable is bound in a formula iff it is not free.
A variable occurs freely in a formula iff there is at least one free occurrence of the variable in
the formula.
What is a sentence of L2?
A formula of L2 is a sentence of L2 iff no variable occurs freely in the formula.