Test, Reduce, Prove: Validating the Most Complex AI GPU Kernels with RESOLVE A validation approach called RESOLVE, detailed in a paper on arXiv (2610.05683), proved three complex AI "mega-kernels" — Mirage, LUCE and the FlashMoE router — equivalent to their references on the workloads checked, while finding new bugs and reproducing bugs previously caught only after release. The work, which reduces GPU programs beyond the reach of today's proofs to simpler programs that can be formally verified, has produced 6 bug-fix pull requests to these mega-kernels, 4 of them already merged, with the reduced kernels and proofs published in the FStarLang/kuiper-megakernels repository. The authors frame the effort as necessary because AI agents are optimizing GPU kernels faster than anyone can review them and no formal model of a modern GPU yet exists to check them against. ← All posts https://risemsr.github.io/blog/ Test, Reduce, Prove: Validating the Most Complex AI GPU Kernels with RESOLVE AI agents are optimizing GPU kernels faster than anyone can review them, yet there's no formal model of a modern GPU to check them against. We can't wait for one. TL;DR: RESOLVE https://arxiv.org/abs/2610.05683 is a validation approach that uses techniques from concurrency testing to reduce complex GPU programs, which are out of reach for proofs today, to simpler programs that we can prove correct. In this post, we apply it to some of the most complex AI kernels we know of: mega-kernels , which run a whole model or a large part of one in a single GPU launch. In three case studies Mirage https://github.com/mirage-project/mirage , LUCE https://github.com/Luce-Org/lucebox and the FlashMoE https://github.com/osayamenja/FlashMoE router , we prove each mega-kernel equivalent to its reference on the workloads we checked, find new bugs, reproduce bugs that were only found after release, and uncover subtle differences between inference implementations. And it’s already making a difference upstream: we’ve opened 6 bug-fix pull requests to these mega-kernels, and 4 are already merged . Our reduced kernels and proofs are all available https://github.com/FStarLang/kuiper-megakernels/tree/main . Where we’re coming from With so many kernels now written or tuned by agents, the question of whether a kernel is actually correct keeps coming up. Wrong answers aren’t the only risk; GPU bugs can also be security problems https://blog.trailofbits.com/2024/01/16/leftoverlocals-listening-to-llm-responses-through-leaked-gpu-local-memory/ . We’ve been working on this from a few directions. On the verification side, some of us built GPUVerify https://doi.org/10.1145/2384616.2384625 OOPSLA 2012 , which proves GPU kernels free of data races and barrier divergence. More recently, Kuiper https://doi.org/10.1145/3808280 PLDI 2026 lets you write GPU kernels in F and Pulse with machine-checked proofs of functional correctness, without giving up low-level performance. Our colleagues have shown that models can write F proofs https://doi.org/10.1109/ICSE55347.2025.00002 ICSE 2025 and that agents can build large verified programs https://doi.org/10.1145/3828709 ICFP 2026 . With agents writing Kuiper code and proofs, we verified a solution to every KernelBench Level 1 problem https://doi.org/10.1145/3819802.3820580 PAgE 2026 . On the semantics side, some of us have spent more than a decade trying to pin down what GPUs actually do: the memory model https://doi.org/10.1145/2694344.2694391 ASPLOS 2015 , forward-progress guarantees https://doi.org/10.1145/3485508 between thread blocks OOPSLA 2021 , and how threads in a warp behave, most recently in SIMT-Step https://doi.org/10.1145/3808297 PLDI 2026 . And on the testing side, inserting random delays to shake out rare thread schedules goes back to Sebastian and Madan’s work on PCT https://doi.org/10.1145/1736020.1736040 ASPLOS 2010 and DataCollider https://www.usenix.org/conference/osdi10/effective-data-race-detection-kernel OSDI 2010 . For GPUs, we have built memory-model testing tools such as MC Mutants https://tyler-utah.github.io/files/mcmutants2023.pdf ASPLOS 2023 and GPUHarbor https://doi.org/10.1145/3597926.3598095 ISSTA 2023 . RESOLVE brings these three threads together. Its requirements come from working with teams across Microsoft: it has to handle the kernels they actually deploy, whether written in CUDA, CUTLASS, Triton, Gluon or something else, at the shapes and batch sizes their models run with. Deployed kernels get their speed by exploiting cutting-edge features of GPU architectures, such as asynchronous copies, the Tensor Memory Accelerator TMA , warp specialization, tensor cores, and persistent thread blocks that signal one another through flags in memory. Formal semantics for GPU programming models are lagging behind: they all make simplifying assumptions that exclude some or all of these features, or treat them in a preliminary manner that has not been widely validated by the community. Rather than wait for those models to mature, RESOLVE is upfront about what it assumes about the hardware. For the features that aren’t modeled yet, it tests the compiled kernel on a real GPU instead of proving things about it. That lets us validate today’s most aggressive kernels now, and as the models mature, more of each kernel can move from testing to proof. Why not just test? The usual way to check a kernel is to run it next to a reference implementation, typically in PyTorch, and check that the outputs are “close.” While testing is a very reasonable starting point when trying to validate kernels, it is by no means perfect. Like any other validation tool, tests may report false positives reject a correct kernel and false negatives accept an incorrect kernel . When we evaluated how tests fare on our corpus of correct and incorrect kernels, we found that testing has two major weaknesses: 1. Concurrency bugs : Tests can fail to detect bugs that do not manifest reliably. For example, a concurrency bug, such as a data race, can make the output of a kernel nondeterministic. This means that a bug can go undetected when we run the test, causing a false negative. 2. Numeric tolerances : Many optimizations, such as reordering a sum or lowering precision, keep the math the same but change the floating-point result, so tests have to allow small differences. It isn’t clear how small. Finding the right tolerance isn’t just a matter of calibration: one loose enough to accept correct kernels can also accept incorrect ones. In our PAgE paper https://doi.org/10.1145/3819802.3820580 , KernelBench’s Softmax test passed a kernel that returned all zeros, because the expected outputs were far smaller than the tolerance a false negative , while correct Triton matrix multiplications using TF32 tensor cores failed the same tolerance a false positive . In the RESOLVE paper, two agent-written KernelBench solutions that never touch memory passed the benchmark’s tests. Racer https://arxiv.org/abs/2610.28429 makes the same point: a logic bug can produce an error smaller than the tolerance a correct optimized kernel needs. Why not just prove? Given the inadequacies of testing, why not just prove kernels correct? Formal methods are moving fast in no small part thanks to AI , and several groups have applied them to GPU kernels see the related work related-work at the end . But any proof about a GPU kernel is relative to some model of how the GPU behaves, and GPUs are an unusually hard target to model. To start with, formal models show up years after the hardware Figure 1 . CUDA shipped in 2007, and NVIDIA’s formal model of PTX memory https://doi.org/10.1145/3297858.3304043 came out in 2019. Warp shuffles have been around since 2012, and there are still only candidate models https://doi.org/10.1145/3808297 for them. Asynchronous copies 2020 and TMA 2022 have only just gotten formal models, which haven’t yet been widely vetted. All of these features are about concurrency: how threads share data and wait for one another. Figure 1. How long GPU features have been in use without a formal model. Even rigorously reviewed models need scrutiny. While bringing NVIDIA’s PTX and Khronos’ Vulkan memory models into the Dartagnan tool, its developers found two bugs https://doi.org/10.1145/3622781.3674174 in the original models, and Beyond the Fence https://users.cs.utah.edu/~vijay/papers/asplos27a.pdf ASPLOS recently found one in the PTX model, confirmed by NVIDIA. Warps are further behind: no GPU programming language gives them a rigorous semantics, and the candidate models https://doi.org/10.1145/3808297 are exceptionally complicated and hard to compose with other concurrency semantics, such as memory models. Evaluating models is also difficult because GPU implementations are often much stronger than their specifications: a model built from how real hardware behaves may not match what vendors intend, and could break when any part of the stack is updated. For example, a MICRO 2024 paper removed synchronization using behavior that real GPUs provide but NVIDIA’s PTX memory model doesn’t guarantee see this SIGARCH post https://www.sigarch.org/gpu-memory-consistency-specifications-testing-and-opportunities-for-performance-tooling/ on GPU memory-model specifications . Similarly, in SIMT-Step https://doi.org/10.1145/3808297 we saw warps running almost entirely in lockstep on 10 GPUs from 8 vendors, although the CUDA programming guide says threads in a warp are scheduled independently. Semantics are only half the problem. The other half is the specification . A proof shows that a kernel meets its specification and nothing more. If the specification leaves an output unconstrained, or describes the wrong computation, the proof goes through anyway. That is harder to rule out now that agents write specifications as well as proofs. None of this makes proofs pointless, but the semantics and the specification underneath a proof deserve as much scrutiny as the proof itself, including ours. RESOLVE: test what we can’t model Our approach in RESOLVE is to prove only the parts of a kernel whose meaning we’re confident about arithmetic, loops and indexing and to check everything else by running the actual binary on an actual GPU. There are three steps, and Figure 2 walks through them on a small example: adding up 32 numbers with warp shuffles. The first two are tests, so RESOLVE needs a test suite. In practice a few inputs are usually enough, because at a fixed size most GPU kernels access the same memory no matter what values the inputs hold. Figure 2. RESOLVE on a toy kernel. 1 We test that the warp-shuffle kernel always produces the same bits. 2 An agent rewrites it as a single-threaded program, and we check on the GPU that the bits still match. 3 We prove that the reduced program and the reference compute the same sum over the real numbers. The two add in a different order, so their bits can differ, but no tolerance is needed. Step 1: Test. First we check that the kernel is deterministic. RESOLVE runs it many times while inserting random delays, using NVBit https://github.com/NVlabs/NVBit to instrument the compiled GPU binary SASS directly, and checks that the output bits never change. The idea goes back to DataCollider https://www.usenix.org/conference/osdi10/effective-data-race-detection-kernel , which inserted delays to catch races in the Windows kernel; RESOLVE brings it to GPU binaries. Because it instruments the final binary, RESOLVE doesn’t care what language the kernel came from, and it doesn’t need a formal model of memory ordering, TMA or warps, since it only looks at the outputs the hardware produces. To tune it, we injected 143 synchronization bugs into KernelBench Level 1 kernels and used them to calibrate how long each delay lasts and how often delays are inserted. With those settings, the tester caught all 92 bugs that run, change the output, and aren’t confined to a single warp, and a test takes only a median of 88 seconds per kernel for this benchmark. Step 2: Reduce. Next, an agent rewrites the optimized kernel, whatever language it was written in, into a reduced-concurrency CUDA program with the concurrency features we don’t have rigorous models for stripped out: typically a single thread or a single warp where tensor cores need it , plain loops, no barriers, no asynchronous copies. A heavily fused kernel, such as a mega-kernel, can also be split into a sequence of small, simple kernels, run one after another, that together produce exactly the same bits as the fused original. Blocks then no longer wait on each other through flags; the kernel boundaries do that job. We only accept the rewrite if its outputs match the original bit for bit on the GPU across all our tests. We reduce the reference the same way. The reference in Figure 2 is simple enough that it is already reduced, but in practice we take references from stable versions of PyTorch or Hugging Face models, and those need reducing too. Step 3: Prove. Finally, we prove in Kuiper that the two reduced programs compute the same mathematical function. Kuiper proves the arithmetic over the real numbers, so the optimized kernel and the reference can add things up in a different order and still be proved equal, with no tolerance. But unlike models that treat floats purely as reals, Kuiper decides every comparison and branch on the actual floats, including infinity and NaN. That is how our proofs found bugs a purely real-valued model can’t see, such as an argmax that skipped NaN logits and a sum that overflowed to infinity. Agents write the proofs, including the usual hard parts such as loop invariants over 300 in the mega-kernel proofs https://github.com/FStarLang/kuiper-megakernels/tree/main/proofs alone , and F checks them. Working on the reduced-concurrency programs keeps these proofs manageable. Agents do much of the work in Steps 2 and 3. Figure 3 shows what they write in each step and what checks it. Figure 3. What agents do in each step of RESOLVE, and what checks their work. The specification itself gets separate checks, described in Checking the specifications checking-the-specifications . See the RESOLVE paper https://arxiv.org/abs/2610.05683 for results on benchmarks and on deployed kernels written in a variety of languages and libraries, including CUTLASS, Gluon and Triton. Requiring determinism Requiring determinism is the central design decision in RESOLVE. It is a pragmatic choice, and we think it is a new way to connect testing and proof. If a kernel produces the same bits on every run, however its threads are scheduled, then its output is a function of its input, and the GPU can tell us what that function is. The reduced program then only has to match those bits, and the proof only has to reason about a reduced-concurrency program, not every way the threads could interleave. We only need this at a fixed configuration: a kernel may produce different bits at different batch sizes, for example because it picks a different tiling. The price is that RESOLVE can’t handle kernels that are nondeterministic on purpose, such as a sum computed with floating-point atomicAdd . In practice that was rare: in a recent run of agent-optimized KernelBench Level 1 kernels, we found only one kernel that was not deterministic by design. More often, nondeterminism was a sign that it wasn’t clear what the kernel should compute. In FlashMoE, which tokens get dropped when an expert is full depended on which thread block got there first. An agent with our tools made the kernel deterministic at 0.8% overhead. Determinism is also becoming a goal in its own right for LLM inference https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/ , so we expect this requirement to get easier to meet over time. Choosing test inputs The properties that Steps 1 and 2 establish hold only for the inputs we run; however, two things keep the number of inputs we need small. First, RESOLVE is concerned with optimizing model deployments such as the mega-kernels below, each built for one model , not general library routines that must work at every size. A deployment runs with a handful of shapes and batch sizes, so those are the sizes we check. Second, at a fixed size most kernels touch the same memory and take the same branches whatever values their inputs hold. This was true of 52 of 76 CUDA SDK kernels in one study https://doi.org/10.1145/2254064.2254110 and of about 60% of 2,770 kernels in another https://doi.org/10.1145/3689797 . When a kernel does branch on its data, the branches are usually simple: a ReLU kernel only checks whether each value is above zero, so any input with both signs covers both paths. As we’ve examined kernels, we’ve found that a few distributions reach every branch we could find. Mega-kernels Mega-kernels are a good example of how hard AI kernels are being pushed. Instead of launching one kernel per operation, they run an entire model forward pass in one long-lived launch, using most of the complex features we discussed at the start TMA, asynchronous memory copies, warp operations, etc. . Thread blocks stay on the GPU, pull work off queues, and signal each other through flags in memory. Mirage’s persistent kernel https://arxiv.org/abs/2512.22219 compiles a whole model into one such kernel, LUCE https://www.lucebox.com/blog/megakernel runs a full decoder in a single launch, and FlashMoE https://arxiv.org/abs/2506.04667 fuses mixture-of-experts routing, dispatch and the experts themselves. Industry is moving this way too, for example AMD on MI355X https://rocm.blogs.amd.com/software-tools-optimization/megakernel-intro/README.html . Most fully formal tools aren’t able to express these kernels; the reduction step is what makes them tractable. For each mega-kernel we start from a reference: the Hugging Face model for Mirage and LUCE, and a straightforward implementation of the router for FlashMoE. RESOLVE reduces both the reference and the mega-kernel to reduced-concurrency CUDA programs https://github.com/FStarLang/kuiper-megakernels/tree/main/kernels whose outputs match the originals bit for bit. It breaks each reduced program into smaller computations, such as normalization and attention, and proves that corresponding computations in the reference and the mega-kernel satisfy the same shared specification https://github.com/FStarLang/kuiper-megakernels/blob/main/proofs/mirage-spec/KPlay.Spec.fst . It then combines these proofs to establish that the two programs compute the same function, under the assumptions listed below. | Mega-kernel | Workload checked | Spec relation | |---|---|---| | Mirage | Qwen3-0.6B, 28 layers, one request with a 7-token prompt, generating the first token | shared specification https://github.com/FStarLang/kuiper-megakernels/blob/main/proofs/mirage-spec/KPlay.Spec.Review.fsti | | LUCE | Qwen3.5-0.8B, 24 layers, prompt lengths 1 to 8, up to 5 decode steps | shared specification https://github.com/FStarLang/kuiper-megakernels/blob/main/proofs/luce-spec/KPlay.Spec.Review.fsti | | FlashMoE | The router projection, softmax, top-1 selection, capacity , not the expert MLPs | shared specification https://github.com/FStarLang/kuiper-megakernels/blob/main/proofs/flashmoe-spec/KPlay.Spec.Review.fsti | To get there, we added 15 new floating-point operations to Kuiper https://github.com/FStarLang/kuiper , such as fast exponentials, flush-to-zero arithmetic and math functions built from bit manipulation tricks. Each one runs within a single thread, so under our real-valued approximation its meaning is simply its real-number counterpart; that is why adding them was straightforward. As formal models of PTX mature, such as those behind TensorLean https://tensorlean.ai , TxVerify https://github.com/mlc-ai/tx-verify and SF Tensor’s work https://sf-tensor.com/engineering/formalizing-ptx , we hope to reuse their semantics for single-threaded operations, such as arithmetic and conversions, rather than adding them one at a time. We also upstreamed three new array lemmas to F /Pulse merged https://github.com/FStarLang/FStar/pull/4786 , and submitted a fix https://github.com/FStarLang/FStar/pull/4899 for an F compiler bug. Per mega-kernel, the median time was about 0.6 hours for testing, 3.2 hours for reducing including splitting into families and 6.8 hours for proving. With a capable model for example Claude Opus 5.5 in an agent framework that can compile and run code, such as GitHub Copilot CLI, we never saw the agent fail to reduce a kernel. That includes LUCE, which we couldn’t yet reduce when we wrote the RESOLVE paper https://arxiv.org/abs/2610.05683 , due to unsupported tensor core shapes. Along the way we found these new problems. For each one, we gave an agent the RESOLVE tools and asked it for an efficient fix, and so far the agents have produced one readily. | Kernel | What went wrong | Found by | Upstream | |---|---|---|---| | LUCE | Attention blocks overwrote each other’s scratch results | Concurrency testing | 761 https://github.com/Luce-Org/lucebox/pull/761 merged | | LUCE | In-place rotary embedding read a value after overwriting it | Manual inspection | 804 https://github.com/Luce-Org/lucebox/pull/804 merged | | Mirage | argmax started from −50000 instead of −∞ | Proof | 793 https://github.com/mirage-project/mirage/pull/793 merged | | Mirage | A real attention score of −50000 was treated as masked | Proof | 840 https://github.com/mirage-project/mirage/pull/840 open | | Mirage | Summing values before normalizing overflowed to ∞ when the correct result was finite | Proof | 840 https://github.com/mirage-project/mirage/pull/840 open | | FlashMoE | Dropped tokens depended on thread-block arrival order | Concurrency testing | 32 https://github.com/osayamenja/FlashMoE/pull/32 open | | LUCE | argmax skipped NaN logits and could return an invalid token −1 | Proof | 1026 https://github.com/Luce-Org/lucebox/pull/1026 merged | Initially found by manual inspection, and later also identified by our proof pipeline. The two stages catch different kinds of bugs. Concurrency testing found the races, where blocks or threads stepped on each other’s data. The proofs found bugs in the math itself, like a sentinel value that real data can hit or a sum that overflows to infinity, which no amount of schedule perturbation would expose. We also independently discovered and reproduced two problems that the developers fixed upstream: | Kernel | What went wrong | Found by | Upstream fix | |---|---|---|---| | Mirage | Uninitialized tile padding and two missing barriers in attention | Concurrency testing | 768 https://github.com/mirage-project/mirage/pull/768 | | LUCE | Grid-barrier reset raced with arriving blocks | Concurrency testing | 40 https://github.com/Luce-Org/lucebox/pull/40 | For Mirage, we posted our reproduction in 777 https://github.com/mirage-project/mirage/pull/777 three days after 768 was opened and before it was merged, and closed ours in favor of it. For LUCE, the fix came from a community report https://github.com/Luce-Org/lucebox/issues/28 , and the blog post https://www.lucebox.com/blog/megakernel introducing the kernel mentions running into grid-synchronization problems during development. In both cases, running our concurrency testing on versions from before the fix reproduced the problem quickly. We thank the LUCE and Mirage developers, especially @davide221 https://github.com/davide221 , @jiazhihao https://github.com/jiazhihao and @Electronic-Waste https://github.com/Electronic-Waste , for taking the time to review our pull requests. Decomposing and proving mega-kernels Each reduced mega-kernel breaks into families of operations, and each family is proved separately before the proofs are composed. For Mirage there are four Figure 4 : the embedding with its positional tables, the decoder layer once for each of the 28 layers , the final normalization with the projection onto the vocabulary, and the argmax that picks the next token. The reduced mega-kernel makes 256 kernel launches for this workload, and the proof needs to cover each. The one family specified over the floats themselves, rather than the reals, is the final argmax , where the family proofs are joined together. Figure 4. How the Mirage proof is put together. We explain below why argmax is specified over floats rather than reals. Argmax: ties, types and exceptional values PyTorch’s argmax returns the first index of the largest logit. Mirage’s computes it in parallel: each thread finds the largest logit in its share of the vocabulary, and the partial winners are then compared in a tree. When two logits tie, which one survives depends on how the tree pairs them, not on which index is smaller: with equal maxima at token IDs 1 and 2, Mirage returns 2 and PyTorch returns 1. Both are reasonable answers, but they are different tokens, so no tolerance can reconcile them. To address this, we specify argmax as returning any index of a maximal value, which both programs satisfy. The bigger issue is types. Every other family is proved to compute the reference’s math over the real numbers, with the actual floats only approximately related to those reals. That argument breaks down at argmax : the two programs compute different floats, so close logits can come out in a different order and the programs pick different winners. So we specify argmax exactly, over the floats the previous stage actually produced, and stitch the families together at that boundary. Thus the final theorem says that each program picks a maximal token from logits that approximate the reference’s, but not that both programs pick the same token. Specifying argmax over floats also covers exceptional values. PyTorch’s argmax returns the first NaN if there is one. LUCE’s skipped NaNs, and when every logit was NaN or −∞ it returned −1, which isn’t a valid token. A strictly real-valued analysis couldn’t have caught this, since NaN and −∞ don’t exist over the reals; our proof caught it because of the way we model floats, and the fix is merged 1026 https://github.com/Luce-Org/lucebox/pull/1026 . Checking the specifications We also check the specifications themselves, in two opposite directions, much like the two measures used to judge LLM-written postconditions https://doi.org/10.1145/3660791 : a good specification accepts correct code and rejects buggy code. Is it wrong? The reference is proved against the same specification as the mega-kernel, so a specification that describes something other than what the reference computes makes the reference proof fail. Is it too weak? A specification can hold for the reference and still say very little, for example by leaving some outputs unconstrained an earlier post on this blog about small proof-oriented tests https://risemsr.github.io/blog/2026-04-16-spotting-specs/ tackles the same worry . So we also prove that each specification is a function: over exact real numbers, it allows one answer per input. For floats it allows only the differences that every specification shares, like argmax ties. A script https://github.com/FStarLang/kuiper-megakernels/blob/main/tightness.py writes this theorem https://github.com/FStarLang/kuiper-megakernels/blob/main/proofs/mirage-tightness/KPlay.Tightness.Mirage.Statement.fst from the specification itself. Specifications also rest on facts about the hardware that the documentation doesn’t quite promise. For example, Mirage compares BF16 values after converting them to FP32, so the proof needs that conversion to keep their order. PTX implies it but doesn’t guarantee it, so we assume it https://github.com/FStarLang/kuiper-megakernels/blob/main/support/mirage-cleanroom/Kuiper.Float.Casts.Raw.fsti and checked all 65,536 BF16 values on the GPU. Most of what our proofs rely on is either documented or covered by testing, but cases like this one will keep coming up as the hardware and programming languages evolve. What we’re still trusting Every result about GPU kernels rests on assumptions. Here are some of ours. - Our concurrency results come from testing, not proof. If a race never changes the output on the GPU we test on, we won’t see it. We also can’t currently insert delays between threads in the same warp. - Our testing and reduction hold for the binaries, compilers, GPUs and inputs we used, and the proofs cover the model sizes, batch sizes and prompt lengths we list. For Mirage, the scenario we picked used one request whose KV cache fit in a single page, so bugs that need several requests or pages, like the page-table offset addressed in Mirage 812 https://github.com/mirage-project/mirage/pull/812 , are outside what we checked. We are actively working on scaling the proofs to cover them. - The result is only as meaningful as the reference: the Hugging Face model for Mirage and LUCE, and a router we wrote ourselves for FlashMoE. What’s next RESOLVE uses testing to cover the gap in GPU semantics, rather than closing it. Today, we don’t see a rigorous way to validate deployed kernels end to end, at the pace people are writing them, without leaning on testing somewhere, and running the real binary on real hardware is the most trustworthy testing we have. In the longer run, we want testing to carry less of the load, so we’re also working on the gap itself. SIMT-Step https://doi.org/10.1145/3808297 gives us precise language for talking about warp behavior, and WarpDRF https://arxiv.org/abs/2610.07541 proposes a simple contract that every GPU we tested honors. If GPU vendors and programming frameworks commit to conservative contracts like this, we can prove kernels against the contract rather than against one particular GPU, and those proofs will keep holding as the hardware changes. The other big open problem for us is arithmetic. Bit-accurate models https://arxiv.org/abs/2511.10909 and an SMT formalization https://doi.org/10.1007/978-3-031-93706-4 21 of tensor-core arithmetic now exist for recent NVIDIA GPUs, and building them into proofs would let us bound rounding error, and handle kernels that approximate a function differently from their reference, not just prove that the math matches. In the meantime, RESOLVE already makes tolerance testing more useful: once a kernel is deterministic and proved to compute the same math as its reference, any remaining difference comes from floating-point precision, so a tolerance test measures exactly the thing it was meant to measure. We also want proofs that hold for every size, not just the sizes of one deployment. General-purpose libraries need this, and so do serious bugs that only appear at large sizes. Index arithmetic can overflow, for example: GPU-Fuzz https://arxiv.org/abs/2602.10478 found a PyTorch ConvTranspose2d kernel whose 32-bit element count wraps around and writes out of bounds, and vLLM fixed a similar truncation https://github.com/vllm-project/vllm/pull/44971 in its GGUF dequantize kernels as a security issue, and over half of the 582 potential bugs that KernelArmor https://arxiv.org/abs/2611.18754 reported in production CUDA kernels were integer overflows. Kuiper uses machine integers and proves they don’t overflow, so RESOLVE already catches such bugs at the sizes we check. Related work This list aims for breadth rather than completeness. If we missed your work, please let us know Proving GPU kernels correct. Besides Kuiper https://doi.org/10.1145/3808280 , recent work includes ProofWright https://arxiv.org/abs/2511.12294 , Volta https://doi.org/10.1145/3839470 , LARK https://arxiv.org/abs/2611.02028 , Racer https://arxiv.org/abs/2610.28429 , SF Tensor’s PTX formalization in Lean https://sf-tensor.com/engineering/formalizing-ptx , Gimlet Labs’ Z3-based equivalence checking https://gimletlabs.ai/blog/formally-verifying-ai-generated-kernels , TensorLean https://tensorlean.ai and TxVerify https://blog.mlc.ai/2026/11/24/what-must-we-trust-verifying-production-gpu-kernels-with-a-core-assumption-split . Most of these treat floating point as real arithmetic; TensorLean also bounds round-off error. Static analysis of GPU kernels. GPUVerify https://doi.org/10.1145/2384616.2384625 , developed in collaboration with Microsoft Research, proves kernels free of data races and barrier divergence. GKLEE https://doi.org/10.1145/2145816.2145844 finds races and deadlocks with symbolic execution, Faial https://doi.org/10.1007/978-3-030-81685-8 19 checks data-race freedom and is still actively maintained https://gitlab.com/umb-svl/faial , and test amplification https://doi.org/10.1145/2254064.2254110 generalizes race freedom from a single test to all inputs. More recently, KernelArmor https://arxiv.org/abs/2611.18754 has agents write annotations so that a verifier can prove memory and thread safety for production CUDA kernels. Concurrency testing and race detection. The best-known systematic concurrency testing tools target CPU programs, and several came out of MSR: CHESS https://www.usenix.org/conference/osdi-08/finding-and-reproducing-heisenbugs-concurrent-programs and PCT https://doi.org/10.1145/1736020.1736040 control the thread schedule, and DataCollider https://www.usenix.org/conference/osdi10/effective-data-race-detection-kernel inserts delays to catch races in the Windows kernel. Race-directed random testing https://doi.org/10.1145/1375581.1375584 steers the schedule toward potential races. On GPUs, Barracuda https://doi.org/10.1145/3062341.3062342 , iGUARD https://doi.org/10.1145/3477132.3483545 and NVIDIA’s Compute Sanitizer https://docs.nvidia.com/compute-sanitizer/ComputeSanitizer/index.html detect races by instrumenting the kernel. SuperCollider https://doi.org/10.1145/3808339 is the closest to RESOLVE’s first step, but it is built into NVIDIA’s ptxas compiler, so others can’t easily extend it. Determinism, reduction and translation validation. Determinism checking goes back to Cilk https://doi.org/10.1145/258492.258493 and Burnim and Sen https://doi.org/10.1145/1595696.1595700 , and has recently become a concern for LLM inference https://thinkingmachines.ai/blog/defeating-nondeterminism-in-llm-inference/ , where Vosti https://arxiv.org/abs/2609.38981 verifies it end to end. Our reduction step is related to Lipton reduction https://doi.org/10.1145/361227.361234 and sequentialization https://doi.org/10.1007/978-3-540-70545-1 7 , and our approach of checking each optimization rather than the optimizer follows translation validation https://doi.org/10.1007/BFb0054170 and Alive2 https://doi.org/10.1145/3453483.3454030 . Verifying LLM serving systems. One layer up from the kernels, the Hao AI Lab’s vstack and veriserve https://haoailab.com/blogs/verifiable-llm-infra/ use agents to model-check and prove the KV-page lifecycle of disaggregated serving in SGLang and vLLM. GPU semantics and arithmetic. See our early GPU memory model work https://doi.org/10.1145/2694344.2694391 ASPLOS 2015 , NVIDIA’s PTX memory model https://doi.org/10.1145/3297858.3304043 , Dartagnan https://github.com/hernanponcedeleon/Dat3M , a community SIGARCH post https://www.sigarch.org/gpu-memory-consistency-specifications-testing-and-opportunities-for-performance-tooling/ on memory-model specifications, and, for tensor-core arithmetic, Khattak and Mikaitis https://doi.org/10.1145/3830409 , Valpey et al. https://doi.org/10.1007/978-3-031-93706-4 21 and FTTN https://doi.org/10.1109/CCGRID59990.2024.00014 .