Generating Functions for Probabilistic Programs

Lutz Klinkenberg*, Kevin Batz, Benjamin Lucien Kaminski, Joost-Pieter Katoen, Joshua Moerman, Tobias Winkler

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference Article in proceedingAcademicpeer-review

Abstract

This paper investigates the usage of generating functions (GFs) encoding measures over the program variables for reasoning about discrete probabilistic programs. To that end, we define a denotational GF-transformer semantics for probabilistic while-programs, and show that it instantiates Kozen’s seminal distribution transformer semantics. We then study the effective usage of GFs for program analysis. We show that finitely expressible GFs enable checking super-invariants by means of computer algebra tools, and that they can be used to determine termination probabilities. The paper concludes by characterizing a class of—possibly infinite-state—programs whose semantics is a rational GF encoding a discrete phase-type distribution.
Original languageEnglish
Title of host publicationLogic-Based Program Synthesis and Transformation
Subtitle of host publication30th International Symposium, LOPSTR 2020, Bologna, Italy, September 7–9, 2020, Proceedings
Editors Maribel Fernández
Place of PublicationCham
PublisherSpringer
Pages231-248
Number of pages18
Edition1
ISBN (Electronic)978-3-030-68446-4
ISBN (Print)978-3-030-68445-7, 978-3-030-68447-1
DOIs
Publication statusPublished - 13 Feb 2021
Event30th International Symposium on Logic-Based Program Synthesis and Transformation - Bologna, Italy
Duration: 7 Sept 20209 Sept 2020
https://link.springer.com/book/10.1007/978-3-030-68446-4

Publication series

SeriesLecture Notes in Computer Science
Volume12561
ISSN0302-9743

Symposium

Symposium30th International Symposium on Logic-Based Program Synthesis and Transformation
Abbreviated titleLOPSTR 2020
Country/TerritoryItaly
CityBologna
Period7/09/209/09/20
Internet address

Keywords

  • Formal power series
  • Probabilistic programs
  • Quantitative verification
  • Semantics

Fingerprint

Dive into the research topics of 'Generating Functions for Probabilistic Programs'. Together they form a unique fingerprint.

Cite this