Debian Codegraph @

texmf-dist/doc/latex/objectz/ozguide.tex

raw
1 \errorcontextlines=20
2 \documentclass[a4paper]{article}
3 \advance\textwidth by 1in
4 \advance\textheight by 1in
5 \advance\oddsidemargin by -0.5in
6 \advance\topmargin by -0.5in
7 \usepackage{oz}
8 \usepackage{example}
9 \usepackage{multicol}
10 %
11 % just ignore any over- or under-full hboxes
12 % this document uses most of the (physical) page and isn't spread
13 % out either. This may make it slightly harder to read first time
14 % through, but makes it more suitable for later reference.
15 %
16 % before we start, let's make a few definitions
17 %
18 \makeatletter
19 %\def\example{\begin{sidebyside}}
20 %\def\verbpart{\nextside\small\vspace*{-1ex}\begin{quote}\begin{verbatim}}
21 %\def\endexample{\end{quote}\vspace*{-2ex}\end{sidebyside}\vspace*{-3ex}\ignorespaces}
22 \def\symbol#1{#1 & \tt\string#1}
23 \def\symbols{\@ifnextchar[{\@symbols}{\@symbols[0]}}
24 \def\@symbols[#1]{\interzedlinepenalty=\interdisplaylinepenalty\z@env
25 \openup #1\jot
26 \halign\bgroup\zstrut\hbox to 3.8em{$##$\hss}\tabskip=0pt&##\hss\cr
27 \noalign{\vskip-#1\jot}}% equal vspace above and below argue display
28 \let\endsymbols=\endzed
29 \makeatother
30 %
31 \begin{document}
32 \begin{center}
33 {\Large\bf Printing Z and Object-Z \LaTeX\ documents}\\[2.5ex]
34 {\em Paul King}\\[1ex]
35 Department of Computer Science\\
36 University of Queensland\\
37 Australia, 4072\\
38 [email protected]\\[1ex]
39 May 29, 1990
40 \end{center}
41
42 \section{Introduction}
43 This note describes a package of \LaTeX\ macros for printing
44 Z and Object-Z specifications. The macros and this note are
45 based originally on Mike Spivey's \verb'zed.sty' macros and documentation.
46 The package does several related things for you:
47 \begin{itemize}
48 \item It loads extra fonts and defines mnemonics
49 for the Z symbols they contain.
50 \item It defines macros for some Z symbols (e.g. $\pinj$) which
51 don't appear in any of our fonts.
52 \item It fixes the way \TeX\ sets letters in mathematical formulas so
53 that multi-character identifiers look better.
54 \item It provides various brands of `boxed mathematics'
55 which appear in Z and Object-Z specifications.
56 \end{itemize}
57
58 The package is kept in a file {\tt oz.sty}
59 in the directory \verb|/usr/local/lib/tex/localinputs|.
60 This directory should be mentioned in your \verb|TEXINPUTS| shell variable.
61 To use the macros you just begin your \LaTeX\ document with something like:
62 \begin{quote}
63 \begin{verbatim}
64 \documentstyle[11pt,oz]{article}
65 \end{verbatim}
66 \end{quote}
67 \vspace*{-1.5ex}
68
69 \section{Schema Boxes}
70
71 The example below shows a schema on the left and what you
72 need to say to get it on the right.
73
74 \begin{example}
75 \begin{schema}{BirthdayBook}
76 known: \pset NAME \\
77 birthday: NAME \pfun DATE
78 \ST
79 known = \dom birthday
80 \end{schema}
81 \end{example}
82
83 The command \verb|\ST| (read `Such That') is the same as the previously used
84 command \verb|\where| which has been kept as an alias for upward compatibility.
85 If you want a schema with no name, just a horizontal rule at the top,
86 use the \verb|schema*| environment instead.
87 You can set various parameters (see Section 7) to change the box style,
88 for example:
89
90 \begin{example}
91 $BirthdayBook \sdef \lsch ... \rsch$
92 \end{example}
93
94 A generic schema is produced as follows.
95
96 \begin{example}
97 \begin{genschema}{Pool}{RESOURCE}
98 owner : RESOURCE \pfun USER \\
99 free : \pset RESOURCE
100 \ST
101 (\dom owner) \uni free = RESOURCE \\
102 (\dom owner) \int free = \emptyset
103 \end{genschema}
104 \end{example}
105
106 \section{Axiomatic definitions}
107
108 A `liberal' axiomatic definition is produced as follows.
109
110 \begin{example}
111 \begin{axdef}
112 limit : \nat
113 \ST
114 limit \leq 65536
115 \end{axdef}
116 \end{example}
117
118 A `generic' axiomatic definition is produced as follows.
119
120 \begin{example}
121 \begin{gendef}{X,Y}
122 first : X \prod Y \tfun X
123 \ST
124 \all x : X; y : Y \dot first(x,y) = x
125 \end{gendef}
126 \end{example}
127
128 A `unique' axiomatic definition is produced as follows.
129
130 \begin{example}
131 \begin{uniqdef}
132 \pi : \real
133 \ST
134 \pi = 3.14159265\ldots
135 \end{uniqdef}
136 \end{example}
137
138 \section{Object-Z Class Boxes}
139
140 Object-Z allows class types to be defined using a box very similar to
141 the schema box previously described. It allows the previously
142 described boxed environments (as well as nested sub-classes) to be
143 placed within a class box. In addition, special names can be used for
144 some of the boxed-environments when they appear within a class box.
145 The following example illustrates a class definition.
146
147 \begin{example}
148 \begin{class}{Shape}
149 \also
150 colour : Colour \\
151 \begin{axdef}
152 perim : \real
153 \ST
154 perim > 0
155 \end{axdef} \\
156 \begin{classcom}
157 This class has 2 constants
158 $colour$ and $perim$.
159 \end{classcom} \\
160 \begin{state}
161 x, y : \real
162 \end{state} \\
163 \begin{init}
164 x = y = 0
165 \end{init} \\
166 \begin{op}{Translate}
167 \Delta (x,y) \\
168 dx?, dy? : \real
169 \ST
170 x' = x + dx? \\
171 y' = y + dy?
172 \end{op}
173 \end{class}
174 \end{example}
175
176 The \verb|classcom| environment hasn't been seen before.
177 It creates a paragraph of text with the same margins as used
178 for schemas and other Z environments. It uses a special font
179 intended for use when placing comments inside classes.
180 A similar environment, \verb|zpar|, uses the same margins
181 but with the normal roman font.
182
183 The \verb|\begin{init}| command is an abbreviation for
184 \verb|\begin{schema}{\Init}|. Similarly \verb|\begin{state}|
185 is a more meaningful synonym for \verb|\begin{schema*}|.
186
187 You will be given \LaTeX\ warning messages if you try to
188 use a \verb|state| environment outside of a class box
189 or if you try to place an environment such as \verb|syntax|
190 inside a class. You can ask for additional help in these
191 cases using the normal \LaTeX\ \verb|h| or \verb|H| help commands.
192 If you proceed with \LaTeX ing, the macros will attempt to
193 do the best they can to do what you probably intend, even though
194 you are violating the recommended nesting guidelines.
195
196 \section{Controlling the Spacing within Equations and Boxes}
197
198 Most of the special Z symbols are defined
199 in a way that allows \TeX\ to space them out correctly.
200 Sometimes, however, you'll need to give \TeX\ a helping hand if
201 you want it to get the spacing right. For example, to get $map\,f$
202 you need to type \verb|map\,f|. The \verb|\,| gives you a thin space:
203 if this is omitted, the input \verb|map f| gives
204 $map f$, because \TeX\ ignores spaces in math mode.
205
206 Sometimes it is useful to indent the left margin to emphasis
207 the logical structure of the predicate.
208 The command \verb|\t1| does this by making the corresponding
209 line in the output have one helping of indentation.
210 As things get more nested, you can say \verb|\t2|, \verb|\t3|, and so on.
211 But if you should ever get beyond \verb|t9|, you'll need to use braces
212 around the argument: \verb|\t{10}|, and you'd better look for some way
213 to simplify your specification!
214 These little tab marks might look different to normal tabs
215 but are never the less convenient. They're short,
216 and they don't get longer as the tabbing gets deeper, within reason,
217 so they can be tucked in neatly on the left, well away from the maths.
218 The size of `helping' you get with \verb|\t| is determined by
219 the \verb|\zedtab| parameter (see Section 7).
220
221 If you want a more powerful aligning mechanism than tabbing
222 then you can use the margin stack as shown in the example below.
223 The command \verb|\M| sets the future left margin to the current
224 horizontal position and pushes the old value onto a margin stack.
225 The command \verb|\O| resets the left margin to its previous value
226 (which is popped off the stack).
227
228 \begin{example}
229 \begin{schema}{Test}
230 x, y : \nat
231 \ST
232 x + 1/x = 0 \imp \M y + 1/y = 0 \\
233 y = x \O \\
234 \end{schema}
235 \end{example}
236
237 If a schema or other box contains more than one predicate below the
238 line, it often looks better to add a tiny vertical space between
239 them, as in this example:
240
241 \begin{example}
242 \begin{schema}{AddBirthday}
243 \Delta BirthdayBook \\
244 n?: NAME \\
245 d?: DATE
246 \ST
247 n? \nem known
248 \also
249 birthday'=birthday \uni \{n? \map d?\}
250 \end{schema}
251 \end{example}
252
253 This is done with the command \verb|\also|, which behaves syntactically
254 like \verb|\ST|.
255 The command \verb|\also| is provided {\em instead\/} of the
256 optional argument to \verb|\\|
257 which \LaTeX\ provides in other environments.
258 If larger vertical spacing is required, the commands
259 \verb|\Also| and \verb|\ALSO| may be used (giving 2 and 4 times
260 as much space as \verb|\also| respectively).
261
262 Normally, the contents of a schema box are kept on a single page.
263 For large schemas it may be necessary to split the box across pages.
264 You must specify which places are suitable for splitting using one of
265 \verb|\zbreak|, \verb|\Zbreak| or \verb|\ZBREAK|. If no split is
266 performed at this point, a vertical space will be added as if the
267 user had typed \verb|\also|, \verb|\Also|, or \verb|\ALSO| respectively.
268 You can also use the \verb|\znewpage| command to force a page break within
269 a box. (These breaking facilities will hopefully never be needed for schemas,
270 but may become necessary for class specifications.)
271
272 \section{Other Display Environments}
273
274 The \verb|zed| environment can be used to set multi-line formulas without
275 an enclosing box: it is useful for given-set declarations, theorems, and the
276 miscellaneous bits of mathematics that don't come in a box:
277
278 \vspace{-1ex}\begin{example}
279 \begin{zed}
280 \all n: \nat \dot \\
281 \t1 n+n \mem even.
282 \end{zed}
283 \end{example}
284
285 The formula \verb|\begin{zed} ... \end{zed}| may be abbreviated to
286 \verb|\[ ... \]|; the \verb|zed| environment is a generalization of the
287 \verb|displaymath| environment of \LaTeX, so this redefinition of
288 commands is fairly benign. Notice that the maths is set flush left on the
289 same indentation as schemas and their friends.
290 Here too you can use \verb|\also| for a little extra space
291 between lines.
292
293 For algebraic-style proofs, there is the \verb|argue| environment.
294 This is like the \verb|zed| environment, but the separation between
295 lines is increased a little, and page breaks may occur between lines.
296 When the left-hand side is long this style wastes less space
297 than the \LaTeX\ \verb|eqnarray| style.
298 The intended use is for arguments like this:
299 \begin{argue}
300 rev(append(cons(x,s),t)) \\
301 \t1 = rev(cons(x,append(s,t))) \\
302 \t1 = append(rev(append(s,t)),cons(x,nil)) \\
303 \t1 = append(append(rev(t),rev(s)),cons(x,nil))
304 \quad \hbox{by hypothesis} \\
305 \t1 = append(rev(t),append(rev(s),cons(x,nil))) \\
306 \t1 = append(rev(t),rev(cons(x,s))).
307 \end{argue}
308 Here is the input:
309 \begin{quote}
310 \begin{verbatim}
311 \begin{argue}
312 rev(append(cons(x,s),t)) \\
313 \t1 = rev(cons(x,append(s,t))) \\
314 \t1 = append(rev(append(s,t)),cons(x,nil)) \\
315 \t1 = append(append(rev(t),rev(s)),cons(x,nil))
316 \quad \hbox{by hypothesis} \\
317 \t1 = append(rev(t),append(rev(s),cons(x,nil))) \\
318 \t1 = append(rev(t),rev(cons(x,s))).
319 \end{argue}
320 \end{verbatim}
321 \end{quote}
322
323 The example below shows an inference rule (the optional argument
324 to \verb|\derive| gives a side-condition of the rule):
325
326 \vspace{-1ex}\begin{example}
327 \begin{infrule}
328 \Gamma \shows P
329 \derive[x \nem freevars(\Gamma)]
330 \Gamma \shows \all x \dot P
331 \end{infrule}
332 \end{example}
333
334 The \verb|syntax| environment is used for making displays like this:
335
336 \begin{syntax}
337 EXPR & \ddef & IDENT & identifier \\
338 & \bbar & EXPR\;EXPR & application \\
339 & \bbar & \lambda IDENT \dot EXPR & lambda-abstraction.
340 \end{syntax}
341 from input like this:
342 \begin{quote}
343 \begin{verbatim}
344 \begin{syntax}
345 EXPR & \ddef & IDENT & identifier \\
346 & \bbar & EXPR\;EXPR & application \\
347 & \bbar & \lambda IDENT \dot EXPR & lambda-abstraction.
348 \end{syntax}
349 \end{verbatim}
350 \end{quote}
351
352 This kind of thing is useful when you're describing a language,
353 and it can also be used for data-type definitions as shown below.
354 The optional final column was omitted below by leaving out the third \verb|&|.
355
356 \begin{example}
357 \begin{syntax}
358 TYPE & \ddef & givenT \lang NAME \rang \\
359 & \bbar & powerT \lang TYPE \rang \\
360 & \bbar & tupleT \lang \seq TYPE \rang \\
361 & \bbar & schemaT \lang IDENT \ffun TYPE \rang \\
362 & \bbar & classT \lang IDENT \ffun ClassAttr \rang
363 \end{syntax}
364 \end{example}
365
366 This can be compared with the layout adopted by the UQ Z editor (version 1).
367
368 \begin{example}
369 \begin{zed}
370 TYPE \ddef \M givenT \lang NAME \rang \\
371 \bbar powerT \lang TYPE \rang \\
372 \bbar tupleT \lang \seq TYPE \rang \\
373 \bbar schemaT \lang IDENT \ffun TYPE \rang \\
374 \bbar classT \lang IDENT \ffun ClassAttr \rang \O
375 \end{zed}
376 \end{example}
377
378 The {\tt sidebyside} environment allows a display as shown in the
379 first two columns below to be produced from the text of the third column.
380 Note the use of the \verb|\comment| command.
381
382 \begin{example}
383 \begin{sidebyside}
384 \begin{schema}{Schema}
385 \comment*{declarations}
386 \ST
387 a < b \comment{pred-1} \\
388 aaaaa < bbbbb \comment{pred-2}
389 \end{schema}
390 \nextside
391 \begin{zpar}
392 This is a paragraph which has the same
393 margins as the standard schemas do.
394 \end{zpar}
395 \end{sidebyside}
396 \end{example}
397
398 In fact, this environment was used throughout this note to
399 display the examples beside the required input text.
400 Incidentally, the above example shows that \verb|sidebyside|
401 environments can be nested; so what the author of this note typed
402 to get the above display was:
403
404 \begin{quote}
405 \begin{verbatim}
406 \begin{sidebyside}
407 \begin{sidebyside}
408 ...
409 \nextside
410 ...
411 \end{sidebyside}
412 \nextside
413 ...
414 \end{sidebyside}
415 \end{verbatim}
416 \end{quote}
417
418 This resulted in the first two columns being equally spaced and
419 together taking up as much space as the third column.
420 You can have more than 2 columns without nesting by specifying an optional
421 parameter to \verb|sidebyside|. For example, the display below has three
422 equally spaced columns obtained using \verb|\begin{sidebyside}[3]|.
423
424 \begin{sidebyside}[3]
425 \begin{schema}{BirthdayBook}
426 known: \pset NAME \\
427 birthday: NAME \pfun DATE
428 \ST
429 known = \dom birthday
430 \end{schema}
431 \nextside
432 \begin{schema}{BirthdayBook}
433 known: \pset NAME \\
434 birthday: NAME \pfun DATE
435 \ST
436 known = \dom birthday
437 \end{schema}
438 \nextside
439 \begin{zpar}
440 Don't get carried away with \verb|sidebyside|
441 like this example does.
442 \end{zpar}
443 \end{sidebyside}
444
445 \section{Style Parameters}
446
447 \begin{description}
448 \item[\tt\string\zedindent] The (horizontal) indentation for mathematical text.
449 By default, this is the same as \verb|\leftmargini|, the indentation
450 used for list environments.
451 \item[\tt\string\zedleftsep] The (horizontal) space between the vertical line on the left
452 of schemas, etc., and the maths inside. The default is 1em.
453 \item[\tt\string\zedtab] The unit of indentation used by \verb|\t|. The default
454 is 2em.
455 \item[\tt\string\zedbar] The length of the horizontal bar in the middle of a
456 schema. The default is 8em.
457 \item[\tt\string\leftschemas] A declaration which makes schema names be
458 set flush left. Use it in the document preamble.
459 \item[\tt\string\zedlinethickness] The thickness of the lines that make up
460 schema and class boxes. You can change the thickness
461 with a command such as \verb|\zedlinethickness=0.1pt|. This may
462 be useful if you are creating overhead slides.
463 \begin{description}
464 \makeatletter
465 \item[0.1pt] \zedlinethickness=0.1pt
466 ~\hbox to 4cm{\z@hrulefill}
467 \item[0.4pt] \zedlinethickness=0.4pt
468 ~\hbox to 4cm{\z@hrulefill}~~~(The default)
469 \item[\hphantom{0.}1pt] \zedlinethickness=1pt
470 ~\hbox to 4cm{\z@hrulefill}
471 \end{description}
472 \item[\tt\string\baselinestretch] The spacing for the text part of your
473 document. It doesn't change the spacing within Z environments. It's
474 default value is 1. A command such as \verb|\def\baselinestretch{2}|
475 will make your text double spaced, but not your Z environments.
476 \item[\tt\string\zedbaselinestretch] The spacing for the Z environment
477 part of your document. It's default value is 1.
478 \item[\tt\string\zedsize] The size of the material within the Z
479 part of your document. It doesn't affect the remainder of your document.
480 For example, \verb|\zedsize{\large}| will give you large Z symbols
481 and equations but will not affect the size of the surrounding text.
482 \item[\tt\string\zedcornerheight] The height of `corners' that can be placed
483 on the right hand side of the top and bottom lines of schema and class
484 boxes. The default is 0em (i.e. no corners).
485 \end{description}
486
487 \section{Symbols}
488
489 Multi-letter identifiers have been changed to look
490 better than they do with vanilla \LaTeX: instead of
491 $\mathit{specifications}$, you get $specifications$.
492 The letters haven't been spread apart, and the
493 ligature $fi$ has been used.
494
495 Almost all of the mathematical symbols of \LaTeX\ can be used;
496 some have been redefined---usually to fix the spacing so that it is
497 suitable for Z specifications.
498 The commands for obtaining additional symbols are listed below.
499 Sometimes more than one command may produce a symbol you
500 require. You should use the one that seems to be designed for the
501 context you have in mind. This is because the spacing around (and size of)
502 symbols has been chosen for their typical context.
503
504 Throughout the lifetime of these macros a number of alternate control
505 sequences for any symbol may have existed. A list of aliases has been
506 set up so that old commands may still be used. It is
507 recommended however that you stick to the recommended command
508 names for symbols as these names may be supported by other tools.
509 Within the table below non-recommended aliases are surrounded by
510 brackets, e.g., \verb|(\power)|.
511 \begin{multicols}{2}
512 \setcounter{secnumdepth}{2}
513 \zedindent=0.2\zedindent
514 \subsection{Special Z Notation}
515 \vspace*{-0.5ex}
516 \subsubsection{Numbers}
517 \vspace*{-2.5ex}
518 \begin{symbols}
519 \nat & \verb' \nat' \\
520 \natone & \verb' \natone (\nplus)' \\
521 \integer & \verb' \integer (\num)' \\
522 \real & \verb' \real' \\
523 \div~\mod & \verb' \div \mod' \\
524 i^n & \verb' i^n i\expon n' \\
525 \succ & \verb' \succ' \\
526 %\prec & \verb' \prec' \\
527 =~\neq & \verb' = \neq' \\
528 <~\leq~\leqslant & \verb' < \leq \leqslant' \\
529 >~\geq~\geqslant & \verb' > \geq \geqslant' \\
530 *\,/\,+ - & \verb' * / + -' \\
531 \end{symbols}
532 \subsubsection{Logic}
533 \vspace*{-2.5ex}
534 \begin{symbols}
535 \lnot & \verb'\lnot' \\
536 \land & \verb'\land (\wedge)' \\
537 \lor & \verb'\lor (\vee)' \\
538 \all & \verb'\all (\forall)' \\
539 \exi & \verb'\exi (\exists)' \\
540 \exi_1 & \verb'\exione' \\
541 \nexi & \verb'\nexi (\nexists)' \\
542 \dot & \verb'@ \dot (\spot)' \\
543 %\cond & \verb'\cond' \\
544 \imp & \verb'\imp (\implies)' \\
545 \iff & \verb'\iff' \\
546 \true & \verb'\true' \\
547 \false & \verb'\false' \\
548 \bool & \verb'\bool' \\
549 \end{symbols}
550 \subsubsection{Sets}
551 \vspace*{-2.5ex}
552 \begin{symbols}
553 \{~~\cbar~~\} & \verb' \{ \cbar \}' \\
554 \emptyset & \verb' \emptyset' \\
555 \varemptyset & \verb' \varemptyset' \\
556 \mem & \verb' \mem (\in)' \\
557 \nmem & \verb' \nem (\nmem \notin)' \\
558 \pset & \verb' \pset (\power)' \\
559 \fset & \verb' \fset (\finset)' \\
560 \psetone~~\fsetone & \verb' \fsetone \psetone' \\
561 \uni & \verb' \uni (\union)' \\
562 \int & \verb' \int (\inter)' \\
563 \psubs & \verb' \psubs (\subset)' \\
564 \subs & \verb' \subs (\subseteq)' \\
565 \psups & \verb' \psups (\supset)' \\
566 \sups & \verb' \sups (\supseteq)' \\
567 \prod & \verb' \prod (\cross)' \\
568 \min~\max & \verb' \min \max' \\
569 \# & \verb' \#' \\
570 \duni & \verb' \duni (\dunion)' \\
571 \dint & \verb' \dint (\dinter)' \\
572 \upto & \verb' \upto' \\
573 \end{symbols}
574
575 \subsubsection{Relations and Functions}
576 \vspace*{-2.5ex}
577 \begin{symbols}[0.1]
578 \lambda~~~\mu & \verb'\lambda \mu' \\
579 \dom & \verb'\dom' \\
580 \ran & \verb'\ran' \\
581 \dres & \verb'\dres' \\
582 \dsub & \verb'\dsub (\ndres)' \\
583 \rres & \verb'\rres' \\
584 \rsub & \verb'\rsub (\nrres)' \\
585 \fovr & \verb'\fovr' \\
586 \cmp & \verb'\cmp' \\
587 \fcmp & \verb'\fcmp (\comp)' \\
588 (\!|~~~|\!) & \verb'\limg \rimg' \\
589 \id & \verb'\id' \\
590 R\inv & \verb'R^{-1} R\inv' \\
591 R^+ & \verb'R^+ R\tcl' \\
592 R^* & \verb'R^* R\rtcl' \\
593 R^k & \verb'R^k R\iter k' \\
594 iter\,0\,R & \verb'iter \, 0 \, R' \\
595 \map & \verb'\map' \\
596 \rel & \verb'\rel' \\
597 \tfun & \verb'\tfun (\fun)' \\
598 \tinj & \verb'\tinj (\inj)' \\
599 \tsur & \verb'\tsur (\surj)' \\
600 \pfun & \verb'\pfun' \\
601 \pinj & \verb'\pinj' \\
602 \psur & \verb'\psur (\psurj)' \\
603 \ffun & \verb'\ffun' \\
604 \finj & \verb'\finj' \\
605 \bij & \verb'\bij' \\
606 \end{symbols}
607 \subsubsection{Sequences}
608 \vspace*{-2.5ex}
609 \begin{symbols}
610 \seq & \verb' \seq' \\
611 \seqone & \verb' \seqone' \\
612 \emptyseq & \verb' \emptyseq' \\
613 \lseq~~~\rseq & \verb' \lseq \rseq' \\
614 \head~~\tail & \verb' \head \tail' \\
615 \front~~\last & \verb' \front \last' \\
616 \rev & \verb' \rev' \\
617 \next & \verb' \next' \\
618 \inseq & \verb' \inseq' \\
619 \prefix & \verb' \prefix' \\
620 \suffix & \verb' \suffix' \\
621 \squash & \verb' \squash' \\
622 \cat & \verb' \cat' \\
623 \dcat & \verb' \dcat' \\
624 \dcmp & \verb' \dcmp' \\
625 \dovr & \verb' \dovr' \\
626 \ires & \verb' \ires' \\
627 \sres & \verb' \sres \filter' \\
628 \partitions & \verb' \partitions' \\
629 \disjoint & \verb' \disjoint' \\
630 \end{symbols}
631
632 \subsubsection{Schemas}
633 \vspace*{-2.5ex}
634 \begin{symbols}
635 \Delta & \verb'\Delta' \\
636 \equiv~~\Xi & \verb'\equiv \Xi' \\
637 \pred & \verb'\pred' \\
638 \pre & \verb'\pre' \\
639 \post & \verb'\post' \\
640 \project & \verb'\zproject \project' \\
641 \zand & \verb'\zand' \\
642 \zor & \verb'\zor' \\
643 \zcmp & \verb'\zcmp (\semi)' \\
644 \zexi & \verb'\zexi' \\
645 \zall & \verb'\zall' \\
646 \znot & \verb'\znot' \\
647 \zhide & \verb'\zhide (\hide)' \\
648 \zfor & \verb'\zfor' \\
649 \zimp & \verb'\zimp' \\
650 \zeq & \verb'\zeq' \\
651 \zovr & \verb'\zovr' \\
652 \zpipe & \verb'\zpipe' \\
653 \theta & \verb'\theta' \\
654 \lsch~~\zbar~~\rsch & \verb'\lsch \zbar \rsch' \\
655 .. & \verb'.' \\
656 \end{symbols}
657 \subsubsection{Bags}
658 \vspace*{-2.5ex}
659 \begin{symbols}
660 \lbag~~~\rbag & \verb'\lbag \rbag' \\
661 \bag & \verb'\bag' \\
662 \emptybag & \verb'\emptybag' \\
663 \items & \verb'\items' \\
664 \bagcount & \verb'\bagcount' \\
665 \buni & \verb'\buni' \\
666 \inbag & \verb'\inbag' \\
667 \end{symbols}
668 \subsubsection{Definitions and Declarations}
669 \vspace*{-2.5ex}
670 \begin{symbols}
671 ::= & \verb'\ddef' \\
672 \bbar & \verb'\bbar' \\
673 == & \verb'\defs' \also
674 \widehat= & \verb'\sdef' \also
675 \triangleq & \verb'\varsdef' \\
676 ,~~\semicolon~~: & \verb', ; :' \\
677 \lang~~~\rang & \verb'\lang \rang' \\
678 \end{symbols}
679 \subsubsection{Miscellaneous}
680 \vspace*{-2.5ex}
681 \begin{symbols}[0]
682 [~~~] & \verb'[ ]' \\
683 (~~~) & \verb'( )' \\
684 !~~~? & \verb'! ?' \\
685 \zlet & \verb'\zlet' \\
686 \zwhere & \verb'\zwhere' \\
687 \zin & \verb'\zin' \\
688 \langle\!|~~~|\!\rangle & \verb'\lblot \rblot' \\
689 \intern Bump & \verb'\intern Bump' \\
690 \Init & \verb'\Init'\\
691 \Exit & \verb'\Exit'
692 \end{symbols}
693
694 \subsection{Other Special Notation}
695 \vspace*{-1ex}
696 \subsubsection{Temporal Logic}
697 \vspace*{-2.5ex}
698 \begin{symbols}
699 \always~\uptilnow & \verb'\always \uptilnow' \\
700 ~&\verb'(\henceforth)'\\
701 \atnext~\atlast & \verb'\atnext \atlast' \\
702 \eventually~\previously & \verb'\eventually \previously' \\
703 \end{symbols}
704 \subsubsection{Proofs}
705 \vspace*{-2.5ex}
706 \begin{symbols}[0.1]
707 \TH & \verb' \TH' \\
708 \PR & \verb' \PR' \\
709 \LE & \verb' \LE' \\
710 \ETH~\Qed & \verb' \qed (\ETH) \Qed' \\
711 \QED~\BLACKQED & \verb' \QED \BLACKQED' \\
712 \vdash & \verb' \shows (\thrm)' \\
713 \vDash & \verb' \vDash' \\
714 \refines & \verb' \refines' \\
715 \weakrefine & \verb' \weakrefine' \\
716 \end{symbols}
717 \subsubsection{Object Theory}
718 \vspace*{-2.5ex}
719 \begin{symbols}
720 \subclass & \verb'\subclass \isa' \\
721 \weaksubclass & \verb'\weaksubclass \islikea' \\
722 \supclass & \verb'\supclass' \\
723 \weaksupclass & \verb'\weaksupclass' \\
724 \hasa & \verb'\hasa \instantiates' \\
725 \instancein & \verb'\instancein' \\
726 \subtype~~\subtypeeq & \verb'\subtype \subtypeeq' \\
727 \suptype~~\suptypeeq & \verb'\suptype \suptypeeq' \\
728 \end{symbols}
729 \subsubsection{Orders}
730 \vspace*{-2.5ex}
731 \begin{symbols}
732 \mono & \verb' \mono' \\ % these lines fudged to give more spacing
733 \torder & \verb' \torder' \\
734 \porder & \verb' \porder' \\
735 \end{symbols}
736 \subsubsection{Word Styles}
737 \vspace*{-2.5ex}
738 \begin{symbols}[0.4]
739 \word{word} & \verb'\word{word}' \\
740 \keyword{word} & \verb'\keyword{word}' \\
741 \boldword{word} & \verb'\boldword{word}' \\
742 \underword{word} & \verb'\underword{word}' \\
743 \underkeyword{word} & \verb'\underkeyword{word}' \\
744 \underboldword{word} & \verb'\underboldword{word}' \\
745 \String{word} & \verb'\String{word}' \\
746 \STRING{word} & \verb'\STRING{word}' \\
747 a \infix{rel} b & \verb'a \infix{rel} b' \\
748 \end{symbols}
749
750 \subsection{Special Letter Fonts}
751 \vspace*{-1ex}
752 \subsubsection{Greek}
753 \vspace*{-2.5ex}
754 \begin{symbols}
755 \alpha & \verb'\alpha' \\
756 \beta & \verb'\beta' \\
757 \gamma~\Gamma & \verb'\gamma \Gamma' \\
758 \delta~\Delta & \verb'\delta \Delta' \\
759 \epsilon~\varepsilon & \verb'\epsilon \varepsilon' \\
760 \zeta & \verb'\zeta' \\
761 \eta & \verb'\eta' \\
762 \theta~\vartheta~\Theta & \verb'\theta \vartheta \Theta' \\
763 \iota & \verb'\iota' \\
764 \kappa~\varkappa & \verb'\kappa \varkappa' \\
765 \lambda~\Lambda & \verb'\lambda \Lambda' \\
766 \mu & \verb'\mu' \\
767 \nu & \verb'\nu' \\
768 \xi~\Xi & \verb'\xi \Xi' \\
769 \pi~\varpi~\Pi & \verb'\pi \varpi \Pi' \\
770 \rho~\varrho & \verb'\rho \varrho' \\
771 \sigma~\varsigma~\Sigma & \verb'\sigma \varsigma \Sigma' \\
772 \tau & \verb'\tau' \\
773 \upsilon~\Upsilon & \verb'\upsilon \Upsilon' \\
774 \phi~\varphi~\Phi & \verb'\phi \varphi \Phi' \\
775 \chi & \verb'\chi' \\
776 \psi~\Psi & \verb'\psi \Psi' \\
777 \omega~\Omega & \verb'\omega \Omega' \\
778 \end{symbols}
779 \subsubsection{Caligraphic}
780 \vspace*{-2.5ex}
781 \begin{symbols}
782 \mathcal{A} & \verb'\mathcal{A}' \\
783 \mathcal{B} & \verb'\mathcal{B}' \\
784 \mathcal{C} & \verb'\mathcal{C}' \\
785 \mathcal{D} & \verb'\mathcal{D}' \\
786 \mathcal{E} & \verb'\mathcal{E}' \\
787 \mathcal{F} & \verb'\mathcal{F}' \\
788 \mathcal{G} & \verb'\mathcal{G}' \\
789 \mathcal{H} & \verb'\mathcal{H}' \\
790 \mathcal{I} & \verb'\mathcal{I}' \\
791 \mathcal{J} & \verb'\mathcal{J}' \\
792 \mathcal{K} & \verb'\mathcal{K}' \\
793 \mathcal{L} & \verb'\mathcal{L}' \\
794 \mathcal{M} & \verb'\mathcal{M}' \\
795 \mathcal{N} & \verb'\mathcal{N}' \\
796 \mathcal{O} & \verb'\mathcal{O}' \\
797 \mathcal{P} & \verb'\mathcal{P}' \\
798 \mathcal{Q} & \verb'\mathcal{Q}' \\
799 \mathcal{R} & \verb'\mathcal{R}' \\
800 \mathcal{S} & \verb'\mathcal{S}' \\
801 \mathcal{T} & \verb'\mathcal{T}' \\
802 \mathcal{U} & \verb'\mathcal{U}' \\
803 \mathcal{V} & \verb'\mathcal{V}' \\
804 \mathcal{W} & \verb'\mathcal{W}' \\
805 \mathcal{X} & \verb'\mathcal{X}' \\
806 \mathcal{Y} & \verb'\mathcal{Y}' \\
807 \mathcal{Z} & \verb'\mathcal{Z}' \\
808 \end{symbols}
809 \subsubsection{BlackBoard Bold}
810 \vspace*{-2.5ex}
811 \begin{symbols}
812 \mathbb A & \verb'\mathbb A' \\
813 \mathbb B & \verb'\mathbb B' \\
814 \mathbb C & \verb'\mathbb C' \\
815 \mathbb D & \verb'\mathbb D' \\
816 \mathbb E & \verb'\mathbb E' \\
817 \mathbb F & \verb'\mathbb F' \\
818 \mathbb G & \verb'\mathbb G' \\
819 \mathbb H & \verb'\mathbb H' \\
820 \mathbb I & \verb'\mathbb I' \\
821 \mathbb J & \verb'\mathbb J' \\
822 \mathbb K & \verb'\mathbb K' \\
823 \mathbb L & \verb'\mathbb L' \\
824 \mathbb M & \verb'\mathbb M' \\
825 \mathbb N & \verb'\mathbb N' \\
826 \mathbb O & \verb'\mathbb O' \\
827 \mathbb P & \verb'\mathbb P' \\
828 \mathbb Q & \verb'\mathbb Q' \\
829 \mathbb R & \verb'\mathbb R' \\
830 \mathbb S & \verb'\mathbb S' \\
831 \mathbb T & \verb'\mathbb T' \\
832 \mathbb U & \verb'\mathbb U' \\
833 \mathbb V & \verb'\mathbb V' \\
834 \mathbb W & \verb'\mathbb W' \\
835 \mathbb X & \verb'\mathbb X' \\
836 \mathbb Y & \verb'\mathbb Y' \\
837 \mathbb Z & \verb'\mathbb Z' \\
838 \end{symbols}
839 \subsubsection{Miscellaneous}
840 \vspace*{-2.5ex}
841 \begin{symbols}
842 \hslash & \verb'\hslash' \\
843 \hbar & \verb'\hbar' \\
844 \backepsilon & \verb'\backepsilon' \\
845 \eth & \verb'\eth' \\
846 \beth & \verb'\beth' \\
847 \gimel & \verb'\gimel' \\
848 \daleth & \verb'\daleth' \\
849 \complement & \verb'\complement' \\
850 \intercal & \verb'\intercal' \\
851 \aleph & \verb'\aleph' \\
852 \nabla & \verb'\nabla' \\
853 \hbar & \verb'\hbar' \\
854 \imath & \verb'\imath' \\
855 \jmath & \verb'\jmath' \\
856 \ell & \verb'\ell' \\
857 \wp & \verb'\wp' \\
858 \Re & \verb'\Re' \\
859 \Im & \verb'\Im' \\
860 \mho & \verb'\mho' \\
861 \digamma & \verb'\digamma' \\
862 \end{symbols}
863
864 \subsection{Shapes}
865 \vspace*{-2ex}
866 \begin{symbols}
867 \Box & \verb'\Box' \\
868 \square & \verb'\square' \\
869 \blacksquare & \verb'\blacksquare' \\
870 \diamond & \verb'\diamond' \\
871 \Diamond & \verb'\Diamond' \\
872 \lozenge & \verb'\lozenge' \\
873 \blacklozenge & \verb'\blacklozenge' \\
874 \vartriangleright & \verb'\vartriangleright' \\
875 \vartriangleleft & \verb'\vartriangleleft' \\
876 \blacktriangledown & \verb'\blacktriangledown' \\
877 \blacktriangleright & \verb'\blacktriangleright' \\
878 \blacktriangleleft & \verb'\blacktriangleleft' \\
879 \vartriangle & \verb'\vartriangle' \\
880 \blacktriangle & \verb'\blacktriangle' \\
881 \triangledown & \verb'\triangledown' \\
882 \triangle & \verb'\triangle' \\
883 \triangleleft & \verb'\triangleleft' \\
884 \triangleright & \verb'\triangleright' \\
885 \bigtriangleup & \verb'\bigtriangleup' \\
886 \bigtriangledown & \verb'\bigtriangledown' \\
887 \clubsuit & \verb'\clubsuit' \\
888 \diamondsuit & \verb'\diamondsuit' \\
889 \heartsuit & \verb'\heartsuit' \\
890 \spadesuit & \verb'\spadesuit' \\
891 \ast & \verb'\ast' \\
892 \star & \verb'\star' \\
893 \maltese & \verb'\maltese' \\
894 \bigstar & \verb'\bigstar' \\
895 \bigcirc & \verb'\bigcirc' \\
896 \circ & \verb'\circ' \\
897 \bullet & \verb'\bullet' \\
898 \centerdot & \verb'\centerdot' \\
899 \cdot & \verb'\cdot' \\
900 \cdots & \verb'\cdots' \\
901 \ldots & \verb'\ldots' \\
902 \vdots & \verb'\vdots' \\
903 \ddots & \verb'\ddots' \\
904 \end{symbols}
905 \subsubsection{Circled Operations}
906 \vspace*{-2.5ex}
907 \begin{symbols}
908 \circledS & \verb'\circledS' \\
909 \circledcirc & \verb'\circledcirc' \\
910 \circledast & \verb'\circledast' \\
911 \circleddash & \verb'\circleddash' \\
912 \circledR & \verb'\circledR' \\
913 \copyright & \verb'\copyright' \\
914 \fovr & \verb'\fovr' \\
915 \ominus & \verb'\ominus' \\
916 \otimes & \verb'\otimes' \\
917 \oslash & \verb'\oslash' \\
918 \odot & \verb'\odot' \\
919 \end{symbols}
920
921 \subsubsection{Boxed operators}
922 \vspace*{-2.5ex}
923 \begin{symbols}[0.2]
924 \boxdot & \verb'\boxdot' \\
925 \boxplus & \verb'\boxplus' \\
926 \boxtimes & \verb'\boxtimes' \\
927 \boxminus & \verb'\boxminus' \\
928 \end{symbols}
929 \subsection{Arrow Symbols}
930 \vspace*{-1ex}
931 \subsubsection{Left Arrows}
932 \vspace*{-2.5ex}
933 \begin{symbols}[0.7]
934 \leftarrow & \verb'\leftarrow \gets' \\
935 \Leftarrow & \verb'\Leftarrow' \\
936 \hookleftarrow & \verb'\hookleftarrow' \\
937 \leftharpoonup & \verb'\leftharpoonup' \\
938 \leftharpoondown & \verb'\leftharpoondown' \\
939 \longleftarrow & \verb'\longleftarrow' \\
940 \Longleftarrow & \verb'\Longleftarrow' \\
941 \twoheadleftarrow & \verb'\twoheadleftarrow' \\
942 \leftleftarrows & \verb'\leftleftarrows' \\
943 \leftarrowtail & \verb'\leftarrowtail' \\
944 \Lleftarrow & \verb'\Lleftarrow' \\
945 \nleftarrow & \verb'\nleftarrow' \\
946 \nLeftarrow & \verb'\nLeftarrow' \\
947 \end{symbols}
948
949 \subsubsection{Right Arrows}
950 \begin{symbols}[0.7]
951 \rightarrow & \verb'\rightarrow \to' \\
952 \Rightarrow & \verb'\Rightarrow' \\
953 \map & \verb'\map' \\
954 \longmapsto & \verb'\longmapsto' \\
955 \hookrightarrow & \verb'\hookrightarrow' \\
956 \rightharpoonup & \verb'\rightharpoonup' \\
957 \rightharpoondown & \verb'\rightharpoondown' \\
958 \leadsto & \verb'\leadsto' \\
959 \longrightarrow & \verb'\longrightarrow' \\
960 \Longrightarrow & \verb'\Longrightarrow' \\
961 \twoheadrightarrow & \verb'\twoheadrightarrow' \\
962 \rightrightarrows & \verb'\rightrightarrows' \\
963 \rightarrowtail & \verb'\rightarrowtail' \\
964 \rightsquigarrow & \verb'\rightsquigarrow' \\
965 \Rrightarrow & \verb'\Rrightarrow' \\
966 \nrightarrow & \verb'\nrightarrow' \\
967 \nRightarrow & \verb'\nRightarrow' \\
968 \end{symbols}
969
970 \subsubsection{Left Right Arrows}
971 \begin{symbols}[0.6]
972 \leftrightarrow & \verb'\leftrightarrow' \\
973 \Leftrightarrow & \verb'\Leftrightarrow' \\
974 \rightleftharpoons & \verb'\rightleftharpoons' \\
975 \longleftrightarrow & \verb'\longleftrightarrow' \\
976 \Longleftrightarrow & \verb'\Longleftrightarrow' \\
977 \rightleftharpoons & \verb'\rightleftharpoons' \\
978 \leftrightharpoons & \verb'\leftrightharpoons' \\
979 \leftrightarrows & \verb'\leftrightarrows' \\
980 \rightleftarrows & \verb'\rightleftarrows' \\
981 \leftrightsquigarrow & \verb'\leftrightsquigarrow' \\
982 \nLeftrightarrow & \verb'\nLeftrightarrow' \\
983 \nleftrightarrow & \verb'\nleftrightarrow' \\
984 \end{symbols}
985
986 \subsubsection{Up Down Arrows}
987 \begin{symbols}[1]
988 \uparrow & \verb'\uparrow' \\
989 \Uparrow & \verb'\Uparrow' \\
990 \downarrow & \verb'\downarrow' \\
991 \Downarrow & \verb'\Downarrow' \\
992 \updownarrow & \verb'\updownarrow' \\
993 \Updownarrow & \verb'\Updownarrow' \\
994 \upuparrows & \verb'\upuparrows' \\
995 \downdownarrows & \verb'\downdownarrows' \\
996 \upharpoonright & \verb'\upharpoonright' \\
997 \downharpoonright & \verb'\downharpoonright' \\
998 \upharpoonleft & \verb'\upharpoonleft' \\
999 \downharpoonleft & \verb'\downharpoonleft' \\
1000 \end{symbols}
1001
1002 \subsubsection{Miscellaneous}
1003 \begin{symbols}[0.9]
1004 \nearrow & \verb'\nearrow' \\
1005 \searrow & \verb'\searrow' \\
1006 \swarrow & \verb'\swarrow' \\
1007 \nwarrow & \verb'\nwarrow' \\
1008 \circlearrowright & \verb'\circlearrowright' \\
1009 \circlearrowleft & \verb'\circlearrowleft' \\
1010 \Lsh & \verb'\Lsh' \\
1011 \Rsh & \verb'\Rsh' \\
1012 \looparrowleft & \verb'\looparrowleft' \\
1013 \looparrowright & \verb'\looparrowright' \\
1014 \curvearrowleft & \verb'\curvearrowleft' \\
1015 \curvearrowright & \verb'\curvearrowright' \\
1016 \end{symbols}
1017 \pagebreak[4]
1018
1019 \subsection{Relations}
1020 \begin{symbols}[0.8]
1021 \ll & \verb'\ll' \\
1022 \gg & \verb'\gg' \\
1023 \llless & \verb'\lll \llless' \\
1024 \gggtr & \verb'\ggg \gggtr' \\
1025 \sqsubset & \verb'\sqsubset' \\
1026 \sqsupset & \verb'\sqsupset' \\
1027 \sqsubseteq & \verb'\sqsubseteq' \\
1028 \sqsupseteq & \verb'\sqsupseteq' \\
1029 \owns & \verb'\owns' \\
1030 \vdash & \verb'\vdash' \\
1031 \Vdash & \verb'\Vdash' \\
1032 \vDash & \verb'\vDash' \\
1033 \dashv & \verb'\dashv' \\
1034 \Vvdash & \verb'\Vvdash' \\
1035 \models & \verb'\models' \\
1036 \nvdash & \verb'\nvdash' \\
1037 \nVdash & \verb'\nVdash' \\
1038 \nvDash & \verb'\nvDash' \\
1039 \nVDash & \verb'\nVDash' \\
1040 \perp & \verb'\perp' \\
1041 \sim & \verb'\sim' \\
1042 \simeq & \verb'\simeq' \\
1043 \eqsim & \verb'\eqsim' \\
1044 \backsim & \verb'\backsim' \\
1045 \backsimeq & \verb'\backsimeq' \\
1046 \thicksim & \verb'\thicksim' \\
1047 \nsim & \verb'\nsim' \\
1048 \approx & \verb'\approx' \\
1049 \napprox & \verb'\napprox' \\
1050 \thickapprox & \verb'\thickapprox' \\
1051 \approxeq & \verb'\approxeq' \\
1052 \asymp & \verb'\asymp' \\
1053 \cong & \verb'\cong' \\
1054 \ncong & \verb'\ncong' \\
1055 \doteq & \verb'\doteq' \\
1056 \doteqdot & \verb'\Doteq \doteqdot' \\
1057 \risingdotseq & \verb'\risingdotseq' \\
1058 \fallingdotseq & \verb'\fallingdotseq' \\
1059 \lessdot & \verb'\lessdot' \\
1060 \gtrdot & \verb'\gtrdot' \\
1061 \eqcirc & \verb'\eqcirc' \\
1062 \circeq & \verb'\circeq' \\
1063 \bumpeq & \verb'\bumpeq' \\
1064 \Bumpeq & \verb'\Bumpeq' \\
1065 \triangleq & \verb'\triangleq' \\
1066 \multimap & \verb'\multimap' \\
1067 \propto & \verb'\propto' \\
1068 \varpropto & \verb'\varpropto' \\
1069 \lesssim & \verb'\lesssim' \\
1070 \gtrsim & \verb'\gtrsim' \\
1071 \lessapprox & \verb'\lessapprox' \\
1072 \gtrapprox & \verb'\gtrapprox' \\
1073 \xprec & \verb'\xprec' \\
1074 \xsucc & \verb'\xsucc' \\
1075 \preceq & \verb'\preceq' \\
1076 \succeq & \verb'\succeq' \\
1077 \precsim & \verb'\precsim' \\
1078 \succsim & \verb'\succsim' \\
1079 \precapprox & \verb'\precapprox' \\
1080 \succapprox & \verb'\succapprox' \\
1081 \eqslantless & \verb'\eqslantless' \\
1082 \eqslantgtr & \verb'\eqslantgtr' \\
1083 \curlyeqprec & \verb'\curlyeqprec' \\
1084 \curlyeqsucc & \verb'\curlyeqsucc' \\
1085 \preccurlyeq & \verb'\preccurlyeq' \\
1086 \succcurlyeq & \verb'\succcurlyeq' \\
1087 \leqq & \verb'\leqq' \\
1088 \geqq & \verb'\geqq' \\
1089 \leqslant & \verb'\leqslant' \\
1090 \geqslant & \verb'\geqslant' \\
1091 \lessgtr & \verb'\lessgtr' \\
1092 \gtrless & \verb'\gtrless' \\
1093 \lesseqgtr & \verb'\lesseqgtr' \\
1094 \Also
1095 \gtreqless & \verb'\gtreqless' \\
1096 \Also
1097 \lesseqqgtr & \verb'\lesseqqgtr' \\
1098 \Also
1099 \gtreqqless & \verb'\gtreqqless' \\
1100 \also
1101 \lvertneqq & \verb'\lvertneqq' \\
1102 \gvertneqq & \verb'\gvertneqq' \\
1103 \nleq & \verb'\nleq' \\
1104 \ngeq & \verb'\ngeq' \\
1105 \nless & \verb'\nless' \\
1106 \ngtr & \verb'\ngtr' \\
1107 \nprec & \verb'\nprec' \\
1108 \nsucc & \verb'\nsucc' \\
1109 \lneqq & \verb'\lneqq' \\
1110 \gneqq & \verb'\gneqq' \\
1111 \nleqslant & \verb'\nleqslant' \\
1112 \ngeqslant & \verb'\ngeqslant' \\
1113 \lneq & \verb'\lneq' \\
1114 \gneq & \verb'\gneq' \\
1115 \npreceq & \verb'\npreceq' \\
1116 \nsucceq & \verb'\nsucceq' \\
1117 \precnsim & \verb'\precnsim' \\
1118 \succnsim & \verb'\succnsim' \\
1119 \lnsim & \verb'\lnsim' \\
1120 \gnsim & \verb'\gnsim' \\
1121 \nleqq & \verb'\nleqq' \\
1122 \ngeqq & \verb'\ngeqq' \\
1123 \precneqq & \verb'\precneqq' \\
1124 \succneqq & \verb'\succneqq' \\
1125 \precnapprox & \verb'\precnapprox' \\
1126 \succnapprox & \verb'\succnapprox' \\
1127 \lnapprox & \verb'\lnapprox' \\
1128 \gnapprox & \verb'\gnapprox' \\
1129 \Subset & \verb'\Subset' \\
1130 \Supset & \verb'\Supset' \\
1131 \subseteqq & \verb'\subseteqq' \\
1132 \supseteqq & \verb'\supseteqq' \\
1133 %\varsubsetneq & \verb'\varsubsetneq' \\
1134 %\varsupsetneq & \verb'\varsupsetneq' \\
1135 \nsubseteqq & \verb'\nsubseteqq' \\
1136 \also
1137 \nsupseteqq & \verb'\nsupseteqq' \\
1138 \also
1139 \subsetneqq & \verb'\subsetneqq' \\
1140 \also
1141 \supsetneqq & \verb'\supsetneqq' \\
1142 %\varsubsetneqq & \verb'\varsubsetneqq' \\
1143 %\varsupsetneqq & \verb'\varsupsetneqq' \\
1144 \subsetneq & \verb'\subsetneq' \\
1145 \supsetneq & \verb'\supsetneq' \\
1146 \nsubseteq & \verb'\nsubseteq' \\
1147 \nsupseteq & \verb'\nsupseteq' \\
1148 \trianglerighteq & \verb'\trianglerighteq' \\
1149 \trianglelefteq & \verb'\trianglelefteq' \\
1150 \ntrianglerighteq & \verb'\ntrianglerighteq' \\
1151 \ntrianglelefteq & \verb'\ntrianglelefteq' \\
1152 \ntriangleleft & \verb'\ntriangleleft' \\
1153 \ntriangleright & \verb'\ntriangleright' \\
1154 \between & \verb'\between' \\
1155 | & \verb'| \vert \mid' \\
1156 \| & \verb'\| \Vert \parallel' \\
1157 \interleave & \verb'\interleave' \\
1158 \shortmid & \verb'\shortmid' \\
1159 \shortparallel & \verb'\shortparallel' \\
1160 \shortinterleave & \verb'\shortinterleave' \\
1161 \nparallel & \verb'\nparallel' \\
1162 \nmid & \verb'\nmid' \\
1163 \nshortmid & \verb'\nshortmid' \\
1164 \nshortparallel & \verb'\nshortparallel' \\
1165 \end{symbols}
1166
1167 \subsection{Binary Operations}
1168 \begin{symbols}[1.4]
1169 \curlywedge & \verb'\curlywedge' \\
1170 \curlyvee & \verb'\curlyvee' \\
1171 \veebar & \verb'\veebar' \\
1172 \barwedge & \verb'\barwedge' \\
1173 \doublebarwedge & \verb'\doublebarwedge' \\
1174 \pm & \verb'\pm' \\
1175 \mp & \verb'\mp' \\
1176 \times & \verb'\times' \\
1177 \ltimes & \verb'\ltimes' \\
1178 \rtimes & \verb'\rtimes' \\
1179 \leftthreetimes & \verb'\leftthreetimes' \\
1180 \rightthreetimes & \verb'\rightthreetimes' \\
1181 \divideontimes & \verb'\divideontimes' \\
1182 \divides & \verb'\divides' \\
1183 \uplus & \verb'\uplus' \\
1184 \sqcap & \verb'\sqcap' \\
1185 \sqcup & \verb'\sqcup' \\
1186 \Cup & \verb'\Cup \doublecup' \\
1187 \Cap & \verb'\Cap \doublecap' \\
1188 \backslash & \verb'\backslash' \\
1189 \setminus & \verb'\setminus' \\
1190 \smallsetminus & \verb'\smallsetminus' \\
1191 \wr & \verb'\wr' \\
1192 \lhd & \verb'\lhd' \\
1193 \rhd & \verb'\rhd' \\
1194 \unlhd & \verb'\unlhd' \\
1195 \unrhd & \verb'\unrhd' \\
1196 \restriction & \verb'\restriction' \\
1197 \amalg & \verb'\amalg' \\
1198 \top & \verb'\top' \\
1199 \bot & \verb'\bot' \\
1200 \smallsmile & \verb'\smallsmile' \\
1201 \smallfrown & \verb'\smallfrown' \\
1202 \smile & \verb'\smile' \\
1203 \frown & \verb'\frown' \\
1204 \pitchfork & \verb'\pitchfork' \\
1205 \dotplus & \verb'\dotplus' \\
1206 \Join & \verb'\Join' \\
1207 \bowtie & \verb'\bowtie' \\
1208 \end{symbols}
1209
1210 \subsection{Miscellaneous Symbols}
1211 \begin{symbols}
1212 \dagger & \verb'\dagger' \\
1213 \ddagger & \verb'\ddagger' \\
1214 \sectionsymbol & \verb'\sectionsymbol' \\
1215 \P & \verb'\P' \\
1216 \angle & \verb'\angle' \\
1217 \measuredangle & \verb'\measuredangle' \\
1218 \sphericalangle & \verb'\sphericalangle' \\
1219 \prime & \verb'\prime' \\
1220 \backprime & \verb'\backprime' \\
1221 \surd & \verb'\surd' \\
1222 \smallint & \verb'\smallint' \\
1223 \flat & \verb'\flat' \\
1224 \natural & \verb'\natural' \\
1225 \sharp & \verb'\sharp' \\
1226 \partial & \verb'\partial' \\
1227 \infty & \verb'\infty' \\
1228 \yen & \verb'\yen' \\
1229 \therefore & \verb'\therefore' \\
1230 \because & \verb'\because' \\
1231 \checkmark & \verb'\checkmark' \\
1232 \end{symbols}
1233
1234 \subsection{Variable-sized Symbols}
1235 These symbols come in two sizes which
1236 do not vary with the point size of your
1237 font. The big size can be obtained
1238 by preceding the symbol command with
1239 the command \verb'\displaystyle'.
1240 \begin{symbols}[1.3]
1241 \sum \displaystyle \sum & \verb'\sum' \\
1242 \product \displaystyle \product & \verb'\product' \\
1243 \coprod \displaystyle \coprod & \verb'\coprod' \\
1244 \integral \displaystyle \integral & \verb'\integral' \\
1245 \oint \displaystyle \oint & \verb'\oint' \\
1246 \bigcap \displaystyle \bigcap & \verb'\bigcap' \\
1247 \bigcup \displaystyle \bigcup & \verb'\bigcup' \\
1248 \bigsqcup \displaystyle \bigsqcup & \verb'\bigsqcup' \\
1249 \bigvee \displaystyle \bigvee & \verb'\bigvee' \\
1250 \bigwedge \displaystyle \bigwedge & \verb'\bigwedge' \\
1251 \bigodot \displaystyle \bigodot & \verb'\bigodot' \\
1252 \bigotimes \displaystyle \bigotimes & \verb'\bigotimes' \\
1253 \bigoplus \displaystyle \bigoplus & \verb'\bigoplus' \\
1254 \biguplus \displaystyle \biguplus & \verb'\biguplus' \\
1255 \end{symbols}
1256
1257 \subsection{Delimiters}
1258 \vspace*{-1ex}
1259 These symbols can be made large to surround large formula.
1260 E.g., $$\left\lfloor\displaystyle\sum_{i=1}^n x^i\right\rfloor$$
1261 was generated using
1262
1263 \begin{verbatim}
1264 \left\lfloor...\right\rfloor
1265 \end{verbatim}
1266 \vspace*{-2ex}
1267 \begin{symbols}[0.8]
1268 (~~~) & \verb'( )' \\
1269 \{~~~\} & \verb'\{ \}' \\
1270 \lfloor~~~\rfloor & \verb'\lfloor \rfloor' \\
1271 \lceil~~~\rceil & \verb'\lceil \rceil' \\
1272 \langle~~~\rangle & \verb'\langle \rangle' \\
1273 \ulcorner~~~\urcorner & \verb'\ulcorner \urcorner' \\
1274 \llcorner~~~\lrcorner & \verb'\llcorner \lrcorner' \\
1275 \uparrow & \verb'\uparrow' \\
1276 \downarrow & \verb'\downarrow' \\
1277 \updownarrow & \verb'\updownarrow' \\
1278 \Uparrow & \verb'\Uparrow' \\
1279 \Downarrow & \verb'\Downarrow' \\
1280 \Updownarrow & \verb'\Updownarrow' \\
1281 \end{symbols}
1282
1283 \subsection{Math Accents}
1284 \vspace*{-1ex}
1285 \begin{symbols}[0.2]
1286 \hat{a} & \verb'\hat{a}' \\
1287 \widehat{a} & \verb'\widehat{a}' \\
1288 \widehat{aa} & \verb'\widehat{aa}' \\
1289 \widehat{aaa} & \verb'\widehat{aaa}' \\
1290 \tilde{a} & \verb'\tilde{a}' \\
1291 \widetilde{a} & \verb'\widetilde{a}' \\
1292 \widetilde{aa} & \verb'\widetilde{aa}' \\
1293 \widetilde{aaa} & \verb'\widetilde{aaa}' \\
1294 \check{a} & \verb'\check{a}' \\
1295 \breve{a} & \verb'\breve{a}' \\
1296 \acute{a} & \verb'\acute{a}' \\
1297 \grave{a} & \verb'\grave{a}' \\
1298 \bar{a} & \verb'\bar{a}' \\
1299 \vec{a} & \verb'\vec{a}' \\
1300 \dotaccent{a} & \verb'\dotaccent{a}' \\
1301 \ddot{a} & \verb'\ddot{a}' \\
1302 \end{symbols}
1303
1304 \subsection{Size Commands}
1305 \vspace*{-1ex}
1306 \begin{symbols}
1307 \mu~\zsmall\mu~\zSmall\mu &\verb'\mu \zsmall\mu \zSmall\mu'\\
1308 \zbig\mu~\zBig\mu~\zBIG\mu &\verb'\zbig\mu \zBig\mu \zBIG\mu'\\
1309 \end{symbols}
1310 \end{multicols}
1311 \end{document}