source: CGBLisp/trunk/src/TAGS@ 19

Last change on this file since 19 was 19, checked in by Marek Rychlik, 15 years ago

Fixed parsing of constant polynomials.

File size: 18.3 KB
Line 
1
2
3cgb-lisp.lisp,140
4(defpackage "CGB-LISP"22,1268
5(defvar *examples*30,1582
6(defun example 91,3934
7(defun run-example 97,4159
8(defun all-examples 109,4670
9
10
11coefficient-ring.lisp,206
12(defpackage "COEFFICIENT-RING"13,698
13(defstruct ring39,1146
14(defvar *ring-of-integers*58,1938
15(defvar *field-of-rationals*73,2256
16(defun field-modulo-prime 90,2691
17(defvar *coefficient-ring* 109,3380
18
19
20colored-poly.lisp,1755
21(defpackage "COLORED-POLY"11,623
22(defmacro debug-cgb 30,1330
23(defun make-colored-poly 33,1427
24(defun make-colored-poly-list 74,2915
25(defun color-poly-list 80,3178
26(defun color-poly 91,3788
27(defun colored-poly-to-poly 107,4267
28(defun colored-poly-print 116,4621
29(defun colored-poly-print-list 150,6065
30(defun determine 175,6930
31(defun determine-1 201,8308
32(defun determine-white-term 216,8982
33(defun determine-white-term 266,10969
34(defun cond-system-print 336,13936
35(defun cond-print 360,15040
36(defun add-pairs 369,15338
37(defun cond-part 385,15993
38(defun cond-hm 390,16149
39(defun delete-green-polys 398,16404
40(defun grobner-system 405,16681
41(defun reorder-pairs 494,20099
42(defun colored-Criterion-1 514,20896
43(defun colored-Criterion-2 522,21164
44(defun cond-normal-form 541,21753
45(defun cond-spoly 601,23978
46(defun cond-lm 630,25095
47(defun cond-lc 636,25294
48(defun colored-term-times-poly 642,25446
49(defun colored-scalar-times-poly 647,25637
50(defun colored-term* 655,25887
51(defun color* 662,26135
52(defun color+ 672,26403
53(defun color- 683,26712
54(defun colored-poly+ 687,26778
55(defun colored-poly- 710,27588
56(defun colored-term-uminus 733,28366
57(defun colored-minus-poly 737,28525
58(defun string-grobner-system 741,28671
59(defun string-cond 767,29664
60(defun string-cover 778,30219
61(defun saturate-cover 786,30553
62(defun saturate-cond 793,30913
63(defun string-determine 800,31214
64(defun tidy-grobner-system 818,31911
65(defun tidy-pair 826,32168
66(defun tidy-cond 847,32891
67(defun colored-reduction 853,33146
68(defun green-reduce-colored-poly 900,34825
69(defun green-reduce-colored-list 913,35347
70(defun cond-system-green-reduce 924,35699
71(defun parse-to-colored-poly-list 935,36032
72(defun red-reduction 948,36766
73
74
75division.lisp,86
76(defpackage "DIVISION"11,618
77(defun divide 19,822
78(defun poly-exact-divide 46,1825
79
80
81dynamics.lisp,1057
82(defpackage "DYNAMICS"13,690
83(defun poly-scalar-composition 32,1308
84(defun poly-composition 43,1774
85(defun poly-dynamic-power 51,2178
86(defun poly-scalar-evaluate 57,2447
87(defun poly-evaluate 74,2887
88(defun factorial 78,3085
89(defun poly-scalar-diff 83,3238
90(defun poly-diff 91,3559
91(defun scalar-partial 97,3794
92(defun partial 102,3998
93(defun determinant 109,4256
94(defun minor 124,4749
95(defun drop-row 128,4928
96(defun drop-column 132,5023
97(defun drop-elt 136,5150
98(defun matrix- 142,5293
99(defun scalar-times-matrix 146,5455
100(defun monom-times-matrix 150,5613
101(defun term-times-matrix 154,5769
102(defun poly-list- 160,5959
103(defun scalar-times-poly-list 165,6151
104(defun monom-times-poly-list 170,6322
105(defun term-times-poly-list 175,6496
106(defun characteristic-combination 183,6760
107(defun characteristic-combination-poly-list 194,7344
108(defun characteristic-matrix 205,7888
109(defun characteristic-polynomial 218,8483
110(defun identity-matrix 227,8963
111(defun print-matrix 236,9346
112(defun jacobi-matrix 241,9530
113(defun jacobian 247,9779
114
115
116example.lisp,137
117(defpackage "CGB-LISP"12,618
118(defun example 21,922
119(defun run-example 27,1147
120(defun all-examples 38,1615
121(defvar *examples*46,1812
122
123
124grobner.lisp,3523
125(defpackage "GROBNER"12,688
126(defvar *grobner-debug* 60,1645
127(defvar *buchberger-merge-pairs* 63,1723
128(defvar *gebauer-moeller-merge-pairs* 67,1926
129(defvar *grobner-function* 71,2145
130(defun select-grobner-algorithm 74,2247
131(defun grobner 86,2695
132(defmacro debug-cgb 108,3816
133(defun spoly 116,4171
134(defun grobner-primitive-part 135,4807
135(defun grobner-content 153,5269
136(defun normal-form 162,5629
137(defun buchberger 205,7484
138(defun grobner-op 254,9544
139(defun buchberger-sort-pairs 318,11333
140(defun mock-spoly 328,11744
141(defun buchberger-merge-pairs-use-mock-spoly 349,12493
142(defun buchberger-merge-pairs-smallest-lcm 373,13591
143(defun buchberger-merge-pairs-use-smallest-degree 389,14365
144(defun buchberger-merge-pairs-use-smallest-length 399,14836
145(defun buchberger-merge-pairs-use-smallest-coefficient-length 409,15296
146(defun buchberger-set-pair-heuristic422,15875
147(defun Criterion-1 441,16743
148(defun Criterion-2 449,17069
149(defun normalize-poly 472,18045
150(defun normalize-basis 483,18459
151(defun reduction 488,18689
152(defun reduced-grobner 512,19364
153(defvar *vars* 522,19790
154(defun monom-depends-p 525,19900
155(defun term-depends-p 530,20050
156(defun poly-depends-p 535,20222
157(defun ring-intersection 539,20373
158(defun elimination-ideal 549,20774
159(defun ideal-intersection 576,21920
160(defun poly-contract 603,22864
161(defun poly-lcm 614,23473
162(defun grobner-gcd 637,24325
163(defun grobner-equal 647,24782
164(defun grobner-subsetp 653,25073
165(defun grobner-member 659,25402
166(defun ideal-equal 664,25687
167(defun ideal-subsetp 671,25973
168(defun ideal-member 679,26296
169(defun ideal-saturation-1 686,26597
170(defun add-variables 705,27318
171(defun extend-polynomials 716,27700
172(defun saturation-extension 734,28589
173(defun polysaturation-extension 752,29527
174(defun saturation-extension-1 768,30423
175(defun ideal-polysaturation-1 776,30791
176(defun ideal-saturation 786,31317
177(defun ideal-polysaturation 807,32198
178(defun buchberger-criterion 816,32654
179(defun grobner-test 827,33027
180(defun minimization 844,33600
181(defun add-minimized 862,34150
182(defun colon-ideal 871,34512
183(defun colon-ideal-1 893,35260
184(defun pseudo-divide 900,35571
185(defun gebauer-moeller 949,37644
186(defun update 987,39019
187(defun gebauer-moeller-merge-pairs-use-mock-spoly 1033,40651
188(defun gebauer-moeller-merge-pairs-smallest-lcm 1047,41217
189(defun gebauer-moeller-merge-pairs-use-smallest-degree 1058,41668
190(defun gebauer-moeller-merge-pairs-use-smallest-length 1070,42126
191(defun gebauer-moeller-merge-pairs-use-smallest-coefficient-length 1084,42617
192(defun gebauer-moeller-set-pair-heuristic1096,43175
193(defun spoly-sugar 1114,44015
194(defun spoly-with-sugar 1140,45369
195(defun normal-form-with-sugar 1157,46047
196(defun buchberger-with-sugar 1205,48255
197(defun buchberger-with-sugar-merge-pairs 1262,50613
198(defun buchberger-with-sugar-sort-pairs 1296,51872
199(defun Criterion-1-with-sugar 1300,52047
200(defun Criterion-2-with-sugar 1306,52347
201(defun gebauer-moeller-with-sugar 1328,53272
202(defun update-with-sugar 1374,55028
203(defun gebauer-moeller-with-sugar-merge-pairs 1425,57149
204(defun grobner-primitive-part-with-sugar 1448,58012
205(defun cached-normal-form 1456,58320
206(defun cached-grobner-op 1495,59855
207(defun cached-buchberger 1503,60228
208(defun cached-spoly 1551,62189
209(defun cached-monom-times-poly 1567,62775
210(defun cached-normal-form-with-sugar 1580,63270
211(defun cached-buchberger-with-sugar 1630,65560
212(defun cached-poly-with-sugar-op 1693,68219
213(defun cached-monom-times-poly-with-sugar 1696,68398
214
215
216infix.lisp,3615
217(defpackage "INFIX"265,12470
218(defparameter *infix-readtable* 307,14148
219(defparameter *normal-readtable* 308,14202
220(defmacro infix-error 310,14258
221(defun infix-reader 314,14389
222(defun string->prefix 334,15148
223(defun read-infix 343,15440
224(defun read-regular 350,15712
225(defun same-operator-p 359,15926
226(defun same-token-p 362,15978
227(defvar *peeked-token* 369,16126
228(defun read-token 370,16154
229(defun peek-token 374,16259
230(defun fancy-number-format-p 382,16499
231(defun valid-numberp 406,17321
232(defun gather-superiors 420,17702
233(defun get-first-token 441,18625
234(defun apply-token-prefix-operator 449,18849
235(defun get-next-token 455,19052
236(defun apply-token-infix-operator 459,19179
237(defun infix-read-delimited-list 468,19472
238(defparameter *operator-ordering* 488,20222
239(defun operator-lessp 511,20854
240(defparameter *right-associative-operators* 518,21051
241(defun operator-right-associative-p 519,21103
242(defvar *token-operators* 527,21314
243(defvar *token-prefix-operator-table* 528,21345
244(defvar *token-infix-operator-table* 529,21402
245(defun token-operator-p 530,21458
246(defun get-token-prefix-operator 532,21524
247(defun get-token-infix-operator 534,21614
248(define-token-operator and574,22956
249(define-token-operator or576,23041
250(define-token-operator not578,23123
251(define-token-operator if581,23203
252(define-token-operator then603,23883
253(define-token-operator else605,23967
254(define-character-tokenization #\+608,24052
255(define-token-operator +616,24264
256(define-token-operator +=619,24383
257(define-character-tokenization #\-622,24467
258(define-token-operator -630,24679
259(define-token-operator -=633,24804
260(define-character-tokenization #\*636,24888
261(define-token-operator *644,25100
262(define-token-operator *=646,25178
263(define-character-tokenization #\/653,25324
264(define-token-operator /661,25536
265(define-token-operator /=664,25661
266(define-character-tokenization #\^671,25807
267(define-token-operator ^679,26019
268(define-token-operator ^^681,26100
269(define-character-tokenization #\|684,26186
270(define-token-operator \|692,26399
271(define-character-tokenization #\&695,26485
272(define-token-operator \&703,26699
273(define-character-tokenization #\%706,26785
274(define-token-operator \%710,26887
275(define-character-tokenization #\~713,26970
276(define-token-operator \~717,27072
277(define-character-tokenization #\,720,27153
278(define-token-operator \,724,27255
279(define-character-tokenization #\=727,27340
280(define-token-operator ===735,27552
281(define-token-operator ==737,27632
282(define-character-tokenization #\: 744,27765
283(define-token-operator |:=752,28024
284(define-character-tokenization #\<759,28206
285(define-token-operator <770,28517
286(define-token-operator <=772,28595
287(define-token-operator <<774,28676
288(define-character-tokenization #\>777,28759
289(define-token-operator >788,29070
290(define-token-operator >=790,29148
291(define-token-operator >>792,29229
292(define-character-tokenization #\!795,29316
293(define-token-operator !=803,29528
294(define-token-operator !805,29614
295(define-character-tokenization #\[808,29675
296(define-token-operator \[812,29777
297(define-character-tokenization #\(820,30092
298(define-token-operator \(824,30194
299(define-character-tokenization #\]833,30521
300(define-token-operator \]837,30623
301(define-character-tokenization #\)840,30722
302(define-token-operator \)844,30824
303(define-character-tokenization #\$849,30994
304(define-token-operator %infix-end-token%853,31111
305(define-character-tokenization #\;858,31292
306(defun post-process-expression 886,32163
307(defparameter *test-cases*930,33528
308(defun test-infix 1086,40219
309(defun test-infix-case 1095,40491
310
311
312make-cgb.lisp,506
313(defpackage "MAKE-CGB"14,714
314(defvar *save-path* 19,787
315(defvar *cgb-version-string* 21,819
316(defvar *lisp-suffix* 24,972
317(defvar *cgb-packages*25,1045
318(defun package-file 92,3174
319(defun cgb-compile 95,3244
320(defun cgb-load 102,3435
321(defun cgb-load-lisp 112,3730
322(defun cgb-compile-and-load 120,3978
323(defun cgb-go 124,4040
324(defun start-cgb-lisp 128,4094
325(defun cgb-lisp-top-level-read-eval-print-loop 136,4261
326(defun cgb-lisp-banner 141,4410
327(defun cgb-save 148,4563
328(defun cgb-save 161,4916
329
330
331makelist.lisp,398
332(defpackage "MAKELIST"12,619
333(defmacro makelist-1 57,2296
334(defmacro makelist 64,2514
335(defmacro sum 73,2815
336(defmacro summation 76,2878
337(defmacro difference 79,2941
338(defmacro list-of 83,3060
339(defmacro list-of-1 91,3282
340(defmacro union-of 98,3485
341(defmacro union-of-1 106,3725
342(defmacro set-of 114,3944
343(defmacro set-of-1 122,4178
344(defun select 129,4392
345(defun standard-vector 134,4507
346
347
348modular.lisp,209
349(defpackage "MODULAR"13,689
350(defun modular-inverse 21,866
351(defun modular-division 28,1057
352(defvar *inverse-by-lookup-limit* 32,1163
353(defun make-inverse-table 36,1365
354(defun make-modular-division 42,1674
355
356
357modular-poly.lisp,128
358(defpackage "MODULAR-POLY"13,694
359(defun modular-trace 21,882
360(defun modular-trace-1 25,1046
361(defun frobenius-kernel 31,1237
362
363
364monom.lisp,278
365(defpackage "MONOM"11,615
366(defun monom/ 35,1390
367(defun monom* 39,1474
368(defun nmonom* 43,1560
369(defun monom-divides-p 48,1748
370(defun monom-divisible-by-p 52,1868
371(defun monom-rel-prime 56,2001
372(defun monom-equal 60,2159
373(defun monom-lcm 64,2261
374(defun monom-gcd 68,2369
375
376
377order.lisp,246
378(defpackage "ORDER"24,1190
379(defun lex> 40,1439
380(defun total-degree 52,1877
381(defun grlex> 57,2074
382(defun revlex> 69,2489
383(defun grevlex> 84,3112
384(defun invlex> 94,3506
385(defun elimination-order 113,4224
386(defun elimination-order-1 126,4771
387
388
389parse.lisp,608
390(defpackage "PARSE"12,688
391(defun convert-number 51,2255
392(defun $poly+ 59,2617
393(defun $poly- 65,2917
394(defun $minus-poly 71,3222
395(defun $poly* 77,3476
396(defun $poly/ 83,3781
397(defun $poly-expt 90,4029
398(defun parse 96,4293
399(defun alist-form 132,5439
400(defun alist-form-1 144,5864
401(defun powers 155,6197
402(defun parse-to-alist 169,6704
403(defun parse-string-to-alist 180,7160
404(defun parse-to-sorted-alist 193,7693
405(defun parse-string-to-sorted-alist 207,8279
406(defun sort-poly-1 213,8545
407(defun sort-poly 219,8789
408(defun poly-eval-1 232,9332
409(defun poly-eval 256,10353
410(defun monom-basis 273,11252
411
412
413poly-gcd.lisp,281
414(defpackage "POLY-GCD"11,618
415(defun poly-gcd 28,1186
416(defun poly-pseudo-divide 46,1701
417(defun poly-pseudo-remainder 62,2136
418(defun mdeg 66,2258
419(defun lcoeff 69,2355
420(defun lrest 72,2417
421(defun lpart 75,2479
422(defun poly-primitive-part 83,2698
423(defun poly-content 91,2842
424
425
426poly.lisp,509
427(defpackage "POLY"11,614
428(defun scalar-times-poly 44,1968
429(defun term-times-poly 51,2255
430(defun monom-times-poly 55,2453
431(defun minus-poly 59,2617
432(defun sort-poly 64,2859
433(defun poly+ 76,3278
434(defun poly- 100,4038
435(defun poly* 126,4910
436(defun poly-op 137,5430
437(defun poly-expt 143,5657
438(defun poly-mexpt 160,6375
439(defun poly-constant-p 171,6845
440(defun poly-extend 177,6984
441(defun poly-extend-end 184,7314
442(defun poly-zerop 188,7503
443(defun lt 192,7579
444(defun lm 197,7687
445(defun lc 202,7807
446
447
448poly-with-sugar.lisp,890
449(defpackage "POLY-WITH-SUGAR"11,625
450(defun poly-with-sugar-poly 47,1701
451(defun poly-with-sugar-sugar 48,1742
452(defun poly-with-sugar-tail 49,1784
453(defsetf poly-with-sugar-poly 51,1842
454(defsetf poly-with-sugar-sugar 54,1910
455(defsetf poly-with-sugar-tail 57,1981
456(defun monom-sugar 64,2244
457(defun coefficient-sugar 67,2288
458(defun term-sugar 70,2357
459(defun poly-add-sugar 77,2629
460(defun scalar-times-poly-with-sugar 82,2790
461(defun term-times-poly-with-sugar 87,2971
462(defun monom-times-poly-with-sugar 92,3184
463(defun minus-poly-with-sugar 98,3385
464(defun poly-with-sugar+ 104,3562
465(defun poly-with-sugar- 110,3799
466(defun poly-with-sugar-op 116,4004
467(defun poly-with-sugar-nreverse 121,4199
468(defun poly-with-sugar-append 127,4430
469(defun poly-with-sugar-zerop 131,4595
470(defun poly-with-sugar-lm 134,4670
471(defun poly-with-sugar-lc 137,4734
472(defun poly-with-sugar-lt 140,4798
473
474
475printer.lisp,168
476(defpackage "PRINTER"11,617
477(defun poly-print 19,780
478(defun poly-print-1 36,1517
479(defun poly-print-2 70,2663
480(defun print-term 78,2975
481(defun print-monom 92,3516
482
483
484prover.lisp,546
485(defpackage "PROVER"12,687
486(defvar *prover-order* 23,1059
487(defun csym 30,1298
488(defmacro real-identical-points 35,1500
489(defmacro identical-points 51,2158
490(defmacro perpendicular 68,2892
491(defmacro parallel 84,3348
492(defmacro collinear 101,3800
493(defmacro equidistant 116,4245
494(defmacro euclidean-distance 132,4756
495(defmacro midpoint 144,5129
496(defmacro translate-statements 158,5545
497(defmacro translate-assumptions 162,5717
498(defmacro translate-conclusions 168,5905
499(defmacro translate-theorem 171,6001
500(defmacro prove-theorem 186,6892
501
502
503rat.lisp,411
504(defpackage "RAT"22,1062
505(defun num 32,1357
506(defun denom 33,1394
507(defun rat-simplify-2 35,1435
508(defun rat-simplify 40,1580
509(defun rat+ 43,1641
510(defun rat- 50,1816
511(defun rat* 58,2062
512(defun rat/ 63,2159
513(defun scalar-times-rat 68,2256
514(defun scalar-div-rat 72,2370
515(defun rat-zerop 75,2459
516(defun rat-uminus 78,2499
517(defun rat-expt 81,2561
518(defun rat-constant 84,2638
519(defun rat-to-poly 89,2840
520
521
522ratpoly.lisp,974
523(defpackage "RATPOLY"25,1219
524(defun ratpoly+ 44,1953
525(defun ratpoly- 60,2405
526(defun ratpoly-uminus 76,2894
527(defun ratpoly* 81,3026
528(defun scalar-times-ratpoly 89,3362
529(defun rat-times-ratpoly 96,3586
530(defun ratpoly-divide 103,3803
531(defun ratpoly-remainder 112,4141
532(defun ratpoly-gcd 116,4286
533(defun ratpoly-diff 122,4425
534(defun ratpoly-square-free 129,4640
535(defun ratpoly-normalize 133,4778
536(defun ratpoly-resultant 138,4990
537(defun deg 156,5490
538(defun lead 163,5628
539(defun ratpoly-discriminant 165,5655
540(defun ratpoly-print 171,5871
541(defun poly-to-ratpoly 187,6435
542(defun poly-to-poly1 191,6563
543(defun poly1-to-ratpoly 203,6965
544(defun ratpoly-to-poly1 212,7172
545(defun poly1-to-poly 220,7389
546(defun ratpoly-to-poly 230,7697
547(defun poly-resultant 234,7768
548(defun poly-gcd 245,8183
549(defun content1 258,8572
550(defun content1-aux 267,8843
551(defun content 273,9038
552(defun primitive-part 277,9131
553(defun divide-coeffs 282,9293
554(defun euclid 298,9730
555
556
557string-grobner.lisp,534
558(defpackage "STRING-GROBNER"14,690
559(defun string-normal-form 34,1195
560(defun string-grobner 56,1793
561(defun string-elimination-ideal 84,2631
562(defun string-ideal-intersection 107,3270
563(defun string-poly-lcm 122,3798
564(defun string-ideal-saturation-1 136,4203
565(defun string-ideal-polysaturation-1 151,4740
566(defun string-ideal-saturation 171,5441
567(defun string-ideal-polysaturation 186,5961
568(defun string-colon-ideal 211,6736
569(defun string-read-poly 233,7491
570(defun poly-rational-to-integer 251,8067
571(defun read-vars 255,8262
572
573
574svpoly.lisp,652
575(defpackage "SVPOLY"11,616
576(defstruct (svpoly 18,718
577(defun make-svpoly 24,927
578(defun svpoly-sort 41,1482
579(defun make-order 45,1643
580(defun svpoly-add 61,2220
581(defun add-terms 68,2469
582(defun scalar-times-poly 106,3382
583(defun term-times-poly 113,3633
584(defun monom-times-poly 117,3831
585(defun minus-poly 121,3995
586(defun poly+ 127,4238
587(defun poly- 151,5040
588(defun poly* 177,5942
589(defun poly-op 188,6462
590(defun poly-expt 194,6689
591(defun poly-mexpt 211,7407
592(defun poly-constant-p 222,7877
593(defun poly-extend 228,8016
594(defun poly-extend-end 235,8346
595(defun poly-zerop 239,8535
596(defun lt 243,8611
597(defun lm 248,8719
598(defun lc 253,8839
599
600
601term.lisp,264
602(defpackage "TERM"12,615
603(defun term* 34,1374
604(defun term/ 40,1559
605(defun monom-times-term 46,1750
606(defun term-divides-p 50,1866
607(defmacro term-monom 54,1970
608(defmacro term-coefficient 55,2012
609(defsetf term-monom 58,2077
610(defsetf term-coefficient 61,2143
611
612
613trivial.lisp,29
614(defpackage "TRIVIAL"12,617
615
616
617xgcd.lisp,46
618(defpackage "XGCD"12,614
619(defun xgcd 19,739
Note: See TracBrowser for help on using the repository browser.