diff --git a/examples/scholarly_paper/2020-iFM-CSP/paper.thy b/examples/scholarly_paper/2020-iFM-CSP/paper.thy index 107f87e..e4563d1 100644 --- a/examples/scholarly_paper/2020-iFM-CSP/paper.thy +++ b/examples/scholarly_paper/2020-iFM-CSP/paper.thy @@ -996,8 +996,7 @@ restrictions on the structure of components. None of our paradigmatic examples c be automatically proven with any of the discussed SMT techniques without restrictions. \ -section*["conclusion"::conclusion,main_author="Some(@{docitem ''bu''}::author)"] -\Conclusion\ +section*["conclusion"::conclusion,main_author="Some(@{docitem ''bu''}::author)"]\Conclusion\ text\We presented a formalisation of the most comprehensive semantic model for \<^csp>, a 'classical' language for the specification and analysis of concurrent systems studied in a rich body of literature. For this purpose, we ported @{cite "tej.ea:corrected:1997"} to a modern version diff --git a/examples/technical_report/Isabelle_DOF-Manual/04_RefMan.thy b/examples/technical_report/Isabelle_DOF-Manual/04_RefMan.thy index 4f6b1e0..eada145 100755 --- a/examples/technical_report/Isabelle_DOF-Manual/04_RefMan.thy +++ b/examples/technical_report/Isabelle_DOF-Manual/04_RefMan.thy @@ -487,11 +487,13 @@ formal model. For example, assume a definition: \ definition last :: "'a list \ 'a" where "last S = hd(rev S)" +(* Old stuff using abstract classes. (*<*) text*[claim::assertions]\For non-empty lists, our definition yields indeed the last element of a list.\ assert*[claim::assertions] "last[4::int] = 4" assert*[claim::assertions] "last[1,2,3,4::int] = 4" (*>*) +*) text\We want to check the consequences of this definition and can add the following statements: @{boxed_theory_text [display]\ text*[claim::assertions]\For non-empty lists, our definition yields indeed diff --git a/src/DOF/Isa_COL.thy b/src/DOF/Isa_COL.thy index f70ec09..35f26df 100755 --- a/src/DOF/Isa_COL.thy +++ b/src/DOF/Isa_COL.thy @@ -97,10 +97,10 @@ fun transform_cid thy NONE X = X val sub_cid_long = DOF_core.read_cid_global thy sub_cid in if DOF_core.is_subclass_global thy sub_cid_long cid_long then (SOME (sub_cid,pos)) - else (SOME (sub_cid,pos)) - (* BUG : check reveals problem of Definition* misuse. + else (* (SOME (sub_cid,pos)) *) + (* BUG : check reveals problem of Definition* misuse. *) error("class "^sub_cid_long^ - " must be sub-class of "^cid_long) *) + " must be sub-class of "^cid_long) end in @@ -427,28 +427,4 @@ ML\@{term "side_by_side_figure"}; DOF_core.SPY;\ -section\DEPRECATED : An attempt to model Standard Isabelle Formal Content\ - -doc_class assertions = - properties :: "term list" - -doc_class "thms" = - properties :: "thm list" - -doc_class formal_item = - item :: "(assertions + thms)" - -doc_class definitions = - requires :: "formal_item list" - establishes :: "thms list" - -doc_class formal_content = - style :: "string option" - accepts "\formal_item\\<^sup>+" - -doc_class concept = - tag :: "string" <= "''''" - properties :: "thm list" <= "[]" - - end diff --git a/src/ontologies/CENELEC_50128/CENELEC_50128.thy b/src/ontologies/CENELEC_50128/CENELEC_50128.thy index 2a5653c..c31eafe 100755 --- a/src/ontologies/CENELEC_50128/CENELEC_50128.thy +++ b/src/ontologies/CENELEC_50128/CENELEC_50128.thy @@ -44,6 +44,7 @@ text\ Excerpt of the BE EN 50128:2011, page 22. \ section\Terms and Definitions\ +typ "sfc" Definition*[assessment::sfc,short_name="''assessment''"] \process of analysis to determine whether software, which may include process, documentation, system, subsystem hardware and/or software components, meets the specified @@ -68,6 +69,7 @@ criteria: configuration management system or is a part of a collection of components (e. g. subsystems) which have an independent version \ +typ "sfc" Definition*[CMGR::sfc, short_name="''configuration manager''"] \entity that is responsible for implementing and carrying out the processes diff --git a/src/ontologies/scholarly_paper/scholarly_paper.thy b/src/ontologies/scholarly_paper/scholarly_paper.thy index 2286221..58e820a 100755 --- a/src/ontologies/scholarly_paper/scholarly_paper.thy +++ b/src/ontologies/scholarly_paper/scholarly_paper.thy @@ -257,7 +257,7 @@ val _ = Outer_Syntax.command ("Definition*", @{here}) "Textual Definition" (attributes -- Parse.opt_target -- Parse.document_source --| semi >> (Toplevel.theory o (Onto_Macros.enriched_formal_statement_command - (SOME "definition") + (SOME "math_content") (* should be (SOME "definition") *) [("mcc","defn")] {markdown = true} ))); diff --git a/src/tests/InnerSyntaxAntiquotations.thy b/src/tests/InnerSyntaxAntiquotations.thy index 271e2ab..164be01 100755 --- a/src/tests/InnerSyntaxAntiquotations.thy +++ b/src/tests/InnerSyntaxAntiquotations.thy @@ -14,7 +14,7 @@ chapter\Term Antiquotations\ text\Terms are represented by "Inner Syntax" parsed by an Earley parser in Isabelle. -For historical reasons, term antiquotations are called therefore somewhat misleadingly +For historical reasons, \<^emph>\term antiquotations\ are called therefore somewhat misleadingly "Inner Syntax Antiquotations". \ theory