Skip to main content
European Commission logo
English English
CORDIS - EU research results
CORDIS

LiquidEff: Algebraic Foundations for Liquid Effects

Project description

Novel approaches help software behave 'correctly'

It is often said that we learn the most when we make mistakes – this forces us to think deeply about how something works. Similarly, when it comes to programming, it is much easier to fix a bug when it produces an error than to ensure our programme handles all possible exceptions a priori. Given the importance, both practical and financial, of foreseeing all possible outcomes and accounting for them, numerous approaches exist to ensure programmes do not fail. However, there is plenty of room for improvement, and there are many economic incentives leading us in that direction. The EU-funded LiquidEff project is developing an extension to the Eff programming language to significantly improve the handling of Big Data.

Objective

The goal of the LiquidEff project is to significantly advance the state of the art of type-based reasoning about the correctness of programs that can incorporate computational effects such as accessing memory, raising and handling exceptions, making nondeterministic and probabilistic choices, and communicating over a network---all integral features of modern mainstream programming languages. The timeliness and importance of this project is demonstrated by the staggering cost of software failure in our increasingly digital world---one recent study put the number at $1.7 trillion worldwide in 2017 alone. While there already exist different approaches to type-based reasoning about the correctness of effectful programs, they all have their notable shortcomings: the approaches might be tied to a specific typing discipline, the supported effects can be limited, and the kind of properties one can reason about may be restricted. In contrast, the LiquidEff project aims to develop a foundational, uniform, and widely applicable framework for type-based reasoning about effectful programs, based on the highly scalable and modular algebraic approach to modelling computational effects. Specifically, this project will 1) develop an expressive modal logic for reasoning about a wide range of computational effects; 2) show that this logic can express existing effect specification styles; 3) demonstrate that it can be used to design refinement type systems for lightweight type-based reasoning about effectful behaviour, thus giving a general account of the Liquid Effects effect-typing discipline that so far has been restricted to the state effect; 4) study the category-theoretic semantics of these foundations; 5) implement LiquidEff, an extension of the Eff language with a support for lightweight type-level reasoning about programs' behaviour; and 6) use LiquidEff to apply the developed theory in practice to case studies involving big data and asynchronous parallel programming.

Coordinator

UNIVERZA V LJUBLJANI
Net EU contribution
€ 150 040,32
Address
KONGRESNI TRG 12
1000 Ljubljana
Slovenia

See on map

Region
Slovenija Zahodna Slovenija Osrednjeslovenska
Activity type
Higher or Secondary Education Establishments
Links
Total cost
€ 150 040,32