Interestingly De Morgan's laws can be expressed in terms of logic gates, Figure 155.
The idea is to pull bubble through and swap AND and OR.