recovered Theory.check_def: full name needs to be determined from background thy, not auxiliary ctxt (broken in 774df7c59508, caused Nitpick.all_axioms_of to produce bad results);
#!/usr/bin/env bash
#
# Author: Markus Wenzel, TU Muenchen
#
# DESCRIPTION: run a program in a modified environment
## diagnostics
PRG="$(basename "$0")"
function usage()
{
echo
echo "Usage: isabelle $PRG [CMDLINE ...]"
echo
echo
echo " Run CMDLINE within the Isabelle environment (via the system's env command)."
echo
exit 1
}
## main
[ "$1" = "-?" ] && usage
exec /usr/bin/env "$@"