Clap: a Semantic-Preserving Optimizing eDSL for Plonkish Proof Systems

Plonkish is a popular circuit format for developing zero-knowledge proof systems that powers a number of major projects in the blockchain space, responsible for holding billions of dollars and processing millions of transactions per day. These projects, including zero-knowledge rollups, rely on high...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Stronati, Marco, Firsov, Denis, Locascio, Antonio, Livshits, Benjamin
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Stronati, Marco
Firsov, Denis
Locascio, Antonio
Livshits, Benjamin
description Plonkish is a popular circuit format for developing zero-knowledge proof systems that powers a number of major projects in the blockchain space, responsible for holding billions of dollars and processing millions of transactions per day. These projects, including zero-knowledge rollups, rely on highly hand-optimized circuits whose correctness comes at the cost of time-consuming testing and auditing. In this paper, we present Clap, the first Rust eDSL with a proof system agnostic circuit format, facilitating extensibility, automatic optimizations, and formal assurances for the resultant constraint system. Clap casts the problem of producing Plonkish constraint systems and their witness generators as a semantic-preserving compilation problem. Soundness and completeness of the transformation guarantees the absence of subtle bugs caused by under- or over-constraining. Our experimental evaluation shows that its automatic optimizations achieve better performance compared to manual circuit optimization. The optimizer can also be used to automatically derive custom gates from circuit descriptions.
doi_str_mv 10.48550/arxiv.2405.12115
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2405_12115</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2405_12115</sourcerecordid><originalsourceid>FETCH-arxiv_primary_2405_121153</originalsourceid><addsrcrecordid>eNpjYJA0NNAzsTA1NdBPLKrILNMzMjEw1TM0MjQ05WRwc85JLLBSSFQITs1NzCvJTNYNKEotTi0qy8xLV_AvKMnMzawCMVNdgn0U0vKLFAJy8vOyM4szFAKK8vPTFIIri0tSc4t5GFjTEnOKU3mhNDeDvJtriLOHLtjG-IKizNzEosp4kM3xYJuNCasAAB90OFk</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Clap: a Semantic-Preserving Optimizing eDSL for Plonkish Proof Systems</title><source>arXiv.org</source><creator>Stronati, Marco ; Firsov, Denis ; Locascio, Antonio ; Livshits, Benjamin</creator><creatorcontrib>Stronati, Marco ; Firsov, Denis ; Locascio, Antonio ; Livshits, Benjamin</creatorcontrib><description>Plonkish is a popular circuit format for developing zero-knowledge proof systems that powers a number of major projects in the blockchain space, responsible for holding billions of dollars and processing millions of transactions per day. These projects, including zero-knowledge rollups, rely on highly hand-optimized circuits whose correctness comes at the cost of time-consuming testing and auditing. In this paper, we present Clap, the first Rust eDSL with a proof system agnostic circuit format, facilitating extensibility, automatic optimizations, and formal assurances for the resultant constraint system. Clap casts the problem of producing Plonkish constraint systems and their witness generators as a semantic-preserving compilation problem. Soundness and completeness of the transformation guarantees the absence of subtle bugs caused by under- or over-constraining. Our experimental evaluation shows that its automatic optimizations achieve better performance compared to manual circuit optimization. The optimizer can also be used to automatically derive custom gates from circuit descriptions.</description><identifier>DOI: 10.48550/arxiv.2405.12115</identifier><language>eng</language><subject>Computer Science - Cryptography and Security</subject><creationdate>2024-05</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2405.12115$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2405.12115$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Stronati, Marco</creatorcontrib><creatorcontrib>Firsov, Denis</creatorcontrib><creatorcontrib>Locascio, Antonio</creatorcontrib><creatorcontrib>Livshits, Benjamin</creatorcontrib><title>Clap: a Semantic-Preserving Optimizing eDSL for Plonkish Proof Systems</title><description>Plonkish is a popular circuit format for developing zero-knowledge proof systems that powers a number of major projects in the blockchain space, responsible for holding billions of dollars and processing millions of transactions per day. These projects, including zero-knowledge rollups, rely on highly hand-optimized circuits whose correctness comes at the cost of time-consuming testing and auditing. In this paper, we present Clap, the first Rust eDSL with a proof system agnostic circuit format, facilitating extensibility, automatic optimizations, and formal assurances for the resultant constraint system. Clap casts the problem of producing Plonkish constraint systems and their witness generators as a semantic-preserving compilation problem. Soundness and completeness of the transformation guarantees the absence of subtle bugs caused by under- or over-constraining. Our experimental evaluation shows that its automatic optimizations achieve better performance compared to manual circuit optimization. The optimizer can also be used to automatically derive custom gates from circuit descriptions.</description><subject>Computer Science - Cryptography and Security</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNpjYJA0NNAzsTA1NdBPLKrILNMzMjEw1TM0MjQ05WRwc85JLLBSSFQITs1NzCvJTNYNKEotTi0qy8xLV_AvKMnMzawCMVNdgn0U0vKLFAJy8vOyM4szFAKK8vPTFIIri0tSc4t5GFjTEnOKU3mhNDeDvJtriLOHLtjG-IKizNzEosp4kM3xYJuNCasAAB90OFk</recordid><startdate>20240520</startdate><enddate>20240520</enddate><creator>Stronati, Marco</creator><creator>Firsov, Denis</creator><creator>Locascio, Antonio</creator><creator>Livshits, Benjamin</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240520</creationdate><title>Clap: a Semantic-Preserving Optimizing eDSL for Plonkish Proof Systems</title><author>Stronati, Marco ; Firsov, Denis ; Locascio, Antonio ; Livshits, Benjamin</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-arxiv_primary_2405_121153</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Cryptography and Security</topic><toplevel>online_resources</toplevel><creatorcontrib>Stronati, Marco</creatorcontrib><creatorcontrib>Firsov, Denis</creatorcontrib><creatorcontrib>Locascio, Antonio</creatorcontrib><creatorcontrib>Livshits, Benjamin</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Stronati, Marco</au><au>Firsov, Denis</au><au>Locascio, Antonio</au><au>Livshits, Benjamin</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Clap: a Semantic-Preserving Optimizing eDSL for Plonkish Proof Systems</atitle><date>2024-05-20</date><risdate>2024</risdate><abstract>Plonkish is a popular circuit format for developing zero-knowledge proof systems that powers a number of major projects in the blockchain space, responsible for holding billions of dollars and processing millions of transactions per day. These projects, including zero-knowledge rollups, rely on highly hand-optimized circuits whose correctness comes at the cost of time-consuming testing and auditing. In this paper, we present Clap, the first Rust eDSL with a proof system agnostic circuit format, facilitating extensibility, automatic optimizations, and formal assurances for the resultant constraint system. Clap casts the problem of producing Plonkish constraint systems and their witness generators as a semantic-preserving compilation problem. Soundness and completeness of the transformation guarantees the absence of subtle bugs caused by under- or over-constraining. Our experimental evaluation shows that its automatic optimizations achieve better performance compared to manual circuit optimization. The optimizer can also be used to automatically derive custom gates from circuit descriptions.</abstract><doi>10.48550/arxiv.2405.12115</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2405.12115
ispartof
issn
language eng
recordid cdi_arxiv_primary_2405_12115
source arXiv.org
subjects Computer Science - Cryptography and Security
title Clap: a Semantic-Preserving Optimizing eDSL for Plonkish Proof Systems
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-26T15%3A15%3A21IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Clap:%20a%20Semantic-Preserving%20Optimizing%20eDSL%20for%20Plonkish%20Proof%20Systems&rft.au=Stronati,%20Marco&rft.date=2024-05-20&rft_id=info:doi/10.48550/arxiv.2405.12115&rft_dat=%3Carxiv_GOX%3E2405_12115%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true