diff -r bda7527ccf05 -r cc2d676d5395 src/Doc/Codegen/Refinement.thy --- a/src/Doc/Codegen/Refinement.thy Wed Dec 26 16:07:28 2018 +0100 +++ b/src/Doc/Codegen/Refinement.thy Wed Dec 26 16:25:20 2018 +0100 @@ -111,14 +111,13 @@ text \ \noindent Here we define a \qt{constructor} @{const "AQueue"} which - is defined in terms of @{text "Queue"} and interprets its arguments + is defined in terms of \Queue\ and interprets its arguments according to what the \emph{content} of an amortised queue is supposed to be. The prerequisite for datatype constructors is only syntactical: a - constructor must be of type @{text "\ = \ \ \ \\<^sub>1 \ \\<^sub>n"} where @{text - "{\\<^sub>1, \, \\<^sub>n}"} is exactly the set of \emph{all} type variables in - @{text "\"}; then @{text "\"} is its corresponding datatype. The + constructor must be of type \\ = \ \ \ \\<^sub>1 \ \\<^sub>n\ where \{\\<^sub>1, \, \\<^sub>n}\ is exactly the set of \emph{all} type variables in + \\\; then \\\ is its corresponding datatype. The HOL datatype package by default registers any new datatype with its constructors, but this may be changed using @{command_def code_datatype}; the currently chosen constructors can be inspected @@ -227,7 +226,7 @@ The primitive operations on @{typ "'a dlist"} are specified indirectly using the projection @{const list_of_dlist}. For - the empty @{text "dlist"}, @{const Dlist.empty}, we finally want + the empty \dlist\, @{const Dlist.empty}, we finally want the code equation \