Consensus protocols are crucial for a blockchain system as they are what allow agreement between the system's nodes in a potentially adversarial environment. For this reason, it is paramount to ensure their correct design and implementation to prevent such adversaries from carrying out malicious behaviour. Formal verification allows us to ensure the correctness of such protocols, but requires high levels of effort and expertise to carry out and thus is often omitted in the development process. In this paper, we present IsabeLLM, a tool that integrates the proof assistant Isabelle with a Large Language Model to assist and automate proofs. We demonstrate the effectiveness of IsabeLLM by using it to develop a novel model of Bitcoin's Proof of Work consensus protocol and verify its correctness. We use the DeepSeek R1 API for this demonstration and found that we were able to generate correct proofs for each of the non-trivial lemmas present in the verification.


翻译:共识协议对于区块链系统至关重要,因为它们使得系统节点在潜在敌对环境中能够达成一致。因此,确保其设计与实现的正确性以防止恶意行为至关重要。形式化验证能够确保此类协议的正确性,但执行过程需要高度的努力与专业知识,因此在开发过程中常被忽略。本文提出IsabeLLM,一种将证明辅助工具Isabelle与大型语言模型集成以辅助和自动化证明的工具。我们通过使用IsabeLLM开发比特币工作量证明共识协议的新颖模型并验证其正确性,展示了该工具的有效性。本次演示使用了DeepSeek R1 API,并发现我们能够为验证中存在的每个非平凡引理生成正确的证明。

0
下载
关闭预览

相关内容

区块链技术在指控装备领域的应用
专知会员服务
39+阅读 · 2023年10月30日
面向端边云协同架构的区块链技术综述
专知会员服务
49+阅读 · 2021年12月24日
专知会员服务
30+阅读 · 2021年9月30日
专知会员服务
50+阅读 · 2021年4月9日
专知会员服务
31+阅读 · 2021年3月7日
专知会员服务
66+阅读 · 2021年1月25日
《“边缘计算+”技术白皮书》,82页pdf
专知
11+阅读 · 2022年8月28日
智能合约的形式化验证方法研究综述
专知
16+阅读 · 2021年5月8日
【资源】Blockchain 区块链中文资源阅读列表
技术动态 | 知识图谱上的实体链接
开放知识图谱
69+阅读 · 2019年9月8日
区块链隐私保护研究综述——祝烈煌详解
计算机研究与发展
23+阅读 · 2018年11月28日
国家自然科学基金
1+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
13+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
VIP会员
相关VIP内容
区块链技术在指控装备领域的应用
专知会员服务
39+阅读 · 2023年10月30日
面向端边云协同架构的区块链技术综述
专知会员服务
49+阅读 · 2021年12月24日
专知会员服务
30+阅读 · 2021年9月30日
专知会员服务
50+阅读 · 2021年4月9日
专知会员服务
31+阅读 · 2021年3月7日
专知会员服务
66+阅读 · 2021年1月25日
相关基金
国家自然科学基金
1+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
13+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
5+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员