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
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
CS Prof @ TU Wien (Vienna), prev DevAI @ Google, Probability @ Meta, Researcher @ MIT and Uni Zurich
postdoc @TU Wien, PhD from TU Munich. Fond of program synthesis and analysis, cleaning up finite-precision mess (old spelling Anastasiia Izycheva)
https://aisychev.github.io
Automated reasoning @ AWS.
https://dddejan.github.io/
Breaking distributed systems, one fault at a time.
[bridged from https://mastodon.jepsen.io/@jepsen on the fediverse by https://fed.brid.gy/ ]
fuzzing around and finding out @ https://brink.dev
Passionate about compilers & programming languages. GraalVM founder & project lead. VP at Oracle. Expressed opinions are my own. For DM: contact@thomaswue.dev
Formal Methods Europe is a worldwide association bringing together researchers and practitioners in formal methods developing computing systems and software.
Rust dev at work β’ Playing around with Swift and SwiftUI at home β’ Used to work on formal verification for Scala β’ Haskell enthusiast β’ Web dev in a previous [β¦]
[bridged from https://hachyderm.io/@romac on the fediverse by https://fed.brid.gy/ ]
Senior Staff Research Engineer in the MongoDB Distributed Systems Research Group. Photographer, Gunks climber, Zen Buddhist. Blog: https://emptysqua.re
Principal Researcher and Co-founder at Diligence Security, previously at Consensys, ETH ZΓΌrich, UT Austin, Microsoft Research, and Google
Julia REPL stan | Rust Software Performance Engineering
https://miguelraz.github.io
www.linkedin.com/in/miguel-raz-guzmΓ‘n-macedo-64895a127
Just the archive. Live account at https://bsky.app/profile/christian.geuer-pollmann.de
Serverless, databases, and serverless databases at AWS. Views my own.
Check out my blog: https://brooker.co.za/blog/
Student of complex systems failures, resilience engineering, cognitive systems engineering. Will talk your ear off about @resilienceinsoftware.org
https://cryptologie.net/ | founder of @zksecurity.bsky.social | research advisor ArchetypeVC | author of Real-World Cryptography | Previously architect for Mina (at O(1) Labs), security lead for Libra (at Facebook), cryptography services at NCC Group
Official account of the Max Planck Society. Devoted to basic #research in #physics #astronomy #chemistry #biology #earthsciences #materialscience #mathematics #socialsciences and the #humanities; Imprint: https://www.mpg.de/imprint
Creator, Founder and CEO of @tigerbeetle.com β the financial transactions database designed for mission critical safety and performance.
The financial transactions database designed to power the next 30 years of online transaction processing.
Co founder and CEO at Ackee Blockchain Security, assistant professor at CTU