The Essence of Logic Circuits