aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/boolean.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-10-27 15:14:30 +0000
committerdos-reis <gdr@axiomatics.org>2010-10-27 15:14:30 +0000
commit977f775f6a923edd1eb52b7b1c3a3d963e62049d (patch)
tree2cbe0bbadc6910d347864f6eec26aec25fd5f7f4 /src/algebra/boolean.spad.pamphlet
parentfcf66dc98318f5ced7ba150f04aef50b69d8cd48 (diff)
downloadopen-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.pamphlet14
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>>=