Results

**1 - 2**of**2**### Certified Normalization of Context-Free Grammars

"... Every context-free grammar can be transformed into an equivalent one in the Chomsky normal form by a sequence of four transforma-tions. In this work on formalization of language theory, we prove formally in the Agda dependently typed programming language that each of these transformations is correct ..."

Abstract
- Add to MetaCart

(Show Context)
Every context-free grammar can be transformed into an equivalent one in the Chomsky normal form by a sequence of four transforma-tions. In this work on formalization of language theory, we prove formally in the Agda dependently typed programming language that each of these transformations is correct in the sense of making progress toward normality and preserving the language of the given grammar. Also, we show that the right sequence of these transfor-mations leads to a grammar in the Chomsky normal form (since each next transformation preserves the normality properties estab-lished by the previous ones) that accepts the same language as the given grammar. As we work in a constructive setting, soundness and completeness proofs are functions converting between parse trees in the normalized and original grammars.