### Abstract

We discuss the collective behaviour of a set of operators and variables that constitute a program and the emergence of meaningful computational properties in the language of statistical mechanics. This is done by appropriately modifying available Monte Carlo methods to deal with hierarchical structures. The study suggests, in analogy with simulated annealing, a method to automatically design programs. Reasonable solutions can be found, at low temperatures, when the method is applied to simple toy problems such as finding an algorithm that determines the roots of a function or one that makes a nonlinear regression. Peaks in the specific heat are interpreted as signalling phase transitions which separate regions where different algorithmic strategies are used to solve the problem.

Original language | English |
---|---|

Article number | 006 |

Pages (from-to) | 10355-10361 |

Number of pages | 7 |

Journal | Journal of Physics A: Mathematical and General |

Volume | 39 |

Issue number | 33 |

DOIs | |

Publication status | Published - 18 Aug 2006 |

## Fingerprint Dive into the research topics of 'Statistical mechanics of program systems'. Together they form a unique fingerprint.

## Cite this

*Journal of Physics A: Mathematical and General*,

*39*(33), 10355-10361. [006]. https://doi.org/10.1088/0305-4470/39/33/006