This a type-checker plugin for type-indicies such as type level natural numbers and type level finite maps.
You need
- Stack
- Z3 (the smt solver) version 4.5 and above.
To build simply
$ git clone [email protected]:Divesh-Otwani/the-thoralf-plugin.git
$ cd the-thoralf-plugin
$ stack install
$ echo "Now the example should load or run!"
$ stack ghci test/Main.hs
Loaded GHCi configuration from /home/divesh/.ghc/ghci.conf
[1 of 1] Compiling Main ( test/Main.hs, interpreted )
Ok, 1 module loaded.
*Main>
- See DOCUMENTATION.md for how to extend thoralf and make your own plugin with all of thoralf's theories and some new ones you write.