ɛ∞ɜɛ∞ɜ

Learn · Lasm · Platforms · 2026-11-07

AI-generated. Written by AI (Claude) from the Lasm repository and published automatically. Source · Report a mistake

Generated by scripts/evidence/page.mjs at 2026-11-21 17:45:15 UTC from commit 2c9d688395, and regenerated Monday to Saturday by evidence-page.yml. Do not edit it by hand. The same facts, machine-readable: test-evidence.json.

This page collects the evidence behind Lasm in one place. Each section has two parts:

How each layer works, and what it cannot catch, is in How Lasm is tested. How the checks are split into tiers is in CI tiers.

The exit bar: "rock solid"

Measured by CI and the repository

# Item Status Measured
1 Platforms not met 3 of 13 platforms at L3 (not: Bun / Deno at L2, Vercel Functions / Vercel Edge at L2, Netlify Functions / Netlify Edge at no level, Deno Deploy at L2, Supabase Edge Functions at L2, AWS Lambda at L2, Azure Functions at L2, Google Cloud Functions at L2, Fastly Compute at L2, WASI / wasi-http / Spin at L2)
2 Mutation met 23 of 23 modules passed at 80 % or more in the latest nightly run (lowest 80.6 %)
3 Coverage met 98.29 % of lines (138 files; the goal is 75 %); all 2 files at 0 % are named with the integration workflows that run them (docs/evidence/coverage-baseline.json)
4 Campaigns observed 0 of 30 consecutive clean nights of differential.yml, fuzz.yml, dst-nightly.yml; ended on 2026-11-21: fuzz.yml failure; fuzz.yml failure
5 Flakes met no test is quarantined, and none was since 2026-11-07 (test/quarantine.json's git history)
6 Apps not met 49 of 50 claimed platforms of 5 apps pass the app's outside oracle in CI (not: conduit on Netlify Functions)
7 Propositions not met the lint is green; 9 of 10 fuzz oracles and 44 of 44 properties name a proposition; 28 candidates, 242 proved propositions
8 Differential fuzzing met model differentials in CI: serverless-http, ui-decode, lasm-js-wire, project-files; generated feature programs: yes; coverage feedback: the latest nightly campaign reached 17,441 features in (release) (2,097 new, 382 of them by mutants of the corpus) and 20,402 features in (dev) (2,767 new, 410 of them by mutants of the corpus); generated: Thunk, ST, FloatArray, structures with many fields

About

Lasm is "rock solid" when items 1–3 and 5–8 of the exit bar hold at once. Item 4, the streak of clean nightly campaigns, is observed and reported, and never blocks anything. Each row is computed when the page is generated: from CI runs (platform levels, the nightly mutation run, unit-suite coverage and its 0 % files, the scheduled campaigns, each example app's oracle jobs on the platforms it claims) and from the repository (the quarantine list and its git history, the proposition lint's inventory, the fuzz targets that run against Lean). "Partly met" means the measured part holds and the rest is not measured yet; "not measured" means nothing measures it yet.

Platforms: how well tested

Measured by CI

Platform Level L0 L1 L2 L3
Node.js 24+ L3 yes yes yes yes
Bun / Deno L2 yes yes yes none yet
Cloudflare Workers L3 yes yes yes yes
Vercel Functions / Vercel Edge L2 yes yes yes none yet
Netlify Functions / Netlify Edge — no no no none yet
Deno Deploy L2 yes yes yes none yet
Supabase Edge Functions L2 yes yes yes none yet
AWS Lambda L2 yes yes yes none yet
Azure Functions L2 yes yes yes none yet
Google Cloud Functions L2 yes yes yes none yet
Fastly Compute L2 yes yes yes none yet
WASI / wasi-http / Spin L2 yes yes yes none yet
Browsers L3 yes yes yes yes

What keeps each platform from its next level:

About

A platform has a level when CI's jobs for it, and for every level below, succeeded in their newest run on main, at most 30 days ago. platforms.json names those jobs. The README's platform table shows the same levels.

The CI tiers: latest results

Measured by CI

Tier Workflow What it runs Latest run Result
PR differential.yml differential regressions and seeded programs, target equivalence, stack depth 2026-11-18 passed
PR fuzz.yml the fuzz corpus and regressions, replayed 2026-11-18 passed
PR tooling.yml the tooling error corpus 2026-11-18 passed
PR library-proofs.yml the library's proofs 2026-11-18 passed
PR conduit.yml Conduit: RealWorld API and E2E suites, equivalence 2026-11-18 passed
PR conduit-platforms.yml Conduit on 15 more platforms, equivalence 2026-11-18 failed
Nightly ci-nightly.yml the release suites: unit, browser, edge, Bun/Deno, WASI, UI, fullstack, dev loop, Lasm.JS stress 2026-11-21 passed
Nightly nightly.yml the upstream Lean suite and the ecosystem 2026-11-21 passed
Nightly differential.yml 60-minute differential campaigns, both profiles; macOS jobs 2026-11-21 passed
Nightly fuzz.yml boundary fuzzing campaigns 2026-11-21 failed
Nightly mutation.yml mutation testing of every module 2026-11-21 passed
Nightly dst-nightly.yml deterministic simulation of the example apps, random seeds 2026-11-21 passed
Nightly bridge-verification.yml host bridge: model and schedule fuzzing on four platforms 2026-11-21 passed
Nightly tooling.yml tooling metamorphic builds and fault injection 2026-11-21 passed
Nightly folio-nightly.yml Folio campaign 2026-11-21 passed
Nightly porter-nightly.yml Porter campaign 2026-11-21 passed
Nightly tandem-nightly.yml Tandem campaign 2026-11-21 passed
Nightly installation-confidence.yml cold installation on every platform 2026-11-21 failed
Weekly ci-weekly.yml 100-minute differential campaigns, Lasm.JS soak 2026-11-14 passed
Release release-checks.yml the release candidate: build, five-platform installed acceptance and every launch workflow 2026-11-18 passed

About

The PR tier runs on every pull request, filtered by the paths it changes, and again unfiltered on each merge to main; its rows show the latest merge. The nightly tier runs on main between 01:07 and 09:17 UTC, the weekly tier on the weekend, and the release tier on every version bump. The unit suite runs on pull requests, nightly inside ci-nightly.yml and in every release check. Every workflow and its tier: CI tiers.

Mutation testing

Measured by CI

Latest nightly run: 2026-11-21, passed.

Module Score Mutants Threshold Result
application-output 92.5 % 2,267 92 % passed
application-sources 85 % 4,015 85 % passed
browser 96.2 % 1,347 96 % passed
build-service 94.3 % 464 94 % passed
cli 95.4 % 1,803 95 % passed
dev 91.7 % 1,629 91 % passed
downloads 89.8 % 2,408 89 % passed
edge-build 90.2 % 1,194 89 % passed
edge-glue 97.1 % 1,355 97 % passed
host-bridge 96.6 % 895 96 % passed
init 97.7 % 970 97 % passed
link-driver 93 % 3,288 93 % passed
native-files 88.5 % 1,805 88 % passed
node-host 86 % 3,801 86 % passed
node-serve 80.6 % 392 80 % passed
notices 91.5 % 475 91 % passed
project-files 100 % 190 100 % passed
serverless 89.8 % 845 88 % passed
tar 90.3 % 869 90 % passed
target-link 91.1 % 2,143 91 % passed
toolchains 89.3 % 1,676 89 % passed
ui-dom 94.1 % 749 93 % passed
wasi-build 95.7 % 937 95 % passed

About

Stryker changes the code of each module one small edit at a time (a mutant) and runs the tests. The score is the share of mutants the tests catch. CI fails when a module scores below its threshold, and a threshold is never lowered. The baseline, recorded on 2026-11-11 from mutation.yml run 43024598393, the nightly run on main 28975199 (Node 26.13.0), every module:

Module Initial Score Mutants Threshold
host-bridge 56.5 % 96.3 % 880 96 %
ui-dom 55.1 % 93.9 % 788 93 %
build-service 52.4 % 94.6 % 464 94 %
link-driver 53.9 % 93 % 3,260 93 %
target-link 5.9 % 91.2 % 2,050 91 %
edge-glue 15.2 % 97.1 % 1,327 97 %
notices 62.5 % 91.5 % 475 91 %
tar 90.3 % 90.3 % 869 90 %
downloads 59.3 % 89.7 % 2,350 89 %
toolchains 58.9 % 89.3 % 1,676 89 %
cli 42.7 % 95 % 1,767 95 %
init 53.6 % 97.1 % 838 97 %
dev 29.2 % 91.8 % 1,615 91 %
browser 26.1 % 96.1 % 1,340 96 %
application-sources 44.5 % 85.3 % 3,578 85 %
application-output 51.1 % 92.4 % 2,223 92 %
edge-build 31.5 % 89.6 % 1,014 89 %
wasi-build 45.8 % 95.6 % 1,065 95 %
node-host 42 % 86.2 % 3,795 86 %
native-files 29.4 % 88.5 % 1,804 88 %
project-files 100 % 100 % 190 100 %
serverless 40.5 % 88.5 % 769 88 %
node-serve 80.6 % 80.6 % 392 80 %

"Initial" is the score before the tests were improved. Details: Mutation testing.

Proofs

Checked by CI on every change

Code Propositions Theorems Page
Lasm's library (Lasm.UI 14, Lasm.JS 2) 16 329 library/PROOFS.md
Conduit 52 307 examples/conduit/PROOFS.md
Folio 22 122 examples/folio/PROOFS.md
Ledger 31 191 examples/ledger/PROOFS.md
Porter 28 197 examples/porter/PROOFS.md
Tandem 29 218 examples/tandem/PROOFS.md
Total 178 1364

About

A proposition is a property stated in plain English and in Lean, proved for every possible input, about the code that runs. The theorems include the lemmas the proofs are built from. Each PROOFS.md lists its propositions. Its proof check fails if a theorem's type differs from its proposition, if any proof uses an axiom beyond Lean's three standard ones (a sorry would show up as one), or if the page is out of date.

Fuzzing at the boundaries

Measured by CI

Latest scheduled campaign: 2026-11-21, failed.

Target Seconds Runs Seed Result
lean-js-wire 3,600 114,882,579 1966661211 passed
cli-arguments 3,600 5,711,186 1966661211 passed
serverless-http 3,600 1,164,083 1966661211 passed
ui-patch 3,600 1,645,219 1966661211 passed
dev-proxy 600 350,010 1966661211 passed
lasm-js-wire 3,600 1,223,430 1966661211 passed
ui-decode 3,600 212,745 1966661211 failed
tar 3,600 1,286 1966661211 failed
project-files 600 21,291 1966661211 failed
edge-request 600 72,048 1966661211 passed

About

Coverage-guided fuzzing feeds generated inputs to the code that reads input from outside, and fails on a crash, a hang or a broken property. Nightly campaigns run 10 minutes per target, and the weekly campaign 60 minutes. The targets:

Details: Fuzzing at the boundaries.

Deterministic simulation of the example apps

Measured by CI

Latest night: 2026-11-21, passed.

App Seeds Failing Result
porter 9,545 0 passed
ledger on headless Firefox 325 0 passed
tandem 498 0 passed
ledger 13,624 0 passed
ledger on headless Chromium 493 0 passed
ledger on Cloudflare Workers (wrangler dev) 645 0 passed
ledger on headless WebKit 620 0 passed

About

Each night, for Tandem, Ledger, Porter, the simulation runs the real app against a simulated network, clock and storage with injected faults: 20 minutes of random seeds with the normal fault mix, then 10 minutes with heavy faults. Every seed replays exactly, so a failing seed is printed with its one-line repro command. Details: Deterministic simulation of the example apps.

Differential testing

Measured by CI

Latest nightly campaign: 2026-11-21, passed.

Job Programs Cases Divergences Coverage features (new) Result
differential (release) 50 5,550 0 17,441 (+2,097) passed
differential (dev) 65 7,215 0 20,402 (+2,767) passed

Coverage growth by campaign (new features, and all features found so far): (release): 2026-11-12 +19,520 (19,520), 2026-11-13 +6,611 (26,131), 2026-11-14 +5,029 (31,160), 2026-11-14 +5,940 (37,100), 2026-11-17 +3,296 (40,396), 2026-11-18 +1,745 (42,141), 2026-11-19 +2,035 (44,176), 2026-11-20 +2,161 (46,337), 2026-11-21 +2,097 (48,434); (dev): 2026-11-12 +19,727 (19,727), 2026-11-13 +6,654 (26,381), 2026-11-14 +7,219 (33,600), 2026-11-14 +4,920 (38,520), 2026-11-17 +4,048 (42,568), 2026-11-18 +2,966 (45,534), 2026-11-19 +3,022 (48,556), 2026-11-20 +2,255 (50,811), 2026-11-21 +2,767 (53,578).

About

Generated Lean programs are compiled by Lasm and by Lean's own native compiler, run on the same inputs on every target, and their outputs compared. A divergence is any difference. The campaign covers both build profiles. It is coverage-guided: the cases that reach runtime C or Lasm glue no earlier campaign reached are kept, and a quarter of each later program is mutants of them (Coverage feedback). Details: Differential testing.

Target equivalence

Measured by CI

The fetch app on every server target, latest merge: 2026-11-18.

Job Result
equivalence (fetch-template) passed

Conduit's RealWorld traffic compared with Node's, latest merge: 2026-11-18 and 2026-11-18.

Platform Result
Bun (bun:sqlite) passed
Cloudflare Workers (wrangler dev, local D1) passed
Node 26.13.1 passed
Node 24 passed
Azure Functions (func start) passed
AWS Lambda container image (sam local start-api, AWS base image) passed
Vercel Functions (vercel build offline, Vercel's Node launcher) passed
Supabase Edge Functions (supabase start, supabase functions serve; Postgres) passed
Netlify Edge (netlify build offline; Deno with Netlify Blobs' local server) passed
AWS Lambda .zip (sam local start-api, nodejs24.x) passed
Docker (node:24-bookworm-slim, read-only, 512 MB) passed
Google Cloud Functions (Functions Framework) passed
Spin 4.2.2 (wasi-http; Postgres through PostgREST) passed
Netlify Functions (netlify build offline; Netlify's bootstrap in the Lambda Node 24 image) failed
Vercel Edge (vercel build offline, edge-runtime) passed
Fastly Compute (Viceroy 0.21.1, Fastly KV) passed
wasi-http (wasmtime 49.0.4 serve; Postgres through PostgREST) passed
Deno 2.9.6 (node:sqlite) passed
Deno Deploy (Deno 2.9.6, Deno KV) passed

About

The same app, built for each target, must answer every request of a recorded corpus with the same status, headers and body bytes. The fetch-template apps are checked on node, deno, bun, wasi-http, workers. Conduit's official RealWorld API suite (about 150 requests) is compared with Node's on every platform Conduit runs on, with tokens and timestamps normalized. So is the flagship apps' own test traffic (Ledger's API test, Porter's oracle and adversarial suites, Tandem's protocol tests), inside each platform job the example apps section lists, with each app's documented normalizations (The flagship apps' recorded traffic). Details: Target equivalence.

Benchmarks

Measured by CI

Release candidate 0.1.0-experimental.44256850073, measured on 2026-11-18 by release-benchmarks.yml on a GitHub-hosted Linux x64 runner:

Area Metric Median Spread (min – max) Same-runner comparison
Cold start Trivial program, start to exit 141 ms 133 ms – 149 ms (n=10) 5.62× node-hello
Cold start Hono + Lean handler, start to first HTTP response 179 ms 177 ms – 185 ms (n=10) 3.78× node-http
Cold start Std.Http server, start to first HTTP response 254 ms 241 ms – 260 ms (n=10) 5.36× node-http
Bundle size Trivial program: dist/ 8.2 MiB
Bundle size Trivial program: program.wasm 530 KiB
Bundle size Trivial program: dist/, brotli 1.6 MiB
Bundle size Hono app: dist/ without node_modules 8.5 MiB
Bundle size Hono app: program.wasm, brotli 167 KiB
Bundle size Hono app: dist/node_modules 1.4 MiB
Memory Trivial program, peak RSS 96 MiB 95 MiB – 96 MiB (n=3) 1.58× node-hello
Memory Hono + Lean handler, idle RSS 120 MiB 120 MiB – 120 MiB (n=3) 1.93× node-http
Memory Hono + Lean handler, peak RSS under load 273 MiB 271 MiB – 274 MiB (n=3) 3.21× node-http
Memory Std.Http server, peak RSS under load 400 MiB 379 MiB – 426 MiB (n=3) 4.60× node-http
HTTP Hono + Lean handler, throughput 23,743 req/s 23,414 req/s – 24,240 req/s (n=3) 0.25× node-http; 0.27× node-hono
HTTP Hono + Lean handler, p99 latency 5.4 ms 4.7 ms – 5.6 ms (n=3) 15.21× node-http
HTTP Express + Lean handler, throughput 17,937 req/s 17,447 req/s – 17,997 req/s (n=3) 0.19× node-http; 0.33× node-express
HTTP Express + Lean handler, p99 latency 6.2 ms 5.0 ms – 6.4 ms (n=3) 17.96× node-http
HTTP Std.Http server, throughput 1,159 req/s 1,115 req/s – 1,191 req/s (n=3) 0.01× node-http
HTTP Std.Http server, p99 latency 22 ms 21 ms – 25 ms (n=3) 66.19× node-http
HTTP Plain Node node:http (reference) 95,795 req/s 93,914 req/s – 95,842 req/s (n=3)
Interop Lean→JS call round trip, p50 6.1 µs 4.7 µs – 6.1 µs (n=3)
Interop Await a resolved JS promise, p50 11 µs 11 µs – 16 µs (n=3)
Big numbers 10,000-digit multiplication 884 µs 856 µs – 931 µs (n=3)
Big numbers 20,000 by 5,000-digit division 1498 µs 1485 µs – 1499 µs (n=3)
Big numbers 10,000-digit toString 86628 µs 86083 µs – 86825 µs (n=3)
Build Clean build, trivial program 3.1 s 3.0 s – 3.1 s (n=3)
Build Incremental build after a one-line change, trivial program 4.9 s 4.8 s – 5.2 s (n=3)
Build Clean build, Hono app 5.1 s 5.0 s – 21 s (n=3)
Build Incremental build after a one-line change, Hono app 7.6 s 7.6 s – 7.7 s (n=3)
Build Incremental dev build (--dev, lasm run), trivial program 1.1 s 1.1 s – 1.5 s (n=3)
Build Incremental dev build (--dev, lasm run), Hono app 2.2 s 2.2 s – 2.6 s (n=3)
Bundle size Hono app: program.wasm, dev profile 935 KiB
Install Package download (npm tarball) 84 MiB
Install Installed size 468 MiB
Install npm install, empty cache 6.0 s 5.9 s – 6.1 s (n=3)
Install First build incl. one-time tool download 17 s
Install Tool cache on disk after the first build 2504 MiB

Compared with the previous candidate: No metric is worse by more than its threshold (5 % for sizes, 20 % for timings, by same-runner ratio where one exists).

About

Each release candidate runs the same benchmark set. The results are committed with their raw data, and a regression is flagged on the page but does not fail the build. The runner, the method and every version measured so far: Benchmarks.

Sources

More from Learn LasmAbout Lasm