forked from rzach/boxes-and-diamonds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bd-config.sty
55 lines (35 loc) · 1.46 KB
/
bd-config.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
% Configuration file for Logic II textbook
% Let's be unpretentious and use A, B, C, etc. for formulas ...
\ollatinformulas
% ... and use bold italic instead of Fraktur for structures
\DeclareMathAlphabet{\mathbi}{OT1}{pplx}{b}{it}
% use the complex formula in induction cases rather
\DeclareDocumentCommand \indcase { s t{!} m m +m }{%
\DeclareDocumentMacro \indfrm {#3}%
\DeclareDocumentMacro \indfrmp {#3}%
\DeclareDocumentMacro \indcomplex {#4}%
\IfBooleanTF{#1}
{$#3$ is atomic: }{$#3 \ident #4$: }
\IfBooleanTF{#2}
{exercise.}
{#5}}
\DeclareDocumentCommand \Struct { m }{\applytofirst{\mathbi}{#1}}
\DeclareDocumentCommand \mModel { m }{\applytofirst{\mathbi}{#1}}
\DeclareDocumentCommand \pAssign { m }{\applytofirst{\mathbi}{#1}}
\DeclareDocumentMacro \True {\mathbb{T}}
\DeclareDocumentMacro \False {\mathbb{F}}
% I think I like ``countable'' and ``uncountable'' better?
\settexttoken{enumerable}{countable}{countable}
\settexttoken{nonenumerable}*{uncountable}{uncountable}
\settexttoken{denumerable}{countably infinite}{countably infinite}
% Biconditional, verum are defined symbols
\tagtrue{defIff,defTrue}
\tagfalse{prvIff,prvTrue}
% I'll leave cases for conditional, universal quantifier as exercises
\tagtrue{probAnd,probIf,probAll,probDiamond}
% Which proof system? We'll need axiomatic deduction and tableaux
\tagfalse{prfSC,prfND}
\tikzset{
sphere/.style = {dotted,thick},
proposition/.style={thick,smooth,tension=1.7}
}