CORDIS
EU research results

CORDIS

English EN

Principles and Methods to Verify OCaml Programs

Project information

Grant agreement ID: 897873

Status

Ongoing project

  • Start date

    1 June 2020

  • End date

    31 May 2022

Funded under:

H2020-EU.1.3.2.

  • Overall budget:

    € 147 815,04

  • EU contribution

    € 147 815,04

Coordinated by:

UNIVERSIDADE NOVA DE LISBOA

Portugal

Objective

Deductive software verification, a subject within the broader field of formal methods, proposes a very ambitious path: to turn the correctness of a computer program into a mathematical statement, and then prove it. This project aims to develop a deductive verification framework, with a clear focus on proof automation, that directly tackles the verification of OCaml-written programs.
OCaml seems to be particularly good target for verification. On one hand, it is the language of choice for the implementation of sensible software such as proof assistants, automated solvers, and compilers. On the other hand, OCaml is a multi-paradigm language, supporting both the functional and imperative paradigm, one can write clean, concise, type-safe, and efficient code. Yet, a verification tool that can handle hand-written code and is mostly automated does not currently exist. OCaml programmers must chose between proof automation, with the price of learning and programming in a verification-aware language, and then perform code extraction, or tools that require manual proof assistance.
The Cameleer project aims to remedy this situation by providing the tools and principles for the verification of OCaml programs. The main outcome of this project is a powerful, usable, and mostly automated verification framework for the OCaml-written code. This will be a major step towards making verification more accessible to OCaml programmers, even in case they are not verification experts. The Cameleer framework will feature a translation of OCaml programs annotated with specifications written in GOSPEL, a recently proposed specification language, to different intermediate verification languages, namely WhyML, Viper, and Coq. This coexistence of multiple intermediate verification infrastructures allows the devised framework to target the verification of a large subset of OCaml programs, while combining the strengths of each individual intermediate language to obtain better verification results.

Coordinator

UNIVERSIDADE NOVA DE LISBOA

Address

Campus De Campolide
1099 085 Lisboa

Portugal

Activity type

Higher or Secondary Education Establishments

EU Contribution

€ 147 815,04

Project information

Grant agreement ID: 897873

Status

Ongoing project

  • Start date

    1 June 2020

  • End date

    31 May 2022

Funded under:

H2020-EU.1.3.2.

  • Overall budget:

    € 147 815,04

  • EU contribution

    € 147 815,04

Coordinated by:

UNIVERSIDADE NOVA DE LISBOA

Portugal