Definition
First-Order Logic
First Order Logic (FOL) is a formal system used in mathematics, philosophy, linguistics, and computer science to represent reason about propositons involving objects and their relationships. It extends propositional logic by incorporating quantifiers and predicates, enabling more expressive steatement about the properties and relatiolns between objects within a particular domain.
Universe
Syntax
Syntax of Propositional Formulas
The syntax is constructed from a tuple called the signature:
where is the set of functions and is the set of predicates.
The set of first-order logic formulas over a signature is defined as the smallest set such that:
where is the term language over and . Note that the definition of
*
might differ depending on the literature.Note that denotes the arity of .
Semantics
Semantics of Propositional Formulas
Semantics are introduced using an interpretation , a variable assignment and a function
The value function is defined as:
where is the boolean function of operator .
The notation means that is a variable assignment that is equal to except for the value of .
Variant Notation
Variant Notation
The notation does not have a standard name r at least I cannot find one.
It expresses that are a variable assigment that only differs in the value of variable . The word “differs” is confusing here because “differs” means that all other variables are fixed and only varies, meaning that means there also exists a where .
Model
Model
The tuple , where is an interpretation of and interprets and is a value assignment. is called a model of a formula .