diff --git a/examples/scholarly_paper/2021-ITP-PMTI/paper.thy b/examples/scholarly_paper/2021-ITP-PMTI/paper.thy index 7fe1978..632c04a 100644 --- a/examples/scholarly_paper/2021-ITP-PMTI/paper.thy +++ b/examples/scholarly_paper/2021-ITP-PMTI/paper.thy @@ -454,7 +454,7 @@ doc_class mytext_section = doc_class myintro = mytext_section + authored_by :: "myauthor set" <= "UNIV" uses :: "string set" - invariant author_finite :: "finite (authored_by \)" + invariant author_set :: "authored_by \ \ {}" and force_level :: "the (level \) > 1" doc_class myclaim = myintro + based_on :: "string list" @@ -467,7 +467,7 @@ doc_class myresult = mytechnical + evidence :: kind property :: "thm list" <= "[]" invariant has_property :: "evidence \ = proof \ property \ \ []" -doc_class myconclusion = text_section + +doc_class myconclusion = mytext_section + establish :: "(myclaim \ myresult) set" invariant establish_defined :: "\ x. x \ Domain (establish \) \ (\ y \ Range (establish \). (x, y) \ establish \)" @@ -552,17 +552,17 @@ doc_class mytext_section = doc_class myintro = mytext_section + authored_by :: "myauthor set" <= "UNIV" uses :: "string set" - invariant author_finite :: "finite (authored_by \)" + invariant author_set :: "authored_by \ \ {}" and force_level :: "the (level \) > 1" doc_class myclaim = myintro + based_on :: "string list" -doc_class mytechnical = text_section + +doc_class mytechnical = mytext_section + formal_results :: "thm list" doc_class myresult = mytechnical + evidence :: kind property :: "thm list" <= "[]" invariant has_property :: "evidence \ = proof \ property \ \ []" -doc_class myconclusion = text_section + +doc_class myconclusion = mytext_section + establish :: "(myclaim \ myresult) set" invariant establish_defined :: "\ x. x \ Domain (establish \) \ (\ y \ Range (establish \). (x, y) \ establish \)"\} @@ -685,8 +685,8 @@ text\ must be defined when an instance of the class \<^typ>\myconclusion\ is defined (see the \<^theory_text>\invariant establish_defined\). - In \autoref{fig-ontology-example}, the \<^theory_text>\invariant author_finite\ of the class \<^typ>\myintro\ - enforces that the user defines the \<^const>\authored_by\ set with some valid meta-data of type \myauthor\. + In \autoref{fig-ontology-example}, the \<^theory_text>\invariant author_set\ of the class \<^typ>\myintro\ + enforces that a \<^typ>\myintro\ instance has at least one author. The \\\ symbol is reserved and references the future class instance. By relying on the implementation of the Records in \<^isabelle>~@{cite "wenzel:isabelle-isar:2020"},