Fixed-point logic
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. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
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. Let be an integer, x, y 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 (P_i)_{i\in N} such that P_0(x)=false and P_i(x)=\varphi(P_{i-1},x) (meaning with P_{i-1} substituted for the second-order variable ). Then, either there is a fixed point, or the list of (P_i) s is cyclic. [\operatorname{PFP}_{\vec{x},P} \varphi]\vec{t} is defined as the value of the fixed point of (P_i) on \vec{t} if there is a fixed point, else as false. Since s are properties of arity , there are at most 2^{n^k} values for the P_i s, so with a polynomial-space counter we can check if there is a loop or not. It has been proven that on ordered finite structures, a property is expressible in FO(PFP,X) if and only if it lies in PSPACE. ==Inflationary fixed-point logic== Another way to ensure the monotonicity of the fixed-point construction is by only adding new tuples to P at every stage of iteration, without removing tuples for which P no longer holds. Formally, we define \operatorname{IFP}(\phi_{P,x}) as \operatorname{PFP}(\psi_{P,x}) where \psi(P,x)=\phi(P,x)\vee P(x) . This inflationary fixed-point agrees with the least-fixed point where the latter is defined. Although at first glance it seems as if inflationary fixed-point logic should be more expressive than least fixed-point logic since it supports a wider range of fixed-point arguments, in fact, every FO[IFP](X)-formula is equivalent to an FO[LFP](X)-formula. ==Simultaneous induction== While all the fixed-point operators introduced so far iterated only on the definition of a single predicate, many computer programs are more naturally thought of as iterating over several predicates simultaneously. By either increasing the arity of the fixed-point operators or by nesting them, every simultaneous least, inflationary or partial fixed-point can in fact be expressed using the corresponding single-iteration constructions discussed above. TC is defined as follows: Let be a positive integer and u,v,x,y be vectors of variables. Then \mathsf{TC}(\varphi_{u,v})(x,y) is true if there exist vectors of variables (z_i) such that z_1=x, z_n=y , and for all i , \varphi(z_i,z_{i+1}) is true. Here, is a formula written in FO(TC) and \varphi(x,y) means that the variables and are replaced by and . Over ordered structures, FO[TC] characterises the complexity class NL. This characterisation is a crucial part of Immerman's proof that NL is closed under complement (NL = co-NL). We can suppose that \operatorname{DTC}(\phi_{u,v}) is syntactic sugar for \operatorname{TC}(\psi_{u,v}) where \psi(u,v)=\phi(u,v)\wedge \forall x (x=v \vee \neg \phi(u,x)) . Over ordered structures, FO[DTC] characterises the complexity class L. Define a vertex x to be weak if, with at most one exception y , each of its neighbors z is weak, according to the fixed-point formula W(x)\leftarrow\exists y\forall z\bigl(x\sim z\Rightarrow(y=z\vee W(z))\bigr) . The remaining vertices form the 2-core of the graph. The following formula written in Least Fixed-point logic states that the 2-core of a graph is not empty: \exists t [\operatorname{LFP}_{x,P} \exists y\forall z\bigl(x\sim z\Rightarrow(y=z\vee P(z))\bigr)]t A graph is connected if there exists a path between every pair of vertices. The fact that there exists a path between two vertices is the transitive closure of the adjacency relation. Hence the following formula written in Transitive closure logic states that a graph is connected: \forall s\forall t [\operatorname{TC}_{x,y} x\sim y]s t
Cite this
"Fixed-point logic". 1777039776. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1350882067 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy