arrow
Return

Mechanized Dominator Tree Certification

delete2026-01-01
delete0
PRE
AI
L
Lechenet, Jean-Christophe *
DOI:10.1145/3779031.3779107delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In modern compilers, many optimizations and analyses, in particular those based on the SSA form, rely on dominance information, so computing dominators efficiently is an important problem. The classic algorithm to compute dominators in a control flow graph is the one designed by Lengauer and Tarjan in 1979. Other efficient algorithms have been proposed since. Previous works formally verified less efficient algorithms, and formally validated parts of the Lengauer-Tarjan algorithm, but there is no complete formal verification or validation of any of the fast algorithms computing dominators so far. In 2016, Georgiadis and Tarjan described a method to tackle these. They defined a certificate with which it becomes easy to validate dominators. Following their method, we successfully implemented and proved correct a validator of dominators in the Rocq Prover, inside the CompCertSSA verified compiler. This is the first complete mechanized certification of a fast algorithm computing dominators.
Keywords:
dominance
verified compilation
Rocq

Journal

P
PROCEEDINGS OF THE 15TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON CERTIFIED PROGRAMS AND PROOFS, CPP 2026
IF:
0
Papers:
27
Citations:
0

Organization

U
Universite Cote d'Azur
Scholars:
453
Papers: 251
Citations: 9.7K
Cited Papers

Cited Papers

Finding dominators via disjoint set union
err2013-11-01
err0
errOAAI
errWojciech Fraczak; Loukas Georgiadis; Andrew Miller; Robert E. Tarjan
errShare
errSave
Finding Dominators in Practice
err2006-01-01
err0
errOAAI
errLoukas Georgiadis; Robert E. Tarjan; Renato F. Werneck
errShare
errSave
errShare
errSave
Efficient Extensional Binary Tries
err2023-03-01
err0
PREAI
errAppel,Andrew W.; Leroy,Xavier
errShare
errSave
researcher View more