wu :: forums
« wu :: forums - Lossless compression »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 10:36am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: towr, william wu, ThudnBlunder, Icarus, Eigenray, SMQ, Grimbal)
   Lossless compression
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Lossless compression  (Read 641 times)
harpanet
Junior Member
**





   
WWW

Posts: 109
Lossless compression  
« on: Sep 16th, 2003, 5:46am »
Quote Quote Modify Modify

Given a lossless data compression algorithm, show that some inputs cannot be compressed (i.e. the number of bits in the output is of equal size to, or greater size than the number of bit in the input).
 
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Lossless compression  
« Reply #1 on: Sep 16th, 2003, 7:20am »
Quote Quote Modify Modify

::repeatly compress the output of the compression (of whatever input). Since all information must retained, at some point the output must be greater or equal to the output in the last cycle, because else it has been compressed to nothingness, which doesn't contain any information::
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
harpanet
Junior Member
**





   
WWW

Posts: 109
Re: Lossless compression  
« Reply #2 on: Sep 16th, 2003, 7:28am »
Quote Quote Modify Modify

I think it's one of those things, that once you know, it's so obvious. I recall my teacher telling me that one [mumble]ty years ago. It was a bit of a 'oh wow!' moment that something that on the face of it seems as if it would be very complex can be answered so simply.
 
::It's a neat non-mathematical solution. And is quite literally a Reductio Ad Absurdum proof.  Cheesy::
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Lossless compression  
« Reply #3 on: Sep 16th, 2003, 8:04am »
Quote Quote Modify Modify

I never really thought about it before.  
I did know about a theoretical limit, which can be proven in a different way. (Though the what and how of that has slipped my mind)
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
James Fingas
Uberpuzzler
*****





   
Email

Gender: male
Posts: 949
Re: Lossless compression  
« Reply #4 on: Sep 16th, 2003, 8:09am »
Quote Quote Modify Modify

If we know the entropy of the source, then we can use the platypus-hole principle to show that we need at least as many bits in the compressed file as bits of information are contained in the source.
 
Of course, measuring the entropy of the source accurately is just as difficult as making a good lossless compression algorithm...
 
Here's the platypus-hole principle: If you put N platypuses (platypi?) into M holes, and N>M, then at least one hole has more than a single platypus in it.
« Last Edit: Sep 16th, 2003, 8:11am by James Fingas » IP Logged

Doc, I'm addicted to advice! What should I do?
Sir Col
Uberpuzzler
*****




impudens simia et macrologus profundus fabulae

   
WWW

Gender: male
Posts: 1825
Re: Lossless compression  
« Reply #5 on: Sep 16th, 2003, 8:43am »
Quote Quote Modify Modify

on Sep 16th, 2003, 7:28am, harpanet wrote:
I think it's one of those things, that once you know, it's so obvious ... It was a bit of a 'oh wow!' moment that something that on the face of it seems as if it would be very complex can be answered so simply.

I agree! I've never seen that problem before and I confess to reading Towr's elegant solution after only giving it cursory thought, but... "Oh Wow!" Great solution, Towr, and thanks for posting the problem Harpanet.  Cool
IP Logged

mathschallenge.net / projecteuler.net
Sameer
Uberpuzzler
*****



Pie = pi * e

   


Gender: male
Posts: 1261
Re: Lossless compression  
« Reply #6 on: Sep 19th, 2003, 8:04am »
Quote Quote Modify Modify

towr has given us a nice conceptual proof.. yea its been couple of years that I have touched error coding but using entropy you can prove the limit.
IP Logged

"Obvious" is the most dangerous word in mathematics.
--Bell, Eric Temple

Proof is an idol before which the mathematician tortures himself.
Sir Arthur Eddington, quoted in Bridges to Infinity
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board