
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{mathdots}
\usepackage{braket}
\usepackage[pdftex]{graphicx}
\usepackage{fancyhdr}
\usepackage[margin=1in]{geometry}
\usepackage{multicol}
\usepackage{bm}
\usepackage{listings}
\PassOptionsToPackage{usenames,dvipsnames}{color}  %% Allow color names
\usepackage{pdfpages}
\usepackage{algpseudocode}
\usepackage{tikz}
\usepackage{enumitem}
\usepackage[T1]{fontenc}
\usepackage{inconsolata}
\usepackage{framed}
\usepackage{wasysym}
\usepackage[thinlines]{easytable}
\usepackage{hyperref}
\usepackage{wrapfig}
\hypersetup{
    colorlinks=true,
    linkcolor=blue,
    filecolor=magenta,
    urlcolor=blue,
}

\title{CS 103: Mathematical Foundations of Computing\\Problem Set \#2}
\author{[TODO: Replace this with your name(s)]}
\date{\today}

% Running author based on https://tex.stackexchange.com/questions/68308/how-to-add-running-title-and-author#answer-68310
\makeatletter
\let\runauthor\@author
\makeatother

\lhead{\runauthor}
\chead{Problem Set 2}
\rhead{\today}
\lfoot{}
\cfoot{CS 103: Mathematical Foundations of Computing --- Winter 2023}
\rfoot{\thepage}

\newcommand{\abs}[1]{\lvert #1 \rvert}
\renewcommand{\(}{\left(}
\renewcommand{\)}{\right)}
\newcommand{\floor}[1]{\left\lfloor#1\right\rfloor}
\newcommand{\ceil}[1]{\left\lceil#1\right\rceil}
\newcommand{\pd}[1]{\frac{\partial}{\partial #1}}
\newcommand{\powerset}[1]{\wp\left(#1\right)}
\newcommand{\suchthat}{\ \vert \ }
\newcommand{\naturals}{\mathbb{N}}
\newcommand{\integers}{\mathbb{Z}}
\newcommand{\reals}{\mathbb{R}}
\renewcommand{\qed}{\blacksquare}
\newcommand{\accepts}{\text{ accepts }}
\newcommand{\rejects}{\text{ rejects }}
\newcommand{\loopson}{\text{ loops on }}
\newcommand{\haltson}{\text{ halts on }}
\newcommand{\encoded}[1]{\left\langle#1\right\rangle}
\newcommand{\rlangs}{\mathbf{R}}
\newcommand{\relangs}{\mathbf{RE}}
\newcommand{\corelangs}{\text{co-}\mathbf{RE}}
\newcommand{\plangs}{\mathbf{P}}
\newcommand{\nplangs}{\mathbf{NP}}

\renewcommand{\labelitemii}{$\bullet$}
\renewcommand\qedsymbol{$\blacksquare$}
\newenvironment{prf}{{\bfseries Proof.}}{\qedsymbol}
\renewcommand{\emph}[1]{\textit{\textbf{#1}}}
\newcommand{\annotate}[1]{\textit{\textcolor{blue}{#1}}}
\usepackage{mdframed}
\usepackage{float}

\makeatother

\definecolor{shadecolor}{gray}{0.95}

\theoremstyle{plain}
\newtheorem*{lem}{Lemma}

\theoremstyle{plain}
\newtheorem*{claim}{Claim}

\theoremstyle{definition}
\newtheorem*{answer}{Answer}

\newtheorem{theorem}{Theorem}[section]
\newtheorem*{thm}{Theorem}
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}

\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\setlength{\parindent}{0pt}

\pagestyle{fancy}

\renewcommand{\thefootnote}{\fnsymbol{footnote}}

\usepackage{boxedminipage}
\newenvironment{blank}{\colorbox{shadecolor}{\strut \underline{\ \ \ \ \ }}}

\begin{document}

\maketitle

\begin{center}
  \emph{Due Friday, October 14 at 2:30 pm Pacific}
\end{center}

\vspace{1cm}

Problems One through Six are to be answered by editing the appropriate files (see the Problem Set \#2 instructions). You won't include your answers to those problems here.

\section*{Symbols Reference}
Here are some symbols that may be useful for this problem set.

\begin{itemize}
    \item Logical AND: $\land$
    \item Logical OR: $\lor$
    \item Logical NOT: $\lnot$
    \item Logical implies: $\to$
    \item Logical biconditional: $\leftrightarrow$
    \item Logical TRUE: $\top$
    \item Logical FALSE: $\bot$
    \item Universal quantifier: $\forall$
    \item Existential quantifier: $\exists$
\end{itemize}

\LaTeX typing tips:
\begin{itemize}
    \item Sets: $\Set{1, 2, 3}$, $\Set{n \in \naturals \suchthat n \text{ is even}}$
    \item Exponents (use curly braces if exponent is more than 1 character): $x^2$, $2^{3x}$
    \item Subscripts (use curly braces if subscript is more than 1 character): $x_0$, $x_{10}$
\end{itemize}

\newpage

\section*{Problem Seven: Yablo's Paradox}
    i.
    \begin{shaded}
    Write your answer to Problem Seven, part i. here.
    \end{shaded}
    
    ii.
    \begin{shaded}
    Write your answer to Problem Seven, part ii. here.
    \end{shaded}
    
    iii.
    \begin{shaded}
    Write your answer to Problem Seven, part iii. here.
    \end{shaded}
    
\newpage

\section*{Problem Eight: Tournament Champions}
    i.
    \begin{shaded}
    Write your answer to Problem Eight, part i. here.
    \end{shaded}
    
    ii.
    \begin{shaded}
    Write your answer to Problem Eight, part ii. here.
    \end{shaded}

\section*{Problem Nine: Set Theory Proofs

\emph{Theorem:} For all sets $A$ and $B$, if $A \subseteq B$, then $\wp(A \cup B) \subseteq \wp(B)$.

\emph{Proof: } 
    \begin{shaded}
    Write your answer to Problem Nine here.
    \end{shaded}

    
\newpage

\section*{Optional Fun Problem: Insufficient Connectives}

\begin{shaded}
Write your answer to the Optional Fun Problem here.
\end{shaded}
    
\end{document}
