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

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Logic

Dual

construct the dual of a Boolean expression

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);

¬ba

(2)
>

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

¬abc

(3)

See Also


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /