Rewriting k-ind, about to add checksats.