arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2011.11767cs.CC
收藏

算术表达式构造

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 Ly… 展开作者

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

摘要:

什么时候可以使用给定$\{+, -, \times, ÷\}$子集中的算术运算符组合$n$给定的数字,以获得给定的目标数字?我们研究了算术表达式构造问题的三种变化:当表达式(1)是无约束的;(2)具有指定的括号和运算符模式(并且只有数字需要分配给空格);或者(3)必须匹配指定的数字顺序(但运算符和括号是自由的)。对于这些变体中的每一个,以及$\{+,-,\times,÷\}$的许多子集,我们证明了NP完全问题,有时在弱意义上,有时在强意义上。大多数这些证明利用了一个“有理函数框架”,证明了这些问题在有理函数中的值与在正整数中的值的等价性。

英文摘要:

When can $n$ given numbers be combined using arithmetic operators from a given subset of $\{+, -, \times, ÷\}$ 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 $\{+,-,\times,÷\}$, 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