\usepackage{amsmath, amsfonts, amsthm, mathrsfs, amssymb}
\usepackage{graphicx}
\usepackage{xparse}



\newtheorem{definition}{Definition}
\newtheorem{theorem}{Theorem}
\newtheorem{remark}{Remark}
\newtheorem{example}{Example}
\newtheorem{proposition}{Proposition}
\newtheorem{lemma}{Lemma}[theorem]
\newtheorem{corollary}{Corollary}
\newtheorem{counterexample}{Counterexample}
\newtheorem*{qthm}{Question}


\newcommand{\mc}[1]{\mathcal{#1}}
\newcommand{\ms}[1]{\mathscr{#1}}
\newcommand{\bb}[1]{\mathbb{#1}}
\newcommand{\mt}[1]{\quad\text{#1}\quad}  %math text
\newcommand{\st}{\,\mid\,}  % such that
% sum-infty
\NewDocumentCommand{\si}{O{n} O{1}}{_{#1=#2}^\infty}



\newcommand{\question}[1]{
    \section*{Question #1}
    \addtocounter{section}{1}
}

\newcommand{\subquestion}[1]{
    \subsection*{Part #1}
    \addtocounter{subsection}{1}
}

\numberwithin{equation}{section}
\author{Amitai Rosenbaum}