|
|
Line 1: |
Line 1: |
| '''Generic-case complexity''' is a subfield of [[computational complexity theory]] that studies the complexity of computational problems on "most inputs".
| | If an existing Word - Press code is found vulnerable, Word - Press will immediately issue an update for that. Offshore expert Word - Press developers high level of interactivity, accessibility, functionality and usability of our website can add custom online to using. Should you go with simple HTML or use a platform like Wordpress. They found out all the possible information about bringing up your baby and save money at the same time. The number of options offered here is overwhelming, but once I took the time to begin to review the video training, I was amazed at how easy it was to create a squeeze page and a membership site. <br><br>Thus, it is imperative that you must Hire Word - Press Developers who have the expertise and proficiency in delivering theme integration and customization services. When you write a new post, you'll see a small bar that goes across the text input area. Several claim that Wordpress just isn't an preferred tool to utilise when developing a professional site. They provide many such popular products which you can buy for your baby. For a Wordpress website, you don't need a powerful web hosting account to host your site. <br><br>It is very easy to install Word - Press blog or website. If you liked this short article and you would certainly like to receive even more information relating to [http://s.do-dance.com/wordpressbackupplugin759717 wordpress backup plugin] kindly visit the web site. The only problem with most is that they only offer a monthly plan, you never own the software and you can’t even install the software on your site, you must go to another website to manage your list and edit your autoresponder. I hope this short Plugin Dynamo Review will assist you to differentiate whether Plugin Dynamo is Scam or a Genuine. User friendly features and flexibility that Word - Press has to offer is second to none. Socrates: (link to ) Originally developed for affiliate marketers, I've used this theme again and again to develop full-fledged web sites that include static pages, squeeze pages, and a blog. <br><br>Word - Press installation is very easy and hassle free. Find more information about Design To Wordpress here. To do this, you should link your posts to other relevant posts that you've created. There are many advantages of hiring Wordpress developers for Wordpress project development:. If your site does well you can get paid professional designer to create a unique Word - Press theme. <br><br>Yet, overall, less than 1% of websites presently have mobile versions of their websites. I'm a large fan of using Word - Press to create pretty much any sort of web page. This allows updates to be sent anyone who wants them via an RSS reader or directly to their email. This is because of the customization that works as a keystone for a SEO friendly blogging portal website. As with a terminology, there are many methods to understand how to use the terminology. |
| | |
| Generic-case complexity is a way of measuring the complexity of a [[computational problem]] by neglecting a small set of
| |
| unrepresentative inputs and considering [[worst-case complexity]] on the rest.
| |
| Small is defined in terms of asymptotic density.
| |
| The apparent efficacy of generic case complexity is because for a wide variety of concrete computational problems, the most difficult instances seem to be rare. Typical instances are relatively easy.
| |
| | |
| This approach to complexity originated in [[combinatorial group theory]], which has a computational tradition going back to the beginning of the last century.
| |
| The notion of generic complexity was introduced in | |
| <ref name="KMSS">I. Kapovich, A. Myasnikov, P. Schupp and V. Shpilrain, ''[http://arxiv.org/abs/math/0203239 Generic case complexity, decision problems in group theory and random walks]'', J. Algebra, vol 264 (2003), 665–694.
| |
| </ref> where authors showed that for a large class of [[finitely generated group]]s the generic time complexity of some classical [[decision problems]] from combinatorial group theory, namely the [[word problem for groups|word problem]], [[conjugacy problem]] and [[membership problem]], are linear.
| |
| | |
| A detailed introduction of generic case complexity can be found in the surveys
| |
| ,<ref name="GMMU">
| |
| R. Gilman, A. G. Miasnikov, A. D. Myasnikov, and A. Ushakov, ''Generic Case Complexity'', unpublished first draft of a book, 143 pages.
| |
| </ref>
| |
| <ref>
| |
| R. Gilman, A. G. Miasnikov, A. D. Myasnikov, and A. Ushakov, ''[http://www.stevens.edu/algebraic/Files/GC/gc_survey.pdf Report on generic case complexity]'', Herald of Omsk University, Special Issue, 2007, 103–110.
| |
| </ref>
| |
| | |
| == Basic definitions ==
| |
| | |
| === Asymptotic density ===
| |
| | |
| Let ''I'' be an [[infinite set]] of inputs for a computational problem.
| |
| | |
| '''Definition 1.''' A size function on ''I'' is a map <math>\sigma:I\to \mathbb{N}</math> with infinite range.
| |
| The ball of radius ''n'' is <math>B_n=\{x\in I \mid \sigma(x)\le n \}</math>.
| |
| | |
| If the inputs are coded as strings over a finite alphabet, size might be the string length.
| |
| | |
| Let <math>\{\mu_n\}</math> be an ensemble of [[probability distributions]] where <math>\mu_n</math>
| |
| is a [[probability distribution]] on <math>B_n</math>.
| |
| If the balls <math>B_n</math> are finite, then each <math>\mu_n</math> can be taken to
| |
| be the equiprobable distribution which is the most common case. Notice that only finitely many
| |
| <math>B_n</math>'s can be empty or have <math>\mu_n(B_n) = 0</math>; we ignore them.
| |
| | |
| '''Definition 2.''' The asymptotic density of a subset <math>X \subset I</math> is
| |
| <math>\rho(X) = \lim_{n \to \infty}\mu_n(X \cap B_n)</math> when this limit exists.
| |
| | |
| When the balls <math>B_n</math> are finite and <math>\mu_n</math> is the equiprobable measure,
| |
| | |
| : <math>\rho(X)=\lim \frac{|X\cap B_n|}{|B_n|}.</math>
| |
| | |
| In this case it is often convenient to use spheres <math>I_n=\{x\in I\mid \sigma(x)=n\}</math> instead of balls and
| |
| define <math>\rho'(X)=\lim \frac{|X\cap I_n|}{|I_n|}</math>. An argument using [[Stolz theorem]] shows that <math>\rho(X)</math>
| |
| exists if <math>\rho'(X)</math> does, and in that case they are equal.
| |
| | |
| '''Definition 3''' <math>X\subseteq I</math> is generic if <math>\rho(X)=1</math> and negligible if <math>\rho(X)=0</math>.
| |
| ''X'' is exponentially (superpolynomially) generic if the convergence to the limit in Definition 2 is exponentially (superpolynomially) fast, etc.
| |
| | |
| A generic subset ''X'' is asymptotically large. Whether ''X'' appears large in practice depends
| |
| on how fast <math>\mu_n(X\cap B_n)</math> converges to 1. Superpolynomial convergence seems to be fast enough.
| |
| | |
| === Generic complexity classes ===
| |
| | |
| '''Definition 4''' An [[algorithm]] is in ''GenP'' (generically polynomial time) if it never gives incorrect answers and if it
| |
| gives correct answers in [[polynomial time]] on a generic set of inputs. A problem is in ''GenP'' if it
| |
| admits an algorithm in ''GenP''. Likewise for ''GenL'' (generically [[linear time]]), ''GenE'' (generically
| |
| [[exponential time]] with a linear exponent) ''GenExp'' (generically exponential time), etc.
| |
| ''ExpGenP'' is the subclass of ''GenP'' for which the relevant generic set is exponentially generic.
| |
| | |
| More generally for any <math>f : \mathbb{N} \to \mathbb{N}</math> we can define the class ''Gen(f)'' corresponding to
| |
| [[time complexity]] ''O''(''f'') on a generic set of input.
| |
| | |
| '''Definition 5.''' An algorithm solves a problem generically if it never gives incorrect answers and if it gives correct answers on a generic set of inputs. A problem is generically solvable if it is solved generically by some algorithm.
| |
| | |
| == Theory and applications ==
| |
| | |
| ===Combinatorial group theory problems ===
| |
| | |
| * The famous [[undecidable problem]]s: the word, conjugacy and membership decision problems are in generically polynomial.<ref name="KMSS" />
| |
| | |
| * The word and conjugacy [[search problem]]s are in ''GenP'' for all fixed finitely presented groups.<ref>
| |
| A. Ushakov, ''Dissertation'', City University of New York, 2005.</ref>
| |
| <!---------(Here is a description of these
| |
| problems: given a word w representing the identity in a finitely presented group, find a
| |
| product of conjugates of relators which is freely equal to w; given two words representing
| |
| conjugate group elements, find a conjugating element.)
| |
| ----> | |
| | |
| * The well known [[coset enumeration]] procedure admits a computable upper bound on a generic set of inputs.<ref>
| |
| R. Gilman, ''Hard problems in group theory'', talk given at the International Conference
| |
| on Geometric and Combinatorial Methods in Group Theory and Semigroup Theory,
| |
| May 18, 2009.</ref>
| |
| | |
| * The Whitehead algorithm for testing whether or not one element of a free group is mapped to another by an automorphism has an exponential worst case upper bound but runs well in practice. The algorithm is shown to be in ''GenL''.<ref>
| |
| I. Kapovich, P. Schupp, V. Shpilrain, ''[http://arxiv.org/abs/math.GR/0303386 Generic properties of Whiteheads algorithm and isomorphism rigidity of random one-relator groups]'', Pacific J. Math. 223 (2006)
| |
| </ref>
| |
| | |
| * The conjugacy problem in [[HNN extension]]s can be unsolvable even for [[free group]]s. However, it is generically cubic time<ref>
| |
| A.V. Borovik, A.G. Myasnikov, V.N. Remeslennikov, ''[http://arxiv.org/abs/0903.3754 Generic complexity of the conjugacy problem in HNN-extensions and algorithmic stratification of Miller's groups]'',
| |
| Internat. J. Algebra Comput. 17 (2007), 963–997.
| |
| </ref>
| |
| | |
| === The halting problem and the Post correspondence problem ===
| |
| | |
| * The [[halting problem]] for [[Turing machine]] with one-sided tape is easily decidable most of the time; it is in ''GenP''<ref>
| |
| [[Joel David Hamkins|J. D. Hamkins]] and A. Miasnikov, ''[http://arxiv.org/abs/math/0504351 The halting problem is decidable on a set of asymptotic probability one]'', Notre Dame J. Formal Logic 47 (2006), 515–524.
| |
| </ref>
| |
| | |
| The situation for two-sided tape is unknown. However, there is a kind of lower bound for machines of both types.
| |
| The halting problem is not in ''ExpGenP'' for any model of Turing machine,<ref>
| |
| A. Miasnikov and A. Rybalov, ''[http://projecteuclid.org/DPubS?service=UI&version=1.0&verb=Display&handle=euclid.jsl/1208359065 Generic complexity of undecidable problems]'', J. Symbolic Logic 73 (2008), 656–673.
| |
| </ref><ref>
| |
| A. Rybalov, ''[http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6V1G-4N2TS51-3&_user=605441&_rdoc=1&_fmt=&_orig=search&_sort=d&_docanchor=&view=c&_searchStrId=1052347431&_rerunOrigin=google&_acct=C000029138&_version=1&_urlVersion=0&_userid=605441&md5=8bee4d70a78ff9d14450f6bc7a993984 On the strongly generic undecidability of the halting problem]'', Theoret. Comput. Sci. 377 (2007), 268–270.
| |
| </ref>
| |
| | |
| * The [[Post correspondence problem]] is in ''ExpGenP''.<ref name="GMMU" />
| |
| | |
| === Presburger arithmetic ===
| |
| | |
| The [[decision problem]] for [[Presburger arithmetic]] admits a double exponential
| |
| worst case lower bound <ref>M. J. Fischer and M. O. Rabin, ''Super-Exponential Complexity of Presburger Arithmetic'',
| |
| Proceedings of the SIAM-AMS Symposium in Applied Mathematics 7 (1974)
| |
| 2741.</ref> and a triple exponential worst case upper bound. The
| |
| generic complexity is not known, but it is known that the problem is not in ''ExpGenP''.<ref>A. Rybalov, ''Generic complexity of Presburger arithmetic'', 356–361 in Second International Symposium on Computer Science in Russia, CSR 2007, Lecture Notes in Computer Science 4649, Springer 2007.
| |
| </ref>
| |
| | |
| === NP complete problems ===
| |
| | |
| As it is well known that [[NP-complete problems]] can be easy on average, it is not a surprise that several of them are generically easy too.
| |
| | |
| * The three [[satisfiability problem]] is in ''ExpGenP'' <ref>
| |
| R. Gilman, A. G. Miasnikov, A. D. Myasnikov, and A. Ushakov, Report on generic
| |
| case complexity, Herald of Omsk University, Special Issue, 2007, 103–110.
| |
| </ref>
| |
| * The [[subset sum problem]] is in ''GenP''.<ref name="GMMU"/>
| |
| | |
| === One way functions ===
| |
| There is a generic complexity version of a [[one-way function]] <ref>
| |
| A. D. Myasnikov, ''[http://arxiv.org/abs/0802.3734 Generic Complexity and One-Way Functions]'', Groups, Complexity and Cryptography, 1, (2009), 13–31.
| |
| </ref> which yields the same class of functions but allows one to consider different security assumptions than usual.
| |
| | |
| === Public-key cryptography ===
| |
| | |
| A series of articles,<ref>
| |
| R. Gilman, A. G. Miasnikov, A. D. Myasnikov, and A. Ushakov, ''New developments in commutator key exchange'', Proc. First Int. Conf. on Symbolic Computation and
| |
| Cryptography (SCC-2008), Beijing, 2008.
| |
| </ref><ref>A. G. Myasnikov, V. Shpilrain, A. Ushakov, ''A practical attack on a braid group based cryptographic protocol'', in Lecture Notes in Computer Science, 3621, Springer Verlag,
| |
| 2005, 86–96.</ref><ref>A. D. Myasnikov, and A. Ushakov, ''Length based attack and braid groups: cryptanalysis of Anshel–Anshel–Goldfeld key exchange protocol'', in Public Key Cryptography PKC 2007, 76–88, Lecture Notes in Comput. Sci., 4450, Springer, Berlin, 2007.
| |
| </ref> is devoted to cryptanalysis of the [[Anshel–Anshel–Goldfeld key exchange]] protocol,
| |
| whose security is based on assumptions about the [[braid group]]. This series culminates in <ref>
| |
| A. G. Miasnikov and A. Ushakov, ''Random subgroups and analysis of the length-based and quotient attacks'', Journal of Mathematical Cryptology, 2 (2008), 29–61.</ref> which applies techniques from
| |
| generic case complexity to obtain a complete analysis of the [[length based attack]] and the
| |
| conditions under which it works. The generic point of view also suggests a kind of new
| |
| attack called the quotient attack, and a more secure version of the Anshel–Anshel–Goldfeld protocol.
| |
| | |
| === List of general theoretical results ===
| |
| | |
| *A famous [[Rice's theorem]] states that if ''F'' is a subset of the set of partial computable functions from <math>\mathbb{N}</math> to <math>\{0,1\}</math>, then unless ''F'' or its complement is empty, the problem of deciding whether or not a particular [[Turing machine]] computes a function in ''F'' is undecidable. The following theorem gives a generic version.
| |
| | |
| '''Theorem 1''' <ref>
| |
| A. Miasnikov and A. Rybalov, ''Generic complexity of undecidable problems'', J. Symbolic Logic 73 (2008), 656–673.
| |
| </ref> Let ''I'' be the set of all Turing machines. If ''F'' is a subset of the set of all
| |
| partial computable function from <math>\mathbb{N}</math> to itself such that ''F'' and its complement are both non-empty,
| |
| then the problem of deciding whether or not a given Turing machine computes a function from
| |
| ''F'' is not decidable on any exponentially generic subset of ''I''.
| |
| | |
| * The following theorems are from.<ref name="KMSS" />
| |
| | |
| '''Theorem 2''' The set of [[formal languages]] which are generically computable has measure zero.
| |
| | |
| '''Theorem 3''' There is an infinite hierarchy of generic complexity classes. More precisely
| |
| for a proper complexity function ''f'', <math>Gen(f) \subsetneq Gen(f^3)</math>. | |
| | |
| * The next theorem shows that just as there are [[average case complete problems]] within distributional NP problems,
| |
| there are also generic case complete problems. The arguments in the generic case are similar to
| |
| those in the average case, and the generic case complete problem is also average case complete.
| |
| It is the distributional [[bounded halting problem]].
| |
| | |
| '''Theorem 4''' <ref name="GMMU" /> There is a notion of generic-polynomial-time reduction with respect to
| |
| which the distributional bounded halting problem is complete within class of distributional NP problems.
| |
| | |
| == Comparisons with previous work ==
| |
| | |
| === Almost polynomial time ===
| |
| | |
| Meyer and Paterson <ref>A. R. Meyer and M. S. Paterson, ''With what frequency are apparently intractable
| |
| problems difficult?'', M.I.T. Technical Report, MIT/LCS/TM-126, February, 1979.
| |
| </ref> define an algorithm to be almost polynomial time, or APT, if it halts | |
| within ''p(n)'' steps on all but ''p(n)'' inputs of size ''n''. Clearly APT algorithms are included in our
| |
| class ''GenP''. We have seen several [[NP complete]] problems in ''GenP'', but Meyer and Paterson
| |
| show that this is not the case for APT. They prove that an NP complete problem is reducible to
| |
| a problem in APT if and only if [[P = NP]]. Thus APT seems much more restrictive than ''GenP''.
| |
| | |
| === Average-case complexity ===
| |
| | |
| Generic case complexity is similar to [[average-case complexity]]. However there are some significant differences.
| |
| Generic case complexity is a direct measure of the performance of an algorithm on most inputs while average case complexity
| |
| gives a measure of the balance between easy and difficult instances. In addition Generic-case complexity naturally applies to [[undecidable problem]]s.
| |
| | |
| Suppose <math>\mathcal{A}</math> is an algorithm whose [[time complexity]], <math>T:I\to \mathbb{N}</math> is polynomial on <math>\mu</math> average.
| |
| What can we infer about the behavior of <math>\mathcal{A}</math> on typical inputs?
| |
| | |
| '''Example 1''' Let ''I'' be the set of all words over <math>\{0,1\}</math> and define the size <math>\sigma(w)</math> to be word length,
| |
| <math>|w|</math>. Define <math>I_n</math> to be the set of words of length ''n'', and assume that each <math>\mu_n</math> is the equiprobable measure.
| |
| Suppose that ''T(w)=n'' for all but one word in each <math>I_n</math>, and <math>T(w)=2^{2^n}</math> on the exceptional words.
| |
| | |
| In this example ''T'' is certainly polynomial on typical inputs, but ''T'' is not polynomial on average. ''T'' is in ''GenP''.
| |
| | |
| '''Example 2''' Keep ''I'' and <math>\sigma(w) = |w|</math> as before, but define <math>\mu(w)= 2^{-2|w|-1}</math> and
| |
| <math>T(w) = 2^{|w|}</math>. ''T'' is polynomial on average even though it is exponential on typical inputs. ''T'' is not in ''GenP''.
| |
| | |
| In these two examples the generic complexity is more closely related to behavior
| |
| on typical inputs than average case complexity. Average case complexity measures something
| |
| else: the balance between the frequency of difficult instances and the degree of difficulty,.<ref>
| |
| Y. Gurevich, ''The challenger-solver game: variations on the theme of P =?NP'', Logic
| |
| in Computer Science Column, The Bulletin of the EATCS, October 1989, p.112-121.
| |
| </ref><ref>R. Impagliazzo, ''A personal view of average-case complexity'', in Proceedings of the
| |
| 10th Annual Structure in Complexity Theory Conference - SCT 1995, IEEE Computer
| |
| Society, 1995, page 134.</ref>
| |
| Roughly speaking an algorithm which is polynomial time on average can have only a subpolynomial
| |
| fraction of inputs that require superpolynomial time to compute.
| |
| | |
| Nevertheless in some cases generic and average case complexity are quite close to each other.
| |
| A function <math>f:I\rightarrow\mathbb{R}^+</math> is polynomial on <math>\mu</math>-average on spheres if there
| |
| exists <math>k \geq 1</math> such that <math>\sum_{w\in I_n} f^{1/k}(w) \mu_n(w) = O(n)</math> where <math>\{\mu_n\}</math>
| |
| is the ensemble induced by <math>\mu</math>. If ''f'' is polynomial on <math>\mu</math>-average on spheres, the ''f'' is
| |
| polynomial on <math>\mu</math>-average, and for many distributions the converse holds
| |
| <ref>Y. Gurevich, ''Average case completeness'', J. of Computer and System Science, 42
| |
| (1991), 346–398.
| |
| </ref>
| |
| | |
| '''Theorem''' 5 <ref name="GMMU"/> If a function <math>f:I\rightarrow \mathbb{R}^+</math> is polynomial on <math>\mu</math>-average on spheres then ''f''
| |
| is generically polynomial relative to the spherical asymptotic density <math>\rho'</math>.
| |
| | |
| '''Theorem''' 6 <ref name="GMMU"/> Suppose a complete algorithm <math>\mathcal{A}</math> has subexponential time bound ''T'' and a partial algorithm <math>\mathcal{B}</math>
| |
| for the same problem is in ''ExpGenP'' with respect to the ensemble <math>\{\mu_n\}</math> corresponding to a probability measure <math>\mu</math>
| |
| on the inputs ''I'' for <math>\mathcal{A}</math>. Then there is a complete algorithm which is <math>\mu</math>-average time complexity.
| |
| | |
| === Errorless heuristic algorithms ===
| |
| | |
| In a 2006 paper, Bogdanov and Trevisan came close to defining generic case complexity.<ref>A. Bogdanov, L. Trevisan, ''Average-case Complexity'', Found. Trends Theor. Comput. Sci. '''2''', No. 1, 111 p. (2006)..</ref> Instead of partial algorithms, they consider so-called errorless heuristic algorithms. These are
| |
| complete algorithms which may fail by halting with output "?". The class ''AvgnegP'' is defined
| |
| to consist of all errorless heuristic algorithms ''A'' which run in polynomial time and for which the | |
| probability of failure on <math>I_n</math> is negligible, i.e., converges superpolynomially fast to 0.
| |
| ''AvgnegP'' is a subset of ''GenP''. Errorless heuristic algorithms are essentially the same as the algorithms with
| |
| benign faults defined by Impagliazzo where polynomial time on average algorithms are
| |
| characterized in terms of so-called benign algorithm schemes.
| |
| | |
| == References ==
| |
| | |
| {{Reflist}}
| |
| | |
| {{DEFAULTSORT:Generic-Case Complexity}}
| |
| [[Category:Computational complexity theory]]
| |