We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.FL

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Formal Languages and Automata Theory

Title: Data-Flow-Based Normalization Generation Algorithm of R1CS for Zero-Knowledge Proof

Abstract: The communities of blockchains and distributed ledgers have been stirred up by the introduction of zero-knowledge proofs (ZKPs). Originally designed to solve privacy issues, ZKPs have now evolved into an effective remedy for scalability concerns and are applied in Zcash (internet money like Bitcoin). To enable ZKPs, Rank-1 Constraint Systems (R1CS) offer a verifier for bi-linear equations. To accurately and efficiently represent R1CS, several language tools like Circom, Noir, and Snarky have been proposed to automate the compilation of advanced programs into R1CS. However, due to the flexible nature of R1CS representation, there can be significant differences in the compiled R1CS forms generated from circuit language programs with the same underlying semantics. To address this issue, this paper uses a data-flow-based R1CS paradigm algorithm, which produces a standardized format for different R1CS instances with identical semantics. By using the normalized R1CS format circuits, the complexity of circuits' verification can be reduced. In addition, this paper presents an R1CS normalization algorithm benchmark, and our experimental evaluation demonstrates the effectiveness and correctness of our methods.
Comments: 10pages, 8 figures, a shorter version is accepted by PRDC 2023
Subjects: Formal Languages and Automata Theory (cs.FL); Cryptography and Security (cs.CR); Programming Languages (cs.PL); Software Engineering (cs.SE)
Cite as: arXiv:2309.04274 [cs.FL]
  (or arXiv:2309.04274v2 [cs.FL] for this version)

Submission history

From: Guoqiang Li [view email]
[v1] Fri, 8 Sep 2023 11:52:11 GMT (1320kb,D)
[v2] Sat, 16 Sep 2023 13:21:48 GMT (1320kb,D)

Link back to: arXiv, form interface, contact.