Seol mar théacs é seo: A formal CHERI-C memory model