Table of Contents
Fetching ...

Combining fixpoint and differentiation theory

Zeinab Galal, Jean-Simon Pacaud Lemay

TL;DR

This work develops a denotational framework that unifies differentiation and recursion by introducing Cartesian differential fixpoint categories, which equip Cartesian differential categories with a parametrized fixpoint operator satisfying a differential-fixpoint rule. The framework shows that, in the presence of Conway/trace structure, the differential and tangent interactions yield equivalent rules, and it preserves linearity under fixpoints, enabling robust semantics for differential lambda-calculi with recursion. The authors provide multiple concrete models (including relations, weighted relations, formal power series, and profunctor-based enrichments) and demonstrate an effective Newton-Raphson style optimization scheme within this setting, culminating in a general convergence theory based on Taylor expansions. The results pave the way for broader applications to differential programming languages, coherent/ reverse differentiation, and local fixpoint theories, with potential extensions to tangent and restriction categories and fixpoint objects.

Abstract

Interactions between derivatives and fixpoints have many important applications in both computer science and mathematics. In this paper, we provide a categorical framework to combine fixpoints with derivatives by studying Cartesian differential categories with a fixpoint operator. We introduce an additional axiom relating the derivative of a fixpoint with the fixpoint of the derivative. We show how the standard examples of Cartesian differential categories where we can compute fixpoints provide canonical models of this notion. We also consider when the fixpoint operator is a Conway operator, or when the underlying category is closed. As an application, we show how this framework is a suitable setting to formalize the Newton-Raphson optimization for fast approximation of fixpoints and extend it to higher order languages.

Combining fixpoint and differentiation theory

TL;DR

This work develops a denotational framework that unifies differentiation and recursion by introducing Cartesian differential fixpoint categories, which equip Cartesian differential categories with a parametrized fixpoint operator satisfying a differential-fixpoint rule. The framework shows that, in the presence of Conway/trace structure, the differential and tangent interactions yield equivalent rules, and it preserves linearity under fixpoints, enabling robust semantics for differential lambda-calculi with recursion. The authors provide multiple concrete models (including relations, weighted relations, formal power series, and profunctor-based enrichments) and demonstrate an effective Newton-Raphson style optimization scheme within this setting, culminating in a general convergence theory based on Taylor expansions. The results pave the way for broader applications to differential programming languages, coherent/ reverse differentiation, and local fixpoint theories, with potential extensions to tangent and restriction categories and fixpoint objects.

Abstract

Interactions between derivatives and fixpoints have many important applications in both computer science and mathematics. In this paper, we provide a categorical framework to combine fixpoints with derivatives by studying Cartesian differential categories with a fixpoint operator. We introduce an additional axiom relating the derivative of a fixpoint with the fixpoint of the derivative. We show how the standard examples of Cartesian differential categories where we can compute fixpoints provide canonical models of this notion. We also consider when the fixpoint operator is a Conway operator, or when the underlying category is closed. As an application, we show how this framework is a suitable setting to formalize the Newton-Raphson optimization for fast approximation of fixpoints and extend it to higher order languages.
Paper Structure (17 sections, 12 theorems, 133 equations, 1 figure)

This paper contains 17 sections, 12 theorems, 133 equations, 1 figure.

Key Result

lemma 1

In a Cartesian differential category with a fixpoint operator, for every map $f: X \to X$, $\mathop{\mathrm{\mathbf{D}}}\nolimits[\mathop{\mathrm{\mathbf{fix}}}\nolimits(f)] = 0$.

Figures (1)

  • Figure 1: Differential-fixpoint rule

Theorems & Definitions (35)

  • definition 1
  • definition 2
  • lemma 1
  • definition 3
  • definition 4
  • definition 5
  • lemma 2
  • proof
  • definition 6
  • definition 7
  • ...and 25 more