aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/ABELGRP.lsp
blob: cd7922b84182bc05211b0f63f428033b44b96746 (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
25
(/VERSIONCHECK 2) 

(DEFPARAMETER |AbelianGroup;AL| 'NIL) 

(DEFUN |AbelianGroup;| ()
  (PROG (#0=#:G1400)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV| (PAIR '(#1=#:G1399) (LIST '(|Integer|)))
                       (|Join| (|CancellationAbelianMonoid|)
                               (|LeftLinearSet| '#1#)
                               (|mkCategory| '|domain|
                                   '(((- ($ $)) T) ((- ($ $ $)) T)) NIL
                                   'NIL NIL)))
                   |AbelianGroup|)
        (|setShellEntry| #0# 0 '(|AbelianGroup|)))))) 

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

(MAKEPROP '|AbelianGroup| 'NILADIC T)