Skip to content
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

added report back #1

Merged
merged 2 commits into from
Jan 7, 2025
Merged

added report back #1

merged 2 commits into from
Jan 7, 2025

Conversation

rasmus-kirk
Copy link
Owner

No description provided.


- **Zero-knowledge:** $\forall V^*(\delta). \exists S_{V^*}(x) \in PPT. S_{V^*} \sim^C (P,V^*)$

$V^*$ denotes a prover, honest or otherwise, $\d$ represents information
Copy link
Contributor

Choose a reason for hiding this comment

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

This is probably a typo: $V^*$ denotes a verifier


- $\IVCVerifier(\pi_{i+1}: \textbf{Proof}, acc_{i+1}: \Acc) \to \Result(\top, \bot)$

Checks the proof: $\top \meq \SNARKVerifierSlow(\pi_{i+1}) \meq \ASDecider(acc_{i+1})$
Copy link
Contributor

Choose a reason for hiding this comment

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

SNARK verifier should take as input acc_{i+1} as well; i.e., it should be \SNARKVerifierSlow(\pi_{i+1}, acc_{i+1})

Copy link
Owner Author

Choose a reason for hiding this comment

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

From the paper:

Given such an accumulation scheme, we can construct IVC as follows. Given a previous instance $z_i$, proof $\pi_i$, and accumulator $\text{acc}i$, the IVC prover first accumulates $(z_i, \pi_i)$ with $\text{acc}i$ to obtain a new accumulator $\text{acc}{i+1}$. The IVC prover also generates a SNARK proof $\pi{i+1}$ of the claim: "$z_{i+1} = F(z_i)$, and there exist a proof $\pi_i$ and an accumulator $\text{acc}_i$ such that the accumulation verifier accepts $((z_i, \pi_i), \text{acc}i, \text{acc}{i+1})$", expressed as a circuit $R$. The final IVC proof then consists of $(\pi_T, \text{acc}_T)$. _The IVC verifier checks such a proof by running the SNARK verifier on $\pi_T$ and the accumulation scheme decider on $\text{acc}T$.

Is the above wrong, or have I misunderstood it?

Copy link
Contributor

Choose a reason for hiding this comment

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

No, I think the above is correct; but as written, the SNARK proof $\pi_{i+1}$ is for a claim about z_{i+1}, and accumulation verifier that involves $\text{acc}{i+1}$. So, the SNARK verifier should take as input all $\pi_{i+1}$, z_{i+1}, and $\text{acc}{i+1}$

Copy link
Contributor

Choose a reason for hiding this comment

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

Also from the original paper:
image

Copy link
Contributor

@hamiidreza hamiidreza left a comment

Choose a reason for hiding this comment

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

Looks very good. I added a few comments.

Thank you, Hamid

Co-authored-by: Hamidreza <[email protected]>
&\ASVerifier((z_{n-2}, \pi_{n-2}), acc_{n-2}, acc_{n-1}) &&= \top \then \cdots \\
&\ASVerifier((z_0, \pi_0), acc_0, acc_1) &&= \top \then \\
\end{alignedat}
$$
Copy link
Owner Author

Choose a reason for hiding this comment

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

Also just putting a pin on this, I need to recurse to z_1 instead as the verifier does not run on z_0, in my description.


- $\IVCVerifier(\pi_{i+1}: \textbf{Proof}, acc_{i+1}: \Acc) \to \Result(\top, \bot)$

Checks the proof: $\top \meq \SNARKVerifierSlow(\pi_{i+1}) \meq \ASDecider(acc_{i+1})$
Copy link
Owner Author

Choose a reason for hiding this comment

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

From the paper:

Given such an accumulation scheme, we can construct IVC as follows. Given a previous instance $z_i$, proof $\pi_i$, and accumulator $\text{acc}i$, the IVC prover first accumulates $(z_i, \pi_i)$ with $\text{acc}i$ to obtain a new accumulator $\text{acc}{i+1}$. The IVC prover also generates a SNARK proof $\pi{i+1}$ of the claim: "$z_{i+1} = F(z_i)$, and there exist a proof $\pi_i$ and an accumulator $\text{acc}_i$ such that the accumulation verifier accepts $((z_i, \pi_i), \text{acc}i, \text{acc}{i+1})$", expressed as a circuit $R$. The final IVC proof then consists of $(\pi_T, \text{acc}_T)$. _The IVC verifier checks such a proof by running the SNARK verifier on $\pi_T$ and the accumulation scheme decider on $\text{acc}T$.

Is the above wrong, or have I misunderstood it?

&= c^{(0)}G^{(0)} + c^{(0)}z^{(0)} H' \\
\intertext{The verifier has $c^{(0)} = c, G^{(0)} = U$ from $\pi \in \EvalProof$:}
&= cU + cz^{(0)} H' \\
\intertext{Then, by construction of $h(X) \in \Fb^d_q[X]$}
Copy link
Owner Author

Choose a reason for hiding this comment

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

Not sure on this, "by construction" seems incomplete, but I have a hard time proving/formalizing why this is.

@rasmus-kirk rasmus-kirk merged commit 9b72907 into main Jan 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants