-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor fixes for chapters 6, 7 and 8 #109
Open
Vindaar
wants to merge
20
commits into
LeastAuthority:main
Choose a base branch
from
Vindaar:minorFixes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It should be W_4, same as in the previous (referenced) examples.
As far as I understand in the JS 'Circom 1' this was supported. But at this point, I suppose it's more sensible to have code that is valid for Circom 2.
Instance variables and witness variables in the previous part always individually start from index 1. This rule is broken in the first fixed circuit. In the second one this is also broken and in addition in the simplified circuit we should rename the witnesses to go from 1 to 3 instead of having {1, 3, 4}.
Note: I also changed the 0 \leq j < m to 0 \leq j \leq m because I first didn't realize the second operator was not a less than equal, but a real less than.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey!
First of all thanks for the great resource! Really valuable and well explained.
I went through chapters 6, 7 and 8 over the last few days. I only realized halfway through 6 that the TeX source of the document is public. After I realized that, I fixed several minor issues when I encountered them.
Mostly it's typos and some (imo) stylistic improvements. In the Groth16 chapter I also added a few more equation references, because I found it very helpful to quickly glance back and forth and in some instances that was missing (
evince
's preview is useful for that!).If desired I can add some screenshots for what the changed things look like (i.e. typesetting the
Malbolge
in\text{}
for the 'Malbolge language').Personally, I would probably also typeset other things (e.g.
true
/false
) in\text
when used inside math mode (the letter spacing is not ideal when just writing in math mode). If wanted, I can do that one of these days.In one commit I forgot to disable auto-fill-mode in emacs, so the paragraphs are short there. I can fix that up (or line break everything to a sensible level, if that was desired).
Anyway, if you don't want to include one or more of the commits, just let me know and I'll kill them!