Bend has launched as a new programming language designed to mitigate mistakes made by AI agents by utilizing mathematical proofs. The language features a type checker that functions as a proof checker, similar to Lean or Rocq, but optimized to complete checks in a second or less to accommodate rapid AI iteration.
Bend introduces a high-performance language with mathematical proofs to prevent AI coding errors
The language is designed for high performance, compiling to native code that runs at speeds comparable to C. It supports massive parallelism, capable of spreading workloads across multiple CPU cores or running up to a hundred times faster on a GPU than a single core.
To ensure correctness, Bend introduces a system called LAWS.bend, where developers can declare formal laws that the AI must follow. By requiring a mathematical proof that the implementation adheres to these laws, the language aims to make it impossible for AI-generated code to violate specified constraints. Bend currently supports Linux and macOS.
Sources
- Bend – A language that blocks AI mistakes via proof, on CPU and GPU (Hacker News Frontpage, 2026-09-17)