logoalt Hacker News

alethic • yesterday at 4:16 AM • 1 reply • view on HN

To be clear, formal verification is both with respect to a trusted computing base, and with respect to a theoretical framework. Any such guarantees from formal verification are contingent on the theorem statement being correct, the implementation of whatever framework you're using being trustable, and the meta-theory being sound.

Rust doesn't actually have a theoretical framework, as far as I'm aware. I don't think that existing work (ex. RustBelt) have come close to capturing the full extent of Rust in practice yet. As such, it's totally possible in principle for safe Rust to have theoretically unresolvable memory safety bugs... although it's pretty obvious that it like, doesn't.


Replies

sunshowers • yesterday at 4:46 AM

True — thanks!