Logic of graphs

Last updated

In the mathematical fields of graph theory and finite model theory, the logic of graphs deals with formal specifications of graph properties using sentences of mathematical logic. There are several variations in the types of logical operation that can be used in these sentences. The first-order logic of graphs concerns sentences in which the variables and predicates concern individual vertices and edges of a graph, while monadic second-order graph logic allows quantification over sets of vertices or edges. Logics based on least fixed point operators allow more general predicates over tuples of vertices, but these predicates can only be constructed through fixed-point operators, restricting their power.

Contents

A sentence may be true for some graphs, and false for others; a graph is said to model, written , if is true of the vertices and adjacency relation of . The algorithmic problem of model checking concerns testing whether a given graph models a given sentence. The algorithmic problem of satisfiability concerns testing whether there exists a graph that models a given sentence. Although both model checking and satisfiability are hard in general, several major algorithmic meta-theorems show that properties expressed in this way can be tested efficiently for important classes of graphs.

Other topics of research in the logic of graphs include investigations of the probability that a random graph has a property specified within a particular type of logic, and methods for data compression based on finding logical sentences that are modeled by a unique graph.

First order

The graph shown here appears as a subgraph of an undirected graph
G
{\displaystyle G}
if and only if
G
{\displaystyle G}
models the sentence
[?]
x
1
,
x
2
,
x
3
,
x
4
.
{\displaystyle \exists x_{1},x_{2},x_{3},x_{4}.}
x
1
~
x
2
{\displaystyle x_{1}\sim x_{2}}
[?]
{\displaystyle \land }
x
2
~
x
3
{\displaystyle x_{2}\sim x_{3}}
[?]
{\displaystyle \land }
x
3
~
x
1
{\displaystyle x_{3}\sim x_{1}}
[?]
{\displaystyle \land }
x
3
~
x
4
{\displaystyle x_{3}\sim x_{4}}
[?]
{\displaystyle \land }
x
1
[?]
x
4
{\displaystyle x_{1}\neq x_{4}}
[?]
{\displaystyle \land }
x
2
[?]
x
4
{\displaystyle x_{2}\neq x_{4}}
. Undirected graph no background.svg
The graph shown here appears as a subgraph of an undirected graph if and only if models the sentence .

In the first-order logic of graphs, a graph property is expressed as a quantified logical sentence whose variables represent graph vertices, with predicates for equality and adjacency testing. [1]

Examples

For instance, the condition that a graph does not have any isolated vertices may be expressed by the sentence where the symbol indicates the undirected adjacency relation between two vertices. This sentence can be interpreted as meaning that for every vertex there is another vertex that is adjacent to . [1]

The subgraph isomorphism problem for a fixed subgraph asks whether appears as a subgraph of a larger graph . It may be expressed by a sentence that states the existence of vertices (one for each vertex of ) such that, for each edge of , the corresponding pair of variables represent adjacent vertices and such that, for each remaining pair of vertices of , the corresponding pair of variables represent distinct vertices; [2] see the illustration. As a special case, the clique problem (for a fixed clique size) may be expressed by a sentence that states the existence of a number of vertices equal to the clique size, all of which are adjacent. [3]

Axioms

For simple undirected graphs, the first-order theory of graphs includes the axioms

(the graph cannot contain any loops), and
(edges are undirected). [4]

Other types of graphs, such as directed graphs, may involve different axioms, [5] and logical formulations of multigraph properties require special handling such as having multiple edge relations [6] or separate variables for vertices and edges. [7]

Zero-one law

The Rado graph, an infinite graph that models exactly the first-order sentences that are almost always true of finite graphs Rado graph.svg
The Rado graph, an infinite graph that models exactly the first-order sentences that are almost always true of finite graphs

Glebskiĭ et al. (1969) and, independently, Fagin (1976) proved a zero–one law for first-order graph logic; Fagin's proof used the compactness theorem. According to this result, every first-order sentence is either almost always true or almost always false for random graphs in the Erdős–Rényi model. That is, let be a fixed first-order sentence, and choose a random -vertex graph uniformly at random among all graphs on a set of labeled vertices. Then in the limit as tends to infinity the probability that models will tend either to zero or to one: Moreover, there is a specific infinite graph, the Rado graph , such that the sentences modeled by the Rado graph are exactly the ones for which the probability of being modeled by a random finite graph tends to one: For random graphs in which each edge is included independently of the others with a fixed probability, the same result is true, with the same sentences having probabilities tending to zero or to one. [8]

