arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.08858cs.LOcs.CRcs.SC
收藏

零知识电路的形式化验证

Formal Verification of Zero-Knowledge Circuits

Alessandro Coglio, Eric McCarthy, Eric W. Smith

AI总结:

本文提出形式化框架、ACL2库及工具,验证零知识电路正确性,引入PFCS形式化支持组合验证,并发现现有系统缺陷。

摘要:

零知识电路是在素数域上解释的算术表达式上的等式约束集合;它们用于在密码学零知识证明中对计算进行编码。我们针对确保电路正确编码计算这一问题做出以下贡献:一个电路正确性的形式化框架;一个用于素数域的ACL2库;一个用于表示电路的现有R1CS(秩一约束系统)形式化的ACL2模型,以及用于验证此类电路的ACL2和Axe工具;一种新颖的PFCS(素数域约束系统)形式化,用于表示分层结构的电路,以及其ACL2模型和用于以组合且可扩展的方式验证此类电路的ACL2工具;对从简单到复杂的电路的验证;以及在现有零知识系统中发现错误和优化。

英文摘要:

Zero-knowledge circuits are sets of equality constraints over arithmetic expressions interpreted in a prime field; they are used to encode computations in cryptographic zero-knowledge proofs. We make the following contributions to the problem of ensuring that a circuit correctly encodes a computation: a formal framework for circuit correctness; an ACL2 library for prime fields; an ACL2 model of the existing R1CS (Rank-1 Constraint Systems) formalism to represent circuits, along with ACL2 and Axe tools to verify circuits of this form; a novel PFCS (Prime Field Constraint Systems) formalism to represent hierarchically structured circuits, along with an ACL2 model of it and ACL2 tools to verify circuits of this form in a compositional and scalable way; verification of circuits, ranging from simple to complex; and discovery of bugs and optimizations in existing zero-knowledge systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