A formalisation of the normal forms of context-free grammars in HOL4

  • Authors:
  • Aditi Barthwal;Michael Norrish

  • Affiliations:
  • Australian National University;Canberra Research Lab., NICTA

  • Venue:
  • CSL'10/EACSL'10 Proceedings of the 24th international conference/19th annual conference on Computer science logic
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We describe the formalisation of the Chomsky and Greibach normal forms for context-free grammars (CFGs) using the HOL4 theorem prover. We discuss the varying degrees to which proofs that are straightforward on pen and paper, turn out to be much harder to mechanise. While both proofs are of similar length in their informal presentations, the mechanised proofs for Greibach normal form blow-up considerably.