275 karma · joined Dec 11, 2011 (14y ago) · 70 submissions
comment 2w ago · link · parent
It seems the work of Google involved more experts work, although it might be more about how things are presented. Also this work on Signal contains a substantial specification and verification of the cryptographic protocol, something requiring specialists of the field. On the Anthropic & Theorem side, the specification is more general (and hence lighter): memory safety and absence of assert failures. They target also various software instead of Signal in particular.
comment 2mo ago · link · parent
comment 10mo ago · link · parent
So in the end I think there will still be some disappointment, as one would expect it should be fully automated and only about reading the code, like this article suggests. In reality, I think it is harder than writing code.
comment 10mo ago · link · parent
Interestingly, this can be integrated into production system to quickly formally verify critical components while being fully compatible with the existing Bloomberg's C++ codebase.
9.
Extracting verified C++ from the Rocq theorem prover at Bloomberg(bloomberg.github.io ↗)
129 points · by clarus · 10mo ago · 39 comments
comment 2y ago · link · parent
Thus we can provide a path for people who are ready to sacrifice performance for proofs. I guess that immutable Rust is simpler to verify with the other systems too.
comment 2y ago · link · parent
If a program has a loop we show that it terminates by constructing an execution trace. Note that we do not yet consider concurrency, so programs are deterministic.
comment 2y ago · link · parent
Our main hope with the translation to Coq of the standard library is to get a formalization of it, so that we can precisely verify Rust programs calling core and alloc.
comment 2y ago · link · parent
Compared to Aeneas the goal is very similar as we want to verify Rust programs using interactive theorem provers. However, with coq-of-rust we write the purely functional version of the code (the one on which we make proofs) by hand, or with the help of some GitHub Copilot as this is rather repetitive, and prove it equivalent with the automatic translation. In Aeneas the aim is to directly generate a functional version.
We handle all the pointers as if they were mutable pointers (the `*` type). We do not use any information from Rust's borrow checker, which simplifies the translation, but we pay that at proof time.
To reason about pointers in the proofs, we let the user provide a custom allocator that can be designed depending on how the memory will be used. For example, if the program uses three global mutable variables, the memory can be a record with three entries. These entries are initially `None` to represent when they are not yet allocated. We do not yet know how this technique can scale, but at least we can avoid separation logic reasoning for now. We hope that most of the programs we will verify have a rather "simple" memory discipline, especially on the application side.
comment 2y ago · link · parent
However, we also lose some information going to MIR, as there are no expressions/loops from the original code anymore. There are still ways to reconstruct these, but we preferred to use the THIR representation directly.
comment 2y ago · link · parent
Indeed this would be a nice process to verify coq-of-rust. Also, although the code is rather short, we depend on the Rust compiler to parse and type-check the input Rust code. So that would need to be also verified, or at least formally specified without doing the proofs, and the API of rustc is rather large and unstable. It could still be a way to get more insurance.
comment 4y ago · link · parent
At Formal Land we apply formal verification to everyday-life programs. Our key technique is to translate programming code into similar formal Coq code, and do our formal specifications/proofs directly on it. As our main customer, we are formally verifying the implementation of the cryptocurrency Tezos: https://nomadic-labs.gitlab.io/coq-tezos-of-ocaml/ This amounts to the verification of around 50,000 lines of code.
Open roles:
* Coq proof engineer: https://formal.land/assets/files/formal-verification-ocaml-f...
Tech Stack: Coq, OCaml, Haskell, Rust, TypeScript
Twitter: https://twitter.com/LandFoobar
Thanks.
comment 5y ago · link · parent
(this is mailing list)
Here are some other links related to the discussion:
* wiki, where anyone can add proposals: https://github.com/coq/coq/wiki/Alternative-names
* chat: https://coq.zulipchat.com/#narrow/stream/237655-Miscellaneou...
comment 5y ago · link · parent
* wiki, where anyone can add proposals: https://github.com/coq/coq/wiki/Alternative-names
* chat: https://coq.zulipchat.com/#narrow/stream/237655-Miscellaneou...
comment 5y ago · link · parent
> Hugo reminds of us of the history of the current logo, which is a reference to the Barcelos Coq from Portugal which Gérard Huet liked, whose shape was drawn by Julien Narboux and adapted/colored for the website by Jean-Marc Notin.
The story seems legit to me, knowing some of the people. I believe there were no jokes in the logo itself, but could be wrong. This was from a time where research projects had many hand-made logos.
comment 6y ago · link · parent
To attack Russian bases they even use swarms of suicide planes: https://www.bellingcat.com/news/mena/2018/01/12/the_poor_man...