diff --git a/src/DOF/Isa_COL.thy b/src/DOF/Isa_COL.thy index 23e1e35..60f1b67 100644 --- a/src/DOF/Isa_COL.thy +++ b/src/DOF/Isa_COL.thy @@ -157,6 +157,9 @@ doc_class figure = placement :: placement spawn_columns :: bool <= True +doc_class figure2 = figure + + caption :: string + doc_class side_by_side_figure = figure + anchor :: "string" diff --git a/src/tests/OutOfOrderPresntn.thy b/src/tests/OutOfOrderPresntn.thy index 83913a5..a275abe 100644 --- a/src/tests/OutOfOrderPresntn.thy +++ b/src/tests/OutOfOrderPresntn.thy @@ -504,7 +504,8 @@ Figure*[fff::figure,src="\this is a side-by-side\"] \ -Figure*[ffff::figure,(* caption *) src="\this is another 2 side-by-side\"] + +Figure*[ffff::figure2, caption="\this is another 2 side-by-side\"] \@{figure_content [width=40, scale=35, caption="This is a left test"] "../ROOT"}\ \@{figure_content [width=40, scale=35, caption="This is a right test"] "../ROOT"}\ @@ -512,5 +513,18 @@ Figure*[ffff::figure,(* caption *) src="\this is another 2 side-by-side\ @{figure "ffff(2)"}\ *) +Figure*[figxxx::figure2,caption="\Proofs establishing an Invariant Preservation.\"] +\@{boxed_theory_text [display] +\lemma inv_c2_preserved : "c2_inv \ \ c1_inv (\ \Hardware\\<^sub>C\<^sub>o\<^sub>m\<^sub>p\<^sub>u\<^sub>t\<^sub>e\<^sub>r\<^sub>H\<^sub>a\<^sub>r\<^sub>d\<^sub>w\<^sub>a\<^sub>r\<^sub>e)" + unfolding c1_inv_def c2_inv_def + Computer_Hardware_to_Hardware_morphism_def + Product_to_Component_morphism_def + by (auto simp: comp_def) + +lemma Computer_Hardware_to_Hardware_total : + "Computer_Hardware_to_Hardware_morphism ` ({X. c2_inv X}) + \ ({X::Hardware. c1_inv X})" + using inv_c2_preserved by auto\}\ + end (*>*)