Skip to main content

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11760))

Abstract

It is well-known that the higher-order language PCF is not fully abstract: there is a program—the so-called parallel or tester, meant to test whether its input behaves as a parallel or—which never terminates on any input, operationally, but is denotationally non-trivial. We explore a probabilistic variant of PCF, and ask whether the parallel or tester exhibits a similar behavior there. The answer is no: operationally, one can feed the parallel or tester an input that will fool it into thinking it is a parallel or. We show that the largest probability of success of such would-be parallel ors is exactly 8/27. The bound is reached by a very simple probabilistic program. The difficult part is to show that that bound cannot be exceeded.

This research was partially supported by Labex DigiCosme (project ANR-11-LABEX-0045-DIGICOSME) operated by ANR as part of the program “Investissement d’Avenir” Idex Paris-Saclay (ANR-11-IDEX-0003-02).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Abramsky, S., Jung, A.: Domain theory. In: Abramsky, S., Gabbay, D.M., Maibaum, T.S.E. (eds.) Handbook of Logic in Computer Science, vol. III, pp. 1–168. Oxford University Press (1994)

    Google Scholar 

  2. Battenfeld, I.: Computational effects in topological domain theory. Electron. Notes Theor. Comput. Sci. 158, 59–80 (2006)

    Article  Google Scholar 

  3. Bird, B.: Introduction to Functional Programming using Haskell. Prentice-Hall Series in Computer Science. Prentice-Hall, Inc., Upper Saddle River, New Jersey (1998)

    Google Scholar 

  4. Ehrhard, T., Tasson, C., Pagani, M.: Probabilistic coherence spaces are fully abstract for probabilistic PCF. In: Jagannathan, S., Sewell, P. (eds.) Proceedings of 41st Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2014), pp. 309–320 (2014)

    Google Scholar 

  5. Gierz, G., Hofmann, K.H., Keimel, K., Lawson, J.D., Mislove, M., Scott, D.S.: Continuous Lattices and Domains, Encyclopedia of Mathematics and its Applications, vol. 93. Cambridge University Press, Cambridge (2003)

    Book  Google Scholar 

  6. Goubault-Larrecq, J.: Non-Hausdorff Topology and Domain Theory-Selected Topics in Point-Set Topology. New Mathematical Monographs, vol. 22. Cambridge University Press, Cambridge (2013)

    Book  Google Scholar 

  7. Goubault-Larrecq, J.: Full abstraction for non-deterministic and probabilistic extensions of PCF I: the angelic cases. J. Logic Algebraic Methods Program. 84(1), 155–184 (2015). https://doi.org/10.1016/j.jlamp.2014.09.003

    Article  MathSciNet  MATH  Google Scholar 

  8. Goubault-Larrecq, J.: Fooling the parallel or tester with probability 8/27 (2019). full version on arXiv:1903.12653 [cs.LO]

  9. Goubault-Larrecq, J.: A probabilistic and non-deterministic call-by-push-value language. In: 34th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2019) (2019, to appear). full version on arXiv:1812.11573 [cs.LO]

  10. Goubault-Larrecq, J., Palamidessi, C., Troina, A.: A probabilistic applied pi–calculus. In: Shao, Z. (ed.) APLAS 2007. LNCS, vol. 4807, pp. 175–190. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-76637-7_12

    Chapter  Google Scholar 

  11. Jones, C.: Probabilistic non-determinism. Ph.D. thesis, University of Edinburgh (1990). Technical report ECS-LFCS-90-105

    Google Scholar 

  12. Jones, C., Plotkin, G.: A probabilistic powerdomain of evaluations. In: Proceedings of the 4th Annual Symposium on Logic in Computer Science, pp. 186–195. IEEE Computer Society (1989)

    Google Scholar 

  13. Jung, A., Tix, R.: The troublesome probabilistic powerdomain. In: Edalat, A., Jung, A., Keimel, K., Kwiatkowska, M. (eds.) Proceedings of 3rd Workshop on Computation and Approximation. Electronic Lecture Notes in Computer Science, vol. 13, 23 p. Elsevier (1998)

    Google Scholar 

  14. Keimel, K., Lawson, J.: Measure extension theorems for \({T_0}\)-spaces. Topol. Appl. 149(1–3), 57–83 (2005)

    Article  MathSciNet  Google Scholar 

  15. Plotkin, G.D.: LCF considered as a programming language. Theor. Comput. Sci. 5(1), 223–255 (1977)

    Article  MathSciNet  Google Scholar 

  16. Sazonov, V.Y.: Expressibility of functions in D. Scott’s LCF language. Algebra i Logika 15(3), 308–330 (1976). Translated from Russian

    Article  MathSciNet  Google Scholar 

  17. Vákár, M., Kammar, O., Staton, S.: A domain theory for statistical probabilistic programming. In: Proceedings of 46th ACM Symposium on Principles of Programming Languages (POPL 2019) (2019). arXiv:1811.04196 [cs.LO]

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jean Goubault-Larrecq .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Goubault-Larrecq, J. (2019). Fooling the Parallel or Tester with Probability 8/27. In: Alvim, M., Chatzikokolakis, K., Olarte, C., Valencia, F. (eds) The Art of Modelling Computational Systems: A Journey from Logic and Concurrency to Security and Privacy. Lecture Notes in Computer Science(), vol 11760. Springer, Cham. https://doi.org/10.1007/978-3-030-31175-9_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-31175-9_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-31174-2

  • Online ISBN: 978-3-030-31175-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics