Arithmetic Expression Construction
Leo Alcock, Sualeh Asif, Jeffrey Bosboom, Josh Brunner, Charlotte, Chen, Erik D. Demaine, Rogers Epstein, Adam Hesterberg, Lior Hirschfeld,, William Hu, Jayson Lynch, Sarah Scheffler, Lillian Zhang

TL;DR
This paper investigates the computational complexity of constructing arithmetic expressions from given numbers and operators to reach a target, analyzing various constraints and proving NP-completeness for multiple problem variants.
Contribution
It introduces a unified framework for proving NP-completeness of arithmetic expression construction problems under different constraints.
Findings
Most variants are NP-complete, sometimes in the strong sense.
The rational function framework links these problems to rational functions and positive integers.
Complexity results apply to many subsets of the operators {+, -, ×, ÷}.
Abstract
When can given numbers be combined using arithmetic operators from a given subset of to obtain a given target number? We study three variations of this problem of Arithmetic Expression Construction: when the expression (1) is unconstrained; (2) has a specified pattern of parentheses and operators (and only the numbers need to be assigned to blanks); or (3) must match a specified ordering of the numbers (but the operators and parenthesization are free). For each of these variants, and many of the subsets of , we prove the problem NP-complete, sometimes in the weak sense and sometimes in the strong sense. Most of these proofs make use of a "rational function framework" which proves equivalence of these problems for values in rational functions with values in positive integers.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
