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
|
; Top level book for the Community Books
; Copyright (C) 2008-2014 Centaur Technology
;
; Contact:
; Centaur Technology Formal Verification Group
; 7600-C N. Capital of Texas Highway, Suite 300, Austin, TX 78731, USA.
; http://www.centtech.com/
;
; License: (An MIT/X11-style license)
;
; Permission is hereby granted, free of charge, to any person obtaining a
; copy of this software and associated documentation files (the "Software"),
; to deal in the Software without restriction, including without limitation
; the rights to use, copy, modify, merge, publish, distribute, sublicense,
; and/or sell copies of the Software, and to permit persons to whom the
; Software is furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
; DEALINGS IN THE SOFTWARE.
;
; Original author: Jared Davis <jared@centtech.com>
; Supporting Author: Eric Smith <eric.smith@kestrel.edu>
(in-package "ACL2")
;; Previously, this book generated a manual, but books/doc/top now does that
;; better. So the sole purpose of this book now is to check for name conflicts
;; after including as many community books as possible.
;; NOTE: We do not recommend including this book for normal proof work, due to
;; the likelihood of conflicts (e.g., rewrite loops) between different
;; libraries that it brings in (and due to its sheer size).
;; Note about the following commented-out form. This allows a significant
;; reduction of memory usage by this book: of ~130 million conses in the ACL2
;; world after all books are loaded, 51 million are due to tau automatically
;; computing implicants from theorems/definitions -- 42 million conses are
;; stored in various POS-IMPLICANTS and 9.2 million in various NEG-IMPLICANTS
;; properties. So overriding the default setting of tau-auto-mode saves a
;; significant amount of memory when loading this book. Question is whether
;; it's worth the cheating.
#||
(defttag :override-tau-auto-mode)
(progn!
(set-raw-mode t)
(setf (cdr (assoc :tau-auto-modep *initial-acl2-defaults-table*)) nil)
(set-raw-mode nil))
||#
(progn ;; use progn to time including all the books
(include-book "build/ifdef" :dir :system)
; Note, 7/28/2014: if we include
; (include-book "std/system/top" :dir :system)
; instead of the following, we get a name conflict.
(include-book "std/system/non-parallel-book" :dir :system)
(include-book "xdoc/defxdoc-raw" :dir :system) ; for xdoc::all-xdoc-topics
;; Disabling waterfall parallelism because the include-books are too slow with
;; it enabled, since waterfall parallelism unmemoizes the six or so functions
;; that ACL2(h) memoizes by default (in particular, fchecksum-obj needs to be
;; memoized to include centaur/esim/tutorial/alu16-book).
;; [Jared] BOZO: is the above comment about include books even true anymore?
;; If so, maybe waterfall parallelism doesn't have to do this with the new
;; thread-safe memo code?
;; [Jared] BOZO: even if waterfall parallelism still disables this memoization,
;; do we care? The alu16-book demo has been removed from the manual. (Maybe
;; we should put it back in. Do we care how long the manual takes to build?)
(non-parallel-book)
(include-book "centaur/misc/tshell" :dir :system)
(include-book "centaur/misc/tshell-unsound" :dir :system)
(value-triple (acl2::tshell-ensure))
(include-book "centaur/misc/memory-mgmt" :dir :system)
(value-triple (set-max-mem (* 10 (expt 2 30))))
;; this is included in some other books, but I'm putting it here so we never
;; accidentally leave it out -- important for getting reasonable performance
;; when building the final documentation.
(include-book "std/strings/fast-cat" :dir :system)
(include-book "doc/relnotes" :dir :system)
(include-book "doc/practices" :dir :system)
(include-book "xdoc/save" :dir :system)
(include-book "xdoc/archive" :dir :system)
(include-book "xdoc/archive-matching-topics" :dir :system)
(include-book "build/doc" :dir :system)
(include-book "centaur/4v-sexpr/top" :dir :system)
(include-book "centaur/aig/top" :dir :system)
(include-book "centaur/aignet/top" :dir :system)
; The rest of ihs is included elsewhere transitively.
; We load logops-lemmas first so that the old style :doc-strings don't get
; stripped away when they're loaded redundantly later.
(include-book "ihs/logops-lemmas" :dir :system)
(include-book "ihs/math-lemmas" :dir :system)
(include-book "centaur/bitops/top" :dir :system)
(include-book "centaur/bitops/congruences" :dir :system)
(include-book "centaur/bitops/defaults" :dir :system)
(include-book "centaur/acre/top" :dir :system)
(include-book "centaur/bigmems/top" :dir :system)
(include-book "centaur/bridge/top" :dir :system)
(include-book "centaur/clex/example" :dir :system)
(include-book "centaur/nrev/demo" :dir :system)
(include-book "centaur/lispfloat/top" :dir :system)
(include-book "centaur/defrstobj/defrstobj" :dir :system)
(include-book "centaur/defrstobj2/defrstobj" :dir :system)
(include-book "centaur/esim/stv/stv-top" :dir :system)
(include-book "centaur/esim/stv/stv-debug" :dir :system)
(include-book "centaur/esim/esim-sexpr-correct" :dir :system)
(include-book "centaur/getopt/top" :dir :system)
(include-book "centaur/getopt/demo" :dir :system)
(include-book "centaur/getopt/demo2" :dir :system)
(include-book "centaur/bed/top" :dir :system)
(include-book "centaur/gl/gl" :dir :system)
(include-book "centaur/gl/bfr-aig-bddify" :dir :system)
(include-book "centaur/gl/gl-ttags" :dir :system)
(include-book "centaur/gl/gobject-type-thms" :dir :system)
(include-book "centaur/gl/bfr-satlink" :dir :system)
(include-book "centaur/gl/bfr-fraig-satlink" :dir :system)
(include-book "centaur/gl/def-gl-rule" :dir :system)
(include-book "centaur/gl/defthm-using-gl" :dir :system)
(include-book "centaur/glmc/glmc" :dir :system)
(include-book "centaur/glmc/bfr-mcheck-abc" :dir :system)
(include-book "centaur/satlink/top" :dir :system)
(include-book "centaur/satlink/check-config" :dir :system)
(include-book "centaur/satlink/benchmarks" :dir :system)
(include-book "centaur/depgraph/top" :dir :system)
(include-book "quicklisp/top" :dir :system)
(include-book "centaur/misc/top" :dir :system)
(include-book "centaur/misc/smm" :dir :system)
(include-book "centaur/misc/tailrec" :dir :system)
(include-book "centaur/misc/hons-remove-dups" :dir :system)
(include-book "centaur/misc/seed-random" :dir :system)
(include-book "centaur/misc/load-stobj" :dir :system)
(include-book "centaur/misc/load-stobj-tests" :dir :system)
(include-book "centaur/misc/count-up" :dir :system)
(include-book "centaur/misc/fast-alist-pop" :dir :system)
(include-book "centaur/misc/spacewalk" :dir :system)
(include-book "centaur/misc/dag-measure" :dir :system)
(include-book "centaur/misc/alphanum-sort" :dir :system)
(include-book "centaur/misc/try-gl-concls" :dir :system)
(include-book "centaur/svl/top" :dir :system)
;; BOZO conflicts with something in 4v-sexpr?
;; (include-book "misc/remove-assoc")
;; (include-book "misc/sparsemap")
;; (include-book "misc/sparsemap-impl")
(include-book "centaur/misc/stobj-swap" :dir :system)
(include-book "oslib/top" :dir :system)
(include-book "std/top" :dir :system)
(include-book "std/basic/inductions" :dir :system)
(include-book "std/io/unsound-read" :dir :system)
(include-book "std/bitsets/top" :dir :system)
(include-book "std/strings/top" :dir :system)
(include-book "std/strings/base64" :dir :system)
(include-book "std/strings/pretty" :dir :system)
(include-book "centaur/ubdds/lite" :dir :system)
(include-book "centaur/ubdds/param" :dir :system)
(include-book "centaur/sv/top" :dir :system)
(include-book "centaur/fgl/top" :dir :system)
(ifdef "OS_HAS_GLUCOSE"
(include-book "centaur/sv/tutorial/alu" :dir :system)
(include-book "centaur/sv/tutorial/boothpipe" :dir :system)
(ifdef "OS_HAS_ABC"
(include-book "centaur/glmc/glmc-test" :dir :system)
;; (include-book "centaur/glmc/counter" :dir :system)
:endif)
(ifdef "OS_HAS_IPASIR"
(include-book "centaur/sv/tutorial/sums" :dir :system)
:endif)
:endif)
(ifndef "OS_HAS_GLUCOSE"
;; This is needed to avoid broken topic link errors
(defxdoc sv::sv-tutorial
:parents (sv::sv)
:short "Stub for missing topic"
:long "<p>This topic was omitted from the manual because it is in a
book that depends on Glucose being installed.</p>")
(defxdoc sv::stvs-and-testing
:parents (sv::sv-tutorial)
:short "Stub for missing topic"
:long "<p>This topic was omitted from the manual because it is in a
book that depends on Glucose being installed.</p>")
(defxdoc sv::decomposition-proofs
:parents (sv::sv-tutorial)
:short "Stub for missing topic"
:long "<p>This topic was omitted from the manual because it is in a
book that depends on Glucose being installed.</p>")
:endif)
(include-book "centaur/esim/vcd/vcd" :dir :system)
(include-book "centaur/esim/vcd/esim-snapshot" :dir :system)
(include-book "centaur/esim/vcd/vcd-stub" :dir :system)
;; BOZO causes some error with redefinition? Are we loading the right
;; books above? What does stv-debug load?
;; (include-book "centaur/esim/vcd/vcd-impl")
(include-book "centaur/vl/doc" :dir :system)
;; Try to avoid some expensive type-prescription problems
(in-theory (disable true-listp-append (:t append)))
(include-book "centaur/vl/kit/top" :dir :system)
(include-book "centaur/vl/mlib/atts" :dir :system)
(include-book "centaur/vl2014/doc" :dir :system)
(include-book "centaur/vl2014/kit/top" :dir :system)
(include-book "centaur/vl2014/mlib/clean-concats" :dir :system)
(include-book "centaur/vl2014/lint/use-set" :dir :system)
(include-book "centaur/vl2014/transforms/clean-selects" :dir :system)
(include-book "centaur/vl2014/transforms/propagate" :dir :system)
(include-book "centaur/vl2014/transforms/expr-simp" :dir :system)
(include-book "centaur/vl2014/transforms/inline" :dir :system)
(include-book "centaur/vl2014/util/prefix-hash" :dir :system)
;; BOZO conflict with prefix-hash stuff above. Need to fix this. Also, are
;; these being used at all?
;; (include-book "centaur/vl2014/util/prefixp" :dir :system)
(include-book "hacking/all" :dir :system)
(include-book "hints/consider-hint" :dir :system)
(include-book "hints/hint-wrapper" :dir :system)
(include-book "ordinals/e0-ordinal" :dir :system)
(include-book "tools/top" :dir :system)
(include-book "coi/util/rewrite-equiv" :dir :system)
(include-book "clause-processors/doc" :dir :system)
(include-book "system/doc/developers-guide" :dir :system)
; Probably included under system/top below:
(include-book "system/pseudo-tests-and-calls-listp" :dir :system)
;; [Jared] removing these to speed up the manual build
;; BOZO should we put them back in?
;(include-book "centaur/esim/tutorial/intro" :dir :system)
;(include-book "centaur/esim/tutorial/alu16-book" :dir :system)
;(include-book "centaur/esim/tutorial/counter" :dir :system)
;; [Jared] removed this to avoid depending on glucose and to speed up
;; the manual build
; (include-book "centaur/esim/tests/common" :dir :system)
;; Not much doc here, but some theorems from arithmetic-5 are referenced by
;; other topics...
(include-book "arithmetic-5/top" :dir :system)
(include-book "arithmetic/top" :dir :system)
(include-book "rtl/rel11/lib/top" :dir :system)
; And books not included in lib/top:
(include-book "rtl/rel11/lib/add" :dir :system)
(include-book "rtl/rel11/lib/mult" :dir :system)
(include-book "rtl/rel11/lib/div" :dir :system)
(include-book "rtl/rel11/lib/srt" :dir :system)
(include-book "rtl/rel11/lib/sqrt" :dir :system)
(include-book "centaur/fty/top" :dir :system)
(include-book "centaur/fty/bitstruct" :dir :system)
(include-book "std/testing/assert" :dir :system)
(include-book "misc/bash" :dir :system)
(include-book "misc/defmac" :dir :system)
(include-book "misc/defopener" :dir :system)
(include-book "misc/defpm" :dir :system)
(include-book "misc/defpun" :dir :system)
(include-book "misc/dft" :dir :system)
(include-book "misc/dump-events" :dir :system)
(include-book "std/testing/eval" :dir :system)
(include-book "misc/expander" :dir :system)
(include-book "misc/file-io" :dir :system)
(include-book "misc/find-lemmas" :dir :system)
(include-book "misc/hons-help" :dir :system)
; The definition of QCAR in misc/hons-tests.lisp conflicts with that
; in centaur/ubdds/core.lisp.
; (include-book "misc/hons-tests" :dir :system)
(include-book "misc/install-not-normalized" :dir :system)
(include-book "misc/meta-lemmas" :dir :system)
(include-book "misc/records" :dir :system)
(include-book "misc/seq" :dir :system)
(include-book "misc/seqw" :dir :system)
(include-book "misc/simp" :dir :system)
(include-book "misc/sin-cos" :dir :system)
(include-book "misc/total-order" :dir :system)
(include-book "misc/trace-star" :dir :system)
(include-book "misc/untranslate-patterns" :dir :system)
(include-book "misc/with-waterfall-parallelism" :dir :system)
(include-book "misc/without-waterfall-parallelism" :dir :system)
(include-book "make-event/proof-by-arith" :dir :system)
(include-book "make-event/eval-check" :dir :system)
(include-book "centaur/memoize/old/profile" :dir :system)
(include-book "centaur/memoize/old/watch" :dir :system)
; The following no_port was added by Matt K. when proper support was added for
; local portcullis events after Version 8.4, in May 2022, to save execution
; time. For otherwise, cert.pl apparently loads a local portcullis event due
; to a use of set-default-hints, which causes substantial world rollback into
; the portcullis commands before re-evaluating the rolled-back commands and
; then including the book.
(include-book "acl2s/doc" :dir :system) ; no_port
(include-book "projects/smtlink/top" :dir :system :ttags :all)
(include-book "projects/doc" :dir :system)
;(include-book "kestrel/top" :dir :system)
(include-book "kestrel/alists-light/top" :dir :system)
(include-book "kestrel/top-doc" :dir :system) ; for now
(include-book "centaur/ipasir/ipasir-tools" :dir :system)
;; [Jared] keep these near the end to avoid expensive type prescription rules,
;; especially related to consp-append.
(include-book "data-structures/top" :dir :system)
(include-book "data-structures/memories/memory" :dir :system)
(include-book "coi/documentation" :dir :system)
(include-book "clause-processors/pseudo-term-fty" :dir :system)
(include-book "std/util/defretgen" :dir :system)
(include-book "system/top" :dir :system)
; Books from books/system/ that are not included by including books/system/top
; (see comments near the top of books/system/top.lisp):
(include-book "system/acl2-system-exports" :dir :system)
(include-book "system/bigger-limits" :dir :system)
; Name conflict (function sum) with
; books/data-structures/number-list-defuns.lisp:
; (include-book "system/cantor-pairing-bijective" :dir :system)
; Testing file, perhaps not suitable for inclusion:
; (include-book "system/check-system-guards" :dir :system)
(include-book "system/compare-out-files" :dir :system)
(include-book "system/dead-source-code" :dir :system)
; Dependency scan stuff only:
; (include-book "system/deps-pcert" :dir :system)
; Probably redundant, but harmless:
(include-book "system/devel-check" :dir :system)
(include-book "system/event-names" :dir :system)
(include-book "system/f-put-global" :dir :system)
(include-book "system/fancy-string-reader-test" :dir :system)
(include-book "system/hl-nat-combine-onto" :dir :system)
(include-book "system/obviously-equiv-terms" :dir :system)
; Testing files:
; (include-book "system/optimize-check-aux" :dir :sysem)
; (include-book "system/optimize-check" :dir :system)
(include-book "system/origin" :dir :system)
(include-book "system/pseudo-termp-lemmas" :dir :system)
(include-book "system/random" :dir :system)
(include-book "system/remove-guard-holders" :dir :system)
(include-book "system/too-many-ifs" :dir :system)
; Dependency scan stuff only:
; (include-book "system/toothbrush-deps" :dir :system)
; Name conflict (function rev) with books/std/lists/rev.lisp:
; (include-book "system/untranslate-car-cdr" :dir :system)
(include-book "system/update-state" :dir :system)
; Probably ttag stuff would make the following fail:
; (include-book "system/worldp-check" :dir :system)
) ;; end progn for including all the books
|