Seol mar théacs é seo: The many roots of medieval logic