Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

build open-axiom

54540 views
1
2
(DEFPARAMETER |AbelianGroup;AL| NIL)
3
4
(DEFUN |AbelianGroup;| ()
5
(LET ((#1=#:G543
6
(|sublisV| (|pairList| '(#2=#:G542) '((|Integer|)))
7
(|Join| (|CancellationAbelianMonoid|)
8
(|LeftLinearSet| '#2#)
9
(|mkCategory| '|domain|
10
'(((- ($ $)) T) ((- ($ $ $)) T)) NIL
11
'NIL NIL)))))
12
(PROGN (SETF (|shellEntry| #1# 0) '(|AbelianGroup|)) #1#)))
13
14
(DEFUN |AbelianGroup| ()
15
(COND (|AbelianGroup;AL|) (T (SETQ |AbelianGroup;AL| (|AbelianGroup;|)))))
16
17
(SETF (|dbConstructorDefault| (|constructorDB| '|AbelianGroup|))
18
'|AbelianGroup&|)
19
20
(SETF (|dbConstructorForm| (|constructorDB| '|AbelianGroup|)) '(|AbelianGroup|))
21
22
(SETF (|dbConstructorKind| (|constructorDB| '|AbelianGroup|)) '|category|)
23
24
(SETF (|dbConstructorModemap| (|constructorDB| '|AbelianGroup|))
25
'(((|AbelianGroup|) (|Category|)) (T |AbelianGroup|)))
26
27
(SETF (|dbDualSignature| (|constructorDB| '|AbelianGroup|)) '(T))
28
29
(SETF (|dbCategory| (|constructorDB| '|AbelianGroup|))
30
'(|Join| (|CancellationAbelianMonoid|) (|LeftLinearSet| (|Integer|))
31
(CATEGORY |domain| (SIGNATURE - ($ $)) (SIGNATURE - ($ $ $)))))
32
33
(SETF (|dbSourceFile| (|constructorDB| '|AbelianGroup|)) '"catdef.spad")
34
35
(SETF (|dbModemaps| (|constructorDB| '|AbelianGroup|))
36
'((- (*1 *1 *1) (|ofCategory| *1 (|AbelianGroup|)))
37
(- (*1 *1 *1 *1) (|ofCategory| *1 (|AbelianGroup|)))))
38
39
(SETF (|dbOperations| (|constructorDB| '|AbelianGroup|))
40
'((~= (#1=((|Boolean|) $ $) 7 T ELT))
41
(|zero?| ((#2=(|Boolean|) $) 22 T ELT))
42
(|subtractIfCan| (((|Maybe| $) $ $) 26 T ELT))
43
(|sample| (#3=($) 23 T CONST)) (|opposite?| ((#2# $ $) 20 T ELT))
44
(|latex| (((|String|) $) 11 T ELT))
45
(|hash| (((|SingleInteger|) $) 12 T ELT))
46
(|coerce| (((|OutputForm|) $) 13 T ELT)) (|before?| (#1# 6 T ELT))
47
(|Zero| (#3# 24 T CONST)) (= (#1# 8 T ELT))
48
(- (($ $) 30 T ELT) (($ $ $) 29 T ELT)) (+ (($ $ $) 18 T ELT))
49
(* (($ (|PositiveInteger|) $) 17 T ELT)
50
(($ (|NonNegativeInteger|) $) 21 T ELT)
51
(($ (|Integer|) $) 31 T ELT))))
52
53
(SETF (|dbAbbreviation| (|constructorDB| '|AbelianGroup|)) 'ABELGRP)
54
55
(SETF (|dbPrincipals| (|constructorDB| '|AbelianGroup|))
56
'(((|CancellationAbelianMonoid|) . T)
57
((|LeftLinearSet| (|Integer|)) . T)))
58
59
(SETF (|dbAncestors| (|constructorDB| '|AbelianGroup|))
60
'(((|AbelianMonoid|) . T) ((|AbelianSemiGroup|) . T)
61
((|BasicType|) . T) ((|CancellationAbelianMonoid|) . T)
62
((|CoercibleTo| (|OutputForm|)) . T)
63
((|LeftLinearSet| (|Integer|)) . T) ((|SetCategory|) . T)
64
((|Type|) . T)))
65
66