开发者发布 Lasm:在 Lean 中编写可形式化验证的 Web 应用
Show HN: Lasm – Write formally verified webapps in Lean for Node/serverless/edge
开发者 lastmjs 发布 Lasm,将 Lean 带到浏览器、Node、serverless 和 edge 环境,让用户可以用 Lean 编写从前端到后端的 Web 应用并对其规范做形式化验证,例如在 Cloudflare Workers 上运行带形式化验证规范的 Express 或 Hono 服务器。作者表示 Lasm 主要由 Claude Opus 5.5 在其高层方向指导下构建。
作者说明 Lasm 主要由 Claude Opus 5.5 在其高层指导下构建,为观察 AI 参与形式化验证工具链开发提供了具体案例。
Lasm has been my dream for a good part of 2026. I firmly believe that formal verification is the next evolution of software engineering and programming languages. This next wave will largely be enabled by the incredibly intelligent LLMs that understand formal verification and its programming languages.
Lean is one of the most popular languages that allow for formal verification, and to me is incredibly powerful because it is a general purpose programming language with formal verification built directly into it.
You can build general purpose software in Lean, and formally verify it in Lean. Amazing.
Lasm brings Lean to the browser, Node, serverless, and edge environments (and more). The idea is that you can now write web apps, frontend to backend, in Lean and formally verify these apps.
Imagine an Express server or Hono server, running on Cloudflare Workers, with formal verification of its specification.
I'm an agentic engineer with an emphasis in software engineering, and Lasm was built mostly by Claude Opus 5.5 with my high-level direction.
来源:Hacker News · 首页 · news.ycombinator.com