diff options
Diffstat (limited to 'src/algebra/strap/COMRING.lsp')
-rw-r--r-- | src/algebra/strap/COMRING.lsp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/algebra/strap/COMRING.lsp b/src/algebra/strap/COMRING.lsp new file mode 100644 index 00000000..fc0f6ace --- /dev/null +++ b/src/algebra/strap/COMRING.lsp @@ -0,0 +1,22 @@ + +(/VERSIONCHECK 2) + +(DEFPARAMETER |CommutativeRing;AL| 'NIL) + +(DEFUN |CommutativeRing| () + (LET (#:G1387) + (COND + (|CommutativeRing;AL|) + (T (SETQ |CommutativeRing;AL| (|CommutativeRing;|)))))) + +(DEFUN |CommutativeRing;| () + (PROG (#0=#:G1385) + (RETURN + (PROG1 (LETT #0# + (|Join| (|Ring|) (|BiModule| '$ '$) + (|mkCategory| '|package| NIL + '(((|commutative| "*") T)) 'NIL NIL)) + |CommutativeRing|) + (SETELT #0# 0 '(|CommutativeRing|)))))) + +(MAKEPROP '|CommutativeRing| 'NILADIC T) |