The Faultless Way of Programming : Principles, Patterns, Practices, and Peculiarities for Verification in Dafny

There is one faultless way of programming. It uses computer intelligence to validate computer code: formal verification. Yet for developers this faultless approach has remained alien, incomprehensible, and many miss out on its proven benefits. This set of patterns introduces Dafny to developers. Dafny provides a powerful way to incorporate formal verification into software that is integrated with languages like Java and C#, generating code that is provably free from defects and problems. The patterns range from the Dafny design philosophy to concepts like ghost variables and implementation details such as the use of generative artificial intelligence. By offering an accessible approach to a difficult subject, they support developers in producing faultless code.

Publication Details

Journal
Lancaster EPrints (Lancaster University)
Published
2024-12-10
Primary Topic
Superconducting and THz Device Technology
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Faultless Way of Programming : Principles, Patterns, Practices, and Peculiarities for Verification in Dafny

Lancaster EPrints (Lancaster University)
Superconducting and THz Device Technology
article

The Faultless Way of Programming : Principles, Patterns, Practices, and Peculiarities for Verification in Dafny

article en

Abstract

There is one faultless way of programming. It uses computer intelligence to validate computer code: formal verification. Yet for developers this faultless approach has remained alien, incomprehensible, and many miss out on its proven benefits. This set of patterns introduces Dafny to developers. Dafny provides a powerful way to incorporate formal verification into software that is integrated with languages like Java and C#, generating code that is provably free from defects and problems. The patterns range from the Dafny design philosophy to concepts like ghost variables and implementation details such as the use of generative artificial intelligence. By offering an accessible approach to a difficult subject, they support developers in producing faultless code.

Lancaster EPrints (Lancaster University)
Royal Society Te Apārangi, Marsden Fund
Peace, Justice and strong institutions
Openalex Percentile: Top 51%
Superconducting and THz Device Technology
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.