[198] | 1 | ;;; -*- Mode: Lisp; Package: Maxima; Syntax: Common-Lisp; Base: 10 -*-
|
---|
| 2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
---|
| 3 | ;;;
|
---|
| 4 | ;;; Copyright (C) 1999, 2002, 2009, 2015 Marek Rychlik <rychlik@u.arizona.edu>
|
---|
| 5 | ;;;
|
---|
| 6 | ;;; This program is free software; you can redistribute it and/or modify
|
---|
| 7 | ;;; it under the terms of the GNU General Public License as published by
|
---|
| 8 | ;;; the Free Software Foundation; either version 2 of the License, or
|
---|
| 9 | ;;; (at your option) any later version.
|
---|
| 10 | ;;;
|
---|
| 11 | ;;; This program is distributed in the hope that it will be useful,
|
---|
| 12 | ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 14 | ;;; GNU General Public License for more details.
|
---|
| 15 | ;;;
|
---|
| 16 | ;;; You should have received a copy of the GNU General Public License
|
---|
| 17 | ;;; along with this program; if not, write to the Free Software
|
---|
| 18 | ;;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
---|
| 19 | ;;;
|
---|
| 20 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
---|
| 21 |
|
---|
| 22 | (defpackage "NGROBNER"
|
---|
[525] | 23 | (:use :cl :ring :monomial :order :term :polynomial :grobner-debug
|
---|
| 24 | :division :buchberger :gebauer-moeller :gb-postprocessing :ideal
|
---|
| 25 | :utils)
|
---|
[212] | 26 | (:export
|
---|
[251] | 27 | "$LEX" "$GRLEX" "$GREVLEX" "$INVLEX" "$RING_OF_INTEGERS"
|
---|
[228] | 28 | "$POLY_ELIMINATION_ORDER" "$POLY_MONOMIAL_ORDER"
|
---|
| 29 | "$POLY_MONOMIAL_ORDER" "$POLY_PRIMARY_ELIMINATION_ORDER"
|
---|
[246] | 30 | "$POLY_PRIMARY_ELIMINATION_ORDER" "$POLY_RETURN_TERM_LIST"
|
---|
[234] | 31 | "$POLY_SECONDARY_ELIMINATION_ORDER" "*EXPRESSION-RING*"
|
---|
[235] | 32 | "*ELIMINATION-ORDER*" "*MONOMIAL-ORDER*"
|
---|
[228] | 33 | "*PRIMARY-ELIMINATION-ORDER*" "*SECONDARY-ELIMINATION-ORDER*"
|
---|
[246] | 34 | "*RATDISREP-FUN*" "BUCHBERGER" "BUCHBERGER-CRITERION"
|
---|
| 35 | "COERCE-COEFF" "COERCE-TO-MAXIMA" "COLON-IDEAL" "ELIMINATION-IDEAL"
|
---|
| 36 | "GROBNER" "FIND-ORDER" "FIND-RING" "$POLY_COEFFICIENT_RING"
|
---|
[226] | 37 | "GROBNER-EQUAL" "GROBNER-MEMBER" "GROBNER-SUBSETP"
|
---|
| 38 | "IDEAL-INTERSECTION" "IDEAL-POLYSATURATION"
|
---|
| 39 | "IDEAL-POLYSATURATION-1" "IDEAL-SATURATION" "IDEAL-SATURATION-1"
|
---|
| 40 | "MAKE-POLY-FROM-TERMLIST" "MAKE-POLY-ZERO" "MAKE-RING" "MAKE-TERM"
|
---|
| 41 | "MAKE-VARIABLE" "MINIMIZATION" "NORMAL-FORM" "POLY-ADD"
|
---|
[246] | 42 | "MONOM-EXPONENTS" "POLY-CONTENT" "POLY-DEPENDS-P"
|
---|
| 43 | "POLY-EXACT-DIVIDE" "POLY-EXPT" "POLY-LCM" "POLY-LM" "POLY-LT"
|
---|
| 44 | "POLY-MUL" "POLY-NORMALIZE" "POLY-NORMALIZE-LIST"
|
---|
| 45 | "POLY-PRIMITIVE-PART" "POLY-PSEUDO-DIVIDE" "POLY-SUB" "POLY-UMINUS"
|
---|
| 46 | "POLY-ZEROP" "POLYSATURATION-EXTENSION" "POLY-TERMLIST"
|
---|
[226] | 47 | "REDUCED-GROBNER" "REDUCTION" "RING-UNIT" "SATURATION-EXTENSION"
|
---|
| 48 | "SPOLY" "$POLY_COEFFICIENT_RING" "$POLY_ELIMINATION_ORDER"
|
---|
[306] | 49 | "TERM-COEFF" "TERM-MONOM" "$POLY_GROBNER_DEBUG" "MAKELIST-1" "MAKELIST"
|
---|
[348] | 50 | "MAKE-MONOM" "LEX>" "GRLEX>" "GREVLEX>" "REVLEX>" "INVLEX>"
|
---|
[350] | 51 | "ELIMINATION-ORDER" "ELIMINATION-ORDER-1"
|
---|
[351] | 52 | "*PRIMARY-ELIMINATION-ORDER*"
|
---|
| 53 | "*SECONDARY-ELIMINATION-ORDER*"
|
---|
[354] | 54 | "*ELIMINATION-ORDER*"
|
---|
[225] | 55 | ))
|
---|
[324] | 56 |
|
---|
| 57 | (in-package :ngrobner)
|
---|
| 58 |
|
---|
| 59 | (defun compile-ngrobner ()
|
---|
[325] | 60 | "Compile/load NGROBNER package files without ASDF. The order of files is
|
---|
[324] | 61 | important!"
|
---|
| 62 | (dolist (file '("ngrobner-package" "utils" "ngrobner" "monomial"
|
---|
[442] | 63 | "order" "term" "termlist" "polynomial" "priority-queue"
|
---|
[324] | 64 | "pair-queue" "division" "criterion" "buchberger" "gebauer-moeller"
|
---|
| 65 | "gb-postprocessing" "ideal"))
|
---|
[327] | 66 | (compile-file file :verbose t :print t)))
|
---|
[324] | 67 |
|
---|