See litp.
Aignet used to use a literal representation of its own, but now it just borrows ACL2::satlink's.