blob: 6ad00a8f063e3475194152a2e0d4b0d998f1a661 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
(/VERSIONCHECK 2)
(DEFPARAMETER |AbelianSemiGroup;AL| 'NIL)
(DEFUN |AbelianSemiGroup| ()
(LET (#:G1387)
(COND
(|AbelianSemiGroup;AL|)
(T (SETQ |AbelianSemiGroup;AL| (|AbelianSemiGroup;|))))))
(DEFUN |AbelianSemiGroup;| ()
(PROG (#0=#:G1385)
(RETURN
(PROG1 (LETT #0#
(|Join| (|SetCategory|)
(|mkCategory| '|domain|
'(((+ ($ $ $)) T)
((* ($ (|PositiveInteger|) $)) T))
NIL '((|PositiveInteger|)) NIL))
|AbelianSemiGroup|)
(SETELT #0# 0 '(|AbelianSemiGroup|))))))
(MAKEPROP '|AbelianSemiGroup| 'NILADIC T)
|