DPLL SAT solver using prop_calc_rewrite