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
|
#|$ACL2s-Preamble$;
(include-book ;; Newline to fool ACL2/cert.pl dependency scanner
"portcullis")
(begin-book t :ttags :all);$ACL2s-Preamble$|#
#|
We don't use ever include top.lisp when building acl2s, although due
to a query by Eric Smith, we updated the file so that including it
doesn't cause ACL2 to hang.
If you're interested in building acl2s, there is a repo with scripts
for doing that here:
https://gitlab.com/acl2s/external-tool-support/scripts. That's useful
for the emacs version. For the eclipse version see
https://www.cs.utexas.edu/users/moore/acl2/manuals/latest/index.html?topic=ACL2S____ACL2S-INSTALLATION.
If you're interested in using acl2 to certify books developed with
acl2s, you can use a cert.acl2 file that contains the following forms
as well as any forms you might want for controlling other parameters
such as timeouts.
(include-book "acl2s/ccg/ccg" :dir :system :ttags :all)
(include-book "acl2s/custom" :dir :system :ttags :all)
(acl2s-common-settings)
; cert-flags: ? t :ttags :all :skip-proofs-okp t
(in-package "ACL2S")
|#
(in-package "ACL2S")
(include-book "acl2s/acl2s-size" :dir :system :ttags :all)
(include-book "acl2s/ccg/ccg" :uncertified-okp nil :dir :system :ttags
((:ccg)) :load-compiled-file nil)
(include-book "acl2s/base-theory" :dir :system :ttags :all)
(include-book "acl2s/custom" :dir :system :ttags :all)
; We experimented with including smtlink but decided not to require it
; (include-book "projects/smtlink/top" :dir :system :ttags :all)
; (include-book "projects/smtlink/examples/basictypes" :dir :system :ttags :all)
(include-book "acl2s/interface/top" :dir :system :ttags :all)
(include-book "acl2s/interface/acl2s-utils/top" :dir :system :ttags :all)
;; This mimics what we do when we create an ACL2s executable.
(acl2::acl2s-common-settings)
(acl2s-defaults :set verbosity-level 1)
(value-triple (time-tracker nil)) ; turn off tau time messages
(set-inhibit-warnings! "Invariant-risk" "theory")
;; Prevent theory events from stacking up if a book is LDed many times:
(set-in-theory-redundant-okp t)
;; Make guard violations more readable
;(set-print-gv-defaults :conjunct t :substitute t)
;; Show more info when :monitoring rules:
;(set-brr-evisc-tuple nil state)
;; Make everything print as lower case:
;(set-print-case :downcase state)
(make-event (er-progn
(let ((state (set-print-case :downcase state)))
(mv nil nil state))
(set-print-gv-defaults :conjunct t :substitute t)
(set-brr-evisc-tuple nil state)
(value '(value-triple :invisible)))
:expansion? (value-triple :invisible)
:on-behalf-of :quiet!
:save-event-data t)
#|
; Hack for cert.pl ;
; Some of these books are redundant ;
; Others are there for just regression testing ;
(include-book "acl2s/acl2s-sigs" :dir :system :ttags :all)
(include-book "acl2s/extra-doc" :dir :system :ttags :all)
(include-book "acl2s/installation" :dir :system :ttags :all)
(include-book "acl2s/match" :dir :system :ttags :all)
(include-book "acl2s/sorting/permp" :dir :system :ttags :all)
(include-book "acl2s/sorting/sorting" :dir :system :ttags :all)
(include-book "acl2s/mode-acl2s-dependencies-lite" :dir :system :ttags :all)
(include-book "acl2s/defdata-testing" :dir :system :ttags :all)
(include-book "acl2s/properties-testing" :dir :system :ttags :all)
(include-book "acl2s/cgen/cgen-no-thms" :dir :system)
(include-book "acl2s/cgen/defthm-support-for-on-failure" :dir :system)
(include-book "acl2s/cgen/defthm-support-for-on-failure-local" :dir :system)
(include-book "acl2s/defunc-testing" :dir :system)
(include-book "acl2s/match-testing" :dir :system)
(include-book "acl2s/cgen-testing" :dir :system)
(include-book "acl2s/distribution/acl2s-hooks/acl2s-book-support" :dir :system)
(include-book "acl2s/distribution/acl2s-hooks/acl2s" :dir :system)
(include-book "acl2s/distribution/acl2s-hooks/canonical-print" :dir :system)
(include-book "acl2s/distribution/acl2s-hooks/categorize-input" :dir :system)
(include-book "acl2s/distribution/acl2s-hooks/interaction-hooks" :dir :system)
(include-book "acl2s/distribution/acl2s-hooks/markup-hooks" :dir :system)
(include-book "acl2s/distribution/acl2s-hooks/protection-hooks" :dir :system)
(include-book "acl2s/distribution/acl2s-hooks/super-history" :dir :system)
|#
|