Proof assistant

ACL2

Also known as A Computational Logic for Applicative Common Lisp

An automated theorem prover whose logic is a subset of Common Lisp: you write programs in that Lisp and prove theorems about them.

Checker Partial Open source · BSD-3-Clause 8.7 · 8 months ago

The prover searches for proofs by rewriting and induction, guided by lemmas you supply. The same definitions run as ordinary Lisp code.

Trust card

What you trust when you accept a proof from ACL2. Logic: First-order logic of total recursive functions (an applicative subset of Common Lisp), with induction up to the ordinal epsilon-0.

Trusted coreProof kernel. The small trusted core of a proof assistant that checks every proof.

No small kernel. The whole prover is trusted: rewriter, decision procedures, induction heuristics, and evaluation during proofs, which runs compiled Lisp in the host Common Lisp. No proof objects are produced. Rated amber, not green: no small kernel checks each proof, but it is not unsound by design. The documented soundness guarantee excludes sessions with trust tags (defttag), raw Lisp side effects, or books not certified from scratch in a single Lisp and operating system.

source

Independent re-checkers

None recorded.

Axioms

Built-in axioms about ACL2's data types (for example car-cons), extended by the definitional principle, encapsulate, defchoose and other events, and closed under induction below epsilon-0. Users can add axioms with defaxiom, skip proofs with skip-proofs, and use trust tags (defttag) to run unchecked code; the soundness guarantee does not cover sessions with trust tags.

source

CertificatesProof certificate. A record of a proof that a separate, simpler program can check.

No proof certificates. A certified book (.cert file) records that ACL2 accepted the book; to check it elsewhere you re-run ACL2 on the source.

source

Soundness record

8 notable issues in the last five years. An empty list means none were found, not that none exist. Reports go to this channel.

  1. Mar 2026 Proof-builder created goals from forced hypotheses incorrectly Fixed in ACL2 8.7 (date is the fixing release). The release notes say the bug was at least 10 years old. Fixed
  2. Mar 2026 Interaction of stobjs and defattach could make a stobj recognizer false Fixed in ACL2 8.7. Fixed
  3. Mar 2026 swap-stobjs on two stobjs, one of them live, was unsound Fixed in ACL2 8.7. Fixed
  4. Oct 2024 Meta and clause-processor rules exported from an encapsulate with a signature allowed a proof of nil Fixed in ACL2 8.6. Fixed
  5. Oct 2024 Guards of open-input-channel and open-output-channel, admitted with skip-proofs in the sources, allowed a proof of nil Fixed in ACL2 8.6, which also removed those skip-proofs from the sources. Fixed
  6. Oct 2024 Wrong raw Lisp code for a stobj field recognizer allowed a proof of nil Fixed in ACL2 8.6. Fixed
  7. Jul 2022 defstobj with a (SATISFIES pred) field type generated an unsound guard theorem Fixed in ACL2 8.5. Fixed
  8. Jul 2022 Incomplete prohibition of local portcullis commands was unsound Fixed in ACL2 8.5. Fixed

In this index

Entries that rely on ACL2.

Toolchains

None yet.

Semantics usable here

Automation checked by it

None yet.

esc