\documentclass[12pt]{book}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{amsfonts}
%\usepackage{unicode-math}
\usepackage{graphicx}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{tikz-cd}
%\usepackage{biblatex}

\theoremstyle{definition}
\newtheorem{proposition}{Proposition}[chapter]
\newtheorem{lemma}{Lemma}[chapter]
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{definition}{Definition}[chapter]
\newtheorem{example}{Example}[chapter]
\newtheorem{corollary}{Corollary}[chapter]

%\theoremstyle{definition}
%\newtheorem{xca}[theorem]{Exercise}

%\theoremstyle{remark}
%\newtheorem{remark}[theorem]{Remark}

\numberwithin{section}{chapter}
\numberwithin{equation}{chapter}

\makeindex

\begin{document}

\frontmatter

\title{General Topology}

\author{Zac Zerafa}
%\thanks{}

%\subjclass[1500]{Primary }

%\keywords{}

%\date{\today}

\maketitle

\setcounter{page}{4}

\tableofcontents

%	Prefaces, acknowledgements, etc.
%\include{}

\mainmatter
%	Chapters
\include{1}
\include{2}
\include{3}
\include{4}
\include{5}
\include{6}

\appendix
%	Appendix chapters
%\include{}

\backmatter
%    Bibliography styles amsplain or harvard are also acceptable.
\bibliographystyle{amsalpha}
\bibliography{}
%    See note above about multiple indexes.
\printindex

\end{document}
