diff --git a/examples/technical_report/Isabelle_DOF-Manual/02_Background.thy b/examples/technical_report/Isabelle_DOF-Manual/02_Background.thy index 79150fd..0a7f55d 100755 --- a/examples/technical_report/Isabelle_DOF-Manual/02_Background.thy +++ b/examples/technical_report/Isabelle_DOF-Manual/02_Background.thy @@ -81,11 +81,11 @@ text\ any context. The context-definition contains an \<^boxed_theory_text>\import\ and a \<^boxed_theory_text>\keyword\ section, for example: @{boxed_theory_text [display]\ - theory Example \\Name of the 'theory'\ - imports (* Declaration of 'theory' dependencies *) - Main (* Imports a library called 'Main' *) - keywords (* Registration of keywords defined locally *) - requirement (* A command for describing requirements *)\} + theory Example \\Name of the 'theory'\ + imports \\Declaration of 'theory' dependencies\ + Main \\Imports a library called 'Main'\ + keywords \\Registration of keywords defined locally\ + requirement \\A command for describing requirements\ \} where \<^boxed_theory_text>\Example\ is the abstract name of the text-file, \<^boxed_theory_text>\Main\ refers to an imported theory (recall that the import relation must be acyclic) and \<^boxed_theory_text>\keywords\ are used to separate commands from each other. @@ -98,18 +98,16 @@ text\ According to the \<^emph>\reflexivity\ axiom @{thm refl we obtain in \ for @{term "fac 5"} the result @{value "fac 5"}.\\} so it is a command \<^theory_text>\text\ followed by an argument (here in \\ ... \\ paranthesis) which contains characters and and a special notation for semantic macros \<^bindex>\semantic macros\ -(here in the notation \<^theory_text>\@{term "fac 5"}).\ +(here \<^theory_text>\@{term "fac 5"}).\ \ text\ - We distinguish fundamentally two different syntactic levels: \<^item> the \<^emph>\outer-syntax\\<^bindex>\syntax!outer\\<^index>\outer syntax|see {syntax, outer}\ (\<^ie>, the syntax for commands) is processed by a lexer-library and parser combinators built on top, and \<^item> the \<^emph>\inner-syntax\\<^bindex>\syntax!inner\\<^index>\inner syntax|see {syntax, inner}\ (\<^ie>, the syntax for \\\-terms in HOL) with its own parametric polymorphism type checking. - On the semantic level, we assume a validation process for an integrated document, where the semantics of a command is a transformation \\ \ \\ for some system state \\\. This document model can be instantiated with outer-syntax commands for common @@ -142,7 +140,7 @@ for $\operatorname{fac} \text{\textrm{5}}$ the result $\text{\textrm{120}}$.\A Theory-Graph in the Document Model. \ -section*[bgrnd21::introduction]\Implementability of the Required Document Model.\ +section*[bgrnd21::introduction]\Implementability of the Required Document Model\ text\ Batch-mode checkers for \<^dof> can be implemented in all systems of the LCF-style prover family, \<^ie>, systems with a type-checked \term\, and abstract \thm\-type for theorems