Seol mar théacs é seo: Chance and determinism in Avicenna and Averroes