The computational complexity of determining whether a given sentence has probability tending to zero or to one is high: the problem is PSPACE-complete. [9] If a first-order graph property has probability tending to one on random graphs, then it is possible to list all the -vertex graphs that model the property, with polynomial delay (as a function of ) per graph. [4]

A similar analysis can be performed for non-uniform random graphs, where the probability of including an edge is a function of the number of vertices, and where the decision to include or exclude an edge is made independently with equal probability for all edges. However, for these graphs the situation is more complicated. In this case, a first-order property may have one or more thresholds, such that when the edge inclusion probability is bounded away from the threshold then the probability of having the given property tends to zero or one. These thresholds can never be an irrational power of , so random graphs where the edge inclusion probability is an irrational power obey a zero-one law analogous to the one for uniformly random graphs. A similar zero-one law holds for very sparse random graphs that have an edge inclusion probability of with , as long as is not a superparticular ratio. [10] If is superparticular, the probability of having a given property may tend to a limit that is not zero or one, but this limit can be calculated efficiently. [11] There exist first-order sentences that have infinitely many thresholds. [12]

Parameterized complexity

If a first-order sentence includes distinct variables, then the property it describes can be tested in graphs of vertices by examining all -tuples of vertices; however, this brute force search algorithm is not particularly efficient, taking time . The problem of checking whether a graph models a given first-order sentence includes as special cases the subgraph isomorphism problem (in which the sentence describes the graphs that contain a fixed subgraph) and the clique problem (in which the sentence describes graphs that contain complete subgraphs of a fixed size). The clique problem is hard for W(1), the first level of a hierarchy of hard problems from the point of view of parameterized complexity. Therefore, it is unlikely to have a fixed-parameter tractable algorithm, one whose running time takes the form for a function and constant that are independent of and . [13] More strongly, if the exponential time hypothesis is true, then clique-finding and first-order model checking would necessarily take time proportional to a power of whose exponent is proportional to . [14]

On restricted classes of graphs, model checking of first-order sentences can be much more efficient. In particular, every graph property expressible as a first-order sentence can be tested in linear time for the graphs of bounded expansion. These are the graphs in which all shallow minors are sparse graphs, with a ratio of edges to vertices bounded by a function of the depth of the minor. Even more generally, first-order model checking can be performed in near-linear time for nowhere-dense graphs, classes of graphs for which, at each possible depth, there is at least one forbidden shallow minor. Conversely, if model checking is fixed-parameter tractable for any monotone family of graphs, that family must be nowhere-dense. [15]

Data compression and graph isomorphism

A first-order sentence in the logic of graphs is said to define a graph if is the only graph that models . Every graph may be defined by at least one sentence; for instance, one can define any -vertex graph by a sentence with variables, one for each vertex of the graph, and one more to state the condition that there is no vertex other than the vertices of the graph. Additional clauses of the sentence can be used to ensure that no two vertex variables are equal, that each edge of is present, and no edge exists between a pair of non-adjacent vertices of . However, for some graphs there exist significantly shorter sentences that define the graph. [16]

Several different graph invariants can be defined from the simplest sentences (with different measures of simplicity) that define a given graph. In particular the logical depth of a graph is defined to be the minimum level of nesting of quantifiers (the quantifier rank) in a sentence defining the graph. [17] The sentence outlined above nests the quantifiers for all of its variables, so it has logical depth . The logical width of a graph is the minimum number of variables in a sentence that defines it. [17] In the sentence outlined above, this number of variables is again . Both the logical depth and logical width can be bounded in terms of the treewidth of the given graph. [18] The logical length, analogously, is defined as the length of the shortest sentence describing the graph. The sentence described above has length proportional to the square of the number of vertices, but it is possible to define any graph by a sentence with length proportional to its number of edges. [17]

All trees, and most graphs, can be described by first-order sentences with only two variables, but extended by counting predicates. For graphs that can be described by sentences in this logic with a fixed constant number of variables, it is possible to find a graph canonization in polynomial time (with the exponent of the polynomial equal to the number of variables). By comparing canonizations, it is possible to solve the graph isomorphism problem for these graphs in polynomial time. [19]

