A structure A for a signature is a non-empty set D, its domain, with a function fA:Dn→D for each function symbol of arity n and a relation PA⊆Dn for each predicate symbol of arity n. A variable assignment is a function ρ from variables to D. The value [[t]]ρ of a term is ρ(x) for a variable and fA([[t1]]ρ,…,[[tn]]ρ) for f(t1,…,tn). Satisfaction A,ρ⊨A is defined by induction on A:
- A,ρ⊨P(t1,…,tn) when ([[t1]]ρ,…,[[tn]]ρ)∈PA; A,ρ⊨t1=t2 when the two values are equal; never A,ρ⊨⊥;
- the connectives as for valuations: A,ρ⊨A∧B when both hold, and so on;
- A,ρ⊨∀xA when A,ρ[x↦d]⊨A for every d∈D, and A,ρ⊨∃xA when it holds for at least one d∈D, where ρ[x↦d] is ρ changed at x only.