diff --git a/examples/cytology/Cytology.thy b/examples/cytology/Cytology.thy index d7d5f9a..d29b3c4 100644 --- a/examples/cytology/Cytology.thy +++ b/examples/cytology/Cytology.thy @@ -6,7 +6,7 @@ text\A small example ontology for demonstration purposes. The presentation follows closely: \<^url>\https://www.youtube.com/watch?v=URUJD5NEXC8\.\ -datatype protein = filaments | motor_proteins | rna |dna |nucleolus +datatype protein = filaments | motor_proteins | rna | dna |nucleolus type_synonym desc = "string" diff --git a/src/tests/Attributes.thy b/src/tests/Attributes.thy index 74e548b..fd6aaa3 100755 --- a/src/tests/Attributes.thy +++ b/src/tests/Attributes.thy @@ -30,6 +30,30 @@ val {docobj_tab={tab = docitem_tab, ...},docclass_tab, ISA_transformer_tab, moni Symtab.dest docitem_tab; Symtab.dest docclass_tab; \ +ML\ +#value(the(the(Symtab.lookup docitem_tab "aaa"))) + +\ + +find_theorems (60) name:"Conceptual.M." + +value [simp]"trace(M.make undefined [] ())" +value "ok(M.make undefined_AAA [] ())" +value "trace(M.make undefined_AAA [] ())" +value "tag_attribute(M.make undefined_AAA [] ())" + + +value "ok(M.make 0 [] ())" +(* +value "ok(M.make 0 [] undefined)" +*) + +value [simp] \ M.ok + (Conceptual.M.trace_update (\x. []) + (Conceptual.M.tag_attribute_update (\x. 0) + (Conceptual.M.ok_update (\x. ()) + (undefined::M)) + ))\ ML\