跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2606.21103 · v2

On the Reachability Problem on Monoid-Labelled Undirected Graphs

首次提交 2026-06-19 13:08
版本更新 2026-11-12 20:47
雷达观测 2026-11-13 14:15
arXiv ↗PDF ↗

摘要

The labelled reachability problem for undirected graphs with edges labelled by elements of a monoid MM (more generally, groupoids or magmas) captures the classes L\sf{L} and NL\sf{NL}. Given a graph G(V,E)G(V, E) labelled by φ  ⁣:E→Mφ~\colon E \to M, s,t∈Vs,t \in V and an accepting subset F⊆MF \subseteq M, the problem asks to test whether there is a walk PP from ss to tt in GG where φ(P)∈Fφ(P) \in F. Ramaswamy et al. (2019) studied the variant where the accepting element is part of the input for aperiodic monoids and groups. Motivated by the success in designing space-bounded algorithms for the undirected graph reachability problem, we study the labelled reachability problem when the accepting set is also fixed. This reveals finer complexity bounds and dichotomies for the problem based on the monoid and the accepting set. Previous results imply that the problem is in L\sf{L} for any finite accepting subset when MM is a group or belongs to DA\sf{DA}. We prove the following (for finite monoids): 1) For any monoid MM, the problem is in L\sf{L} when the accepting element is the identity of MM. If the accepting element is an idempotent, under suitable constraints, the problem is NL\sf{NL}-hard. 2) For any commutative monoid MM, the problem is in L\sf{L} for all F⊆MF \subseteq M. 3) For any L(R)\mathcal{L}(\mathcal{R})-commutative union-of-groups (UoG) monoid MM, the problem is in L\sf{L} for all F⊆MF\subseteq M. We show deterministic logspace algorithms for UoG monoids that are neither L\mathcal{L}-commutative nor R\mathcal{R}-commutative, under certain constraints. 4) For the monoids BA2\sf{BA_2} and U\sf{U}, we show a dichotomy: for all F⊆MF \subseteq M, the problem is either NL\sf{NL}-complete or in L\sf{L}. Our results exploit the connection between Green's relations in the UoG monoids and the properties of the product graph (a graph introduced by Ramaswamy et al. (2019)).

作者备注:Changes in new version: Weakened the statement of Theorem 1.2 and modified Theorem 1.6 as pointed out by a reviewer. The applicability of the theorems do not change. We have made modifications to the presentation of the paper by moving the earlier Remark 3.1 and Proposition 3.1 to a new section - See Section 3.3

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v2,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v2 · 2026-11-12 20:47 · 最新观测版本

On the Reachability Problem on Monoid-Labelled Undirected Graphs

The labelled reachability problem for undirected graphs with edges labelled by elements of a monoid MM (more generally, groupoids or magmas) captures the classes L\sf{L} and NL\sf{NL}. Given a graph G(V,E)G(V, E) labelled by φ  ⁣:E→Mφ~\colon E \to M, s,t∈Vs,t \in V and an accepting subset F⊆MF \subseteq M, the problem asks to test whether there is a walk PP from ss to tt in GG where φ(P)∈Fφ(P) \in F. Ramaswamy et al. (2019) studied the variant where the accepting element is part of the input for aperiodic monoids and groups. Motivated by the success in designing space-bounded algorithms for the undirected graph reachability problem, we study the labelled reachability problem when the accepting set is also fixed. This reveals finer complexity bounds and dichotomies for the problem based on the monoid and the accepting set. Previous results imply that the problem is in L\sf{L} for any finite accepting subset when MM is a group or belongs to DA\sf{DA}. We prove the following (for finite monoids): 1) For any monoid MM, the problem is in L\sf{L} when the accepting element is the identity of MM. If the accepting element is an idempotent, under suitable constraints, the problem is NL\sf{NL}-hard. 2) For any commutative monoid MM, the problem is in L\sf{L} for all F⊆MF \subseteq M. 3) For any L(R)\mathcal{L}(\mathcal{R})-commutative union-of-groups (UoG) monoid MM, the problem is in L\sf{L} for all F⊆MF\subseteq M. We show deterministic logspace algorithms for UoG monoids that are neither L\mathcal{L}-commutative nor R\mathcal{R}-commutative, under certain constraints. 4) For the monoids BA2\sf{BA_2} and U\sf{U}, we show a dichotomy: for all F⊆MF \subseteq M, the problem is either NL\sf{NL}-complete or in L\sf{L}. Our results exploit the connection between Green's relations in the UoG monoids and the properties of the product graph (a graph introduced by Ramaswamy et al. (2019)).

查看此版本解读 →查看此版本原文 ↗