diff options
Diffstat (limited to 'src/algebra/strap/ABELSG.lsp')
-rw-r--r-- | src/algebra/strap/ABELSG.lsp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/algebra/strap/ABELSG.lsp b/src/algebra/strap/ABELSG.lsp new file mode 100644 index 00000000..6ad00a8f --- /dev/null +++ b/src/algebra/strap/ABELSG.lsp @@ -0,0 +1,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) |