The relationship between philosophical and mathematical inquiry