Belay – formal verification for SQLite migrations and queries in Lean 4
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Belay is a Lean 4 library, released as v0.2.0 on Lean 4.34.1, for formally verifying SQLite schemas, queries and migrations. Users write SQL, state a property such as "this migration preserves this query's results," and either get a counterexample database found by search or a proof checked by Lean's kernel.…