词条 | Language equation |
释义 |
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 A ∪ B, the set intersection A ∩ B, and the concatenation A⋅B. 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. Language equations and context-free grammarsGinsburg and Rice[1]gave an alternative definition of context-free grammars by language equations. To every context-free grammar , is associated a system of equations in variables . Each variable is an unknown language over and is defined by equation where , ..., are all productions for . Ginsburg and Rice used a fixed-point iteration argument to show that a solution always exists, and proved that the assignment 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 automataBrzozowski and Leiss[2] studied left language equations where every concatenation is with a singleton constant language on the left, e.g. with variable , but not nor . Each equation is of the form 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. Baader and Narendran[3] studied equations using left-concatenation and union and proved that their satisfiability problem is EXPTIME-complete. Conway's problemConway[4] proposed the following problem: given a constant finite language , is the greatest solution of equation 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 such that the greatest solution of this equation is not recursively enumerable. Kunc[8] also proved that the greatest solution of inequality is always regular. Language equations with Boolean operationsLanguage 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 alphabetFor 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
References1. ^{{cite journal|last1=Ginsburg|first1=Seymour|last2=Rice|first2=H. Gordon|title=Two Families of Languages Related to ALGOL|journal=Journal of the ACM|volume=9|issue=3|year=1962|pages=350–371|issn=00045411|doi=10.1145/321127.321132}} 2. ^{{cite journal|last1=Brzozowski|first1=J.A.|last2=Leiss|first2=E.|title=On equations for regular languages, finite automata, and sequential networks|journal=Theoretical Computer Science|volume=10|issue=1|year=1980|pages=19–35|issn=03043975|doi=10.1016/0304-3975(80)90069-9}} 3. ^{{cite journal|last1=Baader|first1=Franz|last2=Narendran|first2=Paliath|title=Unification of Concept Terms in Description Logics|journal=Journal of Symbolic Computation|volume=31|issue=3|year=2001|pages=277–305|issn=07477171|doi=10.1006/jsco.2000.0426}} 4. ^{{cite book | last1=Conway | first1=John Horton | title=Regular Algebra and Finite Machines | publisher=Chapman and Hall | isbn=978-0-486-48583-6 | year=1971}} 5. ^{{cite journal|last1=Karhumäki|first1=Juhani|last2=Petre|first2=Ion|title=Conway's problem for three-word sets|journal=Theoretical Computer Science|volume=289|issue=1|year=2002|pages=705–725|issn=03043975|doi=10.1016/S0304-3975(01)00389-9}} 6. ^{{cite book|last1=Karhumäki|first1=Juhani|last2=Petre|first2=Ion|title=The Branching Point Approach to Conway's Problem|volume=2300|year=2002|pages=69–76|issn=0302-9743|doi=10.1007/3-540-45711-9_5|series=Lecture Notes in Computer Science|isbn=978-3-540-43190-9}} 7. ^{{cite journal|last1=Kunc|first1=Michal|title=The Power of Commuting with Finite Sets of Words|journal=Theory of Computing Systems|volume=40|issue=4|year=2007|pages=521–551|issn=1432-4350|doi=10.1007/s00224-006-1321-z}} 8. ^{{cite journal|last1=Kunc|first1=Michal|title=Regular solutions of language inequalities and well quasi-orders|journal=Theoretical Computer Science|volume=348|issue=2–3|year=2005|pages=277–293|issn=0304-3975|doi=10.1016/j.tcs.2005.09.018}} 9. ^{{cite journal|last1=Parikh|first1=Rohit|last2=Chandra|first2=Ashok|last3=Halpern|first3=Joe|last4=Meyer|first4=Albert|title=Equations between Regular Terms and an Application to Process Logic|journal=SIAM Journal on Computing|volume=14|issue=4|year=1985|pages=935–942|issn=0097-5397|doi=10.1137/0214066}} 10. ^{{cite journal|last1=Okhotin|first1=Alexander|title=Decision problems for language equations|journal=Journal of Computer and System Sciences|volume=76|issue=3–4|year=2010|pages=251–266|issn=00220000|doi=10.1016/j.jcss.2009.08.002}} 11. ^{{cite journal|last1=Leiss|first1=E.L.|title=Unrestricted complementation in language equations over a one-letter alphabet|journal=Theoretical Computer Science|volume=132|issue=1–2|year=1994|pages=71–84|issn=0304-3975|doi=10.1016/0304-3975(94)90227-5}} 12. ^{{cite journal|last1=Jeż|first1=Artur|title=Conjunctive grammars generate non-regular unary languages|journal=International Journal of Foundations of Computer Science|volume=19|issue=3|year=2008|pages=597–615|issn=0129-0541|doi=10.1142/S012905410800584X}} 13. ^{{cite journal|last1=Jeż|first1=Artur|last2=Okhotin|first2=Alexander|title=Computational completeness of equations over sets of natural numbers|journal=Information and Computation|volume=237|year=2014|pages=56–94|issn=08905401|doi=10.1016/j.ic.2014.05.001|citeseerx=10.1.1.395.2250}} External links
2 : Formal languages|Equations |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。