34 research outputs found

    Logarithmic Weisfeiler-Leman Identifies All Planar Graphs

    Get PDF
    The Weisfeiler-Leman (WL) algorithm is a well-known combinatorial procedure for detecting symmetries in graphs and it is widely used in graph-isomorphism tests. It proceeds by iteratively refining a colouring of vertex tuples. The number of iterations needed to obtain the final output is crucial for the parallelisability of the algorithm. We show that there is a constant k such that every planar graph can be identified (that is, distinguished from every non-isomorphic graph) by the k-dimensional WL algorithm within a logarithmic number of iterations. This generalises a result due to Verbitsky (STACS 2007), who proved the same for 3-connected planar graphs. The number of iterations needed by the k-dimensional WL algorithm to identify a graph corresponds to the quantifier depth of a sentence that defines the graph in the (k+1)-variable fragment C^{k+1} of first-order logic with counting quantifiers. Thus, our result implies that every planar graph is definable with a C^{k+1}-sentence of logarithmic quantifier depth

    The Iteration Number of Colour Refinement

    Get PDF
    The Colour Refinement procedure and its generalisation to higher dimensions, the Weisfeiler-Leman algorithm, are central subroutines in approaches to the graph isomorphism problem. In an iterative fashion, Colour Refinement computes a colouring of the vertices of its input graph. A trivial upper bound on the iteration number of Colour Refinement on graphs of order n is n-1. We show that this bound is tight. More precisely, we prove via explicit constructions that there are infinitely many graphs G on which Colour Refinement takes |G|-1 iterations to stabilise. Modifying the infinite families that we present, we show that for every natural number n ? 10, there are graphs on n vertices on which Colour Refinement requires at least n-2 iterations to reach stabilisation

    The Iteration Number of the Weisfeiler-Leman Algorithm

    Full text link
    We prove new upper and lower bounds on the number of iterations the kk-dimensional Weisfeiler-Leman algorithm (kk-WL) requires until stabilization. For k3k \geq 3, we show that kk-WL stabilizes after at most O(knk1logn)O(kn^{k-1}\log n) iterations (where nn denotes the number of vertices of the input structures), obtaining the first improvement over the trivial upper bound of nk1n^{k}-1 and extending a previous upper bound of O(nlogn)O(n \log n) for k=2k=2 [Lichter et al., LICS 2019]. We complement our upper bounds by constructing kk-ary relational structures on which kk-WL requires at least nΩ(k)n^{\Omega(k)} iterations to stabilize. This improves over a previous lower bound of nΩ(k/logk)n^{\Omega(k / \log k)} [Berkholz, Nordstr\"{o}m, LICS 2016]. We also investigate tradeoffs between the dimension and the iteration number of WL, and show that dd-WL, where d=3(k+1)2d = \lceil\frac{3(k+1)}{2}\rceil, can simulate the kk-WL algorithm using only O(k2nk/2+1logn)O(k^2 \cdot n^{\lfloor k/2\rfloor + 1} \log n) many iterations, but still requires at least nΩ(k)n^{\Omega(k)} iterations for any dd (that is sufficiently smaller than nn). The number of iterations required by kk-WL to distinguish two structures corresponds to the quantifier rank of a sentence distinguishing them in the (k+1)(k + 1)-variable fragment Ck+1C_{k+1} of first-order logic with counting quantifiers. Hence, our results also imply new upper and lower bounds on the quantifier rank required in the logic Ck+1C_{k+1}, as well as tradeoffs between variable number and quantifier rank.Comment: 30 pages, 1 figure, full version of a paper accepted at LICS 2023; second version improves the presentation of the result

    The Weisfeiler-Leman Dimension of Planar Graphs is at most 3

    Full text link
    We prove that the Weisfeiler-Leman (WL) dimension of the class of all finite planar graphs is at most 3. In particular, every finite planar graph is definable in first-order logic with counting using at most 4 variables. The previously best known upper bounds for the dimension and number of variables were 14 and 15, respectively. First we show that, for dimension 3 and higher, the WL-algorithm correctly tests isomorphism of graphs in a minor-closed class whenever it determines the orbits of the automorphism group of any arc-colored 3-connected graph belonging to this class. Then we prove that, apart from several exceptional graphs (which have WL-dimension at most 2), the individualization of two correctly chosen vertices of a colored 3-connected planar graph followed by the 1-dimensional WL-algorithm produces the discrete vertex partition. This implies that the 3-dimensional WL-algorithm determines the orbits of a colored 3-connected planar graph. As a byproduct of the proof, we get a classification of the 3-connected planar graphs with fixing number 3.Comment: 34 pages, 3 figures, extended version of LICS 2017 pape

    Canonisation and Definability for Graphs of Bounded Rank Width

    Full text link
    We prove that the combinatorial Weisfeiler-Leman algorithm of dimension (3k+4)(3k+4) is a complete isomorphism test for the class of all graphs of rank width at most kk. Rank width is a graph invariant that, similarly to tree width, measures the width of a certain style of hierarchical decomposition of graphs; it is equivalent to clique width. It was known that isomorphism of graphs of rank width kk is decidable in polynomial time (Grohe and Schweitzer, FOCS 2015), but the best previously known algorithm has a running time nf(k)n^{f(k)} for a non-elementary function ff. Our result yields an isomorphism test for graphs of rank width kk running in time nO(k)n^{O(k)}. Another consequence of our result is the first polynomial time canonisation algorithm for graphs of bounded rank width. Our second main result is that fixed-point logic with counting captures polynomial time on all graph classes of bounded rank width.Comment: 32 page
    corecore