[Paper Review] Reachability and Distances under Multiple Changes
This paper extends dynamic descriptive complexity by showing that reachability and distances in directed graphs can be maintained under multiple-edge changes using first-order logic with arithmetic (+, ×) or majority quantifiers. It proves that reachability is in DynFO(+, ×) for changes affecting O(log n / log log n) nodes, and in DynFO with majority for O(log^c n) nodes, using matrix inversion via the Sherman-Morrison-Woodbury identity and determinant computation in FO+Maj.
Recently it was shown that the transitive closure of a directed graph can be updated using first-order formulas after insertions and deletions of single edges in the dynamic descriptive complexity framework by Dong, Su, and Topor, and Patnaik and Immerman. In other words, Reachability is in DynFO. In this article we extend the framework to changes of multiple edges at a time, and study the Reachability and Distance queries under these changes. We show that the former problem can be maintained in DynFO(+, x) under changes affecting O({log n}/{log log n}) nodes, for graphs with n nodes. If the update formulas may use a majority quantifier then both Reachability and Distance can be maintained under changes that affect O(log^c n) nodes, for fixed c in N. Some preliminary results towards showing that distances are in DynFO are discussed.
Motivation & Objective
- . The paper aims to extend the dynamic descriptive complexity framework to handle multiple-edge changes, moving beyond single-tuple updates.
- It investigates whether reachability and distance queries can be efficiently maintained when multiple nodes or edges are modified simultaneously.
- The objective includes characterizing the size of changes (in terms of affected nodes) for which these queries remain maintainable in low-complexity logic classes like DynFO(+, ×) and DynFO with majority.
- The work seeks to bridge the gap between static complexity (e.g., NL for reachability) and dynamic complexity by showing that dynamic maintenance is feasible even under non-constant changes.
- It also explores the feasibility of maintaining distances in DynFO, a major open problem in dynamic complexity.
Proposed method
- . The approach uses formal power series and matrix approximations to represent the inverse of the adjacency matrix, enabling incremental updates.
- It applies the Sherman-Morrison-Woodbury identity to update the matrix inverse after changes, decomposing edge updates into low-rank perturbations using matrices U, B, and V.
- The method maintains an n-approximation of the matrix inverse in Z[[x]]^n×n, truncated at degree n, to handle polynomial encodings of reachability.
- Determinant computation for small matrices (size O(log^c n)) is achieved using uniform TC0, which is equivalent to FO+Maj(+, ×), enabling the use of majority quantifiers.
- For larger changes, the method relies on computing determinants in uniform NC1 to achieve results in DynNC1 for changes affecting O(2^√(log n / log*n)) nodes.
- The dynamic program uses first-order formulas with arithmetic and majority to update auxiliary relations, ensuring maintainability in the specified logic classes.
Experimental results
Research questions
- RQ1. Can reachability be maintained in DynFO(+, ×) under changes that affect O(log n / log log n) nodes?
- RQ2. Can reachability and distance be maintained in DynFO with majority under changes affecting O(log^c n) nodes for any fixed c ∈ N?
- RQ3. Is it possible to maintain auxiliary data in DynFO(+, ×) from which shortest distances can be extracted using FO+Maj(+, ×) queries?
- RQ4. What is the largest class of changes (in terms of number of affected nodes) for which reachability and distance remain maintainable in low-complexity dynamic logic classes?
- RQ5. Can the techniques used for reachability be extended to maintain distances in DynFO, addressing a major open problem in dynamic complexity?
Key findings
- . Reachability can be maintained in DynFO(+, ×) under changes affecting O(log n / log log n) nodes, extending prior results limited to single-edge updates.
- . With the addition of majority quantifiers, both reachability and distance can be maintained in DynFO for changes affecting O(log^c n) nodes, for any fixed c ∈ N.
- . The determinant of k × k matrices with polynomial entries can be computed in FO+Maj(+, ×) for k ∈ O(log^c n), enabling the use of the Sherman-Morrison-Woodbury identity in this logic.
- . For changes affecting O(2^√(log n / log*n)) nodes, reachability and distance can be maintained in DynNC1, showing scalability under larger changes.
- . The paper provides a framework to maintain distance-related information in DynFO(+, ×), with shortest distances extractable via FO+Maj(+, ×) queries, offering a path toward proving distances in DynFO.
- . The results demonstrate that matrix inversion and determinant computation in low-complexity logic classes enable dynamic maintenance of reachability and distance under non-constant-size changes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.