Researchers from Columbia and CertiK Introduce TensorLean for Formal Verification of GPU Kernels
A collaborative team of researchers hailing from Columbia University and CertiK has officially introduced TensorLean, an innovative framework designed for the formal verification of production GPU kernels at the PTX level utilizing the Lean interactive theorem prover.
In recent evaluations, TensorLean demonstrated robust capabilities by rigorously checking 149 kernel instances. Out of these, the system successfully proved 83 kernels to be completely correct while uncovering a notable 38 bugs across widely used implementations such as FlashAttention and DeepGEMM. These findings highlight the critical role that automated and formal verification methods can play in identifying subtle, hard-to-detect errors in complex hardware-accelerated software.
The introduction of TensorLean represents a major step forward in ensuring the safety, reliability, and correctness of high-performance computing components. As artificial intelligence and deep learning workloads increasingly rely on optimized GPU kernels, tools like TensorLean will become indispensable for maintaining software integrity in production environments.