Simplification of Boolean functions