Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

build open-axiom

54529 views
1
2
(DECLAIM
3
(FTYPE (FUNCTION ((|%IntegerSection| 1) |%Thing| |%Shell|) |%Thing|)
4
|ABELSG-;*;Pi2$;1|))
5
6
(DEFUN |ABELSG-;*;Pi2$;1| (|n| |x| $) (SPADCALL |n| |x| (|shellEntry| $ 9)))
7
8
(DEFUN |AbelianSemiGroup&| (|#1|)
9
(LET* ((|dv$1| (|devaluate| |#1|))
10
(|dv$| (LIST '|AbelianSemiGroup&| |dv$1|))
11
($ (|newShell| 11))
12
(|pv$| (|buildPredVector| 0 0 NIL)))
13
(PROGN
14
(SETF (|shellEntry| $ 0) |dv$|)
15
(SETF (|shellEntry| $ 3) |pv$|)
16
(|stuffDomainSlots| $)
17
(SETF (|shellEntry| $ 6) |#1|)
18
(COND ((|HasCategory| |#1| '(|Ring|)))
19
(T (SETF (|shellEntry| $ 10) (CONS #'|ABELSG-;*;Pi2$;1| $))))
20
$)))
21
22
(MAKEPROP '|AbelianSemiGroup&| '|infovec|
23
(LIST
24
'#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|RepeatedDoubling| 6)
25
(|PositiveInteger|) (0 . |double|) (6 . *))
26
'#(* 12) 'NIL
27
(CONS (|makeByteWordVec2| 1 'NIL)
28
(CONS '#()
29
(CONS '#()
30
(|makeByteWordVec2| 10
31
'(2 7 6 8 6 9 2 0 0 8 0 10 2 0
32
0 8 0 10)))))
33
'|lookupComplete|))
34
35
(SETF (|dbTemplate| (|constructorDB| '|AbelianSemiGroup&|))
36
#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|RepeatedDoubling| 6)
37
(|PositiveInteger|) (0 . |double|) (6 . *)))
38
39
(SETF (|dbLookupFunction| (|constructorDB| '|AbelianSemiGroup&|))
40
'|lookupComplete|)
41
42
(SETF (|dbConstructorForm| (|constructorDB| '|AbelianSemiGroup&|))
43
'(|AbelianSemiGroup&| S))
44
45
(SETF (|dbConstructorKind| (|constructorDB| '|AbelianSemiGroup&|)) '|package|)
46
47
(SETF (|dbConstructorModemap| (|constructorDB| '|AbelianSemiGroup&|))
48
'(((|AbelianSemiGroup&| |#1|)
49
(CATEGORY |package| (SIGNATURE * (|#1| (|PositiveInteger|) |#1|)))
50
(|AbelianSemiGroup|))
51
(T |AbelianSemiGroup&|)))
52
53
(SETF (|dbDualSignature| (|constructorDB| '|AbelianSemiGroup&|)) '(NIL T))
54
55
(SETF (|dbSourceFile| (|constructorDB| '|AbelianSemiGroup&|)) '"catdef.spad")
56
57
(SETF (|dbOperations| (|constructorDB| '|AbelianSemiGroup&|))
58
'((* (($ (|PositiveInteger|) $) 10 T ELT))))
59
60
(SETF (|dbOperationTable| (|constructorDB| '|AbelianSemiGroup&|)) #(* 12))
61
62
(SETF (|dbCapsuleDefinitions| (|constructorDB| '|AbelianSemiGroup&|))
63
'((|ABELSG-;*;Pi2$;1| ($ (|PositiveInteger|) $))))
64
65
(SETF (|dbAbbreviation| (|constructorDB| '|AbelianSemiGroup&|)) 'ABELSG-)
66
67