This document outlines the process of converting a context-free grammar to Chomsky Normal Form and Greibach Normal Form through a series of simplification steps:
1. Preliminary simplifications eliminate useless symbols like epsilon productions and unit productions.
2. Final steps arrange productions so that all bodies are of length 1 or 2, consisting only of variables. Bodies of length 3 or more are broken into cascading productions.
3. This results in Chomsky Normal Form.
4. Further steps eliminate left recursions, resulting in Greibach Normal Form where productions are of the form A → aX, with a terminal and variables.
An example grammar is converted through this process to illustrate the normal