aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/DIVRING.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/strap/DIVRING.lsp')
-rw-r--r--src/algebra/strap/DIVRING.lsp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/algebra/strap/DIVRING.lsp b/src/algebra/strap/DIVRING.lsp
new file mode 100644
index 00000000..2523c524
--- /dev/null
+++ b/src/algebra/strap/DIVRING.lsp
@@ -0,0 +1,28 @@
+
+(/VERSIONCHECK 2)
+
+(DEFPARAMETER |DivisionRing;AL| 'NIL)
+
+(DEFUN |DivisionRing| ()
+ (LET (#:G1390)
+ (COND
+ (|DivisionRing;AL|)
+ (T (SETQ |DivisionRing;AL| (|DivisionRing;|))))))
+
+(DEFUN |DivisionRing;| ()
+ (PROG (#0=#:G1388)
+ (RETURN
+ (PROG1 (LETT #0#
+ (|sublisV|
+ (PAIR '(#1=#:G1387)
+ (LIST '(|Fraction| (|Integer|))))
+ (|Join| (|EntireRing|) (|Algebra| '#1#)
+ (|mkCategory| '|domain|
+ '(((** ($ $ (|Integer|))) T)
+ ((^ ($ $ (|Integer|))) T)
+ ((|inv| ($ $)) T))
+ NIL '((|Integer|)) NIL)))
+ |DivisionRing|)
+ (SETELT #0# 0 '(|DivisionRing|))))))
+
+(MAKEPROP '|DivisionRing| 'NILADIC T)