Notes related to ACL2

These notes provide pointers to potentially useful information related to ACL2.

Machine-Specific Instructions on Running ACL2

General Hints on Running ACL2

I strongly encourage you to run ACL2 from within Emacs (see note below). Divide your Emacs buffer into two windows (using C-x 2). In one window, bring up a shell (using M-x shell) and invoke ACL2 from it. Develop your code in the other window, and cut and paste definitions into the ACL2 window as needed. Use the standard Emacs commands to browse proofs and save them to file.

Note: When you type at the prompt, ACL2 captures each line as you end it with a carriage return (not when you close the final parenthesis). If you make a mistake in a previous line in a defintion, you cannot go back and edit the line. You must break out of the current read-eval-print loop (REPL) using Ctrl-C (two if you're running inside of Emacs), then use :q to return to the top-level REPL. Developing your code in a separate Emacs buffer avoids this inconvenience.

Warning: When you start ACL2, its header screen (version number, etc) should come up immediately. If you get lots of messages of the form

[SGC for 0 RELOCATABLE-BLOCKS pages..(1339 writable)..(T=3).GC finished],
kill the ACL2 process. Increase your allowed heap size using ulimit -d new_size, where new_size is measured in kbytes (the ACL2 start-up script sets this value to 2097148). Invoke ACL2 again.

Documentation

Contact Kathi with any questions not addressed in these notes.


525V Home Page