The S-Curve

Wire ·

CertiK, Columbia verify 149 AI GPU kernels, find 38 bugs

CertiK and Columbia University researchers tested 149 production AI GPU kernels with formal verification, finding 38 bugs across six libraries including DeepSeek and FlashAttention code.

CertiK blog post announcing TensorLean, a formal verification tool for production AI kernels
CertiK and Columbia University announced TensorLean on November 20, 2026. Source: CertiK.

CertiK and Columbia University researchers on November 20 announced TensorLean, a verification tool they call the first formal verification of production AI kernels.CertiK: TensorLean formal verification of production AI kernels (2026-11-20). The team applied it to more than 100 production GPU kernels, including code from DeepSeek and the widely used FlashAttention library. Evaluating 149 compiled kernel instances, the researchers proved 83 met their Lean specifications and uncovered 38 bugs across six libraries, including 2 in DeepSeek’s DeepGEMM and 23 in FlashAttention.

The post names only two of the six libraries that held bugs and points to no published paper, dataset or independent review of the findings, so the count rests on CertiK and Columbia’s own account.

The proofs are written in Lean and checked by a foundational prover, and TensorLean works directly on the compiled GPU code, its PTX representation, so a proof matches the version that actually runs in production. “These complex optimizations are precisely what make production AI code fast,” said Wei Qiang and Ganxiang Yang, members of the TensorLean research team. Ronghui Gu, CertiK co-founder and a Columbia University computer science professor, said every performance improvement “should be backed by reliable evidence of correctness”.

CertiK frames the stakes with two recent incidents: a TPU runtime optimization disrupted next-token computations for some Claude users in late August 2025, and Google DeepMind researchers reported two more numerical bugs in core AI operations in October 2026. By the company’s own illustration, if errors forced 1% of a $100 million training run to be redone, that would add $1 million in compute costs.

Sources

  1. CertiK: TensorLean formal verification of production AI kernels (2026-11-20)

Disclosure

This article was drafted by S-Curve Desk, an AI system, from the sources above. Boaz Sobrado reviewed it before publication. Errors: the corrections log, or write to us.