NEXUS 백서

NEXUS

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 6쪽 중 4쪽

t to V, as follows: 24 • P(pk, (⃗ u1, ⃗ w1), (⃗ u2, ⃗ w2)) → (u, w, π) • V(vk, (⃗ u1, ⃗ u2), π) → u Definition 4.16 (Public-coin). A multi-folding scheme ( G, K, P, V) is called public-coin if all messages sent from V to P are sampled from a uniform distribution. 4.8 Customizable Constraint Systems 4.8.1 The CCS Relation Definition 4.17 (CCS [STW23a]) . Let RCCS be the customizable constraint system relation (CCS), defined as follows. An RCCS structure sCCS = (m, n, N, ℓ, t, q, d,[Mi]ti=1, [Si]qi=1, [ci]qi=1]) consists of: • Size bounds m, n, N, ℓ, t, q, d∈ N, where n > ℓ. • A sequence of t matrices [ M1, . . . , Mt] each in Fm×n, with at most N = Ω(max( m, n)) non-zero entries. • A sequence of q multisets [S1, . . . , Sq] each of cardinality at most d over the domain {1, . . . , t}. • A sequence of q constants [c1, . . . , cq] each in F. An RCCS instance x consists of public input x ∈ Fℓ. An RCCS witness consists of a vector w ∈ Fn−ℓ−1. A CCS structure-instance tuple ( s, x) is satisfied by a CCS witness w if qX i=1 ci · ⃝j∈SiMj · z = 0 where z = (w, 1, x) ∈ Fn, Mj · z denotes matrix-vector multiplication, ⃝ denotes the Hadamard (entry- wise) product, and 0 is the zero vector in Fm. 4.8.2 The Committed CCS Relation Consider a CCS structure sCCS = (m, n, N, ℓ, t, q, d,[Mi]ti=1, [Si]qi=1, [ci]qi=1]) Let s = ⌈log m⌉, s′ = ⌈log n⌉ and s′′ = ⌈log(n − ℓ − 1)⌉. By interpreting each Mi as functions of type {0, 1}s × {0, 1}s′ → F, let fMi denote the MLE of Mi. Similarly, for a purported witness w ∈ Fn−ℓ−1 let ew denote the MLE of w viewed as a function of type {0, 1}s′′ → F. Definition 4.18 (Committed CCS) . Let RCCCS be the committed customizable constraint system (CCCS) relation, defined as follows. Let PC be an additively-homomorphic polynomial commitment scheme for multilinear polynomials over a finite field F. An RCCCS structure sCCCS = (m, n, N, ℓ, t, q, d,pp, [ fMi]ti=1, [Si]qi=1, [ci]qi=1) consists of: • Size bounds m, n, N, ℓ, t, q, d∈ N and pp ← PC.Setup(1λ, s′′), where n > ℓand let s = ⌈log m⌉, s′ = ⌈log n⌉, s′′ = ⌈log(n − ℓ − 1)⌉. 25 • A sequence of t multilinear polynomials [ fM1, . . . ,fMt] each in F[X1, . . . , Xs+s′] over s + s′ variables, with at most N = Ω(m) locations over the Boolean hypercube {0, 1}s+s′ evaluating to a non-zero value. • A sequence of q multisets [S1, . . . , Sq] each of cardinality at most d over the domain {1, . . . , t}. • A sequence of q constants [c1, . . . , cq] each in F. An RCCCS instance (C, x) consists of a commitment C to an s′′-variate multilinear polynomial and public input x ∈ Fℓ. An RCCCS witness is an s′′-variate multilinear polynomial ew. An RCCCS structure-instance tuple (s, (C, x)) is satisfied by an RCCCS witness ew if PC.Com(pp, ew) = C and for all x ∈ {0, 1}s, qX i=1 ci ·   Y j∈Si   X y∈{0,1}s′ fMj(x, y) · ez(y)     = 0 where ez is the s′-variate MLE of z = (w, 1, x) viewed as a function of type {0, 1}s′ → F. 4.8.3 The Linearized Committed CCS Relation Definition 4.19 (Linearized committed CCS) . Let RLCCCS be the linearized committed customizable constraint system (LCCCS) relation, defined as follows. LetPC be an additively-homomorphic polynomial commitment scheme for multilinear polynomials over a finite field F. An RLCCCS structure sLCCCS = (m, n, N, ℓ, t, q, d,pp, [ fMi]ti=1, [Si]qi=1, [ci]qi=1) consists of: • Size bounds m, n, N, ℓ, t, q, d∈ N and pp ← PC.Setup(1λ, s′′), where n > ℓand let s = ⌈log m⌉, s′ = ⌈log n⌉, s′′ = ⌈log(n − ℓ − 1)⌉. • A sequence of t multilinear polynomials [ fM1, . . . ,fMt] each in F[X1, . . . , Xs+s′] over s + s′ variables, with at most N = Ω(m) locations over the Boolean hypercube {0, 1}s+s′ evaluating to a non-zero value. • A sequence of q multisets [S1, . . . , Sq] each of cardinality at most d over the domain {1, . . . , t}. • A sequence of q constants [c1, . . . , cq] each in F. An RLCCCS instance ( C, u,x, r,[vi]ti=1]) consists of a commitment C to an s′′-variate multilinear poly- nomial, public input x ∈ Fℓ, and u ∈ F, r ∈ Fs, v1, . . . , vt ∈ F. An RLCCCS witness is an s′′-variate multilinear polynomial ew. An RLCCCS structure-instance pair (s, (C, u,x, r,[vi]ti=1)) is satisfied by anRLCCCS witness ew if PC.Com(pp, ew) = C and ∀i ∈ [t]: vi = X y∈{0,1}s′ fMi(r, y) · ez(y), where ez is the s′-variate MLE of z = (w, u,x) viewed as a function of type {0, 1}s′ → F. 26 5 Components 5.1 A Multi-Folding Scheme for CCS Construction 5.1 (A Multi-Folding scheme for CCS [KS23b]) . Let PC be an additively-homomorphic polynomial commitment scheme for multilinear polynomials over a finite field F. We construct a multi- folding scheme for ( RLCCCS, RCCCS, compat, µ= 1, ν= 1) as follows. • compat(s1, s2) → {0, 1} – If s1 = s2 return 1, else return 0. • G(1λ) → pp: 1. Sample size bounds m, n, N, ℓ, t, q, d∈ N with n > ℓ. 2. Let s = ⌈log m⌉, s′ = ⌈log n⌉, s′′ = ⌈log(n − ℓ − 1)⌉. 3. ppPC ← Setup(1λ, s′′) 4. Output pp ← (m, n, N, ℓ, t, q, d,ppPC) • K(pp, (s1, s2)) → (pk, vk): 1. Let pk ← (pp, s1) and vk ← pp 2. Output ( pk, vk) • ⟨P, V⟩((pk, vk), (u1, u2), (w1, w2)) → (u, w): 1. Parse u1 as an RLCCCS instance (C1, u,x1, rx, [vi]ti=1). Parse u2 as an RCCCS instance (C2, x2). Parse w1 and w2 as multilinear polynomials ew1 and ew2. Let ez1 = ^(w1, u,x1) and ez2 = ^(w2, 1, x2). 2. V → P: Sample γ R← −F, β R← −Fs, r′x R← −Fs. Send ( γ, β) to P. 3. V ↔ P: Run the sum-check protocol c ← ⟨P, V(r′x)⟩  g, s, d+ 1, X j∈[t] γj · vj   where: g(x) :=  X j∈[t] γj · Lj(x)   + γt+1 · Q(x) Lj(x) := eeq(rx, x) ·   X y∈{0,1}s′ fMj(x, y) · ez1(y)   Q(x) := eeq(β, x) ·   qX i=1 ci ·   Y j∈Si   X y∈{0,1}s′ fMj(x, y) · ez2(y)       4. P → V: Send [ σi]ti=1 and [θi]ti=1 where for all i ∈ [t]: σi := X y∈{0,1}s′ fMi(r′x, y) · ez1(y) θi := X y∈{0,1}s′ fMi(r′x, y) · ez2(y) 27 5. V: Compute e1 ← eeq(rx, r′x) and e2 ← eeq(β, r′x). Abort if: c ̸=  X j∈[t] γj · ei · σj   +  γt+1 · e2 ·   qX i=1 ci · Y j∈Si θj     6. V → P: Sample ρ R← −F and send to P. 7. P, V: Output the folded RLCCCS instance u := (C′, u′, x′, r′x, [v′i]ti=1) where ∀i ∈ [t]: C′ := C1 + ρ · C2, u′ := u + ρ · 1, x′ := x1 + ρ · x2, v′i := σi + ρ · θi. 8. P: Output the folded witness w := ew′ where ew′ := ew1 + ρ · ew2. Theorem 5.1 (A multi-folding scheme for CCS). Construction 5.1 is a public-coin multi-folding scheme for (RLCCCS, RCCCS, compat, µ= 1, ν= 1) with perfect completeness and knowledge soundness. 5.2 A Generalized Multi-Folding Scheme for CCS Construction 5.2 (A Generalized Multi-Folding Scheme for CCS [ZZD23]) . Let PC be an additively- homomorphic polynomial commitment scheme for multilinear polynomials over a finite field F. We construct a multi-folding scheme for ( RLCCCS, RCCCS, compat, µ, ν) as follows. • compat(s1, s2) → {0, 1} – If s1 = s2 return 1, else return 0. • G(1λ) → pp: 1. Sample size bounds m, n, N, ℓ, t, q, d∈ N with n > ℓ. 2. Sample size bounds µ, ν∈ N. 3. Let s = ⌈log m⌉, s′ = ⌈log n⌉, s′′ = ⌈log(n − ℓ − 1)⌉. 4. ppPC ← Setup(1λ, s′′) 5. Output pp ← (m, n, N, ℓ, t, q, d, µ, ν,ppPC) • K(pp, (s1, s2)) → (pk, vk): 1. Let pk ← (pp, s1) and vk ← pp 2. Output ( pk, vk) • ⟨P, V⟩((pk, vk), (⃗ u1, ⃗ u2), ( ⃗ w1, ⃗ w2)) → (u, w): 1. Parse ( ⃗ u1, ⃗ w1) as [ ϕk]k∈[µ] and (⃗ u2, ⃗ w2) as [ ψk]k∈[ν]. 2. V → P: Sample γ R← −F, β R← −Fs, r′x R← −Fs, and send ( γ, β) to P. 28 3. V ↔ P: Run the sum-check protocol c ← ⟨P, V(r′x)⟩ g, s, d+ 1, µX k=1 tX i=1 γ(k−1)t+iϕk.vi ! , where g(x) := µX k=1 tX i=1  γ(k−1)t+i · Lk,i(x) + νX k′=1 γµt+k′ · Qk′(x) Lk,i(x) := eeq(ϕk.rx, x) ·   X y∈{0,1}s′ fMi(x, y) · ϕk.ez1(y)   Qk′(x) := eeq(β, x) ·   qX i=1 ci ·   Y j∈Si   X y∈{0,1}s′ fMj(x, y) · ψk′.ez2(y)       4. P → V: Send [ σk,i, θk′,i]k∈[µ],k′∈[ν],i∈[t] where for all i ∈ [t]: σk,i := X y∈{0,1}s′ fMi(r′x, y) · ϕk.ez1(y) θk′,i := X y∈{0,1}s′ fMi(r′x, y) · ψk′.ez2(y) 5. V → P: Compute [ ek,1 := eeq(ϕk.rx, r′x)]k∈[µ], and e2 := eeq(β, r′x), and abort if c ̸= µX k=1 tX i=1  γ(k−1)t+i · ek,1 · σk,i  + νX k′=1 γµt+k′ · e2 ·   qX i=1 ci · Y j∈Si θk′,j   6. V → P: Sample ρ R← −F and send it to P. 7. P, V: Output the folded RLCCCS instance u := (C′, u′, x′, r′x, [vi]ti=1]), where ∀i ∈ [t]: C′ := µX k=1 ρk−1 · ϕk.C1 + νX k′=1 ρµ−1+k′ · ψk′.C2, u′ := µX k=1 ρk−1 · ϕk.u + νX k′=1 ρµ−1+k′ · 1, x′ := µX k=1 ρk−1 · ϕk.x1 + νX k′=1 ρµ−1+k′ · ψk′.x2, v′i := µX k=1 ρk−1 · σk,i + νX k′=1 ρµ−1+k′ · θk′,i. 8. P: Output the folded RLCCCS witness w := ew′, where ew′ := µX k=1 ρk−1 · ϕk. ew1 + νX k′=1 ρµ−1+k′ · ψk′. ew2. Theorem 5.2. Construction 5.2 is a public-coin multi-folding scheme for (RLCCCS, RCCCS, µ, ν) with perfect completeness and knowledge soundness. 29 5.3 The Fiat-Shamir Transform For Multi-Folding Schemes We construct a generic compiler FS that endows non-interactivity to multi-folding schemes via the Fiat- Shamir transform. We adapt the system from [FS86; KST22; KS23b]. Construction 5.3 (Fiat-Shamir transform for multi-folding schemes) . Let Π MFS = ( G, K, P, V) be a public-coin multi-folding scheme for (R1, R2, compat, µ= 1, ν= 1) with ℓ rounds. Let ρ denote a random oracle. We construct a compiler FS which transforms Π MFS into a non-interactive multi-folding scheme ΠNIMFS = (G′, K′, P ′, V ′) for ( R1, R2, compat, µ= 1, ν= 1) in the random oracle model. We denote this transformation as ΠNIMFS = FS[ΠMFS] The compiler operates as follows. • G′(1λ) → pp: Output pp ← G(1λ). • K′(pp, (s1, s2)) → (pk, vk): – (pk, vk) ← K(pp, (s1, s2)). – r1 ← ρ(pp, (s1, s2)). – Output (pk′, vk′) ← ((pk, r1), (vk, r1)). • P ′(pk′, (u1, w2), (u1, w2)) → (u, w, π): – Parse pk′ as (pk, r1). – Compute ( u, w) ← P(pk, (u1, w1), (u2, w2)). On the ith message mi, respond with verifier randomness ri+1 ← ρ(mi, ri) for i ∈ [ℓ]. Let π = (m1, . . . , mℓ) be the messages sent by P. – Output (u, w, π). • V ′(vk′, (u1, u2), π) → u: – Parse vk′ as (vk, r1) and π as (m1, . . . , mℓ). – Compute u ← V(vk, (u1, u2)) with randomness (r1, . . . , rℓ+1) computed as ri+1 ← ρ(mi, ri). In round i, send the prover message mi. – Output u. Lemma 5.3 (Fiat-Shamir transform for multi-folding schemes) . Construction 5.3 transforms a public- coin multi-folding scheme ΠMFS for (R1, R2, compat, µ= 1 , ν= 1) into a non-interactive multi-folding scheme ΠNIMFS for (R1, R2, compat, µ= 1, ν= 1) in the random oracle model. 5.4 The CycleFold Compiler Let ( E1, E2) denote a 2-cycle of elliptic curves. Let F1 and F2 denote the scalar fields of E1 and E2, respectively. Naturally, let F2 be the base field of E1 and F1 be the base field of E2. We adapt the system from [KS23a]. Construction 5.4 (CycleFold Transform). Let Π (E)MFS = ( G, K, P, V) be a multi-folding scheme for (R1, R2, compat) defined over a single elliptic curve. We construct a compiler CF, invoked as Π(E1,E2)MFS = CF[Π(E)MFS] which transforms a multi-folding scheme Π (E)MFS described over a single curve into a multi-folding scheme Π(E1,E2)MFS = (G′, K′, P ′, V ′) for (R1 × RCRR1CS, R2, compat′) that uses a 2-cycle of curves to delegate foreign arithmetic operations to a minimal F2-circuit. The compiler operates as follows. First, we define a function FEC that performs elliptic curve arithmethic on F2, as follows. 30 • FEC(ρ, C1, C2, C′): – Check that C′ = C1 + ρ · C2. This function encodes a single scalar multiplication and addition over the curve E2, and is thus efficiently representable as an R1CS circuit over F2. • compat′(s1, s2) → {0, 1}: 1. Parse s1 as (sR1, sCRR1CS). 2. Parse s2 as sR2. 3. Check that sCRR1CS = sEC. 4. Output compat(sR1, sR2). • G′(1λ) → pp′: – pp ← G(1λ). – Compute R1CS parameters for sEC: ∗ Compute size bounds m, n, N, ℓ∈ N where n > ℓ ∗ ppE ← VC.Gen(1λ, m) ∗ ppW ← VC.Gen(1λ, n− ℓ − 1) ∗ Set ppEC ← (m, n, N, ℓ,ppE, ppW ) – Output pp′ ← (pp, ppEC) • K′(pp′, (s1, s2)) → (pk′, vk′): – Parse pp′ as (pp, ppEC). – Parse s1 as (sR1, sEC). – Parse s2 as sR2. – (pk, vk) ← K(pp, (sR1, sR2)) – Set pk′ ← (pk, sEC), vk′ ← vk. – Output (pk, vk). • ⟨P, V⟩ ′((pk′, vk′), (u′1, w′1), (u′2, w′2)) → (u′, w′): – Parse pk′ as (pk, sEC) and vk′ as vk. – Parse u′1 as (u1, uEC,1) and u′2 as u2. – Parse w′1 as (w1, wEC,1) and w′2 as w2. – Run (u, w) ← ⟨P, V⟩((pk, vk), (u1, w1), (u2, w2)) except that: ∗ Parse uEC,1 as (E1, u1, W 1, x1). ∗ Initialize the folded CRR1CS instance u∗EC = ( E∗, u∗, W ∗, x∗) as E∗ ← E1, u∗ ← u1, W ∗ ← W 1, x∗ ← x1. ∗ For each i ∈ [k] of the k foreign-field computations that V performs over F2 of the form C′(i) ← C(i)1 + ρ · C(i)2 do instead: 31 · P → V: Compute (u(i)EC,2, w(i)EC,2) ← trace(FEC, (ρ, C(i)1 , C(i)2 , C′(i))) where u(i)EC,2 = ( E(i)2 , u(i)2 , W (i)2 , x(i)2 ) and w(i)EC,2 = ( E(i)2 , W(i)2 ) are an instance-witness tuple with structure sEC, such that u(i)2 = 1, E(i)2 = 0 and x(i)2 = (ρ, C(i)1 , C(i)2 , C′(i)) for some C′(i) ∈ G2. · V: Abort if u(i)2 ̸= 1 or E2 ̸= 0 or x(i)2 ̸= (ρ, C(i)1 , C(i)2 , C′(i)) for some C′(i) ∈ G2. · P → V: Send T (i) = VC.Com(ppE, T(i)) where T (i) = AZ1 ◦ BZ2 + AZ2 ◦ BZ1 − u∗ · CZ2 − u(i)2 · CZ1 where Z1 = (W ∗, x∗, u∗) and Z2 = (W (i)2 , x(i)2 , u(i)2 ). · V → P: V samples ρ∗,(i) R← −F1 and sends it to P. · P, V: Update the CRR1CS instance u∗EC = (E∗, u∗, W ∗, x∗): E ∗ ← E1 + ρ∗,(i) · T (i) u∗ ← u1 + ρ∗,(i) · 1 W ∗ ← W 1 + ρ∗,(i) · W (i)2 x∗ ← x1 + ρ∗,(i) · x(i)2 ∗ Compute the folded R1 instance u via the [ C ′(i)]ki=1 computed by P, and set the folded CRR1CS uEC ← u∗EC. ∗ Output the folded final instance u′ ← (u, uEC). – P: Invoke P to compute the folded witness w, and compute the folded CRR1CS witness wEC ← (E∗, W∗), where: E∗ ← E1 + ρ∗,(i) · T (i) W ∗ ← W1 + ρ∗,(i) · W (i)2 are computed for i ∈ [k]. – Output the folded witness w′ ← (w, wEC). Theorem 5.4 (CycleFold transform for folding schemes) . Construction 5.4 transforms a public-coin multi-folding scheme Π(E)MFS for (R1, R2, compat, µ= 1, ν= 1) defined over a single elliptic curve into a public-coin multi-folding scheme Π(E1,E2)MFS over (R1 × RCRR1CS, R2, compat′, µ= 1, ν= 1) defined over a 2-cycle of elliptic curves. 5.5 HyperNova Construction 5.5 (HyperNova [KS23b]). Let NIMFS = FS[ΠMFS] be the non-interactive multi-folding scheme for ( RLCCCS, RCCCS, compat, µ= 1, ν= 1) obtained from applying the Fiat-Shamir transform to Construction 5.1. We construct an IVC scheme for CCCS as follows. Let F be a polynomial-time function, and let hash be a cryptographic hash function. We define an augmented function F ′ as follows, where all arguments are taken as non-deterministic advice. • F ′(vk, Ui, ui, (i, z0, zi), ωi, π) → x: 32 1. If i = 0, output hash(vk, 1, z0, F(z0, ω0), u⊥) 2. Else: (a) Check ui.x = hash(vk, i, z0, zi, Ui) (b) Fold Ui+1 ← NIFMS.V(vk, Ui, ui, π) (c) Output hash(vk, i+ 1, z0, F(zi, ωi), Ui+1) Because F ′ can be computed in polynomial time, it can be represented as an RCCCS structure sF ′. Let (ui+1, wi+1) ← trace(F ′, (vk, Ui, ui, (i, z0, zi), ωi, πi)) denote the satisfying RCCCS instance-witness pair (ui+1, wi+1) for the execution of F ′ on non-deterministic advice (vk, Ui, ui, (i, z0, zi), ωi, π). We define the IVC scheme ( G, K, P, V) as follows. • G(1λ) → pp: Output pp ← NIMFS.G(1λ). • K(pp, F) → (pk, vk): 1. ( pkfs, vkfs) ← NIMFS.K(pp, (sF ′, sF ′)) 2. Output ( pk, vk) ← ((F, pkfs), (F, vkfs)) • P(pk, (i, z0, zi), ωi, Πi) → Πi+1: 1. Parse Π i as ((Ui, Wi), (ui, wi)) 2. Fold ( Ui+1, Wi+1, π) ← If i = 0 {(u⊥, w⊥, ⊥} else {NIMFS.P(pk, (Ui, Wi), (ui, wi))} 3. Compute ( ui+1, wi+1) ← trace(F ′, (vk, Ui, ui, (i, z0, zi), ωi, π)) 4. Output Π i+1 ← ((Ui+1, Wi+1), (ui+1, wi+1)) • V(vk, (i, z0, zi), Πi) → {0, 1}: 1. If i = 0, check zi = z0 2. Else: (a) Parse Π i as ((Ui, Wi), (ui, wi)) (b) Check ui.x = hash(vk, i, z0, zi, Ui) (c) Check that ( Ui, Wi) and ( ui, wi) are satisfying RLCCCS and RCCCS instance-witness pairs, respectively. Theorem 5.5 (HyperNova IVC). Construction 5.5 is an IVC scheme with perfect completeness, knowl- edge soundness and succinctness. 5.6 Parallel Nova We construct a parallel Nova scheme for binary-tree PCD transcripts, which we later combine with [KS23a] two instantiate the scheme on a 2-cycle of elliptic curves, see Sec. 7. Construction 5.6 (Parallel Nova). Let NIFS = ( G, K, P, V) be the non-interactive folding scheme for RCRR1CS. We construct a PCD scheme from Nova for binary-tree transcripts. A message z is a tuple ( n, zℓ, zr) attesting to F (n)(zℓ) = zr. We define the trivial message as ⊥= (0, zℓ, zr) for any zℓ = zr. We define T to be a binary tree, where each node v = ( n, zℓ, zr) ∈ V (T) is labeled by its outgoing message, and for every pair of nodes ( u, v), there exists an edge e = (u, v) ∈ E(T) between them iff n(v) = 2n(u) + 1 and either z(v)ℓ = z(u)ℓ or z(v)r = z(u)r . 33 Figure 7: Post-order depth-first traversal of the binary-tree parallel Nova construction. The nodes jointly compute F trough a post-order depth-first traversal of the tree, starting from the left-most leaf, passing through the root, and ending at the right-most leaf. The root accumulates the proofs of all its downstream descendants, therefore attesting to the whole computation. Let F be a polynomial time function. First, we define a compliance predicate φ for F and an augmented compliance predicate φ′ as follows: • φ(z, ω,[zℓ, zr]) → {0, 1}: 1. Parse z as (n, zℓ, zr), zℓ as (nℓ, z(ℓ)ℓ , z(ℓ)r ) and zr as (nr, z(r)ℓ , z(r)r ) 2. If zℓ = zr =⊥, check z(ℓ)ℓ = z(ℓ)r and z(r)ℓ = z(r)r 3. Check z(ℓ)r = F (z(r)ℓ , ω) 4. Check n = nℓ + 1 + nr 5. Check zℓ = z(ℓ)ℓ and zr = z(r)r • φ′(h, (z, ω,[(zℓ, Uℓ, uℓ, πℓ), (zr, Ur, ur, πr)], vk, U, π)) → {0, 1}: 1. Check φ(z, ω,[zℓ, zr]) = 1. 2. If zℓ = zr =⊥, then check h = hash(vk, z,⊥). Else, (a) Check uℓ.x = hash(vk, zℓ, Uℓ) (b) Check ur.x = hash(vk, zr, Ur) (c) Fold U′ℓ ← NIFS.V(vk, Uℓ, uℓ, πℓ) (d) Fold U′r ← NIFS.V(vk, Ur, ur, πr) (e) Fold U ← NIFS.V(vk, U′ℓ, U′r, π) (f) Check h = hash(vk, z,U) Since φ′ can be computed in polynomial time, it can be represented as an RCRR1CS structure. Let, (u, w) ← trace(Rφ, (h, (z, ω,[(zℓ, Uℓ, uℓ, πℓ), (zr, Ur, ur, πr)], vk, U, π)) denote the satisfying RCRR1CS instance-witness pair for the execution of Rφ on the above input. We define the PCD scheme ( G, K, P, V) as follows. 34 • G(1λ) → pp: Output pp ← NIFS.G(1λ). • K(pp, φ) → (pk, vk): 1. Compute ( pkfs, vkfs) ← NIFS.K(pp, φ′) 2. Output ( pk, vk) ← ((pkfs, vkfs), vkfs) • P(pk, z, ω,[(zℓ, Πℓ), (zr, Πr)]) → Π: 1. Parse Π ℓ as ((Uℓ, Wℓ), (uℓ, wℓ)) 2. Parse Π r as ((Ur, Wr), (ur, wr)) 3. If zℓ = zr =⊥, then set ( U, W, π) ← (u⊥, w⊥, ⊥) and ( πℓ, πr) ← (⊥, ⊥). Else, (a) Fold ( U′ℓ, W′ℓ, πℓ) ← NIFS.P(pk, (Uℓ, Wℓ), (uℓ, wℓ)) (b) Fold ( U′r, W′r, πr) ← NIFS.P(pk, (Ur, Wr), (ur, wr)) (c) Fold ( U, W, π) ← NIFS.P(pk, (U′ℓ, W′ℓ), (U′r, W′r)) 4. Compute h ← hash(vk, z,U). 5. ( u, w) ← trace(φ′, (h, (z, ω,[(zℓ, Uℓ, uℓ, πℓ), (zr, Ur, ur, πr)], vk, U, π)) 6. Output Π ← ((U, w), (u, w)) • V(vk, z,Π) → {0, 1}: 1. Parse Π as (( U, w), (u, w)). 2. Check that u.x = hash(vk, z,U). 3. Check that ( U, W) and (u, w) are satisfying instance-witness pairs with respect to the structure corresponding to φ′. Theorem 5.6. Construction 5.6 is a PCD scheme with perfect completeness, knowledge soundness and succinctness. 35 5.7 Parallel HyperNova Construction 5.7 (Parallel HyperNova). Let NIMFS = (G, K, P, V) be the non-interactive multi-folding scheme for ( RLCCCS, RCCCS, compat, µ, ν) from [ZZD23]. We construct a PCD scheme from HyperNova for r-ary tree transcripts. A message z is a tuple ( n, z(ℓ), z(r)) attesting to F (n)(z(ℓ)) = z(r). We define the trivial message as ⊥= (0, ⊥, ⊥). We define T to be an r-ary tree, where each node v = (n, z(ℓ), z(r)) ∈ V (T) is labeled by its outgoing message. Figure 8: An r-ary tree transcript of a PCD scheme for a parallel HyperNova construction. Let F be a polynomial time function. First, we define a compliance predicate φ for F and an augmented compliance predicate Rφ as follows: • φ(z, [ωi]ri=1, [zi]ri=1) → {0, 1}: 1. Parse z as (n, z(ℓ), z(r)). 2. For i ∈ [r], parse zi as (ni, z(ℓ)i , z(r)i ). 3. For i ∈ {1, . . . , r− 1}, check z(ℓ)i+1 = F (z(r)i , ωi). 4. Check n = r − 1 + Pi∈[r] ni. 5. Check z(ℓ) = z(ℓ)1 and z(r) = z(r)r . • Rφ(h, (z, [ωi]ri=1, [(zi, Ui, ui)]ri=1, vk, U, π))
프로젝트로 돌아가기