Skip to main content
Log in

Lower bounds on space complexity for contextfree recognition

  • Published:
Acta Informatica Aims and scope Submit manuscript

Summary

Using methods from linear algebra and crossing-sequence arguments it is shown that logarithmic space is necessary for the recognition of all context-free nonregular subsets of {a1}* ... {an}*, where {a1,...,an} is some alphabet. It then follows that log n is a lower bound on the space complexity for the recognition of any bounded or deterministic non-regular context-free language.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

Abbreviations

ℕ:

the set of natural numbers

0=:

\(\mathbb{N} \cup \left\{ 0 \right\}\)

ℤ:

the set of integers

\(\mathbb{Q}\) :

the set of rational numbers

\(\mathbb{Q}_ + \) :

the set of nonnegative rational numbers

[r 1, r 2]:

the set \(\{ x \in \mathbb{Q}|r_1 \leqq {\text{x}} \leqq r_2 \}\)

[r 1,r2):

the set \(\{ x \in \mathbb{Q}|r_1 \leqq {\text{x}} \leqq r_2 \}\)

δ + A :

the set of all vectors {δ + α¦αεA} for a given vector δ and a set of vectors A

M :

the complement of the set M

w R :

the reversal of the word σ*, e.g. (x1...xi)R=x n ...x 1

O: f :

O(g) for two functions f,g: ℕ0→ℕ0 means lim sup \(\mathop {lim}\limits_{n \to \infty } sup\frac{{f(n)}}{{g(n)}} < \infty ; o: f = o(g) \Leftrightarrow \mathop {lim}\limits_{n \to \infty } \frac{{f(n)}}{{g(n)}} = 0\)

References

  1. Alt, H.: Eine untere Schranke für den Platzbedarf bei der Analyse beschränkter kontextfreier Sprachen, Dissertation, Saarbrücken, 1976

  2. Alt, H., Mehlhorn, K.: Lower Bounds for the Space Complexity of Contextfree Recognition, 3rd Coll. on Automata, Languages and Programming, Edinburgh, 1976

  3. Alt, H. Mehlhorn, K.: A Language over a Single Letter Alphabet requiring only O(log log n) Space. SIGACT NEWS, Vol. 7 (1975)

  4. Fredman, A.R., Ladner, E.R.: Space Bounds Processing Contentless Inputs, JCSS, 1976

  5. Ginsburg, S.: The Mathematical Theory of Context-Free Languages, McGraw-Hill, 1972

  6. Greub, W.H.: Linear Algebra, Springer-Verlag, 1967

  7. Hartmanis, J., Berman, L.: A Note on Tape Bounds for SLA Languages Processing, 16th FOCS Symp., Berkeley, 1975

  8. Hopcroft, J.W., Ullman, J.D.: Formal Languages and their Relation to Automata, Reading, Mass.: Addison-Wesley, 1969

    Google Scholar 

  9. Hotz, G., Messerschmidt, J.: Dyck-Sprachen sind in Bandkomplexität log n analysierbar, Universität des Saarlandes 1974

  10. Lewis, P.M., Hartmanis, J., Stearns, R.E.: Memory Bounds for the Recognition of Context-Free and Context-Sensitive Languages, IEEE Conf. Record on Switching Circuit Theory and Logical Dessign, 179–202 (1965)

  11. Lynch, N.: Log Space Recognition and Translation of Paranthesis Languages, JACM 24 (1977)

  12. Mehlhorn, K.: Komplexitätstheorie, Vorlesungsskript, WS 1975/76, Univ. d. Saarlandes

  13. Mehlhorn, K.: Bracket Languages are Recognizable in Logarithmic Space, Information Processing Letters 5, 1976

  14. Monien, B.: About the Deterministic Simulation of Nondeterministic (log n)-Tape Bounded Turing Machines, 2. GI-Fachtagung, Kaiserslautern, 1975

  15. Springsteel, Ritchie: Language Recognition by Marking Automata, Information and Control, 4, 313–330 (1972)

    MathSciNet  Google Scholar 

  16. Stearns, R.E.: A Regularity Test for Pushdown-Machines, Information and Control, 11, 323–340 (1967)

    Article  MATH  Google Scholar 

  17. Sudborough, I.H.: On Tape Bounded Classes and Multihead Finite Automata, 14th SWAT Symp., 138–144 (1973)

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Alt, H. Lower bounds on space complexity for contextfree recognition. Acta Informatica 12, 33–61 (1979). https://doi.org/10.1007/BF00264016

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00264016

Keywords

Navigation