tl;dr: This is a post-mortem write-up on how I failed to use the Bulletproofs IPA to convince a verifier that a multi-exponentiation \A\bb=∏i(Ai)bi was done correctly.
The problem is that the Bulletproof verifier has to “fold” the \A vector by using individual exponentiations, which would be even slower than the verifier naively doing the \A\bb multiexp.
Notation
We are assuming a multiplicative group \Gr of order p
“In the exponent”, we will have an associated field \F of the same order p.
Bolded, lower-case symbols such as \bb=[b0,…,bn−1]∈\Fn typically denote vectors of field elements.
Bolded, UPPPER-case symbols such as \A=[A1,…,Am]∈\Grm typically denote vectors of group elements.
∣\A∣ denotes the size of a vector \A
\Ax=[A1x,…,Amx],∀x∈\F
\A\bb=∏i=1mAibi,∀b∈\Fm
\A∘\B=[A1B1,A2B2,…,AmBm]
AL=[A1,…,Am/2] and AR=[Am/2+1,…,Am] denote the left and right halves of \A
(Pointless) Bulletproofs IPA for multiexp
The protocol below assumes thes vector \A and \bb are both of size m=2k for some integer k≥0.
\prove(\A,\bb)
\ver(V,\A,\bb)→{0,1}
if m=1
\xrightarrow{\mbox{$\A = [A_1], \bb = [b_1]$}}
return 1 iff. V\equalsA1b1
else (i.e., if m≥2)
VL=(\AR)\bbLVR=(\AL)\bbR
\xrightarrow{\mbox{$V_L, V_R$}}
\xleftarrow{\mbox{$x\randget \F$}}
\A′=\AL∘(\AR)x\bb′=\bbL∘(\bbR)(x−1)
Computes \A′,\bb′ just like the prover V′=(VL)x⋅V⋅(VR)(x−1)