中文
相关论文

相关论文: Book review "The Haskell Road to Logic, Maths and …

200 篇论文

This paper is a tutorial introducing the underlying technology and the use of the tool Liquid Haskell, a type-checker for the functional language Haskell that can help programmers to verify non-trivial properties of their programs with a…

编程语言 · 计算机科学 2017-01-13 Ricardo Peña

Description Logic Programs (dl-programs) proposed by Eiter et al. constitute an elegant yet powerful formalism for the integration of answer set programming with description logics, for the Semantic Web. In this paper, we generalize the…

人工智能 · 计算机科学 2010-07-26 Yisong Wang , Jia-Huai You , Li Yan Yuan , Yi-Dong Shen

Large language models (LLMs) process and predict sequences containing text to answer questions, and address tasks including document summarization, providing recommendations, writing software and solving quantitative problems. We provide a…

数值分析 · 数学 2026-02-02 Ricardo Baptista , Andrew Stuart , Son Tran

Functors with an instance of the Traversable type class can be thought of as data structures which permit a traversal of their elements. This has been made precise by the correspondence between traversable functors and finitary containers…

计算机科学中的逻辑 · 计算机科学 2022-07-21 Gershom Bazerman

We found in Homotopy Type Theory (HoTT), a way of representing a first order version of intuitionistic logic (ICL), for intuitionistic calculational logic) where, instead of deduction trees, corresponding linear calculational formats are…

逻辑 · 数学 2019-08-01 Ernesto Acosta , Bernarda Aldana , Jaime Bohorquez

This essay considers the special character of mathematical reasoning, and draws on observations from interactive theorem proving and the history of mathematics to clarify the nature of formal and informal mathematical language. It proposes…

历史与综述 · 数学 2015-08-24 Jeremy Avigad

We present a novel approach for teaching logic and the metatheory of logic to students who have some experience with functional programming. We define concepts in logic as a series of functional programs in the language of the proof…

编程语言 · 计算机科学 2022-07-27 Frederik Krogsdal Jacobsen , Jørgen Villadsen

We present a statically typed embedding of relational programming (specifically a dialect of miniKanren with disequality constraints) in Haskell. Apart from handling types, our dialect extends standard relational combinator repertoire with…

编程语言 · 计算机科学 2024-09-02 Nikolai Kudasov , Artem Starikov

We introduce a non-wellfounded proof system for intuitionistic logic extended with inductive and co-inductive definitions, based on a syntax in which fixpoint formulas are annotated with explicit variables for ordinals. We explore the…

计算机科学中的逻辑 · 计算机科学 2026-05-13 Sebastian Enqvist

We introduce an extension of first-order logic that comes equipped with additional predicates for reasoning about an abstract state. Sequents in the logic comprise a main formula together with pre- and postconditions in the style of Hoare…

计算机科学中的逻辑 · 计算机科学 2024-08-07 Thomas Powell

Complex reasoning aims to draw a correct inference based on complex rules. As a hallmark of human intelligence, it involves a degree of explicit reading comprehension, interpretation of logical knowledge and complex rule application. In…

计算与语言 · 计算机科学 2021-08-03 Siyuan Wang , Zhongkun Liu , Wanjun Zhong , Ming Zhou , Zhongyu Wei , Zhumin Chen , Nan Duan

Type classes are a popular tool for implementing generic algorithms and data structures without loss of efficiency, bridging the gap between parametric and ad-hoc polymorphism. Since their initial development in Haskell, they now feature…

编程语言 · 计算机科学 2025-03-03 Dimi Racordon , Eugene Flesselle , Cao Nguyen Pham

G\"odel's Dialectica interpretation is a fundamental tool for the extraction of computational content from proofs, and plays a central role in today's proof mining program. In the past decades, it has also been studied from the perspective…

计算机科学中的逻辑 · 计算机科学 2025-12-10 Davide Barbarossa , Thomas Powell

We develop a simple functional programming language aimed at manipulating infinite, but first-order definable structures, such as the countably infinite clique graph or the set of all intervals with rational endpoints. Internally, such sets…

编程语言 · 计算机科学 2016-04-06 Bartek Klin , Michał Szynwelski

The use of logical systems for problem-solving may be as diverse as in proving theorems in mathematics or in figuring out how to meet up with a friend. In either case, the problem solving activity is captured by the search for an…

计算机科学中的逻辑 · 计算机科学 2023-03-28 Alexander V. Gheorghiu , David J. Pym

Currently it is widely accepted that the language of science is mathematics. This book explores an alternative idea where the future of science is based on the language of algorithms and programs. How such a language can actually be…

计算机科学中的逻辑 · 计算机科学 2020-11-06 Garry Pantelis

We advocates here the use of (mathematical) logic for systems biology, as a unified framework well suited for both modeling the dynamic behaviour of biological systems, expressing properties of them, and verifying these properties. The…

计算机科学中的逻辑 · 计算机科学 2017-01-19 Joëlle Despeyroux

Elaboration-based type class resolution, as found in languages like Haskell, Mercury and PureScript, is generally nondeterministic: there can be multiple ways to satisfy a wanted constraint in terms of global instances and locally given…

编程语言 · 计算机科学 2019-07-16 Gert-Jan Bottu , Ningning Xie , Koar Marntirosian , Tom Schrijvers

Teaching proofs is a crucial component of any undergraduate-level program that covers formal reasoning. We have developed a calculational reasoning format and refined it over several years of teaching a freshman-level course, "Logic and…

计算机科学中的逻辑 · 计算机科学 2023-11-16 Andrew T. Walter , Ankit Kumar , Panagiotis Manolios

We advocate a declarative approach to proving properties of logic programs. Total correctness can be separated into correctness, completeness and clean termination; the latter includes non-floundering. Only clean termination depends on the…

计算机科学中的逻辑 · 计算机科学 2011-10-25 W. Drabent , M. Milkowska