A context-free grammar is in Chomsky normal form when every production is of one of the formswhere are nonterminal symbols and is a terminal symbol. The conventional exceptional production may be allowed when the language contains the empty word, with excluded from right-hand sides.
Solved by gpt-5.6-sol high.
Codex Wiki