summaryrefslogtreecommitdiff
path: root/books/workshops/1999/knuth-91/certify.lsp
diff options
context:
space:
mode:
authorCamm Maguire <camm@debian.org>2017-05-08 12:58:52 -0400
committerCamm Maguire <camm@debian.org>2017-05-08 12:58:52 -0400
commit092176848cbfd27b96c323cc30c54dff4c4a6872 (patch)
tree91b91b4db76805fd2a09de0745b22080a9ebd335 /books/workshops/1999/knuth-91/certify.lsp
Import acl2_7.4dfsg.orig.tar.gz
[dgit import orig acl2_7.4dfsg.orig.tar.gz]
Diffstat (limited to 'books/workshops/1999/knuth-91/certify.lsp')
-rw-r--r--books/workshops/1999/knuth-91/certify.lsp53
1 files changed, 53 insertions, 0 deletions
diff --git a/books/workshops/1999/knuth-91/certify.lsp b/books/workshops/1999/knuth-91/certify.lsp
new file mode 100644
index 0000000..ad4d178
--- /dev/null
+++ b/books/workshops/1999/knuth-91/certify.lsp
@@ -0,0 +1,53 @@
+;; ACL2 books for Archimedean Ordered Fields and
+;; Knuth's Generalized 91 Recursion.
+; Copyright (C) 2000 John R. Cowles, University of Wyoming
+
+; This book is free software; you can redistribute it and/or modify
+; it under the terms of the GNU General Public License as published by
+; the Free Software Foundation; either version 2 of the License, or
+; (at your option) any later version.
+
+; This book is distributed in the hope that it will be useful,
+; but WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+; GNU General Public License for more details.
+
+; You should have received a copy of the GNU General Public License
+; along with this book; if not, write to the Free Software
+; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+; Written by:
+; John Cowles
+; Department of Computer Science
+; University of Wyoming
+; Laramie, WY 82071-3682 U.S.A.
+
+;; Certify the ACL2 Archimedean Ordered Field book and the
+;; ACL2 book for Knuth's Generalized 91 Recursion.
+
+(in-package "ACL2")
+
+(ubt! 1)
+
+;; We certify a book, then we undo back to the start,
+;; avoiding all queries by using :u.
+
+(defpkg
+ "ACL2-ASG"
+ (union-eq *acl2-exports*
+ *common-lisp-symbols-from-main-lisp-package*))
+(defpkg
+ "ACL2-AGP"
+ (union-eq *acl2-exports*
+ *common-lisp-symbols-from-main-lisp-package*))
+(defpkg
+ "ACL2-CRG"
+ (union-eq *acl2-exports*
+ *common-lisp-symbols-from-main-lisp-package*))
+
+(certify-book "aof" 3 nil)
+:u :u :u :u
+
+(certify-book "knuth-arch" 0 nil)
+
+