ZK Whiteboard Study Group
Module 2: Building a SNARK, pt 1/2
A casual “office hours” series to reinforce learning from the ZK Whiteboard series
Recommendation: Populate these slides with your questions, answers and insights are you watch the lecture videos!
We’ll use this for discussion during the study group itself.
Note: Slides are editable by all.
Module Summary
Two components: Commitments & IOPs
Q&A
Insights:
Paste slide here
Commitments
Q&A
Insights:
Paste slide here
Committing to a Value
Q&A
Insights:
Paste slide here
Committing to a Function
Q&A
Insights:
Paste slide here
Committing to a Function: Syntax
Q&A
Insights:
Paste slide here
Examples of Functional Commitments
Q&A
Insights:
Paste slide here
Polynomial Commitment Schemes (PCS)
Q&A
Insights:
Paste slide here
KZG PCS Setup & Commitment
Q&A
Insights:
Paste slide here
KZG PCS Evaluation
Q&A
Insights:
Paste slide here
Example:
f(x) = 3x^2 - 4x + 2
u = 2
f(2) = 12 - 8 + 2 = 6, so v = 6.
f(u) - v = 0
f(2) - 6 = 0
3x^2 - 4x + 2 - 6 = 0
(x - 2) (?) = 0
(x - 2) (?) = 3x^2 - 4x + 2 - 6
(x - 2)(3x + 2) = 3x^2 - 4x + 2 - 6
q(x) = 3x + 2
KZG PCS Generalizations
Q&A
Insights:
Paste slide here
Dory PCS
Q&A
Insights:
Paste slide here
Polynomial IOP Setup
Q&A
Insights:
Paste slide here
Polynomial IOP Evaluation
Q&A
Insights:
Paste slide here
Polynomial IOP Properties
Q&A
Insights:
Paste slide here
The Resulting SNARK
Q&A
Insights:
Paste slide here
HW Question 1:
Answer Key:
In this video, Dan suggests a homework exercise
Here is the challenge summarized:
Additional questions & resources
Next Week