#formalVerification

2025-06-29

hmmm, if Cloudflare's Orange has been modeled in TLA+ for formal verification, has Signal been?

#signal #signalmessenger #cryptography #formalverification #TLAplus

Jan :rust: :ferris:janriemer@floss.social
2025-06-22

@d10c4n3

Yes, this is another issue with the current #LLM architecture: they can't learn or improve. It's one big monolith - not composed of smaller parts (that could individually be improved or composed with each other).

There _are_ AI architectures that are _actually reliable_...

floss.social/@janriemer/114454

...but our industry has decided to hyperfocus on bullshit machines.

@larsmb

#ArtificialIntelligence #FormalVerification

2025-06-17

Cryspen is excited to announce it has been awarded a grant from the Ethereum Foundation to extend our hax verification toolchain with support for the Lean prover. Watch this space for more on this soon!

#FormalVerification #Lean #Rust

theruran ๐Ÿ’ป ๐ŸŒ :cereal_killer:theruran@masto.hackers.town
2025-06-14

Writing a Verified Postfix Expression Calculator (in Ada+SPARK)

pyjarrett.github.io/2025/06/10

#Ada #SPARK #formalVerification #Forth

Jan :rust: :ferris:janriemer@floss.social
2025-06-06

Owi

github.com/OCamlPro/owi

Symbolic execution for #Wasm, #C, C++, #Rust and #Zig

"#Owi is an open-source framework for advanced #WebAssembly analysis and manipulation, with a focus on practical symbolic execution and robust tooling. It is designed for researchers, engineers, programming language enthusiasts and practitioners requiring precise, flexible, and extensible support program reasoning."

#FormalVerification #SoftwareTesting #Testing #SoftwareEngineering #RustLang #ZigLang

theruran ๐Ÿ’ป ๐ŸŒ :cereal_killer:theruran@masto.hackers.town
2025-06-06

this is the bizness THE BIZNESS!! :cereal_killer:

The NVIDIA SPARK Process (GFDL v1.3) describing a software process using Ada/SPARK to meet ISO 26262.
nvidia.github.io/spark-process

#Ada #SPARK #formalVerification

Jan :rust: :ferris:janriemer@floss.social
2025-06-03

@sabik @dequbed @eniko @pixel

Totally agree! Unit tests and usage of #LLMs in that area are a bad combo (both for implementation and tests).

However, I'd like to give you some "food for thought":
What if the LLM was generating code against a (human written) #proof?

See this blog post, where they've written a proof with #Kani, a model checker in #Rust and let the #LLM generate the implementation until the proof passes:

model-checking.github.io/kani-

#FormalVerification #RustLang

2025-06-03

"Fields ๐— ๐—ฒ๐—ฑ๐—ฎ๐—น๐—ถ๐˜€๐˜ ๐—ง๐—ฒ๐—ฟ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—ง๐—ฎ๐—ผ ๐—ต๐—ฎ๐˜€ ๐—ฎ๐—ป๐—ป๐—ผ๐˜‚๐—ป๐—ฐ๐—ฒ๐—ฑ ๐—ฎ๐—ป ๐—ฒ๐˜…๐—ฐ๐—ถ๐˜๐—ถ๐—ป๐—ด ๐—ป๐—ฒ๐˜„ ๐—ฝ๐—ฟ๐—ผ๐—ท๐—ฒ๐—ฐ๐˜ ๐—ฏ๐—ฟ๐—ถ๐—ฑ๐—ด๐—ถ๐—ป๐—ด #FormalVerification and #MathematicsEducation: A #LeanLang companion to his foundational textbook ๐˜ˆ๐˜ฏ๐˜ข๐˜ญ๐˜บ๐˜ด๐˜ช๐˜ด ๐˜."
bit.ly/4dNxX1d

Jan :rust: :ferris:janriemer@floss.social
2025-05-22

People of ACM - Derek Dreyer

acm.org/articles/people-of-acm

"Derek Dreyer is a Scientific Director at the Max Planck Institute for Software Systems (MPI-SWS) [...]. His [...] interests include type systems, semantics of programming languages, verification of concurrent programs, and interactive theorem proving. [...] His goal is โ€œto produce rigorous formal foundations for establishing the safety and reliability of software systems.โ€"

#FormalVerification #Rust #RustLang #SoftwareEngineering

Jan :rust: :ferris:janriemer@floss.social
2025-05-19

HACL*, a formally verified cryptographic library written in F*

github.com/hacl-star/hacl-star

#FStar #FStarLang #Cryptography #FormalVerification

Jan :rust: :ferris:janriemer@floss.social
2025-05-19

Flux:

flux-rs.github.io/flux/

