2024
Equivalence and Similarity Refutation for Probabilistic Programs
CHATTERJEE, Krishnendu; Ehsan Kafshdar GOHARSHADY; Petr NOVOTNÝ a Djordje ŽIKELIĆZákladní údaje
Originální název
Equivalence and Similarity Refutation for Probabilistic Programs
Autoři
CHATTERJEE, Krishnendu; Ehsan Kafshdar GOHARSHADY; Petr NOVOTNÝ a Djordje ŽIKELIĆ
Vydání
New York, Proceedings of the ACM on Programming Languages, Volume 8, Issue ACM SIGPLAN Conference on Programming Languages Design and Implementation (PLDI 2024), od s. 2098-2122, 25 s. 2024
Nakladatel
ACM
Další údaje
Jazyk
angličtina
Typ výsledku
Stať ve sborníku
Obor
10201 Computer sciences, information science, bioinformatics
Stát vydavatele
Spojené státy
Utajení
není předmětem státního či obchodního tajemství
Forma vydání
elektronická verze "online"
Impakt faktor
Impact factor: 2.800
Kód RIV
RIV/00216224:14330/24:00139770
Organizační jednotka
Fakulta informatiky
ISSN
UT WoS
001264464100087
EID Scopus
2-s2.0-85197909455
Klíčová slova anglicky
probabilistic programs; formal methods; martingales
Příznaky
Mezinárodní význam, Recenzováno
Změněno: 4. 4. 2025 05:36, RNDr. Pavel Šmerk, Ph.D.
Anotace
V originále
We consider the problems of statically refuting equivalence and similarity of output distributions defined by a pair of probabilistic programs. Equivalence and similarity are two fundamental relational properties of probabilistic programs that are essential for their correctness both in implementation and in compilation. In this work, we present a new method for static equivalence and similarity refutation. Our method refutes equivalence and similarity by computing a function over program outputs whose expected value with respect to the output distributions of two programs is different. The function is computed simultaneously with an upper expectation supermartingale and a lower expectation submartingale for the two programs, which we show to together provide a formal certificate for refuting equivalence and similarity. To the best of our knowledge, our method is the first approach to relational program analysis to offer the combination of the following desirable features: (1) it is fully automated, (2) it is applicable to infinite-state probabilistic programs, and (3) it provides formal guarantees on the correctness of its results. We implement a prototype of our method and our experiments demonstrate the effectiveness of our method to refute equivalence and similarity for a number of examples collected from the literature.
Návaznosti
| GA23-06963S, projekt VaV |
|