dorsal/arxiv
View SchemaTowards Automating Blockchain Consensus Verification with IsabeLLM
| Authors | Elliot Jones, William Knottenbelt |
|---|---|
| Categories | |
| ArXiv ID | 2601.07654vv1 |
| URL | https://arxiv.org/abs/2601.07654 |
| License | http://arxiv.org/licenses/nonexclusive-distrib/1.0/ |
Abstract
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.
{
"annotation_id": "2ad66418-4fcd-439f-808f-f628927af160",
"date_created": "2026-02-17T05:53:12.482000Z",
"date_modified": "2026-02-17T05:53:12.482000Z",
"file_hash": "65b4da13636152ae122a48efddc63f116f1b08f2018c4d30644876c3ce6edeea",
"private": false,
"record": {
"abstract": "Consensus protocols are crucial for a blockchain system as they are what allow agreement between the system\u0027s 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\u0027s 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.",
"arxiv_id": "2601.07654",
"authors": [
"Elliot Jones",
"William Knottenbelt"
],
"categories": [
"cs.CR",
"cs.AI"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"title": "Towards Automating Blockchain Consensus Verification with IsabeLLM",
"url": "https://arxiv.org/abs/2601.07654",
"version": "v1"
},
"schema_id": "dorsal/arxiv",
"source": {
"execution_id": "42900ebe-d5ab-4e8e-9232-fa1b5d2dadb8",
"id": "arXiv Dataset",
"type": "Model",
"variant": "snapshot-2026-01-17",
"version": "0.1.0"
},
"user_id": 1000002
}