← All projects
Project record1 mention
Originally shared on Hacker News

Lasm

Lasm brings the Lean programming language to the browser, Node, serverless, and edge environments, enabling formally verified web apps written frontend to backend in Lean.

Last shared
01 / The problem

What it addresses

Formal verification was previously impractical to apply in general-purpose software engineering; Lasm makes it practical for web apps, with the goal of replacing much of traditional test suites with Lean theorems.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Lasm

    Lasm brings the Lean programming language to the browser, Node, serverless, and edge environments, enabling formally verified web apps written frontend to backend in Lean.

    Problem: Formal verification was previously impractical to apply in general-purpose software engineering; Lasm makes it practical for web apps, with the goal of replacing much of traditional test suites with Lean theorems.

    Posted by @lastmjs · Original source ↗

    Story title · @lastmjs · · Source ↗

    Show HN: Lasm – Write formally verified webapps in Lean for Node/serverless/edge

    Submitted URL · @lastmjs · · Source ↗

    https://github.com/Millillion/lasm

    Source text · @lastmjs · · Source ↗

    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.

    Source text · @lastmjs · · Source ↗

    Imagine an Express server or Hono server, running on Cloudflare Workers, with formal verification of its specification.

    Source text · @lastmjs · · Source ↗

    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.

    Source text · @lastmjs · · Source ↗

    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.

    Source text · @lastmjs · · Source ↗

    My personal first goal is to be able to delete much of my test suites and replace them with Lean theorems.

    Source text · @lastmjs · · Source ↗

    For me Lean is the key that has unlocked the idea of formal verification for general-purpose software engineering...before it was just an amazing technology that I couldn't practically touch in my profession and personal projects. That's changed now.

    Source text · @lastmjs · · Source ↗

    Lean is a general-purpose software development language, not just a formal verification language. This is powerful.