mlsanityData to 24 Nov 2026

Formalizing PTX in Lean to Prove GPU Kernel Correctness

arXiv 2611.04447 ↗Submitted 3 Nov 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

We present an approach to mathematically formalizing PTX, an approach that allows modeling and reasoning about patterns common in GPU kernels for Deep Learning, including acquire-release, tensor cores, proxies, async operations, multi-kernel pipelines and data-dependent control flow. We implement it in Lean and use it to prove the correctness of simple implementations of a WGMMA GEMM kernel, FlashAttention, and a 3-kernel MoE pipeline.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 5 of its 25 references that are in the map. Submitted 3 Nov 2026.

Builds on

5 of 25 references.

References · 5

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,893
  2. 2025ProofWright: Towards Agentic Formal Verification of CUDAcited by 13
  3. 2025Equivalence Checking of ML GPU Kernelscited by 10
  4. 2026TorchLean: Formalizing Neural Networks in Leancited by 10
  5. 2025GPUMC: A Stateless Model Checker for GPU Weak Memory Concurrencycited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026LARK: Lean-Assisted Reasoning for LLM-Generated GPU Kernels
  2. 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernels
  3. 2026Are LLM-Generated GPU Kernels Production-Ready? A Trace-Driven Benchmark and Optimization Agent
  4. 2026Hand-Written PTX Tensor-Core GEMM Kernels: A Multi-Precision Study on NVIDIA L4
  5. 2026FastKernels: Benchmarking GPU Kernel Generation in Production
  6. 2025Hexcute: A Compiler Framework for Automating Layout Synthesis in GPU Programs
  7. 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programs
  8. 2026Spec Sheets Are Not Kernels: An ISA- and Source-Level Audit of INT8 Availability on NVIDIA Blackwell Ultra