Dual - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Logic

  

Dual

  

construct the dual of a Boolean expression

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Dual(b)

Parameters

b

-

Boolean expression

Description

• 

The Dual command returns the dual of the Boolean expression b, that is, the expression generated by replacing &and with &or, &or with &and, leaving &not fixed, and extending to the remaining Boolean operators by their formulas in terms of &and, &or, and &not.

Examples

> 

with(Logic):

> 

Dual(a &and (&not a) = false);

a∨¬a=true

(1)
> 

Dual(a &implies b);

¬b⇒a

(2)
> 

Dual((&not a) &nor b &iff c);

¬a↑b⊻c

(3)

See Also

Logic

simplex/dual