export some generally useful operations;

Isabelle-hg: http://isabelle.in.tum.de/repos/isabelle@50761 f6811984983b3bb6f76346315b933c6684590ad0