logoalt Hacker News

bmitc • yesterday at 3:56 AM • 2 replies • view on HN

What is a TCB in Lean or formal verification?


Replies

sunshowers • yesterday at 4:08 AM

The core set of things that, if you assume they are correct, the proof holds.

For a non-Lean example, a memory-safe language like Rust has unsafe code that forms its TCB. Assuming that the unsafe code is correct, safe Rust can't cause undefined behavior.

➕ show 1 reply