/usr/share/acl2-6.3/books/make-event/macros-skip-proofs.lisp is in acl2-books-source 6.3-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | ; Copyright (C) 2013, Regents of the University of Texas
; Written by Matt Kaufmann
; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.
; This is just a little variation macros.lisp that uses skip-proofs. We check
; the expansions in macros-skip-proofs-include.lisp, much as we check
; expansions from macros.lisp in macros-include.lisp.
(in-package "ACL2")
(defmacro my-mac (x) x)
(encapsulate
((local-fn (x) t))
(local (defun local-fn (x) x))
(local
(make-event '(defun foo1 (x) x)))
(my-mac
(skip-proofs
(make-event '(defun foo2 (x) x)
:check-expansion t)))
(skip-proofs
(my-mac
(make-event '(defun foo3 (x) x)
:check-expansion t)))
(make-event '(defun foo4 (x) x)))
; Identical to form above, hence should be redundant.
(encapsulate
((local-fn (x) t))
(local (defun local-fn (x) x))
(local
(make-event '(defun foo1 (x) x)))
(my-mac
(skip-proofs
(make-event '(defun foo2 (x) x)
:check-expansion t)))
(skip-proofs
(my-mac
(make-event '(defun foo3 (x) x)
:check-expansion t)))
(make-event '(defun foo4 (x) x)))
|