statement stringlengths 1 193k | proof stringlengths 0 5.69M | type stringclasses 22
values | symbolic_name stringlengths 1 159 | library stringlengths 3 90 | filename stringlengths 18 123 | imports listlengths 0 0 | deps listlengths 0 64 | docstring stringclasses 1
value | source_url stringclasses 1
value | commit stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|
acl2-user::defunt (&rest def) | `(defunt . ,def) | defmacro | acl2-user::defunt | acl2s | books/acl2s/custom.lisp | [] | [
"def",
"defunt"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
acl2s-common-settings () | `(progn
;; There doesn't seem to be a good way to set guard-checking
;; here. Previously, we were doing this inside of the er-progn
;; which is inside of the make-event, but while that works for
;; set-ccg-print-proofs, etc, it does not work for
;; set-guard-checking because it is in
;; *protected-sy... | defmacro | acl2s-common-settings | acl2s | books/acl2s/custom.lisp | [] | [
"assign",
"formals",
"getprop",
"hist",
"l<",
"member-eq",
"my-nonlinearp-default-hint",
"set-ccg-inhibit-output-lst",
"set-ccg-print-proofs",
"set-difference-eq",
"value"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
acl2s-beginner-settings () | `(er-progn
; Non-events:
(acl2::set-guard-checking :all)
(set-backchain-limit '(50 100))
(set-rewrite-stack-limit 500)
(acl2s-defaults :set cgen-timeout 20)
(table acl2s::defunc-defaults-table :skip-tests nil :put)
(table acl2s::defunc-defaults-table :timeout 60 :put)
(set-irrelevant-forma... | defmacro | acl2s-beginner-settings | acl2s | books/acl2s/custom.lisp | [] | [
"acl2s-defaults",
"assign",
"evalable-ld-printingp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
acl2s-bare-bones-settings () | `(er-progn
(set-irrelevant-formals-ok :warn)
(set-bogus-mutual-recursion-ok :warn)
(set-ignore-ok :warn)
(set-backchain-limit '(50 100))
(set-rewrite-stack-limit 500)
(table acl2s::defunc-defaults-table :skip-tests nil :put)
(table acl2s::defunc-defaults-table :timeout 60 :put)
(assig... | defmacro | acl2s-bare-bones-settings | acl2s | books/acl2s/custom.lisp | [] | [
"assign",
"evalable-ld-printingp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
acl2s-theorem-proving-beginner-settings () | `(er-progn
(set-backchain-limit '(50 100))
(set-rewrite-stack-limit 500)
(set-irrelevant-formals-ok :warn)
(set-bogus-mutual-recursion-ok :warn)
(set-ignore-ok :warn)
(set-guard-checking :all)
(table acl2s::defunc-defaults-table :skip-tests nil :put)
(table acl2s::defunc-defaults-tabl... | defmacro | acl2s-theorem-proving-beginner-settings | acl2s | books/acl2s/custom.lisp | [] | [
"assign",
"evalable-ld-printingp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
bax (rs :data) | :receiver-state
(receiver-state rs) | definec | bax | acl2s | books/acl2s/defdata-testing.lisp | [] | [
"rs"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
(rs :data)
(receiver-statep (receiver-state rs)) | property | rs | acl2s | books/acl2s/defdata-testing.lisp | [] | [
"rs"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | ||
(rs :receiver-state a b c :all)
(equal (mget :received (msets rs :received a :received b :received c))
c) | property | rs | acl2s | books/acl2s/defdata-testing.lisp | [] | [
"mget",
"msets",
"rs"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | ||
zeerop (x) | (declare (xargs :guard t))
(equal x 0) | defun | zeerop | acl2s | books/acl2s/defdata-testing.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
zeeerop (x) | (declare (xargs :guard (acl2-numberp x)))
(equal x 0) | defun | zeeerop | acl2s | books/acl2s/defdata-testing.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
(x y :ds8)
:h (^ (== (ds8-a x) (ds8-a y))
(== (ds8-b x) (ds8-b y)))
(== x y) | property | x | acl2s | books/acl2s/defdata-testing.lisp | [] | [
"==",
"^"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | ||
map-preds (types tbl atbl) | (declare (xargs :guard (and (symbol-listp types) (sym-aalistp tbl)
(sym-aalistp atbl))))
(if (endp types)
nil
(cons (pred-of-type (car types) tbl atbl)
(map-preds (rest types) tbl atbl))) | defun | map-preds | acl2s | books/acl2s/definec.lisp | [] | [
"pred-of-type",
"symbol-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
map-intern-type (type pkg) | (declare (xargs :guard (and (symbolp type) (pkgp pkg))))
(if (keywordp type)
(fix-intern$ (symbol-name type) pkg)
type) | defun | map-intern-type | acl2s | books/acl2s/definec.lisp | [] | [
"fix-intern$",
"pkgp",
"symbolp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
map-intern-types (types pkg) | (declare (xargs :guard (and (symbol-listp types) (pkgp pkg))))
(if (endp types)
nil
(cons (map-intern-type (car types) pkg)
(map-intern-types (rest types) pkg))) | defun | map-intern-types | acl2s | books/acl2s/definec.lisp | [] | [
"map-intern-type",
"pkgp",
"symbol-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-input-contract-aux (args types) | (declare (xargs :guard (and (symbol-listp args) (symbol-listp types))))
(cond ((endp args) nil)
((equal (car types) 'acl2s::allp)
(make-input-contract-aux (rest args) (rest types)))
(t (cons `(,(car types) ,(car args))
(make-input-contract-aux (rest args) (rest types))))) | defun | make-input-contract-aux | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"symbol-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-input-contract (args types) | (declare (xargs :guard (and (symbol-listp args) (symbol-listp types))))
(let ((res (make-input-contract-aux args types)))
(cond ((endp res) t) ; if res=(), no constraints
((equal (len res) 1) (first res))
(t (cons 'and res)))) | defun | make-input-contract | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"first",
"len",
"let",
"make-input-contract-aux",
"symbol-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
find-bad-d-arg-types (d-arg-types d-arg-preds) | (cond ((endp d-arg-preds) nil)
((null (car d-arg-preds))
(car d-arg-types))
(t (find-bad-d-arg-types (cdr d-arg-types)
(cdr d-arg-preds)))) | defun | find-bad-d-arg-types | acl2s | books/acl2s/definec.lisp | [] | [
"null"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
find-next-type (var l acc) | (cond ((endp l) acc)
((keywordp (car l))
(find-next-type var (cdr l) (cons (car l) (cons var acc))))
((endp acc) (find-next-type var (cdr l) acc))
(t acc)) | defun | find-next-type | acl2s | books/acl2s/definec.lisp | [] | [
"var"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
process-typed-args-aux (l acc) | (cond ((endp l) (rev acc))
((keywordp (car l))
(process-typed-args-aux (cdr l) acc))
(t (process-typed-args-aux
(cdr l)
(append (find-next-type (car l) (cdr l) nil) acc)))) | defun | process-typed-args-aux | acl2s | books/acl2s/definec.lisp | [] | [
"find-next-type",
"rev"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
process-typed-args (l) | (process-typed-args-aux l nil) | defun | process-typed-args | acl2s | books/acl2s/definec.lisp | [] | [
"process-typed-args-aux"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
skip-keywords (l) | (cond ((endp l) l)
((keywordp (car l))
(skip-keywords (cdr l)))
(t l)) | defun | skip-keywords | acl2s | books/acl2s/definec.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
proper-argsp (l) | (or (endp l)
(and (consp (cdr l))
(acl2::legal-variablep (first l))
(if (acl2::keywordp (second l))
(proper-argsp (skip-keywords (cddr l)))
(proper-argsp (cdr l))))) | defun | proper-argsp | acl2s | books/acl2s/definec.lisp | [] | [
"first",
"second",
"skip-keywords"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
definec-core (name d? &rest args) | `(with-output
:stack :push :off :all :on (error comment)
(make-event
(b* ((tbl (table-alist 'type-metadata-table (w state)))
(atbl (table-alist 'type-alias-table (w state)))
(pkg (current-package state))
(name ',name)
(d? ',d?)
(args ',args)
(f-ar... | defmacro | definec-core | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"b*",
"definec",
"defunc",
"defunc-core",
"error",
"evens",
"f-args",
"f-type",
"find-bad-d-arg-types",
"ic",
"make-contract",
"make-input-contract",
"map-intern-type",
"map-intern-types",
"map-preds",
"odds",
"pred",
"pred-of-type",
"process-typed-args",
"proper-args... | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
definec (name &rest args) | `(definec-core ,name nil ,@args) | defmacro | definec | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"definec-core"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
definedc (name &rest args) | `(definec-core ,name t ,@args) | defmacro | definedc | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"definec-core"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
definecd (name &rest args) | `(with-output
:off :all :on (error) :stack :push
(encapsulate
nil
(with-output
:stack :pop
(definec ,name ,@args))
(make-event
`(with-output
:off :all :on (summary) :summary-off (:other-than form)
(in-theory
(disable
,(make-symbl `(,',name -DEF... | defmacro | definecd | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"definec",
"error",
"make-symbl"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
definedcd (name &rest args) | `(with-output
:off :all :on (error) :stack :push
(encapsulate
nil
(with-output
:stack :pop
(definedc ,name ,@args))
(make-event
`(with-output
:off :all :on (summary) :summary-off (:other-than form)
(in-theory
(disable
,(make-symbl `(,',name -DE... | defmacro | definedcd | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"definedc",
"error",
"make-symbl"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
definec-no-test (name &rest args) | `(gen-acl2s-local testing-enabled
nil
((definec ,name ,@args))) | defmacro | definec-no-test | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"definec",
"gen-acl2s-local"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
definecd-no-test (name &rest args) | `(gen-acl2s-local testing-enabled
nil
((definecd ,name ,@args))) | defmacro | definecd-no-test | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"definecd",
"gen-acl2s-local"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
definedc-no-test (name &rest args) | `(gen-acl2s-local testing-enabled
nil
((definedc ,name ,@args))) | defmacro | definedc-no-test | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"definedc",
"gen-acl2s-local"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
definedcd-no-test (name &rest args) | `(gen-acl2s-local testing-enabled
nil
((definedcd ,name ,@args))) | defmacro | definedcd-no-test | acl2s | books/acl2s/definec.lisp | [] | [
"args",
"definedcd",
"gen-acl2s-local"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
defintrange1 (name min max) | (declare (xargs :guard (symbolp name)))
`(make-event
(b* ((pkg (current-package state))
(M (defdata::type-metadata-table (w state)))
(A (defdata::type-alias-table (w state)))
(th1 (make-sym ',name 'thm1 pkg))
(th2 (make-sym ',name 'thm2 pkg))
(th3 (make-sym ',name 'thm... | defmacro | defintrange1 | acl2s | books/acl2s/defintrange.lisp | [] | [
"<",
"b*",
"defdata-subtype",
"defthm",
"make-sym",
"make-symbl",
"max",
"min",
"namep",
"pred",
"symbolp",
"thm1",
"thm3",
"type-of-type",
"value"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
defintrange (name min max) | "Define a datatype that includes all integers [min..max), i.e., >= min and < max"
(declare (xargs :guard (symbolp name)))
`(progn (defdata ,name (range integer (,min <= _ < ,max)))
(defintrange1 ,name ,min ,max)) | defmacro | defintrange | acl2s | books/acl2s/defintrange.lisp | [] | [
"<",
"defdata",
"defintrange1",
"max",
"min",
"range",
"symbolp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
defnatrange (name max) | "Define a datatype that includes all nats < max"
(declare (xargs :guard (symbolp name)))
`(defintrange ,name 0 ,max) | defmacro | defnatrange | acl2s | books/acl2s/defintrange.lisp | [] | [
"defintrange",
"max",
"symbolp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
d-t1 (x :int) | :int
x | definec | d-t1 | acl2s | books/acl2s/defunc-testing.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
(x :int)
(== (d-t1 x) x) | property | x | acl2s | books/acl2s/defunc-testing.lisp | [] | [
"==",
"d-t1"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | ||
d-t1-thm (x :int) | (== (d-t1 x) x) | property | d-t1-thm | acl2s | books/acl2s/defunc-testing.lisp | [] | [
"==",
"d-t1"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
foo (x y :int z :tl :cons) | :cons
(if (< x y)
z
(foo (- x 2) (1- y) z)) | definec | foo | acl2s | books/acl2s/defunc-testing.lisp | [] | [
"-",
"<"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
m4 (x :rational) | :nat
(abs (ceiling (* x 2) 1)) | definec | m4 | acl2s | books/acl2s/defunc-testing.lisp | [] | [
"*"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
function-guard-obligation (fun-name state) | (declare (xargs :mode :program
:guard (symbolp fun-name)
:stobjs (state)))
(b* (((mv cl-set &)
(guard-clauses-for-clique (list fun-name)
T ;debug-p
(ens state)
(w state)
... | defun | function-guard-obligation | acl2s | books/acl2s/defunc.lisp | [] | [
"&",
"b*",
"symbolp",
"value"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
append-alistp
(implies (and (alistp x)
(alistp y))
(alistp (append x y))) | defthm | append-alistp | acl2s | books/acl2s/defunc.lisp | [] | [
"alistp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | ||
rev-alistp
(implies (alistp x)
(alistp (rev x))) | defthm | rev-alistp | acl2s | books/acl2s/defunc.lisp | [] | [
"alistp",
"rev"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | ||
alistp-extract-keywords
(implies (alistp l)
(alistp (mv-nth 0 (extract-keywords ctx k d l b)))) | defthm | alistp-extract-keywords | acl2s | books/acl2s/defunc.lisp | [] | [
"alistp",
"extract-keywords"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | ||
xargs-kwd-alist1 (decls keywords ctx al) | (declare (xargs :guard (and (keyword-listp keywords)
(no-duplicatesp keywords)
(alistp al))))
(if (atom decls)
al
(if (and (consp (car decls))
(eq 'acl2::declare (caar decls))
(consp (cdr (car decls)))
(consp ... | defun | xargs-kwd-alist1 | acl2s | books/acl2s/defunc.lisp | [] | [
"alistp",
"b*",
"extract-keywords",
"first",
"keyword-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
xargs-kwd-alist (decls ctx) | "Parse a list of declare forms into a kwd-alist mapping xarg keywords to their values."
(xargs-kwd-alist1 decls *our-xargs-keywords* ctx nil) | defun | xargs-kwd-alist | acl2s | books/acl2s/defunc.lisp | [] | [
"xargs-kwd-alist1"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
controller-alist (nm wrld) | (declare (xargs :guard (plist-worldp wrld)
:verify-guards nil))
(if (and (not (symbolp nm))
(not (function-symbolp nm wrld)))
nil
(let ((rl (find-runed-lemma `(:definition ,nm)
(getprop nm 'lemmas nil 'current-acl2-world wrld))))
(if rl
... | defun | controller-alist | acl2s | books/acl2s/defunc.lisp | [] | [
"access",
"assoc-eq",
"getprop",
"let",
"symbolp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
c-is-t (c) | (declare (xargs :guard t))
(or (equal c 't) (equal c ''t)) | defun | c-is-t | acl2s | books/acl2s/defunc.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
unalias-pred (pred ptbl) | (declare (xargs :guard (and (symbolp pred) (sym-aalistp ptbl))))
(let ((apred (assoc-equal :predicate (get-alist pred ptbl))))
(if apred
(cdr apred)
pred)) | defun | unalias-pred | acl2s | books/acl2s/defunc.lisp | [] | [
"assoc-equal",
"get-alist",
"let",
"pred",
"symbolp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
pred-of-oc (name formals oc ptbl) | (declare (xargs :guard (and (symbolp name)
(symbol-listp formals)
(or (atom oc)
(symbolp (car oc)))
(sym-aalistp ptbl))))
(and (consp oc)
(equal (cdr oc) `((,name ,@formals)))
(una... | defun | pred-of-oc | acl2s | books/acl2s/defunc.lisp | [] | [
"formals",
"symbol-listp",
"symbolp",
"unalias-pred"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
map-force-list (l) | (declare (xargs :guard (true-listp l)))
(if (endp l)
l
(cons `(force ,(car l))
(map-force-list (cdr l)))) | defun | map-force-list | acl2s | books/acl2s/defunc.lisp | [] | [
"true-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
map-force-ic (ic) | (declare (xargs :guard (or (booleanp ic) (true-listp ic))))
(cond ((equal ic 't) 't)
((and (consp ic)
(equal (car ic) 'acl2::and))
(cons 'and (map-force-list (cdr ic))))
(t `(force ,ic))) | defun | map-force-ic | acl2s | books/acl2s/defunc.lisp | [] | [
"booleanp",
"ic",
"map-force-list",
"true-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
wrap-test-skip (skip? x) | (declare (xargs :guard (booleanp skip?)))
(if skip?
`(test-then-skip-proofs ,x)
x) | defun | wrap-test-skip | acl2s | books/acl2s/defunc.lisp | [] | [
"booleanp",
"test-then-skip-proofs"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
add-output-contract-check (body output-contract fun-name fun-args wrld) | "To body, we insert a runtime check for output-contract."
(declare (xargs :mode :program
:guard (and (symbolp fun-name)
(true-listp fun-args)
(plist-worldp wrld))))
(b* (;(ctx 'add-output-contract-check)
((mv ?erp tbody)
(a... | defun | add-output-contract-check | acl2s | books/acl2s/defunc.lisp | [] | [
"all-vars",
"b*",
"body",
"let",
"subst-expr",
"symbolp",
"tbody",
"true-listp",
"union-eq",
"vars"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
get-undef-name (pred d? typed-undef pkg wrld) | (declare (xargs :guard (and (symbolp pred) (booleanp d?)
(booleanp typed-undef) (pkgp pkg)
(plist-worldp wrld))
:verify-guards nil))
(b* ((tbl (type-metadata-table wrld))
(ptbl (pred-alias-table wrld))
(type (type-of-pred pred... | defun | get-undef-name | acl2s | books/acl2s/defunc.lisp | [] | [
"-",
"b*",
"booleanp",
"make-symbl",
"pkgp",
"pred",
"pred-alias-table",
"symbolp",
"type-metadata-table",
"type-of-pred",
"undefined"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-defun-body/logic
(name formals ic oc body make-staticp d? typed-undef pkg wrld) | (declare (xargs :mode :program
:guard (and (symbolp name)
(symbol-listp formals)
(booleanp make-staticp)
(booleanp d?)
(booleanp typed-undef)
(pkgp pkg)... | defun | make-defun-body/logic | acl2s | books/acl2s/defunc.lisp | [] | [
"add-output-contract-check",
"b*",
"body",
"booleanp",
"c-is-t",
"formals",
"get-undef-name",
"ic",
"pkgp",
"pred-alias-table",
"pred-of-oc",
"symbol-listp",
"symbolp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-defun-body/exec (name formals oc body make-staticp wrld) | (declare (xargs :mode :program
:guard (and (symbolp name)
(symbol-listp formals)
(booleanp make-staticp)
(plist-worldp wrld))))
(if make-staticp
body
(add-output-contract-check body oc name formals wr... | defun | make-defun-body/exec | acl2s | books/acl2s/defunc.lisp | [] | [
"add-output-contract-check",
"body",
"booleanp",
"formals",
"symbol-listp",
"symbolp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-generic-typed-defunc-events
(name formals ic oc decls body kwd-alist make-staticp d? pkg wrld) | "Generate events which simulate a typed ACL2s language."
(declare (xargs :guard (and (symbolp name)
(symbol-listp formals)
(booleanp make-staticp)
(booleanp d?)
(pkgp pkg)
... | defun | make-generic-typed-defunc-events | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"body",
"booleanp",
"controller-alist",
"defthm-no-test",
"defthmskipall",
"formals",
"get1",
"ic",
"let",
"make-defun-body/exec",
"make-sym",
"map-force-ic",
"pkgp",
"recursivep",
"symbol-listp",
"symbolp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-contract-body (name ic oc formals d? rem-hyps? f-c-thm? typed-undef pkg w) | ; (declare (xargs :mode :program))
(b* ((ptbl (pred-alias-table w))
(pred (pred-of-oc name formals oc ptbl))
(undef-name (get-undef-name pred d? typed-undef pkg w)))
(if (or (c-is-t ic)
(and rem-hyps?
(not (member undef-name '(acl2s-undefined
... | defun | make-contract-body | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"c-is-t",
"formals",
"get-undef-name",
"ic",
"map-force-ic",
"member",
"pred",
"pred-alias-table",
"pred-of-oc"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-contract-defthm (name ic oc kwd-alist formals d? typed-undef pkg w) | (declare (xargs :mode :program))
(b* ((instructions (get1 :instructions kwd-alist))
(otf-flg (get1 :otf-flg kwd-alist))
(hints (get1 :function-contract-hints kwd-alist))
(rule-classes (get1 :rule-classes kwd-alist))
(f-c-thm?
(get1 :force-ic-hyps-in-contract-thmp kwd-alist))
... | defun | make-contract-defthm | acl2s | books/acl2s/defunc.lisp | [] | [
"&",
"b*",
"body",
"defthm",
"formals",
"get1",
"ic",
"make-contract-body",
"make-sym",
"wrap-test-skip"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
wrap-skip-fun (x) | `(wrap-test-skip skip-function-contractp ,x) | defmacro | wrap-skip-fun | acl2s | books/acl2s/defunc.lisp | [] | [
"wrap-test-skip"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
just-type-hyps1 (ic M P) | (cond ((atom ic) nil)
((atom (car ic))
(just-type-hyps1 (cdr ic) M P))
((symbolp (caar ic))
(b* ((t-pred (type-of-pred (caar ic) M P)))
(if t-pred
(cons (cons (unalias-pred (caar ic) P) (cdar ic))
(just-type-hyps1 (cdr ic) M P))
... | defun | just-type-hyps1 | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"ic",
"symbolp",
"type-of-pred",
"unalias-pred"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
just-type-hyps (ic M P) | (cond ((atom ic) nil)
((equal (car ic) 'and)
(remove-dups (just-type-hyps1 (cdr ic) M P)))
((symbolp (car ic))
(b* ((t-pred (type-of-pred (car ic) M P)))
(and t-pred
(list (cons (unalias-pred (car ic) P) (cdr ic))))))
(t nil)) | defun | just-type-hyps | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"ic",
"just-type-hyps1",
"remove-dups",
"symbolp",
"type-of-pred",
"unalias-pred"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
subliss (alists tree) | (if (endp alists)
nil
(cons (acl2::sublis (car alists) tree)
(subliss (cdr alists) tree))) | defun | subliss | acl2s | books/acl2s/defunc.lisp | [] | [
"tree"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
neg-literal (x) | (if (and (consp x)
(eq (car x) 'not))
(second x)
`(not ,x)) | defun | neg-literal | acl2s | books/acl2s/defunc.lisp | [] | [
"second"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
neg-hyps (l) | (if (endp l)
nil
(cons (neg-literal (car l))
(neg-hyps (cdr l)))) | defun | neg-hyps | acl2s | books/acl2s/defunc.lisp | [] | [
"neg-literal"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
exists-subset (X y) | (and (consp X)
(or (subsetp-equal (car X) y)
(exists-subset (cdr X) y))) | defun | exists-subset | acl2s | books/acl2s/defunc.lisp | [] | [
"subsetp-equal"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-gen-hint-body (name formals ic contract-gen-name w) | (b* ((M (table-alist 'type-metadata-table w))
(P (table-alist 'pred-alias-table w))
(hyps (just-type-hyps ic M P))
(nhyps (neg-hyps hyps))
(gen-hint-body
`(if (and stable-under-simplificationp
(member-eq
(acl2::access acl2::history-entry (car hist... | defun | make-gen-hint-body | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"exists-subset",
"formals",
"hist",
"hyps",
"ic",
"just-type-hyps",
"member-eq",
"neg-hyps",
"pred-alias-table",
"subliss",
"type-metadata-table"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-contract-ev (name formals ic oc kwd-alist make-staticp d? pkg w) | (declare (xargs :mode :program))
(b* (((when (c-is-t oc)) nil) ;trivially satisfied
(function-contract-strictp
(get1 :function-contract-strictp kwd-alist))
(f-c-thm? (get1 :force-ic-hyps-in-contract-thmp kwd-alist))
(instructions (get1 :instructions kwd-alist))
(otf-flg (get1 :otf-... | defun | make-contract-ev | acl2s | books/acl2s/defunc.lisp | [] | [
"&",
"b*",
"c-is-t",
"error",
"formals",
"get1",
"hist",
"ic",
"id",
"make-contract-body",
"make-gen-hint-body",
"make-sym",
"recursivep",
"test-then-skip-proofs",
"wrap-skip-fun"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-verify-guards-ev (name kwd-alist) | (b* ((hints (get1 :body-contracts-hints kwd-alist))
;; (get1 :guard-hints xargs{})
(body-contracts-strictp
(get1 :body-contracts-strictp kwd-alist))
(skip-body-contractsp
(get1 :skip-body-contractsp kwd-alist))
(hints
(or hints
'(("Goal"
:do... | defun | make-verify-guards-ev | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"error",
"get1",
"wrap-test-skip"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
gather-alias1 (alias alist) | (declare (xargs :guard (and (symbol-listp alias) (alistp alist))))
(cond ((endp alist) nil)
((member-equal (caar alist) alias)
(cons (cdar alist) (gather-alias1 alias (cdr alist))))
(t (gather-alias1 alias (cdr alist)))) | defun | gather-alias1 | acl2s | books/acl2s/defunc.lisp | [] | [
"alistp",
"member-equal",
"symbol-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
gather-alias (alias alist) | (remove-dups (gather-alias1 alias alist)) | defun | gather-alias | acl2s | books/acl2s/defunc.lisp | [] | [
"gather-alias1",
"remove-dups"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-contract (name args pred) | (declare (xargs :guard (and (symbolp name)
(true-listp args)
(symbolp pred))))
(cond ((equal pred 'acl2s::allp) t)
(t `(,pred ,(cons name args)))) | defun | make-contract | acl2s | books/acl2s/defunc.lisp | [] | [
"args",
"pred",
"symbolp",
"true-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
acl2-count-append
(<= (acl2-count (append x y))
(+ (acl2-count x)
(acl2-count y)
1)) | :rule-classes :linear | defthm | acl2-count-append | acl2s | books/acl2s/defunc.lisp | [] | [
"+"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
simplify-constant-types (l acc name formals tbl atbl pkg) | (declare (xargs :guard (and (true-listp l)
(true-listp acc)
(symbolp name)
(symbol-listp formals)
(sym-aalistp tbl)
(sym-aalistp atbl)
(pkgp... | defun | simplify-constant-types | acl2s | books/acl2s/defunc.lisp | [] | [
"allp",
"b*",
"defunc",
"fix-intern$",
"formals",
"make-contract",
"member-equal",
"null",
"pkgp",
"pred",
"pred-of-type",
"rev",
"symbol-listp",
"symbolp",
"true-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
merge-simplify-types (l name formals tbl atbl pkg) | (declare (xargs :guard (and (true-listp l)
(symbolp name)
(symbol-listp formals)
(sym-aalistp tbl)
(sym-aalistp atbl)
(pkgp pkg))
:verify-guards nil))
... | defun | merge-simplify-types | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"formals",
"null",
"pkgp",
"remove-dups",
"simplify-constant-types",
"symbol-listp",
"symbolp",
"true-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
get1-alias (alias alist) | (if (endp alias)
nil
(or (get1 (car alias) alist)
(get1-alias (cdr alias) alist))) | defun | get1-alias | acl2s | books/acl2s/defunc.lisp | [] | [
"get1"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
show-contract-violations () | (declare (xargs :guard t))
t | defun | show-contract-violations | acl2s | books/acl2s/defunc.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
do-not-show-contract-violations () | (declare (xargs :guard t))
nil | defun | do-not-show-contract-violations | acl2s | books/acl2s/defunc.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
acl2s-undefined-attached (name args) | (declare (xargs :guard (and (symbolp name)
(true-listp args))))
(prog2$ (cgen::cw? (show-contract-violations?)
"~|**Input contract violation**: ~x0 ~%"
`(,name ,@args))
nil) | defun | acl2s-undefined-attached | acl2s | books/acl2s/defunc.lisp | [] | [
"args",
"symbolp",
"true-listp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
acl2s-d-undefined-attached () | (declare (xargs :guard t))
(prog2$ (cgen::cw? (show-contract-violations?)
"~|**Input contract violation** ~%")
nil) | defun | acl2s-d-undefined-attached | acl2s | books/acl2s/defunc.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
modify-xargs-decl (key val decl) | (b* ((kwd-val-list (cdr (cadr decl)))
(kwd-val-list (remove-keyword key kwd-val-list)))
(list 'DECLARE (cons 'XARGS (list* key val kwd-val-list)))) | defun | modify-xargs-decl | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"val"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
update-xargs-decls-fn (decls guard mode) | "add guard and mode to decls, or create a decl if decls is empty."
(b* ((xargs-decl (car (last decls)))) ;PRECONDITION: we know that the xargs declare is at the end
(cond (mode (append (butlast decls 1)
(list (modify-xargs-decl :mode mode
(m... | defun | update-xargs-decls-fn | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"last",
"mode",
"modify-xargs-decl"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
update-xargs-decls (decls &key guard mode) | `(acl2::update-xargs-decls-fn ,decls ,guard ,mode) | defmacro | update-xargs-decls | acl2s | books/acl2s/defunc.lisp | [] | [
"mode"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
print-time-taken (start end state) | (declare (xargs :mode :program :stobjs (state)))
(b* ((- (cw "~|Elapsed Run Time: ")))
(pprogn (acl2::print-rational-as-decimal (rfix (- end start)) (standard-co state) state)
(princ$ " seconds" (standard-co state) state)
(newline (standard-co state) state)
(value :invisible))) | defun | print-time-taken | acl2s | books/acl2s/defunc.lisp | [] | [
"-",
"b*",
"end",
"newline",
"princ$",
"start",
"value"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
print-summary-ev (name oc kwd-alist pkg) | `(b* ((symbol-class (acl2::symbol-class ',name (w state)))
(contract-name (make-sym ',name 'contract ,pkg))
(function-contract-proven-p
(or (c-is-t ',oc) (acl2::logical-namep contract-name (w state))))
(print (get1 :print-summary ',kwd-alist))
((mv end state) (acl2::read-run-tim... | defun | print-summary-ev | acl2s | books/acl2s/defunc.lisp | [] | [
"&",
"b*",
"c-is-t",
"cw?",
"end",
"get1",
"make-sym",
"print-*-or-space",
"print-time-taken",
"value"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
print-*-or-space (b) | (if b "*" " ") | defun | print-*-or-space | acl2s | books/acl2s/defunc.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
me-assign (var val) | ; make-event-assign
`(make-event (er-progn (assign ,var ,val)
(value '(value-triple :invisible)))) | defmacro | me-assign | acl2s | books/acl2s/defunc.lisp | [] | [
"assign",
"val",
"value",
"var"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-defun-no-guard-ev
(name formals ic oc decls body kwd-alist make-staticp d? pkg wrld) | (declare (xargs :mode :program))
(b* ((typed-undef (get1 :typed-undef kwd-alist))
(lbody (make-defun-body/logic name formals ic oc body make-staticp d? typed-undef pkg wrld))
(ebody (make-defun-body/exec name formals oc body make-staticp wrld))
(skip-admissibilityp
(get1 :skip-admissibili... | defun | make-defun-no-guard-ev | acl2s | books/acl2s/defunc.lisp | [] | [
"*ccg-valid-output-names*",
"b*",
"body",
"error",
"formals",
"get1",
"ic",
"make-defun-body/exec",
"make-defun-body/logic",
"me-assign",
"update-xargs-decls"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
timeout-abort-fn (start-time timeout-secs debug state) | (declare (xargs :mode :program :stobjs (state)))
(b* (((mv end state) (acl2::read-run-time state))
(time-elapsed (- end start-time))
(- (cw? debug "~| Elapsed Time is ~x0 and timeout-secs is ~x1 ~%" time-elapsed timeout-secs))
(- (cw? (> time-elapsed timeout-secs) "~|Defunc timeout exceeded!!~%"... | defun | timeout-abort-fn | acl2s | books/acl2s/defunc.lisp | [] | [
"-",
"b*",
"cw?",
"debug",
"end",
"value"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
abort-this-event-sequence (start-time timeout-secs debug) | "If timedout or reason was termiantion -- just raise error"
`(with-output :off :all :on comment
(make-event (er-progn
(if (and (acl2::boundp-global 'defunc-failure-reason state)
(eq (@ defunc-failure-reason) :termination))
(mv t nil state)
... | defmacro | abort-this-event-sequence | acl2s | books/acl2s/defunc.lisp | [] | [
"assign",
"debug",
"timeout-abort-fn",
"value"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
defunc-events-with-staticp-flag
(name formals ic oc decls body kwd-alist make-staticp d? pkg wrld) | "Depending on flag make-staticp, we generate either events with
static contracts or with dynamic contracts (contracts checked at runtime)."
(declare (xargs :mode :program))
(if (get1 :program-mode-p kwd-alist)
'(mv t nil state) ;skip/abort
(b* ((defun/ng
(make-defun-no-guard-ev
... | defun | defunc-events-with-staticp-flag | acl2s | books/acl2s/defunc.lisp | [] | [
"*",
"acl2s-defaults",
"b*",
"body",
"formals",
"get1",
"ic",
"make-contract-ev",
"make-defun-no-guard-ev",
"make-verify-guards-ev",
"me-assign",
"time",
"with-time-limit"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
program-mode-defunc-events
(name formals ic oc decls body kwd-alist d? pkg wrld) | (declare (xargs :mode :program))
(b* ((typed-undef (get1 :typed-undef kwd-alist))
(dynamic-body (make-defun-body/logic name formals ic oc body nil d? typed-undef pkg wrld))
(decls (update-xargs-decls decls :guard ic :mode :program))
(debug? (or (get1 :debug kwd-alist) (get1 :verbose kwd-alist)))
... | defun | program-mode-defunc-events | acl2s | books/acl2s/defunc.lisp | [] | [
"acl2s-defaults",
"b*",
"body",
"error",
"formals",
"get1",
"ic",
"make-defun-body/logic",
"me-assign",
"time",
"update-xargs-decls",
"with-time-limit"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
car-eq-extra-info (x) | (declare (xargs :guard t))
(and (consp x)
(consp (car x))
(eq (car (car x)) 'ACL2::EXTRA-INFO)) | defun | car-eq-extra-info | acl2s | books/acl2s/defunc.lisp | [] | [] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
extract-extra-info (hyps) | (declare (xargs :guard t))
(cond
((atom hyps) nil)
((car-eq-extra-info hyps)
(cons (car hyps)
(extract-extra-info (cdr hyps))))
((atom (car hyps))
(extract-extra-info (cdr hyps)))
(t (append (extract-extra-info (car hyps))
(extract-extra-info (cdr hyps))))) | defun | extract-extra-info | acl2s | books/acl2s/defunc.lisp | [] | [
"car-eq-extra-info",
"hyps"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
print-guard-extra-info-hyps-aux (x yesp) | (declare (xargs :guard (booleanp yesp)))
(if (atom x)
nil
(prog2$
(cgen::cw? yesp "~| -- ~x0~%" (car x))
(print-guard-extra-info-hyps-aux (cdr x) yesp))) | defun | print-guard-extra-info-hyps-aux | acl2s | books/acl2s/defunc.lisp | [] | [
"booleanp"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
print-guard-extra-info-hyps (hyps yesp) | (declare (xargs :guard (booleanp yesp)))
(let ((ei (remove-dups (extract-extra-info hyps))))
(print-guard-extra-info-hyps-aux ei yesp)) | defun | print-guard-extra-info-hyps | acl2s | books/acl2s/defunc.lisp | [] | [
"booleanp",
"ei",
"extract-extra-info",
"hyps",
"let",
"print-guard-extra-info-hyps-aux",
"remove-dups"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
test-body-contracts1 (guards hints override-defaults timeout state) | (declare (xargs :mode :program :stobjs (state)))
(if (endp guards)
(value nil)
(b* ((vl (acl2s-defaults :get verbosity-level))
((unless (cgen::normal-output-flag vl)) (value nil))
;; if we don't have to generate output don't do any work.
((mv erp & state)
;; test?-fn wil... | defun | test-body-contracts1 | acl2s | books/acl2s/defunc.lisp | [] | [
"&",
"-",
"acl2s-defaults",
"b*",
"hyps",
"print-guard-extra-info-hyps",
"test?-fn",
"value",
"with-time-limit"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
test-body-contracts (guard-obligation hints override-defaults timeout state) | "This is just a looping test?-fn over multiple guards, and on error, printing out the appropriate guard-info."
(declare (xargs :mode :program :stobjs (state)))
(b* ((guards (if (and (consp guard-obligation)
(eq 'ACL2::AND (car guard-obligation)))
(cdr guard-obligation)
... | defun | test-body-contracts | acl2s | books/acl2s/defunc.lisp | [] | [
"b*",
"test-body-contracts1"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
test?-phase (parsed state) | (declare (xargs :mode :program :stobjs (state)))
(b* (((list name formals ic oc decls body kwd-alist) parsed)
(skip-tests-p (or (get1 :skip-tests kwd-alist)
(eq nil (get1 :testing-enabled kwd-alist))))
(testing-timeout (get1 :cgen-timeout kwd-alist))
((when skip-tests-p) ... | defun | test?-phase | acl2s | books/acl2s/defunc.lisp | [] | [
"&",
"-",
"b*",
"body",
"cw?",
"end",
"error",
"formals",
"get1",
"ic",
"mode",
"print-time-taken",
"start",
"tbody",
"test-body-contracts",
"test?",
"update-xargs-decls",
"value",
"with-time-limit"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 | |
make-show-failure-msg-ev (start-time kwd-alist events-seen) | `(with-output
:off :all :on (error comment)
(make-event
(b* ((body-contracts-strictp (get1 :body-contracts-strictp ',kwd-alist))
(function-contract-strictp (get1 :function-contract-strictp ',kwd-alist))
(termination-strictp (get1 :termination-strictp ',kwd-alist))
(timeout-sec... | defun | make-show-failure-msg-ev | acl2s | books/acl2s/defunc.lisp | [] | [
"&",
"-",
"b*",
"defunc",
"end",
"error",
"get1",
"print-time-taken",
"value"
] | https://github.com/acl2/acl2 | 07f555a773a64f355faffc8e12f905822cf22956 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.