Implementing an Automatic Differentiator in ACL2
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...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Open Publishing Association
2011-10-01
|
Series: | Electronic Proceedings in Theoretical Computer Science |
Online Access: | http://arxiv.org/pdf/1110.4674v1 |
id |
doaj-534594fabe184d53b45429f7763e5c84 |
---|---|
record_format |
Article |
spelling |
doaj-534594fabe184d53b45429f7763e5c842020-11-24T22:38:32ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802011-10-0170Proc. ACL2 2011616910.4204/EPTCS.70.5Implementing an Automatic Differentiator in ACL2Peter ReidRuben GamboaThe 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.http://arxiv.org/pdf/1110.4674v1 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Peter Reid Ruben Gamboa |
spellingShingle |
Peter Reid Ruben Gamboa Implementing an Automatic Differentiator in ACL2 Electronic Proceedings in Theoretical Computer Science |
author_facet |
Peter Reid Ruben Gamboa |
author_sort |
Peter Reid |
title |
Implementing an Automatic Differentiator in ACL2 |
title_short |
Implementing an Automatic Differentiator in ACL2 |
title_full |
Implementing an Automatic Differentiator in ACL2 |
title_fullStr |
Implementing an Automatic Differentiator in ACL2 |
title_full_unstemmed |
Implementing an Automatic Differentiator in ACL2 |
title_sort |
implementing an automatic differentiator in acl2 |
publisher |
Open Publishing Association |
series |
Electronic Proceedings in Theoretical Computer Science |
issn |
2075-2180 |
publishDate |
2011-10-01 |
description |
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. |
url |
http://arxiv.org/pdf/1110.4674v1 |
work_keys_str_mv |
AT peterreid implementinganautomaticdifferentiatorinacl2 AT rubengamboa implementinganautomaticdifferentiatorinacl2 |
_version_ |
1725713163452678144 |