Satisfiability

As a special case of Trakhtenbrot's theorem, it is undecidable whether a given first-order sentence can be realized by a finite undirected graph. This means that no algorithm can correctly answer this question for all sentences. [20]

Some first-order sentences are modeled by infinite graphs but not by any finite graph. For instance, the property of having exactly one vertex of degree one, with all other vertices having degree exactly two, can be expressed by a first-order sentence. It is modeled by an infinite ray, but violates Euler's handshaking lemma for finite graphs. However, it follows from the negative solution to the Entscheidungsproblem (by Alonzo Church and Alan Turing in the 1930s) that satisfiability of first-order sentences for graphs that are not constrained to be finite remains undecidable. It is also undecidable to distinguish between the first-order sentences that are true for all graphs and the ones that are true of finite graphs but false for some infinite graphs. [21]

Fixed point

Define a vertex
x
{\displaystyle x}
to be weak (highlighted in red) if, with at most one exception
y
{\displaystyle y}
, each of its neighbors
z
{\displaystyle z}
is weak, according to the fixed-point formula
W
(
x
)
-
[?]
y
[?]
z
(
x
~
z
=
(
y
=
z
[?]
W
(
z
)
)
)
{\displaystyle W(x)\leftarrow \exists y\forall z{\bigl (}x\sim z\Rightarrow (y=z\vee W(z)){\bigr )}}
. The remaining blue vertices form the 2-core of the graph. Graph 2-core.svg
Define a vertex to be weak (highlighted in red) if, with at most one exception , each of its neighbors is weak, according to the fixed-point formula . The remaining blue vertices form the 2-core of the graph.

Least fixed point based logics of graphs extend the first-order logic of graphs by allowing predicates (properties of vertices or tuples of vertices) defined by special fixed-point operators. This kind of definition begins with an implication, a formula stating that when certain values of the predicate are true, then other values are true as well. A "fixed point" is any predicate for which this is a valid implication. There may be many fixed points, including the always-true predicate; a "least fixed point" is a fixed point that has as few true values as possible. More precisely, its true values should be a subset of the true values of any other fixed point. [22]

For instance, define to be true when the two vertices and are connected by a path in a given graph, and false otherwise. Then every vertex is connected to itself, and when is connected to a neighbor of , it is also connected by one more step to . Expressing this reasoning in logical terms, is the least fixed point of the formula Here, being a fixed point means that the truth of the right side of the formula implies the truth of the left side, as the reversed implication arrow suggests. Being the least fixed point, in this case, implies that no two vertices will be defined as connected unless their connectivity comes from repeated use of this implication. [22]

Several variations of fixed point logics have been studied. In least fixed point logic, the right hand side of the operator in the defining formula must use the predicate only positively (that is, each appearance should be nested within an even number of negations) in order to make the least fixed point well defined. In another variant with equivalent logical power, inflationary fixed point logic, the formula need not be monotone but the resulting fixed point is defined as the one obtained by repeatedly applying implications derived from the defining formula starting from the all-false predicate. Other variants, allowing negative implications or multiple simultaneously-defined predicates, are also possible, but provide no additional definitional power. A predicate, defined in one of these ways, can then be applied to a tuple of vertices as part of a larger logical sentence. [22]

Fixed point logics, and extensions of these logics that also allow integer counting variables whose values range from 0 to the number of vertices, have been used in descriptive complexity in an attempt to provide a logical description of decision problems in graph theory that can be decided in polynomial time. The fixed point of a logical formula can be constructed in polynomial time, by an algorithm that repeatedly adds tuples to the set of values for which the predicate is true until reaching a fixed point, so deciding whether a graph models a sentence in this logic can always be decided in polynomial time. Not every polynomial time graph property can be modeled by a sentence in a logic that uses only fixed points and counting. [23] [24] However, for some special classes of graphs the polynomial time properties are the same as the properties expressible in fixed point logic with counting. These include random graphs, [23] [25] interval graphs, [23] [26] and (through a logical expression of the graph structure theorem) every class of graphs characterized by forbidden minors. [23]

Second order

