English

An excursion into Dialectica and Differentiation

Category Theory 2025-02-25 v2 Logic in Computer Science

Abstract

G\"odel's Dialectica has been introduced and developed in the tradition of the so-called functional interpretations. Only recently has it been related with the a priori unrelated notion of differentiation, by taking a program-theoretic approach. We revisit the deep connection between these two notions in order to understand its structural reasons, as well as to express it in an arguably more natural way by following a geometric intuition. More specifically, we give a logical relation between a Dialectica transformed term and its reverse differential in a differential category and, then, we phrase the Dialectica program transformation in the language of lenses, often used indeed in Automatic Differentiation in order to model reverse differentiation. We illustrate how this clarifies why Dialectica behaves as a differentiable program transformation, and what the limits of this correspondence are.

Keywords

Cite

@article{arxiv.2410.22494,
  title  = {An excursion into Dialectica and Differentiation},
  author = {Davide Barbarossa},
  journal= {arXiv preprint arXiv:2410.22494},
  year   = {2025}
}
R2 v1 2026-06-28T19:40:21.194Z