A linear-time horn satisfiability solver.