MLC: Verifying Production GPU Kernels with TxVerify and Lean
TxVerify is an open-source framework that formally verifies safety, progress, termination, and specified results for production GPU kernels at the PTX level using the Lean theorem assistant. To handle missing formal models and undefined hardware behavior, the framework uses a core/assumption split, dividing proofs between a shared core recording manual readings and kernel-specific assumptions. The authors proved 13 Blackwell kernels in Lean, identifying specific assumptions and uncovering synchronization bugs in existing code. Open article →