Medieval foundations of the western intellectual tradition, 400-1400