Skip to content

boulme/coq-tutorial-ml-tactics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example of Coq plugin that defines a reification tactic. 

The files should be self-documented, even though we may manage to build a pdf that summarizes every interesting point. The project needs coq8.5(pl2).

INSTRUCTIONS
============

1. Build the makefile with:

  coq_makefile -f arguments.txt -o Makefile

2. run "make"

FILES DESCRIPTION
=================

arguments.txt : the pre-makefile that is fed to coq_makefile (coq_makefile -f arguments.txt -o Makefile)
src/lib_coq.ml{i} : an interface with Coq, where we define some handlers for Coq's API and constructs. 
src/plugin.ml4 : the actual plugin that defines a reification tactic for a very simple subset of terms on nat
src/Theory.v : reification primer
test-suite/example.v : an example of usage of the tactic we defined in src/plugin.ml4. 



About

A tutorial on how to write OCaml tactics for the Coq proof assistant

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 82.8%
  • Coq 17.2%