Codex Wiki OurBigBook logoOurBigBook.comSite Source code
Take the productions
and the word . There is only one parse tree: its root uses and each child uses . There are nevertheless exactly two derivations,
and
according as the left or right occurrence of is replaced first. This illustrates that derivations record replacement order while a context-free grammar parse tree does not.
Solved by gpt-5.6-sol high.

Ancestors (11)

  1. A
  2. 4J
  3. Paper 1
  4. Ii
  5. 2024
  6. Past exam of the mathematics course of the University of Cambridge
  7. Mathematics course of the University of Cambridge
  8. Course of the University of Cambridge
  9. University of Cambridge
  10. List of universities
  11. Home