Taming Differentiable Logics with Coq Formalisation

Reynald Affeldt*, Alessandro Bruni*, Ekaterina Komendantskaya*, Natalia Slusarz*, Kathrin Stark*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

4 Downloads (Pure)

Abstract

For performance and verification in machine learning, new methods have recently been proposed that optimise learning systems to satisfy formally expressed logical properties. Among these methods, differentiable logics (DLs) are used to translate propositional or first-order formulae into loss functions deployed for optimisation in machine learning. At the same time, recent attempts to give programming language support for verification of neural networks showed that DLs can be used to compile verification properties to machine-learning backends. This situation is calling for stronger guarantees about the soundness of such compilers, the soundness and compositionality of DLs, and the differentiability and performance of the resulting loss functions. In this paper, we propose an approach to formalise existing DLs using the Mathematical Components library in the Coq proof assistant. Thanks to this formalisation, we are able to give uniform semantics to otherwise disparate DLs, give formal proofs to existing informal arguments, find errors in previous work, and provide formal proofs to missing conjectured properties. This work is meant as a stepping stone for the development of programming language support for verification of machine learning.

Original languageEnglish
Title of host publication15th International Conference on Interactive Theorem Proving (ITP 2024)
EditorsYves Bertot, Temur Kutsia, Michael Norrish
PublisherSchloss Dagstuhl - Leibniz-Zentrum für Informatik
ISBN (Electronic)9783959773379
DOIs
Publication statusPublished - 2 Sept 2024
Event15th International Conference on Interactive Theorem Proving 2024 - Tbilisi, Georgia
Duration: 9 Sept 202414 Sept 2024

Publication series

NameLeibniz International Proceedings in Informatics (LIPIcs)
Volume309
ISSN (Print)1868-8969

Conference

Conference15th International Conference on Interactive Theorem Proving 2024
Abbreviated titleITP 2024
Country/TerritoryGeorgia
CityTbilisi
Period9/09/2414/09/24

Keywords

  • Differentiable Logics
  • Interactive Theorem Proving
  • Logic and Semantics
  • Loss Functions
  • Machine Learning

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Taming Differentiable Logics with Coq Formalisation'. Together they form a unique fingerprint.

Cite this