English

Implementing an Automatic Differentiator in ACL2

Symbolic Computation 2011-10-24 v1 Logic in Computer Science

Abstract

The foundational theory of differentiation was developed as part of the original release of ACL2(r). In work reported at the last ACL2 Workshop, we presented theorems justifying the usual differentiation rules, including the chain rule and the derivative of inverse functions. However, the process of applying these theorems to formalize the derivative of a particular function is completely manual. More recently, we developed a macro and supporting functions that can automate this process. This macro uses the ACL2 table facility to keep track of functions and their derivatives, and it also interacts with the macro that introduces inverse functions in ACL2(r), so that their derivatives can also be automated. In this paper, we present the implementation of this macro and related functions.

Cite

@article{arxiv.1110.4674,
  title  = {Implementing an Automatic Differentiator in ACL2},
  author = {Peter Reid and Ruben Gamboa},
  journal= {arXiv preprint arXiv:1110.4674},
  year   = {2011}
}

Comments

In Proceedings ACL2 2011, arXiv:1110.4473

R2 v1 2026-06-21T19:23:34.026Z