Language equation Contents Language equations and context-free grammars Language equations and finite automata Conway's problem Language equations with Boolean operations Language equations over a unary alphabet See also References External links Navigation menu10.1145/321127.3211320004-541110.1016/0304-3975(80)90069-90304-397510.1006/jsco.2000.04260747-717110.1016/S0304-3975(01)00389-90304-397510.1007/3-540-45711-9_50302-974310.1007/s00224-006-1321-z1432-435010.1016/j.tcs.2005.09.0180304-397510.1137/02140660097-539710.1016/j.jcss.2009.08.0020022-000010.1016/0304-3975(94)90227-50304-397510.1142/S012905410800584X0129-054110.1.1.395.225010.1016/j.ic.2014.05.0010890-5401Workshop on Theory and Applications of Language Equations (TALE 2007)expanding iteexpanding ite

Formal languagesEquationsSet theory stubsTheoretical computer science stubs


numerical equationsformal languagesset unionset intersectionconcatenationoperandKleene starformal grammarsGinsburgRicecontext-free grammarsfixed-point iterationconjunctive grammarsBrzozowskinondeterministic finite automatonalternating finite automataBaaderEXPTIME-completeConwayKarhumäkiKuncParikhChandraHalpernMeyerOkhotinRE-completeconjunctive grammars




Language equations are mathematical statements that resemble numerical equations, but the variables assume values of formal languages rather than numbers. Instead of arithmetic operations in numerical equations, the variables are joined by language operations. Among the most common operations on two languages A and B are the set union AB, the set intersection AB, and the concatenation AB. Finally, as an operation taking a single operand, the set A* denotes the Kleene star of the language A. Therefore language equations can be used to represent formal grammars, since the languages generated by the grammar must be the solution of a system of language equations.




Contents





  • 1 Language equations and context-free grammars


  • 2 Language equations and finite automata


  • 3 Conway's problem


  • 4 Language equations with Boolean operations


  • 5 Language equations over a unary alphabet


  • 6 See also


  • 7 References


  • 8 External links




Language equations and context-free grammars


Ginsburg and Rice[1]
gave an alternative definition of context-free grammars by language equations. To every context-free grammar G=(V,Σ,R,S)displaystyle G=(V,Sigma ,R,S), is associated a system of equations in variables Vdisplaystyle V. Each variable X∈Vdisplaystyle Xin V is an unknown language over Σdisplaystyle Sigma and is defined by equation X=α1∪…∪αmdisplaystyle X=alpha _1cup ldots cup alpha _m where X→α1displaystyle Xto alpha _1, ..., X→αmdisplaystyle Xto alpha _m are all productions for Xdisplaystyle X. Ginsburg and Rice used a fixed-point iteration argument to show that a solution always exists, and proved that the assignment X=LG(X)displaystyle X=L_G(X) is the least solution to this system, i.e. any other solution must be a componentwise subset of this one.


Language equations with added intersection analogously correspond to conjunctive grammars.



Language equations and finite automata


Brzozowski and Leiss[2] studied left language equations where every concatenation is with a singleton constant language on the left, e.g. a⋅Xdisplaystyle acdot X with variable Xdisplaystyle X, but not X⋅Ydisplaystyle Xcdot Y nor X⋅adisplaystyle Xcdot a. Each equation is of the form Xi=F(X1,...,Xk)displaystyle X_i=F(X_1,...,X_k) with one variable on the right-hand side. Every nondeterministic finite automaton has such corresponding equation using left-concatenation and union, see Fig. 1. If intersection operation is allowed, equations correspond to alternating finite automata.




Fig. 1: A finite automaton with associated system of equations S1=1S1∪0S2displaystyle S_1=1S_1cup 0S_2, S2=1S2∪0S1∪ϵdisplaystyle S_2=1S_2cup 0S_1cup epsilon where ϵdisplaystyle epsilon is the empty word.


Baader and Narendran[3] studied equations F(X1,…,Xk)=G(X1,…,Xk)displaystyle F(X_1,ldots ,X_k)=G(X_1,ldots ,X_k) using left-concatenation and union and proved that their satisfiability problem is EXPTIME-complete.



Conway's problem


Conway[4] proposed the following problem: given a constant finite language Ldisplaystyle L, is the greatest solution of equation LX=XLdisplaystyle LX=XL always regular? This problem was studied by Karhumäki and Petre[5][6] who gave an affirmative answer in a special case. A strongly negative answer to Conway's problem was given by Kunc[7] who constructed a finite language Ldisplaystyle L such that the greatest solution of this equation is not recursively enumerable.


Kunc[8] also proved that the greatest solution of inequality LX⊆XLdisplaystyle LXsubseteq XL is always regular.



Language equations with Boolean operations


