Debian Codegraph @

texmf-dist/doc/latex/rec-thy/rec-thy.tex

raw
1 \documentclass[leqno,11pt]{amsart}
2 \usepackage{zwgetfdate}
3 \usepackage{amsmath,amssymb,amsthm,iftex}
4 % \usepackage[disallowspaces,fixamsmath]{mathtools}
5 % \usepackage{amsfonts}
6 % \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it}
7 % \DeclareMathAlphabet{\mathbrush}{T1}{pbsi}{xl}{n}
8 % \usepackage{mathspec}
9 \usepackage{comment}
10
11 \ifpdftex
12 \else %using lualatex/xelatex
13 \usepackage{unicode-math}
14 \usepackage{fontspec}
15 \setmainfont{XITS}
16 \setmathfont{XITS Math}
17 \setmathfont{XITS Math}[range={\mathscr,\mathbfscr}]
18 \setmathfont{XITS Math}[range={\mathcal,\mathbfcal},StylisticSet=1] %% creating different styles for mathscr/mathcal using XITS
19 \fi
20
21 % \usepackage{unicode-math}
22 % \unimathsetup{math-style=TeX,bold-style=TeX,nabla=upright,partial=italic}
23 % \setmainfont{XITS}
24 % \setmathfont{XITS Math}
25 % \setmathfont{XITS Math}[range={\mathscr,\mathbfscr}]
26 % \setmathfont{XITS Math}[range={\mathcal,\mathbfcal},StylisticSet=1]
27
28
29
30 \usepackage[unicode,psdextra,pdfusetitle]{hyperref}
31 \usepackage{hyperxmp}
32 \hypersetup{%
33 %pdfauthor={Peter M. Gerdes},
34 pdfsubject={LaTeX Package for Typesetting Computability Theory},
35 pdfkeywords={LaTeX;LaTex Package;Recursion Theory;Computability Theory;Mathematical Logic;r.e. sets; Turing reducibility;arithmetic hierarchy},
36 colorlinks=true,
37 citecolor=blue,
38 urlcolor=blue,
39 linkcolor=magenta,
40 pdfborder={0 0 0},
41 breaklinks=true,
42 pdfcontactemail={[email protected]},
43 pdfcontacturl={http://invariant.org},
44 pdflang={en},
45 % pdfauthortitle={Technical Assistant, Level III},
46 % pdfdate={\today},
47 pdfcopyright={Copyright (C) \today, Peter M. Gerdes},
48 baseurl={http://invariant.org}
49 }
50
51 \usepackage{cleveref}
52 \usepackage{listings}
53 \usepackage{multirow}
54 \usepackage{booktabs}
55 \usepackage{xtab}
56 \usepackage{suffix}
57 \usepackage{metalogo}
58
59
60 \newcommand{\tab}{\hspace{1cm}}
61 % Uncomment some of the following if you use the features
62 %
63 % Running Headers and footers
64 %\usepackage{fancyhdr}
65 \usepackage[parfill]{parskip}
66 \usepackage{etoolbox}
67 \makeatletter
68 \patchcmd{\@maketitle}
69 {\ifx\@empty\@dedicatory}
70 {\ifx\@empty\@date \else {\vskip3ex \centering\footnotesize\@date\par\vskip1ex}\fi
71 \ifx\@empty\@dedicatory}
72 {}{}
73 \patchcmd{\@adminfootnotes}
74 {\ifx\@empty\@date\else \@footnotetext{\@setdate}\fi}
75 {}{}{}
76 \makeatother
77 %\usepackage{setspace}
78
79 % Multipart figures
80 %\usepackage{subfigure}
81
82
83 % Surround parts of graphics with box
84 %\usepackage{boxedminipage}
85
86 % Package for including code in the document
87 %\usepackage{listings}
88
89 % If you want to generate a toc for each chapter (use with book)
90 %\usepackage{minitoc}
91
92
93 %\usepackage[pdftex]{graphicx}
94 %\DeclareGraphicsExtensions{.pdf, .jpg, .tif}
95 \usepackage[steps]{rec-thy}
96 \title{The rec-thy Package}
97 \author{Peter M. Gerdes ([email protected])}
98 \date{\DateOfPackage{rec-thy}: Version \recthyVersion}
99
100 \begin{document}
101
102
103 \begin{abstract}
104 \noindent The rec-thy package is designed to help mathematicians publishing papers in the area of recursion theory (aka Computability Theory) easily use standard notation. This includes easy commands to denote Turing reductions, Turing functionals, r.e. sets, stagewise computations, forcing and syntactic classes.
105 \end{abstract}
106
107
108
109 \maketitle
110
111
112
113
114 \section{Introduction}
115 This package aims to provide a useful set of \LaTeX { }macros covering basic computability theory notation. Given the variation in usage in several areas this package had to pick particular notational conventions. The package author would like to encourage uniformity in these conventions but has included a multitude of package options to allow individual authors to choose alternative conventions or exclude that part of the package. Some effort has been made to align the semantic content of documents created with this package with the \LaTeX { }source. The author hopes that eventually this package may be incorporated into some larger package for typesetting papers in mathematical logic.
116
117 While computability theory is now the more popular name for the subject also known as recursion theory the author deliberately choose to title this package rec-thy to avoid confusion with the proliferation of packages for typesetting computer science related disciplines. While the subject matter of computability theory and theoretical computer science overlap significantly the notational conventions often differ.
118
119 Comments, patches, suggestions etc.. are all welcome. This project is hosted on github at \href{https://github.com/TruePath/Recursion-Theory-Latex-Package}{https://github.com/TruePath/Recursion-Theory-Latex-Package}.
120
121 \section{Usage}
122 Include the package in your document by placing \verb=\usepackage{rec-thy}= into your preamble after placing rec-thy.sty somewhere \TeX{ } can find it. The commands in this package have been divided into related groups. The commands in a given section can be disabled by passing the appropriate package option. For instance to disable the commands in the general mathematics section and the delimiters section you would include the following in your preamble \verb=\usepackage[nomath,nodelim]{rec-thy}=.
123
124 \subsection{Versioning}
125
126 Over time the package may evolve in incompatible ways to improve usability. To guarantee that your documents continue to produce the same output \textbf{always} include a package option setting the version, e.g., \verb=\usepackage[version=4.0]{rec-thy}=. You can always find the version of the package you are using by either looking in your log files during compilation or opening up this documentation and seeing the version number displayed.
127
128
129 \subsection{Alternate Symbols}
130 While the symbols used by default in the package are suggested for adoption to achieve greater consistency users may wish to specify their own symbols. The following package options enable such changes.
131
132 \makeatletter
133 \let\useSYMdefault=\@recthy@useSYM@default
134 \makeatother
135
136 \begin{itemize}
137 \item[modulescr] Sets the script used to typeset the \verb=\module= command. Default is mathcal.
138 \item[reqscr] Sets the script used to typeset requirements. Default is mathscr.
139 \item[pfcasefont] Sets the script used to typeset Case in the cases helper.
140 \item[emptystr] Sets the empty string symbol. Default is \( \str{} \)
141 \item[concatsym] Sets the concat symbol. Default is \( \concat \)
142 \item[recfnlsym] Sets the symbol used for recursive functionals. Default is \( \Phi \).
143 \item[recfsym] Sets the symbol used for recursive functions. Default is \( \phi \).
144 \item[usesym] Sets the symbol used for the use operator. Default is \( \useSYMdefault \) where this is printed using \verb=\symbfrak= if unicode-math is loaded and with \verb=\mathfrak= otherwise.
145 \item[lstrdelim,rstrdelim] Left and right delimiters for \verb=\str=
146 \item[lcodedelim,rcodedelim] Left and right delimiters for \verb=\code=
147 \item[lpairdelim,rpairlim,pairsup] Left and right delimiters for \verb=\pair= and superscript.
148 \item[midincompat] No argument is taken. Chooses to use the vertical bar for the incompatibility symbol.
149
150 \end{itemize}
151
152 % As an example of how to use these commands consider the following code changing the ball symbol to \( \mathbf{B} \).
153
154 % \begin{verbatim}
155 % \def\myballsymb{\mathbf{B}}
156
157 % \usepackage[suppPriorityTrees, ballsymb=myballsymb]{rec-thy}
158 % \end{verbatim}
159
160
161 \section{Commands}
162 A few general conventions are usually followed in the commands. Whenever an operator can be used as a binary operator (as in \( X \union Y \)) and as an operation on some collection \( \Union_{i \in \omega} X_i \) the binary operator will begin with a lowercase letter \verb=\union= and the operation on the collection will begin with a capital letter \verb=\Union=. If the first letter is already capitalized then the second letter is used instead.
163
164 Objects that have a natural stagewise approximation generally admit an optional argument in brackets to specify a stage. For instance \( \verb=\REset[s]{e}= \) yields \( \REset[s]{e} \). An optional argument in parenthesis is used for relativization. For instance \( \verb=\REset(X){e}= \) produces \( \REset(X){e} \). For the formula classes square brackets are used to indicate an oracle to be placed in the superscript, e.g., \( \verb=\pizn[X]{2}= \) yields \( \pizn[X]{2} \) while parenthesis place the value in parenthesises after the symbol as in \( \pizn(X){2} \). To give boldcase versions of formulas classes a star should be used immediately following the command as in \( \pizn*(X){2} \). Users of the package should take care to wrap arguments that may themselves include brackets or parenthesis in braces. For example \verb=\REset(\REset(X){e}){i}= should be fixed to \verb=\REset({\REset(X){e}}){i}=.
165
166 Unless indicated otherwise all macros are to be used inside math mode.
167
168
169 \subsection{Priority Trees}
170
171 Note the commands in this section double as suggestions for standardized notation.
172
173 \begin{xtabular}{l | l | l}\toprule
174 \verb=\PriorityTree= & \( \PriorityTree \) & Priority Tree \\ \midrule
175 \verb=\tpath= & \( \tpath \) & Truepath. \\ \midrule
176 \verb=\tpath[s]= & \( \tpath[s] \) & Approximate Truepath. \\ \midrule
177 \verb=\xi \leftof \eta = & \( \xi \leftof \eta \) & The left of relation for priority tree arguments \\ \midrule
178 \verb=\module{R}[X]{i,j}= & \module{R}[X]{i,j} & Module in tree construction (superscript optional arg) \\ \midrule
179 % \verb=\ball[X]{y}{s}= & \( \ball[X]{y}{s} \) & Location of ball \( y\) (headed to \( X \)) at \( s \)\\ \midrule
180 % \verb=\ball{y}{s}= & \( \ball{y}{s} \) & Location of ball \( y\) at \( s \)\\ \bottomrule
181 \end{xtabular} \\
182
183
184 % There are a few additional commands relating to priority trees which are less frequently used and require passing the option \verb=suppPriorityTrees= to the package to use. These commands exist in a kind of limbo and will probably be removed in some future edition of the package absent popular demand and feedback for better notation.
185
186 % \begin{xtabular}{l | l | l}\toprule
187 % \verb=\Astages{\xi}= & \( \Astages{\xi} \) & Set of stages at which \( \xi \) is active. \\ \midrule
188 % \verb=\Vstages{\xi}= & \( \Vstages{\xi} \) & Stages where \( \xi \subfun \tpath[s] \) even if links skip \( \xi \). \\ \midrule
189 % \verb=\reqof{\xi}= & \( \reqof{\xi} \) & Requirement implemented by a node \( \xi \). \\ \bottomrule
190 % \end{xtabular}
191
192
193 \subsection{Computations}
194 To disable these commands pass the option \verb=nocomputations=. \\ To specify an alternative symbol for either recursive functionals or recursive functions pass \verb!recfnlsym=macroname! or \verb!recfsym=macroname!. For instance, to use \( \psi \) for recursive functions and \( \Psi \) for recursive functionals pass the options \verb!recfsym=psi, recfnlsym=Psi!.
195
196 \begin{xtabular}{l | l | l}\toprule
197 \verb=\murec{x}{f(x)>1}= & \( \murec{x}{f(x)>1} \) & Least \( x \) satisfying condition. \\ \midrule
198 \verb=\recf{e}= & \( \recf{e} \) &\multirow{4}{*}{Computable functions} \\[6pt]
199 \verb=\recf[s]{e}= & \( \recf[s]{e} \) & \\[6pt]
200 \verb=\recf{e}(x)= & \( \recf{e}(x) \) & \\[6pt]
201 \verb=\recf[s]{e}(x)= & \( \recf[s]{e}(x) \) & \\[6pt]
202 \verb=\recf(Y){e}= & \( \recf(Y){e} \) & \\[6pt]
203 \verb=\recf[s](Y){e}= & \( \recf[s](Y){e} \) & \\[6pt]
204 \verb=\recf(Y){e}(x)= & \( \recf(Y){e}(x) \) & \\[6pt]
205 \verb=\recf[s](Y){e}(x)= & \( \recf[s](Y){e}(x) \) & \\[6pt]
206 \verb=\recfnl{e}{Y}{x}= & \( \recfnl{e}{Y}{x} \) &\multirow{4}{*}{Computable functionals} \\[6pt]
207 \verb=\recfnl[s]{e}{Y}{x}= & \( \recfnl[s]{e}{Y}{x} \) & \\[6pt]
208 \verb=\recfnl{e}{Y}{}= & \( \recfnl{e}{Y}{} \) & \\[6pt]
209 \verb=\recfnl{e}{}{x}= & \( \recfnl{e}{}{x} \) & \\[6pt]
210 \verb=\recfnl{e}{}{}= & \( \recfnl{e}{}{} \) & \\ \midrule
211 \verb=\recfnl{e}{}{} \cequiv \recfnl{i}{}{}= & \( \recfnl{e}{}{} \cequiv \recfnl{i}{}{} \) & Equivalent computations\\ \midrule
212 \verb=\recfnl{e}{}{} \ncequiv \recfnl{i}{}{}= & \( \recfnl{e}{}{} \ncequiv \recfnl{i}{}{} \) & Inequivalent computations\\ \midrule
213 \verb=\recfnl{e}{}{x}\conv= & \( \recfnl{e}{}{x}\conv \) &\multirow{2}{*}{Convergence} \\[6pt]
214 \tab \verb=\recfnl{e}{}{x}\conv[s]= & \( \recfnl{e}{}{x}\conv[s] \) & \\ \midrule
215 \verb=\recfnl{e}{}{x}\nconv= & \( \recfnl{e}{}{x}\nconv \) &\multirow{2}{*}{Divergence} \\[6pt]
216 \tab \verb=\recfnl{e}{}{x}\nconv[s]= & \( \recfnl{e}{}{x}\nconv[s] \) & \\ \midrule
217 \verb=\use{\recfnl{e}{Y}{x}}= & \( \use{\recfnl{e}{Y}{x}} \) & Use of a computation. \\ \midrule
218 \verb=\REset{e}= & \( \REset{e} \) & \multirow{4}{*}{c.e. sets} \\[6pt]
219 \verb=\REset[s]{e}= & \( \REset[s]{e} \) & \\[6pt]
220 \verb=\REset(X){e}= & \( \REset(X){e} \) & \\[6pt]
221 \verb=\REset[s](X){e}= & \( \REset[s](X){e} \) & \\ \midrule
222 \verb=\Hop{e}(X)= & \( \Hop{e}(X) \) & \multirow{4}{*}{Hop sets} \\[6pt]
223 \verb=\Hop[s](X){e}= & \( \Hop[s](X){e} \) & \\[6pt]
224 \verb=\Hop[s]{e}= & \( \Hop[s]{e} \) & \\[6pt]
225 \verb=\Hop{e}= & \( \Hop{e} \) & \\ \midrule
226 % \verb=\iREAop{e}(\eset)= & \multirow{2}{*}{\( \iREAop{e}(\eset) \)} &\multirow{2}{*}{1-REA operator} \\
227 % \tab \verb=\oneREAop{e}(\eset)= & & \\ \midrule
228 % \verb=\alphaREAop{\alpha}(\eset)= & \multirow{2}{*}{\( \alphaREAop{\alpha}(\eset) \)} &\multirow{2}{*}{\( \alpha \)-REA operator} \\[6pt]
229 \verb=\REAop{e}{\alpha}= & \( \REAop{e}{\alpha} \) & \\
230 \bottomrule
231 \end{xtabular} \\
232
233
234 \subsection{Degrees}
235 To disable these commands pass the option \verb=nodegrees=. \\
236
237
238 \begin{xtabular}{l | l | l}\toprule
239 \verb=\Tdegrees= & \multirow{2}{*}{\( \Tdegrees \)} & The structure of \( \powset{\omega} \) under \( \Tleq \) \\
240 \tab \verb=\strcD= & & alternate command \\ \midrule
241 \verb=\REdegrees= & \multirow{2}{*}{\( \REdegrees \)} & The structure of r.e sets under \( \Tleq \) \\
242 \tab \verb=\strcR= & & alternate command \\ \midrule
243 \verb=\Adegrees= & \multirow{2}{*}{\( \Adegrees \)} & The structure of \( \powset{\omega} \) under \( \Aleq \) \\
244 \tab \verb=\strcDa= & & alternate command \\ \midrule
245 \verb=\AREAdegrees= & \multirow{2}{*}{FOO} & The structure of the \( \REA[\omega] \) sets under \( \Aleq \) \\
246 \tab \verb=\strcRa= & & alternate command \\ \midrule
247 \verb=\Tdeg{d}= & \( \Tdeg{d} \) & indicated that the variable/entity is a Turing degree\\ \midrule
248 \verb=\Tjump{X}= & \multirow{2}{*}{\( \Tjump{X} \)} & \multirow{2}{*}{Turing jump} \\
249 \tab \verb=\jump{X}= & & \\ \midrule
250 \verb=\jjump{X}= & \( \jjump{X} \) & \\ \midrule
251 \verb=\jumpn{X}{n}= & \( \jumpn{X}{n} \) & \\ \midrule
252 \verb=\Tzero= & \( \Tzero \) & Computable degree \\ \midrule
253 \verb=\zeroj= & \( \zeroj \) & \\ \midrule
254 \verb=\zerojj= & \( \zerojj \) & \\ \midrule
255 \verb=\zerojjj= & \( \zerojjj \) & \\ \midrule
256 \verb=\zeron{n}= & \( \zeron{n} \) & \\ \midrule
257 \verb=X \Teq Y= & \( X \Teq Y \) & Turing equivalence \\ \midrule
258 \verb=X \nTeq Y= & \( X \nTeq Y \) & Turing inequivalence \\ \midrule
259 \verb=X \Tlneq Y= & \( X \Tlneq Y \) & \\ \midrule
260 \verb=X \Tleq Y= & \( X \Tleq Y \) & \\ \midrule
261 \verb=X \Tgneq Y= & \( X \Tgneq Y \) & \\ \midrule
262 \verb=X \Tgeq Y= & \( X \Tgeq Y \) & \\ \midrule
263 \verb=X \Tgtr Y= & \( X \Tgtr Y \) & \\ \midrule
264 \verb=X \Tless Y= & \( X \Tless Y \) & \\ \midrule
265 \verb=X \nTleq Y= & \( X \nTleq Y \) & \\ \midrule
266 \verb=X \nTgeq Y= & \( X \nTgeq Y \) & \\ \midrule
267 \verb=X \Tincompat Y= & \( X \Tincompat Y \) & Turing incompatibility \\ \midrule
268 \verb=X \Tcompat Y= & \( X \Tcompat Y \) & Turing compatibility \\ \midrule
269 \verb=\Tdeg{d} \join \Tdeg{d'}= & \( \Tdeg{d} \join \Tdeg{d'} \) & \multirow{2}{*}{Join of degrees} \\
270 \tab \verb=\Join_{i \in \omega} \Tdeg{d_i}= & \( \Join_{i \in \omega} \Tdeg{d_i} \) & \\ \midrule
271 \verb=\Tdeg{d} \meet \Tdeg{d'}= & \( \Tdeg{d} \meet \Tdeg{d'} \) & \multirow{2}{*}{Meet of degrees (when defined)} \\
272 \tab \verb=\Meet_{i \in \omega} \Tdeg{d_i}= & \( \Meet_{i \in \omega} \Tdeg{d_i} \) & \\
273 \midrule
274 \verb=X \Tplus Y= & \( X \Tplus Y \) & Effective join of sets (alias for \verb=\oplus=) \\ \midrule
275 \verb=\TPlus_{i \in \omega} X_i= & \multirow{2}{*}{\( \TPlus_{i \in \omega} X_i \)} & Effective join of sets \\
276 \tab \verb=\Oplus_{i \in \omega} X_i= & & alternative name \\ \midrule
277
278 % \verb=\ttSYM= & \( \ttSYM \) & \\ \midrule
279 \verb=X \ttlneq Y= & \( X \ttlneq Y \) & Truth table reducibilities \\ \midrule
280 \verb=X \ttleq Y= & \( X \ttleq Y \) & \\ \midrule
281 \verb=X \ttgneq Y= & \( X \ttgneq Y \) & \\ \midrule
282 \verb=X \ttgeq Y= & \( X \ttgeq Y \) & \\ \midrule
283 \verb=X \ttgtr Y= & \( X \ttgtr Y \) & \\ \midrule
284 \verb=X \ttless Y= & \( X \ttless Y \) & \\ \midrule
285 \verb=X \ttnleq Y= & \( X \ttnleq Y \) & \\ \midrule
286 \verb=X \ttngeq Y= & \( X \ttngeq Y \) & \\ \midrule
287
288 \verb=\Azero= & \( \Azero \) & Arithmetic degree \\ \midrule
289 \verb=\Azeroj= & \( \Azeroj \) & \\ \midrule
290 \verb=\Azerojj= & \( \Azerojj \) & \\ \midrule
291 \verb=\Azerojjj= & \( \Azerojjj \) & \\ \midrule
292 \verb=\Azeron{n}= & \( \Azeron{n} \) & \\ \midrule
293 \verb=X \Aeq Y= & \( X \Aeq Y \) & Arithmetic equivalence \\ \midrule
294 \verb=X \nAeq Y= & \( X \nAeq Y \) & Arithmetic inequivalence \\ \midrule
295 \verb=X \Alneq Y= & \( X \Alneq Y \) & \\ \midrule
296 \verb=X \Aleq Y= & \( X \Aleq Y \) & \\ \midrule
297 \verb=X \Agneq Y= & \( X \Agneq Y \) & \\ \midrule
298 \verb=X \Ageq Y= & \( X \Ageq Y \) & \\ \midrule
299 \verb=X \Agtr Y= & \( X \Agtr Y \) & \\ \midrule
300 \verb=X \Aless Y= & \( X \Aless Y \) & \\ \midrule
301 \verb=X \nAleq Y= & \( X \nAleq Y \) & \\ \midrule
302 \verb=X \nAgeq Y= & \( X \nAgeq Y \) & \\ \midrule
303 \verb=X \Aincompat Y= & \( X \Aincompat Y \) & Turing incompatibility \\ \midrule
304 \verb=X \Acompat Y= & \( X \Acompat Y \) & Turing compatibility \\ \midrule
305
306 \bottomrule
307 \end{xtabular} \\
308 \makeatletter
309 \subsection{Requirement Assistance}
310 To disable these commands pass the option \verb=noreqhelper=. To disable the hyperlinked requirements pass \verb=nohyperreqs=\\
311 Math mode is not required for \verb=\req{R}{e}=
312
313 \begin{tabular}{l | l | l}\toprule
314 \verb=\req{R}{e}= & \( \req{R}{e} \) & \multirow{2}{*}{Requirement } \\
315 \verb=\req{R}[\nu]{e}= & \req{R}[\nu]{e} & \\ \midrule
316 \verb=\req*{R}{e}= & \req*{R}{e} & \multirow{2}{*}{Requirement without hyperlinks} \\
317 \verb=\req*{R}[\nu]{e}= & \req*{R}[\nu]{e} & \\ \midrule
318 \bottomrule
319 \end{tabular} \\
320
321 We also introduce the following environments for introducing requirements. The requirement environment is used as follows
322
323 \begin{lstlisting}[breaklines]
324 \begin{requirement}{\req{R^{*}}{r,j}}
325 \recfnl{r}{B}{} = \REset{j} \implies \exists[k] \left( \Upsilon^{j}_k(C \Tplus \REset{j}) = B) \lor \REset{j} \Tleq \Tzero \right)
326 \end{requirement}
327 \end{lstlisting}
328
329 Giving output
330
331 \begin{requirement}{\req{R^{*}}{r,j}}
332 \recfnl{r}{B}{} = \REset{j} \implies \exists[k] \left( \Upsilon^{j}_k(C \Tplus \REset{j}) = B) \lor \REset{j} \Tleq \Tzero \right)
333 \end{requirement}
334
335 The require environment merges the \verb=\req[\nu]{R}{e}= command directly into the environment arguments. It also creates an automatic label which makes use of the 1st and 2nd arguments but assumes the third argument contains only indexes whose names are subject to change. Unless \verb=nohyperreqs= is passed the \verb=\req[\nu]{R}{e}= automatically links to the defining require environment.
336
337 \begin{lstlisting}[breaklines]
338 \begin{require}{R}{i}
339 \recfnl{i}{B}{} = \REset{i} \implies \exists[k] \left( \Upsilon^{i}_k(C \Tplus \REset{i}) = B) \lor \REset{j} \Tleq \Tzero \right)
340 \end{require}
341 \end{lstlisting}
342
343 Giving output
344
345 \begin{require}{R}{i}
346 \recfnl{i}{B}{} = \REset{i} \implies \exists[k] \left( \Upsilon^{i}_k(C \Tplus \REset{i}) = B) \lor \REset{j} \Tleq \Tzero \right)
347 \end{require}
348
349 To list multiple requirements at once without introducing unnecessary spaces we also introduce the requirements environment which can be used as follows. Note that one may \textit{not} end the final line with a linebreak or an undesired tag will appear.
350
351 \begin{lstlisting}[breaklines]
352 \begin{requirements}
353 \require{P}[A]{e} A \neq \recfnl{i}{}{} \\
354 \require{P}[B]{e} B \neq \recfnl{i}{}{} \\
355 \require{R}{i,\hat{i},j,\hat{j}} \recfnl{i}{A}{} = \hat{A} \land \recfnl{\hat{i}}{\hat{A}}{} = A \land \recfnl{j}{B}{} = \hat{B} \land \recfnl{\hat{j}}{\hat{B}}{} = B \implies \Gamma(\hat{A} \symdiff \hat{B}) = A \Tplus B
356 \end{requirements}
357 \end{lstlisting}
358
359 \begin{requirements}
360 \require{P}[A]{e} A \neq \recfnl{i}{}{} \\
361 \require{P}[B]{e} B \neq \recfnl{i}{}{} \\
362 \require{R}{i,\hat{i},j,\hat{j}} \recfnl{i}{A}{} = \hat{A} \land \recfnl{\hat{i}}{\hat{A}}{} = A \land \recfnl{j}{B}{} = \hat{B} \land \recfnl{\hat{j}}{\hat{B}}{} = B \implies \Gamma(\hat{A} \symdiff \hat{B}) = A \Tplus B
363 \end{requirements}
364
365
366
367
368 \subsection{General Math Commands}
369 To disable these commands pass the option \verb=nomath=. \\
370
371 \begin{tabular}{l | l | l}\toprule
372 \verb=\eqdef= & \( \eqdef \) & Definitional equals\\ \midrule
373 \verb=\iffdef= & \( \iffdef \) & Definitional equivalence\\ \midrule
374 \verb=\aut= & \( \aut \) & Automorphisms of some structure\\ \midrule
375 \verb=\Ord= & \( \Ord \) & Set of ordinals\\\midrule
376 % \verb=\id= & \( \id \) & identity function \\ \midrule
377 \verb=\abs{x}= & \( \abs{x} \) & Absolute value\\ \midrule
378 \verb=\dom= & \( \dom \) & Domain \\ \midrule
379 \verb=\rng= & \( \rng \) & Range\\ \midrule
380 \verb=f\restr{X}= & \( f\restr{X} \) & Restriction\\ \midrule
381 \verb=\ordpair{x}{y}= & \( \ordpair{x}{y} \)& Ordered Pair\\ \midrule
382 % \verb=f\map{X}{Y}= & \( f\map{X}{Y} \) & \multirow{2}{*}{Function specification} \\
383 % \verb=\functo{f}{X}{Y}= & \( \functo{f}{X}{Y} \) &\\ \midrule
384 \verb=f \compfunc g= & \multirow{2}{*}{\( f \compose g \)} & \multirow{3}{*}{Function composition}\\
385 % \tab \verb=f \funcomp g= & &\\
386 \tab \verb=f \compose g= & &\\ \midrule
387 \verb=f: X \pmapsto Y= & \( f: X \pmapsto Y \) & partial function from \( X \) to \( Y \). \\ \midrule
388 \verb=f: Y \pmapsfrom X= & \( f: Y \pmapsfrom X \) & partial function from \( X \) to \( Y \). \\ \midrule
389 \verb=f: X \fpmapsto Y= & \( f: X \fpmapsto Y \) & finite partial function from \( X \) to \( Y \). \\ \midrule
390 \verb=f: Y \fpmapsfrom X= & \( f: Y \fpmapsfrom X \) & finite partial function from \( X \) to \( Y \). \\ \midrule
391 \verb=\ParFuncs{X}{Y}= & \( \ParFuncs{X}{Y} \) & set of partial functions from \( X \) to \( Y \). \\ \midrule
392 \verb=\FinParFuncs{X}{Y}= & \( \FinParFuncs{X}{Y} \) & set of finite partial functions from \( X \) to \( Y \). \\ \midrule
393 \verb=\( \ensuretext{blah} \)= & \multirow{2}{*}{\( \ensuretext{blah} \)}& \multirow{2}{*}{Types argument in text mode} \\
394 \tab \verb=\ensuretext{blah}= & & \\ \midrule
395 \verb=\quotient{X}{Y}= & \( \quotient{X}{Y} \) & \\
396 \bottomrule
397 \end{tabular} \\
398 \newpage
399
400 \subsection{Operators}
401 Misc operators used in logic and computability. To disable these commands pass the option \verb=nooperators=.\\
402
403 \begin{tabular}{l | l | l}\toprule
404 \verb=x \meet y= & \( x \meet y \) & \multirow{2}{*}{Meet operation} \\[6pt]
405 \verb=\Meet_{i\in \omega} x_i= & \( \Meet_{i\in \omega} x_i \) & \\ \midrule
406 \verb=x \join y= & \(x \join y \) & \multirow{2}{*}{Join operation} \\[6pt]
407 \verb=\Join_{i\in \omega} x_i= & \( \Join_{i\in \omega} x_i \) & \\ \midrule
408 \verb=x \xor y= & \( x \xor y \) & \\ \midrule
409 \verb=\Land \phi_i= & \( \Land \phi_i \) & Operator form of and\\ \midrule
410 \verb=\Lor \phi_i= & \( \Lor \phi_i \) & Operator form of or\\ \midrule
411 \verb=\LLand \phi_i= & \( \LLand \phi_i \) & Infinitary conjunction\\ \midrule
412 \verb=\LLor \phi_i= & \( \LLor \phi_i \) & Infinitary disjunction\\
413 \bottomrule
414 \end{tabular} \\
415
416 \subsection{Set Notation}
417 To disable these commands pass the option \verb=nosets=.\\
418
419 Note that \verb=\Cross= and \verb=\cross= overwrite the existing commands saving them as \verb=\CrossOrig= and \verb=\crossOrig= respectively as these commands have varying meanings between different font packages. However, the other commands avoid overwriting existing commands with that name
420
421 \begin{tabular}{l | l | l}\toprule
422 \verb=\set{(x,y)}{x > y}= & \( \set{(x,y)}{x > y} \) & \multirow{2}{*}{Set notation} \\[6pt]
423 \verb=\set{(x,y)}= & \( \set{(x,y)} \) & \\ \midrule
424 \verb=\card{X}= & \( \card{X} \) & Cardinality \\ \midrule
425 \verb=X \union Y= & \( X \union Y \) & \multirow{2}{*}{Union} \\[6pt]
426 \verb=\Union_{i \in \omega} X_i= & \( \Union_{i \in \omega} X_i \) & \\ \midrule
427 \verb=X \isect Y= & \( X \isect Y \) & \multirow{2}{*}{Intersection} \\[6pt]
428 \verb=\Isect_{i \in \omega} X_i= & \( \Isect_{i \in \omega} X_i \) & \\ \midrule
429 \verb=X \cross Y= & \( X \cross Y \) & \multirow{2}{*}{Cartesian product (Cross Product)} \\[6pt]
430 \verb=\Cross_{i \in \omega} X_i= & \( \Cross_{i \in \omega} X_i \) & \\ \midrule
431 \verb=\powset{\omega}= & \( \powset{\omega} \) & Powerset \\ \midrule
432 \verb=\powset[\alpha]{\omega}= & \( \powset[\alpha]{A} \) & Subsets of \( A \) of size \( < \alpha \) \\
433 % \verb=\ssetsOfsize[A]^{< \alpha}=, \verb=\finSsets[A]^{< \alpha}=, & \( \ssetsOfsize[A]^{< \alpha} \) & \\ \midrule
434 % \verb=\finSsets[A]= & \( \finSsets[A] \) & Finite subsets of \( A \) \\ \midrule
435 % \verb=\finsets= & \( \finSsets[A] \) & Finite subsets \\ \midrule
436 \verb=\eset= & \( \eset \) & Emptyset abbreviation\\ \midrule
437 \verb=x \nin A= & \( x \nin A \) & not an element\\ \midrule
438 \verb=\setcmp{X}= & \( \setcmp{X} \) & Set compliment\\\midrule
439 % \verb=X \setdiff Y= & \( X \setdiff Y \) & Set difference \\ \midrule
440 \verb=X \symdiff Y= & \( X \symdiff Y \) & Symmetric difference \\ \bottomrule
441 % \verb=\interior X= & \( \interior X \) & Interior \\ \midrule
442 % \verb=\closure X= & \( \clos X \) & Closure \\ \midrule
443 \bottomrule
444 \end{tabular} \\
445
446 \subsection{Improved Symbols and MnSymbol Imports}
447 Unless the option \verb=nosymb= is passed a number of symbols are (re)defined for better typesetting. To prevent only redefinition of \verb=\llangle= and \verb=\rrangle= (e.g. to use the XITS unusual default) pass the option \verb=nodoubleangles=. A couple new symbols which can't be easily created without the MnSymbol font are also defined and are listed below.
448
449 \begin{tabular}{l | l | l}\toprule
450 % \verb=\godelnum{\phi}= & & \multirow{2}{*}{Godel Code/Corner Quotes}\\
451 % \tab \verb=\cornerquote{\phi}= & &\\ \midrule
452 \verb=\Searrow= & \( \Searrow \) & double searrow \\ \midrule
453 \verb=\nSearrow= & \( \nSearrow \) & negated double searrow \\
454 % \verb=\llangle x,y,z \rrangle= & \( \llangle x,y,z \rrangle \) & Properly spaced double angle brackets\\
455 \bottomrule
456 \end{tabular}
457
458
459
460 \subsection{Quantifiers}
461 To disable these commands pass the option \verb=noquants=. The commands \verb=\exists= and \verb=\forall= are standard but the package extends them.\\
462
463 \begin{tabular}{l | l | l}\toprule
464 \verb=\exists[x < y]= & \( \exists[x < y ] \) & \\[6pt]
465 \verb=\exists(x < y)= & \( \exists(x < y ) \) & \\ \midrule
466 \verb=\exists*= & \multirow{2}{*}{\( \exists* \)} & \\[6pt]
467 \tab \verb=\existsinf= & & \\[6pt]
468 \verb=\exists*[x < y]= & \( \exists*[x < y ] \) & \\[6pt]
469 \verb=\exists*(x < y)= & \( \exists*(x < y ) \) & \\ \midrule
470 \verb=\nexists[x < y]= & \( \nexists[x < y ] \) & \\[6pt]
471 \verb=\nexists(x < y)= & \( \nexists(x < y ) \) & \\ \midrule
472 \verb=\nexists*= & \multirow{2}{*}{\( \nexists* \)} & \\[6pt]
473 \tab \verb=\nexistsinf= & & \\[6pt]
474 \verb=\nexists*[x < y]= & \( \nexists*[x < y ] \) & \\[6pt]
475 \verb=\nexists*(x < y)= & \( \nexists*(x < y ) \) & \\ \midrule
476 \verb=\forall[x < y]= & \( \forall[x < y ] \) & \\[6pt]
477 \tab \verb=\forall(x < y)= & \( \forall(x < y ) \) & \\ \midrule
478 \verb=\forall*= & \multirow{2}{*}{\( \forall* \)} &\multirow{4}{*}{For almost all.} \\
479 \tab \verb=\forallae= & & \\[6pt]
480 \verb=\forall*[x < y]= & \( \forall*[x < y ] \) & \\[6pt]
481 \verb=\forall*(x < y)= & \( \forall*(x < y ) \) & \\ \midrule
482 % \verb=\True= & \( \True \) & \\ \midrule
483 % \verb=\False= & \( \False \) & \\ \midrule
484
485 \bottomrule
486 \end{tabular}
487
488 \subsection{Spaces}
489 To disable these commands pass the option \verb=nospaces=.\\
490
491 \begin{tabular}{l | l | l}\toprule
492 \verb=\bstrs= & \( \bstrs \) & Finite binary strings \\ \midrule
493 \verb=\cbstrs= & \( \cbstrs \) & Finite sequence of binary strings (regarded as columnise specification) \\ \midrule
494 \verb=\wstrs= & \( \wstrs \) & Finite sequences of integers \\ \midrule
495 \verb=\cantor= & \( \cantor \) & Cantor space \\ \midrule
496 \verb=\baire= & \( \baire \) & Baire space \\[6pt]
497 \verb=\Baire= & \( \Baire \) & Alternate baire space \\ \midrule
498 \verb=\bpfuncs= & \( \bpfuncs \) & Finite binary partial functions \\
499 \bottomrule
500 \end{tabular}
501
502 \subsection{Strings}
503 To disable these commands pass the option \verb=nostrings=.\\
504
505 To specify an alternative symbol for the empty string pass \verb!emptystr=macroname!. For instance, to use \( \lambda \) as the empty string pass \verb!emptystr=lambda!. Similarly, to specify an alternate value for the concatenation symbol pass \verb!concatsym=macroname!, e.g., if you specify \verb!\def\plus{+}! and then pass \verb!concatsym=plus! the concatenation symbol would be changed to \( + \).
506
507 To use \verb=\succprec= and \verb=\nsuccprec= for \verb=\compat= and \verb=\incompat= pass the option \verb=altcompat=
508
509
510
511 \begin{tabular}{l | l | l}\toprule
512 \verb=\str{1,0,1}= & \( \str{1,0,1} \) & \multirow{2}{*}{Strings/Codes for strings} \\
513 \tab \verb=\code{5,8,13}= & \( \code{5,8,13} \) & \\ \midrule
514 \verb=\EmptyStr= & \( \EmptyStr \) & \multirow{2}{*}{Empty string} \\[6pt]
515 \tab \verb=\estr= & \( \estr \) & \\ \midrule
516 \verb=\godelnum{\phi}= & & \multirow{2}{*}{Godel Code/Corner Quotes}\\
517 \tab \verb=\cornerquote{\phi}= & &\\ \midrule
518 \verb=\decode{\sigma}{3}= & \( \decode{\sigma}{3} \) & Alternate notation for \( \sigma(3) \) \\ \midrule
519 \verb=\sigma\concat\tau= & \( \sigma\concat\tau \) & \multirow{2}{*}{Concatenation} \\[6pt]
520 \verb=\sigma\concat[0]= & \( \sigma\concat[0] \) & \\ \midrule
521 \verb=\strpred{\sigma}= & \( \strpred{\sigma} \) & The immediate predecessor of \( \sigma \) \\ \midrule
522 \verb=\lh{\sigma}= & \( \lh{\sigma} \) & Length of \( \sigma \) \\ \midrule
523 \verb=\sigma \incompat \tau= & \( \sigma \incompat \tau \) & Incompatible strings \\
524 \verb=\sigma \compat \tau= & \( \sigma \compat \tau \) & Compatible strings \\ \midrule
525 \verb=\sigma \nsuccprec \tau= & \( \sigma \nsuccprec \tau \) & Alternate incompatible strings \\
526 \verb=\sigma \succprec \tau= & \( \sigma \succprec \tau \) & Alternate compatible strings \\ \midrule
527
528 \verb=\pair{x}{y}= & \( \pair{x}{y} \) & Code for the pair \( (x,y) \) \\ \midrule
529 \verb=\setcol{X}{n}= & \( \setcol{X}{n} \) & \( \set{y}{\pair{n}{y} \in X} \) \\ \midrule
530 \verb=\setcol{X}{\leq n}= & \( \setcol{X}{\leq n} \) & \( \set{ \pair{x}{y}}{\pair{x}{y} \in X \land x \leq n} \) \\
531 \bottomrule
532 \end{tabular}
533
534
535 \subsection{Subfunctions}
536 To disable these commands pass the option \verb=nosubfuns=.\\
537
538 \begin{tabular}{l | l | l}\toprule
539 \verb=f \subfun g= & \( f \subfun g \) & Varieties of the function extension relation \\ \midrule
540 \verb=f \supfun g= & \( f \supfun g \) & \\ \midrule
541 \verb=f \nsubfun g= & \( f \nsubfun g \) & \\ \midrule
542 \verb=f \nsupfun g= & \( f \nsupfun g \) & \\ \midrule
543 \verb=f \subfuneq g= & \( f \subfuneq g \) & \\ \midrule
544 \verb=f \subfunneq g= & \( f \subfunneq g \) & \\ \midrule
545 \verb=f \supfuneq g= & \( f \supfuneq g \) & \\ \midrule
546 \verb=f \supfunneq g= & \( f \supfunneq g \) & \\ \midrule
547 \verb=f \nsubfuneq g= & \( f \nsubfuneq g \) & \\ \midrule
548 \verb=f \nsupfuneq g= & \( f \nsupfuneq g \) & \\ \midrule
549 \bottomrule
550 \end{tabular}
551
552 \subsection{Trees}
553 To disable these commands pass the option \verb=notrees=.\\
554
555 \begin{tabular}{l | l | l}\toprule
556 \verb=\CBderiv{T}= & \( \CBderiv{T} \) & \multirow{2}{*}{Cantor-Bendixson Derivative} \\[6pt]
557 \verb=\CBderiv[\alpha]{T}= & \( \CBderiv[\alpha]{T} \) & \\ \midrule
558 \verb=\pruneTree{T}= & \( \pruneTree{T} \) & \( \set{\sigma \in T}{\exists(g)(g \in [T] \land \sigma \subset g)} \) \\ \midrule
559 \verb=\hgt{T}= & \( \hgt{T} \) & Tree Height \\ \midrule
560 \verb=\TreeMod{T}{\sigma}= & \( \TreeMod{T}{\sigma} \) & \( \set{\tau}{\sigma\concat\tau \in T} \) \\ \midrule
561 \verb=\sigma \TreeMul T= & \( \sigma \TreeMul T \) & \( \set{\sigma\concat\tau}{\tau \in T} \) \\
562 \bottomrule
563 \end{tabular}
564
565 \subsection{Set Relations}
566 To disable these commands pass the option \verb=nosetrels=.\\ Note that many of these commands are extensions of existing commands.
567
568 \begin{tabular}{l | l | l}\toprule
569 \verb=X \subset* Y= & \( X \subset* Y\) & \multirow{2}{*}{All but finitely much of \( X \) is in \( Y \)} \\
570 \verb=X \subseteq* Y= & \( X \subseteq* Y\) & \\ \midrule
571 \verb=X \supset* Y= & \( X \supset* Y\) & \multirow{2}{*}{All but finitely much of \( Y \) is in \( X \)} \\
572 \verb=X \supseteq* Y= & \( X \supseteq* Y\) & \\ \midrule
573 \verb=X \eq Y= & \( X \eq Y\) & Macro for \verb~=~ \\ \midrule
574 \verb=X \eq* Y= & \multirow{2}{*}{\( X \eq* Y\)} & \multirow{2}{*}{Equal mod finite} \\
575 \tab \verb=X \eqae Y= & & \\ \midrule
576 \verb=X \infsubset Y= & \( X \infsubset Y\) & \( X \subset Y \land \card{Y \setminus X}=\omega \) \\ \midrule
577 \verb=X \infsubset* Y= & \( X \infsubset* Y\) & \( X \subset* Y \land \card{Y \setminus X}=\omega \) \\ \midrule
578 \verb=X \infsupset Y= & \( X \infsupset Y\) & \( Y \subset X \land \card{X \setminus Y}=\omega \) \\ \midrule
579 \verb=X \infsupset* Y= & \( X \infsupset* Y\) & \( Y \subset* X \land \card{X \setminus Y}=\omega \) \\ \midrule
580 \verb=X \majsubset Y= & \( X \majsubset Y\) & \( X \) is a major subset of \( Y \) \\ \midrule
581 \verb=X \majsupset Y= & \( X \majsupset Y\) & \( Y \) is a major subset of \( X \) \\
582 \bottomrule
583 \end{tabular}
584
585 \subsection{Ordinal Notations}
586 To disable these commands pass the option \verb=noordinalnotations=. Note the name for addition is \verb=\Oadd= rather than \verb=\Oplus= to avoid a collusion with existing commands.
587
588 \begin{tabular}{l | l | l}\toprule
589 \verb=\wck= & \( \wck \) & First non-computable ordinal \\ \midrule
590 % \verb=\ordzero= & \( \ordzero \) & Notation for ordinal \( 0 \)\\ \midrule
591 \verb=\Oabs{\alpha}= & \multirow{2}{*}{\( \Oabs{\alpha} \)} & The height of the notation or well-ordering \( \alpha \) (i.e. ordinal it denotes) \\
592 \tab \verb=\Ohgt{\alpha}= & & Alternative command \\ \midrule
593 \verb=\kleeneO= & \( \kleeneO \) & Set of ordinal notations \\
594 \tab \verb=\kleeneO-= & \( \kleeneO- \) & Set of limit notations \\
595 \tab \verb=\kleeneO+= & \( \kleeneO+ \) & Set of successor notations \\
596 \tab \verb=\kleeneO1= & \( \kleeneO1 \) & Canonical unique set of ordinal notations \\
597 \tab \verb=\kleeneO*= & \( \kleeneO* \) & Set of apparent ordinal notations, i.e., includes non-standard notations \\
598 % \tab \verb=\Ouniq= & & Alternate command \\
599 \tab \verb=\kleeneO(X)= & \( \kleeneO(X) \) & Relativized ordinal notations \\
600 \tab \verb=\kleeneO[\alpha]= & \( \kleeneO[\alpha] \) & Ordinal notations for ordinals \( < \abs{\alpha} \)\\
601 \tab \verb=\kleeneO1(X)[\alpha]= & \( \kleeneO1(X)[\alpha] \) & Multiple options work together \\ \midrule
602 \verb=\alpha \Oless \beta= & \( \alpha \Oless \beta \) & less than on the ordering on notations \\
603 \tab \verb=\alpha \Oleq \beta= & \( \alpha \Oleq \beta \) & \\ \midrule
604 \tab \verb=\alpha \Ogtr \beta= & \( \alpha \Ogtr \beta \) & \\
605 \tab \verb=\alpha \Ogeq \beta= & \( \alpha \Ogeq \beta \) & \\
606 \tab \verb=\alpha \Onless \beta= & \( \alpha \Onless \beta \) & less than on the ordering on notations \\
607 \tab \verb=\alpha \Onleq \beta= & \( \alpha \Onleq \beta \) & \\ \midrule
608 \tab \verb=\alpha \Ongtr \beta= & \( \alpha \Ongtr \beta \) & \\
609 \tab \verb=\alpha \Ongeq \beta= & \( \alpha \Ongeq \beta \) & \\\midrule
610 \verb=\alpha \Oadd \beta= & \( \alpha \Oadd \beta \) & Effective addition of notations \\ \midrule
611 \verb=\alpha \Omul \beta= & \( \alpha \Omul \beta \) & Effective multiplication of notations \\ \midrule
612 \verb=\Olim{\lambda}{n}= & \( \Olim{\lambda}{n} \) & The \( n \)-th element in effective limit defining notation \( \lambda \)\\ \midrule
613 \verb=\Opred{\alpha}= & \( \Opred{\alpha} \) & Predecessor of \( \alpha \) if defined \\ \midrule
614 \verb=\Ofunc{\gamma}(m)= & \( \Ofunc{\gamma}(m) \) & The \( m \)-th element in the effectively given limit defining the limit notation \( \gamma \) \\
615 % \tab \verb=\hgtO{R}= & & \\
616 \bottomrule
617 \end{tabular}
618
619 \subsection{Forcing}
620 To disable these commands pass the option \verb=noforcing=.\\
621
622 \begin{tabular}{l | l | l}\toprule
623 \verb=\sigma \forces \phi= & \( \sigma \forces \phi \) & \( \sigma \) forces \( \phi \) \\ \midrule
624 \verb=\sigma \forces(X) \phi= & \( \sigma \forces(X)[T] \phi \) & \( \phi \) is formula relative to \( X \) \\ \midrule
625 \verb=\sigma \forces(X)[T] \phi= & \( \sigma \forces(X)[T] \phi \) & Local forcing on \( T \) relative to \( X \) \\ \midrule
626 \verb=\sigma \forces* \phi= & \( \sigma \forces* \phi \) & Strong forcing \\ \midrule
627 \verb=\sigma \wforces \phi= & \( \sigma \wforces \phi \) & weak forcing (takes optional paren and bracket arguments as above) \\
628 \bottomrule
629 \end{tabular}
630
631 \subsection{Syntax}
632 To disable these commands pass the option \verb=nosyntax=.\\ All syntax classes can be relativized with an optional argument in square brackets even when not listed below. Only the \( \Delta \) formula classes are listed below since the syntax is identical for \( \Sigma \) and \( \Pi \). Adding a star after the command produces the boldface version. Do to the common usage of the zero and one versions of the formulas an abbreviation is provided unless the option \verb=noshortsyntax= is passed.
633
634
635 \begin{xtabular}{l | l | l}\toprule
636 \verb=\DeltaN{2}= & \( \DeltaN{2} \) & \\
637 \tab \verb=\DeltaN(X){2}= & \( \DeltaN(X){2} \) & \\
638 \tab \verb=\DeltaN[X]{2}= & \( \DeltaN[X]{2} \) & \\
639 \tab \verb=\DeltaN[X]{2}= & \( \DeltaN*[X]{2} \) & boldface \\ \midrule
640 % \verb=\PiN{2}= & \( \PiN{2} \) & \\
641 % \tab \verb=\PiN(X){2}= & \( \PiN(X){2} \) & \\
642 % \tab \verb=\PiN[X]{2}= & \( \PiN[X]{2} \) & \\
643 % \tab \verb=\PiN[X]{2}= & \( \PiN*[X]{2} \) & For boldface \\ \midrule
644 % \verb=\SigmaN{2}= & \( \SigmaN{2} \) & \\
645 % \tab \verb=\SigmaN(X){2}= & \( \SigmaN(X){2} \) & \\
646 % \tab \verb=\SigmaN[X]{2}= & \( \SigmaN[X]{2} \) & \\
647 % \tab \verb=\SigmaN[X]{2}= & \( \SigmaN*[X]{2} \) & For boldface \\ \midrule
648 \verb=\DeltaZeroN{2}= & \( \DeltaZeroN{2} \) & \\
649 \tab \verb=\DeltaZeroN(X){2}= & \( \DeltaZeroN(X){2} \) & \\
650 \tab \verb=\DeltaZeroN[X]{2}= & \( \DeltaZeroN[X]{2} \) & \\
651 \tab \verb=\DeltaZeroN[X]{2}= & \( \DeltaZeroN*[X]{2} \) & boldface \\
652 \tab \verb=\deltazn(X){2}= & \( \deltazn(X){2} \) & Abbreviated form \\ \midrule
653 \verb=\DeltaOneN{2}= & \( \DeltaOneN{2} \) & \\
654 \tab \verb=\DeltaOneN(X){2}= & \( \DeltaOneN(X){2} \) & \\
655 \tab \verb=\DeltaOneN[X]{2}= & \( \DeltaOneN[X]{2} \) & \\
656 \tab \verb=\DeltaOneN[X]{2}= & \( \DeltaOneN*[X]{2} \) & boldface \\
657 \tab \verb=\deltain(X){2}= & \( \deltain(X){2} \) & Abbreviated form \\ \midrule
658
659
660 \verb=\logic{\omega_1}{\omega}= & \( \logic{\omega_1}{\omega} \) & Indicates the kind of infinitary logic\\
661 \bottomrule
662 \end{xtabular}
663
664 \subsection{Proof Cases}
665
666
667 The pfcases enviornment provides a numbered, referenceable division of a proof segment into cases. Pass the option \verb=nopfcases= to disable loading of this feature. Note these features are not available if you are using the package in a beamer document (not likely to be an issue).
668
669 To see how these commands work consider the following code.
670
671 \begin{verbatim}
672 \begin{proof}
673 \begin{pfcases}
674 \case[\( x = y \)]\label{case:first} %
675 Lorem ipsum dolor sit amet, consectetur adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam non, eleifend risus. Fusce aliquam dignissim pharetra. Integer id dui ac libero tincidunt consectetur. Sed laoreet nunc nec semper laoreet.
676
677 Vestibulum semper eget velit ut lobortis. In vel finibus est. Nullam tellus dolor, pellentesque sed orci sed, ornare pretium diam. Nam vel tincidunt tellus. Nulla at mi nisl.
678
679 \case[\( x = z \land z > q \land z < r \land x + z = r \)] \label{case:second} %
680 Quisque consectetur, felis non congue dictum, mauris mi suscipit sem, vel laoreet justo ipsum in tellus. Suspendisse blandit malesuada velit faucibus pulvinar.
681
682 \begin{pfcases}
683 \case[\( x=2 \)] \label{case:second:sub1} %
684 ipsum dolor sit amet, consectetur adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam non, eleifend risus. Fusce aliquam dignissim pharetra. Integer id dui ac libero tincidunt consectetur. Sed laoreet nunc nec semper laoreet.
685 \case[\( x = 3 \)] \label{case:second:sub2} %
686 consectetur adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam non, eleifend
687 \end{pfcases}
688
689 \end{pfcases}
690 \end{proof}
691 We can now reference the case number \ref{case:second} and cleveref \cref{case:second} as well as case \ref{case:second:sub1} and cleveref \cref{case:second:sub2}.
692 \end{verbatim}
693
694 This produces the following output.
695
696 \begin{proof}
697 \begin{pfcases}
698 \case[\( x = y \)]\label{case:first} %
699 Lorem ipsum dolor sit amet, consectetur adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam non, eleifend risus. Fusce aliquam dignissim pharetra. Integer id dui ac libero tincidunt consectetur. Sed laoreet nunc nec semper laoreet.
700
701 Vestibulum semper eget velit ut lobortis. In vel finibus est. Nullam tellus dolor, pellentesque sed orci sed, ornare pretium diam. Nam vel tincidunt tellus. Nulla at mi nisl.
702
703 \case[\( x = z \land z > q \land z < r \land x + z = r \)] \label{case:second} %
704 Quisque consectetur, felis non congue dictum, mauris mi suscipit sem, vel laoreet justo ipsum in tellus. Suspendisse blandit malesuada velit faucibus pulvinar.
705
706 \begin{pfcases}
707 \case[\( x=2 \)] \label{case:second:sub1} %
708 ipsum dolor sit amet, consectetur adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam non, eleifend risus. Fusce aliquam dignissim pharetra. Integer id dui ac libero tincidunt consectetur. Sed laoreet nunc nec semper laoreet.
709 \case[\( x = 3 \)] \label{case:second:sub2} %
710 consectetur adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam non, eleifend
711 \end{pfcases}
712
713 \end{pfcases}
714 \end{proof}
715 We may reference the case number \ref{case:second} and cleveref \cref{case:second} as well as case \ref{case:second:sub1} and cleveref \cref{case:second:sub2}.
716
717
718
719 To skip numbering and instead reference with the argument to \verb=\case= use pfcases*. For instance, consider the following code.
720
721 \begin{verbatim}
722 \begin{proof}
723 \begin{pfcases*}
724 \case[\( x = y \)]\label{case*:first} Lorem ipsum dolor sit amet, consectetur
725 \adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat
726 \sodales, tincidunt quam non, eleifend risus. Fusce aliquam dignissim pharetra.
727 \Integer id dui ac libero tincidunt consectetur. Sed laoreet nunc nec semper
728 \laoreet.
729
730 Vestibulum semper eget velit ut lobortis. In vel finibus est. Nullam tellus
731 dolor, pellentesque sed orci sed, ornare pretium diam. Nam vel tincidunt tellus.
732 Nulla at mi nisl.
733
734 \case[\( x = z \land z > q \land z < r \land x + z = r \)] \label{case*:second}
735 \Quisque consectetur, felis non congue dictum, mauris mi suscipit sem, vel
736 \laoreet justo ipsum in tellus. Suspendisse blandit malesuada velit faucibus
737 \pulvinar.
738
739 \begin{pfcases*}
740 \case[\( x=2 \)] \label{case*:second:sub1} Lorem ipsum dolor sit amet,
741 \consectetur adipiscing elit. In et enim eget nisl luctus venenatis.
742 \Pellentesque sed erat sodales, tincidunt quam non, eleifend risus. Fusce
743 \aliquam dignissim pharetra. Integer id dui ac libero tincidunt consectetur. Sed
744 \laoreet nunc nec semper laoreet.
745
746 \case[\( x = 3 \)] \label{case*:second:sub2} consectetur adipiscing elit. In et
747 \enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam
748 \non, eleifend
749 \end{pfcases*}
750 \end{pfcases*}
751 \end{proof}
752
753 Again we can ref case \ref{case*:second} and cleverref that \cref{case*:second}. Also case \ref{case*:second:sub1} and cleveref \cref{case*:second:sub2}.
754 \end{verbatim}
755
756 \begin{proof}
757 \begin{pfcases*}
758 \case[\( x = y \)]\label{case*:first} Lorem ipsum dolor sit amet, consectetur adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam non, eleifend risus. Fusce aliquam dignissim pharetra. Integer id dui ac libero tincidunt consectetur. Sed laoreet nunc nec semper laoreet.
759
760 Vestibulum semper eget velit ut lobortis. In vel finibus est. Nullam tellus dolor, pellentesque sed orci sed, ornare pretium diam. Nam vel tincidunt tellus. Nulla at mi nisl.
761
762 \case[\( x = z \land z > q \land z < r \land x + z = r \)] \label{case*:second} Quisque consectetur, felis non congue dictum, mauris mi suscipit sem, vel laoreet justo ipsum in tellus. Suspendisse blandit malesuada velit faucibus pulvinar.
763 \begin{pfcases*}
764 \case[\( x=2 \)] \label{case*:second:sub1} Lorem ipsum dolor sit amet, consectetur adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam non, eleifend risus. Fusce aliquam dignissim pharetra. Integer id dui ac libero tincidunt consectetur. Sed laoreet nunc nec semper laoreet.
765 \case[\( x = 3 \)] \label{case*:second:sub2} consectetur adipiscing elit. In et enim eget nisl luctus venenatis. Pellentesque sed erat sodales, tincidunt quam non, eleifend
766 \end{pfcases*}
767 \end{pfcases*}
768 \end{proof}
769
770 Again we can ref case \ref{case*:second} and cleverref that \cref{case*:second}. Also case \ref{case*:second:sub1} and cleveref \cref{case*:second:sub2}.
771
772
773
774 If the choice of cleveref labels aren't to your taste please let me know and I will consider changing them. Also, note that by passing the options \verb!pfcasefont=textit! one can change the font used to typeset Case to italics (or whatever other font command you choose).
775
776 \subsection{Steps}
777 To enable the steps environment you \textit{must} pass the option \verb=steps= when loading the package. This enables use of the steps environment to typeset presentation of procedures. The command \verb=\begin{steps}= starts a list environment with an optional argument which is passed along unchanged as the optional argument to the underlying enumitem based list. Inside the steps environment the command \verb=\step[steptitle]= prints a numbered step with steptitle displayed in bold. An example of the use of the steps environment is provided below.
778
779 \begin{verbatim}
780 \begin{steps}
781 \step If \( x=5 \) fails to hold end the stage without acting. Otherwise the module acts by executing the subsequent steps.
782
783 \step If there is \( k < m \) with \( s_{k} - 1 \approx_i s - 1 \) perform the following steps and end the stage.
784 \begin{steps}
785 \step Choose \( a \nin \setcol{A}{1} \) large.
786 \step Set \( c = c_k, b = b_k, \hat{s}_0 = s_{k} - 1, \hat{s}_1 = s - 1 \).
787 \step Enumerate \( b \) into \( \setcol{A}{2} \) and set \( R_{j,e}(s) = 2 \)
788 \end{steps}
789 \step If there is no such \( k \) we instead enumerate \( c_m \) into \( \setcol{A}{3} \) and execute the procedure for expansionary stages.
790
791 \end{steps}
792 \end{verbatim}
793
794 This yields the following output:
795
796 \begin{steps}
797 \step If \( x=5 \) fails to hold end the stage without acting. Otherwise the module acts by executing the subsequent steps.
798
799 \step If there is \( k < m \) with \( s_{k} - 1 \approx_i s - 1 \) perform the following steps and end the stage.
800 \begin{steps}
801 \step Choose \( a \nin \setcol{A}{1} \) large.
802 \step Set \( c = c_k, b = b_k, \hat{s}_0 = s_{k} - 1, \hat{s}_1 = s - 1 \).
803 \step Enumerate \( b \) into \( \setcol{A}{2} \) and set \( R_{j,e}(s) = 2 \)
804 \end{steps}
805 \step If there is no such \( k \) we instead enumerate \( c_m \) into \( \setcol{A}{3} \) and execute the procedure for expansionary stages.
806
807 \end{steps}
808
809 \section{Font Notes}
810
811 The package is designed to work with both XITS fonts using unicode-math under lualatex and xelatex as well as standard fonts under pdflatex. The package will assume that XITS or a font with similar features is loaded if the unicode-math package is loaded. To properly represent symbols the package needs access to different mathcal and mathscr fonts. By default, if unicode-math isn't loaded the package will load mathrsfs. To disable this behavior pass the option \verb=norsfs=. Furthermore, it also needs access to a blackboard bold that works for lowercase symbols. This isn't an issue using XITS but if unicode-math isn't loaded the package will load the mathbbm package to define certain symbols. This behavior can be overridden by passing the option \verb=nobbm= and the package will do the best it can.
812
813
814
815 \section{Release Notes}
816
817
818 % TESTING: \verb=\fpmapsto=, \verb=\fpmapsfrom=, \verb=\ParFuncs{Y}{X}= and \verb=\FinParFuncs{Y}{X}=
819 \begin{itemize}
820 \item[4.5] 2025/04/19 - Added versioning interface. Finally fixed references to cases. At least largely. Fixed \verb=\supfunneq= to face the right direction. \textbf{Breaking} change to \verb=\kleeneO= in arguments. Added \verb=\leftofneq=, and \verb=\rightofneq= improved \verb=\succprec=, \verb=\precsucc= and made them the default compatibility symbols, removed old not hack for unicode-math. Supplemented \verb=\gg= \verb=\ll= with \verb=\ggneq= \verb=\ggeq= and like. Added relations \verb=\KBless= \verb=\KBgtr= and so on. Improved command \verb=\wck= to take a relativization argument in parens as well as brackets for greater uniformity. Added generalized low/high/intermediate degree class symbols \verb=\GHn= \verb=\GLn= \verb=\GIn= and improved interaction between cleverref and the steps command. Added an optional argument to the \verb=\hgt= command to specify the ordering. Improved spacing for \verb=\deltain{1}=, fixed \verb=\wck[g]=. Added operator \verb=\id= Changed the size of the meet and join operators to distinguish them from and and or. Improved \verb=recfnl= to work without an oracle argument.
821 \item[4.0] Stripped out non-working compatibility code and removed previously depreciated features. Removed mref helper. Removed the ball command. Removed undocumented hyphenation. Removed the recursive/computably terminology commands. Removed lots of unnecessary syntax commands and reworked the code to be simpler. Added option not to load rsfs. Added the commands \verb=\succprec=, \verb=\precsucc=, \verb=\csuccprec=, \verb=\cprecsucc= for stacked succ/prec symbols and added the option altcompat to use these instead of the standard mid and not mid compatibility symbols. Added the \verb=\Searrow= symbol from MnSymbol and changed option from nodelim to nosymb.
822 %TODO handle the double definition of the degree structures stuff and add strcE/strcL doc
823 Changed commands for \verb=\StrcR= and \verb=\StrcD= to be \verb=\strcR= and \verb=\strcD= for consistency and added \verb=\strcRa= and \verb=\strcDa= as synonyms for \verb=\Adegrees= and \verb=\AREAdegrees=. Added \verb=\Adegrees= and \verb=\AREAdegrees= and the relations for arithmetic degrees. Merged the degree symbols into the degrees option and depreciated some alternate spellings. Added \verb=\TreeMul=, \verb=\TreeMod=, \verb=\TreeExt=, \verb=\wforces=, \verb=\HYP=, depreciated the computable classes of sentences and simplified the standard ones. Fixed \verb=\nconv= to be the symbol from MnSymbol if the nosymb option isn't passed, fixed \verb=\concat= to not be so far above the line. Adjusted spacing for \verb=\compat=, added abbreviations. Complete renaming and of the commands for ordinal notations and extra options to indicate limit, successor and unique sets of notations. Added \verb=\Ofunc= as the effective limit for a notation. Fixed errors in the pfcases environment and eliminated some old compatibility code that wasn't being used by anyone. Added \verb=\maps= helper for normal math stuff. Fixed BeamerRequirements. Added the \verb=\bpfuncs= command and \verb=\cbstrs=. Removed dependency on mathtools for compatibility with asl.cls
824
825 Adjusted a number of other command names/conventions and deleted redundant commands. Large scale simplification and deduplication. Made substantial changes to documentation to reflect this.
826 \item[3.8.2] Removed option to put the set at the end of an \verb=\REset= operation to avoid capturing later parenthesized arguments, e.g. \verb=\REset{i}(A)= no longer works to avoid confusion with \verb=\REset{i}(x)=. Fixed failed pdf doc update.
827 \item[3.8.1] Fixed issues displaying the prime for jump operations.
828 \item[3.8] Adjusted \verb=\Tdeg= to be more beamer friendly and fixed it not to dumbly underline \verb=0^n=. Fixed BeamerRequirements to work with differing values of \verb=\abovedisplayskip=. Removed a few typos in docs for the requirements assistance. Added BeamerRequire and BeamerRequire* that put the requirements in a block and offer overlay specifications.
829 \item[3.7] Fixed cases environment (both prettier and no problem with creating newline). Major re-factor to fix all options. Fixed bug with \verb=\set= display. Added \verb=\st= command inside the \verb=\set= command to depreciate second argument. Added \verb=\finSsets= (alt \verb=\ssetsOfsize=), \verb=\finsets= and optional argument to \verb=\powset=. Changed \verb=\REAop= so the hat is on the starred version as intended. Added the steps (experimental) environment which requires an option to enable and fixed some problems with existing options. Reimplemented \verb=\REset= to use xparse to avoid some errors in unusual contexts. Fixed the display of \verb=\tpath=. Depreciated \verb=\iREAop= and \verb=\oneREAop=. Fixed \verb=\Join=.
830 \item[3.6] Fixed \verb=\REA[n]= so that dash is shorter. Added BeamerRequirements to add a block for requirements in beamer and fixed the requirements environment for beamer. Fixed \verb=\req*= error. Improved syntax for \verb=\recfnl= so it can accept a parenthesis delimited argument as the oracle. Improved \verb=\setcol= to allow it to be used in a nested fashion without typesetting bugs. Changed the \verb=\code= and \verb=\pair= commands to use only a single angle bracket.
831 \item[3.5] Added \verb=\Hop= and misc code cleanup.
832 \item[3.4] Eliminated dependence on undertilde which is missing from texlive
833 \item[3.3.1] Fixed typo causing error under pdflatex.
834 \item[3.3] - Fixed/added tweak to overline so it looks correct. Also added real symbols so that \verb=\subfunneq= and \verb=\supfunneq= can be defined appropriately. Added \verb=\floor= and \verb=\ceil=. Note these aren't yet shown off in package doc. Fixed incorrect use of tiny in math mode.
835 \item[3.2] - Removed \verb=\reaop=, \verb=\alphaREAop=, \verb=\aREAop= in favor of using the single form \verb=\REAop=. Removed \verb=\functo=, \verb=\map= and \verb=funcomp=, \verb=\hgtO= as useless synonyms and removed \verb=\KleeneOBelow= and \verb=KleeneOLess= as beyond what the package should define. Added package option compat31 to ensure package compatibility with version 3.1. An optional parentheses delimited argument specifying the base has been added to \verb=\REAop=. Both \verb=\REAop= and the pair \verb=\REA=/\verb=\CEA= have been updated to ignore order of optional arguments. The square brackets used to delimit the argument to the use command are now auto-sized. Added \verb=\pmapsto=, \verb=\pmapsfrom=, \verb=\kleeneZero=, \verb=\kleeneNum=, \verb=\entersat=. Also Misc typesetting fixes.
836 \item[3.1] 02/26/2019 - Fixed \verb=\wck= to be \( \wck \), i.e., have capitalized roman CK.
837 \item[3.01] 02/17/2019 - Fixed \verb=\RE= \verb=\CE= \verb=\Re= and \verb=\Ce= for the various capitalized versions. Fixed weird bug with \verb=\recfnl= no longer working based on let. Removed \verb=\interior= and \verb=\closure= as not really appropriate commands for the package and having bugs. Also fixed package to have correct version.
838 \item[3.0] 02/16/2019 - Added requirements environment for multiple requirements. Changed the \verb=\req= and \verb=\require= commands to take their optional argument after the first mandatory arguments as well as before. Added the commands \verb=\module= and \verb=\modof= and \verb=\xor=. Improved the corner quotes. Added \verb=\leftofeq=, \verb=\rightof=, \verb=\rightofeq=. Added \verb=\RE=, \verb=\CE=, \verb=\Ce=, \verb=\Re= and \verb=\Tincompat=, \verb=\Tincomp=, \verb=\Tcompat=. Changed the way strings are symbolized and coded. Fixed suffix commands to work with unicode-math. Also added \verb=\require*= inside \verb=\requirements=. Added \verb=\nleftofeq=, \verb=\nrightof=, \verb=\nrightofeq=, \verb=\nleftof=. The commands \verb=\ancestor=, \verb=\descendant= etc... \verb=\reqof=, \verb=\Astages= and \verb=\Vstages=now require the option suppPriorityTrees be passed to the class to use and should be viewed as depreciated. Fixed the options system so different symbols can be correctly passed to the class. Changed the way \verb=\recf= works to comply with the usual syntax.
839 \item[2.4.3] 11/29/2018 - Rendered compatible with beamer by removing enumitem requirement if beamer is loaded.
840 \item[2.4.2] 11/29/2018 - Fixed horrible bugs introduced in last version and fixed many symbols to work even in pdflatex mode. Also have everything compiling again.
841 \item[2.4.1] 2/14/2018 - Moved to using xparse to define the case macros and several other macros to allow nested brackets for optional arguments. Added the recf command and cleaned up some option processing. Also worked around the mathtools/unicode-math font bug described \href{https://tex.stackexchange.com/questions/335164/incompatibility-with-mathtools-and-unicode-math-in-xelatex/335177}{here}
842 \item[2.4] 1/17/2018 - Added priority tree helpers. Should be more robust with respect to existing definitions of common commands.
843 \item[2.3] 12/31/2017 - Added proof cases helper. Also fixed the issue with \verb=\ncequiv= in \XeLaTeX
844 \item[2.2] 11/14/2017 - Fixed \verb=\Tdeg= so it works different on symbols and vars and added \verb=\Tdegof= and \verb=\Tvarof=. Added \verb=\subfunneq= and \verb=\supfunneq=.
845 \item[2.1] 10/05/2017 - Fixed way packages are required so rec-thy can be loaded in a flexible order. Also fixed one or two bugs.
846 \item[2.0] 09/26/2017 - Added support for introducing requirements, the subfunction relation and probably other undocumented features
847 \item[1.3] 06/20/2012 - Added abbreviations for computable infinitary formulas and made a few minor fixes.
848 \item[1.2] 01/01/2011 - Fixed awful option processing bug preventing most options from being recognized and added mrref option.
849 \item[1.0] 10/15/2010 - Initial public release
850 \end{itemize}
851
852
853
854
855
856
857
858
859
860
861
862 \end{document}