Theorem_default_class theory attribute does not override Definition_default_class theory attribute #11

Closed
opened 2022-03-22 16:05:43 +00:00 by nicolas.meric · 0 comments
Collaborator

Test to do in a theory which imports \<^theory>‹Isabelle_DOF.CENELEC_50128› and \<^theory>‹Isabelle_DOF.scholarly_paper›.

\<^theory>‹Isabelle_DOF.CENELEC_50128› declares:

declare[[ Definition_default_class="semi_formal_content"]]

Example in a test theory:

declare[[ Theorem_default_class = scholarly_paper.theorem]]
Theorem*[T1444444::"theorem", short_name="‹DF definition captures deadlock-freeness›"]  ‹ … ›
print_doc_items

Fails with the message:
class scholarly_paper.theorem must be sub-class of CENELEC_50128.semi_formal_content

Test to do in a theory which imports \\<^theory>‹Isabelle_DOF.CENELEC_50128› and \\<^theory>‹Isabelle_DOF.scholarly_paper›. \\<^theory>‹Isabelle_DOF.CENELEC_50128› declares: ``` declare[[ Definition_default_class="semi_formal_content"]] ``` Example in a test theory: ``` declare[[ Theorem_default_class = scholarly_paper.theorem]] Theorem*[T1444444::"theorem", short_name="‹DF definition captures deadlock-freeness›"] ‹ … › print_doc_items ``` Fails with the message: class scholarly_paper.theorem must be sub-class of CENELEC_50128.semi_formal_content
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Isabelle_DOF/Isabelle_DOF#11
No description provided.