Cocke–Younger–Kasami–Schwartz–Zippel algorithm and relatives

12/07/2022
by   Vladislav Makarov, et al.
0

The equivalence problem for unambiguous grammars is an important, but very difficult open question in formal language theory. Consider the limited equivalence problem for unambiguous grammars – for two unambiguous grammars G_1 and G_2, tell whether or not they describe the same set of words of length n. Obviously, the naive approach requires exponential time with respect to n. By combining two classic algorithmic ideas, I introduce a O( poly(n, |G_1|, |G_2|)) algorithm for this problem. Moreover, the ideas behind the algorithm prove useful in various other scenarious.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/31/2020

On the binomial equivalence classes of finite words

Two finite words u and v are k-binomially equivalent if, for each word x...
research
09/06/2023

Words-to-Letters Valuations for Language Kleene Algebras with Variable Complements

We investigate the equational theory of Kleene algebra terms with variab...
research
11/06/2018

Knuth's Moves on Timed Words

We give an exposition of Schensted's algorithm to find the length of the...
research
07/20/2022

Abelian Combinatorics on Words: a Survey

We survey known results and open problems in abelian combinatorics on wo...
research
10/15/2020

Program Equivalence for Assisted Grading of Functional Programs (Extended Version)

In courses that involve programming assignments, giving meaningful feedb...
research
12/07/2022

Why the equivalence problem for unambiguous grammars has not been solved back in 1966?

In 1966, Semenov, by using a technique based on power series, suggested ...
research
02/25/2021

Tuning as a Means of Assessing the Benefits of New Ideas in Interplay with Existing Algorithmic Modules

Introducing new algorithmic ideas is a key part of the continuous improv...

Please sign up or login with your details

Forgot password? Click here to reset