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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985
|
;;;***************************************************************
;;;An ACL2 Library of Floating Point Arithmetic
;;;David M. Russinoff
;;;Advanced Micro Devices, Inc.
;;;June, 2001
;;;***************************************************************
(in-package "ACL2")
;the comments represent Eric's best guess as to how to summarize each book
(include-book "util") ;includes the local-defthm macro, etc.
(include-book "ground-zero") ;disables a bunch of functions, includes util
(include-book "rewrite-theory") ; a little utility, which we don't use much...
(include-book "rtl") ;definitions of the RTL primitives
(include-book "rtlarr") ;RTL arrays
(include-book "bvecp-lemmas") ;bvecp lemmas for all(?) of the RTL primitives (what's the point of this book,
;given that we have lib/bvecp-raw-helpers?)
(include-book "bits")
(include-book "bitn")
(include-book "ocat") ;soon to be removed, since I don't think we use ocat
(include-book "cat-def") ;the definition of cat (since it's a bit complicated).
(include-book "cat")
(include-book "bvecp")
(include-book "ash")
(include-book "decode")
(include-book "encode")
(include-book "mulcat")
(include-book "shft")
(include-book "all-ones")
(include-book "merge2") ;includes merge
;a mix of lemmas. eric is sorting these out into appropriate books
;but some lemmas really do mix several functions
(include-book "logior1")
(include-book "setbits")
(include-book "setbitn")
(include-book "float") ;theorems about floating point numbers (factorization into sgn, sig, and expo;
;exactness)
;Eric might want to sort these out into books call sig.lisp, exactp,list, etc.
;floating-point representations:
(include-book "bias") ;Exponent bias for floating point representations.
(include-book "ereps") ;Floating point representations with explicit leading 1 in the mantissa.
(include-book "ireps") ;Floating point representations with implicit leading 1 in the mantissa.
;built-in logical operators:
(include-book "logeqv")
(include-book "logorc1")
(include-book "lognot")
(include-book "logand")
(include-book "logior")
(include-book "logxor")
(include-book "log") ;theorems mixing logical operators with bits and bitn, etc. some junk in here to sort
;out?
;figure out the difference between this and merge?
;new logical operators:
(include-book "lnot")
(include-book "land")
(include-book "lior")
(include-book "lxor")
(include-book "lextra")
(include-book "logs") ;other "logical" operators, especially type (bvecp/natp) lemmas
;floating-point rounding:
(include-book "trunc") ;the trunc rounding-mode
(include-book "away") ;the away rounding-mode
(include-book "near") ;the near rounding-mode
(include-book "near+") ;the near+ rounding-mode
(include-book "oddr") ;the odd rounding-mode
(include-book "sticky") ;sticky rounding
(include-book "rnd") ;rnd (our top level rounding function), and the inf and minf rounding modes
(include-book "drnd") ;rounding of denormal numbers
(include-book "bits-trunc") ;theorems about how we implement trunc rounding...
;theorems about circuits for addition
(include-book "add3") ;theorems about how we implement addition of (2 or) 3 bit vectors using land, lior, and lxor
(include-book "lop1") ;leading-one prediction
(include-book "lop2") ;leading-one prediction
(include-book "lop3") ;leading-one prediction
(include-book "stick") ;Some special-purpose lemmas by Russinoff, probably about sticky bit computation
;helpers
(include-book "bvecp-helpers")
(include-book "model-helpers") ; do we use this?
(include-book "rom-helpers")
(include-book "simple-loop-helpers")
;BOZO consider moving lib/simplify-model-helpers to support/ of (better yet), move all the helpers books to lib/
(include-book "clocks")
(include-book "openers")
(include-book "package-defs")
(include-book "simplify-model-helpers")
(include-book "../arithmetic/top")
(include-book "../arithmetic/fp")
(include-book "fadd")
; The following form evaluates to (prints out) the list of runes shown below,
; in the environment created by starting up ACL2 and then executing
; (include-book "../lib/top") when ../lib/top was built on top of
; ../support/top1.
#|
; Here is the correct result, which however is more verbose than necessary.
(let ((world (w state)))
(union-theories
;; non-built-in rules
(set-difference-theories (current-theory :here)
(universal-theory 'ground-zero))
;; built-in rules
(intersection-theories (current-theory :here)
(universal-theory 'ground-zero))))
But note that:
(let* ((world (w state))
(cgz (current-theory 'ground-zero))
(ugz (universal-theory 'ground-zero))
(here (current-theory :here)))
(equal (intersection-theories here ugz)
(union-theories (set-difference-theories
cgz
(set-difference-theories cgz here))
(intersection-theories (set-difference-theories ugz
cgz)
here))))
And the following are small:
(let* ((world (w state))
(cgz (current-theory 'ground-zero))
(here (current-theory :here)))
(set-difference-theories cgz here))
(let* ((world (w state))
(cgz (current-theory 'ground-zero))
(ugz (universal-theory 'ground-zero))
(here (current-theory :here)))
(intersection-theories (set-difference-theories ugz cgz)
here))
So the correct result is, alteratively:
(let* ((world (w state))
(cgz (current-theory 'ground-zero))
(ugz (universal-theory 'ground-zero))
(here (current-theory :here))
(small1 (set-difference-theories cgz here))
(small2 (intersection-theories (set-difference-theories ugz cgz)
here)))
(union-theories
;; non-built-in rules
(set-difference-theories (current-theory :here)
(universal-theory 'ground-zero))
;; built-in rules
(union-theories (set-difference-theories cgz small1)
small2)))
|# ; |
; After Version_4.2, changes to defpkg eliminated the creation of rewrite rules
; for hidden defpkgs, e.g., (:REWRITE U-PACKAGE). We tried replacing the next
; two forms below with more flexible forms that are more likely to survive
; version changes, including the one just mentioned; but the theorem bits-guard
; failed in rtl/rel4/support/guards.cert. So we just comment out the offending
; rules in the first deftheory below.
(deftheory lib-top1-non-built-ins
;(let ((world (w state)))
; (set-difference-theories (current-theory :here) (universal-theory 'ground-zero)))
'(
; (:REWRITE U-PACKAGE)
; (:REWRITE ACL2-ASG-PACKAGE)
; (:REWRITE ACL2-AGP-PACKAGE)
; (:REWRITE ACL2-CRG-PACKAGE)
(:EXECUTABLE-COUNTERPART FL)
(:TYPE-PRESCRIPTION FL)
(:EXECUTABLE-COUNTERPART BITS)
(:EXECUTABLE-COUNTERPART BITN)
(:EXECUTABLE-COUNTERPART BINARY-CAT)
(:DEFINITION FORMAL-+)
(:EXECUTABLE-COUNTERPART FORMAL-+)
(:TYPE-PRESCRIPTION FORMAL-+)
(:DEFINITION CAT-SIZE)
(:EXECUTABLE-COUNTERPART CAT-SIZE)
(:TYPE-PRESCRIPTION CAT-SIZE)
(:INDUCTION CAT-SIZE)
(:EXECUTABLE-COUNTERPART MULCAT)
(:EXECUTABLE-COUNTERPART LNOT)
(:EXECUTABLE-COUNTERPART BINARY-LAND)
(:EXECUTABLE-COUNTERPART BINARY-LIOR)
(:EXECUTABLE-COUNTERPART BINARY-LXOR)
(:DEFINITION SETBITS)
(:EXECUTABLE-COUNTERPART SETBITS)
(:TYPE-PRESCRIPTION SETBITS)
(:EXECUTABLE-COUNTERPART SETBITN)
(:EXECUTABLE-COUNTERPART LOG=)
(:EXECUTABLE-COUNTERPART LOG<>)
(:EXECUTABLE-COUNTERPART LOG<)
(:EXECUTABLE-COUNTERPART LOG<=)
(:EXECUTABLE-COUNTERPART LOG>)
(:EXECUTABLE-COUNTERPART LOG>=)
(:EXECUTABLE-COUNTERPART COMP2)
(:TYPE-PRESCRIPTION COMP2)
(:EXECUTABLE-COUNTERPART COMP2<)
(:TYPE-PRESCRIPTION COMP2<)
(:EXECUTABLE-COUNTERPART COMP2<=)
(:TYPE-PRESCRIPTION COMP2<=)
(:EXECUTABLE-COUNTERPART COMP2>)
(:TYPE-PRESCRIPTION COMP2>)
(:EXECUTABLE-COUNTERPART COMP2>=)
(:TYPE-PRESCRIPTION COMP2>=)
(:EXECUTABLE-COUNTERPART LOGAND1)
(:TYPE-PRESCRIPTION LOGAND1)
(:EXECUTABLE-COUNTERPART LOGIOR1)
(:TYPE-PRESCRIPTION LOGIOR1)
(:EXECUTABLE-COUNTERPART LOGXOR1)
(:TYPE-PRESCRIPTION LOGXOR1)
(:EXECUTABLE-COUNTERPART SHFT)
(:EXECUTABLE-COUNTERPART DECODE)
(:EXECUTABLE-COUNTERPART ENCODE)
(:EXECUTABLE-COUNTERPART IF1)
(:TYPE-PRESCRIPTION IF1)
(:REWRITE IF1-0)
(:REWRITE IF1-NON-0)
(:REWRITE IF1-X-X)
(:DEFINITION COND1-MACRO)
(:EXECUTABLE-COUNTERPART COND1-MACRO)
(:TYPE-PRESCRIPTION COND1-MACRO)
(:INDUCTION COND1-MACRO)
(:EXECUTABLE-COUNTERPART NATP1)
(:TYPE-PRESCRIPTION NATP1)
(:EXECUTABLE-COUNTERPART BVECP)
(:TYPE-PRESCRIPTION BVECP)
(:REWRITE BVECP-IF1)
(:EXECUTABLE-COUNTERPART MK-BVEC)
(:TYPE-PRESCRIPTION MK-BVEC)
(:REWRITE MK-BVEC-IS-BVECP)
(:REWRITE MK-BVEC-IDENTITY)
(:REWRITE BVECP-RESET)
(:FORWARD-CHAINING BVECP-RESET)
(:TYPE-PRESCRIPTION BVECP-RESET)
(:REWRITE BVECP-UNKNOWN)
(:FORWARD-CHAINING BVECP-UNKNOWN)
(:TYPE-PRESCRIPTION BVECP-UNKNOWN)
(:EXECUTABLE-COUNTERPART <<)
(:TYPE-PRESCRIPTION <<)
(:REWRITE <<-IRREFLEXIVE)
(:REWRITE <<-TRANSITIVE)
(:REWRITE <<-ASYMMETRIC)
(:REWRITE <<-TRICHOTOMY)
(:REWRITE <<-IMPLIES-LEXORDER)
(:DEFINITION RCDP)
(:EXECUTABLE-COUNTERPART RCDP)
(:TYPE-PRESCRIPTION RCDP)
(:INDUCTION RCDP)
(:REWRITE RCDP-IMPLIES-ALISTP)
(:DEFINITION IFRP)
(:EXECUTABLE-COUNTERPART IFRP)
(:TYPE-PRESCRIPTION IFRP)
(:INDUCTION IFRP)
(:DEFINITION ACL2->RCD)
(:EXECUTABLE-COUNTERPART ACL2->RCD)
(:TYPE-PRESCRIPTION ACL2->RCD)
(:DEFINITION RCD->ACL2)
(:EXECUTABLE-COUNTERPART RCD->ACL2)
(:TYPE-PRESCRIPTION RCD->ACL2)
(:DEFINITION AG-AUX)
(:EXECUTABLE-COUNTERPART AG-AUX)
(:TYPE-PRESCRIPTION AG-AUX)
(:INDUCTION AG-AUX)
(:EXECUTABLE-COUNTERPART AG)
(:TYPE-PRESCRIPTION AG)
(:DEFINITION ACONS-IF)
(:EXECUTABLE-COUNTERPART ACONS-IF)
(:TYPE-PRESCRIPTION ACONS-IF)
(:DEFINITION AS-AUX)
(:EXECUTABLE-COUNTERPART AS-AUX)
(:TYPE-PRESCRIPTION AS-AUX)
(:INDUCTION AS-AUX)
(:EXECUTABLE-COUNTERPART AS)
(:TYPE-PRESCRIPTION AS)
(:REWRITE AG-SAME-AS)
(:REWRITE AG-DIFF-AS)
(:REWRITE AS-SAME-AG)
(:REWRITE AS-SAME-AS)
(:REWRITE AS-DIFF-AS)
(:REWRITE AG-OF-NIL-IS-DEFAULT)
(:REWRITE AS-NON-DEFAULT-CANNOT-BE-NIL)
(:FORWARD-CHAINING NON-NIL-IF-AG-NOT-DEFAULT)
(:EXECUTABLE-COUNTERPART BV-ARRP)
(:TYPE-PRESCRIPTION BV-ARRP)
(:REWRITE AS-MAPS-BV-ARR-TO-BV-ARR)
(:REWRITE AG-MAPS-BV-ARR-TO-BVECP)
(:EXECUTABLE-COUNTERPART MK-BVARR)
(:TYPE-PRESCRIPTION MK-BVARR)
(:REWRITE MK-BVARR-IS-BV-ARRP)
(:REWRITE MK-BVARR-IDENTITY)
(:DEFINITION POSITIVE-INTEGER-LISTP)
(:EXECUTABLE-COUNTERPART POSITIVE-INTEGER-LISTP)
(:TYPE-PRESCRIPTION POSITIVE-INTEGER-LISTP)
(:INDUCTION POSITIVE-INTEGER-LISTP)
(:REWRITE BV-ARRP-RESET2)
(:REWRITE BV-ARRP-UNKNOWN2)
(:REWRITE BV-ARRP-IF1)
(:EXECUTABLE-COUNTERPART CG)
(:TYPE-PRESCRIPTION CG)
(:TYPE-PRESCRIPTION FL-INTEGER-TYPE)
(:TYPE-PRESCRIPTION CG-INTEGER-TYPE)
(:REWRITE FL-INTEGERP)
(:REWRITE CG-INTEGERP)
(:LINEAR FL-DEF-LINEAR)
(:LINEAR CG-DEF-LINEAR)
(:LINEAR FL-MONOTONE-LINEAR)
(:LINEAR CG-MONOTONE-LINEAR)
(:LINEAR N<=FL-LINEAR)
(:LINEAR N>=CG-LINEAR)
(:REWRITE FL+INT-REWRITE)
(:REWRITE CG+INT-REWRITE)
(:REWRITE FL/INT-REWRITE)
(:REWRITE FL/INT-REWRITE-ALT)
(:REWRITE CG/INT-REWRITE)
(:REWRITE CG/INT-REWRITE-ALT)
(:REWRITE EXPT-2-POSITIVE-RATIONAL-TYPE)
(:TYPE-PRESCRIPTION EXPT-2-POSITIVE-RATIONAL-TYPE)
(:TYPE-PRESCRIPTION EXPT-2-POSITIVE-INTEGER-TYPE)
(:LINEAR EXPT-2-TYPE-LINEAR)
(:REWRITE ASH-REWRITE)
(:REWRITE MOD-0)
(:REWRITE RATIONALP-MOD)
(:TYPE-PRESCRIPTION RATIONALP-MOD)
(:REWRITE INTEGERP-MOD)
(:TYPE-PRESCRIPTION INTEGERP-MOD)
(:TYPE-PRESCRIPTION NATP-MOD)
(:LINEAR MOD-BND-1)
(:LINEAR MOD-BND-2)
(:REWRITE MOD-MULT)
(:REWRITE MOD-DIFF)
(:REWRITE MOD-DOES-NOTHING)
(:REWRITE MOD-BY-1)
(:REWRITE MOD-OF-MOD)
(:REWRITE MOD-PROD)
(:LINEAR MOD-BND-3)
(:LINEAR QUOT-BND)
(:REWRITE MOD-MULT-2)
(:LINEAR NK>=K-LINEAR)
(:REWRITE MOD-MULT-2-GEN)
(:REWRITE MOD-MULT-2-ALT-GEN)
(:REWRITE MOD-2*I+1-REWRITE)
(:EXECUTABLE-COUNTERPART FL-HALF)
(:TYPE-PRESCRIPTION FL-HALF)
(:FORWARD-CHAINING BVECP-FORWARD)
(:FORWARD-CHAINING BVECP-1-0)
(:FORWARD-CHAINING BVECP-0-1)
(:DEFINITION BITVEC)
(:EXECUTABLE-COUNTERPART BITVEC)
(:TYPE-PRESCRIPTION BITVEC)
(:TYPE-PRESCRIPTION BITN-NONNEGATIVE-INTEGER)
(:REWRITE BITN-BVECP)
(:FORWARD-CHAINING BITN-BVECP-FORWARD)
(:REWRITE BITN-BVECP-1)
(:REWRITE BITN-BITN-0)
(:REWRITE BITN-0)
(:REWRITE BVECP-BITN-0)
(:TYPE-PRESCRIPTION BITS-NONNEGATIVE-INTEGERP-TYPE)
(:REWRITE BITS-0)
(:REWRITE BITS-WITH-INDICES-IN-THE-WRONG-ORDER)
(:REWRITE BITS-N-N-REWRITE)
(:REWRITE BITS-TAIL)
(:REWRITE BITS-BVECP)
(:REWRITE BITS-BVECP-SIMPLE)
(:REWRITE BITS-BVECP-SIMPLE-2)
(:DEFINITION SUMBITS)
(:EXECUTABLE-COUNTERPART SUMBITS)
(:TYPE-PRESCRIPTION SUMBITS)
(:INDUCTION SUMBITS)
(:REWRITE BITN-BITS)
(:REWRITE BITS-BITS)
(:REWRITE BITS-PLUS-MULT-2)
(:REWRITE BITS-DROP-FROM-MINUS)
(:TYPE-PRESCRIPTION CAT-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE CAT-BVECP)
(:REWRITE CAT-ASSOCIATIVE)
(:REWRITE CAT-0)
(:REWRITE CAT-WITH-N-0)
(:REWRITE CAT-WITH-M-0)
(:REWRITE BITN-CAT-CONSTANTS)
(:REWRITE BITS-CAT-CONSTANTS)
(:REWRITE CAT-BITS-BITS)
(:REWRITE CAT-BITN-BITS)
(:REWRITE CAT-BITS-BITN)
(:REWRITE CAT-BITN-BITN)
(:TYPE-PRESCRIPTION MULCAT-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE MULCAT-BVECP)
(:REWRITE MULCAT-1)
(:REWRITE MULCAT-0)
(:REWRITE MULCAT-N-1)
(:REWRITE BITN-MULCAT-1)
(:REWRITE SETBITN-REWRITE)
(:TYPE-PRESCRIPTION SETBITN-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE SETBITN-BVECP)
(:REWRITE BITN-SETBITN)
(:TYPE-PRESCRIPTION SHFT-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE SHFT-BVECP)
(:TYPE-PRESCRIPTION LNOT-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE LNOT-BVECP)
(:REWRITE LNOT-LNOT)
(:TYPE-PRESCRIPTION LAND-NONNEGATIVE-INTEGER-TYPE)
(:TYPE-PRESCRIPTION LIOR-NONNEGATIVE-INTEGER-TYPE)
(:TYPE-PRESCRIPTION LXOR-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE LAND-BVECP)
(:REWRITE LIOR-BVECP)
(:REWRITE LXOR-BVECP)
(:REWRITE LAND-X-Y-0)
(:REWRITE LIOR-X-Y-0)
(:REWRITE LXOR-X-Y-0)
(:DEFINITION LOGOP-2-INDUCT)
(:EXECUTABLE-COUNTERPART LOGOP-2-INDUCT)
(:TYPE-PRESCRIPTION LOGOP-2-INDUCT)
(:INDUCTION LOGOP-2-INDUCT)
(:DEFINITION LOGOP-2-N-INDUCT)
(:EXECUTABLE-COUNTERPART LOGOP-2-N-INDUCT)
(:TYPE-PRESCRIPTION LOGOP-2-N-INDUCT)
(:INDUCTION LOGOP-2-N-INDUCT)
(:DEFINITION LOGOP-3-INDUCT)
(:EXECUTABLE-COUNTERPART LOGOP-3-INDUCT)
(:TYPE-PRESCRIPTION LOGOP-3-INDUCT)
(:INDUCTION LOGOP-3-INDUCT)
(:REWRITE LAND-COMMUTATIVE)
(:REWRITE LIOR-COMMUTATIVE)
(:REWRITE LXOR-COMMUTATIVE)
(:REWRITE LAND-ASSOCIATIVE)
(:REWRITE LIOR-ASSOCIATIVE)
(:REWRITE LXOR-ASSOCIATIVE)
(:REWRITE LAND-COMMUTATIVE-2)
(:REWRITE LIOR-COMMUTATIVE-2)
(:REWRITE LXOR-COMMUTATIVE-2)
(:REWRITE LAND-COMBINE-CONSTANTS)
(:REWRITE LIOR-COMBINE-CONSTANTS)
(:REWRITE LXOR-COMBINE-CONSTANTS)
(:REWRITE LAND-SELF)
(:REWRITE LIOR-SELF)
(:REWRITE LXOR-SELF)
(:REWRITE LAND-0)
(:REWRITE LIOR-0)
(:REWRITE LXOR-0)
(:REWRITE LAND-ONES-REWRITE)
(:REWRITE LIOR-ONES-REWRITE)
(:REWRITE LXOR-ONES-REWRITE)
(:REWRITE BITS-LAND)
(:REWRITE BITN-LAND)
(:REWRITE BITS-LIOR)
(:REWRITE BITN-LIOR)
(:REWRITE BITS-LXOR)
(:REWRITE BITN-LXOR)
(:REWRITE LAND-BND)
(:LINEAR LAND-BND)
(:REWRITE LIOR-BND)
(:LINEAR LIOR-BND)
(:REWRITE LIOR-BVECP-2)
(:REWRITE LIOR-CAT-CONSTANT)
(:TYPE-PRESCRIPTION LOGAND1-NONNEGATIVE-INTEGER-TYPE)
(:TYPE-PRESCRIPTION LOGIOR1-NONNEGATIVE-INTEGER-TYPE)
(:TYPE-PRESCRIPTION LOGXOR1-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE LOGAND1-BVECP)
(:REWRITE LOGIOR1-BVECP)
(:REWRITE LOGXOR1-BVECP)
(:REWRITE LOG<-BVECP)
(:TYPE-PRESCRIPTION LOG<-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE LOG<=-BVECP)
(:TYPE-PRESCRIPTION LOG<=-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE LOG>-BVECP)
(:TYPE-PRESCRIPTION LOG>-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE LOG>=-BVECP)
(:TYPE-PRESCRIPTION LOG>=-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE LOG=-BVECP)
(:TYPE-PRESCRIPTION LOG=-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE LOG=-COMMUTATIVE)
(:REWRITE LOG<>-BVECP)
(:TYPE-PRESCRIPTION LOG<>-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE LOG<>-COMMUTATIVE)
(:REWRITE LOG=-CAT-CONSTANT)
(:REWRITE ENCODE-BVECP)
(:TYPE-PRESCRIPTION ENCODE-NONNEGATIVE-INTEGER-TYPE)
(:TYPE-PRESCRIPTION DECODE-NONNEGATIVE-INTEGER-TYPE)
(:REWRITE DECODE-BVECP)
(:EXECUTABLE-COUNTERPART EXPO)
(:TYPE-PRESCRIPTION EXPO)
(:EXECUTABLE-COUNTERPART SGN)
(:TYPE-PRESCRIPTION SGN)
(:EXECUTABLE-COUNTERPART SIG)
(:TYPE-PRESCRIPTION SIG)
(:REWRITE EXPO-2**N)
(:REWRITE ALREADY-SIG)
(:REWRITE SIG-SIG)
(:EXECUTABLE-COUNTERPART EXACTP)
(:TYPE-PRESCRIPTION EXACTP)
(:REWRITE EXACTP-MINUS)
(:REWRITE BVECP-EXACTP)
(:REWRITE EXACTP-SIG-X)
(:DEFINITION FP+)
(:EXECUTABLE-COUNTERPART FP+)
(:TYPE-PRESCRIPTION FP+)
(:TYPE-PRESCRIPTION FP+-POSITIVE)
(:EXECUTABLE-COUNTERPART BIAS)
(:TYPE-PRESCRIPTION BIAS)
(:TYPE-PRESCRIPTION BIAS-NON-NEGATIVE-INTEGERP-TYPE-PRESCRIPTION)
(:DEFINITION ESGNF)
(:EXECUTABLE-COUNTERPART ESGNF)
(:TYPE-PRESCRIPTION ESGNF)
(:DEFINITION EEXPOF)
(:EXECUTABLE-COUNTERPART EEXPOF)
(:TYPE-PRESCRIPTION EEXPOF)
(:DEFINITION ESIGF)
(:EXECUTABLE-COUNTERPART ESIGF)
(:TYPE-PRESCRIPTION ESIGF)
(:EXECUTABLE-COUNTERPART EREPP)
(:TYPE-PRESCRIPTION EREPP)
(:EXECUTABLE-COUNTERPART EENCODINGP)
(:TYPE-PRESCRIPTION EENCODINGP)
(:EXECUTABLE-COUNTERPART EENCODE)
(:TYPE-PRESCRIPTION EENCODE)
(:EXECUTABLE-COUNTERPART EDECODE)
(:TYPE-PRESCRIPTION EDECODE)
(:REWRITE EENCODINGP-NOT-ZERO)
(:REWRITE EREPP-EDECODE)
(:REWRITE EENCODINGP-EENCODE)
(:REWRITE EDECODE-EENCODE)
(:REWRITE EENCODE-EDECODE)
(:REWRITE EXPO-EDECODE)
(:REWRITE SGN-EDECODE)
(:REWRITE SIG-EDECODE)
(:DEFINITION REBIAS-EXPO)
(:EXECUTABLE-COUNTERPART REBIAS-EXPO)
(:TYPE-PRESCRIPTION REBIAS-EXPO)
(:REWRITE NATP-REBIAS-UP)
(:REWRITE NATP-REBIAS-DOWN)
(:REWRITE BVECP-REBIAS-UP)
(:REWRITE BVECP-REBIAS-DOWN)
(:DEFINITION ISGNF)
(:EXECUTABLE-COUNTERPART ISGNF)
(:TYPE-PRESCRIPTION ISGNF)
(:DEFINITION IEXPOF)
(:EXECUTABLE-COUNTERPART IEXPOF)
(:TYPE-PRESCRIPTION IEXPOF)
(:DEFINITION ISIGF)
(:EXECUTABLE-COUNTERPART ISIGF)
(:TYPE-PRESCRIPTION ISIGF)
(:EXECUTABLE-COUNTERPART NREPP)
(:TYPE-PRESCRIPTION NREPP)
(:EXECUTABLE-COUNTERPART DREPP)
(:TYPE-PRESCRIPTION DREPP)
(:EXECUTABLE-COUNTERPART IREPP)
(:TYPE-PRESCRIPTION IREPP)
(:EXECUTABLE-COUNTERPART NENCODINGP)
(:TYPE-PRESCRIPTION NENCODINGP)
(:EXECUTABLE-COUNTERPART DENCODINGP)
(:TYPE-PRESCRIPTION DENCODINGP)
(:EXECUTABLE-COUNTERPART IENCODINGP)
(:TYPE-PRESCRIPTION IENCODINGP)
(:EXECUTABLE-COUNTERPART NENCODE)
(:TYPE-PRESCRIPTION NENCODE)
(:EXECUTABLE-COUNTERPART DENCODE)
(:TYPE-PRESCRIPTION DENCODE)
(:EXECUTABLE-COUNTERPART IENCODE)
(:TYPE-PRESCRIPTION IENCODE)
(:EXECUTABLE-COUNTERPART NDECODE)
(:TYPE-PRESCRIPTION NDECODE)
(:EXECUTABLE-COUNTERPART DDECODE)
(:TYPE-PRESCRIPTION DDECODE)
(:EXECUTABLE-COUNTERPART IDECODE)
(:TYPE-PRESCRIPTION IDECODE)
(:REWRITE SGN-NDECODE)
(:REWRITE EXPO-NDECODE)
(:REWRITE SIG-NDECODE)
(:REWRITE SGN-DDECODE)
(:REWRITE EXPO-DDECODE)
(:REWRITE SIG-DDECODE)
(:REWRITE SGN-IDECODE)
(:REWRITE EXPO-IDECODE)
(:REWRITE SIG-IDECODE)
(:REWRITE DENCODINGP-DENCODE)
(:REWRITE IENCODINGP-IENCODE)
(:REWRITE NREPP-NDECODE)
(:REWRITE DREPP-DDECODE)
(:REWRITE IREPP-IDECODE)
(:REWRITE NENCODINGP-NENCODE)
(:REWRITE NDECODE-NENCODE)
(:REWRITE DDECODE-DENCODE)
(:REWRITE IDECODE-IENCODE)
(:REWRITE NENCODE-NDECODE)
(:REWRITE DENCODE-DDECODE)
(:REWRITE IENCODE-IDECODE)
(:EXECUTABLE-COUNTERPART TRUNC)
(:TYPE-PRESCRIPTION TRUNC)
(:REWRITE TRUNC-POSITIVE)
(:LINEAR TRUNC-POSITIVE)
(:REWRITE TRUNC-NEGATIVE)
(:LINEAR TRUNC-NEGATIVE)
(:REWRITE TRUNC-0)
(:REWRITE TRUNC-EXACTP-B)
(:REWRITE EXPO-TRUNC)
(:EXECUTABLE-COUNTERPART AWAY)
(:TYPE-PRESCRIPTION AWAY)
(:REWRITE AWAY-POSITIVE)
(:LINEAR AWAY-POSITIVE)
(:REWRITE AWAY-NEGATIVE)
(:LINEAR AWAY-NEGATIVE)
(:REWRITE AWAY-0)
(:REWRITE AWAY-EXACTP-B)
(:DEFINITION RE)
(:EXECUTABLE-COUNTERPART RE)
(:TYPE-PRESCRIPTION RE)
(:EXECUTABLE-COUNTERPART NEAR)
(:TYPE-PRESCRIPTION NEAR)
(:TYPE-PRESCRIPTION NEAR-POS)
(:LINEAR NEAR-POS)
(:REWRITE NEAR-0)
(:REWRITE NEAR-EXACTP-B)
(:REWRITE NEAR-MONOTONE)
(:EXECUTABLE-COUNTERPART NEAR-WITNESS)
(:TYPE-PRESCRIPTION NEAR-WITNESS)
(:EXECUTABLE-COUNTERPART NEAR+)
(:TYPE-PRESCRIPTION NEAR+)
(:REWRITE SGN-NEAR+-2)
(:LINEAR NEAR+-POS)
(:LINEAR NEAR+-NEG)
(:REWRITE NEAR+-0)
(:REWRITE NEAR+-MONOTONE)
(:REWRITE NEAR+-EXACTP-B)
(:REWRITE NEAR+-EXACTP-C)
(:REWRITE NEAR+-EXACTP-D)
(:EXECUTABLE-COUNTERPART STICKY)
(:TYPE-PRESCRIPTION STICKY)
(:REWRITE STICKY-1)
(:REWRITE STICKY-0)
(:EXECUTABLE-COUNTERPART ODDR)
(:TYPE-PRESCRIPTION ODDR)
(:REWRITE EXPO-ODDR)
(:DEFINITION KP)
(:EXECUTABLE-COUNTERPART KP)
(:TYPE-PRESCRIPTION KP)
(:DEFINITION INF)
(:EXECUTABLE-COUNTERPART INF)
(:TYPE-PRESCRIPTION INF)
(:DEFINITION MINF)
(:EXECUTABLE-COUNTERPART MINF)
(:TYPE-PRESCRIPTION MINF)
(:EXECUTABLE-COUNTERPART IEEE-MODE-P)
(:TYPE-PRESCRIPTION IEEE-MODE-P)
(:DEFINITION ROUNDING-MODE-P)
(:EXECUTABLE-COUNTERPART ROUNDING-MODE-P)
(:TYPE-PRESCRIPTION ROUNDING-MODE-P)
(:EXECUTABLE-COUNTERPART RND)
(:TYPE-PRESCRIPTION RND)
(:TYPE-PRESCRIPTION RATIONALP-RND)
(:REWRITE RND-NON-POS)
(:TYPE-PRESCRIPTION RND-NON-POS)
(:LINEAR RND-NON-POS)
(:REWRITE RND-NON-NEG)
(:TYPE-PRESCRIPTION RND-NON-NEG)
(:LINEAR RND-NON-NEG)
(:TYPE-PRESCRIPTION RND-POS)
(:TYPE-PRESCRIPTION RND-NEG)
(:REWRITE RND-0)
(:EXECUTABLE-COUNTERPART FLIP)
(:TYPE-PRESCRIPTION FLIP)
(:REWRITE IEEE-MODE-P-FLIP)
(:REWRITE ROUNDING-MODE-P-FLIP)
(:REWRITE RND-EXACTP-A)
(:REWRITE RND-EXACTP-B)
(:REWRITE EXACTP-RND)
(:DEFINITION RND-CONST)
(:EXECUTABLE-COUNTERPART RND-CONST)
(:TYPE-PRESCRIPTION RND-CONST)
(:DEFINITION ROUNDUP)
(:EXECUTABLE-COUNTERPART ROUNDUP)
(:TYPE-PRESCRIPTION ROUNDUP)
(:EXECUTABLE-COUNTERPART DRND)
(:TYPE-PRESCRIPTION DRND)
(:REWRITE DRND-0)
(:EXECUTABLE-COUNTERPART SMALLEST-POSITIVE-NORMAL)
(:TYPE-PRESCRIPTION SMALLEST-POSITIVE-NORMAL)
(:LINEAR POSITIVE-SPN)
(:REWRITE NREPP-SPN)
(:REWRITE SMALLEST-SPN)
(:EXECUTABLE-COUNTERPART SMALLEST-POSITIVE-DENORMAL)
(:TYPE-PRESCRIPTION SMALLEST-POSITIVE-DENORMAL)
(:REWRITE POSITIVE-SPD)
(:REWRITE DREPP-SPD)
(:REWRITE SMALLEST-SPD)
(:REWRITE DRND-OF-DREPP-IS-NOP)
(:REWRITE DRND-SPN-IS-SPN-GENERAL)
(:REWRITE DRND-TRUNC-NEVER-GOES-AWAY-FROM-ZERO)
(:REWRITE DRND-AWAY-NEVER-GOES-TOWARD-ZERO)
(:REWRITE DRND-INF-NEVER-GOES-DOWN)
(:REWRITE DRND-MINF-NEVER-GOES-UP)
(:REWRITE DRND-TRUNC-SKIPS-NO-DENORMALS)
(:REWRITE DRND-AWAY-SKIPS-NO-DENORMALS)
(:REWRITE DRND-INF-SKIPS-NO-DENORMALS)
(:REWRITE DRND-MINF-SKIPS-NO-DENORMALS)
(:REWRITE DRND-DIFF)
(:EXECUTABLE-COUNTERPART NEXT-DENORMAL)
(:TYPE-PRESCRIPTION NEXT-DENORMAL)
(:REWRITE DENORMAL-SPACING)
(:REWRITE NO-DENORMAL-IS-CLOSER-THAN-WHAT-DRND-NEAR-RETURNS)
(:DEFINITION GEN)
(:EXECUTABLE-COUNTERPART GEN)
(:TYPE-PRESCRIPTION GEN)
(:INDUCTION GEN)
(:DEFINITION PROP)
(:EXECUTABLE-COUNTERPART PROP)
(:TYPE-PRESCRIPTION PROP)
(:INDUCTION PROP)
(:REWRITE LAND-GEN-0)
(:REWRITE BVECP-1-GEN)
(:FORWARD-CHAINING BVECP-1-GEN)
(:REWRITE BVECP-1-PROP)
(:FORWARD-CHAINING BVECP-1-PROP)
(:DEFINITION LAMT)
(:EXECUTABLE-COUNTERPART LAMT)
(:TYPE-PRESCRIPTION LAMT)
(:DEFINITION LAMG)
(:EXECUTABLE-COUNTERPART LAMG)
(:TYPE-PRESCRIPTION LAMG)
(:DEFINITION LAMZ)
(:EXECUTABLE-COUNTERPART LAMZ)
(:TYPE-PRESCRIPTION LAMZ)
(:DEFINITION LAM1)
(:EXECUTABLE-COUNTERPART LAM1)
(:TYPE-PRESCRIPTION LAM1)
(:DEFINITION LAM2)
(:EXECUTABLE-COUNTERPART LAM2)
(:TYPE-PRESCRIPTION LAM2)
(:DEFINITION LAM3)
(:EXECUTABLE-COUNTERPART LAM3)
(:TYPE-PRESCRIPTION LAM3)
(:DEFINITION LAM4)
(:EXECUTABLE-COUNTERPART LAM4)
(:TYPE-PRESCRIPTION LAM4)
(:DEFINITION LAM0)
(:EXECUTABLE-COUNTERPART LAM0)
(:TYPE-PRESCRIPTION LAM0)
(:DEFINITION LAMB)
(:EXECUTABLE-COUNTERPART LAMB)
(:TYPE-PRESCRIPTION LAMB)
(:REWRITE A1)
(:REWRITE A2)
(:REWRITE A3)
(:REWRITE A4)
(:REWRITE A5)
(:REWRITE A6)
(:REWRITE A7)
(:REWRITE A8)
(:REWRITE A9)
(:REWRITE A10)
(:LINEAR A12)
(:LINEAR A13)
(:TYPE-PRESCRIPTION A14 . 1)
(:TYPE-PRESCRIPTION A14 . 2)
(:REWRITE A15)
(:REWRITE A16)
(:FORWARD-CHAINING /-WEAKLY-MONOTONIC)
(:LINEAR /-WEAKLY-MONOTONIC)
(:FORWARD-CHAINING /-STRONGLY-MONOTONIC)
(:LINEAR /-STRONGLY-MONOTONIC)
(:FORWARD-CHAINING *-WEAKLY-MONOTONIC . 1)
(:LINEAR *-WEAKLY-MONOTONIC . 1)
(:FORWARD-CHAINING *-WEAKLY-MONOTONIC . 2)
(:LINEAR *-WEAKLY-MONOTONIC . 2)
(:FORWARD-CHAINING *-STRONGLY-MONOTONIC . 1)
(:LINEAR *-STRONGLY-MONOTONIC . 1)
(:FORWARD-CHAINING *-STRONGLY-MONOTONIC . 2)
(:LINEAR *-STRONGLY-MONOTONIC . 2)
(:FORWARD-CHAINING *-WEAKLY-MONOTONIC-NEGATIVE-MULTIPLIER
. 1)
(:LINEAR *-WEAKLY-MONOTONIC-NEGATIVE-MULTIPLIER
. 1)
(:FORWARD-CHAINING *-WEAKLY-MONOTONIC-NEGATIVE-MULTIPLIER
. 2)
(:LINEAR *-WEAKLY-MONOTONIC-NEGATIVE-MULTIPLIER
. 2)
(:FORWARD-CHAINING *-STRONGLY-MONOTONIC-NEGATIVE-MULTIPLIER
. 1)
(:LINEAR *-STRONGLY-MONOTONIC-NEGATIVE-MULTIPLIER
. 1)
(:FORWARD-CHAINING *-STRONGLY-MONOTONIC-NEGATIVE-MULTIPLIER
. 2)
(:LINEAR *-STRONGLY-MONOTONIC-NEGATIVE-MULTIPLIER
. 2)
(:FORWARD-CHAINING FL-WEAKLY-MONOTONIC . 1)
(:LINEAR FL-WEAKLY-MONOTONIC . 1)
(:FORWARD-CHAINING FL-WEAKLY-MONOTONIC . 2)
(:LINEAR FL-WEAKLY-MONOTONIC . 2)
(:REWRITE REARRANGE-NEGATIVE-COEFS-<)
(:REWRITE REARRANGE-NEGATIVE-COEFS-EQUAL)
(:REWRITE REARRANGE-FRACTIONAL-COEFS-<)
(:REWRITE REARRANGE-FRACTIONAL-COEFS-EQUAL)
(:EXECUTABLE-COUNTERPART POINT-RIGHT-MEASURE)
(:TYPE-PRESCRIPTION POINT-RIGHT-MEASURE)
(:EXECUTABLE-COUNTERPART POINT-LEFT-MEASURE)
(:TYPE-PRESCRIPTION POINT-LEFT-MEASURE)
(:DEFINITION FIRSTN)
(:EXECUTABLE-COUNTERPART FIRSTN)
(:TYPE-PRESCRIPTION FIRSTN)
(:INDUCTION FIRSTN)
(:DEFINITION DROPN)
(:EXECUTABLE-COUNTERPART DROPN)
(:TYPE-PRESCRIPTION DROPN)
(:INDUCTION DROPN)
(:DEFINITION WCMP)
(:EXECUTABLE-COUNTERPART WCMP)
(:TYPE-PRESCRIPTION WCMP)
(:DEFINITION OCMP-AUX)
(:EXECUTABLE-COUNTERPART OCMP-AUX)
(:TYPE-PRESCRIPTION OCMP-AUX)
(:INDUCTION OCMP-AUX)
(:DEFINITION OCMP)
(:EXECUTABLE-COUNTERPART OCMP)
(:TYPE-PRESCRIPTION OCMP)
(:DEFINITION OMEGA-TERM)
(:EXECUTABLE-COUNTERPART OMEGA-TERM)
(:TYPE-PRESCRIPTION OMEGA-TERM)
(:DEFINITION OMEGA)
(:EXECUTABLE-COUNTERPART OMEGA)
(:TYPE-PRESCRIPTION OMEGA)
(:DEFINITION O-MAX)
(:EXECUTABLE-COUNTERPART O-MAX)
(:TYPE-PRESCRIPTION O-MAX)
(:DEFINITION LIMITPART)
(:EXECUTABLE-COUNTERPART LIMITPART)
(:TYPE-PRESCRIPTION LIMITPART)
(:INDUCTION LIMITPART)
(:DEFINITION NATPART)
(:EXECUTABLE-COUNTERPART NATPART)
(:TYPE-PRESCRIPTION NATPART)
(:INDUCTION NATPART)
(:DEFINITION LIMITP)
(:EXECUTABLE-COUNTERPART LIMITP)
(:TYPE-PRESCRIPTION LIMITP)
(:DEFINITION OLEN)
(:EXECUTABLE-COUNTERPART OLEN)
(:TYPE-PRESCRIPTION OLEN)
(:INDUCTION OLEN)
(:DEFINITION O-LAST-EXPT)
(:EXECUTABLE-COUNTERPART O-LAST-EXPT)
(:TYPE-PRESCRIPTION O-LAST-EXPT)
(:INDUCTION O-LAST-EXPT)
(:DEFINITION OB+)
(:EXECUTABLE-COUNTERPART OB+)
(:TYPE-PRESCRIPTION OB+)
(:INDUCTION OB+)
(:DEFINITION O-)
(:EXECUTABLE-COUNTERPART O-)
(:TYPE-PRESCRIPTION O-)
(:INDUCTION O-)
(:DEFINITION COUNT1)
(:EXECUTABLE-COUNTERPART COUNT1)
(:TYPE-PRESCRIPTION COUNT1)
(:INDUCTION COUNT1)
(:DEFINITION COUNT2)
(:EXECUTABLE-COUNTERPART COUNT2)
(:TYPE-PRESCRIPTION COUNT2)
(:DEFINITION PADD)
(:EXECUTABLE-COUNTERPART PADD)
(:TYPE-PRESCRIPTION PADD)
(:INDUCTION PADD)
(:DEFINITION PMULT)
(:EXECUTABLE-COUNTERPART PMULT)
(:TYPE-PRESCRIPTION PMULT)
(:INDUCTION PMULT)
(:DEFINITION OB*)
(:EXECUTABLE-COUNTERPART OB*)
(:TYPE-PRESCRIPTION OB*)
(:INDUCTION OB*)
(:DEFINITION O^1)
(:EXECUTABLE-COUNTERPART O^1)
(:TYPE-PRESCRIPTION O^1)
(:INDUCTION O^1)
(:DEFINITION O^2)
(:EXECUTABLE-COUNTERPART O^2)
(:TYPE-PRESCRIPTION O^2)
(:DEFINITION O^3H)
(:EXECUTABLE-COUNTERPART O^3H)
(:TYPE-PRESCRIPTION O^3H)
(:INDUCTION O^3H)
(:DEFINITION O^3)
(:EXECUTABLE-COUNTERPART O^3)
(:TYPE-PRESCRIPTION O^3)
(:DEFINITION O^4)
(:EXECUTABLE-COUNTERPART O^4)
(:TYPE-PRESCRIPTION O^4)
(:DEFINITION OB^)
(:EXECUTABLE-COUNTERPART OB^)
(:TYPE-PRESCRIPTION OB^)
(:INDUCTION OB^)
(:DEFINITION E0-ORD-<)
(:EXECUTABLE-COUNTERPART E0-ORD-<)
(:TYPE-PRESCRIPTION E0-ORD-<)
(:INDUCTION E0-ORD-<)
(:DEFINITION E0-ORDINALP)
(:EXECUTABLE-COUNTERPART E0-ORDINALP)
(:TYPE-PRESCRIPTION E0-ORDINALP)
(:INDUCTION E0-ORDINALP)
(:DEFINITION COPYN)
(:EXECUTABLE-COUNTERPART COPYN)
(:TYPE-PRESCRIPTION COPYN)
(:INDUCTION COPYN)
(:EXECUTABLE-COUNTERPART CTOA)
(:TYPE-PRESCRIPTION CTOA)
(:REWRITE CTOA-<-EQUIV)
(:FORWARD-CHAINING |oc.x <=> oa(ctoa.x)|)
(:REWRITE |oc.x <=> oa(ctoa.x)|)
(:EXECUTABLE-COUNTERPART ATOC)
(:TYPE-PRESCRIPTION ATOC)
(:REWRITE |oa.x <=> oc(atoc.x)|)
(:REWRITE ATOC-<-EQUIV)
(:WELL-FOUNDED-RELATION E0-ORDINAL-WELL-FOUNDED-CNF)
(:REWRITE RECURSION-BY-POINT-RIGHT)
(:REWRITE RECURSION-BY-POINT-LEFT)
(:DEFINITION SUB1-INDUCTION)
(:EXECUTABLE-COUNTERPART SUB1-INDUCTION)
(:TYPE-PRESCRIPTION SUB1-INDUCTION)
(:INDUCTION SUB1-INDUCTION)
(:DEFINITION SPLIT-LIST)
(:EXECUTABLE-COUNTERPART SPLIT-LIST)
(:TYPE-PRESCRIPTION SPLIT-LIST)
(:INDUCTION SPLIT-LIST)))
(deftheory lib-top1-built-ins-helper-1
; (let* ((world (w state))
; (cgz (current-theory 'ground-zero))
; (here (current-theory :here)))
; (set-difference-theories cgz here)))
'((:DEFINITION FLOOR)
(:REWRITE INVERSE-OF-*)
(:DEFINITION TRUNCATE)
(:DEFINITION MOD)
(:DEFINITION REM)
(:DEFINITION LOGNOT)
(:DEFINITION EXPT)
(:INDUCTION EXPT)
(:DEFINITION ASH)
(:DEFINITION AREF1)
(:DEFINITION ASET1)
(:DEFINITION AREF2)
(:DEFINITION ASET2)
(:DEFINITION BINARY-LOGAND)
(:INDUCTION BINARY-LOGAND)
(:DEFINITION BINARY-LOGIOR)
(:DEFINITION LOGORC1)
(:DEFINITION BINARY-LOGEQV)
(:DEFINITION BINARY-LOGXOR)))
(deftheory lib-top1-built-ins-helper-2
; (let* ((world (w state))
; (cgz (current-theory 'ground-zero))
; (ugz (universal-theory 'ground-zero))
; (here (current-theory :here)))
; (intersection-theories (set-difference-theories ugz cgz)
; here))
nil)
(deftheory lib-top1
(union-theories
(theory 'lib-top1-non-built-ins)
(union-theories (set-difference-theories
(current-theory 'ground-zero)
(theory 'lib-top1-built-ins-helper-1))
(theory 'lib-top1-built-ins-helper-2))))
|