I've written a (simpler) article on the subject, which can serve as an introduction to this topic: https://alicegg.tech/2023/03/09/shannon-demon