Logics for probabilistic programming (Extended Abstract)

This paper introduces a logic for probabilistic programming<supscrpt>+</supscrpt> PROB-DL (for <underline>prob</underline>abilistic <underline>d</underline>ynamic <underline>l</underline>ogic; see Section 2 for a formal definition). This logic has “dynamic” modal operators in which programs appear, as in Pratt's [1976] dynamic logic DL. However the programs of PROB-DL contain constructs for probabilistic branching and looping whereas DL is restricted to nondeterministic programs. The formula {a}<subscrpt>&sgr;</subscrpt>p of PROB-DL denotes “with measure ≥&sgr;, formula p holds after executing program a.” In Section 3, we show that PROB-DL has a complete and consistent axiomatization, (using techniques derived from Parikh's [1978] completeness proof for the propositional dynamic logic). Section 4 presents a <underline>prob</underline>abilistic <underline>q</underline>uantified <underline>b</underline>oolean <underline>l</underline>ogic (PROB-QBF) which also has applications to probabilistic programming.

[1]  Leonard M. Adleman,et al.  Two theorems on random polynomial time , 1978, 19th Annual Symposium on Foundations of Computer Science (sfcs 1978).

[2]  K. Segerberg A completeness theorem in the modal logic of programs , 1982 .

[3]  Saul A. Kripke,et al.  Semantical Analysis of Modal Logic I Normal Modal Propositional Calculi , 1963 .

[4]  Vaughan R. Pratt,et al.  SEMANTICAL CONSIDERATIONS ON FLOYD-HOARE LOGIC , 1976, FOCS 1976.

[5]  John T. Gill,et al.  Computational complexity of probabilistic Turing machines , 1974, STOC '74.

[6]  Richard E. Ladner,et al.  Propositional Dynamic Logic of Regular Programs , 1979, J. Comput. Syst. Sci..

[7]  Gary L. Miller,et al.  Riemann's Hypothesis and tests for primality , 1975, STOC.

[8]  Dexter Kozen,et al.  Semantics of probabilistic programs , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[9]  David Harel,et al.  Nondeterminism in logics of programs , 1978, POPL.

[10]  Leslie G. Valiant,et al.  The Complexity of Enumeration and Reliability Problems , 1979, SIAM J. Comput..

[11]  Lyle Harold Ramshaw,et al.  Formalizing the analysis of algorithms , 1979 .

[12]  John H. Reif,et al.  A dynamic logic of multiprocessing with incomplete information , 1980, POPL '80.

[13]  Vaughan R. Pratt A practical decision method for propositional dynamic logic (Preliminary Report) , 1978, STOC '78.

[14]  Larry J. Stockmeyer,et al.  The Polynomial-Time Hierarchy , 1976, Theor. Comput. Sci..

[15]  N. Saheb-Djahromi,et al.  Probabilistic LCF , 1978, International Symposium on Mathematical Foundations of Computer Science.