LemmaScript, a verification toolchain for TypeScript via Dafny
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I created LemmaScript to compile TypeScript to a verification backend (Dafny or Lean) and prove properties on the systematically derived model. I'll keep developing this, but I have a few case studies already, and it looks quite promising, with the caveat that each case study pushed the development of the core further. I can support both greenfield and brownfield projects, and in many cases, verification can be in-place: the TypeScript source is just annotated and verified independently but runs as is.
HN · launched Apr 21, 2026 · 5 upvotes (top 89%) · 0 views
Niche: code and binary analysis tools · 118 launches, 4 in the last 7 days ▼ -56% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 118 launches in code and binary analysis tools →
Could you build this?
No Compiling dynamic TypeScript ASTs to formal verification languages like Dafny or Lean requires advanced compiler theory and formal semantics verification expertise.
What it would actually take: Building this requires designing a formal intermediate verification language, parsing TypeScript via Babel/swc, handling the impedance match between dynamic, mutable JavaScript semantics and purely functional or axiomatic proof targets (Dafny/Lean), and automatically synthesizing frame conditions and invariant specifications. This demands PhD-level expertise in programming languages, formal semantics, and SMT-backed verification tools.
Discussion
No comments on this launch.
Competitors
Other products that read as similar to this one : 181 launches clear the similarity bar, closest 8 shown.
Attention rank: #163 of 182 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 171 days after the earliest competitor.
- Typical is TypeScript with type-safety at runtime · hn · 2026-01-11 · 8 upvotes · similarity 0.49
- soml-typescript-types · github · 2026-11-01 · 13 upvotes · similarity 0.46
- Suites · hn · 2025-11-04 · 19 upvotes · similarity 0.44
- TypeScript 6.0 · ph · 2026-03-24 · 156 upvotes · similarity 0.44
- FP-pack · hn · 2026-01-03 · 14 upvotes · similarity 0.44
- TheoremSmith: Mass-Producing Hard Proof Problems to Train LLMs · hn · 2026-11-10 · 10 upvotes · similarity 0.43
- SharpTS · hn · 2026-01-09 · 6 upvotes · similarity 0.43
- Deslop · hn · 2026-10-13 · 32 upvotes · similarity 0.43
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.