Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 2.16 KB

README.md

File metadata and controls

61 lines (45 loc) · 2.16 KB

Formalisation of Differentiable Logics in Coq

Docker CI

This repository contains the formalization of the Logic of Differentiable Logics (LDL) using the Coq proof-assistant and the Mathematical Components library. The LDL language is defined in ldl.v, along with its fuzzy, DL2, STL and Boolean interpretations. The files fuzzy.v, dl2.v, dl2_ereal.v, stl.v and stl_ereal.v contain the relevant theorems that hold for each interpretation: structural properties (idempotence, commutativity and associativity of operators), soundness, and shadow-lifting. The files mathcomp_extra.v and analysis_extra.v contain extra lemmas related to the respective libraries, including L'Hopital and Cauchy MVT in the latter.

Meta

Building and installation instructions

The easiest way to install the latest released version of Formalisation of Differentiable Logics in Coq is via OPAM:

opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-formal-LDL

To instead build and install manually, do:

git clone https://github.com/ndslusarz/formal-LDL.git
cd formal-LDL
make   # or make -j <number-of-cores-on-your-machine> 
make install