|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| Conjunctive grammars are a class of formal grammars
| | Hello and welcome. My title is Irwin and I totally dig that name. I am a meter reader but I strategy on changing it. The favorite hobby for my children and me is to play baseball and I'm trying to make it a profession. Years ago we moved to North Dakota and I adore every working day residing here.<br><br>Here is my site :: over the counter std test [[http://rivoli.enaiponline.com/user/view.php?id=438251&course=1 the advantage]] |
| studied in [[formal language]] theory.
| |
| They extend the basic type of grammars,
| |
| the [[context-free grammars]],
| |
| with a [[Logical_conjunction|conjunction]] operation.
| |
| Besides explicit conjunction,
| |
| conjunctive grammars allow implicit [[Logical_disjunction|disjunction]]
| |
| represented by multiple rules for a single nonterminal symbol,
| |
| which is the only logical connective expressible in context-free grammars.
| |
| Conjunction can be used, in particular,
| |
| to specify intersection of languages. | |
| A further extension of conjunctive grammars
| |
| known as [[Boolean grammar]]s
| |
| additionally allows explicit [[negation]].
| |
| | |
| The rules of a conjunctive grammar are of the form
| |
| | |
| :<math>A \to \alpha_1 \And \ldots \And \alpha_m</math>
| |
| | |
| where <math>A</math> is a nonterminal and
| |
| <math>\alpha_1</math>, ..., <math>\alpha_m</math>
| |
| are strings formed of symbols in <math>\Sigma</math> and <math>N</math> (finite sets of terminal and nonterminal symbols respectively).
| |
| Informally, such a rule asserts that
| |
| every string <math>w</math> over <math>\Sigma</math> | |
| that satisfies each of the syntactical conditions represented
| |
| by <math>\alpha_1</math>, ..., <math>\alpha_m</math>
| |
| therefore satisfies the condition defined by <math>A</math>.
| |
| | |
| Two equivalent formal definitions
| |
| of the language specified by a conjunctive grammar exist.
| |
| One definition is based upon representing the grammar
| |
| as a system of [[language equation]]s with union, intersection and concatenation
| |
| and considering its least solution.
| |
| The other definition generalizes
| |
| [[Noam Chomsky|Chomsky's]] generative definition of the context-free grammars
| |
| using rewriting of terms over conjunction and concatenation.
| |
| | |
| Though the expressive means of conjunctive grammars
| |
| are greater than those of context-free grammars,
| |
| conjunctive grammars retain some practically useful properties of the latter.
| |
| Most importantly, there are generalizations of the main context-free parsing algorithms,
| |
| including the linear-time [[Recursive descent parser|recursive descent]],
| |
| the cubic-time [[GLR parser|generalized LR]],
| |
| the cubic-time [[CYK algorithm|Cocke-Kasami-Younger]],
| |
| as well as [[Leslie Valiant|Valiant's]] algorithm running as fast as matrix multiplication.
| |
| | |
| A number of theoretical properties of conjunctive grammars have been researched,
| |
| including the expressive power of grammars over a one-letter alphabet
| |
| and numerous [[Undecidable problem|undecidable decision problems]].
| |
| This work provided a basis
| |
| for the study [[language equation]]s of a more general form.
| |
| | |
| ==References ==
| |
| * Alexander Okhotin, ''Conjunctive grammars.'' [[Journal of Automata, Languages and Combinatorics]], 6:4 (2001), 519-535. [http://users.utu.fi/aleokh/papers/conjunctive.pdf (pdf)]
| |
| * Alexander Okhotin, ''An overview of conjunctive grammars.'' In: Gheorghe Paun, Grzegorz Rozenberg, Arto Salomaa (Eds.), Current Trends in Theoretical Computer Science: The Challenge of the New Century, Vol. 2, World Scientific, 2004, 545--566. [http://users.utu.fi/aleokh/papers/conjunctive_overview_ct.pdf (pdf)]
| |
| * Artur Jeż. ''Conjunctive grammars can generate non-regular unary languages.'' International Journal of Foundations of Computer Science 19(3): 597-615 (2008) [http://www.ii.uni.wroc.pl/cms/files/TR012007.pdf Technical report version (pdf)]
| |
| | |
| ==External links==
| |
| *Artur Jeż. [http://www.ii.uni.wroc.pl/~aje/presentation/PresentationDLT.pdf Conjunctive grammars can generate non-regular unary languages]. Slides of talk held at the [[International Conference on Developments in Language Theory]] 2007.
| |
| *[http://users.utu.fi/aleokh/conjunctive/ Alexander Okhotin's page on conjunctive grammars].
| |
| *Alexander Okhotin. [http://www.tucs.fi/publications/insight.php?id=tOkhotin06a Nine open problems for conjunctive and Boolean grammars].
| |
| [[Category:Formal languages]]
| |
Hello and welcome. My title is Irwin and I totally dig that name. I am a meter reader but I strategy on changing it. The favorite hobby for my children and me is to play baseball and I'm trying to make it a profession. Years ago we moved to North Dakota and I adore every working day residing here.
Here is my site :: over the counter std test [the advantage]