Skip to main content
Gateway to Research (GTR)

This is a new service – your feedback (opens in new tab) will help us to improve it.

Back

Important

If you use the GtR API

GtR has a new application programming interface (API).

If you use the previous API, you will need to update your tools.

Find out how you can get started with the new API
Project

Verification of Concurrent and Higher-Order Recursive Programs

Funded value:
£469,676.55
Funded period:
1 May 2013 to 30 April 2018
Funder:
Engineering and Physical Sciences Research Council (EPSRC)
Project status:
Closed
Project category:
Fellowship
Project reference:
EP/K009907/1
Lead research organisation:
Royal Holloway University of London
Fellow:
Matthew Hague

Contents

Overview

Abstract

Global society increasingly relies on devices controlled by software, from TV sets to vehicle braking systems. It is considered a "fact-of-life" that software contains errors, which can come at great cost, such as the Mars Polar Lander crash or the 1992 failure of the London Ambulance Dispatch Service. In a 2008 study, the US NIST agency estimates faulty software costs the US economy $59.5bn annually.

Classically software is tested by running it under as many difficult situations as possible. However, it is not feasible to run a program under all environments. Hence, testing relies on the perspicacity of the testing engineer who must carefully choose environments that may expose flaws.

Modern computers increase performance by allowing many computer programs to run concurrently. Anticipating the interactions of even as a little as two programs is an extremely difficult task, and errors are often difficult to replicate and diagnose. Furthermore, the efficiency of hardware is often increased by permitting behaviours a software developer would not expect.

An alternative approach to ensuring correctness is model-checking. Model-checking attempts to use fully automatic techniques to prove that a program behaves as expected under all conditions. This area has flourished recently, including a 2007 Turing Award for Clarke, Emerson and Sifakis, who transformed the technique from a theoretical pursuit into an industrially applicable product. Model-checking is embraced by companies like Microsoft (to improve its Windows OS) and Altran-Praxis (for safety-critical software).

However, model-checkers must rely on simplified models of computer programs to guarantee results, leading to many correct programs being labelled erroneous. This is a design choice, following the argument that it it better to raise a false alarm, than let an error pass by.

However, a large number of false alarms damage reliability and usability --- a software developer will not study reported errors carefully if the majority are, in fact, not errors at all. This is a real problem in the large scale deployment of such tools. The goal of this fellowship is to increase the precision of verification tools --- reducing the number of false alarms --- while retaining the efficiency of current techniques, resulting in model-checking tools that are more reliable and usable.

During this fellowship, we will construct a state-of-the-art verification framework, unifying several prototypical tools and requiring novel model-checking techniques, and permitting new ideas to be experimented with quickly. The framework will be tested on real-world software to ensure its usability and reliability. It will accurately model difficult programming paradigms, such as modern concurrent behaviours and "higher-order" constructs (increasingly embraced by state-of-the-art programming languages).

The research will be carried out at Imperial College London, and will bring together researchers at Oxford University, Universite Paris-Est, and Universite Paris-Diderot as well as the CARP project, based across several universities and companies world-wide, and researchers at Microsoft Research, Cambridge.

Planned impact

It is well known that the majority of the software development effort goes on maintenance and bug repair. The use of verification techniques during development reduces the prevalence of errors, and thus, reduces development time. In addition to the speed of delivery, the use of verification techniques allows companies to provide improved support and maintenance packages.

UK companies will benefit from the results of this fellowship in two ways. First, since the framework is developed in the UK, they will have easy face-to-face access to the development team. Secondly, by educating UK students about the tools, UK companies will benefit from improved programming practices in the graduates they employ. Especially as concurrent programming becomes more important, having techniques to quickly identify concurrency bugs (which are difficult to find and reproduce, yet simple to make) will be an enormous advantage.

Furthermore, software is ubiquitous in modern society. Thus, the erroneous nature of programming projects affects everyone in many ways, ranging from minor annoyances when a laptop has to be rebooted, to weaknesses exploitable by writers of malevolent software, business critical software such as web-services, and more potentially more serious situations with safety critical software, such as car braking systems. An improved quality of software will have a wide benefit.

The impact of the fellowship will be ensured through a number of means.

First, in addition to enabling cutting-edge research, the construction of a model-checking framework will unify many related research activities under a single name. This will promote recognition and awareness of the framework by stakeholders, facilitating communication outside of academia.

The framework itself will take as input programs written in suitable languages, such as Java and C++, and produce useful output, rather than the ``expert-only'' output produced by prototypical tools. This is a facility demanded by potential industrial partners who will not tolerate a ``by-hand'' modelling process. By providing these features, the ease-of-use of verification tools will be assured, allowing new ideas to be tried by non-expert users in both the industrial and open-source communities.

To ensure the distribution of the framework, and its real-world applicability, we will first ensure that a web-site is set up. This site will provide the downloads of the framework, instructions for users, and bug-reporting/feature request facilities. Then, we will experiment with the framework on open-source software, such as Linux. The results of these experiments can then be communicated to the software developers --- for example, through bug reports, if bugs are found. This communication will raise awareness of our tools and we will encourage software developers to try the tools themselves, providing valuable feedback for further improvements. In addition, we may analyse open-source code produced by companies as a pathway into industry.

Experiments with open-source software will demonstrate the effectiveness of the framework. These results will be used when contacting software companies who will be interested in using our tools. Initially this may include firms such as Microsoft who are already involved in developing verification tools of their own. Further companies may be approached during, for example, industry liaison events held at Imperial, or directly.

Finally, as a keen teacher, on completion of the fellowship, I will seek to present lecture courses on verification. By exposing students to model-checking techniques and tools, the next generation of programmers will be equipped to transport these techniques to their future work environment. This take-up, I believe, will increase as tools become more accurate and scalable, and as the difficulties in concurrent programming become a daily issue for developers.

Last updated: 2 November 2026