What if… verifying the execution of pairings inside SNARKs can be...

Let’s say that you have an existing Groth16 or Plonk proof, and you want to verify them in a SNARK.
This is needed for a bunch of use cases:
* zk light clients
* zkzkrollups
* private voting
* aggregation of proofs
* games with private state
2/13
This works, but has a few efficiency downsides.
3/13
Shame not to use it.
4/13
5/13
The paper introduces previously unexplored before methods, and combines them with existing methods, to achieve a significant improvement of pairing execution inside SNARKs.
Let’s see how.
6/13
7/13
8/13
Instead, you can use the Frobenius operator, low hamming weight exponents and lattices to make this new check efficient.
9/13
10/13
We can again use witness inputs to provide the line coefficients and, instead of computing, we verify that the line passes through the points.
11/13
Lastly, we batch miller loop squarings together with the new final-exp-saving element.
12/13
We're using this with @MinaFoundation and @CelestiaOrg to bring Celestia DA to Mina zkapps.
Read the full paper here: eprint.iacr.org/2024/640
13/13
