Task: Text Categorization
Input (English): Book 5 of this work discusses the question of free will, while Book 4 discusses the existence of pain and evil. At one point in this work, a hierarchy of knowledge is presented with sense at the base and intelligence from divinity at the top. Concluding that the pursuit of wisdom is the key to happiness, this work was written as a conversation between the author and Lady Philosophy. In A Confederacy of Dunces, Ignatius Reilly often mentions this work. For ten points, identify this 6th-century philosophical work written while its author was awaiting execution; a work by Boethius.
Output (English): Literature