Decidable Logics Combining Word Equations, Regular Expressions and Length Constraints

05/23/2018
by   Quang Loc Le, et al.
0

In this work, we consider the satisfiability problem in a logic that combines word equations over string variables denoting words of unbounded lengths, regular languages to which words belong and Presburger constraints on the length of words. We present a novel decision procedure over two decidable fragments that include quadratic word equations (i.e., each string variable occurs at most twice). The proposed procedure reduces the problem to solving the satisfiability in the Presburger arithmetic. The procedure combines two main components: (i) an algorithm to derive a complete set of all solutions of conjunctions of word equations and regular expressions; and (ii) two methods to precisely compute relational constraints over string lengths implied by the set of all solutions.We have implemented a prototype tool and evaluated it over a set of satisfiability problems in the logic. The experimental results show that the tool is effective and efficient.

READ FULL TEXT

page 1

page 2

page 3

page 4

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
12/05/2022

Word Equations in Synergy with Regular Constraints (Technical Report)

When eating spaghetti, one should have the sauce and noodles mixed inste...
research
05/01/2022

Formal Languages via Theories over Strings

We investigate the properties of formal languages expressible in terms o...
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
08/02/2022

Conjunctive Queries for Logic-Based Information Extraction

This thesis offers two logic-based approaches to conjunctive queries in ...
research
04/10/2021

Splitting Spanner Atoms: A Tool for Acyclic Core Spanners

This paper investigates regex CQs with string equalities (SERCQs), a sub...
research
06/01/2020

Two variable logic with ultimately periodic counting

We consider the extension of two variable logic with quantifiers that st...

Please sign up or login with your details

Forgot password? Click here to reset