From fa7d465bec1dafae592c0eb9245f61588b79f7b1 Mon Sep 17 00:00:00 2001 From: Jessie Broke <18238304+jessiebroke@users.noreply.github.com> Date: Sat, 27 Dec 2025 06:23:27 -0500 Subject: [PATCH] fix: corrected some typos in first two sections --- lectures/0-notation.tex | 4 ++-- lectures/1-1-number-theory.tex | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lectures/0-notation.tex b/lectures/0-notation.tex index 55468a1..0895b0a 100644 --- a/lectures/0-notation.tex +++ b/lectures/0-notation.tex @@ -17,7 +17,7 @@ \subsection*{Set Theory} \item $\mathbb{N} = \{1, 2, 3, \dots\}$ -- a set of natural numbers. \item $\mathbb{Z} = \{0, \pm 1, \pm 2, \pm 3, \dots\}$ -- a set of integers. \item $\mathbb{Q} = \{\frac{n}{m}: n \in \mathbb{Z}, m \in \mathbb{N}\}$ -- a set of rational numbers. - \item $\mathbb{R}$ -- a set of real numbers. Examples: $2.2, -3.9 0.12, 1.4, -6.7, \dots$ + \item $\mathbb{R}$ -- a set of real numbers. Examples: $2.2, -3.9, 0.12, 1.4, -6.7, \dots$ \item $\mathbb{R}_{>0}$ -- a set of positive real numbers. Examples: $2.6, 10.4, 100.2$. \item $\mathbb{C}$ -- a set of complex numbers\footnote{Complex number is an expression in a form $x+iy$ for $i^2=-1$}. Examples: $1+2i, 5i, -7-5.7i, \dots$. @@ -166,7 +166,7 @@ \subsection*{Algorithms and Probabilities} themselves, so we can easily write $y \gets \mathcal{P}(x)$ to denote that the prover, based on $x$, has outputted $y$. -To denote the probability of an event $E$ hapenning, we write $\Pr[E]$. For +To denote the probability of an event $E$ happening, we write $\Pr[E]$. For example, if $E$ is an event of rolling a dice and getting a number $4$, then $\Pr[E] = \frac{1}{6}$. To denote the random sampling from the finite set $X$, we write $x \leftarrowS X$. For example, $x \leftarrowS \{1,2,3,4,5,6\}$ diff --git a/lectures/1-1-number-theory.tex b/lectures/1-1-number-theory.tex index cb73db1..051640e 100644 --- a/lectures/1-1-number-theory.tex +++ b/lectures/1-1-number-theory.tex @@ -74,7 +74,7 @@ \subsection{Division, GCD, LCM} as in the \Cref{th:division}. Then, \begin{itemize} \item \textbf{Floor Operation} ($\lfloor a/b \rfloor$ or $a \; \text{div} \; b$) is defined - as $q$. This operation is a standard \text{div} opeartion commonly used in programming languages. + as $q$. This operation is a standard \text{div} operation commonly used in programming languages. \item \textbf{Mod Operation} ($a \; \text{mod} \; b$) is defined as $r$. This operation is a standard \text{mod} operation commonly used in programming languages. \end{itemize} @@ -120,7 +120,7 @@ \subsection{Division, GCD, LCM} \item $d$ is a maximal integer that satisfies the first condition. \end{enumerate} - One might right the above definition more concisely: + One might write the above definition more concisely: \begin{xequation} \gcd(a,b) = \max\{d \in \mathbb{N}: d \mid a \; \text{and} \; d \mid b\}. \end{xequation} @@ -183,7 +183,7 @@ \subsection{Division, GCD, LCM} \end{lstlisting} -However, such an appraoch in the worst-case scenario still requires linear time +However, such an approach in the worst-case scenario still requires linear time in the size of the numbers: for example, when computing $\gcd(n, 1)$. The following lemma will be extensively employed in the so-called \textit{Euclidean algorithm}, which will reduce the complexity down to logarithmic time.