awalterschulze / regex-reexamined-coq

Apache License 2.0
21 stars 7 forks source link
coq

Check Proofs

This learning exercise has come to an end. We are continuing work in this area here

Derivatives for Regular reexamined with Coq

This repo reexamines a few papers on regular expressions using Coq as a learning exercise. We try to prove some things that are mentioned in the papers as a way to teach ourselves some Coq.

Background

Brzozowski's Derivatives of Regular Expressions

If you are unfamiliar with Brzozowski's Derivatives you can watch this video.

Watch the video

Setup

  1. Install Coq 8.13.0
  2. Remember to set coq in your PATH. For example, in your ~/.bash_profile add PATH="/Applications/CoqIDE_8.13.0.app/Contents/Resources/bin/:${PATH}" and run $ source ~/.bash_profile.
  3. Run make in this folder.

Note:

Contributing

Please read the contributing guidelines. They are short and shouldn't be surprising.

Regenerate Makefile

Coq version upgrade requires regenerating the Makefile with the following command:

$ coq_makefile -f _CoqProject -o Makefile

Pair Programming

We used to pair program. The schedule was posted as meetups events on meetup.com