diff --git a/examples/technical_report/IsaDof_Manual/04_RefMan.thy b/examples/technical_report/IsaDof_Manual/04_RefMan.thy index 5a00b5b..4dafd20 100644 --- a/examples/technical_report/IsaDof_Manual/04_RefMan.thy +++ b/examples/technical_report/IsaDof_Manual/04_RefMan.thy @@ -6,7 +6,7 @@ begin (*>*) chapter*[isadof::technical,main_author="Some(@{docitem ''bu''}::author)"] -\ \isadof : Syntax and Semantics of Commands\ +\ \isadof : Syntax and Semantics\ text\ \isadof is embedded in the underlying generic document model of Isabelle as described in @{docitem "sec:background"}. @@ -16,9 +16,9 @@ the definition of new functions in an interpreter. \isadof as a system plugin is is a number of new command definitions in Isabelle's document model. \isadof consists consists basically of three components: -\<^item> an own \<^emph>\family of text-element\ such as \title*\, \chapter*\ - \text*\, etc., which can be annotated with meta-information defined in the underlying - ontology definition and allow to build a \<^emph>\core\ document, +\<^item> an own \<^emph>\family of text-element\ such as @{command "title*"}, @{command "chapter*"} + @{command "text*"}, etc., which can be annotated with meta-information defined in the + underlying ontology definition and allow to build a \<^emph>\core\ document, \<^item> the \<^emph>\ontology definition\ which is an Isabelle theory file with definitions for document-classes and all auxiliary datatypes (we call this the Ontology Definition Language (ODL)) @@ -433,8 +433,9 @@ case for \inlineisar+property+). \ -subsection*[onto_future::technical]\ Monitor Classes \ (* +subsection*[onto_future::technical]\ Monitor Classes \ + text\ Besides sub-typing, there is another relation between document classes: a class can be a \<^emph>\monitor\ to other ones, which is expressed by the occurrence of a \inlineisar+where+ clause @@ -443,7 +444,7 @@ expression (see @{example (unchecked) \scholar_onto\}). While class-extension refers to data-inheritance of attributes, a monitor imposes structural constraints -- the order -- in which instances of monitored classes may occur. \ -*) + text\ The control of monitors is done by the commands: \<^item> \inlineisar+open_monitor* + @@ -457,7 +458,7 @@ classes and imposing different sets of structural constraints in a Classes which are neither directly nor indirectly (via inheritance) mentioned in the monitor are \<^emph>\independent\ from a monitor; instances of independent test elements may occur freely. \ - +*) subsection*["sec:monitors"::technical]\ODL Monitors\ text\ We call a document class with an accept-clause a @@ -557,6 +558,13 @@ In a high-level syntax, this type of constraints could be expressed, \eg, by: \ \ y\ Range(x@establish). (y,z) \ x@establish \ x \ introduction. finite(x@authored_by) \end{isar} +@{cartouche [display=true] \ + \ x \ result. x@kind = proof \ x@kind \ [] + \ x \ conclusion. \ y \ Domain(x@establish) + \ \ y\ Range(x@establish). (y,z) \ x@establish + \ x \ introduction. finite(x@authored_by) +\} +\fixme{experiment... } where \inlineisar+result+, \inlineisar+conclusion+, and \inlineisar+introduction+ are the set of all possible instances of these document classes. All specified constraints are already checked