Logical relations for partial features and automatic differentiation correctness (Preprint)

  <Reference List>
Type: Preprint
National /International: International
Title: Logical relations for partial features and automatic differentiation correctness
Publication Date: 2022-10-21
Authors: - Fernando Lucatelli Nunes
- Matthijs Vákár
Abstract:

We present a simple technique for semantic, open logical relations arguments about languages with recursive types, which, as we show, follows from a principled foundation in categorical semantics. We demonstrate how it can be used to give a very straightforward proof of correctness of practical forward- and reverse-mode dual numbers style automatic differentiation (AD) on ML-family languages. The key idea is to combine it with a suitable open logical relations technique for reasoning about differentiable partial functions (a suitable lifting of the partiality monad to logical relations), which we introduce.

Institution: DMUC 22-31
Online version: http://www.mat.uc.pt...prints/eng_2022.html
Download: Not available
 
© Centre for Mathematics, University of Coimbra, funded by
Science and Technology Foundation
Powered by: rdOnWeb v1.4 | technical support