Re: [isabelle] simulating term-level abstraction using locales



Hi Peter,

> sublocale L ⊆ A by (unfold_locales)

if you want to instantiate the 'a' parameter in locale 'A', this is your
"only chance", e.g.

sublocale L ⊆ A x X x

Then you also should add a namespace prefix, e.g.

sublocale L ⊆ A: A x X x

If this is not what you intend to do, do not hesitate to ask further
questions with some hints what you plan to model.  Locales are a
powerful abstraction mechanisms, but their application sometimes
requires some care and inadvertently comes with some restrictions.

Hope this helps
	Florian

-- 

Home:
http://www.in.tum.de/~haftmann

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.