From Differential Linear Logic to Coherent Differentiation
Thomas Ehrhard
TL;DR
This work introduces coherent differentiation (CD), a principled framework that makes differential reasoning deterministic within differential linear logic. It builds a summability structure on a linear category, enabling controlled addition of morphisms and a differentiation monad via a distributive law between the summability functor ${f S}$ and the exponential comonad. The theory is instantiated in elementary models such as coherence spaces and probabilistic coherence spaces, and it extends to closed settings and fixpoints, yielding a rich interplay between denotational and syntactic descriptions. The CD syntax (PCF_cd) and its operational and denotational semantics culminate in adequacy and determinism results, and pave the way for Taylor expansions and iterated derivatives in a deterministic, resource-aware setting.
Abstract
In this survey, we present in a unified way the categorical and syntactical settings of coherent differentiation introduced recently, which shows that the basic ideas of differential linear logic and of the differential lambda-calculus are compatible with determinism. Indeed, due to the Leibniz rule of the differential calculus, differential linear logic and the differential lambda-calculus feature an operation of addition of proofs or terms operationally interpreted as a strong form of nondeterminism. The main idea of coherent differentiation is that these sums can be controlled and kept in the realm of determinism by means of a notion of summability, upon enforcing summability restrictions on the derivatives which can be written in the models and in the syntax.
