aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/boolean.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-05-28 16:54:19 +0000
committerdos-reis <gdr@axiomatics.org>2009-05-28 16:54:19 +0000
commit0e6d0cdde92747cc02d9965eef8ef1edc31cb1ae (patch)
treef04d35a378e0426c93d7053c1461a5d348a73694 /src/algebra/boolean.spad.pamphlet
parente03459fc5fc739a3bfc612a32c041d052c68d063 (diff)
downloadopen-axiom-0e6d0cdde92747cc02d9965eef8ef1edc31cb1ae.tar.gz
* algebra/boolean.spad.pamphlet (PropositionalLogic): Now export
`true' and `false'. (Boolean): Ihenrit them.
Diffstat (limited to 'src/algebra/boolean.spad.pamphlet')
-rw-r--r--src/algebra/boolean.spad.pamphlet8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/boolean.spad.pamphlet b/src/algebra/boolean.spad.pamphlet
index 0c9adbc6..f7cc1e9a 100644
--- a/src/algebra/boolean.spad.pamphlet
+++ b/src/algebra/boolean.spad.pamphlet
@@ -21,6 +21,10 @@
++ Description: This category declares the connectives of
++ Propositional Logic.
PropositionalLogic(): Category == SetCategory with
+ true: %
+ ++ true is a logical constant.
+ false: %
+ ++ false is a logical constant.
not: % -> %
++ not p returns the logical negation of `p'.
and: (%, %) -> %
@@ -301,10 +305,6 @@ Logic: Category == BasicType with
++ true and false
Boolean(): Join(OrderedFinite, Logic, PropositionalLogic, ConvertibleTo InputForm) with
- true: %
- ++ true is a logical constant.
- false: %
- ++ false is a logical constant.
xor : (%, %) -> %
++ xor(a,b) returns the logical exclusive {\em or}
++ of Boolean \spad{a} and b.