In the monadic second-order logic of graphs, the variables represent objects of up to four types: vertices, edges, sets of vertices, and sets of edges. There are two main variations of monadic second-order graph logic: MSO1 in which only vertex and vertex set variables are allowed, and MSO2 in which all four types of variables are allowed. The predicates on these variables include equality testing, membership testing, and either vertex-edge incidence (if both vertex and edge variables are allowed) or adjacency between pairs of vertices (if only vertex variables are allowed). Additional variations in the definition allow additional predicates such as modular counting predicates. [27]

Examples

As an example, the connectivity of an undirected graph can be expressed in MSO1 as the statement that, for every partition of the vertices into two nonempty subsets, there exists an edge from one subset to the other. A partition of the vertices can be described by the subset of vertices on one side of the partition, and each such subset should either describe a trivial partition (one in which one or the other side is empty) or be crossed by an edge. That is, a graph is connected when it models the MSO1 sentence However, connectivity cannot be expressed in first-order graph logic, nor can it be expressed in existential MSO1 (the fragment of MSO1 in which all set quantifiers are existential and occur at the beginning of the sentence) nor even existential MSO2. [28]

Hamiltonicity can be expressed in MSO2 by the existence of a set of edges that forms a connected 2-regular graph on all the vertices, with connectivity expressed as above and 2-regularity expressed as the incidence of two but not three distinct edges at each vertex. However, Hamiltonicity is not expressible in MSO1, because MSO1 is not capable of distinguishing complete bipartite graphs with equal numbers of vertices on each side of the bipartition (which are Hamiltonian) from unbalanced complete bipartite graphs (which are not). [29]

Although not part of the definition of MSO2, orientations of undirected graphs can be represented by a technique involving Trémaux trees. This allows other graph properties involving orientations to be expressed as well. [30]

Courcelle's theorem

According to Courcelle's theorem, every fixed MSO2 property can be tested in linear time on graphs of bounded treewidth, and every fixed MSO1 property can be tested in linear time on graphs of bounded clique-width. [31] The version of this result for graphs of bounded treewidth can also be implemented in logarithmic space. [32] Applications of this result include a fixed-parameter tractable algorithm for computing the crossing number of a graph. [33]

Seese's theorem

The satisfiability problem for a sentence of monadic second-order logic is the problem of determining whether there exists at least one graph (possibly within a restricted family of graphs) for which the sentence is true. For arbitrary graph families, and arbitrary sentences, this problem is undecidable. However, satisfiability of MSO2 sentences is decidable for the graphs of bounded treewidth, and satisfiability of MSO1 sentences is decidable for graphs of bounded clique-width. The proof involves using Courcelle's theorem to build an automaton that can test the property, and then examining the automaton to determine whether there is any graph it can accept. As a partial converse, [34] Seese (1991) proved that, whenever a family of graphs has a decidable MSO2 satisfiability problem, the family must have bounded treewidth. The proof is based on a theorem of Robertson and Seymour that the families of graphs with unbounded treewidth have arbitrarily large grid minors. Seese also conjectured that every family of graphs with a decidable MSO1 satisfiability problem must have bounded clique-width. [35] This has not been proven, but a weakening of the conjecture that extends MSO1 with modular counting predicates is true. [34]

