Octopus: Practical Equivalence Checking of P4 Packet Parsers

August 03, 2026 ยท Grace Period ยท ๐Ÿ› In proceedings of CAV 2026 (1), pp 198-211

โณ Grace Period
This paper is less than 90 days old. We give authors time to release their code before passing judgment.
Authors Jort van Leenen, Tobias Kappรฉ arXiv ID 2608.01982 Category cs.LO: Logic in CS Cross-listed cs.PL Citations 0 Venue In proceedings of CAV 2026 (1), pp 198-211
Abstract
P4 is a domain-specific language for programming protocol-independent packet processors, where packet parsers describe how incoming bit-streams are structured into headers and fields. Building on work by Doenges et al. (2022), we present Octopus, a tool that translates P4 packet parsers into automata and then attempts to (symbolically) check their equivalence. Octopus produces evidence, either in the form of a bisimulation demonstrating equivalence, or a counterexample bit-stream witnessing a behavioral difference between the two parsers. In contrast with earlier work, our tool can check equivalence between non-trivial parsers within minutes, on consumer hardware. We report on the tool's implementation and evaluate its usability in networking contexts.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Logic in CS