Skip to main content

Efficient Markov Chain Model of Machine Code Program Execution and Halting

  • Chapter
Genetic Programming Theory and Practice IV

Part of the book series: Genetic and Evolutionary Computation ((GEVO))

  • 914 Accesses

Abstract

We focus on the halting probability and the number of instructions executed by programs that halt for Turing-complete register based machines. The former represents the fraction of programs which provide useful results in a machine code genetic programming system. The latter determines run time and whether or not the distribution of program functionality has reached a fixed-point. We describe a Markov chain model of program execution and halting which accurately fits empirical data allowing us to efficiently estimate the halting probability and the numbers of instructions executed for programs including millions of instructions. We also discuss how this model can be applied to improve GP practice.

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 129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  • Daida, Jason M., Hilss, Adam M., Ward, David J., and Long, Stephen L. (2005). Visualizing tree structures in genetic programming. Genetic Programming and Evolvable Machines, 6(1):79–110.

    Article  Google Scholar 

  • Langdon, W. B. (2002a). Convergence rates for the distribution of program outputs. In Langdon, W. B., Cantú-Paz, E., Mathias, K., Roy, R., Davis, D., Poli, R., Balakrishnan, K., Honavar, V., Rudolph, G., Wegener, J., Bull, L., Potter, M. A., Schultz, A. C., Miller, J. F., Burke, E., and Jonoska, N., editors, GECCO 2002: Proceedings of the Genetic and Evolutionary Computation Conference, pages 812–819, New York. Morgan Kaufmann Publishers.

    Google Scholar 

  • Langdon, W. B. (2002b). How many good programs are there? How long are they? In De Jong, Kenneth A., Poli, Riccardo, and Rowe, Jonathan E., editors, Foundations of Genetic Algorithms VII, pages 183–202, Torremolinos, Spain. Morgan Kaufmann. Published 2003.

    Google Scholar 

  • Langdon, W. B. (2003a). Convergence of program fitness landscapes. In Cantú-Paz, E., Foster, J. A., Deb, K., Davis, D., Roy, R., O’Reilly, U.-M., Beyer, H.-G., Standish, R., Kendall, G., Wilson, S., Harman, M., Wegener, J., Dasgupta, D., Potter, M. A., Schultz, A. C., Dowsland, K., Jonoska, N., and Miller, J., editors, Genetic and Evolutionary Computation — GECCO-2003, volume 2724 of LNCS, pages 1702–1714, Chicago. Springer-Verlag.

    Google Scholar 

  • Langdon, W. B. (2003b). The distribution of reversible functions is Normal. In Riolo, Rick L. and Worzel, Bill, editors, Genetic Programming Theory and Practise, chapter 11, pages 173–188. Kluwer.

    Google Scholar 

  • Langdon, W. B. and Poli, R. (2005). On Turing complete T7 and MISC F-4 program fitness landscapes. Technical Report CSM-445, Computer Science, University of Essex, UK.

    Google Scholar 

  • Langdon, W. B. and Poli, R. (2006). The halting probability in von Neumann architectures. In Collet, Pierre, Tomassini, Marco, Ebner, Marc, Gustafson, Steven, and Ekárt, Anikó, editors, Proceedings of the 9th European Conference on Genetic Programming, volume 3905 of Lecture Notes in Computer Science, pages 225–237, Budapest, Hungary. Springer.

    Google Scholar 

  • Langdon, W. B. and Poli, Riccardo (2002). Foundations of Genetic Programming. Springer-Verlag.

    Google Scholar 

  • Maxwell III, Sidney R. (1994). Experiments with a coroutine model for genetic programming. In Proceedings of the 1994 IEEE World Congress on Computational Intelligence, volume 1, pages 413–417a, Orlando, Florida, USA. IEEE Press.

    Chapter  Google Scholar 

  • McPhee, Nicholas Freitag and Poli, Riccardo (2002). Using schema theory to explore interactions of multiple operators. In Langdon, W. B., Cantú-Paz, E., Mathias, K., Roy, R., Davis, D., Poli, R., Balakrishnan, K., Honavar, V., Rudolph, G., Wegener, J., Bull, L., Potter, M. A., Schultz, A. C., Miller, J. F., Burke, E., and Jonoska, N., editors, GECCO 2002: Proceedings of the Genetic and Evolutionary Computation Conference, pages 853–860, New York. Morgan Kaufmann Publishers.

    Google Scholar 

  • Mitavskiy, Boris and Rowe, Jonathan E. (2005). A schema-based version of Geiringer’s theorem for nonlinear genetic programming with homologous crossover. In Wright, Alden H., Vose, Michael D., De Jong, Kenneth A., and Schmitt, Lothar M., editors, Foundations of Genetic Algorithms 8, volume 3469 of Lecture Notes in Computer Science, pages 156–175. Springer-Verlag, Berlin Heidelberg.

    Google Scholar 

  • Rosca, Justinian (2003). A probabilistic model of size drift. In Riolo, Rick L. and Worzel, Bill, editors, Genetic Programming Theory and Practice, chapter 8, pages 119–136. Kluwer.

    Google Scholar 

  • Sastry, Kumara, O’Reilly, Una-May, Goldberg, David E., and Hill, David (2003). Building block supply in genetic programming. In Riolo, Rick L. and Worzel, Bill, editors, Genetic Programming Theory and Practice, chapter 9, pages 137–154. Kluwer.

    Google Scholar 

  • Teller, Astro (1994). Turing completeness in the language of genetic programming with indexed memory. In Proceedings of the 1994 IEEE World Congress on Computational Intelligence, volume 1, pages 136–141, Orlando, Florida, USA. IEEE Press.

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Poli, R., Langdon, W.B. (2007). Efficient Markov Chain Model of Machine Code Program Execution and Halting. In: Riolo, R., Soule, T., Worzel, B. (eds) Genetic Programming Theory and Practice IV. Genetic and Evolutionary Computation. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-49650-4_16

Download citation

  • DOI: https://doi.org/10.1007/978-0-387-49650-4_16

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-0-387-33375-5

  • Online ISBN: 978-0-387-49650-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics