{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,15]],"date-time":"2026-10-15T11:14:39Z","timestamp":1792062879740,"version":"4.4.0"},"reference-count":27,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2008,3,1]],"date-time":"2008-03-01T00:00:00Z","timestamp":1204329600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100001602","name":"Science Foundation Ireland","doi-asserted-by":"publisher","award":["00\/PI.1\/C067"],"award-info":[{"award-number":["00\/PI.1\/C067"]}],"id":[{"id":"10.13039\/501100001602","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000143","name":"Division of Computing and Communication Foundations","doi-asserted-by":"publisher","award":["CCF-0438806"],"award-info":[{"award-number":["CCF-0438806"]}],"id":[{"id":"10.13039\/100000143","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Program. Lang. Syst."],"published-print":{"date-parts":[[2008,3]]},"abstract":"<jats:p>We show that reverse-mode AD (Automatic Differentiation)\u2014a generalized gradient-calculation operator\u2014can be incorporated as a first-class function in an augmented lambda calculus, and therefore into a functional-programming language. Closure is achieved, in that the new operator can be applied to any expression in the augmented language, yielding an expression in that language. This requires the resolution of two major technical issues: (a) how to transform nested lambda expressions, including those with free-variable references, and (b) how to support self application of the AD machinery. AD transformations preserve certain complexity properties, among them that the reverse phase of the reverse-mode AD transformation of a function have the same temporal complexity as the original untransformed function. First-class unrestricted AD operators increase the expressive power available to the numeric programmer, and may have significant practical implications for the construction of numeric software that is robust, modular, concise, correct, and efficient.<\/jats:p>","DOI":"10.1145\/1330017.1330018","type":"journal-article","created":{"date-parts":[[2008,3,19]],"date-time":"2008-03-19T12:58:50Z","timestamp":1205931530000},"page":"1-36","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":57,"title":["Reverse-mode AD in a functional framework"],"prefix":"10.1145","volume":"30","author":[{"given":"Barak A.","family":"Pearlmutter","sequence":"first","affiliation":[{"name":"National University of Ireland Maynooth, Co. Kildare, Ireland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jeffrey Mark","family":"Siskind","sequence":"additional","affiliation":[{"name":"Purdue University, West Lafayette, IN"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2008,3,14]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/278283.278285"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1093\/imanum\/12.2.135"},{"key":"e_1_2_1_3_1","volume-title":"Automatic Differentiation: From Simulation to Optimization","author":"Corliss G.","year":"2001","unstructured":"Corliss , G. , Faure , C. , Griewank , A. , Hasco\u00ebt , L. , and Naumann , U . 2001 . Automatic Differentiation: From Simulation to Optimization . Springer-Verlag , New York . Corliss, G., Faure, C., Griewank, A., Hasco\u00ebt, L., and Naumann, U. 2001. Automatic Differentiation: From Simulation to Optimization. Springer-Verlag, New York."},{"key":"e_1_2_1_4_1","volume-title":"Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation. Number 19 in Frontiers in Applied Mathematics","author":"Griewank A.","year":"2000","unstructured":"Griewank , A. 2000 . Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation. Number 19 in Frontiers in Applied Mathematics . SIAM , Philadelphia, PA . Griewank, A. 2000. Evaluating Derivatives: Principles and Techniques of Algorithmic Differentiation. Number 19 in Frontiers in Applied Mathematics. SIAM, Philadelphia, PA."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/229473.229474"},{"key":"e_1_2_1_6_1","unstructured":"Hasco\u00ebt L. and Pascual V. 2004. Tapenade 2.1 user's guide. Rapport technique 300 INRIA Sophia Antipolis.  Hasco\u00ebt L. and Pascual V. 2004. Tapenade 2.1 user's guide. Rapport technique 300 INRIA Sophia Antipolis."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/289423.289442"},{"key":"e_1_2_1_8_1","volume-title":"Workshop, III International Summer School on Advanced Functional Programming","author":"Karczmarczuk J.","year":"1998","unstructured":"Karczmarczuk , J. 1998 b. Lazy differential algebra and its applications . In Workshop, III International Summer School on Advanced Functional Programming ( Braga, Portugal). Karczmarczuk, J. 1998b. Lazy differential algebra and its applications. In Workshop, III International Summer School on Advanced Functional Programming (Braga, Portugal)."},{"key":"e_1_2_1_9_1","volume-title":"Scottish Workshop on FP.","author":"Karczmarczuk J.","year":"1999","unstructured":"Karczmarczuk , J. 1999 . Functional coding of differential forms . In Scottish Workshop on FP. Karczmarczuk, J. 1999. Functional coding of differential forms. In Scottish Workshop on FP."},{"key":"e_1_2_1_10_1","unstructured":"Karczmarczuk J. 2000a. Adjoint codes in functional framework. http:\/\/users.info.unicaen.fr\/~karczma\/arpap\/revdiff.ps.  Karczmarczuk J. 2000a. Adjoint codes in functional framework. http:\/\/users.info.unicaen.fr\/~karczma\/arpap\/revdiff.ps."},{"key":"e_1_2_1_11_1","unstructured":"Karczmarczuk J. 2000b. Lazy time reversal and automatic differentiation. http:\/\/users.info.unicaen.fr\/~karczma\/arpap\/revpearl.pdf.  Karczmarczuk J. 2000b. Lazy time reversal and automatic differentiation. http:\/\/users.info.unicaen.fr\/~karczma\/arpap\/revpearl.pdf."},{"key":"e_1_2_1_12_1","unstructured":"Karczmarczuk J. 2001a. Calcul des adjoints et programmation paresseuse. http:\/\/users.info. unicaen.fr\/~karczma\/arpap\/jflarev.pdf.  Karczmarczuk J. 2001a. Calcul des adjoints et programmation paresseuse. http:\/\/users.info. unicaen.fr\/~karczma\/arpap\/jflarev.pdf."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1011501232197"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/355887.355890"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1010051815785"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/202530.202532"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1162\/neco.1994.6.1.147"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1190216.1190242"},{"key":"e_1_2_1_19_1","unstructured":"Press W. H. Teukolsky S. A. Vetterling W. T. and Flannery B. P. 1992. Numerical Recipes in C 2nd ed. Cambridge University Press New York.   Press W. H. Teukolsky S. A. Vetterling W. T. and Flannery B. P. 1992. Numerical Recipes in C 2nd ed. Cambridge University Press New York."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-10861-0"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1038\/323533a0"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01019462"},{"key":"e_1_2_1_24_1","volume-title":"Implementation and Application of Functional Languages---17th International Workshop, IFL'05","author":"Siskind J. M.","year":"2005","unstructured":"Siskind , J. M. and Pearlmutter , B. A . 2005. Perturbation confusion and referential transparency: Correct functional implementation of forward-mode AD . In Implementation and Application of Functional Languages---17th International Workshop, IFL'05 , A. Butterfield, Ed. Dublin, Ireland, 1--9. Trinity College Dublin Computer Science Department Tech. Rep. TCD-CS- 2005 -60. Siskind, J. M. and Pearlmutter, B. A. 2005. Perturbation confusion and referential transparency: Correct functional implementation of forward-mode AD. In Implementation and Application of Functional Languages---17th International Workshop, IFL'05, A. Butterfield, Ed. Dublin, Ireland, 1--9. Trinity College Dublin Computer Science Department Tech. Rep. TCD-CS-2005-60."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10990-008-9037-1"},{"key":"e_1_2_1_27_1","unstructured":"Sussman G. J. Wisdom J. and Mayer M. E. 2001. Structure and Interpretation of Classical Mechanics. MIT Press Cambridge MA.   Sussman G. J. Wisdom J. and Mayer M. E. 2001. Structure and Interpretation of Classical Mechanics. MIT Press Cambridge MA."},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/355586.364791"},{"key":"e_1_2_1_29_1","first-page":"283","article-title":"Neural networks, system identification, and control in the chemical process industries. In Handbook of Intelligent Control---Neural, Fuzzy, and Adaptive Approaches, D. A. White and D. A. Sofge, Eds. Van Norstrand Reinhold","volume":"10","author":"Werbos P. J.","year":"1992","unstructured":"Werbos , P. J. 1992 . Neural networks, system identification, and control in the chemical process industries. In Handbook of Intelligent Control---Neural, Fuzzy, and Adaptive Approaches, D. A. White and D. A. Sofge, Eds. Van Norstrand Reinhold , Chap. 10. 283 -- 356 . Werbos, P. J. 1992. Neural networks, system identification, and control in the chemical process industries. In Handbook of Intelligent Control---Neural, Fuzzy, and Adaptive Approaches, D. A. White and D. A. Sofge, Eds. Van Norstrand Reinhold, Chap. 10. 283--356.","journal-title":"Chap."}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1330017.1330018","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1330017.1330018","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T14:47:31Z","timestamp":1750258051000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1330017.1330018"}},"subtitle":["Lambda the ultimate backpropagator"],"short-title":[],"issued":{"date-parts":[[2008,3]]},"references-count":27,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2008,3]]}},"alternative-id":["10.1145\/1330017.1330018"],"URL":"https:\/\/doi.org\/10.1145\/1330017.1330018","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"value":"0164-0925","type":"print"},{"value":"1558-4593","type":"electronic"}],"subject":[],"published":{"date-parts":[[2008,3]]},"assertion":[{"value":"2005-09-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2007-09-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2008-03-14","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}