Pātuhitia tēnei: Foundations in modern mathematics