Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/800116.803753acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article
Free access

On the complexity of grammar and related problems

Published: 05 May 1975 Publication History
  • Get Citation Alerts
  • Abstract

    In [1] and [2] a complexity theory for formal languages and automata was developed. This theory implies most of the previously known results and yields many new results as well. Here we develop an analogous theory for several classes of more practically motivated problems. Two such classes, both closely related to formal language and automata theory, suggest themselves - grammar problems and program scheme problems. Here, our primary emphasis is on grammar problems of interest in parsing and compiling. Other problems considered include -
    (1) possible techniques for proving non-trivial lower complexity bounds for problems in P;
    (2) the relationship of the complexity of tree automaton equivalence, structural equivalence, and grammatical covering; and
    (3) the complexity of the equivalence problem for schemes.
    In each case we relate the computational complexity of a problem to its underlying combinatorial structure. The remainder of the paper is divided into four sections.

    References

    [1]
    H. B. Hunt, III, On the time and tape complexity of languages, Ph.D. Thesis, Cornell University, Aug. 1973.
    [2]
    H. B. Hunt, III, and D. J. Rosenkrantz, Computational parallels between the regular and context-free languages, Proc. 6th An. ACM Symp. on Th. of Comp. (May 1974), 64-73.
    [3]
    D. E. Knuth, On the translation of languages from left to right, Inf. and Cont. 8, 6 (1965), 607-639.
    [4]
    W. F. Ogden, unpublished note (Dec. 1971).
    [5]
    H. B. Hunt, III, T. G. Szymanski, and J. D. Ullman, On the complexity of LR(k) testing, Conf. Rec. 2nd ACM Symp. on Principles of Programming Languages (Jan. 1975), 130-136.
    [6]
    T. G. Szymanski, Generalized bottom-up parsing, Ph.D. Thesis, Cornell University, May 1973.
    [7]
    A. V. Aho and J. D. Ullman, The Theory of Parsing, Translation, and Compiling, Vol.'s 1 and 2, Prentice-Hall, Englewood Cliffs, N.J., 1972 and 1973.
    [8]
    W. J. Savitch, Relationships between non-deterministic and deterministic tape complexity, JCSS 4, 2 (1970), 177-192.
    [9]
    J. Hartmanis and H. B. Hunt, III, The lba problem and its importance in the theory of computing, SIAM-AMS Proc., Vol. 7, Amer. Math. Soc., Providence, R.I., 1974.
    [10]
    I. H. Sudborough, On tape-bounded complexity classes and multi-head finite automata, Proc. 14th An. IEEE Symp. on Switching and Automata Th. (Oct. 1973), 138-144.
    [11]
    N. D. Jones and W. T. Laaser, Complete problems for deterministic polynomial time, Proc. 6th An. ACM Symp. on Th. of Comp. (May 1974), 40-46.
    [12]
    S. A. Cook, An observation on time-storage tradeoff, Proc. 5th An. ACM Symp. on Th. of Comp. (May 1973), 29-33.
    [13]
    S. A. Cook and R. Sethi, Storage requirements for deterministic polynomial time recognizable languages, Proc. 6th An. ACM Symp. on Th. of Comp. (May 1974), 33-39.
    [14]
    A. V. Aho, J. E. Hopcroft, and J. D. Ullman, Time and tape complexity of pushdown automaton languages, Inf. and Cont. 13, 3 (1968), 186-206.
    [15]
    T. G. Szymanski and J. H. Williams, Non-canonical parsing, Proc. 14th An. IEEE Symp. on Switching and Automata Th. (Oct. 1973), 122-129.
    [16]
    W. F. Ogden, A helpful result for proving inherent ambiguity, Math. Systems Th. 2, 3 (1968), 191-194.
    [17]
    J. E. Hopcroft, On the equivalence and containment problems for context-free languages, Math. Systems Th. 3, 2 (1969), 119-124.
    [18]
    M. A. Harrison and I. M. Havel, Strict deterministic grammars, JCSS 7, 3 (1973), 237-277.
    [19]
    B. M. Brosgol, Deterministic translation grammars, Ph.D. thesis, Harvard University, 1974.
    [20]
    K. Culik, II and R. Cohen, LR-regular grammars-an extension of LR(k) grammars, JCSS 7, 1 (1973), 66-96.
    [21]
    C. N. Fischer, Extended abstract - an approach to parallel parsing, unpublished.
    [22]
    J. Hartmanis and J. E. Hopcroft, An overview of the theory of computational complexity, JACM18, 13 (1971), 444-475.
    [23]
    H. B. Hunt, III, T. G. Szymanski, and J. D. Ullman, Operations on sparse relations and efficient algorithms for grammar problems, Proc. 15th An. IEEE Symp. on Switching and Automata Th. (Oct. 1974), 127-132.
    [24]
    H. B. Hunt, III, On the complexity of finite, pushdown, and stack automata, Mathematics Research Center Technical Summary Report #1504, University of Wisconsin-Madison, Oct. 1974 (also submitted for publication).
    [25]
    S. A. Cook, Characterizations of pushdown machines in terms of time-bounded computers, JACM18, 1 (1971), 4-18.
    [26]
    A. V. Aho, Nested stack automata, JACM 16, 3 (1969), 383-407.
    [27]
    M. J. Fischer, Grammars with macro-like productions, Conf. Rec. 9th An. IEEE Symp. on Switching and Automata Th. (Oct. 1968), 131-142.
    [28]
    P. M. Lewis, R. E. Stearns, and J. Hartmanis, Memory bounds for recognition of context-free and context-sensitive languages, IEEE Conf. Rec. on Switching Circuit Th. and Logical Design (Oct. 1965), 191-202.
    [29]
    O. H. Ibarra, Characterizations of some tape and time complexity classes of Tm's in terms of multi-head and auxiliary stack automata, JCSS 5 (1971), 88-117.
    [30]
    H. B. Hunt, III, and T. G. Szymanski, manuscript in preparation.
    [31]
    D. J. Rosenkrantz and R. E. Stearns, Properties of deterministic top-down grammars, Inf. and Con. 17, 3 (1970), 226-256.
    [32]
    H. B. Hunt, III, D. J. Rosenkrantz, and T. G. Szymanski, On the equivalence, containment, and covering problems for the regular and context-free languages (submitted for publication).
    [33]
    J. W. Thatcher, Tree automata: an informal survey, in Currents in the Theory of Computing, A. V. Aho (ed.), Prentice-Hall, Englewood Cliffs, N. J., 1973, 143-172.
    [34]
    W. C. Rounds, Mappings and grammars on trees, Math. Systems Th. 4, 3 (1970), 257-287.
    [35]
    H. B. Hunt, III, D. J. Rosenkrantz, and T. G. Szymanski, The covering problem for linear context-free grammars, Computer Sciences Laboratory Technical Report TR 165, Dept. of Electrical Engineering, Princeton University.
    [36]
    R. L. Constable, H. B. Hunt, III, and S. Sahni, On the computational complexity of scheme equivalence (submitted for publication.)
    [37]
    D. C. Luckham, D. M. R. Park, and M. S. Paterson, On formalized computer programs, JCSS 4, 3 (1970), 220-249.
    [38]
    A. K. Chandra, Degrees of translatability and canonical forms in program schemas: part I, Proc. 6th An. ACM Symp. on Th. of Comp. (May 1974), 1-12.
    [39]
    N. Jones, Preliminary report: reducibility among combinatorial problems in logn space, Proc. 7th An. Princeton Conf. on Information Sciences and Systems (March 1973), 547-551.

    Cited By

    View all

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    STOC '75: Proceedings of the seventh annual ACM symposium on Theory of computing
    May 1975
    265 pages
    ISBN:9781450374194
    DOI:10.1145/800116
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 05 May 1975

    Permissions

    Request permissions for this article.

    Check for updates

    Qualifiers

    • Article

    Acceptance Rates

    STOC '75 Paper Acceptance Rate 31 of 87 submissions, 36%;
    Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)30
    • Downloads (Last 6 weeks)5

    Other Metrics

    Citations

    Cited By

    View all
    • (2005)States can sometimes do more than stack symbols in PDA'sAutomata, Languages and Programming10.1007/3-540-08860-1_26(353-362)Online publication date: 26-May-2005
    • (2005)Descriptional complexity (of languages) a short surveyMathematical Foundations of Computer Science 197610.1007/3-540-07854-1_162(65-80)Online publication date: 21-May-2005
    • (1989)BibliographyComputability, Complexity, Logic10.1016/S0049-237X(08)70326-4(528-573)Online publication date: 1989
    • (1981)Formal LanguagesIEEE Annals of the History of Computing10.1109/MAHC.1981.100063:1(14-41)Online publication date: 1-Jan-1981
    • (1980)Efficient algorithms for structural similarity of grammarsProceedings of the 7th ACM SIGPLAN-SIGACT symposium on Principles of programming languages10.1145/567446.567467(213-219)Online publication date: 28-Jan-1980
    • (1979)Formal languagesProceedings of the 20th Annual Symposium on Foundations of Computer Science10.1109/SFCS.1979.19(66-90)Online publication date: 29-Oct-1979
    • (1976)Dichotomization, reachability, and the forbidden subgraph problem(Extended Abstract)Proceedings of the eighth annual ACM symposium on Theory of computing10.1145/800113.803640(126-134)Online publication date: 3-May-1976

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media