2 \newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
3 \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
6 \newcommand{\secref}[1]{\S\ref{#1}}
7 \newcommand{\chref}[1]{chapter~\ref{#1}}
8 \newcommand{\figref}[1]{figure~\ref{#1}}
11 \newcommand{\text}[1]{\mbox{#1}}
12 \newcommand{\isasymvartheta}{\isamath{\theta}}
13 \newcommand{\isactrlvec}[1]{\emph{$\vec{#1}$}}
14 \newcommand{\isactrlBG}{\isacharbackquoteopen}
15 \newcommand{\isactrlEN}{\isacharbackquoteclose}
17 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
23 \renewcommand{\isadigit}[1]{\isamath{#1}}
25 \newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}
29 \renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
30 \renewcommand{\endisatagmlref}{\endgroup}
33 \renewcommand{\isatagmlex}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Examples}}
34 \renewcommand{\endisatagmlex}{}
36 \renewcommand{\isatagML}{\begingroup\isabellestyle{default}\isastyle\def\isadigit##1{##1}}
37 \renewcommand{\endisatagML}{\endgroup}
39 \newcommand{\minorcmd}[1]{{\sf #1}}
40 \newcommand{\isasymtype}{\minorcmd{type}}
41 \newcommand{\isasymval}{\minorcmd{val}}
43 \newcommand{\isasymFIX}{\isakeyword{fix}}
44 \newcommand{\isasymASSUME}{\isakeyword{assume}}
45 \newcommand{\isasymDEFINE}{\isakeyword{define}}
46 \newcommand{\isasymNOTE}{\isakeyword{note}}
47 \newcommand{\isasymGUESS}{\isakeyword{guess}}
48 \newcommand{\isasymOBTAIN}{\isakeyword{obtain}}
49 \newcommand{\isasymTHEORY}{\isakeyword{theory}}
50 \newcommand{\isasymUSES}{\isakeyword{uses}}
51 \newcommand{\isasymEND}{\isakeyword{end}}
52 \newcommand{\isasymCONSTS}{\isakeyword{consts}}
53 \newcommand{\isasymDEFS}{\isakeyword{defs}}
54 \newcommand{\isasymTHEOREM}{\isakeyword{theorem}}
55 \newcommand{\isasymDEFINITION}{\isakeyword{definition}}
59 \renewcommand{\isacharunderscore}{\_}
60 \renewcommand{\isacharunderscorekeyword}{\_}
61 \newcommand{\isasymdash}{\mbox{-}}