New Lean use case: Veil, a multi-modal verification framework for distributed protocols.

Distributed protocols underpin critical infrastructure, yet no single verification technique is sufficient. Model checking finds bugs but can't prove correctness. SMT solvers provide push-button proofs but fail outside decidable fragments. Proof assistants handle anything but demand manual effort.

Veil integrates all three in a unified framework embedded in Lean. Write a model once, then apply concrete and symbolic model checking, SMT-based proofs, and interactive theorem proving from a single executable specification. Its semantic foundations (provided by Loom) guarantee that what the model checker executes and what the SMT solver reasons about are provably the same system. Proofs produced by external solvers are checked by Lean's kernel via Lean-SMT.

Developed by George Pîrlea, Vladimir Gladshtein, Elad Kinsbruner, Qiyuan Zhao, and Ilya Sergey at the National University of Singapore. Under active development.

See the use case page for more: https://lean-lang.org/use-cases/veil

@leanprover @nomeata I saw a very cool application yesterday itself
https://github.com/yannick-cw/korb
> suggestion engine (korb suggestion threshold) is re-implemented in Lean 4 with five mathematically proven properties: suggestions have positive frequency, are sorted descending, come from ordered and available products, exclude basket items, and respect the count limit. A Differential Random Testing bridge in the Haskell test suite generates random inputs, runs both implementations, and asserts identical output. If the Lean proofs compile and the DRT passes, the Haskell production code behaves like the proven spec. Inspired by how AWS Cedar verifies their authorization engine
GitHub - yannick-cw/korb: REWE delivery CLI

REWE delivery CLI. Contribute to yannick-cw/korb development by creating an account on GitHub.

GitHub