<?xml version="1.0" encoding="UTF-8"?>

<modsCollection xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/mods/v3" xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd">
<mods version="3.3">

<genre>conference paper</genre>

<titleInfo><title>Cost analysis of nondeterministic probabilistic programs</title></titleInfo>


<note type="publicationStatus">published</note>


<note type="qualityControlled">yes</note>

<name type="personal">
  <namePart type="given">Peixin</namePart>
  <namePart type="family">Wang</namePart>
  <role><roleTerm type="text">author</roleTerm> </role></name>
<name type="personal">
  <namePart type="given">Hongfei</namePart>
  <namePart type="family">Fu</namePart>
  <role><roleTerm type="text">author</roleTerm> </role><identifier type="local">3AAD03D6-F248-11E8-B48F-1D18A9856A87</identifier></name>
<name type="personal">
  <namePart type="given">Amir Kafshdar</namePart>
  <namePart type="family">Goharshady</namePart>
  <role><roleTerm type="text">author</roleTerm> </role><identifier type="local">391365CE-F248-11E8-B48F-1D18A9856A87</identifier><description xsi:type="identifierDefinition" type="orcid">0000-0003-1702-6584</description></name>
<name type="personal">
  <namePart type="given">Krishnendu</namePart>
  <namePart type="family">Chatterjee</namePart>
  <role><roleTerm type="text">author</roleTerm> </role><identifier type="local">2E5DCA20-F248-11E8-B48F-1D18A9856A87</identifier><description xsi:type="identifierDefinition" type="orcid">0000-0002-4561-241X</description></name>
<name type="personal">
  <namePart type="given">Xudong</namePart>
  <namePart type="family">Qin</namePart>
  <role><roleTerm type="text">author</roleTerm> </role></name>
<name type="personal">
  <namePart type="given">Wenjun</namePart>
  <namePart type="family">Shi</namePart>
  <role><roleTerm type="text">author</roleTerm> </role></name>







<name type="corporate">
  <namePart></namePart>
  <identifier type="local">KrCh</identifier>
  <role>
    <roleTerm type="text">department</roleTerm>
  </role>
</name>



<name type="conference">
  <namePart>PLDI: Conference on Programming Language Design and Implementation</namePart>
</name>



<name type="corporate">
  <namePart>Efficient Algorithms for Computer Aided Verification</namePart>
  <role><roleTerm type="text">project</roleTerm></role>
</name>
<name type="corporate">
  <namePart>Game Theory</namePart>
  <role><roleTerm type="text">project</roleTerm></role>
</name>
<name type="corporate">
  <namePart>Rigorous Systems Engineering</namePart>
  <role><roleTerm type="text">project</roleTerm></role>
</name>
<name type="corporate">
  <namePart>Quantitative Graph Games: Theory and Applications</namePart>
  <role><roleTerm type="text">project</roleTerm></role>
</name>
<name type="corporate">
  <namePart>Quantitative Game-theoretic Analysis of Blockchain Applications and Smart Contracts</namePart>
  <role><roleTerm type="text">project</roleTerm></role>
</name>



<abstract lang="eng">We consider the problem of expected cost analysis over nondeterministic probabilistic programs,
which aims at automated methods for analyzing the resource-usage of such programs.
Previous approaches for this problem could only handle nonnegative bounded costs.
However, in many scenarios, such as queuing networks or analysis of cryptocurrency protocols,
both positive and negative costs are necessary and the costs are unbounded as well.

In this work, we present a sound and efficient approach to obtain polynomial bounds on the
expected accumulated cost of nondeterministic probabilistic programs.
Our approach can handle (a) general positive and negative costs with bounded updates in
variables; and (b) nonnegative costs with general updates to variables.
We show that several natural examples which could not be
handled by previous approaches are captured in our framework.

Moreover, our approach leads to an efficient polynomial-time algorithm, while no
previous approach for cost analysis of probabilistic programs could guarantee polynomial runtime.
Finally, we show the effectiveness of our approach using experimental results on a variety of programs for which we efficiently synthesize tight resource-usage bounds.</abstract>

<relatedItem type="constituent">
  <location>
    <url displayLabel="paper.pdf">https://research-explorer.ista.ac.at/download/6175/6176/paper.pdf</url>
  </location>
  <physicalDescription><internetMediaType>application/pdf</internetMediaType></physicalDescription><accessCondition type="restrictionOnAccess">no</accessCondition>
