• Cite Icon50
  • https://doi.org/10.1145/3434309Copy DOI Icon

Automatic differentiation in PCF

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

We study the correctness of automatic differentiation (AD) in the context of a higher-order, Turing-complete language (PCF with real numbers), both in forward and reverse mode. Our main result is that, under mild hypotheses on the primitive functions included in the language, AD is almost everywhere correct, that is, it computes the derivative or gradient of the program under consideration except for a set of Lebesgue measure zero. Stated otherwise, there are inputs on which AD is incorrect, but the probability of randomly choosing one such input is zero. Our result is in fact more precise, in that the set of failure points admits a more explicit description: for example, in case the primitive functions are just constants, addition and multiplication, the set of points where AD fails is contained in a countable union of zero sets of polynomials.

Loading PDF

Similar Papers
  • Research Article
  • Citations15

Source-to-Source Automatic Differentiation of OpenMP Parallel Loops

  • Feb 16, 2022
  • ACM Transactions on Mathematical Software
  • Jan Hückelheim +1
  • Book Chapter
  • Citations13

Automatic Differentiation, Tangent Linear Models, and (Pseudo)Adjoints1

  • Jan 01, 1995
  • Christian H Bischof
  • PDF
  • Research Article
  • Citations3

Automatic Differentiation in ROOT

  • Jan 01, 2020
  • EPJ Web of Conferences
  • Vassil Vassilev +2
  • Conference Article

On the Use of the Automatic Differentiation for Developing a Linear Harmonic Solver

  • Jun 11, 2018
  • Wei Zhang +5
  • Single Report

Reverse automatic differentiation of modular FORTRAN programs

  • Mar 01, 1992
  • J.E Horwedel
  • Research Article
  • Citations274

Introduction to Automatic Differentiation and MATLAB Object-Oriented Programming

  • Jan 01, 2010
  • SIAM Review
  • Richard D Neidinger
  • Book Chapter
  • Citations1

Application of Automatic Differentiation to Optimal Control Problems

  • Jan 01, 1994
  • Rainer Mehlhorn +2
  • Book Chapter
  • Citations8

A Low Rank Approach to Automatic Differentiation

  • Jan 01, 2008
  • Hany S Abdel-Khalik +4
  • Research Article
  • Citations73

Automatic differentiation of advanced CFD codes for multidisciplinary design

  • Dec 01, 1992
  • Computing Systems in Engineering
  • C Bischof +5
  • Research Article
  • Citations15

Optimal vertex elimination in single-expression-use graphs

  • Jul 22, 2008
  • ACM Transactions on Mathematical Software
  • Uwe Naumann +1
  • Conference Article

<title>Visualization of volumetric scattered data based on weighted alpha shapes</title>

  • Jan 17, 2005
  • Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE
  • Kun Lee +2
  • Conference Article
  • Citations66

The art gallery problem is ∃ ℝ-complete

  • Jun 20, 2018
  • Mikkel Abrahamsen +2
  • Research Article
  • Citations30

An introduction to algorithmic differentiation

  • Oct 24, 2019
  • WIREs Data Mining and Knowledge Discovery
  • Assefaw H Gebremedhin +1
  • Abstract

Ca2+ Influx Mediated by Reverse Mode of Na+/Ca2+ Exchanger is Enhanced in Malignant Hyperthermia Skeletal Muscle

  • Jan 01, 2014
  • Biophysical Journal
  • Francisco Altamirano +4
  • Research Article
  • Citations145

OpenAD/F

  • Jul 01, 2008
  • ACM Transactions on Mathematical Software
  • Jean Utke +7
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.