|
35 | 35 |
|
36 | 36 | \olgreekformulas |
37 | 37 |
|
38 | | -% Greek symbols: prefer varphi and varepsilon |
| 38 | +% We prefer `\varphi` to `\phi` and `\varepsilon` to `\epsilon`. If |
| 39 | +% you don't, you can say |
| 40 | +% ``` |
| 41 | +% \let\phi\oldphi |
| 42 | +% \let\epsilon\oldepsilon |
| 43 | +% ``` |
39 | 44 |
|
40 | 45 | \let\oldphi\phi |
41 | 46 | \let\phi\varphi |
|
57 | 62 | \DeclareDocumentMacro \True {\ensuremath{\mathbb{T}}} |
58 | 63 | \DeclareDocumentMacro \False {\ensuremath{\mathbb{F}}} |
59 | 64 |
|
60 | | -% Other truth values |
| 65 | +% For many-valued logic we have `\Indet` ($\mathbb{I}$) and `Undef' ($\mathbb{U}$). |
61 | 66 |
|
62 | 67 | \DeclareDocumentMacro \Indet {\ensuremath{\mathbb{I}}} |
63 | 68 | \DeclareDocumentMacro \Undef {\ensuremath{\mathbb{U}}} |
|
73 | 78 | \DeclareDocumentMacro \ltrue {\top} |
74 | 79 |
|
75 | 80 | % - Negation is `\lnot` and defaults to $\lnot$. To use a different |
76 | | -% symbol (e.g., tilde), use the following line. |
77 | | - |
78 | | -% `\DeclareDocumentMacro \lnot {\mathord{\sim}}` |
79 | | - |
80 | | -% - Conjunction is `\land` and deaults to $\land$. to use ampersand, |
81 | | -% uncomment the following line |
| 81 | +% symbol (e.g., tilde), include the following code: |
| 82 | +% ``` |
| 83 | +% \DeclareDocumentMacro \lnot {\mathord{\sim}} |
| 84 | +% ``` |
82 | 85 |
|
83 | | -% `\DeclareDocumentMacro \land {\mathbin{\&}}` |
| 86 | +% - Conjunction is `\land` and deaults to $\land$. To use ampersand, |
| 87 | +% include the following code: |
| 88 | +% ``` |
| 89 | +% \DeclareDocumentMacro \land {\mathbin{\&}} |
| 90 | +% ``` |
84 | 91 |
|
85 | 92 | % - Disjunction is `\lor` and defaults to $\lor$. |
86 | 93 |
|
|
96 | 103 | \DeclareDocumentMacro \liff {\mathbin{\leftrightarrow}} |
97 | 104 |
|
98 | 105 | % - The conditional `\cif` and defaults to `\boxright` which produces |
99 | | -% - Lewis's box-arrow symbol. |
| 106 | +% Lewis's box-arrow symbol. |
100 | 107 |
|
101 | 108 | \DeclareDocumentMacro \cif {\boxright} |
102 | 109 |
|
103 | | -% - The strict conditional `\strictif` |
| 110 | +% - The strict conditional `\strictif` defaults to `\fishhookright` |
104 | 111 |
|
105 | 112 | \DeclareDocumentMacro \strictif {\fishhookright} |
106 | 113 |
|
|
170 | 177 |
|
171 | 178 | \DeclareDocumentMacro \nSequent {\mid} |
172 | 179 |
|
173 | | -% The sequent symbol in proofs displays as the above sequent symbol. |
| 180 | +% - The sequent symbol in proofs displays as the above sequent symbol. |
| 181 | +% (We use the `bussproofs` package to typeset proofs.) |
174 | 182 |
|
175 | 183 | \DeclareDocumentMacro \fCenter {\ensuremath{\,\Sequent\,}} |
176 | 184 |
|
|
220 | 228 | \DeclareDocumentMacro \FalseCl {\ensuremath{\lfalse_C}} |
221 | 229 |
|
222 | 230 | % - `\Discharge{!A}{n}`: typesets a discharged assumption with label |
223 | | -% $n$, e.g., $[!A]^n$. |
| 231 | +% $n$, e.g., $[\phi]^n$. |
224 | 232 |
|
225 | 233 | \DeclareDocumentCommand \Discharge { m m }{[#1]^{#2}} |
226 | 234 |
|
|
302 | 310 |
|
303 | 311 | % ### Substitution |
304 | 312 |
|
305 | | -% -`\subst{t}{x}`: typeset the substitution notation |
| 313 | +% - `\subst{t}{x}`: typeset the substitution notation |
306 | 314 |
|
307 | 315 | \DeclareDocumentCommand \subst { m m } {#1/#2} |
308 | 316 |
|
|
349 | 357 |
|
350 | 358 | % ### The derivability relation |
351 | 359 |
|
352 | | -% `\Proves[L]` is used to create the symbol for the derivability |
| 360 | +% - `\Proves[L]` is used to create the symbol for the derivability |
353 | 361 | % relation, `\Proves/` for the negation. By default this creates |
354 | 362 | % $\vdash$; e.g., `\Gamma \Proves !A` yields $\Gamma \vdash |
355 | 363 | % \varphi$. An optional argument may be used for the calculus or logic |
|
376 | 384 |
|
377 | 385 | % ### The semantic consequence relation relation |
378 | 386 |
|
379 | | -% `\Entails` is the semantic counterpart of `\Proves` and defaults to |
| 387 | +% - `\Entails` is the semantic counterpart of `\Proves` and defaults to |
380 | 388 | % $\vDash$. It also takes an optional `/` for $\nvDash$ and an |
381 | 389 | % optional argument for a subscript. |
382 | 390 |
|
|
541 | 549 |
|
542 | 550 | \DeclareDocumentCommand \Expan { m m } {(\Struct{#1}, #2)} |
543 | 551 |
|
544 | | -% `\nssucc`, `\nsplus`, `\nstimes`, `\nsless`: non-standard |
| 552 | +% - `\nssucc`, `\nsplus`, `\nstimes`, `\nsless`: non-standard |
545 | 553 | % arithmetical operations |
546 | 554 |
|
547 | 555 | \DeclareDocumentMacro \nszero {\mathbf{z}} |
|
629 | 637 | { \varphi_{#1}^{#2} } |
630 | 638 | } |
631 | 639 |
|
| 640 | +% - `\fdefined`, `\fundefined`: postfix for defined, undefined |
| 641 | +% functions; LaTeX code for this is under ``Special sets and |
| 642 | +% mathematical symbols'' |
| 643 | + |
| 644 | +% Lambda calculus |
| 645 | +% --------------- |
| 646 | + |
632 | 647 | % - `\redone`: one-step reduction |
633 | 648 |
|
634 | 649 | \DeclareDocumentCommand \redone { o } { |
|
736 | 751 |
|
737 | 752 | \DeclareDocumentCommand \scode { m } {\fn{c}_{#1}} |
738 | 753 |
|
739 | | -% - `\Gn{!A}`: G\"odel number of a string of symbols |
| 754 | +% - `\Gn{!A}`: Gödel number of a string of symbols |
740 | 755 |
|
741 | 756 | \DeclareDocumentCommand \Gn { m } {{^{\reflectbox{\tiny\#}}}{#1}{^{\mbox{\tiny\#}}}} |
742 | 757 |
|
743 | 758 | % Modal Logic |
744 | 759 | % ----------- |
745 | 760 |
|
746 | | -% Modal logic |
747 | | -% =========== |
748 | | - |
749 | 761 | % - `\mModel{M}` - modal structures; default: set first token in |
750 | | -% Fraktur |
| 762 | +% arguemnt in Fraktur |
751 | 763 |
|
752 | 764 | \DeclareDocumentCommand \mModel { m }{\applytofirst{\mathfrak}{#1}} |
753 | 765 |
|
754 | | -% `\mSat[/]{M}{!A}[w]`, the relation of being satisfied in a |
| 766 | +% - `\mSat[/]{M}{!A}[w]`, the relation of being satisfied in a |
755 | 767 | % model (at a world), is provided as the command |
756 | 768 | % `\mSat` with two mandatory arguments (the model and the formula) |
757 | 769 | % and one optional argument (the world). Use `\mSat/` to create |
|
839 | 851 | \DeclareDocumentCommand \Setabs { m m }{\{ #1 : #2 \}} |
840 | 852 |
|
841 | 853 | % - Fregean extensions: Use `\fregeext{x}{!A(x)}` to produce |
842 | | -% $\epsilon x\, !A(x)$. |
| 854 | +% $\epsilon x\, \varphi(x)$. |
843 | 855 |
|
844 | 856 | \DeclareDocumentCommand \fregeext { m m }{\oldepsilon #1 \, #2 } |
845 | 857 |
|
846 | 858 | % - Fregean number: Use `\fregenum{x}{!A(x)}` to produce |
847 | | -% $\# x\, !A(x)$. |
| 859 | +% $\# x\, \varphi(x)$. |
848 | 860 |
|
849 | 861 | \DeclareDocumentCommand \fregenum { m m }{\# #1 \, #2 } |
850 | 862 |
|
851 | | - |
852 | 863 | % - `\Pow{X}`: Power set, produces $\wp(X)$ |
853 | 864 |
|
854 | 865 | \DeclareDocumentCommand \Pow { m }{\wp(#1)} |
|
1015 | 1026 | % - `\Struct{M}` - First-order structures; by default, the first token |
1016 | 1027 | % in Fraktur |
1017 | 1028 |
|
1018 | | -% `\applytofirst` will apply #1 to #2 after expanding #2 once. |
| 1029 | +% - `\applytofirst` will apply #1 to #2 after expanding #2 once. We |
| 1030 | +% use it to apply formatting to only the first token in the argument |
| 1031 | +% so that, e.g., `\Struct{M_k}` produces $\mathfrak{M}_k$ and not |
| 1032 | +% $\mathfrak{M_k }$. |
1019 | 1033 |
|
1020 | 1034 | \def\applytofirst#1#2{{\expandafter#1#2}} |
1021 | 1035 |
|
|
1031 | 1045 | \DeclareDocumentCommand \Log { m o }{\ensuremath{\mathbf{#1} |
1032 | 1046 | \IfNoValueTF {#2}{}{_{#2}}}} |
1033 | 1047 |
|
1034 | | -% - Some logics |
| 1048 | +% - We include names for some specific logics |
1035 | 1049 |
|
1036 | 1050 | \DeclareDocumentMacro {\LogCL} {\Log{C}} |
1037 | 1051 | \DeclareDocumentMacro {\LogIL} {\Log{I}} |
|
1043 | 1057 | \DeclareDocumentMacro {\LogRM} {\Log{RM}} |
1044 | 1058 | \DeclareDocumentMacro {\LogHal} {\Log{Hal}} |
1045 | 1059 |
|
1046 | | - |
1047 | 1060 | % - `\Obj` - Object-language symbols; default: set entirely in |
1048 | 1061 | % sans-serif italics |
1049 | 1062 |
|
|
1143 | 1156 | } |
1144 | 1157 |
|
1145 | 1158 | % Additional set theory stuff |
1146 | | -% ================ |
| 1159 | +% --------------------------- |
1147 | 1160 | % From Tim Button's Open Set Theory |
1148 | 1161 |
|
1149 | 1162 | \DeclareDocumentMacro \unitline {\text{L}} |
|
1210 | 1223 | \newcommand\cardfont[1]{\mathfrak{#1}} |
1211 | 1224 |
|
1212 | 1225 | % Miscellaneous |
1213 | | -% ============= |
| 1226 | +% ------------- |
1214 | 1227 |
|
1215 | 1228 | % `\fact` -- factorial function |
1216 | 1229 |
|
|
0 commit comments