Igor Konnov | konnov.phd's Avatar

Igor Konnov | konnov.phd

@k0nn0v.bsky.social

Melting formal methods into blockchain security

13 Followers  |  29 Following  |  10 Posts  |  Joined: 02.12.2024  |  1.3997

Latest posts by k0nn0v.bsky.social on Bluesky


Interactive Symbolic Testing of TFTP with TLA+ and Apalache Author: Igor Konnov

A new blog post on: connecting a TLA+ specification to real protocol code using Apalache + Z3, generating tests symbolically and executing them interactively against multiple TFTP implementations. Bootstrapping the test harness with Claude.

protocols-made-fun.com/tlaplus/2025...

16.12.2025 15:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

What value is your formal spec if it's totally disconnected from the implementation?

Follow the thread...

#tlaplus #testing #smt #protocols

16.12.2025 15:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Specifying and simulating two-phase commit in Lean4 Author: Igor Konnov

Sunday long read: Specifying and simulating two-phase commit in Lean4.

protocols-made-fun.com/lean/2025/04...

27.04.2025 07:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

</end-of-thread>

17.01.2025 08:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

This work was done by @audithare, Jure Kukovec, @robsaltini, @thanh_hai_tran, and myself. We thank @luca_zanolini and @fradamt for fruitful discussions and @ethereumfndn and @ef_esp for the grant under the 2024 Academic Grants Round!

17.01.2025 08:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

We have introduced several levels of abstractions, to avoid layers of graph problems, hidden inside. We ran Apalache+Z3, Alloy+Kissat, CVC5, for hours and days. It took many iterations, obviously, we found bugs in our specs as well. In the end, accountable safety held through.

17.01.2025 08:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Accountable safety was hard to think about, also to automatically reason about, as we found. We put our energy there. Our most direct translation from Python to TLA+ was good enough for finding examples, but showing safety for all combinations was too much for the tools.

17.01.2025 08:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

We started with the Python specification of 3SF that was recently designed by @luca_zanolini @fradamt @robsaltini @thanh_hai_tran (see the tweet).
x.com/luca_zanoli...

17.01.2025 08:04 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Technical Report: Exploring Automatic Model-Checking of the... We investigate automated model-checking of the Ethereum specification, focusing on the Accountable Safety property of the 3SF consensus protocol. We select 3SF due to its relevance and the unique...

Thinking about distributed algorithms like consensus and their properties is hard. Too many combinations to consider, too easy to give up. Faults make it even worse 🀯 Check our recent report [arxiv.org/abs/2501.07958] for #Ethereum on how model checkers and solvers can help us 🧡

17.01.2025 08:04 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Copilot definitely helps me to quickly write some experimental code in the languages I am not proficient in. It shortens the documentation and google lookups. Sometimes, the produced code is pure garbage, though :)

14.01.2025 18:42 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@k0nn0v is following 20 prominent accounts