{"version":1,"type":"story","url":"https://digestai.news/story/columbia-certik-team-tensorlean-for-gpu-kernel-verification","json":"https://digestai.news/story/columbia-certik-team-tensorlean-for-gpu-kernel-verification.json","markdown":"https://digestai.news/story/columbia-certik-team-tensorlean-for-gpu-kernel-verification.md","slug":"columbia-certik-team-tensorlean-for-gpu-kernel-verification","headline":"Columbia & CertiK team: TensorLean for GPU kernel verification","summary":"Researchers from Columbia University and CertiK have introduced TensorLean, a framework designed to formally verify GPU kernels. The tool is based on the Lean theorem prover and targets PTX level code. It has been tested on over 150 kernels across various projects, including FlashAttention-2 through -4 and DeepGEMM. TensorLean successfully verified 83 out of 149 instances, identifying 38 bugs in total. The framework is notable for its ability to scale despite the large size difference between kernel source code (151,285 lines) and verification specs (10,278 lines). It runs on a 16-core workstation, capable of checking PTX compiled kernels for A100, H100, and B200 GPUs. The team's findings highlight the importance of race conditions, numerical errors, uninitialized memory reads, and undefined behaviors in GPU kernel implementations. TensorLean is particularly adept at catching data races that might not manifest in typical test runs, such as a FlashAttention-4 issue found during 17,760 tests. This tool could be crucial for ensuring the correctness of AI models running on GPUs, especially those involving complex operations like attention mechanisms or matrix multiplications.","keyPoints":["TensorLean verifies GPU kernels at PTX level using Lean theorem prover","Successfully verified 83 out of 149 kernel instances","Identified 38 bugs across multiple projects"],"whyItMatters":"TensorLean's ability to formally verify GPU kernels could significantly improve the reliability and correctness of AI models running on GPUs, particularly those involving complex operations like attention mechanisms or matrix multiplications.","category":{"slug":"research","name":"Research","url":"https://digestai.news/category/research"},"entities":{"companies":["Columbia University","CertiK"],"models":[],"people":["Michal Sutter"]},"firstPublishedAt":"2026-11-22T01:51:43Z","updatedAt":"2026-11-22T01:51:43Z","sourceCount":1,"hasPrimarySource":false,"sources":[{"outlet":"MarkTechPost","title":"A Team of Researchers from Columbia and CertiK Introduce TensorLean for Formal Verification of GPU Kernels","url":"https://marktechpost.com/2026/11/21/columbia-certik-tensorlean-formal-verification-gpu-kernels","publishedAt":"2026-11-22T01:51:43Z","type":"press","primary":false,"lead":true}],"sourceNotes":null,"discussions":[],"thread":null,"cite":{"text":"Digest AI, \"Columbia & CertiK team: TensorLean for GPU kernel verification\", 22 November 2026, https://digestai.news/story/columbia-certik-team-tensorlean-for-gpu-kernel-verification","publisher":"Digest AI","title":"Columbia & CertiK team: TensorLean for GPU kernel verification","datePublished":"2026-11-22T01:51:43Z","url":"https://digestai.news/story/columbia-certik-team-tensorlean-for-gpu-kernel-verification"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}