Handbook of logic in computer science.Volume 5,Logic and algebraic methods