The following warnings occurred:
Warning [2] Undefined variable $can_link - Line: 6 - File: showthread.php(1658) : eval()'d code PHP 8.5.12 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php(1658) : eval()'d code 6 errorHandler->error_callback
/showthread.php 1658 eval




“The Library of Babel” by Jorge Luis Borges (1941)
#8
(15-01-2026, 08:24 PM)Jorge_Stolfi wrote: You are not allowed to view links. Register or Login to view.
(15-01-2026, 01:27 PM)Mauro wrote: You are not allowed to view links. Register or Login to view.
(15-01-2026, 10:11 AM)Jorge_Stolfi wrote: You are not allowed to view links. Register or Login to view.
(15-01-2026, 09:50 AM)MarcoP wrote: You are not allowed to view links. Register or Login to view.Another interesting detail is: "[a book] made up of the letters MCV, perversely repeated from the first line to the last" - the most dramatic example of a hopelessly meaningless text that has character conditional entropy equal to zero.

To be pedantic, the average character entropy would be about 20/N bits, where N is the length of the book.  The 20 bits is a guess at the size of a program that would print out that text, on the Librar'y's Official Turing Machine.

All the best, --stolfi

Should'nt Shannon 1st-order entropy be -3*(1/3*ln(1/3)) =~ 1.099, independent from the length of the book?

The Shannon entropy of a stream of characters is how many bits you need, on average, to specify the next character.   IIRC, in Borges story the alphabet was only the 26 capital Latin letters.  It seems reasonable to assume that each of these letters can occur at each position in any book with the same probability, independently of the rest of the text in that book.  Then the Shannon entropy per character (for any order k), will be log_2(26) = ln(26)/ln(2) = ~4.700 bits.

I agree, you were talking about a generic text (with an uniform distribution of N characters). My value of 1.099 was for the specific text mentioned by MarcoP (a continuos repeat of the characters MCV, N=3). [ps.: I use the symbol 'ln' for 'logarithm in base 2']
Reply


Messages In This Thread
RE: “The Library of Babel” by Jorge Luis Borges (1941) - by Mauro - 16-01-2026, 02:13 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)