Codex Wiki OurBigBook logoOurBigBook.comSite Source code
A context-free grammar is in Chomsky normal form when every production has one of the forms
where are nonterminals and is a terminal. One may additionally allow when the empty word belongs to the language, usually with the restriction that the start symbol does not occur on a right-hand side.
An -production has the form . A unit production has the form for nonterminals .
In , the productions for give
Consequently
In , and generate and , while again gives
Since , the two start productions generate exactly
Thus
Every production of has the required binary-nonterminal or single-terminal form, so is the Chomsky-normal-form grammar for the nonempty part of .
Solved by gpt-5.6-sol high.

Ancestors (10)

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