diff options
author | dos-reis <gdr@axiomatics.org> | 2010-10-27 15:14:30 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-10-27 15:14:30 +0000 |
commit | 977f775f6a923edd1eb52b7b1c3a3d963e62049d (patch) | |
tree | 2cbe0bbadc6910d347864f6eec26aec25fd5f7f4 /src/algebra/boolean.spad.pamphlet | |
parent | fcf66dc98318f5ced7ba150f04aef50b69d8cd48 (diff) | |
download | open-axiom-977f775f6a923edd1eb52b7b1c3a3d963e62049d.tar.gz |
* algebra/boolean.spad.pamphlet (BooleanLogic) [~]: Add defaut.
Diffstat (limited to 'src/algebra/boolean.spad.pamphlet')
-rw-r--r-- | src/algebra/boolean.spad.pamphlet | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/algebra/boolean.spad.pamphlet b/src/algebra/boolean.spad.pamphlet index 46897fc4..8833724a 100644 --- a/src/algebra/boolean.spad.pamphlet +++ b/src/algebra/boolean.spad.pamphlet @@ -22,12 +22,14 @@ ++ Description: ++ This is the category of Boolean logic structures. BooleanLogic(): Category == Logic with - not: % -> % - ++ \spad{not x} returns the complement or negation of \spad{x}. - and: (%,%) -> % - ++ \spad{x and y} returns the conjunction of \spad{x} and \spad{y}. - or: (%,%) -> % - ++ \spad{x or y} returns the disjunction of \spad{x} and \spad{y}. + not: % -> % + ++ \spad{not x} returns the complement or negation of \spad{x}. + and: (%,%) -> % + ++ \spad{x and y} returns the conjunction of \spad{x} and \spad{y}. + or: (%,%) -> % + ++ \spad{x or y} returns the disjunction of \spad{x} and \spad{y}. + add + ~ x == not x @ <<category PROPLOG PropositionalLogic>>= |