Trendoday

Show HN: Belay – formal verification for SQLite migrations and queries in Lean 4

0 comments

  • Points4
  • Comments0
–Rank now
#25Peak rank
1Days on list
28Score · 7d
Nov 18, 2026First seen
Rank · 7 days

On Hacker News

Hi, I'm Tzanko and I'm the author of Belay. Belay is a Lean 4 library for doing formal verification of SQLite queries and migrations. It implements a semantic model of a subset of SQLite, validated by differential tests that compare the output against native SQLite. With Belay I wanted to see how difficult it is to use formal verification for everyday development tasks. It turns out it can be made not much harder than writing an integration test: you state the claim, the agent writes the…

Points
4
Comments
0
Submitted by
neprotivo
Posted
Nov 17, 2026
Site
github.com

Story details from Hacker News ↗ · linked article on github.com.

Trending history

Show HN: Belay – formal verification for SQLite migrations and queries in Lean 4 was first seen on Hacker News · Show HN on Nov 18, 2026. Since then it has appeared in 11 checks on 1 different day. Its best position was #25 of 30, reached on Nov 18, 08:22 UTC. It dropped off the list after Nov 18, 13:22 UTC.

Rank history

Position on Hacker News · Show HN at every check (lower is better).

#1#11#20#30 08:2209:3710:5212:0713:22 Nov 18, 08:22 UTC · #25Nov 18, 08:52 UTC · #25Nov 18, 09:22 UTC · #26Nov 18, 09:52 UTC · #26Nov 18, 10:22 UTC · #27Nov 18, 10:52 UTC · #26Nov 18, 11:22 UTC · #26Nov 18, 11:52 UTC · #26Nov 18, 12:22 UTC · #27Nov 18, 12:52 UTC · #26Nov 18, 13:22 UTC · #30

Last 14 days

Best rank per day (UTC).

Nov 7today

Metric history

Platform metric as reported by Hacker News.

0134 08:2209:3710:5212:0713:22 Nov 18, 08:22 UTC · 4Nov 18, 08:52 UTC · 4Nov 18, 09:22 UTC · 4Nov 18, 09:52 UTC · 4Nov 18, 10:22 UTC · 4Nov 18, 10:52 UTC · 4Nov 18, 11:22 UTC · 4Nov 18, 11:52 UTC · 4Nov 18, 12:22 UTC · 4Nov 18, 12:52 UTC · 4Nov 18, 13:22 UTC · 4

Questions

Is Show HN: Belay – formal verification for SQLite migrations and queries in Lean 4 trending on Show HN right now?

Not at the moment. It was last on the list on Nov 18, 13:22 UTC, after 1 day of trending.

What is the highest rank Show HN: Belay – formal verification for SQLite migrations and queries in Lean 4 reached?

#25 on Hacker News · Show HN, on Nov 18, 08:22 UTC. Trendoday checks this list every 30 minutes.

How long has Show HN: Belay – formal verification for SQLite migrations and queries in Lean 4 been trending?

It was first seen on Nov 18, 2026 and has been on the list on 1 day (11 checks) since.

How much discussion did it get on Hacker News?

4 points and 0 comments; submitted by neprotivo on Nov 17, 2026.