We present a compact exponential algorithm for computing the exact pathwidth of undirected sparse graphs. The method enumerates all vertex subsets via a bit-mask dynamic program and applies a Gaussian sweep over the active set of each prefix. We formalise the optimal-substructure invariant that guarantees the recurrence yields the minimal width, and we prove that the algorithm runs in O(n\,2^n) time and O(2^n) space, matching the lower bound for exact exponential solutions on sparse instances. The implementation is written in pure Chronos-Interpreter and is fully reproducible;
Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.
Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.
Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.
@article{yonathan2026_2026_11_05_path_decompositions_of_sparse_graph,
title={Gaussian Sweep Decomposition for Exact Pathwidth on Sparse Graphs},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-11-05_path_decompositions_of_sparse_graph/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-05_path_decompositions_of_sparse_graph/2026-11-05_path_decompositions_of_sparse_graph.pdf}}
}