中文
相关论文

相关论文: Practical Datatype Specializations with Phantom Ty…

200 篇论文

Interpreting data is central to modern research. Large language models (LLMs) show promise in providing such natural language interpretations of data, yet simple feature extraction methods such as prompting often fail to produce accurate…

人工智能 · 计算机科学 2025-05-30 Michal Bravansky , Vaclav Kubon , Suhas Hariharan , Robert Kirk

Structured recursion schemes have been widely used in constructing, optimising, and reasoning about programs over inductive and coinductive datatypes. Their plain forms, catamorphisms and anamorphisms, are restricted in expressiveness. Thus…

编程语言 · 计算机科学 2022-06-28 Zhixuan Yang , Nicolas Wu

Subtyping is a crucial ingredient of session type theory and its applications, notably to programming language implementations. In this paper, we study effective ways to check whether a session type is a subtype of another by applying a…

计算机科学中的逻辑 · 计算机科学 2015-10-26 Julien Lange , Nobuko Yoshida

Dynamic languages are praised for their flexibility and expressiveness, but static analysis often yields many false positives and verification is cumbersome for lack of structure. Hence, unit testing is the prevalent incomplete method for…

编程语言 · 计算机科学 2015-02-06 Robert Jakob , Peter Thiemann

The pattern-match safety problem is to verify that a given functional program will never crash due to non-exhaustive patterns in its function definitions. We present a refinement type system that can be used to solve this problem. The…

编程语言 · 计算机科学 2020-11-26 Eddie Jones , Steven Ramsay

Anomalies are occurrences in a dataset that are in some way unusual and do not fit the general patterns. The concept of the anomaly is typically ill-defined and perceived as vague and domain-dependent. Moreover, despite some 250 years of…

数据库 · 计算机科学 2023-05-30 Ralph Foorthuis

The strength of machine learning models stems from their ability to learn complex function approximations from data; however, this strength also makes training deep neural networks challenging. Notably, the complex models tend to memorize…

计算机视觉与模式识别 · 计算机科学 2023-04-17 Mofassir ul Islam Arif , Mohsan Jameel , Josif Grabocka , Lars Schmidt-Thieme

Design patterns are elegant and well-tested solutions to recurrent software development problems. They are the result of software developers dealing with problems that frequently occur, solving them in the same or a slightly adapted way. A…

软件工程 · 计算机科学 2019-03-25 Hannes Thaller , Lukas Linsbauer , Alexander Egyed

In this paper we present a new static data type inference algorithm for logic programming. Without the need of declaring types for predicates, our algorithm is able to automatically assign types to predicates which, in most cases,…

编程语言 · 计算机科学 2021-08-17 João Barbosa , Mário Florido , Vítor Santos Costa

We introduce a new compile-time notion of type subsumption based on type simulation. We show how to apply this static subsumption relation to support a more intuitive, object oriented approach to generic programming of reusable, high…

编程语言 · 计算机科学 2011-02-17 Wouter Kuijper , Michael Weber

Refinement types turn typechecking into lightweight verification. The classic form of refinement type is the datasort refinement, in which datasorts identify subclasses of inductive datatypes. Existing type systems for datasort refinements…

编程语言 · 计算机科学 2020-11-17 Jana Dunfield

Detecting design pattern instances in unfamiliar codebases remains a challenging yet essential task for improving software quality and maintainability. Traditional static analysis tools often struggle with the complexity, variability, and…

软件工程 · 计算机科学 2025-02-26 Christian Schindler , Andreas Rausch

Pointer analysis is a fundamental static program analysis for computing the set of objects that an expression can refer to. Decades of research has gone into developing methods of varying precision and efficiency for pointer analysis for…

编程语言 · 计算机科学 2021-10-07 K. Tuncay Tekle , Yanhong A. Liu

Inductive datatypes in programming languages allow users to define useful data structures such as natural numbers, lists, trees, and others. In this paper we show how inductive datatypes may be added to the quantum programming language QPL.…

计算机科学中的逻辑 · 计算机科学 2021-03-19 Romain Péchoux , Simon Perdrix , Mathys Rennela , Vladimir Zamdzhiev

We present a prescriptive type system with parametric polymorphism and subtyping for constraint logic programs. The aim of this type system is to detect programming errors statically. It introduces a type discipline for constraint logic…

编程语言 · 计算机科学 2009-09-29 Francois Fages , Emmanuel Coquery

Program specialization is a program transformation methodology which improves program efficiency by exploiting the information about the input data which are available at compile time. We show that current techniques for program…

编程语言 · 计算机科学 2007-05-23 Alberto Pettorossi , Maurizio Proietti , Sophie Renault

Typology is a subfield of linguistics that focuses on the study and classification of languages based on their structural features. Unlike genealogical classification, which examines the historical relationships between languages, typology…

计算与语言 · 计算机科学 2025-04-30 Gerhard Jäger

We consider the task of performing probabilistic inference with probabilistic logical models. Many algorithms for approximate inference with such models are based on sampling. From a logic programming perspective, sampling boils down to…

人工智能 · 计算机科学 2015-03-19 Daan Fierens

Designing a static analysis is generally a substantial undertaking, requiring significant expertise in both program analysis and the domain of the program analysis, and significant development resources. As a result, most program analyses…

编程语言 · 计算机科学 2018-10-17 Colin S. Gordon

We present an elaboration of inductive definitions down to a universe of datatypes. The universe of datatypes is an internal presentation of strictly positive families within type theory. By elaborating an inductive definition -- a…

编程语言 · 计算机科学 2012-11-01 Pierre-Evariste Dagand , Conor McBride