In the second grammar, is a nonproductive nonterminal: every right-hand side of a -production still contains a . Consequently the branch never yields a terminal word. Every terminal derivation from instead uses repeatedly and ends with , soThe grammars are therefore equivalent, although they are not isomorphic.
Solved by gpt-5.6-sol high.
Codex Wiki