Skip to content

bacelar/pumping

 
 

Repository files navigation

These files contain definitions and proof scripts related to the correctness of:

  • closure properties for context-free languages;
  • simplification of context-free grammars;
  • Chomsky normalization of context-free grammars and
  • Pumping Lemma for context-free languages.

File list:

  • allrules.v: generates all rules over a given alphabet;
  • cfg.v: definitions and basic lemmas regarding context-free grammars and derivations;
  • cfl.v: definitions and basic lemmas regarding context-free languages;
  • chomsky.v: Chomsky grammar normalization;
  • closure.v: closure of context-free languages over Kleene star;
  • concatenation.v: closure of context-free languages over concatenation;
  • emptyrules.v: elimination of empty rules in a context-free grammar;
  • inaccessible.v: elimination of inaccessible symbols in a context-free grammar;
  • misc_arith.v: generic arithmetic related lemmas;
  • misc_list.v: generic list lemmas;
  • misc_logic: generic logic lemmas;
  • pigeon.v: pigeonhole principle;
  • pumping: pumpng lemma for context-free languages;
  • simplification.v: unification of all previous results.
  • trees.v: binary trees and their relation to Chomsky grammars;
  • union.v: closure of context-free languages over union;
  • unitrules.v: elimination of unit rules in a context-free grammar;
  • useless.v: elimination of useless symbols in a context-free grammar;

To compile, download all files and:

  • coq_makefile *.v > _makefile
  • make -f _makefile

These files have been created and compiled with the Coq Proof Assistant, version 8.4pl4 (June 2014).

More information can be found in the paper "Formalization of the pumping lemma for context-free languages", submitted to LATA 2016 by Marcus Vinícius Midena Ramos, Ruy J. G. B. de Queiroz, Nelma Moreira and José Carlos Bacelar Almeida.

[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Coq 100.0%