" However, even though mathematics, or studies in logic were part of the madrasa's curriculum, they were all centred around religion.