Language equations with concatenation and Boolean operations were first studied by Parikh, Chandra, Halpern and Meyer
[9] who proved that the satisfiability problem for a given equation is undecidable, and that if a system of language equations has a unique solution, then that solution is recursive. Later, Okhotin[10] proved that the unsatisfiability problem is RE-complete and that every recursive language is a unique solution of some equation.



Language equations over a unary alphabet


For a one-letter alphabet, Leiss[11] discovered the first language equation with a nonregular solution, using complementation and concatenation operations. Later, Jeż[12] showed that non-regular unary languages can be defined by language equations with union, intersection and concatenation, equivalent to conjunctive grammars. By this method Jeż and Okhotin[13] proved that every recursive unary language is a unique solution of some equation.



See also


  • Boolean grammar

  • Arden's rule

  • Set constraint


References




  1. ^ Ginsburg, Seymour; Rice, H. Gordon (1962). "Two Families of Languages Related to ALGOL". Journal of the ACM. 9 (3): 350–371. doi:10.1145/321127.321132. ISSN 0004-5411..mw-parser-output cite.citationfont-style:inherit.mw-parser-output .citation qquotes:"""""""'""'".mw-parser-output .citation .cs1-lock-free abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-subscription abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registrationcolor:#555.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration spanborder-bottom:1px dotted;cursor:help.mw-parser-output .cs1-ws-icon abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center.mw-parser-output code.cs1-codecolor:inherit;background:inherit;border:inherit;padding:inherit.mw-parser-output .cs1-hidden-errordisplay:none;font-size:100%.mw-parser-output .cs1-visible-errorfont-size:100%.mw-parser-output .cs1-maintdisplay:none;color:#33aa33;margin-left:0.3em.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-formatfont-size:95%.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-leftpadding-left:0.2em.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-rightpadding-right:0.2em


  2. ^ Brzozowski, J.A.; Leiss, E. (1980). "On equations for regular languages, finite automata, and sequential networks". Theoretical Computer Science. 10 (1): 19–35. doi:10.1016/0304-3975(80)90069-9. ISSN 0304-3975.


  3. ^ Baader, Franz; Narendran, Paliath (2001). "Unification of Concept Terms in Description Logics". Journal of Symbolic Computation. 31 (3): 277–305. doi:10.1006/jsco.2000.0426. ISSN 0747-7171.


  4. ^ Conway, John Horton (1971). Regular Algebra and Finite Machines. Chapman and Hall. ISBN 978-0-486-48583-6.


  5. ^ Karhumäki, Juhani; Petre, Ion (2002). "Conway's problem for three-word sets". Theoretical Computer Science. 289 (1): 705–725. doi:10.1016/S0304-3975(01)00389-9. ISSN 0304-3975.


  6. ^ Karhumäki, Juhani; Petre, Ion (2002). The Branching Point Approach to Conway's Problem. Lecture Notes in Computer Science. 2300. pp. 69–76. doi:10.1007/3-540-45711-9_5. ISBN 978-3-540-43190-9. ISSN 0302-9743.


  7. ^ Kunc, Michal (2007). "The Power of Commuting with Finite Sets of Words". Theory of Computing Systems. 40 (4): 521–551. doi:10.1007/s00224-006-1321-z. ISSN 1432-4350.


  8. ^ Kunc, Michal (2005). "Regular solutions of language inequalities and well quasi-orders". Theoretical Computer Science. 348 (2–3): 277–293. doi:10.1016/j.tcs.2005.09.018. ISSN 0304-3975.


  9. ^ Parikh, Rohit; Chandra, Ashok; Halpern, Joe; Meyer, Albert (1985). "Equations between Regular Terms and an Application to Process Logic". SIAM Journal on Computing. 14 (4): 935–942. doi:10.1137/0214066. ISSN 0097-5397.


  10. ^ Okhotin, Alexander (2010). "Decision problems for language equations". Journal of Computer and System Sciences. 76 (3–4): 251–266. doi:10.1016/j.jcss.2009.08.002. ISSN 0022-0000.


  11. ^ Leiss, E.L. (1994). "Unrestricted complementation in language equations over a one-letter alphabet". Theoretical Computer Science. 132 (1–2): 71–84. doi:10.1016/0304-3975(94)90227-5. ISSN 0304-3975.


  12. ^ Jeż, Artur (2008). "Conjunctive grammars generate non-regular unary languages". International Journal of Foundations of Computer Science. 19 (3): 597–615. doi:10.1142/S012905410800584X. ISSN 0129-0541.


  13. ^ Jeż, Artur; Okhotin, Alexander (2014). "Computational completeness of equations over sets of natural numbers". Information and Computation. 237: 56–94. CiteSeerX 10.1.1.395.2250. doi:10.1016/j.ic.2014.05.001. ISSN 0890-5401.




External links


  • Workshop on Theory and Applications of Language Equations (TALE 2007)





Popular posts from this blog

Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers