On Equivalence and Containment Problems for Formal Languages

Harry B. Hunt, Daniel J. Rosenkrantz

Journal of the ACM · 1977 · 17 citations · 13 references

DOIFull text

Open access

Concepts

Abstract

Sufficient but general conditions on a family of formal languages ~ and a language L~ m ~ are given such that (l) "'= L0" is as hard as "= {0, 1}*" for,~', (2) "_~ Lo" is as hard as "= {0, 1}*" for if', and (3) "= L0" and "C_ Lo" are as hard as "= ~" lor ~: For many interesting families such as the regular sets and contextfree languages, a sufficient condmon for (1) is that Lo has an unbounded regular subset; a sufficient condinon for (2) is that Lo has an unbounded context-free subset, and a sufficient condition for (3) is that L0 has no unbounded regular subsets Numerous applications of these results to specific families of languages are hsted Many context-free languages are shown to contain unbounded regular subsets KEY WORDS AND PHRASES equivalence, containment, language, grammar, context-free CR CATEGORIES 5 22, 5 23, 5 25

References

13