aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/DIVRING.lsp
blob: 374ffbcf38739e231e3b72c35d3b1b2b8bbbf1ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(/VERSIONCHECK 2) 

(DEFPARAMETER |DivisionRing;AL| 'NIL) 

(DEFUN |DivisionRing;| ()
  (LET ((#0=#:G1375
            (|sublisV|
                (PAIR '(#1=#:G1374) (LIST '(|Fraction| (|Integer|))))
                (|Join| (|EntireRing|) (|Algebra| '#1#)
                        (|mkCategory| '|domain|
                            '(((** ($ $ (|Integer|))) T)
                              ((|inv| ($ $)) T))
                            NIL '((|Integer|)) NIL)))))
    (|setShellEntry| #0# 0 '(|DivisionRing|))
    #0#)) 

(DEFUN |DivisionRing| ()
  (COND
    (|DivisionRing;AL|)
    (T (SETQ |DivisionRing;AL| (|DivisionRing;|))))) 

(MAKEPROP '|DivisionRing| 'NILADIC T)