Questions tagged [acl2]

An automated theorem prover -- software system consisting of a programming language, an extensible theory in a first-order logic, and a mechanical theorem prover. The input language and implementation of ACL2 are built on Common Lisp.

ACL2 is both a programming language in which you can model computer systems and a tool to help you prove properties of those models.

Main website: ACL2

38 questions
0
votes
1 answer

Undoing read-only region in emacs using ACL2

I hit some strange incantation of keystrokes in emacs while using ACL2, and a region in my buffer becomes read-only. What can cause this? How do I unmark a region as read-only?
interestedparty333
  • 2,386
  • 1
  • 21
  • 35
0
votes
1 answer

Why is cert.pl complaining about ttags

Often I get the following error message when certifying ACL2 books: | ACL2 Error in ( INCLUDE-BOOK "something" ...): The ttag :FAST-CAT | associated with file /elided/acl2/books/std/string\ | s/fast-cat.lisp is not among the set of ttags permitted…
interestedparty333
  • 2,386
  • 1
  • 21
  • 35
0
votes
1 answer

sorted map in ACL2

I have to use a sorted map/index structure in ACL2. Currently I have the following: ( (key1 . (val1 val2)) (key2 . (val3)) (key3 . (val4 val5 val6)) ) Is there any other way of doing this more efficiently?
user720491
  • 589
  • 1
  • 9
  • 20
0
votes
2 answers

Understanding a ttags error

I'm trying to make sense of an error message, so that I might consider fixing it. What's the right way to fix the following error? Should I go add :oslib, :quicklisp, and :quicklisp.osicat to the include-books inside books/oslib/rmtree.lisp? Is…
interestedparty333
  • 2,386
  • 1
  • 21
  • 35
0
votes
1 answer

When building the ACL2 books, how do I get rid of an error about "Magic number..."

When building the books for ACL2, I get the following error. How do I get rid of it? Magic number checking on storable file failed at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 380, at…
interestedparty333
  • 2,386
  • 1
  • 21
  • 35
0
votes
1 answer

Disable too-many-ifs heuristic

How do I disable the too-many-ifs heuristic? Sometimes the prover goes out to lunch, and when I interrupt it, I can see that the prover is busy with a call of too-many-ifs0 and count-ifs-lst.
interestedparty333
  • 2,386
  • 1
  • 21
  • 35
0
votes
1 answer

Disable skip-proofs warnings in ACL2

How do I disable skip-proofs warnings in ACL2? Including books that intentionally have lots of skipped proofs can be quite verbose.
interestedparty333
  • 2,386
  • 1
  • 21
  • 35
0
votes
1 answer

acl2 equality with negation

I'm having some trouble with acl2, trying to prove the following: (thm (implies (acl2-numberp x) (equal (* -2 x) (* 2 (- x))))) which results in: ACL2 !>(thm (implies (acl2-numberp x) (equal (* -2 x) (* 2 (- x))))) *1 (the initial Goal, a key…
1 2
3