Notes

  1. 1 2 Spencer (2001), Section 1.2, "What Is a First Order Theory?", pp. 15–17.
  2. Verbitsky & Zhukovskii (2019).
  3. Zeume (2017).
  4. 1 2 Goldberg (1993).
  5. For instance, Henson (1972) requires directed graphs to be described by an asymmetric relation, meaning that loops and 2-cycles are both disallowed, giving the oriented graphs.
  6. Koncewicz (1973).
  7. Bruggink & König (2018).
  8. Glebskiĭ et al. (1969); Fagin (1976)
  9. Grandjean (1983).
  10. Shelah & Spencer (1988); Spencer (2001).
  11. Lynch (1992).
  12. Spencer (1990).
  13. Downey & Fellows (1995).
  14. Chen et al. (2006).
  15. Nešetřil & Ossona de Mendez (2012), 18.3 The Subgraph Isomorphism Problem and Boolean Queries, pp. 400–401; Dvořák, Kráľ & Thomas (2010); Grohe, Kreutzer & Siebertz (2014).
  16. Pikhurko, Spencer & Verbitsky (2006).
  17. 1 2 3 Pikhurko & Verbitsky (2011).
  18. Verbitsky (2005).
  19. Immerman & Lander (1990).
  20. Ebbinghaus & Flum (1995). Parys (2014) writes that this undecidability result is well known, and attributes it to Trahtenbrot (1950) on the undecidability of first-order satisfiability for more general classes of finite structures.
  21. Lavrov (1963).
  22. 1 2 3 Grohe (2017), pp. 23–27.
  23. 1 2 3 4 Grohe (2017), pp. 50–51.
  24. Cai, Fürer & Immerman (1992).
  25. Hella, Kolaitis & Luosto (1996).
  26. Laubner (2010).
  27. These definitions can be found e.g. in Courcelle & Engelfriet (2012), p. 69, under the slightly different notation MS1 and MS2. Other authors used the MSO1 and MSO2 notations, and Courcelle came to use it later as well; see, e.g., Courcelle (2018).
  28. Fagin, Stockmeyer & Vardi (1995).
  29. Courcelle & Engelfriet (2012); Libkin (2004), Corollary 7.24, pp. 126–127.
  30. Courcelle (1996).
  31. Courcelle & Engelfriet (2012).
  32. Elberfeld, Jakoby & Tantau (2010).
  33. Grohe (2001); Kawarabayashi & Reed (2007).
  34. 1 2 Courcelle & Oum (2007).
  35. Seese (1991).

Related Research Articles

First-order logic—also called predicate logic, predicate calculus, quantificational logic—is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over non-logical objects, and allows the use of sentences that contain variables. Rather than propositions such as "all men are mortal", in first-order logic one can have expressions in the form "for all x, if x is a man, then x is mortal"; where "for all x" is a quantifier, x is a variable, and "... is a man" and "... is mortal" are predicates. This distinguishes it from propositional logic, which does not use quantifiers or relations; in this sense, propositional logic is the foundation of first-order logic.

<span class="mw-page-title-main">Component (graph theory)</span> Maximal subgraph whose vertices can reach each other

In graph theory, a component of an undirected graph is a connected subgraph that is not part of any larger connected subgraph. The components of any graph partition its vertices into disjoint sets, and are the induced subgraphs of those sets. A graph that is itself connected has exactly one component, consisting of the whole graph. Components are sometimes called connected components.

In logic and mathematics, second-order logic is an extension of first-order logic, which itself is an extension of propositional logic. Second-order logic is in turn extended by higher-order logic and type theory.

In mathematics, a duality translates concepts, theorems or mathematical structures into other concepts, theorems or structures in a one-to-one fashion, often by means of an involution operation: if the dual of A is B, then the dual of B is A. In other cases the dual of the dual – the double dual or bidual – is not necessarily identical to the original. Such involutions sometimes have fixed points, so that the dual of A is A itself. For example, Desargues' theorem is self-dual in this sense under the standard duality in projective geometry.

<span class="mw-page-title-main">Cograph</span> Graph formed by complementation and disjoint union

In graph theory, a cograph, or complement-reducible graph, or P4-free graph, is a graph that can be generated from the single-vertex graph K1 by complementation and disjoint union. That is, the family of cographs is the smallest class of graphs that includes K1 and is closed under complementation and disjoint union.

Finite model theory is a subarea of model theory. Model theory is the branch of logic which deals with the relation between a formal language (syntax) and its interpretations (semantics). Finite model theory is a restriction of model theory to interpretations on finite structures, which have a finite universe.

In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests. The graphs with treewidth at most 2 are the series–parallel graphs. The maximal graphs with treewidth exactly k are called k-trees, and the graphs with treewidth at most k are called partial k-trees. Many other well-studied graph families also have bounded treewidth.

<span class="mw-page-title-main">Rado graph</span> Infinite graph containing all countable graphs

In the mathematical field of graph theory, the Rado graph, Erdős–Rényi graph, or random graph is a countably infinite graph that can be constructed by choosing independently at random for each pair of its vertices whether to connect the vertices by an edge. The names of this graph honor Richard Rado, Paul Erdős, and Alfréd Rényi, mathematicians who studied it in the early 1960s; it appears even earlier in the work of Wilhelm Ackermann. The Rado graph can also be constructed non-randomly, by symmetrizing the membership relation of the hereditarily finite sets, by applying the BIT predicate to the binary representations of the natural numbers, or as an infinite Paley graph that has edges connecting pairs of prime numbers congruent to 1 mod 4 that are quadratic residues modulo each other.

