Skip to content

🔧 Make fixes and edits for finalizing the book - #43

Open
ZamDimon wants to merge 23 commits into
mainfrom
fix/edits
Open

🔧 Make fixes and edits for finalizing the book#43
ZamDimon wants to merge 23 commits into
mainfrom
fix/edits

Conversation

@ZamDimon

Copy link
Copy Markdown
Collaborator

Objective

This PR is primarily intended for finalizing the current state of the book: fixing weird formulations in existing chapters, fixing typos and figures' misalignments etc.

Changed

  • Changed hyperref settings: previous were cringy
  • Fixes in Mathematics sections

@ZamDimon
ZamDimon requested a review from DarkWindman July 30, 2026 11:03
@ZamDimon ZamDimon self-assigned this Jul 30, 2026
@ZamDimon ZamDimon added the polishing Tiny fixes and polishes label Jul 30, 2026
Comment thread contents/3-zk-foundations/2-sigma.tex Outdated
Comment thread contents/1-mathematics/4-linear-algebra-basics.tex Outdated
Comment thread contents/1-mathematics/4-linear-algebra-basics.tex Outdated
Comment thread contents/1-mathematics/4-linear-algebra-basics.tex
Comment thread contents/1-mathematics/4-linear-algebra-basics.tex Outdated
Comment thread contents/1-mathematics/4-linear-algebra-basics.tex Outdated
Comment thread contents/1-mathematics/4-linear-algebra-basics.tex Outdated
Comment thread contents/1-mathematics/4-linear-algebra-basics.tex

@ZamDimon ZamDimon left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catches!


Notice that while the basis in not unique for the given vector space, the number of basis vectors was the same.
This raises the natural question: can we find the basis $\mathbf{e}_1,\dots,\mathbf{e}_m$ for $\mathbb{F}^n$ or $\mathbb{F}[x]^{<n}$ with $m \neq n$?
This raises the natural question: can we find the basis $\mathbf{e}_1,\dots,\mathbf{e}_m$ for $\mathbb{F}^n$ or $\mathbb{F}[x]^{\leq n-1}$ with $m \neq n$?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would leave $F[x]^{&lt;n}$ because of brevity

Comment on lines +559 to +561
Consider the group of integers $(\mathbb{Z},+)$ and the group of integers modulo $12$ $(\mathbb{Z}_{12},+)$. The function $\pi: \mathbb{Z} \to \mathbb{Z}_{12}$ defined as $\pi(x) \equiv x \;\text{mod}\; 12$ is a homomorphism. Indeed:
\begin{xequation*}
\pi(a+b) = (a+b) \;\text{mod}\; 12 = (a \;\text{mod}\; 12) + (b \;\text{mod}\; 12) = \pi(a) + \pi(b).
\pi(a+b) \equiv (a+b) \;\text{mod}\; 12 \equiv (a \;\text{mod}\; 12) + (b \;\text{mod}\; 12) \equiv \pi(a) + \pi(b).

@ZamDimon ZamDimon Aug 20, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meh, I still feel weird about this example.

I mean, in general algebra, once you have a ring $A$ and an ideal in it $I \subseteq A$, there is always a trivial projection epimorphism $\pi: A \to A/I$ (meaning, in particular, that it is ring homomorphism: it preserves both addition and multiplication).

So writing $\equiv$ is still weird to me. For $A=\mathbb{Z}$ and $I=n\mathbb{Z}$, let's define

$$ \pi: \mathbb{Z} \to \mathbb{Z}_n, \pi(x) = [x]_n $$

Then, $\pi(x+y)=[x+y]_n=[x]_n+[y]_n=\pi(x)+\pi(y)$ and no congruence is needed.
Moreover, one can show $\pi(xy)=[xy]_n = [x]_n[y]_n=\pi(x)\pi(y)$.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think \pi(a) + \pi(b) is a bit confusing in general, because the + on the
right-hand side is addition in Z_12, which already includes the same mod-12
reduction that \pi itself performs. The reader is left wondering whether the
line is correct or whether there is a catch. I reverted to the previous version in 900e5d6.

@ZamDimon ZamDimon left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, thank you @DarkWindman!


Now, the question is: how do we implement the scalar multiplication $[k]P$ for the given scalar $k \in \mathbb{Z}_r$ and point $P \in E(\overline{\mathbb{F}}_q)$?

First idea: let us simply add $P$ to itself $k$ times. Well, the complexity would be $O(k)$ in this case, which is even harder than solving the discrete logarithm problem (recall that the discrete logarithm problem has a complexity of $O(\sqrt{k})$). Yikes.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

polishing Tiny fixes and polishes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lecture notes proposed corrections Comments on Part 1 (Mathematics Crash Course)

2 participants