aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/sphinx/preamble.rst
blob: 395f558a85002d0d4a79a56cf144c31d06d7dd82 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
.. preamble::

   \[
   \newcommand{\alors}{\textsf{then}}
   \newcommand{\alter}{\textsf{alter}}
   \newcommand{\as}{\kw{as}}
   \newcommand{\Assum}[3]{\kw{Assum}(#1)(#2:#3)}
   \newcommand{\bool}{\textsf{bool}}
   \newcommand{\case}{\kw{case}}
   \newcommand{\conc}{\textsf{conc}}
   \newcommand{\cons}{\textsf{cons}}
   \newcommand{\consf}{\textsf{consf}}
   \newcommand{\conshl}{\textsf{cons\_hl}}
   \newcommand{\Def}[4]{\kw{Def}(#1)(#2:=#3:#4)}
   \newcommand{\emptyf}{\textsf{emptyf}}
   \newcommand{\End}{\kw{End}}
   \newcommand{\endkw}{\kw{end}}
   \newcommand{\EqSt}{\textsf{EqSt}}
   \newcommand{\even}{\textsf{even}}
   \newcommand{\evenO}{\textsf{even_O}}
   \newcommand{\evenS}{\textsf{even_S}}
   \newcommand{\false}{\textsf{false}}
   \newcommand{\filter}{\textsf{filter}}
   \newcommand{\Fix}{\kw{Fix}}
   \newcommand{\fix}{\kw{fix}}
   \newcommand{\for}{\textsf{for}}
   \newcommand{\forest}{\textsf{forest}}
   \newcommand{\from}{\textsf{from}}
   \newcommand{\Functor}{\kw{Functor}}
   \newcommand{\haslength}{\textsf{has\_length}}
   \newcommand{\hd}{\textsf{hd}}
   \newcommand{\ident}{\textsf{ident}}
   \newcommand{\In}{\kw{in}}
   \newcommand{\Ind}[4]{\kw{Ind}[#2](#3:=#4)}
   \newcommand{\ind}[3]{\kw{Ind}~[#1]\left(#2\mathrm{~:=~}#3\right)}
   \newcommand{\Indp}[5]{\kw{Ind}_{#5}(#1)[#2](#3:=#4)}
   \newcommand{\Indpstr}[6]{\kw{Ind}_{#5}(#1)[#2](#3:=#4)/{#6}}
   \newcommand{\injective}{\kw{injective}}
   \newcommand{\kw}[1]{\textsf{#1}}
   \newcommand{\lb}{\lambda}
   \newcommand{\length}{\textsf{length}}
   \newcommand{\letin}[3]{\kw{let}~#1:=#2~\kw{in}~#3}
   \newcommand{\List}{\textsf{list}}
   \newcommand{\lra}{\longrightarrow}
   \newcommand{\Match}{\kw{match}}
   \newcommand{\Mod}[3]{{\kw{Mod}}({#1}:{#2}\,\zeroone{:={#3}})}
   \newcommand{\ModA}[2]{{\kw{ModA}}({#1}=={#2})}
   \newcommand{\ModS}[2]{{\kw{Mod}}({#1}:{#2})}
   \newcommand{\ModType}[2]{{\kw{ModType}}({#1}:={#2})}
   \newcommand{\mto}{.\;}
   \newcommand{\Nat}{\mathbb{N}}
   \newcommand{\nat}{\textsf{nat}}
   \newcommand{\Nil}{\textsf{nil}}
   \newcommand{\nilhl}{\textsf{nil\_hl}}
   \newcommand{\nO}{\textsf{O}}
   \newcommand{\node}{\textsf{node}}
   \newcommand{\nS}{\textsf{S}}
   \newcommand{\odd}{\textsf{odd}}
   \newcommand{\oddS}{\textsf{odd_S}}
   \newcommand{\ovl}[1]{\overline{#1}}
   \newcommand{\Pair}{\textsf{pair}}
   \newcommand{\Prod}{\textsf{prod}}
   \newcommand{\Prop}{\textsf{Prop}}
   \newcommand{\return}{\kw{return}}
   \newcommand{\Set}{\textsf{Set}}
   \newcommand{\si}{\textsf{if}}
   \newcommand{\sinon}{\textsf{else}}
   \newcommand{\Sort}{\cal S}
   \newcommand{\Str}{\textsf{Stream}}
   \newcommand{\Struct}{\kw{Struct}}
   \newcommand{\subst}[3]{#1\{#2/#3\}}
   \newcommand{\tl}{\textsf{tl}}
   \newcommand{\tree}{\textsf{tree}}
   \newcommand{\true}{\textsf{true}}
   \newcommand{\Type}{\textsf{Type}}
   \newcommand{\unfold}{\textsf{unfold}}
   \newcommand{\WEV}[3]{\mbox{$#1[] \vdash #2 \lra  #3$}}
   \newcommand{\WEVT}[3]{\mbox{$#1[] \vdash #2 \lra$}\\ \mbox{$ #3$}}
   \newcommand{\WF}[2]{{\cal W\!F}(#1)[#2]}
   \newcommand{\WFE}[1]{\WF{E}{#1}}
   \newcommand{\WFT}[2]{#1[] \vdash {\cal W\!F}(#2)}
   \newcommand{\WFTWOLINES}[2]{{\cal W\!F}\begin{array}{l}(#1)\\\mbox{}[{#2}]\end{array}}
   \newcommand{\with}{\kw{with}}
   \newcommand{\WS}[3]{#1[] \vdash #2 <: #3}
   \newcommand{\WSE}[2]{\WS{E}{#1}{#2}}
   \newcommand{\WT}[4]{#1[#2] \vdash #3 : #4}
   \newcommand{\WTE}[3]{\WT{E}{#1}{#2}{#3}}
   \newcommand{\WTEG}[2]{\WTE{\Gamma}{#1}{#2}}
   \newcommand{\WTM}[3]{\WT{#1}{}{#2}{#3}}
   \newcommand{\zeroone}[1]{[{#1}]}
   \newcommand{\zeros}{\textsf{zeros}}
   \]