blob: ee4b7a18e051d7ef9f3db3e879504efe85bcd2ee (
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
26
27
|
(/VERSIONCHECK 2)
(DEFPARAMETER |UniqueFactorizationDomain;AL| 'NIL)
(DEFUN |UniqueFactorizationDomain| ()
(LET (#:G1387)
(COND
(|UniqueFactorizationDomain;AL|)
(T (SETQ |UniqueFactorizationDomain;AL|
(|UniqueFactorizationDomain;|))))))
(DEFUN |UniqueFactorizationDomain;| ()
(PROG (#0=#:G1385)
(RETURN
(PROG1 (LETT #0#
(|Join| (|GcdDomain|)
(|mkCategory| '|domain|
'(((|prime?| ((|Boolean|) $)) T)
((|squareFree| ((|Factored| $) $)) T)
((|squareFreePart| ($ $)) T)
((|factor| ((|Factored| $) $)) T))
NIL '((|Factored| $) (|Boolean|)) NIL))
|UniqueFactorizationDomain|)
(SETELT #0# 0 '(|UniqueFactorizationDomain|))))))
(MAKEPROP '|UniqueFactorizationDomain| 'NILADIC T)
|