The Computational Complexity of Finding Arithmetic Expressions With and Without Parentheses

10/26/2021
by   Jayson Lynch, et al.
0

We show NP-completeness for various problems about the existence of arithmetic expression trees. When given a set of operations, inputs, and a target value does there exist an expression tree with those inputs and operations that evaluates to the target? We consider the variations where the structure of the tree is also given and the variation where no parentheses are allowed in the expression.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/04/2016

Solving General Arithmetic Word Problems

This paper presents a novel approach to automatically solving arithmetic...
research
09/23/2018

Neural Arithmetic Expression Calculator

This paper presents a pure neural solver for arithmetic expression calcu...
research
11/23/2020

Arithmetic Expression Construction

When can n given numbers be combined using arithmetic operators from a g...
research
08/24/2017

A Computational Interpretation of Context-Free Expressions

We phrase parsing with context-free expressions as a type inhabitation p...
research
10/12/2017

Balancing expression dags for more efficient lazy adaptive evaluation

Arithmetic expression dags are widely applied in robust geometric comput...
research
12/21/2017

Bisymmetric and quasitrivial operations: characterizations and enumerations

We investigate the class of bisymmetric and quasitrivial binary operatio...
research
04/26/2012

On the Complexity of Finding Second-Best Abductive Explanations

While looking for abductive explanations of a given set of manifestation...

Please sign up or login with your details

Forgot password? Click here to reset