<span class="mw-page-title-main">Handshaking lemma</span> Every graph has evenly many odd vertices

In graph theory, the handshaking lemma is the statement that, in every finite undirected graph, the number of vertices that touch an odd number of edges is even. For example, if there is a party of people who shake hands, the number of people who shake an odd number of other people's hands is even. The handshaking lemma is a consequence of the degree sum formula, also sometimes called the handshaking lemma, according to which the sum of the degrees equals twice the number of edges in the graph. Both results were proven by Leonhard Euler in his famous paper on the Seven Bridges of Königsberg that began the study of graph theory.

In mathematical logic, monadic second-order logic (MSO) is the fragment of second-order logic where the second-order quantification is limited to quantification over sets. It is particularly important in the logic of graphs, because of Courcelle's theorem, which provides algorithms for evaluating monadic second-order formulas over graphs of bounded treewidth. It is also of fundamental importance in automata theory, where the Büchi–Elgot–Trakhtenbrot theorem gives a logical characterization of the regular languages.

<span class="mw-page-title-main">Median graph</span> Graph with a median for each three vertices

In graph theory, a division of mathematics, a median graph is an undirected graph in which every three vertices a, b, and c have a unique median: a vertex m(a,b,c) that belongs to shortest paths between each pair of a, b, and c.

In graph theory, the De Bruijn–Erdős theorem relates graph coloring of an infinite graph to the same problem on its finite subgraphs. It states that, when all finite subgraphs can be colored with colors, the same is true for the whole graph. The theorem was proved by Nicolaas Govert de Bruijn and Paul Erdős, after whom it is named.

<span class="mw-page-title-main">Graphon</span>

In graph theory and statistics, a graphon is a symmetric measurable function , that is important in the study of dense graphs. Graphons arise both as a natural notion for the limit of a sequence of dense graphs, and as the fundamental defining objects of exchangeable random graph models. Graphons are tied to dense graphs by the following pair of observations: the random graph models defined by graphons give rise to dense graphs almost surely, and, by the regularity lemma, graphons capture the structure of arbitrary large dense graphs.

In graph theory, a Trémaux tree of an undirected graph is a type of spanning tree, generalizing depth-first search trees. They are defined by the property that every edge of connects an ancestor–descendant pair in the tree. Trémaux trees are named after Charles Pierre Trémaux, a 19th-century French author who used a form of depth-first search as a strategy for solving mazes. They have also been called normal spanning trees, especially in the context of infinite graphs.

In the study of graph algorithms, Courcelle's theorem is the statement that every graph property definable in the monadic second-order logic of graphs can be decided in linear time on graphs of bounded treewidth. The result was first proved by Bruno Courcelle in 1990 and independently rediscovered by Borie, Parker & Tovey (1992). It is considered the archetype of algorithmic meta-theorems.

<span class="mw-page-title-main">Universal vertex</span> Vertex adjacent to all others in a graph

In graph theory, a universal vertex is a vertex of an undirected graph that is adjacent to all other vertices of the graph. It may also be called a dominating vertex, as it forms a one-element dominating set in the graph. A graph that contains a universal vertex may be called a cone, and its universal vertex may be called the apex of the cone. This terminology should be distinguished from the unrelated usage of these words for universal quantifiers in the logic of graphs, and for apex graphs.

<span class="mw-page-title-main">Half graph</span> Type of graph in mathematics

In graph theory, a branch of mathematics, a half graph is a special type of bipartite graph. These graphs are called the half graphs because they have approximately half of the edges of a complete bipartite graph on the same vertices. The name was given to these graphs by Paul Erdős and András Hajnal.

<i>k</i>-outerplanar graph

In graph theory, a k-outerplanar graph is a planar graph that has a planar embedding in which the vertices belong to at most concentric layers. The outerplanarity index of a planar graph is the minimum value of for which it is -outerplanar.

In mathematics, S2S is the monadic second order theory with two successors. It is one of the most expressive natural decidable theories known, with many decidable theories interpretable in S2S. Its decidability was proved by Rabin in 1969.

References