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

(DEFPARAMETER |AbelianGroup;AL| 'NIL) 

(DEFUN |AbelianGroup;| ()
  (PROG (#0=#:G1399)
    (RETURN
      (PROG1 (LETT #0#
                   (|Join| (|CancellationAbelianMonoid|)
                           (|mkCategory| '|domain|
                               '(((- ($ $)) T) ((- ($ $ $)) T)
                                 ((* ($ (|Integer|) $)) T))
                               NIL '((|Integer|)) NIL))
                   |AbelianGroup|)
        (|setShellEntry| #0# 0 '(|AbelianGroup|)))))) 

(DEFUN |AbelianGroup| ()
  (LET ()
    (COND
      (|AbelianGroup;AL|)
      (T (SETQ |AbelianGroup;AL| (|AbelianGroup;|)))))) 

(MAKEPROP '|AbelianGroup| 'NILADIC T)