Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Kolmogorov complexity
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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>.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Kolmogorov complexity
(section)
Add topic