Seol mar théacs é seo: Counterexample-guided precondition inference