Post · 6 min read· pp. 508–510
tl;dr: The 1st multivariate polynomial commitment scheme based on a non-trivial generalization of KZG.
$
%
\def\one#1{\left[#1\right]\textcolor{green}{1}}
\def\two#1{\left[#1\right]\textcolor{red}{2}}
\def\three#1{\left[#1\right]_\textcolor{blue}{\top}}
\def\pair#1#2{e\left(#1, #2\right)}
\def\GGen{\mathsf{GGen}}
$
$
\def\bin{{0,1}}
\def\eq{\mathsf{eq}}
\def\SC{\mathsf{SumCheck}}
\def\MLE#1{\mathsf{MLE}(#1)}
\def\i{\boldsymbol{i}}
\def\j{\boldsymbol{j}}
\def\x{\boldsymbol{x}}
\def\X{\boldsymbol{X}}
\def\y{\boldsymbol{y}}
\def\Y{\boldsymbol{Y}}
$
$
%
% Field operations
%
% #1 is the number of field additions
\def\Fadd#1{#1\ \green{\F^+}}
% #1 is the number of field multiplications
\def\Fmul#1{#1\ \red{\F}^\red{\times}}
%
% Abstract group
%
% #1 is the group
% #2 is the # of group additions
\def\Gadd#1#2{#2\ \green{#1}^\green{+}}
% #2 is the # of scalar muls
\def\Gmul#1#2{#2\ \orange{#1}^\orange{\times}}
% #2 is the MSM size
\def\msm#1#2{\red{#1}^{#2}} % do not use directly use either \fmsm or \vmsm
\def\vmsm#1#2{\red{\mathsf{var}}\text{-}\msm{#1}{#2}}
\def\fmsm#1#2{\msm{#1}{#2}}
\def\fmsmSmall#1#2#3{\fmsm{#1}{#2}/{#3}}
% ...#3 is the max scalar size
\def\vmsmSmall#1#2#3{\vmsm{#1}{#2}/{#3}}
%
% \mathbb{G} group
%
\def\GaddG#1{\Gadd{\Gr}{#1}}
\def\GmulG#1{\Gmul{\Gr}{#1}}
\def\msmG#1{\msm{\Gr}{#1}}
\def\vmsmG#1{\vmsm{\Gr}{#1}}
\def\fmsmG#1{\fmsm{\Gr}{#1}}
\def\fmsmGSmall#1#2{\fmsmSmall{\Gr}{#1}/{#2}}
\def\vmsmGSmall#1#2{\vmsmSmall{\Gr}{#1}/{#2}}
%
% G_1 group
%
% Note: replicating the colors here because cannot get subscript to align with superscript (e.g., \msmOnen would render akwardly)
\def\GaddOne#1{\Gadd{\Gr}{#1}\green{1}}
\def\GmulOne#1{\Gmul{\Gr}{#1}\orange{1}}
\def\msmOne#1{\msm{\Gr}{#1}\red{1}}
\def\vmsmOne#1{\vmsm{\Gr}{#1}\red{1}}
\def\fmsmOne#1{\fmsm{\Gr}{#1}\red{1}}
\def\fmsmOneSmall#1#2{\fmsmSmall{\Gr}{#1}\red{1}/{#2}}
\def\vmsmOneSmall#1#2{\vmsmSmall{\Gr}{#1}\red{1}/{#2}}
%
% G_2 group
%
% Note: same replication as for G_1
\def\GaddTwo#1{\Gadd{\Gr}{#1}\green{2}}
\def\GmulTwo#1{\Gmul{\Gr}{#1}\orange{2}}
\def\msmTwo#1{\msm{\Gr}{#1}\red{2}}
\def\vmsmTwo#1{\vmsm{\Gr}{#1}\red{2}}
\def\fmsmTwo#1{\fmsm{\Gr}{#1}\red{2}}
\def\fmsmTwoSmall#1#2{\fmsmSmall{\Gr}{#1}\red{2}/{#2}}
\def\vmsmTwoSmall#1#2{\vmsmSmall{\Gr}{#1}\red{2}/{#2}}
%
% Target group
%
% Note: same replication as for G_1
\def\GaddTarget#1{\Gadd{\Gr}{#1}\green{T}}
\def\GmulTarget#1{\Gmul{\Gr}{#1}\orange{T}}
\def\msmTarget#1{\msm{\Gr}{#1}\red{T}}
\def\vmsmTarget#1{\vmsm{\Gr}{#1}\red{T}}
\def\fmsmTarget#1{\fmsm{\Gr}{#1}\red{T}}
\def\fmsmTargetSmall#1#2{\fmsmSmall{\Gr}{#1}\red{T}/{#2}}
\def\vmsmTargetSmall#1#2{\vmsmSmall{\Gr}{#1}_\red{T}/{#2}}
%
% A single pairing
\def\pairing{\mathbb{P}}
% #1 is the # of pairings
\def\multipair#1{\mathbb{P}^{#1}}
$
$
\def\crs#1{\textcolor{green}{#1}}
$
Introduction
PST polynomial commitments [^PST13], originally published as an eprint in 2011 [^PST13e], are a beautiful generalization of KZG univariate polynomial commitments to the multivariate setting.
Preliminaries
- Let \GGen(1λ)→G denote a probabilistic polynomial-time algorithm that outputs bilinear groups G\bydef(\Gr1,\Gr2,\GrT) of prime order p≈22λ, denoted additively, such that:
- \one1 generates \Gr1
- \two1 generates \Gr2
- \three1 generates \GrT
- We use \onea\bydefa⋅\one1 and \twob\bydefb⋅\two1 and \threec\bydefc⋅\three1 to denote multiplying a scalar by the group generator
- Let \F denote the scalar field of order p associated with the bilinear groups
- For time complexities, we use:
- \Faddn for n field additions in \F
- \Fmuln for n field multiplications in \F
- \Gadd\Grn for n additions in \Gr
- \Gmul\Grn for n individual scalar multiplications in \Gr
- \fmsm\Grn for a size-n MSM in \Gr where the group element bases are known ahead of time (i.e., fixed-base)
- when the scalars are always from a set S, then we use \fmsmSmall\GrnS
- \vmsm\Grn for a size-n MSM in \Gr where the group element bases are not known ahead of time (i.e., variable-base)
- when the scalars are always from a set S, then we use \vmsmSmall\GrnS
- \pairing for one pairing
- \multipairn for a size-n multipairing
Algorithms
PST.Setup(G,d1,d2,…,dℓ)→(\ck,\prk,\vk)
Return the public parameters:
\ck\prk\vk←(\crs\oneτ1α1τ2α2⋯τℓαℓ)α1∈[0,d1],…,αℓ∈[0,dℓ]←(\crs\oneτiαiτi+1αi+1⋯τℓαℓ)i∈[ℓ],αi∈[0,d1),αi+1∈[0,di+1],…,αℓ∈[0,dℓ]←(\crs\twoτi)i∈[ℓ]
Double check this, but I think the max degrees in the \prk are di−1 instead of di due to the division by Xi when computing qi.
PST.Commit(ck,f)→C
Parse the commitment key:
(\crs\oneτ1α1τ2α2⋯τℓαℓ)α1∈[0,d1],…,αℓ∈[0,dℓ]\parse\ck
Assume that the polynomial f looks like:
f(X1,X2,…,Xℓ)=α1∈[0,d1]∑α2∈[0,d2]∑…αℓ∈[0,dℓ]∑fα1,α2,…,αℓ⋅X1α1X2α2⋯Xℓαℓ
Commit to it as:
C←\onef(τ1,τ2,…,τℓ)=α1∈[0,d1]∑α2∈[0,d2]∑…αℓ∈[0,dℓ]∑fα1,α2,…,αℓ⋅\crs\oneτ1α1τ2α2⋯τℓαℓ
PST.Open(f,a,z)→π
Compute quotient polynomials q1(X1,…,Xℓ),…,qℓ(Xℓ) such that:
f(X1,X2,…,Xℓ)=f(a1,a2,…,aℓ)+i∈[ℓ]∑qi(Xi,…,Xℓ)(Xi−ai)
Give algorithm for computing qi’s and mention that whether we start with X1 or with Xℓ, has no bearing.
Return the proof:
π←(\oneqi(τi,…,τℓ))i∈[ℓ]
PST.Verify(\vk,C,a,z;π)→{0,1}
Parse the VK and the proof:
(\crs\twoτi)i∈[ℓ]\parse\vk(πi)i∈[ℓ]\parseπ
Check the proof:
assert \pairC−\onez\two1\equalsi∈[ℓ]∑\pairπi\twoτi−\twoai
Efficiency
TODOs
Is this knowledge-sound in the AGM?
References
For cited works, see below 👇👇
[^PST13]: Signatures of Correct Computation, by Papamanthou, Charalampos and Shi, Elaine and Tamassia, Roberto, in TCC’13, 2013
[^PST13e]: Signatures of Correct Computation, by Charalampos Papamanthou and Elaine Shi and Roberto Tamassia, in Cryptology ePrint Archive, Report 2011/587, 2011, [URL]