lib/Tools/mkproject
author Timothy Bourke
Wed, 06 May 2009 10:55:47 +1000
changeset 31042 d452117ba564
parent 29143 72c960b2b83e
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.

#!/usr/bin/env bash
#
# Author: David Aspinall
#
# DESCRIPTION: prepare a session directory for PG-Eclipse

PRG="$(basename "$0")"

function usage()
{
  echo
  echo "Usage: isabelle $PRG NAME"
  echo
  echo "  Prepare a session directory for PG-Eclipse."
  exit 1
}

if [ "$#" -eq 1 ]; then
  NAME="$1"; shift
else
  usage
fi

"$ISABELLE_TOOL" mkdir -b -q "$NAME"
( cd document; "$ISABELLE_TOOL" latex -o sty; )