Theorem-prover-assisted counterexample generation with constrained enumerative types