The Extended Theory of Trees and Algebraic (Co)datatypes

05/13/2020
by   Fabian Zaiser, et al.
0

The first-order theory of finite and infinite trees has been studied since the eighties, especially by the logic programming community. Following Djelloul, Dao and Frühwirth, we consider an extension of this theory with an additional predicate for finiteness of trees, which is useful for expressing properties about (not just datatypes but also) codatatypes. Based on their work, we present a simplification procedure that determines whether any given (not necessarily closed) formula is satisfiable, returning a simplified formula which enables one to read off all possible models. Our extension makes the algorithm usable for algebraic (co)datatypes, which was impossible in their original work due to restrictive assumptions. We also provide a prototype implementation of our simplification procedure and evaluate it on instances from the SMT-LIB.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/09/2020

Politeness for the Theory of Algebraic Datatypes

Algebraic datatypes, and among them lists and trees, have attracted a lo...
research
10/10/2022

Taming "McKinsey-like" formula: An Extended Correspondence and Completeness Theory for Hybrid Logic H(@)

In the present article, we extend the fragment of inductive formulas for...
research
09/10/2018

On Computing the Measures of First-Order Definable Sets of Trees

We consider the problem of computing the measure of a regular language o...
research
01/21/2019

MSO+nabla is undecidable

This paper is about an extension of monadic second-order logic over infi...
research
04/24/2023

The Probabilistic Rabin Tree Theorem

The Rabin tree theorem yields an algorithm to solve the satisfiability p...
research
09/08/2017

Monitoring of Traffic Manoeuvres with Imprecise Information

In monitoring, we algorithmically check if a single behavior satisfies a...
research
09/15/2017

Nominal C-Unification

Nominal unification is an extension of first-order unification that take...

Please sign up or login with your details

Forgot password? Click here to reset