arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.23878cs.LO
收藏

基于依赖类型理论的可微逻辑基础

A Foundation for Differentiable Logics using Dependent Type Theory

National Institute of Advanced Industrial Science and Technology (AIST)(产业技术综合研究所);IT-University of Copenhagen(哥本哈根IT大学);Southampton University(南安普顿大学);Heriot-Watt University(赫瑞瓦特大学)

Reynald Affeldt, Alessandro Bruni, Ekaterina Komendantskaya, Natalia Ślusarz, Kathrin Stark

AI总结:

本文基于依赖类型理论,系统比较了模糊逻辑和可微逻辑的分析、代数及证明论性质,并在统一框架中形式化了多种逻辑。

摘要:

可微逻辑是一类量化逻辑,起源于机器学习文献。由于其起源,可微逻辑通常配备了分析性质,以保证其可微。然而,它们通常缺乏描述其代数和证明论性质的配套理论。同时,模糊逻辑被视为亚结构逻辑,已被代数和证明论研究,一些具有良好分析性质的模糊逻辑也已用于机器学习。我们的目标是系统地比较模糊逻辑和可微逻辑的分析、代数和证明论性质。为此,我们使用Rocq证明助手中的Mathcomp库,在统一框架中形式化可微和模糊逻辑。我们提出了一种单一的语言规范,用于涵盖多种逻辑,使用内在类型仅允许每个逻辑的有效和正确类型公式:Yager、Łukasiewicz、Gödel和产品模糊逻辑,以及可微逻辑DL2和STL。代数上,我们展示了这些逻辑如何通过残余格来解释,这在亚结构逻辑理论中很普遍。分析上,我们形式化了某些逻辑连接词的正导数存在性,并为此目的形式化了洛必达法则,将其贡献至Mathcomp库。证明论上,我们形式化了已建立的模糊逻辑sequent演算,并提出了DL2和STL∞的新sequent演算,并在我们的框架中形式化了它们的正确性。

英文摘要:

Differentiable logics are a family of quantitative logics originated in the machine learning literature. Because of their origin, differentiable logics often come equipped with analytic properties that guarantee that they are differentiable. However, they usually lack an accompanying theory that describes their algebraic and proof-theoretic properties. Meanwhile, fuzzy logics, seen as substructural logics, have been studied algebraically and proof-theoretically, and some fuzzy logics with desirable analytic properties have also been used in machine learning. Our aim is to systematically compare analytic, algebraic and proof-theoretical properties of both fuzzy and differentiable logics. To this end, we formalize differentiable and fuzzy logics in a unified framework, encoded using the Mathcomp library in the Rocq proof assistant. We propose a single language specification to encompass multiple logics, using intrinsic typing to only allow valid and well-typed formulas for each of the logics that we encode: Yager, Łukasiewicz, Gödel and product fuzzy logics, as well as the differentiable logics DL2 and STL. Algebraically, we show how these logics can be interpreted using residuated lattices, which are prevalent in the theory of substructural logics. Analytically, we formalise the existence of a positive derivative for certain logical connectives, and to this end we formalise L'Hôpital's, contributing it to the Mathcomp library. Proof-theoretically, we formalise established sequent calculi for fuzzy logics, and we propose new sequent calculi for DL2 and STL$_{\infty}$, and formalise their soundness in our framework.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