Skip to content
Work with TPTP files, theorem provers, and model finders
Shell Perl Emacs Lisp
Latest commit 17ba8dd Feb 1, 2012 Jesse Alama A couple of new tasks.
Failed to load latest commit information.
emacs Rearrange files by editor kind. Oct 12, 2011
subethaedit dump .DS_Store files Oct 22, 2011
.gitignore Ignore .scpt files. Jul 16, 2011
README.mkdn Typo: extra quote. Jul 18, 2011
eprover-sentry.pl New feature: sentries that watch the output of a prover. Nov 9, 2011
eprover-unused-principles.sh
eprover-used-principles.sh
paradox-sentry.pl Script (and sentry) for paradox. Nov 15, 2011
prover9-sentry.pl
prover9-unused-principles.sh Better regexp. Nov 17, 2011
prover9-used-principles.sh
reprove fix symlink Nov 9, 2011
reprove-semantically-summarize.sh Report which model finders report countersatisfiability. Nov 18, 2011
reprove-semantically.pl
reprove-summarize.pl
reprove.sh Theory in work dir. Nov 22, 2011
run-eprover.sh Use the sentries. Nov 9, 2011
run-mace4.sh Wrong number of models. Jan 2, 2012
run-paradox.sh Script (and sentry) for paradox. Nov 15, 2011
run-prover9.sh default timeout of 30 seconds for prover9. Nov 15, 2011
run-vampire.sh
strip-duplicate-formulas.sh More documenation. Oct 23, 2011
strip-vampire-proof.pl
symbol-summary.pl check for presence of tptp4X and GetSymbols. Nov 10, 2011
todo.org A couple of new tasks. Feb 1, 2012
tptp-labels.sh Several new scripts to facilitate exploration with TPTP files. Oct 22, 2011
vampire-sentry.pl
vampire-unused-principles.sh
vampire-used-principles.sh wrong parameter Nov 9, 2011

README.mkdn

tptp-el: Hack TPTP with emacs and SubEthaEdit

Do you work with formal proofs in plain first-order logic? In Emacs? If you said "yes" to both questions, this package is for you.

Installation

Emacs

Currently, the TPTP Emacs Lisp package consists of a single Emacs Lisp file, namely this one, tptp.el. Simply put tptp.el in a directory (I recommend "~/share/emacs/site-lisp/tptp", but it doesn't really matter), and in your Emacs initialization file (generally the file called ".emacs" in your home directory), add the form

(add-to-list 'load-path <path to the directory in which you put tptp.el>)
(require 'tptp)

Make sure the path is double quoted, e.g., "/Users/jesse". For slightly better performance of the TPTP Emacs Lisp package, byte compile tptp.el.

To automatically load tptp-mode when editing files with a certain extension, add something like this to your Emacs initialization file:

(add-to-list 'auto-mode-alist '("\\.ax\\" . tptp-mode))

Doing this will set up files that have the ".ax" extension to automatically load tptp-mode. You can do this for multiple extensions (e.g., ".p", ".ax", etc).

SubEthaEdit

There is currently only one prover supported for SubEthaEdit: vampire. To install SubEthaEdit support for vampire:

  1. Make a bin subdirectory of your home directory, if it doesn't already exist.
  2. Copy run-vampire.sh to ~/bin, and make the script executable.
  3. Copy run-vampire.applescript to ~/Library/Application Support/SubEthaEdit/Scripts.

Next time you start SubEthaEdit, you should see, in the Scripts menu, an item that says "Run Vampire". Try it out!

Hacking

You can follow development by going to the source homepage at https://github.com/jessealama/tptp-el

There you can get the latest bleeding edge development version of the package, as well as download choice releases.

Acknowledgments

Ed Zalta provided the impetus for launching this package.

Contact

You're welcome to email me at jesse.alama@gmail.com. Please do let me know about bug reports, and feel free to make feature requests.

Something went wrong with that request. Please try again.