Lukas' Notes

Chomsky Normal Form

May 01, 20261 min read

languages

Definition

Chomsky Normal Form

A context-free grammar is in Chomsky normal form if every production rule has one of the following forms:

A→BCorA→a

where A,B,C∈N are non-terminal symbols and a∈T is a terminal symbol.

To generate the empty word, one may also allow

S→ε

provided that S does not occur on the right-hand side of any production rule.

For every context-free grammar G, one can effectively construct an equivalent grammar G′=(N′,T,P′,S′) in Chomsky normal form.


Graph View

Backlinks

  • 192.017 Theoretical Computer Science

Created with Quartz v4.4.0 © 2026

  • GitHub