mlsanityData to 14 Oct 2026

ProofWright: Towards Agentic Formal Verification of CUDA

arXiv 2511.12294 ↗First posted 15 Nov 2025cs.SEcited by 9

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Large Language Models (LLMs) are increasingly used to automatically generate optimized CUDA kernels, substantially improving developer productivity. However, despite rapid generation, these kernels often contain subtle correctness bugs and lack formal safety guarantees. Runtime testing is inherently unreliable - limited input coverage and reward hacking can mask incorrect behavior - while manual formal verification is reliable but cannot scale to match LLM output rates, creating a critical validation bottleneck. We present ProofWright, an agentic verification framework that bridges this gap by integrating automated formal verification with LLM-based code generation. ProofWright provides end-to-end guarantees of memory safety, thread safety, and semantic correctness for LLM-generated CUDA kernels. On KernelBench L1, ProofWright verifies safety properties for 74% of generated kernels, uncovers subtle correctness errors missed by conventional testing, and establishes semantic equivalence for a class of element-wise kernels. With a modest overhead of 3 minutes per kernel, ProofWright demonstrates that scalable, automated formal verification of LLM-generated GPU code is feasible - offering a path toward trustworthy high-performance code generation without sacrificing developer productivity.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 43 references that are in the map. First posted on arXiv 15 Nov 2025.

Builds on

13 of 43 references.

References · 13

  1. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
  2. 2023Clover: Closed-Loop Verifiable Code Generationcited by 67
  3. 2024Towards AI-Assisted Synthesis of Verified Dafny Methodscited by 58
  4. 2024AutoVerus: Automated Proof Generation for Rust Codecited by 49
  5. 2024AlphaVerus: Bootstrapping Formally Verified Code Generation through Self-Improving Translation and Treefinementcited by 35
  6. 2024EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimizationcited by 30
  7. 2024LLM-Vectorizer: LLM-based Verified Loop Vectorizercited by 25
  8. 2024PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedbackcited by 24
  9. 2025Saarthi: The First AI Formal Verification Engineercited by 8
  10. 2025Dafny as Verification-Aware Intermediate Language for Code Generationcited by 6
  11. 2025A Case Study on the Effectiveness of LLMs in Verification with Proof Assistantscited by 3
  12. 2014Permission-Based Separation Logic for Multithreaded Java Programscited by 1
1 more
  1. 2024HiRace: Accurate and Fast Source-Level Race Checking of GPU Programscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 9.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization
  2. 2026CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language
  3. 2026AgentCompile: An LLM-Guided Compiler for Direct CUDA Inference
  4. 2026Kernel Forge: An Agent Harness for LLM-based Generation and Optimization of CUDA Kernels
  5. 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimization
  6. 2026KernelBench-Verified: Do LLM-Generated Kernels Actually Beat PyTorch?
  7. 2026From Tokens to Regions: CUDA-Sensitive Instruction Tuning for GPU Kernel Generation
  8. 2025From Large to Small: Transferring CUDA Optimization Expertise via Reasoning Graph