A Decision Procedure for Monotone Functions over Bounded and Complete Lattices