中文
相关论文

相关论文: Type Classes and Constraint Handling Rules

200 篇论文

Liquid typing provides a decidable refinement inference mechanism that is convenient but subject to two major issues: (1) inference is global and requires top-level annotations, making it unsuitable for inference of modular code components…

编程语言 · 计算机科学 2019-10-31 Niki Vazou , Éric Tanter , David Van Horn

We propose an amortized analysis that approximates the resource usage of a Haskell expression. Using the plugin API of GHC, we convert the Haskell code into a simplified representation called GHC Core. We then apply a type-based system…

编程语言 · 计算机科学 2019-08-20 Franz Siglmüller

When scripts in untyped languages grow into large programs, maintaining them becomes difficult. A lack of explicit type annotations in typical scripting languages forces programmers to must (re)discover critical pieces of design information…

编程语言 · 计算机科学 2011-06-15 Sam Tobin-Hochstadt , Matthias Felleisen

When components of a system exchange data, they need to serialise the data so that it can be sent over the network. Then, the recipient has to deserialise the data in order to be able to process it. These steps take time and have an impact…

编程语言 · 计算机科学 2025-04-30 Arthur Jamet , Michael Vollmer

We propose a method for inferring \emph{parameterized regular types} for logic programs as solutions for systems of constraints over sets of finite ground Herbrand terms (set constraint systems). Such parameterized regular types generalize…

计算机科学中的逻辑 · 计算机科学 2010-02-16 F. Bueno , J. Navas , M. Hermenegildo

Higher-order logic HOL offers a very simple syntax and semantics for representing and reasoning about typed data structures. But its type system lacks advanced features where types may depend on terms. Dependent type theory offers such a…

计算机科学中的逻辑 · 计算机科学 2023-05-25 Colin Rothgang , Florian Rabe , Christoph Benzmüller

Constraint Handling Rules (CHR) have provided a realistic solution to an over-arching problem in many fields that deal with constraint logic programming: how to combine recursive functions or relations with constraints while avoiding…

计算与语言 · 计算机科学 2007-05-23 Gerald Penn

Liquid Haskell is an extension to the Haskell programming language that adds support for refinement types: data types augmented with SMT-decidable logical predicates that refine the set of values that can inhabit a type. Furthermore, Liquid…

编程语言 · 计算机科学 2021-10-12 Patrick Redmond , Gan Shen , Lindsey Kuper

This document specifies a core version of the type theory implemented in the Cedille tool. Cedille is a language for dependently typed programming and computer-checked proof. Cedille can elaborate source programs down to Cedille Core, which…

计算机科学中的逻辑 · 计算机科学 2018-11-06 Aaron Stump

We present a type theory combining both linearity and dependency by stratifying typing rules into a level for logics and a level for programs. The distinction between logics and programs decouples their semantics, allowing the type system…

编程语言 · 计算机科学 2025-10-08 Qiancheng Fu , Hongwei Xi

We present and formalize h, a core (or "plank") calculus that can serve as the foundation for several compiler specification languages, notably CRSX (Combinatory Reductions Systems with eXtensions), HACS (Higher-order Attribute Contraction…

编程语言 · 计算机科学 2017-11-10 Cynthia Kop , Kristoffer Rose

Statically typed languages offer significant advantages, such as bug prevention, enhanced code quality, and reduced maintenance costs. However, these benefits often come at the expense of a steep learning curve and a slower development…

人机交互 · 计算机科学 2024-05-22 Shuai Fu , Tim Dwyer , Peter J. Stuckey , John Grundy

We present an extension of System F with call-by-name exceptions. The type system is enriched with two syntactic constructs: a union type for programs whose execution may raise an exception at top level, and a corruption type for programs…

编程语言 · 计算机科学 2015-07-01 Sylvain Lebresne

We present a new technique called type targeted testing, which translates precise refinement types into comprehensive test-suites. The key insight behind our approach is that through the lens of SMT solvers, refinement types can also be…

编程语言 · 计算机科学 2017-08-29 Eric L. Seidel , Niki Vazou , Ranjit Jhala

Machine-learning automation tools, ranging from humble grid-search to hyperopt, auto-sklearn, and TPOT, help explore large search spaces of possible pipelines. Unfortunately, each of these tools has a different syntax for specifying its…

编程语言 · 计算机科学 2019-06-11 Martin Hirzel , Kiran Kate , Avraham Shinnar , Subhrajit Roy , Parikshit Ram

Constraint Handling Rules (CHR) is both an effective concurrent declarative constraint-based programming language and a versatile computational formalism. While conceptually simple, CHR is distinguished by a remarkable combination of…

编程语言 · 计算机科学 2017-01-11 Thom Fruehwirth

This paper advocates for the broader application of SMT solvers in everyday programming, challenging the conventional wisdom that these tools are solely for formal methods and verification. We claim that SMT solvers, when seamlessly…

编程语言 · 计算机科学 2025-09-19 Facundo Domínguez , Arnaud Spiwack

Refinement types -- types qualified with logical predicates -- have proven effective for lightweight verification in languages like Liquid Haskell, F*, and Dafny. However, in these systems refinements are either written in a separate…

编程语言 · 计算机科学 2026-05-12 Matt Bovel , Viktor Kunčak , Martin Odersky

Context: Tables are ubiquitous formats for data. Therefore, techniques for writing correct programs over tables, and debugging incorrect ones, are vital. Our specific focus in this paper is on rich types that articulate the properties of…

编程语言 · 计算机科学 2021-11-23 Kuang-Chen Lu , Ben Greenman , Shriram Krishnamurthi

Complementary-label learning (CLL) is a weakly supervised paradigm where instances are labeled with classes they do not belong to. Despite a decade of research, CLL methods remain competitive mainly on 10-class classification, with scaling…

机器学习 · 计算机科学 2026-05-19 Tan-Ha Mai , Chao-Kai Chiang , Han-Hwa Shih , Gang Niu , Masashi Sugiyama , Hsuan-Tien Lin