{"id":{"repo_id":"iastate","oai_identifier":"oai:dr.lib.iastate.edu:20.500.12876/106603"},"canonical_url":"https://search.ndltd.org/etd/iastate/oai:dr.lib.iastate.edu:20.500.12876/106603","repository":{"repo_id":"iastate","name":"Iowa State University","base_url":"https://dr.lib.iastate.edu/server/oai/request"},"display":{"title":"Symbolic execution for probabilistic programs: path probabilities testing and verification in prism model checker","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Yavvari, Saitej"],"institution":"Iowa State University - Thesis & Dissertation","degree_name":"Master of Science","degree_level":"thesis","degree_discipline":"Computer science","degree_department":"Department of Computer Science","school":null,"contributors":[],"advisors":["Li, Liyi"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-05","date_published":"2026-05","updated_at":"2026-11-19T04:31:09Z","subjects":["Computer science"],"languages":["en_US"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/106603"],"render_values":[{"text":"https://dr.lib.iastate.edu/handle/20.500.12876/106603","href":"https://dr.lib.iastate.edu/handle/20.500.12876/106603","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31274/td-20260804-208","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.31274/td-20260804-208","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aiastate%3Aoai%3Adr.lib.iastate.edu%3A20.500.12876%2F106603","prefix":"oai_dc"},"source_record":{"url":"https://dr.lib.iastate.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.lib.iastate.edu%3A20.500.12876%2F106603","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Li, Liyi"]},{"key":"dc:contributor.department","label":"Department","values":["Department of Computer Science"]},{"key":"dc:creator","label":"Author","values":["Yavvari, Saitej"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-06-09T22:08:06Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-06-09T22:08:06Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-05"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-06-09T22:08:07Z"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["f7be4eb9-d1d0-4081-859b-b15cee251456"]},{"key":"dc:type","label":"Dc Type","values":["Text","thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Iowa State University - Thesis & Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer science"]},{"key":"dc:subject.discipline","label":"Dc Subject Discipline","values":["Computer science"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Model Checking","Probabilistic Programming","Probability Verification","Randomized Algorithms","Symbolic Execution"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.31274/td-20260804-208"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://dr.lib.iastate.edu/handle/20.500.12876/106603"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["May2026"]},{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["PDF"]},{"key":"dc:title","label":"Title","values":["Symbolic execution for probabilistic programs: path probabilities testing and verification in prism model checker"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Li, Liyi"],"dc:contributor.department":["Department of Computer Science"],"dc:creator":["Yavvari, Saitej"],"dc:date.accessioned":["2026-06-09T22:08:06Z"],"dc:date.available":["2026-06-09T22:08:06Z"],"dc:date.issued":["2026-05"],"dc:date.updated":["2026-06-09T22:08:07Z"],"dc:description":["May2026"],"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."],"dc:format.mimetype":["PDF"],"dc:identifier.doi":["https://doi.org/10.31274/td-20260804-208"],"dc:identifier.uri":["https://dr.lib.iastate.edu/handle/20.500.12876/106603"],"dc:language.iso":["en_US"],"dc:relation.orgunit":["f7be4eb9-d1d0-4081-859b-b15cee251456"],"dc:subject":["Computer science"],"dc:subject.discipline":["Computer science"],"dc:subject.keyword":["Model Checking","Probabilistic Programming","Probability Verification","Randomized Algorithms","Symbolic Execution"],"dc:title":["Symbolic execution for probabilistic programs: path probabilities testing and verification in prism model checker"],"dc:type":["Text","thesis"],"dspace:entity.type":["Publication"],"thesis:degree_discipline":["Computer science"],"thesis:degree_level":["thesis"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Iowa State University - Thesis & Dissertation"]},"updated_at":"2026-11-19T04:31:09Z"}