Skip to main content

On dice and coins: models of computation for random generation

  • Conference paper
  • First Online:
Automata, Languages and Programming (ICALP 1989)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 372))

Included in the following conference series:

  • 164 Accesses

Abstract

To distinguish between random generation in bounded, as opposed to expected, polynomial time, a model of Probabalisic Turing Machine (PTM) with the ability to make random choices with any (small) rational bias is necessary. This ability is equivalent to that of being able to simulate rolling any k-sided die (where |k| is polynomial in the length of the input). We would like to minimize the amount of hardware required for a machine with this capability. This leads to the problem of efficiently simulating a family of dice with as few different types of biased coins as possible.

In the special case of simulaing one n-sided die, we prove that only two types of biased coins are necessary, which can be reduced to one if we allow irrationally biased coins. This simulation is efficient, taking O(log n) coin flips. For the general case we get a tight time vs. number of biases tradeoff; for example, with O(log n) different biases, we can simulate, for any i<n, an i-sided die in O(log n) coin flips.

Supported by NSF grant DCF-85-13926.

Supported by a grant from Digital Equipment Corporation.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Shimon Even, Graph Algorithms, Computer Science Press, 1979.

    Google Scholar 

  2. John Gill, “Computational Complexity of Probabilistic Turing Machines.,” Siam Journal on Computing, vol. 6, pp. 675–695, 1977.

    Article  Google Scholar 

  3. Hardy and Wright, Introduction to Number Theory, Academic Press, 1972.

    Google Scholar 

  4. Hartshorne, Algebraic Geometry, Springer-Verlag, 1977.

    Google Scholar 

  5. Mark Jerrum, Leslie Valiant, and Vijay Vazirani, “Random Generation of Combinatorial Structures from a Uniform Distribution.,” Theoretical Computer Science, vol. 43, pp. 169–188, 1986.

    Article  Google Scholar 

  6. Richard Karp, and Michael Luby, “Monte Carlo algorithms for enumeration and reliability problems.,” Proc. 24th IEEE Symp. on Foundations of Computer Science, pp. 56–64, 1983.

    Google Scholar 

  7. B. L. van der Waerden, Algebra, Frederick Ungar, 1970.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Giorgio Ausiello Mariangiola Dezani-Ciancaglini Simonetta Ronchi Della Rocca

Rights and permissions

Reprints and permissions

Copyright information

© 1989 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Feldman, D., Impagliazzo, R., Naor, M., Nisan, N., Rudich, S., Shamir, A. (1989). On dice and coins: models of computation for random generation. In: Ausiello, G., Dezani-Ciancaglini, M., Della Rocca, S.R. (eds) Automata, Languages and Programming. ICALP 1989. Lecture Notes in Computer Science, vol 372. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0035769

Download citation

  • DOI: https://doi.org/10.1007/BFb0035769

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-51371-1

  • Online ISBN: 978-3-540-46201-9

  • eBook Packages: Springer Book Archive

Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Publish with us

Policies and ethics