Lasm is a new toolchain that ahead-of-time compiles standard Lean 4 programs into WebAssembly, letting a single codebase run as a Node server, serverless or edge function, WASI/Fastly module, or browser app. It ships via npm bundling Lean and its Lake build tools, requiring only Node, Bun, or Deno. Its flagship demo, a RealWorld-spec app called Conduit, includes 117 formally proved theorems.
github.com
· 2026-10-30
A developer spent time optimizing roc-deflate, a DEFLATE compression package for the Roc functional programming language written by Niclas Ahden, aiming to see how close it could get to the performance of libdeflate, the C library widely regarded as the fastest DEFLATE implementation. The effort followed an earlier result showing a Lean 4 library, lean-zip, beating Rust's popular miniz_oxide package but still falling well short of libdeflate, which uses hand-tuned, architecture-specific SIMD code. Testing used the non-streaming APIs and the Silesia corpus, since roc-deflate does not yet support streaming.
rtfeldman.com
· 2026-10-24
A developer created a complete implementation of RealWorld, the Medium-clone reference application used to benchmark full-stack frameworks, using only Lean 4, a functional language best known as a proof assistant. The project includes a server, database integration, and frontend rendering, and passes RealWorld's official API and website test suites. The frontend uses a library called datastar-lean for interactivity, and the full source code is published on GitHub.
leangineer.com
· 2026-10-14
Alongside its human-readable proof resolving a longstanding Navier-Stokes question, OpenAI also released a machine-checkable Lean 4 formal proof, completed in about 17 hours. The author contrasts this with historical estimates that formalizing research-level math could take tens of thousands of person-hours by hand.
johndcook.com
· 2026-09-10
A researcher evaluated 26 different prompt conditions—ranging from 'use TDD' to formal methods like Lean 4, TLA+, and SMT solvers—to see whether simply instructing coding agents to apply specific testing techniques or libraries improves the correctness of Rust implementations of Zstd. Four popular testing 'skills,' including ones with hundreds of thousands of GitHub stars, were also tested alongside a self-written skill, using the same Zstd benchmark from prior agentic programming comparisons.
danluu.com
· 2026-09-08
A complete formalization of Fermat's Last Theorem has been written and verified in the Lean 4 proof assistant, built atop the Mathlib library and following the Frey-Serre-Ribet-Wiles-Taylor-Wiles argument. The repository builds all 60,475 modules from scratch, with every declaration checked by the Lean kernel, and the final theorem relies solely on Lean's three standard axioms rather than any sorry or added axiom. An independent tool, leanprover/comparator, confirmed the proved statement matches a separately stated Mathlib-only challenge and that the entire proof chain replays correctly.
github.com
· 2026-09-04
A new repository presents a Lean 4 formal proof deriving the bound liminf(p_{n+1}-p_n) ≤ 186 for consecutive primes, building on the Maynard-Tao style DHL[40,2] admissible-tuple framework. The proof chain is conditional on three explicit input axioms covering Kloosterman sum bounds and related estimates, which have not themselves been formalized as Lean proofs despite being backed by established results like Deligne's theorem via Katz's monograph.
github.com
· 2026-09-03