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

\newcommand\Tbb{\glsref[Tbb_symbol]{\mathbb{T}}}
\def\ip\langle#1\rangle{\glsref[ip_symbol]{\langle} #1 \glsref[ip_symbol]{\rangle}}
\def\norm\|#1\|{\glsref[ip_symbol]{\|} #1 \glsref[ip_symbol]{\|}}
\newcommand\dualgp[1]{\glsref[dualgp_symbol]{\widehat{#1}}}
\def\dualip\langle#1\rangle{\glsref[dualip_symbol]{\langle} #1 \glsref[ip_symbol]{\rangle}}
\def\dualnorm\|#1\|{\glsref[dualip_symbol]{\|} #1 \glsref[dualip_symbol]{\|}}
\newcommand\ft[1]{\glsref[ft_symbol]{\widehat{#1}}}
\newcommand\conv{\glsref[conv_symbol]{*}}

\newcommand\symdiff{\triangle}
\DeclareMathOperator{\Infinternal}{Inf}
\newcommand\Inf{\operatorname{\glsref[Inf_symbol]{Inf}}}
\newcommand\totinf{\glsref[Inf_symbol]{I}}
\newcommand\D{\glsref[Di_symbol]{D}}
\newcommand\subst{\glsref[Di_symbol]{\to}}

\newcommand\N{\glsref[Nrho_symbol]{N}}
\newcommand\noise{\glsref[Trho_symbol]{T}}
\DeclareMathOperator{\Stabinternal}{Stab}
\newcommand\stab{{\operatorname{\glsref[Stab_symbol]{Stab}}}}

\newcommand\W{\glsref[W_symbol]{W}}

\newcommand\degkpart[1][k]{{\glsref[degkpart_symbol]{(=#1)}}}
\newcommand\deglekpart[1][k]{{\glsref[degkpart_symbol]{(\le#1)}}}
\newcommand\deggtkpart[1][k]{{\glsref[degkpart_symbol]{(>#1)}}}
\newcommand\edgebound{\glsref[edgebound_symbol]{\partial}}

\newcommand\totinftilde{\glsref[totinftilde_symbol]{\tilde{I}}}
\newcommand\Jjunta[1]{\glsref[Jjunta]{$#1$-junta}}
\newcommand\kjunta[1]{\glsref[kjunta]{$#1$-junta}}

\newcommand\mup{\glsref[mup_symbol]{\mu_p}}
\newcommand\pphi{\glsref[pphi_symbol]{\phi}}
\def\pip\langle#1\rangle{\glsref[pbiasedip_symbol]{\langle} #1 \glsref[pbiasedip_symbol]{\rangle}}
\def\pnorm\|#1\|{\glsref[pbiasedip_symbol]{\|} #1 \glsref[pbiasedip_symbol]{\|}}
\newcommand\pD{\glsref[pbiasedDi_symbol]{D}}
\newcommand\pInf{\operatorname{\glsref[pbiasedInf_symbol]{Inf}}}

\newcommand\pN{\glsref[pN_symbol]{N}}
\newcommand\pnoise{\glsref[pnoise_symbol]{T}}
\newcommand\pft[1]{\glsref[pft_symbol]{\widehat{#1}}}
\newcommand\pstab{{\operatorname{\glsref[pstab_symbol]{Stab}}}}
\newcommand\pE{\glsref[pbiasedEi_symbol]{E}}

\iftexforht
  \renewcommand\Inf{\glsref[Inf_symbol]{\Infinternal}}
  \renewcommand\pInf{\glsref[pbiasedInf_symbol]{\Infinternal}}
  \renewcommand\stab{\glsref[Stab_symbol]{\Stabinternal}}
  \renewcommand\pstab{\glsref[pstab_symbol]{\Stabinternal}}
\fi

\newcommand\quasi[1]{\glsref[quasi]{$\left(#1\right)$-quasirandom}}

\newcommand\onu[1][u]{{\glsref[onu_symbol]{#1}}}
\newcommand\JE{\glsref[EJ_symbol]{E}}

\newcommand\mshad{\glsref[modifieduppershadow_symbol]{\partial}}