</relatedItem>
<originInfo><publisher>Association for Computing Machinery</publisher><dateIssued encoding="w3cdtf">2019</dateIssued><place><placeTerm type="text">Phoenix, AZ, United States</placeTerm></place>
</originInfo>
<language><languageTerm authority="iso639-2b" type="code">eng</languageTerm>
</language>

<subject><topic>Program Cost Analysis</topic><topic>Program Termination</topic><topic>Probabilistic Programs</topic><topic>Martingales</topic>
</subject>


<relatedItem type="host"><titleInfo><title>PLDI 2019: Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation</title></titleInfo>
  <identifier type="arXiv">1902.04659</identifier>
  <identifier type="ISI">000523190300014</identifier><identifier type="doi">10.1145/3314221.3314581</identifier>
<part><extent unit="pages">204-220</extent>
</part>
</relatedItem>
<relatedItem type="Supplementary material">
  <location>     <url>https://research-explorer.ista.ac.at/record/5457</url>     <url>https://research-explorer.ista.ac.at/record/8934</url>  </location>
</relatedItem>

<extension>
<bibliographicCitation>
<ista>Wang P, Fu H, Goharshady AK, Chatterjee K, Qin X, Shi W. 2019. Cost analysis of nondeterministic probabilistic programs. PLDI 2019: Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation. PLDI: Conference on Programming Language Design and Implementation, 204–220.</ista>
<chicago>Wang, Peixin, Hongfei Fu, Amir Kafshdar Goharshady, Krishnendu Chatterjee, Xudong Qin, and Wenjun Shi. “Cost Analysis of Nondeterministic Probabilistic Programs.” In &lt;i&gt;PLDI 2019: Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation&lt;/i&gt;, 204–20. Association for Computing Machinery, 2019. &lt;a href=&quot;https://doi.org/10.1145/3314221.3314581&quot;&gt;https://doi.org/10.1145/3314221.3314581&lt;/a&gt;.</chicago>
<short>P. Wang, H. Fu, A.K. Goharshady, K. Chatterjee, X. Qin, W. Shi, in:, PLDI 2019: Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation, Association for Computing Machinery, 2019, pp. 204–220.</short>
<ama>Wang P, Fu H, Goharshady AK, Chatterjee K, Qin X, Shi W. Cost analysis of nondeterministic probabilistic programs. In: &lt;i&gt;PLDI 2019: Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation&lt;/i&gt;. Association for Computing Machinery; 2019:204-220. doi:&lt;a href=&quot;https://doi.org/10.1145/3314221.3314581&quot;&gt;10.1145/3314221.3314581&lt;/a&gt;</ama>
<apa>Wang, P., Fu, H., Goharshady, A. K., Chatterjee, K., Qin, X., &amp;#38; Shi, W. (2019). Cost analysis of nondeterministic probabilistic programs. In &lt;i&gt;PLDI 2019: Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation&lt;/i&gt; (pp. 204–220). Phoenix, AZ, United States: Association for Computing Machinery. &lt;a href=&quot;https://doi.org/10.1145/3314221.3314581&quot;&gt;https://doi.org/10.1145/3314221.3314581&lt;/a&gt;</apa>
<mla>Wang, Peixin, et al. “Cost Analysis of Nondeterministic Probabilistic Programs.” &lt;i&gt;PLDI 2019: Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation&lt;/i&gt;, Association for Computing Machinery, 2019, pp. 204–20, doi:&lt;a href=&quot;https://doi.org/10.1145/3314221.3314581&quot;&gt;10.1145/3314221.3314581&lt;/a&gt;.</mla>
<ieee>P. Wang, H. Fu, A. K. Goharshady, K. Chatterjee, X. Qin, and W. Shi, “Cost analysis of nondeterministic probabilistic programs,” in &lt;i&gt;PLDI 2019: Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation&lt;/i&gt;, Phoenix, AZ, United States, 2019, pp. 204–220.</ieee>
</bibliographicCitation>
</extension>
<recordInfo><recordIdentifier>6175</recordIdentifier><recordCreationDate encoding="w3cdtf">2019-03-25T10:13:25Z</recordCreationDate><recordChangeDate encoding="w3cdtf">2026-09-12T22:31:05Z</recordChangeDate>
</recordInfo>
</mods>
</modsCollection>
