uXOR gate’s output is on when its inputs are different
8(=>
(Type ?g XOR)
8 (and (Gate ?g)
8 (Terminal (In 2 ?g))
8 (<=> (Signal (Out 1 ?g)
On)
8 (/= (Signal (In 1 ?g)) (Signal (In 2 ?g)))))
uNOT gate’s output is different from its inputs
8(=>
(Type ?g NOT)
8 (and (Gate ?g)
8 (not (Signal (Out 1 ?g)
(Signal (In 1 ?g)))))