The Incredible Proof Machine
Welcome to The Incredible Proof Machine. The Incredible Proof Machine is a non-textual interactive theorem prover, or at least it will hopefully become one.
If you want to try it out, go to http://incredible.pm/.
Building the Logic Core
Install GHC version 7.10 and cabal-install version 1.22. On Ubuntu, run
$ add-apt-repository -y ppa:hvr/ghc $ apt-get update $ apt-get install cabal-install-1.22 alex-3.1.4 happy-1.19.5 ghc-7.10.3 $ export PATH=$HOME/.cabal/bin:/opt/ghc/7.10.3/bin:/opt/cabal/1.22/bin:/opt/alex/3.1.4/bin:/opt/happy/1.19.5/bin:$PATH
Make sure the Cabal library is at least version 1.22. You can check that using
ghc-pkg find Cabaland install the latest version using
cabal install Cabal
Now you can install GHCJS including most of its libraries
cabal install http://ghcjs.luite.com/master-20151222.tar.gz ghcjs-boot --no-prof
Install any further dependencies
cd logic; cabal install --dependencies-only --enable-tests cd logic; cabal install --ghcjs --dependencies-only --disable-tests
make preparein the project root.
Now you should be able to compile both
To run the testsuite, run
cabal testin the
make testin the project root
Alternatively, if you do not want to hack on these parts of the project, but simply run them locally, you can run
wget http://incredible.pm/logic.js -O logic.js wget http://incredible.pm/sessions.js -O sessions.js
Running the script
./deploy.sh dir/ should put all files required for the
runtime into the directory
dir/, which should not exist before.
If Travis thinks the build succeeds, it uses the above deploy script, together
.travis-push-gh-pages.sh, to push the final result to to
As this is a Github Pages page, this means that the
sources are always the contents of the
gh-pages branch of the
incredible-demo repository, which is otherwise unused.