[opentheory-users] Multiple definitions in base package
Rob Arthan
rda at lemma-one.com
Wed Mar 19 14:55:18 UTC 2014
Joe,
On 18 Mar 2014, at 17:49, Joe Leslie-Hurd <joe at gilith.com> wrote:
> Hi Rob,
>
> The HOLLight.* symbols are "auxiliary" type operators and constants that are used in proofs but not exported by any theory. So it's not unreasonable that it is defined multiple times in subtheories of base. However, what is surprising is that the article compression algorithm implemented in the opentheory tool does not fold the multiple definitions into a single definition.
>
> Thanks for the report: I'll look into the problem. This code will need reworking anyway to process the new article commands.
>
> If the multiple definitions are causing problems then as a workaround you can pick an arbitrary new name for any symbols in the HOLLight namespace, because such symbols are guaranteed never to be appear in any exported theorem.
Thanks for that, it may come in useful. It will only work if the repeated definitions all give alpha-equivalent defining properties.
I think the article format definition should specify whether redefinition is allowed (and I would vote strongly for a constraint forbidding redefinition).
Regards,
Rob.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gilith.com/opentheory/mailing-list/attachments/20140319/35ac8730/attachment.html>
More information about the opentheory-users
mailing list