Re: [isabelle] Interpreting a locale leaving some parameters unfixed

Hi Peter,

The command interpretation used to accept omitted variables. Over the past years, it has become a bit stricter about that. Now, you can declare free parameters in a for clause. Here's an example:

interpretation foo x for x .


On 24/09/14 16:59, Peter Lammich wrote:
Hi all,
   consider the following boiled down example, where I try to interpret a
   locale while leaving some (all) parameters unspecified.

locale foo = fixes x::nat begin
   definition "c = x + x"

interpretation foo .
*** Illegal free variable(s) in term: x
in constant abbreviation "c"

Why do I get this error message, and can I somehow work around it?
I would have expected an abbreviation of the form "c x == foo.c x" to be

In my concrete use-case, the locales have no assumptions, and I have to
instantiate some parameters.


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