Is there a way to control what part of a session/theory should be visible to other sessions?
Kind of, you can hide lemmas, but it is slightly annoying, and find_thmstill sees them:
context
begin
private lemma myHiddenLemma: true
sorry
end
Cool! Does this work for definitions, datatypes and type_synonyms as well?
The other way is to use qualifiedwhich forces the user to write MyThy.LemmaName
Hanno Becker said:
Cool! Does this work for
definitions,datatypes andtype_synonyms as well?
I don't remember, but I don't think so
Actually according to grep, yes
there are example for every command in the distribution (including one private datatypethat I have written :laughing: ) or in the AFP
Last updated: Nov 13 2025 at 04:27 UTC