lib/jedit/plugin/mk
author Timothy Bourke
Wed, 06 May 2009 10:55:47 +1000
changeset 31042 d452117ba564
parent 27987 c3f7fa72af2a
permissions -rwxr-xr-x
Prototype introiff option for find_theorems. This feature was suggested by Jeremy Avigad / Tobias Nipkow. It adds an introiff keyword for find_theorems that returns, in addition to the usual results for intro, any theorems of the form ([| ... |] ==> (P = Q)) where either P or Q matches the conclusions of the current goal. Such theorems can be made introduction rules with [THEN iffDx]. The current patch is for evaluation only. It assumes an (op = : 'a -> 'a -> bool) operator, which is specific to HOL. It is not clear how this should be generalised.

#!/bin/bash
# $Id$

JEDIT_HOME="$HOME/lib/jedit/current"
PLUGINS="$HOME/.jedit/jars"


rm -rf build/ && mkdir -p build
rm -f ../isabelle.jar

scalac -d build \
  -cp $JEDIT_HOME/jedit.jar:$PLUGINS/SideKick.jar:$PLUGINS/ErrorList.jar:$PLUGINS/Console.jar:../../classes/Pure.jar \
  isabelle_plugin.scala \
  isabelle_dock.scala \
  isabelle_parser.scala \
&& (
  cp *.xml *.props build/
  cd build
  jar cf ../../isabelle.jar .
)

rm -rf build/