Skip to main content
QUICK REVIEW

[Paper Review] A linear-time algorithm to compute geodesics in solvable Baumslag-Solitar groups

Murray Elder|arXiv (Cornell University)|Mar 2, 2009
Geometric and Algebraic TopologyMathematics4 references4 citations
TL;DR

This paper presents a linear-time algorithm to compute geodesic words in the solvable Baumslag-Solitar group $BS(1,p)$, using a combination of pointer-based rearrangement and dynamic path tracking in the Cayley graph. The algorithm transforms any input word of length $n$ into a geodesic representative in $O(n)$ time and $O(n/log n)$ space, resolving a problem that is NP-hard in other metabelian groups.

ABSTRACT

We present an algorithm to convert a word of length $n$ in the standard generators of the solvable Baumslag-Solitar group $BS(1,p)$ into a geodesic word, which runs in linear time and $O(n\log n)$ space on a random access machine.

Motivation & Objective

  • To address the geodesic problem in $BS(1,p)$, a class of metabelian groups where the problem is NP-hard in other settings.
  • To design a deterministic algorithm that computes geodesic representatives in linear time, overcoming the exponential worst-case complexity of prior methods.
  • To achieve efficient space usage by tracking only relevant path segments across levels in the Cayley graph, using $O(n\log n)$ space.
  • To extend the applicability of geodesic computation to a non-free metabelian group with a solvable presentation, despite the NP-hardness in related groups.

Proposed method

  • Use a random access machine model to enable constant-time access to array elements, supporting efficient pointer manipulation.
  • Apply pointer-based rearrangement in part one to commute $a$-letters past $t$-letters with zero $t$-exponent sum, reducing word length while preserving group equivalence.
  • Construct a layered representation of the Cayley graph from level $q$ to $q+r$, storing only key points and labels to limit space to $O(n\log n)$.
  • At each level, extend the path by $3p-1$ edges on either side of critical points $d_{1,q}, d_{2,q}$, and label points $U, d_{1,q+1}, d_{2,q+1}$ for path reconstruction.
  • Compute shortest paths from $U$ to $E_r$ via $t$-edges upward and $a$-edges horizontally, using dynamic comparison across levels to find the geodesic.
  • Backtrack from $E_r$ downward using $t^{-1}$-edges to locate all feasible geodesic paths within the stored diagram, selecting the shortest one.

Experimental results

Research questions

  • RQ1Can the geodesic problem in $BS(1,p)$ be solved in linear time, despite its NP-hardness in other metabelian groups?
  • RQ2What data structures and algorithmic techniques can ensure linear-time performance while maintaining $O(n\log n)$ space usage?
  • RQ3How can path tracking in the Cayley graph be optimized to avoid exponential blowup in worst-case scenarios?
  • RQ4To what extent can the structure of $BS(1,p)$—with its hierarchical, tree-like Cayley graph—be exploited for efficient geodesic computation?
  • RQ5Is it possible to compute geodesics without requiring a fixed normal form, while still achieving optimal time complexity?

Key findings

  • The algorithm computes a geodesic representative for any word in $BS(1,p)$ in $O(n)$ time and $O(n\log n)$ space, where $n$ is the input length.
  • The algorithm avoids exponential time by using pointers to efficiently commute subwords of zero $t$-exponent sum, ensuring linear-time rearrangement.
  • The geodesic is found by exploring only a bounded number of levels above the input word’s endpoint, due to the $3p$-bound on $a$-letter runs.
  • The method stores only $O(\log n)$ levels of the Cayley graph, each with a constant number of labels, achieving $O(n\log n)$ space complexity.
  • The algorithm handles negative $t$-exponent sum inputs by inverting the word, applying the algorithm, then inverting the output—this step is linear time.
  • The output geodesic is not a normal form, but a geodesic representative that depends on the input; a normal form can be obtained by a separate polynomial-time preprocessing step.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.