diff --git a/examples/scholarly_paper/2021-ITP-PMTI/paper.thy b/examples/scholarly_paper/2021-ITP-PMTI/paper.thy index d1fa7f6..e69b130 100644 --- a/examples/scholarly_paper/2021-ITP-PMTI/paper.thy +++ b/examples/scholarly_paper/2021-ITP-PMTI/paper.thy @@ -590,7 +590,7 @@ text*[claimNotion::myclaim, authored_by="{@{myauthor \church\}}" One can now reference a class instance in a \<^theory_text>\term*\ command. In the command \<^theory_text>\term*\@{myauthor \church\}\\ the term \<^term>\@{myauthor \church\}\ is type-checked, \<^ie>, the command \<^theory_text>\term*\ checks that - \<^theory_text>\church\ references a term of type \<^typ>\myauthor\ against the global context. + \<^theory_text>\church\ references a term of type \<^typ>\myauthor\ against the global context (see \<^side_by_side_figure>\type-checking-example\). \ @@ -908,8 +908,8 @@ onto_class Hardware = Informatic + This ontology defines the \<^typ>\Resource\, \<^typ>\Electronic\, \<^typ>\Component\, \<^typ>\Informatic\ and \<^typ>\Hardware\ concepts. -In our example, we focus on the \<^typ>\Hardware\ class containing a \<^const>\mass\ attribute -and composed of a list of components with a \<^const>\mass\ attribute formalising +In our example, we focus on the \<^typ>\Hardware\ class containing a \<^const>\Component.mass\ attribute +and composed of a list of components with a \<^const>\Component.mass\ attribute formalising the mass value of each component. The \<^typ>\Hardware\ class also contains a local \<^theory_text>\invariant c1\ to define a constraint linking the global mass of a \<^typ>\Hardware\ object @@ -922,7 +922,7 @@ To check the coherence of our local ontology, we define a relationship between t and the reference ontology using morphism functions (or mapping rules as in ATL framework~@{cite "atl"} or EXPRESS-X language~@{cite "BGPP95"}). These rules are applied to define the relationship between one class of the local ontology to one or several other class(es) described in the reference -ontology. In our case, we have define two morphises, \<^const>\Product_to_Component_morphism\ +ontology. In our case, we have define two morphisms, \<^const>\Product_to_Component_morphism\ and \<^const>\Computer_Hardware_to_Hardware_morphism\, detailed in the following listing: %\begin{figure} @@ -983,7 +983,7 @@ lemma Computer_Hardware_to_Hardware_total : After unfolding the invariant and the morphism definitions, the preservation proof is automatic. The advantage of using the \<^dof> framework compared to approaches like ATL or EXPRESS-X is -the possibility of formally verifying the \<^emph>\mapping rules\. \<^ie> proving the preservation +the possibility of formally verifying the \<^emph>\mapping rules\, \<^ie>, proving the preservation of invariants, as we have demonstrated in the previous example. \