Language equation
Language equations are mathematical statements that resemble numerical equations, but the variables assume values of formal languages rather than numbers.[src] Instead of arithmetic operations in numerical equations, the variables are joined by language operations.[src] 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.[src] Finally, as an operation taking a single operand, the set A * denotes the Kleene star of the language A.[src] 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.[src]
Language equations are mathematical statements that resemble numerical equations, but the variables assume values of formal languages rather than numbers.[src] Instead of arithmetic operations in numerical equations, the variables are joined by language operations.[src] 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.[src] Finally, as an operation taking a single operand, the set A * denotes the Kleene star of the language A.[src] 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.[src] ==Language equations and context-free grammars== Ginsburg and Rice gave an alternative definition of context-free grammars by language equations.[src] To every context-free grammar G = (V, \Sigma, R, S) , is associated a system of equations in variables V .[src] Each variable X \in V is an unknown language over \Sigma and is defined by the equation X=\alpha_1 \cup \ldots \cup \alpha_m where X \to \alpha_1 , ..., X \to \alpha_m are all productions for X .[src] Ginsburg and Rice used a fixed-point iteration argument to show that a solution always exists, and proved that i.e.[src] any other solution must be a of this one.[src] For example, the grammar S \to a S c \mid b \mid S corresponds to the equation system S = ( \{ a \} \cdot S \cdot \{ c \} ) \cup \{ b \} \cup S which has as solution every superset of \{ a^n b c^n \mid n \in \mathcal{N} \} .[src] Language equations with added intersection analogously correspond to conjunctive grammars.[src] ==Language equations and finite automata== Brzozowski and Leiss studied left language equations where every concatenation is with a singleton constant language on the left, e.g.[src] \{a\} \cdot X with variable X , but not X \cdot Y nor X \cdot \{a\} .[src] Each equation is of the form X_i=F(X_1, ..., X_k) with one variable on the right-hand side.[src] Every nondeterministic finite automaton has such corresponding equation using left-concatenation and union, see Fig.[src] 1.[src] If intersection operation is allowed, equations correspond to alternating finite automata.[src] with associated system of equations S_1 = 1 \cdot S_1 \cup 0 \cdot S_2 \cup \{\epsilon\} , S_2 = 1 \cdot S_2 \cup 0 \cdot S_1 where \epsilon is the empty word.[src] ]] Baader and Narendran studied equations 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.[src] ==Conway's problem== Conway proposed the following problem: given a constant finite language L , is the greatest solution of the equation LX=XL always regular?[src] This problem was studied by Karhumäki and Petre who gave an affirmative answer in a special case.[src] A strongly negative answer to Conway's problem was given by Kunc who constructed a finite language L such that the greatest solution of this equation is not recursively enumerable.[src] Kunc also proved that the greatest solution of inequality LX \subseteq XL is always regular.[src] ==Language equations with Boolean operations== Language equations with concatenation and Boolean operations were first studied by Parikh, Chandra, Halpern and Meyer 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.[src] Later, Okhotin proved that the unsatisfiability problem is RE-complete and that every recursive language is a unique solution of some equation.[src] ==Language equations over a unary alphabet== For a one-letter alphabet, Leiss discovered the first language equation with a nonregular solution, using complementation and concatenation operations.[src] Later, Jeż showed that non-regular unary languages can be defined by language equations with union, intersection and concatenation, equivalent to conjunctive grammars.[src] By this method Jeż and Okhotin proved that every recursive unary language is a unique solution of some equation.[src] ==See also== Boolean grammar Arden's rule Set constraint ==References== ==External links== Workshop on Theory and Applications of Language Equations (TALE 2007)[src]
35 sentences · 35 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Language equation." encyclopegia.org, 2024, https://encyclopegia.org/wiki/language-equation. Accessed 26 November 2026.
Chicago
"Language equation." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/language-equation.
APA
encyclopegia.org. (2024). Language equation. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/language-equation
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON