Codex Wiki OurBigBook logoOurBigBook.comSite Source code
The first grammar generates
because adds two 's and terminates the derivation.
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 , so
The grammars are therefore equivalent, although they are not isomorphic.
Solved by gpt-5.6-sol high.

Ancestors (12)

  1. Iii
  2. D
  3. 4I
  4. Paper 3
  5. Ii
  6. 2023
  7. Past exam of the mathematics course of the University of Cambridge
  8. Mathematics course of the University of Cambridge
  9. Course of the University of Cambridge
  10. University of Cambridge
  11. List of universities
  12. Home