Extension:JHilbert

Introduction
JHilbert is a verifier for automated theorem proving. This wiki integration extension, combined with JHilbert's modular design allows the creation of a wiki with formalisable and formally verifiable content. Traditionally, such content would be mathematics. In theory, however, all kind of content amenable to formalisation should be possible.

Credits
The namesake of JHilbert is David Hilbert whose idea it was to formalise as much as possible of the body of extant mathematics. The highly general logic which drives JHilbert was invented by Norman Megill who maintains a large database of proofs based on his system, see metamath.org. Then Raph Levien devised a system to make Metamath suitable for collaborative use and implemented it in his Ghilbert software, written in python. JHilbert started out as a Java reimplementation of Ghilbert and has retained large parts of Ghilbert's original design.

Without these three people, JHilbert would not exist today.

The author would also like to thank Mel O'Cat for interesting discussions.

Usage

 * A tutorial for newcomers is available!

You can add JHilbert code between JHilbert tags. See the online command documentation for the syntax. (Note: that document is slightly dated. Hopefully, an up-to-date documentation can be created here on this Wiki soon.)

The code is evaluated for the Wiki page as a whole, so you can have as many  tag groups as you like. For example, you can insert as much "normal" wiki text between JHilbert proof steps as you like.

Whether your JHilbert code is evaluated as proof module or interface module code depends on the current page's namespace. Pages in the main and in the  namespace are interpreted as proof modules, while pages in the   and   namespaces are interpreted as interface modules.

Download instructions
Please download the latest JHilbert source tarball as bzipped tar file. If you have trouble unpacking the bzip2 file, please use the zip archive instead. Unless you want to build the JHilbert server yourself, you can also download a pre-compiled JAR archive.

Installation
mvn package
 * Unpack the source archive.
 * If you don't want to use the pre-compiled JAR archive, build the JAR with
 * in the directory with the  file. You'll need a java development kit and the Apache maven project builder.

java -jar jhilbert-devel.jar -d
 * Start a JHilbert server with
 * If you run the jar without arguments, you'll get a list of options and switches.


 * Copy the  subdirectory of the archive to your MediaWiki extensions directory. There should be three PHP files in the   directory, ,  , and.
 * Add the following to LocalSettings.php:
 * Of course, you may give the new namespaces numeric identifiers different from those used in this example.


 * The JHilbert server uses the MediaWiki API to load dependencies. Please do not disable the API.
 * Enjoy.