{"title":"Realistic analysis of some randomized algorithms","authors":"E. Bach","doi":"10.1145/28395.28444","DOIUrl":null,"url":null,"abstract":"Many problems such as primality testing can be solved efficiently using a source of independent, identically distributed random numbers. It is therefore customary in the theory of algorithms to assume the availability of such a source. However, probabilistic algorithms often work well in practice with pseudo-random numbers; the point of this paper is to offer a justification for this fact. The results below apply to sequences generated by iteratively applying functions of the form ƒ (&khgr;) = &agr;&khgr; + &bgr; (mod p) to a randomly chosen seed x, and estimate the probability that a predetermined number of trials of an algorithm will fail. In particular, the following bounds hold: For finding square roots modulo a prime p, a failure probability of &Ogr; (log p/√p). For testing p for primality, a failure probability of &Ogr; (p-1/4+&egr;), for any &egr;>0. (In both cases, the number of trials is about 1/2 log p.) The analysis uses results of André Weil concerning the number of points on algebraic varieties over finite fields.","PeriodicalId":161795,"journal":{"name":"Proceedings of the nineteenth annual ACM symposium on Theory of computing","volume":"61 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1987-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"66","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the nineteenth annual ACM symposium on Theory of computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/28395.28444","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 66
Abstract
Many problems such as primality testing can be solved efficiently using a source of independent, identically distributed random numbers. It is therefore customary in the theory of algorithms to assume the availability of such a source. However, probabilistic algorithms often work well in practice with pseudo-random numbers; the point of this paper is to offer a justification for this fact. The results below apply to sequences generated by iteratively applying functions of the form ƒ (&khgr;) = &agr;&khgr; + &bgr; (mod p) to a randomly chosen seed x, and estimate the probability that a predetermined number of trials of an algorithm will fail. In particular, the following bounds hold: For finding square roots modulo a prime p, a failure probability of &Ogr; (log p/√p). For testing p for primality, a failure probability of &Ogr; (p-1/4+&egr;), for any &egr;>0. (In both cases, the number of trials is about 1/2 log p.) The analysis uses results of André Weil concerning the number of points on algebraic varieties over finite fields.