Loughborough University
Browse

Subsequence matching and analysis problems for formal languages.

Download (795.57 kB)
conference contribution
posted on 2025-07-30, 09:31 authored by Szilárd Zsolt Fazekas, Tore Koß, Florin Manea, Robert MercasRobert Mercas, Timo Specht
<p dir="ltr">In this paper, we study a series of algorithmic problems related to the subsequences occurring in the strings of a given language, under the assumption that this language is succinctly represented by a grammar generating it, or an automaton accepting it. In particular, we focus on the following problems: Given a string w and a language L, does there exist a word of L which has w as subsequence? Do all words of L have w as a subsequence? Given an integer k alongside L, does there exist a word of L which has all strings of length k, over the alphabet of L, as subsequences? Do all words of L have all strings of length k as subsequences? For the last two problems, efficient algorithms were already presented in [Adamson et al., ISAAC 2023] for the case when L is a regular language, and efficient solutions can be easily obtained for the first two problems. We extend that work as follows: we give sufficient conditions on the class of input-languages, under which these problems are decidable; we provide efficient algorithms for all these problems in the case when the input language is context-free; we show that all problems are undecidable for context-sensitive languages. Finally, we provide a series of initial results related to a class of languages that strictly includes the regular languages and is strictly included in the class of context-sensitive languages, but is incomparable to the of class context-free languages; these results deviate significantly from those reported for language-classes from the Chomsky hierarchy.</p>

Funding

JSPS Kakenhi Grant Number 23K10976

German Research Foundation (Deutsche Forschungsgemeinschaft, DFG) Programme project number 466789228

Return Fellowship from the Alexander von Humboldt Foundation

History

Related Materials

School

  • Science

Published in

35th International Symposium on Algorithms and Computation (ISAAC 2024) - Leibniz International Proceedings in Informatics (LIPIcs)

Volume

322

Pages

28:1 - 28:1

Source

35th International Symposium on Algorithms and Computation (ISAAC 2024)

Publisher

Schloss Dagstuhl - Leibniz-Zentrum für Informatik

Version

  • VoR (Version of Record)

Rights holder

© Szilárd Zsolt Fazekas, Tore Koß, Florin Manea, Robert Mercaş, and Timo Specht

Publisher statement

Licensed under Creative Commons License CC-BY 4.0

Publication date

2024-01-01

Copyright date

2024

ISBN

9783959773546

ISSN

ISSN 1868-8969

Language

  • en

Location

Sydney, Australia

Event dates

8th December 2024 - 11th December 2024

Depositor

Dr Robert Mercas. Deposit date: 23 July 2025

Usage metrics

    Loughborough Publications

    Categories

    No categories selected

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC