Pith. sign in

REVIEW 1 cited by

CHAD for Expressive Total Languages

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2110.00446 v2 pith:AIXOKJEZ submitted 2021-10-01 cs.PL cs.LOmath.CT

classification cs.PLcs.LOmath.CT
keywords typesexpressivechadfunctionallanguagessystemstotaltype
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

We show how to apply forward and reverse mode Combinatory Homomorphic Automatic Differentiation (CHAD) to total functional programming languages with expressive type systems featuring the combination of - tuple types; - sum types; - inductive types; - coinductive types; - function types. We achieve this by analysing the categorical semantics of such types in $\Sigma$-types (Grothendieck constructions) of suitable categories. Using a novel categorical logical relations technique for such expressive type systems, we give a correctness proof of CHAD in this setting by showing that it computes the usual mathematical derivative of the function that the original program implements. The result is a principled, purely functional and provably correct method for performing forward and reverse mode automatic differentiation (AD) on total functional programming languages with expressive type systems.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. From Grothendieck cofibrations to factorization systems: a formal 2-monadic account

    math.CT 2026-07 accept novelty 6.0 of 10

    Transport along a cofibration is converted, by a change of 2-monads, into the cocartesian–vertical factorization of arrows in the total category.

Pith tools