Back to search

Iowa State University - Thesis & Dissertation

Symbolic execution for probabilistic programs: path probabilities testing and verification in prism model checker

Abstract

dc:description.abstract

Randomized algorithms are ubiquitous, yet reasoning about their outcome probabilities remains a challenging task. This thesis presents a framework that symbolically executes randomized programs to enumerate all feasible execution paths and compute path probabilities as closed-form expressions over program parameters. These path probabilities are aggregated to derive overall probabilities of user-defined outcomes such as assertions, program states, or events. To validate the analysis, the framework automatically generates equivalent PRISM models from the computed path probabilities. These auto-generated models are executed and their results are compared with the outcomes of the corresponding hand-crafted PRISM implementations of the same benchmark programs. The close numerical agreement between the two PRISM results (typically within 10^-9) confirms that the framework’s probability computations are semantically correct. The framework is evaluated on canonical benchmarks, including the Monty Hall problem, Freivalds’ algorithm, Monte Carlo pi estimation (looping), the Birthday Paradox, and the Von Neumann Fair Coin from a Biased Coin, which cover branching structures, loops, and parameterized randomness. Experimental results demonstrate (i) exact probability derivations where feasible, (ii) scalable approximations for loops using bounded unrolling or geometric closure, and (iii) automated cross-verification with PRISM. Overall, the system enables explainable and formally validated probability reasoning for randomized programs, aiding both debugging and assurance of probabilistic correctness.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
thesis
Discipline thesis:degree_discipline
Computer science
Department dc:contributor.department
Department of Computer Science
Grantor
Iowa State University - Thesis & Dissertation
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Yavvari, Saitej
Advisor dc:contributor.advisor
  • Li, Liyi

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Yavvari, Saitej. Symbolic execution for probabilistic programs: path probabilities testing and verification in prism model checker. thesis thesis, Iowa State University - Thesis & Dissertation, 2026. https://doi.org/10.31274/td-20260804-208