simplify (A implies B) and ( A and Not B )