Program Specialization as a Tool for Solving Word Equations

09/07/2021
by   Antonina Nepeivoda, et al.
0

The paper focuses on the automatic generating of the witnesses for the word equation satisfiability problem by means of specializing an interpreter which tests whether a composition of variable substitutions of a given word equation system produces its solution. We specialize such an interpreter w.r.t. the equation system, while the substitutions are unknown. We show that several variants of such interpreters, when specialized using the basic unfold/fold specialization methods, are able to construct the whole solution sets for some classes of the word equations whose left- and right-hand sides share variables. We prove that the specialization process wrt the constructed interpreters gives a simple syntactic criterion of the satisfiability of the equations considered, and show that the suggested approach can solve some equations not solvable by Z3str3 and CVC4, the widely-used SMT-solvers.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/23/2020

On Solving Word Equations via Program Transformation

The paper presents an experiment of solving word equations via specializ...
research
02/02/2018

The Satisfiability of Extended Word Equations: The Boundary Between Decidability and Undecidability

The study of word equations (or the existential theory of equations over...
research
01/15/2021

Solving one variable word equations in the free group in cubic time

A word equation with one variable in a free group is given as U = V, whe...
research
05/17/2018

Quadratic Word Equations with Length Constraints, Counter Systems, and Presburger Arithmetic with Divisibility

Word equations are a crucial element in the theoretical foundation of co...
research
09/21/2022

Seeking Diverse Reasoning Logic: Controlled Equation Expression Generation for Solving Math Word Problems

To solve Math Word Problems, human students leverage diverse reasoning l...
research
11/14/2018

Translating a Math Word Problem to an Expression Tree

Sequence-to-sequence (SEQ2SEQ) models have been successfully applied to ...
research
10/15/2020

Approximation of BSDE with Hidden Forward Equation and Unknown Volatility

In the present paper the problem of approximating the solution of BSDE i...

Please sign up or login with your details

Forgot password? Click here to reset