Outrunning Big KATs: Efficient Decision Procedures for Variants of GKAT

Read full text
Authors: Cheng Zhang, Qiancheng Fu, Ji, Hang, Ines Santacruz Del Valle, Alexandra Silva, Marco Gaboardi
Cited by: 0

Abstract

This paper presents several efficient decision procedures for trace equivalence of GKAT automata, which make use of on-the-fly symbolic techniques via SAT solvers. To demonstrate applicability of our algorithms, we designed symbolic derivatives for CF-GKAT, a practical system based on GKAT designed to validate control-flow transformations. We implemented the algorithms in Rust and evaluated them on both randomly generated benchmarks and real-world control-flow transformations. Indeed, we observed order-of-magnitude performance improvements against existing implementations for both KAT and CF-GKAT. Notably, our experiments also revealed a bug in Ghidra, an industry-standard decompiler, highlighting the practical viability of these systems.

Fields of Study & Subjects

Formal Methods in Verification Logic programming and type systems semigroups and automata theory

Publication details

Journal / source
arXiv (Cornell University)
Publication date
15 January 2026
Document type
Preprint