4 Logical symbols
( and ) and ,∧, ∨, ¬, →∃, ∀x, y etc and sometimes x₁, x₂, etc.3 Non-logical symbols
Terms
Terms are linguistic entities that can refer to individual things.
Don’t confuse terms with formulas, which can have truth values.
3 Rules for building terms
Formulas
Things in the language that can have truth values.
Don’t confuse formulas with terms, which can refer to individual things.
5 Rules for formulas
P is a predicate symbol of arity n≥1 and t₁, …, tₙ are terms, then P(t₁, …, tₙ) is a formula.¬ɑ(ɑ ∨ β)(ɑ ∧ β)x is a variable and ɑ is a formula, then ∀x ɑ and ∃x ɑ are formulas.4 Items required to specify an interpretation
D, called the domain.D for it.n-ary relation symbol, give an n-ary relation on D.The domain
There is no restriction on what the elements of D are:
3 Properties of equality (binary relation)
Valuation
Given an interpretation I with a domain D, a valuation means a function that gives an element of D for each variable.
Free variables
A variable which is not quantified in an explicit way
Bound variables
A variable which is associated to a quantifier.
Formal definition of interpretation
Given a first order language, L, an interpretation for L is a pair (D, I) where:
- D is a non-empty set, called the domain, and
- I is a function which:
- to each constant symbol c of L assigns an element I(c) ∈ D
- to each n-ary predicate symbol P, ( n > 0 ), assigns an n-ary relation I(P) ⊆ D^n,
- to each propositional constant q, assigns a truth value I(q).
Sometimes I is called a structure.
Formal definition of a valuation
Given a structure (D, I) for a language L, a valuation is a function from the set of all variables to D.
Given a valuation V, a variable x and d ∈ D, we define the valuation V[ x → d ] to be the same as V for every variable other than x, and x gets sent to d.
V[ x → d ] (u) = V(u) if u is not x.d if u is x
Definition of truth
For a structure A = (D, I) and a valuation v and a formula φ, the notation
A, V ⊧ φ
will mean that φ is true in the structure A under the valuation V.
Sentence
A formula with no free variables.