Building a React App with Formally Verified State

16 points by heyyfernanda


amw-zero

First of all, generically, this is awesome. I am going to upvote any formal verification of a “real” app, which excites me way more than simple examples.

Specifically, I like the approach of compiling the verified “kernel” and wrapping it in a small binding layer to make it callable from the application. I’ve played around a lot with architectures for verification and this is what I end up with often.

I like the example as well because the invariant is interesting enough and shows the power of invariants: preserving the moods and harmonies is nontrivial, but defining their validity is straightforward. This in exactly where invariants are most useful, because they’re decently simple to write down, and they catch a practically infinite amount of bugs for you.

Next, let’s verify an app with network requests!!