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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

The Uniform-Orientation Steiner Tree Problem on Two Horizontal Lines is NP-Complete

Quentin Bramas
Zenodo (CERN European Organization for Nuclear Research)
Complexity and Algorithms in Graphs
article

The Uniform-Orientation Steiner Tree Problem on Two Horizontal Lines is NP-Complete

Quentin Bramas
article en

Abstract

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.)

Zenodo (CERN European Organization for Nuclear Research)
Université de Strasbourg (FR)
Complexity and Algorithms in Graphs
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
The Uniform-Orientation Steiner Tree Problem on Two Horizontal Lines is NP-Complete — Quentin Bramas · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS