Pātuhitia tēnei: Mathematical foundations of information theory