中文
相关论文

相关论文: Dafny: Statically Verifying Functional Correctness

200 篇论文

Regular expressions are commonly understood in terms of their denotational semantics, that is, through formal languages -- the regular languages. This view is inductive in nature: two primitives are equivalent if they are constructed in the…

形式语言与自动机理论 · 计算机科学 2024-09-17 Stefan Zetzsche , Wojciech Rozowski

In the paper the problem of verification of functional programs (FPs) over strings is considered, where specifications of properties of FPs are defined by other FPs, and a FP S1 meets a specification defined by another FP S2 iff a…

计算机科学中的逻辑 · 计算机科学 2016-04-15 Andrew M. Mironov

We provide full certifications of two versions of merge sort of arrays in the verification-aware programming language Dafny. We start by considering schemas for applying the divide-and-conquer or partition method of solution to…

计算机科学中的逻辑 · 计算机科学 2025-09-03 Juan Pablo Carbonell , José E. Solsona , Nora Szasz , Álvaro Tasistro

Early stages of system development involve outlining desired features such as functionality, availability, or usability. Specifications are derived from these features that concretize vague ideas presented in natural languages. The…

软件工程 · 计算机科学 2014-10-09 Rongjie Yan , Chih-Hong Cheng , Guangquan Zhang , Yesheng Chai

This paper presents a focused literature survey on the use of large language models (LLM) to assist in writing formal specifications for software. A summary of thirty-five key papers is presented, including examples for specifying programs…

软件工程 · 计算机科学 2025-06-16 Arshad Beg , Diarmuid O'Donoghue , Rosemary Monahan

This paper analyses the security contribution of typical functional-language features by examining them in the light of accepted information security principles. Imperative and functional code are compared to illustrate various cases. In…

密码学与安全 · 计算机科学 2012-01-30 Yusuf Moosa Motara

We introduce DafnyCOMP, a benchmark for evaluating large language models (LLMs) on compositional specification generation in Dafny. Unlike prior benchmarks that focus on single-function tasks, DafnyCOMP targets programs composed of multiple…

编程语言 · 计算机科学 2025-09-30 Xu Xu , Xin Li , Xingwei Qu , Jie Fu , Binhang Yuan

We present the design, implementation, and foundation of a verifier for higher-order functional programs with generics and recursive data types. Our system supports proving safety and termination using preconditions, postconditions and…

计算机科学中的逻辑 · 计算机科学 2020-03-25 Jad Hamza , Nicolas Voirol , Viktor Kunčak

Formally verified compilers and formally verified static analyzers are a solution to the problem that certain industries face when they have to demonstrate to authorities that the object code they run truly corresponds to its source code…

计算机科学中的逻辑 · 计算机科学 2024-07-12 David Monniaux

We present a novel verification technique to prove interesting properties of a class of array programs with a symbolic parameter N denoting the size of arrays. The technique relies on constructing two slightly different versions of the same…

编程语言 · 计算机科学 2021-07-05 Supratik Chakraborty , Ashutosh Gupta , Divyesh Unadkat

This paper describes how to verify a parser for regular expressions in a functional programming language using predicate transformer semantics for a variety of effects. Where our previous work in this area focused on the semantics for a…

计算机科学中的逻辑 · 计算机科学 2020-05-05 Anne Baanen , Wouter Swierstra

Auto-active program verification rests on the ability to effectively the translation from annotated programs into verification conditions that are then discharged by automated theorem provers in the background. Characteristic such tools,…

计算机科学中的逻辑 · 计算机科学 2026-02-12 Gidon Ernst

Functional languages with strong static type systems have beneficial properties to help ensure program correctness and reliability. Surprisingly, their practical significance in applications is low relative to other languages lacking in…

编程语言 · 计算机科学 2016-12-05 Johannes Emerich

This dissertation discusses several problems loosely related, because they all involve a verification condition generator. The Boogie language is introduced; the architecture of a verification-generator is described. Then come more…

软件工程 · 计算机科学 2012-05-01 Radu Grigore

Formal software verification uses mathematical techniques to establish that software has certain properties. For example, that the behaviour of a software system satisfies certain logically-specified properties. Formal methods have a long…

软件工程 · 计算机科学 2019-03-12 Michael Winikoff

Highly automated theorem provers like Dafny allow users to prove simple properties with little effort, making it easy to quickly sketch proofs. The drawback is that such provers leave users with little control about the proof search,…

编程语言 · 计算机科学 2024-01-30 Son Ho , Clément Pit-Claudel

Large Language Models (LLMs) show promise in automated software engineering, yet their guarantee of correctness is frequently undermined by erroneous or hallucinated code. To enforce model honesty, formal verification requires LLMs to…

软件工程 · 计算机科学 2026-04-27 Md Erfan , Md Kamal Hossain Chowdhury , Ahmed Ryan , Md Rayhanur Rahman

Programs that process data that reside in files are widely used in varied domains, such as banking, healthcare, and web-traffic analysis. Precise static analysis of these programs in the context of software verification and transformation…

编程语言 · 计算机科学 2015-04-06 Raveendra Kumar Medicherla , Raghavan Komondoor , S. Narendran

Our research is part of a wider project that aims to investigate and reason about the correctness of scheme-based source code transformations of Erlang programs. In order to formally reason about the definition of a programming language and…

编程语言 · 计算机科学 2020-08-19 Péter Bereczky , Dániel Horpácsi , Simon Thompson

We describe several views of the semantics of a simple programming language as formal documents in the calculus of inductive constructions that can be verified by the Coq proof system. Covered aspects are natural semantics, denotational…

计算机科学中的逻辑 · 计算机科学 2007-07-10 Yves Bertot