In
mathematical logic, fixed-point logics are extensions of classical predicate logic that have been introduced to express recursion. Their development has been motivated by
descriptive complexity theory and their relationship to
database query languages, in particular to
Datalog.
Least fixed-point logic was first studied systematically by
Yiannis N. Moschovakis in 1974, and it was introduced to computer scientists in 1979, when
Alfred Aho and
Jeffrey Ullman suggested fixed-point logic as an expressive database query language.
Partial fixed-point logic
For a
relational signature ''X'', FO
FP''X'') is the set of formulas formed from ''X'' using
first-order connectives and predicates,
second-order variables as well as a partial fixed point operator
used to form formulas of the form
, where
is a second-order variable,
a tuple of first-order variables,
a tuple of terms and the lengths of
and
coincide with the arity of
.
Let be an integer,
be vectors of variables, be a second-order variable of arity , and let be an FO(PFP,X) function using and as variables. We can iteratively define
such that
and
(meaning with
substituted for the second-order variable ). Then, either there is a fixed point, or the list of
s is cyclic.