Definition

Variable Assignment

A variable assignment, , is a function:

  • is the set of all free variables
    • is any free variable (not already bound by a quantifier)
  • is a subset of the universe, that maps onto
    • is some element in said universe (so can also be constants)

On-the-fly Variable Assignments ^definition-on-the-fly-assignment

If an extra mapping for a variable assignment, , needs to be added on the go (or is needed to create one if it is not already made) then a notation that can be used is:

It can be thought as a function wrapper, we ‘wrap’ an extra mapping on , or as function composition. It can be likened to method overriding in programming.

Extending via Interpretation

By themselves, variable assignments only map free variables. However, if combined with an interpretation, it can be extended to become applicable to terms as well.

Definition

A term is quite literally either a variable (which a normal variable assignment covers), a constant (which is covered by the interpretation) or a function (again, covered by interpretation). Hence, we can take a function, , of several free variables and interpret them using this interpretation.

  • : The constant after being interpreted by
  • is the function after being interpreted by
  • is the variables after being assigned.

Examples

Example: Black & White

Example : Black & White

Let the variable assignment be .

Then is true under .

Also by extending via interpretation, we can also obtain formulae like , which works because we can ‘distribute’ the interpretation: