From 84db9d8c5349cb8b3e7e2d102867e53e610d7ef2 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 16 Aug 2008 06:00:35 +0000 Subject: * algebra/strap: New. Sequester cached Lisp translation of algebra bootstrap domains here. --- src/algebra/strap/DIVRING.lsp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/algebra/strap/DIVRING.lsp (limited to 'src/algebra/strap/DIVRING.lsp') 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) -- cgit v1.2.3