Version Space Algebras are Acyclic Tree Automata

07/27/2021
by   James Koppel, et al.
0

Version space algebras are ways of representing spaces of programs which can be combined using union, intersection, and cross-product/“join" operators. In their reified form as ASTs with explicit union and join nodes, they have the ability to compactly represent exponentially-large spaces of programs, owing to which they have become become the most popular approach to enumerative program synthesis since the introduction of FlashFill in 2010. We present a linear-time semantics-preserving constructive embedding from version space algebras into nondeterministic finite tree automata, showing that the former are but a special case of the latter. Combined with recent results finding a correspondence between e-graphs and minimal deterministic tree automata, this shows that tree automata are strict generalizations of all recent major approaches to efficiently representing large spaces of programs by sharing.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/15/2022

Searching Entangled Program Spaces

Many problem domains, including program synthesis and rewrite-based opti...
research
07/22/2019

Succinct Representation for (Non)Deterministic Finite Automata

Deterministic finite automata are one of the simplest and most practical...
research
08/11/2021

Finite Automata Intersection Non-Emptiness: Parameterized Complexity Revisited

The problem DFA-Intersection-Nonemptiness asks if a given number of dete...
research
02/02/2023

New Linear-time Algorithm for SubTree Kernel Computation based on Root-Weighted Tree Automata

Tree kernels have been proposed to be used in many areas as the automati...
research
09/09/2020

Ties between Parametrically Polymorphic Type Systems and Finite Control Automata

We present a correspondence and bisimulation between variants of paramet...
research
08/29/2021

Second-Order Finite Automata

Traditionally, finite automata theory has been used as a framework for t...
research
12/05/2018

Sculptures in Concurrency

We give a formalization of Pratt's intuitive sculpting process for highe...

Please sign up or login with your details

Forgot password? Click here to reset