r/AskComputerScience • u/ReturnToNull404 • Nov 01 '25
Lossless Compression
I invented a lossless compressor/algorithm/process that does not use the following...
Entropy coding, dictionary‑based methods, predictive/transform coding, run‑length encoding, or statistical modeling.
It uses math and logic. For all inputs of 4096 bits it results in a significantly reduced bit representation that self‑describes and defines itself back to the original 4096‑bit input losslessly. This makes the process input‑agnostic and should be able to perform lossless recursive compression. Given that my sample size is sufficiently large, with a 100 % success rate and an average reduction of around 200 bytes per block...
What other use cases may this process perform? I am thinking data transmission, compression, and potentially cryptographic implementations.
What would the market viability and value of something like this be?
Here is a result of a test case of 4096 bits illustrated by hexadecimal...
Original value: 512 bytes
1bb8be80b1cd4a6b126df471dd51ede16b10e95f88e5877a388017ed872588a23f3592d6a4ebb2d72de763af67c8b7a609e07115b551735861409f29aac58bd93cc7cd4d2b73cf609d6cd2c02a65739b38d3c6a5684fe871753f6c7d8077d7bb838024a070a229b36646682c6c573fd9de0a2e4583c69c208cb263ec0a00e7145a19e1dbcb27eb5f2a35e012b65ef48432dfc6391e1f1ab5ab867d77ff262f67a30acae7012f74d70226e33b85b3432b5c0289fa24f3201901ebf45c23898d28bae85b705ae1f608db2e68860ffd09ed68a11b77c36f5f85199c14498bd933ec88a99788eb1dd2af38ca0bce2891946d4cea6836048b3f10e5f8b679fb910da20fcd07c1dc5fba90c0d0c0962980e1887991448723a51670d25e12fe1ba84fd85235e8b941f79c22a44ed6c3868dbf8b3891709a9d1e0d98d01d15536ef311cdbed7a70d85ef2fa982b8a9367dd8f519e04a70691706c95f1aae37a042477b867fe5ed50fb461400af53f82e926ded3b46a04c3edd9ba9c9de9b935e6f871c73bec42f2c693fd550af2eb0d5624d7bd43e14aff8c886a4132f82072496167e91ce9944e986dbe3ede7c17352651450ad1d4a10bf2d372736905c4fec92dc675331c5ff9650b4d17ecd6583d44810f2c9173222db1617ffd67065cf1d081d17148a9414bab56f5c9216cf166f6eae44c08eb40baced097bf765cd2cd6de1e6bc1
Compressed value: 320 bytes
Returned value:
1bb8be80b1cd4a6b126df471dd51ede16b10e95f88e5877a388017ed872588a23f3592d6a4ebb2d72de763af67c8b7a609e07115b551735861409f29aac58bd93cc7cd4d2b73cf609d6cd2c02a65739b38d3c6a5684fe871753f6c7d8077d7bb838024a070a229b36646682c6c573fd9de0a2e4583c69c208cb263ec0a00e7145a19e1dbcb27eb5f2a35e012b65ef48432dfc6391e1f1ab5ab867d77ff262f67a30acae7012f74d70226e33b85b3432b5c0289fa24f3201901ebf45c23898d28bae85b705ae1f608db2e68860ffd09ed68a11b77c36f5f85199c14498bd933ec88a99788eb1dd2af38ca0bce2891946d4cea6836048b3f10e5f8b679fb910da20fcd07c1dc5fba90c0d0c0962980e1887991448723a51670d25e12fe1ba84fd85235e8b941f79c22a44ed6c3868dbf8b3891709a9d1e0d98d01d15536ef311cdbed7a70d85ef2fa982b8a9367dd8f519e04a70691706c95f1aae37a042477b867fe5ed50fb461400af53f82e926ded3b46a04c3edd9ba9c9de9b935e6f871c73bec42f2c693fd550af2eb0d5624d7bd43e14aff8c886a4132f82072496167e91ce9944e986dbe3ede7c17352651450ad1d4a10bf2d372736905c4fec92dc675331c5ff9650b4d17ecd6583d44810f2c9173222db1617ffd67065cf1d081d17148a9414bab56f5c9216cf166f6eae44c08eb40baced097bf765cd2cd6de1e6bc1
Percentage reduction: 37.5 %
TL;DR
What is the potential market value of a lossless compressor that can recursively compress, or compress encrypted data, or already compressed data?
Also, I am considering/planning to receive peer review at a university... Any advice?
View all comments
Show parent comment
2
u/alpicola Nov 01 '25
So like, if I have a folder with 100 images in bitmap format, I can run your algorithm and get 100 compressed images. Then I can concatenate those images, run your algorithm, and get a smaller compressed file with all of those images. Then I can concatenate that with 100 other folders full of photos and get a smaller compressed file with all of those folders. Then I can have 100 of my friends do the same thing, concatenate their compressed file with my own, and get a smaller compressed file with all of that.
Is that what you mean by recursive?
That at least has the potential of working because you're adding additional compressable data at every step. But that's not what I (or, it seems, anyone else) interpreted your initial claim to be.