Communication Dans Un Congrès Année : 2024

Tropical Mathematics and the Lambda-Calculus I: Metric and Differential Analysis of Effectful Programs

Résumé

We study the interpretation of the lambda-calculus in a framework based on tropical mathematics, and we show that it provides a unifying framework for two well-developed quantitative approaches to program semantics: on the one hand program metrics, based on the analysis of program sensitivity via Lipschitz conditions, on the other hand resource analysis, based on linear logic and higher-order program differentiation. To do that, we focus on the semantics arising from the relational model weighted over the tropical semiring, and we discuss its application to the study of "best case" program behavior for languages with probabilistic and non-deterministic effects. Finally, we show that a general foundation for this approach is provided by an abstract correspondence between tropical algebra and Lawvere's theory of generalized metric spaces.
Fichier principal
Vignette du fichier
LIPIcs.CSL.2024.14.pdf (975) Télécharger le fichier
Origine Fichiers éditeurs autorisés sur une archive ouverte

Dates et versions

hal-04777395 , version 1 (10-12-2024)

Licence

Identifiants

Citer

Davide Barbarossa, Paolo Pistone. Tropical Mathematics and the Lambda-Calculus I: Metric and Differential Analysis of Effectful Programs. Computer Science Logic 2024 (CSL 2024), Feb 2024, Napoli, France. ⟨10.4230/LIPIcs.CSL.2024.14⟩. ⟨hal-04777395⟩
2 Consultations
5 Téléchargements

Altmetric

Partager

More