Kuroda normal form explained

In formal language theory, a noncontracting grammar is in Kuroda normal form if all production rules are of the form:

ABCD or

ABC or

AB or

Aa

where A, B, C and D are nonterminal symbols and a is a terminal symbol. Some sources omit the AB pattern.

It is named after Sige-Yuki Kuroda, who originally called it a linear bounded grammar, a terminology that was also used by a few other authors thereafter.[1]

Every grammar in Kuroda normal form is noncontracting, and therefore, generates a context-sensitive language. Conversely, every noncontracting grammar that does not generate the empty string can be converted to Kuroda normal form.[2]

A straightforward technique attributed to György Révész transforms a grammar in Kuroda normal form to a context-sensitive grammar: ABCD is replaced by four context-sensitive rules ABAZ, AZWZ, WZWD and WDCD. This proves that every noncontracting grammar generates a context-sensitive language.[3]

There is a similar normal form for unrestricted grammars as well, which at least some authors call "Kuroda normal form" too:

ABCD or

ABC or

Aa or

Aε

where ε is the empty string. Every unrestricted grammar is weakly equivalent to one using only productions of this form.[2]

If the rule AB → CD is eliminated from the above, one obtains context-free grammars in Chomsky Normal Form.[4] The Penttonen normal form (for unrestricted grammars) is a special case where first rule above is ABAD.[5] Similarly, for context-sensitive grammars, the Penttonen normal form, also called the one-sided normal form (following Penttonen's own terminology) is:[3] [2]

ABAD or

ABC or

Aa

For every context-sensitive grammar, there exists a weakly equivalent one-sided normal form.[2]

See also

Further reading

Notes and References

  1. Book: Willem J. M. Levelt. An Introduction to the Theory of Formal Languages and Automata. 2008. John Benjamins Publishing. 978-90-272-3250-2. 126–127.
  2. Book: Mateescu . Alexandru . Salomaa. Arto . Grzegorz. Rozenberg. Arto. Salomaa . Handbook of Formal Languages. Volume I: Word, language, grammar . Springer-Verlag . 1997 . Chapter 4: Aspects of Classical Language Theory . 978-3-540-61486-9. 190.
  3. Book: Masami Ito. Yūji Kobayashi. Kunitaka Shoji. Automata, Formal Languages and Algebraic Systems: Proceedings of AFLAS 2008, Kyoto, Japan, 20-22 September 2008. 2010. World Scientific. 978-981-4317-60-3. 182.
  4. Book: Alexander Meduna. Automata and Languages: Theory and Applications. 2000. Springer Science & Business Media. 978-1-85233-074-3. 728. Alexander Meduna.
  5. Book: Alexander Meduna. Automata and Languages: Theory and Applications. 2000. Springer Science & Business Media. 978-1-85233-074-3. 722. Alexander Meduna.