Pātuhitia tēnei: The origin of the logic of symbolic mathematics