Averroes was one of the last representatives of a dying Aristotelianism that bent all its efforts to the task of the Lesser Harmony, reconciling all of Aristotle's texts with each other. A student of the Baghdad philosophy that had been transplanted to al-Andalus (Dunlop 1955), Averroes was trained in the logic of Alfarabi, many specifics of which he later came to discard: