The Uniform-Orientation Steiner Tree Problem on Two Horizontal Lines is NP-Complete
We prove that for every fixed integer λ ≥ 4, the uniform-orientation Steiner tree problem is weakly NP-complete even when all terminals have integer coordinates and lie on two parallel lines aligned with one of the λ legal orientations (or equivalently, on two opposite sides of an aligned parallelogram), and the length bound is an integer. While Brazil and Zachariasen established NP-hardness on two parallel lines orthogonal to a legal orientation—which are themselves legal when λ is even—our construction handles all λ ≥ 4 uniformly, in particular resolving every odd λ ≥ 5 where no legal direction is perpendicular to the two lines. The reduction from SUBSET SUM builds a rigid Steiner junction from three legal directions with balanced dual exposing vectors, constructs a slanted zigzag base tree, and encodes items via asymmetric terminal triples whose costs are certified by dual vector flows. The entire NP-completeness proof (both NP membership and NP-hardness) has been formally verified in Lean 4 for every fixed λ ≥ 4. Files aligned-boundary-hardness.pdf: The paper. README.md: Overview of the formalization, theorem index, and build instructions. aligned-boundary-hardness-lean.zip: Complete self-contained bundle containing the paper (PDF and standalone LaTeX source aligned-boundary-hardness.tex), README.md, and the Lean 4 (v4.36.0-rc2) formalization (AlignedHardness/), built on Mathlib and cslib-frontier. Verification The Lean 4 entry point is Main.lean. It contains no sorry, checks every custom problem definition by rfl, and #print axioms reports only Lean/Mathlib's standard axioms (propext, Classical.choice, and Quot.sound). To build from the archive: cd AlignedHardnesslake exe cache getlake build AI statement This paper and the accompanying Lean 4 proof have been entirely generated by AI using opus-5.5, gemini-4-neon, and gpt-6.2-astra, and improved by humans. (Note: the uploaded PDF and README contain a typo listing gemini-5-neon instead of gemini-4-neon.)
Authors
- Quentin Bramas (ORCID: https://orcid.org/0000-0003-0612-5616)
Institutions
- Université de Strasbourg (FR)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-27
- DOI
- https://doi.org/10.5281/zenodo.24592254
- Primary Topic
- Complexity and Algorithms in Graphs
- Type
- article
- Field-Weighted Citation Impact
- 0.00