[isabelle-dev] "interpret ... for a" leaks a
florian.haftmann at informatik.tu-muenchen.de
Wed May 29 23:23:08 CEST 2013
> in 40fe6b80b481, I stumbled upon the following behaviour. Consider
> the following example:
> locale Foo = fixes a :: 'a
> notepad begin
> interpret Foo b for b .
> term b
> jEdit tells me about b in the term command:
> fixed "b"
> skolem variable
> :: 'b
> So the b from the "for b" is leaked into the surrounding context. As all
> the lemmas about b where generalized, I would have expected that
> b does not become fixed in the surrounding context.
I guess the for-parameters are not dealt as expected by interpret.
Maybe this is a co-phenomenon of the following warning from isar-ref:
> interpret expr where eqns interprets expr in the proof context and is
> otherwise similar to interpretation in local theories. Note that rewrite
> rules given to interpret after the where keyword should be explicitly
> universally quantified.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 261 bytes
Desc: OpenPGP digital signature
More information about the isabelle-dev