Greibach Normal Form

Alexander Haberl 📧, Tobias Nipkow 📧 and Akihisa Yamada 📧

August 27, 2025

Abstract

This theory formalizes Hopcroft and Ullman’s algorithm to transform a set of productions into Greibach Normal Form (GNF). We concentrate on the essential property of the GNF: every production starts with a terminal; the tail of a rhs may contain further terminals. The complexity of the algorithm can be exponential.

License

BSD License

Topics

Session Greibach_Normal_Form