Re: [isabelle] syntax in auxiliary contexts

> Why is the behavior after defining notation inside an auxiliary context
> different depending on whether this auxiliary context is inside another
> context?
> More specifically, consider
> context
>   fixes P :: "'a => 'a => bool"
> begin
> notation
>   P ("\<^raw:\foo>")
> term P
> end
> Here "term P" results in: "\<^raw:\foo>" (as expected)
> However, as soon as I put the above code inside another context (named
> or unnamed), the syntax seems to be ignored and "term P" results in: "P".
> What am I missing?

To my understanding the context sandwich is not properly operating here,
but let us wait for Makarius to comment on this.



PGP available:

Attachment: signature.asc
Description: OpenPGP digital signature

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