[isabelle-dev] Bad theory import "Main"

Makarius makarius at sketis.net
Sat Apr 22 13:13:48 CEST 2017

On 22/04/17 11:48, Jasmin Blanchette wrote:
> I get the error
> Bad theory import "Main"
> Steps to reproduce the problem:
> cd src/HOL/Library
> isabelle jedit Cancellation.thy

Odd. I cannot reproduce this on Linux or macOS Sierra.

What is your $ISABELLE_HOME actually? Is there anything special with the
underlying file-system?

Here is an example for the Console/Scala toplevel within Isabelle/jEdit:

scala> PIDE.resources.session_base.known.files.toList.find(p =>
p._2.exists(_.theory == "Main"))
res0: Option[(java.io.File, List[isabelle.Document.Node.Name])] =

What is your result?


More information about the isabelle-dev mailing list