A sharp factor-two threshold for precomputed matrix-chain parenthesizations
A menu of matrix-chain parenthesizations chosen before seeing the dimensions requires exponentially many entries to guarantee any fixed approximation factor below two. The lower bound holds over a two-value alphabet of positive integer dimensions whose larger value depends only on the required factor. A linear number of fans attains factor two for arbitrary positive dimensions. The lower bound applies to fixed menus. The manuscript and accompanying checkers give the counting and cost arguments and the precise scope of the Lean verification. Use of AI. OpenAI Codex was used to search the literature, develop the hard input distribution and mathematical arguments, write the Lean and Python verification code, and draft and revise the manuscript. The Lean files verify the cost identities, optimality on the isolated-high input family and the block-counting inequality. The geometric and probabilistic steps establishing the full threshold are given in the paper.
Authors
- Qian PENG
- Peiwei Wu (ORCID: https://orcid.org/0009-0008-3096-1669)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24616003
- Primary Topic
- Complexity and Algorithms in Graphs
- Type
- preprint