blob: 043051296f3227e7ade85f6e2aa2a22bf39c1785 (
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
25
26
27
28
29
30
|
(/VERSIONCHECK 2)
(DEFPARAMETER |AbelianSemiGroup;AL| 'NIL)
(DEFUN |AbelianSemiGroup| ()
(LET (#:G1396)
(COND
(|AbelianSemiGroup;AL|)
(T (SETQ |AbelianSemiGroup;AL| (|AbelianSemiGroup;|))))))
(DEFUN |AbelianSemiGroup;| ()
(PROG (#0=#:G1394)
(RETURN
(PROG1 (LETT #0#
(|Join| (|SetCategory|)
(|mkCategory| '|domain|
'(((+ ($ $ $)) T)
((* ($ (|PositiveInteger|) $)) T))
NIL '((|PositiveInteger|)) NIL))
|AbelianSemiGroup|)
(SETELT #0# 0 '(|AbelianSemiGroup|))))))
(SETQ |$CategoryFrame|
(|put| '|AbelianSemiGroup| '|isCategory| T
(|addModemap| '|AbelianSemiGroup| '(|AbelianSemiGroup|)
'((|Category|)) T '|AbelianSemiGroup|
|$CategoryFrame|)))
(MAKEPROP '|AbelianSemiGroup| 'NILADIC T)
|