10 {\ifthenelse{\equal{}{#1}}{\index{#3 (#2)|bold}}{\index{#3 (#1\ #2)|bold}}} |
10 {\ifthenelse{\equal{}{#1}}{\index{#3 (#2)|bold}}{\index{#3 (#1\ #2)|bold}}} |
11 \newcommand{\indexref}[3]{\ifthenelse{\equal{}{#1}}{\index{#3 (#2)}}{\index{#3 (#1\ #2)}}} |
11 \newcommand{\indexref}[3]{\ifthenelse{\equal{}{#1}}{\index{#3 (#2)}}{\index{#3 (#1\ #2)}}} |
12 |
12 |
13 \newcommand{\indexoutertoken}[1]{\indexdef{}{syntax}{#1}} |
13 \newcommand{\indexoutertoken}[1]{\indexdef{}{syntax}{#1}} |
14 \newcommand{\indexouternonterm}[1]{\indexdef{}{syntax}{#1}} |
14 \newcommand{\indexouternonterm}[1]{\indexdef{}{syntax}{#1}} |
15 \newcommand{\indexisarcmd}[1]{\indexdef{}{command}{#1}} |
|
16 \newcommand{\indexisarelem}[1]{\indexdef{}{element}{#1}} |
15 \newcommand{\indexisarelem}[1]{\indexdef{}{element}{#1}} |
17 \newcommand{\indexisarmeth}[1]{\indexdef{}{method}{#1}} |
|
18 \newcommand{\indexisaratt}[1]{\indexdef{}{attribute}{#1}} |
|
19 \newcommand{\indexisarthm}[1]{\indexdef{}{fact}{#1}} |
|
20 \newcommand{\indexisarvar}[1]{\indexdef{}{term}{#1}} |
|
21 \newcommand{\indexisarcase}[1]{\indexdef{}{case}{#1}} |
|
22 \newcommand{\indexisarant}[1]{\indexdef{}{antiquotation}{#1}} |
|
23 \newcommand{\indexisarcmdof}[2]{\indexdef{#1}{command}{#2}} |
|
24 \newcommand{\indexisarmethof}[2]{\indexdef{#1}{method}{#2}} |
|
25 \newcommand{\indexisarattof}[2]{\indexdef{#1}{attribute}{#2}} |
|
26 |
16 |
27 \newcommand{\isasymAND}{\isakeyword{and}} |
17 \newcommand{\isasymAND}{\isakeyword{and}} |
28 \newcommand{\isasymIS}{\isakeyword{is}} |
18 \newcommand{\isasymIS}{\isakeyword{is}} |
29 \newcommand{\isasymWHERE}{\isakeyword{where}} |
19 \newcommand{\isasymWHERE}{\isakeyword{where}} |
30 \newcommand{\isasymBEGIN}{\isakeyword{begin}} |
20 \newcommand{\isasymBEGIN}{\isakeyword{begin}} |
31 \newcommand{\isasymIMPORTS}{\isakeyword{imports}} |
21 \newcommand{\isasymIMPORTS}{\isakeyword{imports}} |
32 \newcommand{\isasymIN}{\isakeyword{in}} |
22 \newcommand{\isasymIN}{\isakeyword{in}} |
33 \newcommand{\isasymSTRUCTURE}{\isakeyword{structure}} |
23 \newcommand{\isasymSTRUCTURE}{\isakeyword{structure}} |
34 |
24 |
35 \newcommand{\isarkeyword}[1]{{\mathord{\mathbf{#1}}}} |
|
36 \newcommand{\isarcmd}[1]{\isarkeyword{#1}} |
|
37 \newcommand{\isartrans}[2]{#1 \mathbin{\,\to\,} #2} |
25 \newcommand{\isartrans}[2]{#1 \mathbin{\,\to\,} #2} |
38 \newcommand{\isarkeep}[1]{#1 \mathbin{\,\to\,} #1} |
26 \newcommand{\isarkeep}[1]{#1 \mathbin{\,\to\,} #1} |
39 \newcommand{\isarantiq}{antiquotation} |
27 \newcommand{\isarantiq}{antiquotation} |
40 \newcommand{\isarmeth}{method} |
28 \newcommand{\isarmeth}{method} |
41 \newcommand{\isaratt}{attribute} |
29 \newcommand{\isaratt}{attribute} |
42 |
|
43 \newcommand{\I@optname}[1]{\ifthenelse{\equal{}{#1}}{}{~#1\colon}} |
|
44 \newcommand{\I@optmeth}[1]{\ifthenelse{\equal{}{#1}}{}{~#1}} |
|
45 |
|
46 \newcommand{\AND}{\isarkeyword{and}} |
|
47 \newcommand{\IN}{\isarkeyword{in}} |
|
48 \newcommand{\COROLLARYNAME}{\isarkeyword{corollary}} |
|
49 \newcommand{\LEMMANAME}{\isarkeyword{lemma}} |
|
50 \newcommand{\THEOREMNAME}{\isarkeyword{theorem}} |
|
51 \newcommand{\NOTENAME}{\isarkeyword{note}} |
|
52 \newcommand{\FROMNAME}{\isarkeyword{from}} |
|
53 \newcommand{\WITHNAME}{\isarkeyword{with}} |
|
54 \newcommand{\USINGNAME}{\isarkeyword{using}} |
|
55 \newcommand{\UNFOLDINGNAME}{\isarkeyword{unfolding}} |
|
56 \newcommand{\FIXESNAME}{\isarkeyword{fixes}} |
|
57 \newcommand{\CONSTRAINSNAME}{\isarkeyword{constrains}} |
|
58 \newcommand{\ASSUMESNAME}{\isarkeyword{assumes}} |
|
59 \newcommand{\DEFINESNAME}{\isarkeyword{defines}} |
|
60 \newcommand{\NOTESNAME}{\isarkeyword{notes}} |
|
61 \newcommand{\INCLUDESNAME}{\isarkeyword{includes}} |
|
62 \newcommand{\FIXNAME}{\isarkeyword{fix}} |
|
63 \newcommand{\ASSUMENAME}{\isarkeyword{assume}} |
|
64 \newcommand{\PRESUMENAME}{\isarkeyword{presume}} |
|
65 \newcommand{\CASENAME}{\isarkeyword{case}} |
|
66 \newcommand{\HAVENAME}{\isarkeyword{have}} |
|
67 \newcommand{\SHOWNAME}{\isarkeyword{show}} |
|
68 \newcommand{\HENCENAME}{\isarkeyword{hence}} |
|
69 \newcommand{\THUSNAME}{\isarkeyword{thus}} |
|
70 \newcommand{\PROOFNAME}{\isarkeyword{proof}} |
|
71 \newcommand{\QEDNAME}{\isarkeyword{qed}} |
|
72 \newcommand{\BYNAME}{\isarkeyword{by}} |
|
73 \newcommand{\APPLYNAME}{\isarkeyword{apply}} |
|
74 \newcommand{\ISNAME}{\isarkeyword{is}} |
|
75 \newcommand{\CONCLNAME}{\isarkeyword{concl}} |
|
76 \newcommand{\LETNAME}{\isarkeyword{let}} |
|
77 \newcommand{\DEFNAME}{\isarkeyword{def}} |
|
78 \newcommand{\OBTAINNAME}{\isarkeyword{obtain}} |
|
79 \newcommand{\CMTNAME}{\textbf{---}} |
|
80 |
|
81 \newcommand{\THEORY}{\isarkeyword{theory}} |
|
82 \newcommand{\CONTEXT}{\isarkeyword{context}} |
|
83 \newcommand{\END}{\isarkeyword{end}} |
|
84 |
|
85 \newcommand{\TYPES}{\isarkeyword{types}} |
|
86 \newcommand{\CONSTS}{\isarkeyword{consts}} |
|
87 \newcommand{\CONSTDEFS}{\isarkeyword{constdefs}} |
|
88 \newcommand{\DEFS}{\isarkeyword{defs}} |
|
89 \newcommand{\AXCLASS}{\isarkeyword{axclass}} |
|
90 \newcommand{\INSTANCE}{\isarkeyword{instance}} |
|
91 \newcommand{\INSTANTIATION}{\isarkeyword{instantiation}} |
|
92 \newcommand{\OVERLOADING}{\isarkeyword{overloading}} |
|
93 \newcommand{\DECLARE}{\isarkeyword{declare}} |
|
94 \newcommand{\LEMMAS}{\isarkeyword{lemmas}} |
|
95 \newcommand{\THEOREMS}{\isarkeyword{theorems}} |
|
96 \newcommand{\LOCALE}{\isarkeyword{locale}} |
|
97 \newcommand{\CLASS}{\isarkeyword{class}} |
|
98 \newcommand{\SUBCLASS}{\isarkeyword{subclass}} |
|
99 \newcommand{\TEXT}{\isarkeyword{text}} |
|
100 \newcommand{\TXT}{\isarkeyword{txt}} |
|
101 \newcommand{\NOTE}[2]{\NOTENAME~\ifthenelse{\equal{}{#1}}{}{#1=}#2} |
|
102 \newcommand{\FROM}[1]{\FROMNAME~#1} |
|
103 \newcommand{\WITH}[1]{\WITHNAME~#1} |
|
104 \newcommand{\USING}[1]{\USINGNAME~#1} |
|
105 \newcommand{\UNFOLDING}[1]{\UNFOLDINGNAME~#1} |
|
106 \newcommand{\FIXES}[1]{\FIXESNAME~#1} |
|
107 \newcommand{\CONSTRAINS}[1]{\CONSTRAINSNAME~#1} |
|
108 \newcommand{\ASSUMES}[2]{\ASSUMESNAME\I@optname{#1}~#2} |
|
109 \newcommand{\DEFINES}[2]{\DEFINESNAME\I@optname{#1}~#2} |
|
110 \newcommand{\NOTES}[2]{\NOTESNAME~\ifthenelse{\equal{}{#1}}{}{#1=}#2} |
|
111 \newcommand{\INCLUDES}[1]{\INCLUDESNAME~#1} |
|
112 \newcommand{\SHOWS}[2]{\isarkeyword{shows}\I@optname{#1}~#2} |
|
113 \newcommand{\FIX}[1]{\FIXNAME~#1} |
|
114 \newcommand{\ASSUME}[2]{\ASSUMENAME\I@optname{#1}~#2} |
|
115 \newcommand{\PRESUME}[2]{\PRESUMENAME\I@optname{#1}~#2} |
|
116 \newcommand{\CASE}[1]{\CASENAME~#1} |
|
117 \newcommand{\THEN}{\isarkeyword{then}} |
|
118 \newcommand{\HAVE}[2]{\isarkeyword{have}\I@optname{#1}~#2} |
|
119 \newcommand{\SHOW}[2]{\isarkeyword{show}\I@optname{#1}~#2} |
|
120 \newcommand{\HENCE}[2]{\isarkeyword{hence}\I@optname{#1}~#2} |
|
121 \newcommand{\THUS}[2]{\isarkeyword{thus}\I@optname{#1}~#2} |
|
122 \newcommand{\COROLLARY}[2]{\COROLLARYNAME\I@optname{#1}~#2} |
|
123 \newcommand{\LEMMA}[2]{\LEMMANAME\I@optname{#1}~#2} |
|
124 \newcommand{\THEOREM}[2]{\THEOREMNAME\I@optname{#1}~#2} |
|
125 \newcommand{\PROOF}[1]{\PROOFNAME\I@optmeth{#1}} |
|
126 \newcommand{\QED}[1]{\QEDNAME\I@optmeth{#1}} |
|
127 \newcommand{\BY}[1]{\BYNAME\I@optmeth{#1}} |
|
128 \newcommand{\BYY}[2]{\BYNAME\I@optmeth{#1}\I@optmeth{#2}} |
|
129 \newcommand{\APPLY}[1]{\APPLYNAME\I@optmeth{#1}} |
|
130 \newcommand{\DONE}{\isarkeyword{done}} |
|
131 \newcommand{\DOT}{\textbf{.}} |
|
132 \newcommand{\DDOT}{\textbf{.\,.}} |
|
133 \newcommand{\DDDOT}{\dots} |
|
134 \newcommand{\IS}[1]{(\ISNAME~#1)} |
|
135 \newcommand{\ISS}[2]{(\ISNAME~#1~\ISNAME~#2)} |
|
136 \newcommand{\LET}[1]{\LETNAME~#1} |
|
137 \newcommand{\DEF}[2]{\DEFNAME\I@optname{#1}~#2} |
|
138 \newcommand{\ATT}[1]{\ap [#1]} |
|
139 \newcommand{\CMT}[1]{\CMTNAME~\Text{#1}} |
|
140 \newcommand{\ALSO}{\isarkeyword{also}} |
|
141 \newcommand{\FINALLY}{\isarkeyword{finally}} |
|
142 \newcommand{\MOREOVER}{\isarkeyword{moreover}} |
|
143 \newcommand{\ULTIMATELY}{\isarkeyword{ultimately}} |
|
144 \newcommand{\OBTAIN}[3]{\OBTAINNAME~#1~\isarkeyword{where}\I@optname{#2}~#3} |
|
145 \newcommand{\BG}{\isarkeyword{\textbf{\{}}} |
|
146 \newcommand{\EN}{\isarkeyword{\textbf{\}}}} |
|
147 \newcommand{\NEXT}{\isarkeyword{next}} |
|
148 \newcommand{\SORRY}{\isarkeyword{sorry}} |
|
149 \newcommand{\OOPS}{\isarkeyword{oops}} |
|