中文
相关论文

相关论文: Refinement Types for Ruby

200 篇论文

Dependent types help programmers write highly reliable code. However, this reliability comes at a cost: it can be challenging to write new prototypes in (or migrate old code to) dependently-typed programming languages. Gradual typing makes…

编程语言 · 计算机科学 2019-08-23 Joseph Eremondi , Éric Tanter , Ronald Garcia

To derive a program for a given specification R means to find an artifact P that satisfies two conditions: P is executable in some programming language; and P is correct with respect to R. Refinement-based program derivation achieves this…

软件工程 · 计算机科学 2018-10-24 Marwa Benabdelali , Lamia Labed Jilani , Wided Ghardallou , Ali Mili

Retrieval-augmented generation (RAG) enhances large language models (LLMs) by integrating external knowledge retrieved from a knowledge base. However, its effectiveness is fundamentally constrained by the reliability of both the retriever…

计算与语言 · 计算机科学 2025-01-31 Yiteng Tu , Weihang Su , Yujia Zhou , Yiqun Liu , Qingyao Ai

Large language models (LLMs) have demonstrated remarkable evaluation and critique capabilities, providing insightful feedback and identifying flaws in various tasks. However, limited research has explored which types of critiques are most…

计算与语言 · 计算机科学 2025-06-30 Tianshu Yu , Chao Xiang , Mingchuan Yang , Pei Ke , Bosi Wen , Cunxiang Wang , Jiale Cheng , Li Zhang , Xinyu Mu , Chuxiong Sun , Minlie Huang

For several years, hardware design has been undergoing a surprising revival: fueled by open source initiatives, various tools and architectures have recently emerged. This resurgence also involves new hardware description languages.…

硬件体系结构 · 计算机科学 2020-04-22 Jean-Christophe Le Lann , Hannah Badier , Florent Kermarrec

Automation in software engineering increasingly relies on large language models (LLMs) to generate, review, and assess code artifacts. However, establishing LLMs as reliable evaluators remains an open challenge: human evaluations are…

软件工程 · 计算机科学 2025-08-06 Ora Nova Fandina , Eitan Farchi , Shmulik Froimovich , Rami Katan , Alice Podolsky , Orna Raz , Avi Ziv

Functional Programming has seen a resurgence in interest in the last few years and is often mentioned in opposition to Object-Orientated Programming. However, Object-Orientated Programming can actually absorb some of the lessons of…

编程语言 · 计算机科学 2021-04-02 Seamus Brady

Multiparty message-passing protocols are notoriously difficult to design, due to interaction mismatches that lead to errors such as deadlocks. Existing protocol specification formats have been developed to prevent such errors (e.g.…

编程语言 · 计算机科学 2024-08-12 Vassor Martin , Yoshida Nobuko

To evaluate code large language models (LLMs), research has relied on a few small manually curated benchmarks, such as HumanEval and MBPP, which represent a narrow part of the real-world software domains. In this work, we introduce…

软件工程 · 计算机科学 2024-05-28 Miltiadis Allamanis , Sheena Panthaplackel , Pengcheng Yin

Type refinements combine the compositionality of typechecking with the expressivity of program logics, offering a synergistic approach to program verification. In this paper we apply dependent type refinements to SAX, a futures-based…

编程语言 · 计算机科学 2024-02-14 Siva Somayyajula , Frank Pfenning

Large language models (LLMs) have significantly advanced natural language processing, excelling in areas like text generation, summarization, and question-answering. Despite their capabilities, these models face challenges when fine-tuned…

计算与语言 · 计算机科学 2024-12-23 Ali Hamdi , Hozaifa Kassab , Mohamed Bahaa , Marwa Mohamed

As large language models (LLMs) continue to advance, their deployment often involves fine-tuning to enhance performance on specific downstream tasks. However, this customization is sometimes accompanied by misleading claims about the…

人工智能 · 计算机科学 2025-05-27 Hongyu Liang , Yuting Zheng , Yihan Li , Yiran Zhang , Shiyu Liang

Formal verification via theorem proving enables the expressive specification and rigorous proof of software correctness, but it is difficult to scale due to the significant manual effort and expertise required. While Large Language Models…

软件工程 · 计算机科学 2025-10-30 Minghai Lu , Zhe Zhou , Danning Xie , Songlin Jia , Benjamin Delaware , Tianyi Zhang

Large Language Models (LLMs) are showing remarkable performance in generating source code, yet the generated code often has issues like compilation errors or incorrect code. Researchers and developers often face wasted effort in…

软件工程 · 计算机科学 2026-03-26 Ravin Ravi , Dylan Bradshaw , Stefano Ruberto , Gunel Jahangirova , Valerio Terragni

Formal verification can provably guarantee the correctness of critical system software, but the high proof burden has long hindered its wide adoption. Recently, Large Language Models (LLMs) have shown success in code analysis and synthesis.…

形式语言与自动机理论 · 计算机科学 2023-11-27 Jianan Yao , Ziqiao Zhou , Weiteng Chen , Weidong Cui

Runtime verification is an effective automated method for specification-based offline testing and analysis as well as online monitoring of complex systems. The specification language is often a variant of regular expressions or a popular…

计算机科学中的逻辑 · 计算机科学 2014-11-11 Ramy Medhat , Yogi Joshi , Borzoo Bonakdarpour , Sebastian Fischmeister

Reinforcement learning with verifiable rewards (RLVR) is a promising approach for improving code generation in large language models, but its effectiveness is limited by weak and static verification signals in existing coding RL datasets.…

计算与语言 · 计算机科学 2026-03-16 Chi Ruan , Dongfu Jiang , Huaye Zeng , Ping Nie , Wenhu Chen

This paper reports our experience of providing lightweight correctness guarantees to an open-source Rust OS, Theseus. First, we report new developments in intralingual design that leverage Rust's type system to enforce additional invariants…

操作系统 · 计算机科学 2025-01-03 Ramla Ijaz , Kevin Boos , Lin Zhong

Motivated by the response pattern for property specifications and applications within flexible workflow management systems, we report upon an initial study of modal and mixed transition systems in which the must transitions are interpreted…

计算机科学中的逻辑 · 计算机科学 2012-07-19 Marco Carbone , Thomas Hildebrandt , Gian Perrone , Andrzej Wąsowski

The refinement calculus provides a methodology for transforming an abstract specification into a concrete implementation, by following a succession of refinement rules. These rules have been mechanized in theorem-provers, thus providing a…

软件工程 · 计算机科学 2011-12-02 Andreas Griesmayer , Zhiming Liu , Charles Morisset , Shuling Wang