diff --git a/Isabelle_DOF/thys/manual/M_05_Proofs_Ontologies.thy b/Isabelle_DOF/thys/manual/M_05_Proofs_Ontologies.thy index 19e02f4..d1235c6 100644 --- a/Isabelle_DOF/thys/manual/M_05_Proofs_Ontologies.thy +++ b/Isabelle_DOF/thys/manual/M_05_Proofs_Ontologies.thy @@ -61,13 +61,6 @@ resulting transformation of @{doc_class AA}-instances and @{doc_class BB}-instan but not injective. The \<^term>\CC.tag_attribute\ is used to potentially differentiate instances with equal attribute-content and is irrelevant here.\ -text\This specification construct introduces the following constants and definitions: - \<^item> @{term [source] \convert\<^sub>A\<^sub>A\<^sub>_\<^sub>B\<^sub>B\<^sub>_\<^sub>C\<^sub>C :: AA \ BB \ CC\} - \<^item> @{term [source] \convert\<^sub>D\<^sub>D\<^sub>_\<^sub>E\<^sub>E\<^sub>_\<^sub>F\<^sub>F :: DD \ EE \ FF\} - \<^item> @{term [source] \convert\<^sub>A\<^sub>A\<^sub>_\<^sub>B\<^sub>B\<^sub>_\<^sub>C\<^sub>C\<^sub>_\<^sub>D\<^sub>D\<^sub>_\<^sub>E\<^sub>E\<^sub>_\<^sub>F\<^sub>F :: AA \ BB \ CC \ DD \ EE \ FF\} - -and corresponding definitions. \ - (*<*) (* Just a test, irrelevant for the document.*) doc_class A_A = aa :: nat @@ -78,6 +71,13 @@ onto_morphism (A_A, BB', CC, DD, EE) to FF (*>*) +text\This specification construct introduces the following constants and definitions: + \<^item> @{term [source] \convert\<^sub>A\<^sub>A\<^sub>_\<^sub>B\<^sub>B\<^sub>_\<^sub>C\<^sub>C :: AA \ BB \ CC\} + \<^item> @{term [source] \convert\<^sub>D\<^sub>D\<^sub>_\<^sub>E\<^sub>E\<^sub>_\<^sub>F\<^sub>F :: DD \ EE \ FF\} + % @{term [source] \convert\<^sub>A\<^sub>_\<^sub>A\<^sub>\\<^sub>B\<^sub>B\<^sub>'\<^sub>\\<^sub>C\<^sub>C\<^sub>\\<^sub>D\<^sub>D\<^sub>\\<^sub>E\<^sub>E\<^sub>\\<^sub>F\<^sub>F :: A_A \ BB' \ CC \ DD \ EE \ FF\} + +and corresponding definitions. \ + subsection\Proving the Preservation of Ontological Mappings : A Document-Ontology Morphism\ text\\<^dof> as a system is currently particularly geared towards \<^emph>\document\-ontologies, in @@ -181,7 +181,6 @@ next using concatWith.elims apply blast using list.set_cases by force qed - onto_morphism (acm) to elsevier where "convert\<^sub>a\<^sub>c\<^sub>m\<^sub>\\<^sub>e\<^sub>l\<^sub>s\<^sub>e\<^sub>v\<^sub>i\<^sub>e\<^sub>r \ = @@ -321,7 +320,7 @@ text\These two example ontologies were linked via conversion functions cal The hic is that we can prove for the morphisms connecting these ontologies, that the conversions are guaranteed to preserve the data-invariants, although the data-structures (and, of course, the presentation of them) is very different. Besides, morphisms functions can be ``forgetful'' -(\<^ie> surjective), ``embedding'' (\<^ie> injective) or even ``one-to-one'' ((\<^ie> bikjective).\ +(\<^ie> surjective), ``embedding'' (\<^ie> injective) or even ``one-to-one'' ((\<^ie> bijective).\ definition Item_to_Resource_morphism :: "Item \ Resource" ("_ \Resource\\<^sub>I\<^sub>t\<^sub>e\<^sub>m" [1000]999) @@ -420,7 +419,7 @@ Recall that the monitor of \<^term>\scholarly_paper.article\ is def \<^vs>\0.5cm\ However, it is possible to reason over the language of monitors and prove classical refinement notions such as trace-refinement on the monitor-level, so once-and-for-all for all instances of validated documents conforming to a particular ontology. The primitive recursive -operators\<^term>\RegExpInterface.Lang\ and \<^term>\RegExpInterface.L\<^sub>s\<^sub>u\<^sub>b\ generate the languages of the +operators \<^term>\RegExpInterface.Lang\ and \<^term>\RegExpInterface.L\<^sub>s\<^sub>u\<^sub>b\ generate the languages of the regular expression language, where \<^term>\L\<^sub>s\<^sub>u\<^sub>b\ takes the sub-ordering relation of classes into account.