Flux is a refinement type checker for #Rust that lets you specify a range of correctness properties and have them be verified at compile time.

Crazy! :awesome:

#FormalVerification #RustLang

Jan :rust: :ferris:janriemer@floss.social
2025-05-19

(โยดโ—ก`โ)

#Rust pattern types RFC:
gist.github.com/joboet/0cecbce

Pattern types are a form of refinement types, which allow some subset of #FormalVerification!

en.wikipedia.org/wiki/Refineme

Tracking Issue for #PatternTypes:
github.com/rust-lang/rust/issu

Tracking Issue for generic pattern types OwO:
github.com/rust-lang/rust/issu

Implement minimal, internal-only pattern types in the type system:
github.com/rust-lang/rust/pull

I'm _really_ looking forward to how #RustLang will evolve in this area!๐Ÿ‘€

#ProgrammingLanguage

The Department of Computer Science, University of Oxford has released recordings of the recent Strachey Series Lectures featuring Leo de Moura and Kevin Buzzard:

1๏ธโƒฃ "Formalizing the Future: Lean's Impact on Mathematics, Programming, and AI" - Leo de Moura, Chief Architect of Lean

Leo discusses how Lean provides a framework for machine-checkable mathematical proofs and code verification, enabling collaboration between mathematicians, software developers, and AI systems. He also outlines the work the Lean Focused Research Organization does to expand Leanโ€™s capabilities and support the community.

โžก๏ธ Watch Leo's lecture here: podcasts.ox.ac.uk/formalizing-

2๏ธโƒฃ "Will Computers Prove Theorems?" with Kevin Buzzard, Professor of Mathematics, Imperial College

Kevin examines the potential for AI systems and theorem provers to assist in mathematical discovery, addressing whether computers might someday find patterns in mathematics that humans have missed, and discusses the integration of language models with formal verification systems.

โžก๏ธ Watch Kevin's lecture here: podcasts.ox.ac.uk/will-compute

#LeanLang #LeanProver #FormalVerification #Mathematics #AI #TheoremProving #OxfordCS

The Lean FRO team met synchronously in Amsterdam last week for our annual team retreat, and to discuss upcoming work and our Year 3 roadmap! ๐Ÿ‡ณ๐Ÿ‡ฑโœจ

We had very productive discussions around Lean's future in mathematics, software and hardware verification, and AI for math. It was energizing to see our team's commitment to Lean's continued growth in each of these domains.

We're cooking up many exciting developments that will support both our mathematical community and our growing base of software verification users. Stay tuned for our full Y3 roadmap publication at the end of July!

#LeanLang #LeanProver #Lean4 #FormalVerification #Programming #Mathematics #TheoremProving

The Lean logo in uppercase letters with backwards E, representing the mathematical symbol "there exists", and upside down A, representing the mathematical symbol "for all".
Jan :rust: :ferris:janriemer@floss.social
2025-05-07

Wow, #FuzzTesting/ #PropertyTesting is actually harder than doing an automatic proof.๐Ÿ˜“

I didn't expect that!๐Ÿ˜ฎ

#SoftwareEngineering #Unexpected #Testing #FormalVerification

Jan :rust: :ferris:janriemer@floss.social
2025-05-05
Jan :rust: :ferris:janriemer@floss.social
2025-05-03

F* (fstar) Interactive Tutorial:

fstar-lang.org/tutorial/

I'm only like 10% into the tutorial, but this language is CRAZY (fun)! :awesome: ๐Ÿ˜„

I try to learn the fundamentals of it, so I can use the backend of it in #Aeneas... so I can ultimately formally verify my #Rust crate (former attempts with #Creusot and #Kani failed for me).

Aeneas:
github.com/AeneasVerif/aeneas

See part two of toot for a toy example of proving function equivalence

1/2

#FormalVerification #FunctionalProgramming #RustLang

Jan :rust: :ferris:janriemer@floss.social
2025-05-02

Huh, seems like I really have been living on the bleeding edge (of #FormalVerification):

github.com/creusot-rs/creusot/

The verification in the prev toot is currently not possible in #Creusot due to missing specs for the `Hash` trait and HashMap more broadly. ๐Ÿ˜”

Oh well, seems like (at least currently!) I won't be able to fully verify the diffing algorithm of #CSVDiff.๐Ÿฅบ

Options I have now are:
- Only verify parts of the algorithm (that don't depend on HashMap ops)
or
- Use fuzzing/property testing

Josรฉ A. AlonsoJose_A_Alonso@mathstodon.xyz
2025-04-27

AI for program verification. ~ Cristian Cadar, Abhik Roychoudhury. openreview.net/pdf?id=5t9HFssP #AI #FormalVerification

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst