中文
相关论文

相关论文: First-order natural deduction in Agda

200 篇论文

We present a first-order linear-time temporal logic for reasoning about the evolution of directed graphs. Its semantics is based on the counterpart paradigm, thus allowing our logic to represent the creation, duplication, merging, and…

计算机科学中的逻辑 · 计算机科学 2023-05-09 Fabio Gadducci , Andrea Laretto , Davide Trotta

We present the system $\mathtt{d}$, an extended type system with lambda-typed lambda-expressions. It is related to type systems originating from the Automath project. $\mathtt{d}$ extends existing lambda-typed systems by an existential…

计算机科学中的逻辑 · 计算机科学 2023-06-22 Matthias Weber

CSP-Agda is a library, which formalises the process algebra CSP in the interactive theorem prover Agda using coinductive data types. In CSP-Agda, CSP processes are in monadic form, which sup- ports a modular development of processes. In…

编程语言 · 计算机科学 2017-09-15 Bashar Igried , Anton Setzer

We study various formulations of the completeness of first-order logic phrased in constructive type theory and mechanised in the Coq proof assistant. Specifically, we examine the completeness of variants of classical and intuitionistic…

计算机科学中的逻辑 · 计算机科学 2021-12-15 Yannick Forster , Dominik Kirst , Dominik Wehr

In functional programming languages, generalized algebraic data types (GADTs) are very useful as the unnecessary pattern matching over them can be ruled out by the failure of unification of type arguments. In dependent type systems, this is…

编程语言 · 计算机科学 2021-07-07 Tesla Zhang

Artificial intelligence assisted mathematical proof has become a highly focused area nowadays. One key problem in this field is to generate formal mathematical proofs from natural language proofs. Due to historical reasons, the formal proof…

编程语言 · 计算机科学 2024-05-14 Lihan Xie , Zhicheng Hui , Qinxiang Cao

We investigate an extension of nominal many-sorted signatures in which abstraction has a form of instantiation, called generalised concretion, as elimination operator (similarly to lambda-calculi). Expressions are then classified using a…

计算机科学中的逻辑 · 计算机科学 2025-10-15 Maribel Fernández , Miguel Pagano , Nora Szasz , Álvaro Tasistro

We present a new software tool for teaching logic based on natural deduction. Its proof system is formalized in the proof assistant Isabelle such that its definition is very precise. Soundness of the formalization has been proved in…

计算机与社会 · 计算机科学 2015-07-16 Jørgen Villadsen , Alexander Birch Jensen , Anders Schlichtkrull

We introduce a high-level language with Python-like syntax for string-to-string, polyregular, first-order definable transductions. This language features function calls, boolean variables, and nested for-loops. We devise and implement a…

形式语言与自动机理论 · 计算机科学 2025-05-16 Aliaume Lopez , Rafał Stefański

Erasure enriches type theory with a distinction between runtime relevant and irrelevant data, allowing the compilation step to safely erase the latter. Versions of this feature are implemented by many systems, including Agda, Idris, and…

编程语言 · 计算机科学 2026-05-04 Constantine Theocharis , Edwin Brady

Lossless compression implementations typically contain two programs, an encoder and a decoder, which are required to be inverse to one another. We observe that a significant class of compression methods, based on asymmetric numeral systems…

编程语言 · 计算机科学 2022-11-24 James Townsend , Jan-Willem van de Meent

We present gradual type theory, a logic and type theory for call-by-name gradual typing. We define the central constructions of gradual typing (the dynamic type, type casts and type error) in a novel way, by universal properties relative to…

编程语言 · 计算机科学 2023-06-22 Max S. New , Daniel R. Licata

Dependently typed proof assistant rely crucially on definitional equality, which relates types and terms that are automatically identified in the underlying type theory. This paper extends type theory with definitional functor laws,…

编程语言 · 计算机科学 2024-04-10 Théo Laurent , Meven Lennon-Bertrand , Kenji Maillard

Interactive proof assistants are computer programs carefully constructed to check a human-designed proof of a mathematical claim with high confidence in the implementation. However, this only validates truth of a formal claim, which may…

编程语言 · 计算机科学 2022-05-17 Colin S. Gordon , Sergey Matskevich

The calculus of Dependent Object Types (DOT) has enabled a more principled and robust implementation of Scala, but its support for type-level computation has proven insufficient. As a remedy, we propose $F^\omega_{..}$, a rigorous…

编程语言 · 计算机科学 2021-07-06 Sandro Stucki , Paolo G. Giarrusso

This paper proposes an alternative to standard first-order logic that seeks greater naturalness, generality, and semantic self-containment. The system removes the first-order restriction, avoids type hierarchies, and dispenses with external…

逻辑 · 数学 2025-08-12 Mauro Avon

Our aim here is to illustrate how the benefits of structural corecursion can be found in a broader swath of the programming landscape than previously thought. Beginning from a tutorial on structural corecursion in the total, pure functional…

编程语言 · 计算机科学 2021-03-15 Paul Downen , Zena M. Ariola

First class type equalities, in the form of generalized algebraic data types (GADTs), are commonly found in functional programs. However, first-class representations of other relations between types, such as subtyping, are not yet directly…

编程语言 · 计算机科学 2019-05-17 Jeremy Yallop , Stephen Dolan

These notes present the essentials of first- and second-order monadic logics on strings with introductory purposes. We discuss Monadic First-Order logic and show that it is strictly less expressive than Finite-State Automata, in that it…

计算机科学中的逻辑 · 计算机科学 2023-01-26 Dino Mandrioli , Davide Martinenghi , Angelo Morzenti , Matteo Pradella , Matteo Rossi

The motivation for this paper comes out of our experience with teaching natural deduction (ND) and with the way this formal system is implemented by the \textsc{Coq} proof assistant, namely by means of so-called tactics, which are…

计算机与社会 · 计算机科学 2015-07-15 Favio E. Miranda-Perea , P. Selene Linares-Arévalo , Atocha Aliseda