Skip to main content

On Equivalences, Metrics, and Polynomial Time

  • Conference paper
  • First Online:
Fundamentals of Computation Theory (FCT 2015)

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

Included in the following conference series:

Abstract

Interactive behaviors are ubiquitous in modern cryptography, but are also present in \(\lambda \)-calculi, in the form of higher-order constructions. Traditionally, however, typed \(\lambda \)-calculi simply do not fit well into cryptography, being both deterministic and too powerful as for the complexity of functions they can express. We study interaction in a \(\lambda \)-calculus for probabilistic polynomial time computable functions. In particular, we show how notions of context equivalence and context metric can both be characterized by way of traces when defined on linear contexts. We then give evidence on how this can be turned into a proof methodology for computational indistinguishability, a key notion in modern cryptography. We also hint at what happens if a more general notion of a context is used.

This work is partially supported by the ANR project 12IS02001 PACE.

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

Similar content being viewed by others

Notes

  1. 1.

    Following the literature on the subject, this stands for any function \(\delta :A\times A\rightarrow \mathbb {R}\) such that \(\delta (x,y)=\delta (y,x)\), \(\delta (x,x)=0\) and \(\delta (x,y)+\delta (y,z)\ge \delta (x,z)\).

  2. 2.

    A negligible function is a function which tends to 0 faster than any inverse polynomial (see [9] for more details).

References

  1. Abramsky, S.: The lazy lambda calculus. In: Turner, D. (ed.) Research Topics in Functional Programming, pp. 65–117. Addison Wesley, Boston (1990)

    Google Scholar 

  2. Cappai, A., Dal Lago, U.: On equivalences, metrics, and polynomial time (long version) (2015) http://arxiv.org/abs/1506.03710

  3. Crubillé, R., Dal Lago, U.: On probabilistic applicative bisimulation and call-by-value \(\lambda \)-calculi. In: Shao, Z. (ed.) ESOP 2014 (ETAPS). LNCS, vol. 8410, pp. 209–228. Springer, Heidelberg (2014)

    Chapter  Google Scholar 

  4. Dal Lago, U., Sangiorgi, D., Alberti, M.: On coinductive equivalences for higher-order probabilistic functional programs. In: POPL (2014)

    Google Scholar 

  5. Dal Lago, U., Parisen Toldin, P.: A higher-order characterization of probabilistic polynomial time. In: Peña, R., van Eekelen, M., Shkaravska, O. (eds.) FOPARA 2011. LNCS, vol. 7177, pp. 1–18. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  6. Dal Lago, U., Zuppiroli, S., Gabbrielli, M.: Probabilistic recursion theory and implicit computational complexity. Sci. Ann. Comp. Sci. 24(2), 177–216 (2014)

    MathSciNet  Google Scholar 

  7. Deng, Y., Zhang, Y.: Program equivalence in linear contexts. CoRR, abs/1106.2872 (2011)

    Google Scholar 

  8. Desharnais, J., Gupta, V., Jagadeesan, R., Panangaden, P.: Metrics for labeled markov systems. In: Baeten, J.C.M., Mauw, S. (eds.) CONCUR 1999. LNCS, vol. 1664, pp. 258–273. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  9. Goldreich, O.: The Foundations of Cryptography. Basic Techniques, vol. 1. Cambridge University Press, New York (2001)

    Book  Google Scholar 

  10. Goldreich, O., Sudan, M.: Computational indistinguishability: a sample hierarchy. In: CCC, pp. 24–33 (1998)

    Google Scholar 

  11. Hofmann, M.: A mixed modal/linear lambda calculus with applications to bellantoni-cook safe recursion. In: Nielsen, M. (ed.) CSL 1997. LNCS, vol. 1414, pp. 275–294. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  12. Hofmann, M.: Safe recursion with higher types and bck-algebra. Ann. Pure Appl. Logic 104(1–3), 113–166 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  13. Howe, D.J.: Proving congruence of bisimulation in functional programming languages. Inf. Comput. 124(2), 103–112 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  14. Katz, J., Lindell, Y.: Introduction to Modern Cryptography. Chapman and Hall/CRC Press, Boca Raton (2007)

    Google Scholar 

  15. Mitchell, J.C., Mitchell, M., Scedrov, A.: A linguistic characterization of bounded oracle computation and probabilistic polynomial time. In: FOCS, pp. 725–733 (1998)

    Google Scholar 

  16. Nowak, D., Zhang, Y.: A calculus for game-based security proofs. In: Heng, S.-H., Kurosawa, K. (eds.) ProvSec 2010. LNCS, vol. 6402, pp. 35–52. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  17. Zhang, Y.: The computational SLR: a logic for reasoning about computational indistinguishability. Mathematical Structures in Computer Science 20(5), 951–975 (2010)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ugo Dal Lago .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Cappai, A., Dal Lago, U. (2015). On Equivalences, Metrics, and Polynomial Time. In: Kosowski, A., Walukiewicz, I. (eds) Fundamentals of Computation Theory. FCT 2015. Lecture Notes in Computer Science(), vol 9210. Springer, Cham. https://doi.org/10.1007/978-3-319-22177-9_24

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-22177-9_24

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-22176-2

  • Online ISBN: 978-3-319-22177-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics