Abstract
J-Bob is the proof assistant of Friedman and Eastlund’s The Little Prover: a checker of 879 lines, 128 functions written in a small first-order subset of Lisp, that runs in Scheme and, according to its README, in ACL2, with two header lines and four measure declarations added. This tutorial explains how a prover in the Boyer–Moore tradition works by reading that code next to programs run in CHICKEN Scheme. It covers the language and its total primitives, rewriting at a path, the 21 axioms, conditional theorems and the chain of definitions, totality claims and measures, induction claims built from recursion, the 37 proofs of the book’s transcript, and the checker’s internals. An attempt to make J-Bob accept (equal 't 'nil) starting from its prelude finds two soundness holes, each shown by a proof that J-Bob/define admits and each closed by a patch that was run: a defun may take the name of a primitive such as atom, and floating-point constants, which the Scheme host lets into quoted data, falsify associate-+ and four other axioms. A later section reads the ACL2 copy of the files, and exercises and a glossary close the tutorial. No ACL2 was installed or run: what is said about ACL2 is background, read from the ACL2 files of the J-Bob repository or recalled from ACL2’s documentation and books, not checked against them here, and marked as such. Every output block is copied from a run, of one of 112 example programs or, for a few shell commands, by hand, and every claim about the code cites file and line.