Re: [isabelle] abbreviations inside locales



Hi Christian,

> Consider the following (I used Isabelle2013-RC2, but the same thing
> happens also with Isabelle2012):
> 
> locale test =
>   fixes c :: bool
> begin
> abbreviation "c' == c"
> term c
> 
> definition "d = True"
> abbreviation "d' == d"
> term d
> 
> definition "e = c"
> abbreviation "e' == e"
> term e
> 
> end
> 
> for the output of "term c" the abbreviation is used, for "term d" not,
> but again for "term e". Is this intended behavior?

I guess the reason is that »d« does not depend on any parameter.  Did
not go into possible technical reasons or the question whether this is
»well-behaved«.

Cheers,
	Florian

-- 

PGP available:
http://home.informatik.tu-muenchen.de/haftmann/pgp/florian_haftmann_at_informatik_tu_muenchen_de

Attachment: signature.asc
Description: OpenPGP digital signature



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.