Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Kolmogorov complexity
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Compression== It is straightforward to compute upper bounds for ''K''(''s'') β simply [[data compression|compress]] the string ''s'' with some method, implement the corresponding decompressor in the chosen language, concatenate the decompressor to the compressed string, and measure the length of the resulting string β concretely, the size of a [[self-extracting archive]] in the given language. A string ''s'' is compressible by a number ''c'' if it has a description whose length does not exceed |''s''| β ''c'' bits. This is equivalent to saying that {{math|''K''(''s'') β€ {{abs|''s''}} β ''c''}}. Otherwise, ''s'' is incompressible by ''c''. A string incompressible by 1 is said to be simply ''incompressible'' β by the [[pigeonhole principle]], which applies because every compressed string maps to only one uncompressed string, [[incompressible string]]s must exist, since there are 2<sup>''n''</sup> bit strings of length ''n'', but only 2<sup>''n''</sup> β 1 shorter strings, that is, strings of length less than ''n'', (i.e. with length 0, 1, ..., ''n'' β 1).<ref group=note>As there are {{math|1=''N''<sub>''L''</sub> = 2<sup>''L''</sup>}} strings of length ''L'', the number of strings of lengths {{math|1=''L'' = 0, 1, ..., ''n'' β 1}} is {{math|''N''<sub>0</sub> + ''N''<sub>1</sub> + ... + ''N''<sub>''n''β1</sub>}} = {{math|2<sup>0</sup> + 2<sup>1</sup> + ... + 2<sup>''n''β1</sup>}}, which is a finite [[geometric series]] with sum {{math|2<sup>0</sup> + 2<sup>1</sup> + ... + 2<sup>''n''β1</sup>}} = {{math|1 = 2<sup>0</sup> Γ (1 β 2<sup>''n''</sup>) / (1 β 2) = 2<sup>''n''</sup> β 1}}</ref> For the same reason, most strings are complex in the sense that they cannot be significantly compressed β their ''K''(''s'') is not much smaller than |''s''|, the length of ''s'' in bits. To make this precise, fix a value of ''n''. There are 2<sup>''n''</sup> bitstrings of length ''n''. The [[Uniform distribution (discrete)|uniform]] [[probability]] distribution on the space of these bitstrings assigns exactly equal weight 2<sup>β''n''</sup> to each string of length ''n''. '''Theorem''': With the uniform probability distribution on the space of bitstrings of length ''n'', the probability that a string is incompressible by ''c'' is at least {{math|1 β 2<sup>β''c''+1</sup> + 2<sup>β''n''</sup>}}. To prove the theorem, note that the number of descriptions of length not exceeding ''n'' β ''c'' is given by the geometric series: : 1 + 2 + 2<sup>2</sup> + ... + 2<sup>''n'' β ''c''</sup> = 2<sup>''n''β''c''+1</sup> β 1. There remain at least : 2<sup>''n''</sup> β 2<sup>''n''β''c''+1</sup> + 1 bitstrings of length ''n'' that are incompressible by ''c''. To determine the probability, divide by 2<sup>''n''</sup>.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)