Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 493 Bytes

OuterNotElimination.md

File metadata and controls

26 lines (16 loc) · 493 Bytes

Outer Not Elimination

Overview

This transformation applies De Morgan's laws to propagate the not operator.

Algorithm

Find the prefix not node with conjunction/disjunction inner binary expression. Propagate the not using the De Morgan's laws. Repeat the process with the left and right binary expression operands.

Example

Before:

not (x and (y or z))

After:

(not x or (not y and not z))