+
+\ifdefined\newglossaryentry
+ \newglossaryentry{C}{
+ name={\ensuremath{\Cn[1]}},
+ description={the field of complex numbers},
+ sort=C
+ }
+\fi
+
+% The n-dimensional product space of a generic field F.
+\newcommand*{\Fn}[1][n]{
+ \mathbb{F}\if\detokenize{#1}\detokenize{1}{}\else^{#1}\fi
+}
+
+\ifdefined\newglossaryentry
+ \newglossaryentry{F}{
+ name={\ensuremath{\Fn[1]}},
+ description={a generic field},
+ sort=F
+ }
+\fi
+
+
+% An indexed arbitrary binary operation such as the union or
+% intersection of an infinite number of sets. The first argument is
+% the operator symbol to use, such as \cup for a union. The second
+% argument is the lower index, for example k=1. The third argument is
+% the upper index, such as \infty. Finally the fourth argument should
+% contain the things (e.g. indexed sets) to be operated on.
+\newcommand*{\binopmany}[4]{
+ \mathchoice{ \underset{#2}{\overset{#3}{#1}}{#4} }
+ { {#1}_{#2}^{#3}{#4} }
+ { {#1}_{#2}^{#3}{#4} }
+ { {#1}_{#2}^{#3}{#4} }
+}
+
+
+% The four standard (UNLESS YOU'RE FRENCH) types of intervals along
+% the real line.
+\newcommand*{\intervaloo}[2]{ \left({#1},{#2}\right) } % open-open
+\newcommand*{\intervaloc}[2]{ \left({#1},{#2}\right] } % open-closed
+\newcommand*{\intervalco}[2]{ \left[{#1},{#2}\right) } % closed-open
+\newcommand*{\intervalcc}[2]{ \left[{#1},{#2}\right] } % closed-closed
+
+
+\fi