\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}

\def\absval|#1|{\glsref[absval_symbol]{\left|#1\right|}}
\def\absp|#1|{\glsref[absp_symbol]{\left|#1\right|_p}}

\DeclareMathOperator{\Frac}{Frac}
\renewcommand\O{\glsref[O_symbol]{\mathcal{O}}}

\newcommand\Zp{\glsref[Zp_symbol]{\Zbb_p}}
\newcommand\Qp{\glsref[Qp_symbol]{\Qbb_p}}
\newcommand\Fp{\Fbb_p}

\newcommand\invlim[1]{\glsref[invlim_symbol]{{\displaystyle \lim_{\stackrel[#1]{}{\longleftarrow}}}}}

\newcommand\limproj{\glsref[limproj_symbol]{\theta}}
\newcommand\iadicc[1]{\glsref[Iadicc_symbol]{\hat{#1}}}

\let\char\relax
\DeclareMathOperator{\char}{characteristic}
\DeclareMathOperator{\Frob}{Frob}

\def\lift[#1]{\glsref[lift_symbol]{[#1]}}
\def\norm|#1|{\glsref[norm_symbol]{\|#1\|}}

\DeclareMathOperator{\intinternal}{int}
\newcommand\intc[1]{\glsref[int_symbol]{^{\intinternal(#1)}}}

\DeclareMathOperator{\Gal}{Gal}
\newcommand\sep{^{\text{sep}}}

\newcommand\local{\glsref[local_symbol]{^{-1}}}
\newcommand\localp[1]{\glsref[local_symbol]{_{#1}}}

\DeclareMathOperator{\Tr}{Tr}
\newcommand\ddv{\glsref[ddv_symbol]{v}}
\newcommand\mover{\glsref[mover_symbol]{\mid}}
\newcommand\pideal{\mathfrak{p}}
\newcommand\completep[1]{\glsref[completep_symbol]{_{#1}}}

\DeclareMathOperator{\mult}{mult}

\newcommand\GP{\glsref[GP_symbol]{G_P}}

\DeclareMathOperator{\res}{res}
\newcommand\Disc{\glsref[Disc_symbol]{\Delta}}

\newcommand\invdiff[2]{\glsref[invdiff_symbol]{D_{#1 / #2}^{-1}}}
\DeclareMathOperator{\Adj}{Adj}
\newcommand\diff[2]{\glsref[diff_symbol]{D_{#1 / #2}}}
\newcommand\idN{\glsref[idN_symbol]{N}}
\newcommand\ig{\glsref[ig_symbol]{I}}
\newcommand\discrim{\glsref[discrim_symbol]{d}}

\newcommand\I{\glsref[I_symbol]{I}}
\newcommand\dinvlim[1]{\displaystyle \lim_{\stackrel[#1]{}{\longleftarrow}}}
