中文
相关论文

相关论文: Functions as types or the "Hoare logic" of functio…

200 篇论文

We describe a new logical data model, called the concept-oriented model (COM). It uses mathematical functions as first-class constructs for data representation and data processing as opposed to using exclusively sets in conventional…

数据库 · 计算机科学 2019-11-19 Alexandr Savinov

In this paper we describe how to leverage higher-order unification to type check a dependently typed language with meta-variables. The literature usually presents the unification algorithm as a standalone component, however the need to…

编程语言 · 计算机科学 2016-10-03 Francesco Mazzoli , Andreas Abel

We present a novel dependent linear type theory in which the multiplicity of some variable-i.e., the number of times the variable can be used in a program-can depend on other variables. This allows us to give precise resource annotations to…

编程语言 · 计算机科学 2026-05-20 Maximilian Doré

Refinement types are a well-studied manner of performing in-depth analysis on functional programs. The dependency pair method is a very powerful method used to prove termination of rewrite systems; however its extension to higher order…

计算机科学中的逻辑 · 计算机科学 2011-01-25 Cody Roux

With distributed computing and mobile applications, synchronizing diverging replicas of data structures is a more and more common problem. We use algebraic methods to reason about filesystem operations, and introduce a simplified definition…

分布式、并行与集群计算 · 计算机科学 2018-07-24 Elod Pal Csirmaz

We present a case study in applied category theory written from the point of view of an applied domain: the formalization of the widely-used property graphs data model in an enterprise setting using elementary constructions from type theory…

数据库 · 计算机科学 2022-07-22 Joshua Shinavier , Ryan Wisnesky , Joshua G. Meyers

Dependently typed languages are well known for having a problem with code reuse. Traditional non-indexed algebraic datatypes (e.g. lists) appear alongside a plethora of indexed variations (e.g. vectors). Functions are often rewritten for…

编程语言 · 计算机科学 2018-07-11 Larry Diehl , Denis Firsov , Aaron Stump

The logic of hereditary Harrop formulas (HH) has proven useful for specifying a wide range of formal systems. This logic includes a form of hypothetical judgment that leads to dynamically changing sets of assumptions and that is key to…

计算机科学中的逻辑 · 计算机科学 2013-08-06 Yuting Wang , Kaustuv Chaudhuri , Andrew Gacek , Gopalan Nadathur

Hoare-style inference rules for program constructs permit the copying of expressions and tests from program text into logical contexts. It is known that this requires care even for sequential programs but much more serious issues arise with…

计算机科学中的逻辑 · 计算机科学 2025-12-01 Ian J. Hayes , Cliff B. Jones , Larissa A. Meinicke

Unifying theories distil common features of programming languages and design methods by means of algebraic operators and their laws. Several practical concerns --- e.g., improvement of a program, conformance of code with design, correctness…

计算机科学中的逻辑 · 计算机科学 2019-07-26 David A. Naumann , Minh Ngo

We introduce a quantitative relational Hoare logic for quantum programs. Assertions of the logic range over a new infinitary extension of positive semidefinite operators. We prove that our logic is sound, and complete for bounded…

计算机科学中的逻辑 · 计算机科学 2025-01-28 Gilles Barthe , Minbo Gao , Theo Wang , Li Zhou

Adjoint logic is a general approach to combining multiple logics with different structural properties, including linear, affine, strict, and (ordinary) intuitionistic logics, where each proposition has an intrinsic mode of truth. It has…

计算机科学中的逻辑 · 计算机科学 2024-02-05 Junyoung Jang , Sophia Roshal , Frank Pfenning , Brigitte Pientka

Several approaches exist to data-mining big corpora of formal proofs. Some of these approaches are based on statistical machine learning, and some -- on theory exploration. However, most are developed for either untyped or simply-typed…

编程语言 · 计算机科学 2017-05-23 Ekaterina Komendantskaya , Jonathan Heras

In this paper we develop an algebraic approach to data integration by combining techniques from functional programming, category theory, and database theory. In our formalism, database schemas and instances are algebraic (multi-sorted…

数据库 · 计算机科学 2025-03-31 Patrick Schultz , Ryan Wisnesky

This talk describes how a combination of symbolic computation techniques with first-order theorem proving can be used for solving some challenges of automating program analysis, in particular for generating and proving properties about the…

编程语言 · 计算机科学 2017-04-17 Laura Kovacs

Temporal logic provided an appealing approach to specifying properties of operating systems and other "reactive" software by allowing propositions to be qualified by "when" they must be true. This paper shows how to get the same effect,…

计算机科学中的逻辑 · 计算机科学 2026-01-16 Victor Yodaiken

Logic can be made useful for programming and for databases independently of logic programming. To be useful in this way, logic has to provide a mechanism for the definition of new functions and new relations on the basis of those given in…

计算机科学中的逻辑 · 计算机科学 2014-12-30 M. H. van Emden

There are various kinds of type analysis of logic programs. These include for example inference of types that describe an over-approximation of the success set of a program, inference of well-typings, and abstractions based on given types.…

编程语言 · 计算机科学 2007-05-23 Kim Henriksen , John Gallagher

We present a lightweight approach to Hoare-style specifications for fine-grained concurrency, based on a notion of time-stamped histories that abstractly capture atomic changes in the program state. Our key observation is that histories…

计算机科学中的逻辑 · 计算机科学 2014-10-02 Ilya Sergey , Aleksandar Nanevski , Anindya Banerjee

Proof assistants and programming languages based on type theories usually come in two flavours: one is based on the standard natural deduction presentation of type theory and involves eliminators, while the other provides a syntax in…

计算机科学中的逻辑 · 计算机科学 2015-07-30 Nicolas Guenot , Daniel Gustafsson