Certified Refinement Types

CRETE aims to develop a sound and practical refinement type system for mainstream languages, enabling reliable verification of real-world applications like web and cryptographic protocols.

Subsidie
€ 1.500.000
2022

Projectdetails

Introduction

Refinement types are a type-based, static verification technique designed to be practical. They enrich the types of an existing programming language with logical predicates to specify program properties and automatically validate these specifications using SMT solvers.

Adoption of Refinement Types

Refinement types are a promising verification technology that in the last decade has spread to mainstream languages (e.g., Haskell, C, Ruby, Scala, and the ML-family) to verify sophisticated properties of real-world applications, such as:

  • Safety of cryptographic protocols
  • Memory and resource usage
  • Web security

Limitations of Refinement Types

The weakness of refinement types is that they do not meet the soundness standards set by theorem provers. A sound verification system accepts as safe only those programs that never violate their specifications.

Refinement type checkers (e.g., Liquid Haskell, F*, and Stainless) approximately report five unsoundness bugs per year, as opposed to only one reported by the Coq theorem prover. This rarity of unsoundness bugs in Coq is unsurprising since Coq is designed to soundly machine check mathematical proofs.

Challenges in Applying Coq's Design

Coq's soundness design recipe, however, cannot be directly applied to refinement type checkers that aim to practically verify real-world programs.

Project Goal

The goal of CRETE is to design a sound and practical refinement type system.

Ambitious Objectives

This is an ambitious goal that entails the development of a verification system that is as practical as refinement types and constructs machine-checked mathematical proofs. The system will be implemented on refinement type systems for mainstream languages (i.e., Haskell and Rust) and will be evaluated on real-world code, such as web applications and cryptographic protocols.

Risk and Reward

CRETE is high-risk since it aims to develop a novel program logic in which SMT automation co-exists with real-world programming. Yet, CRETE is high-gain since it proposes a low-cost, high-profit approach to formal verification that aims to be integrated into mainstream software development.

Financiële details & Tijdlijn

Financiële details

Subsidiebedrag€ 1.500.000
Totale projectbegroting€ 1.500.000

Tijdlijn

Startdatum1-7-2022
Einddatum30-6-2027
Subsidiejaar2022

Partners & Locaties

Projectpartners

  • FUNDACION IMDEA SOFTWAREpenvoerder

Land(en)

Spain

Vergelijkbare projecten binnen European Research Council

ERC STG

MANUNKIND: Determinants and Dynamics of Collaborative Exploitation

This project aims to develop a game theoretic framework to analyze the psychological and strategic dynamics of collaborative exploitation, informing policies to combat modern slavery.

€ 1.497.749
ERC STG

Elucidating the phenotypic convergence of proliferation reduction under growth-induced pressure

The UnderPressure project aims to investigate how mechanical constraints from 3D crowding affect cell proliferation and signaling in various organisms, with potential applications in reducing cancer chemoresistance.

€ 1.498.280
ERC STG

Uncovering the mechanisms of action of an antiviral bacterium

This project aims to uncover the mechanisms behind Wolbachia's antiviral protection in insects and develop tools for studying symbiont gene function.

€ 1.500.000
ERC STG

The Ethics of Loneliness and Sociability

This project aims to develop a normative theory of loneliness by analyzing ethical responsibilities of individuals and societies to prevent and alleviate loneliness, establishing a new philosophical sub-field.

€ 1.025.860

Vergelijkbare projecten uit andere regelingen

ERC ADG

Formalisation of Constructive Univalent Type Theory

The project aims to explore the correspondence between dependent type theory and homotopy theory to develop new mathematical foundations and enhance proof systems for complex software and proofs.

€ 2.499.776
ERC COG

Realizing the Promise of Higher-Order SMT and Superposition for Interactive Verification

The Nekoka project aims to enhance higher-order SMT and λ-superposition for automated proof assistance, integrating them into tools for software verification and mathematical formalization.

€ 2.000.000
ERC COG

CertiFOX: Certified First-Order Model Expansion

This project aims to develop methodologies for ensuring 100% correctness in combinatorial optimization solutions by providing end-to-end proof logging from user specifications to solver outputs.

€ 1.999.928
ERC POC

A Deductive Verifier for Probabilistic Programs

The project aims to commercialize a novel deductive verifier for probabilistic programs by integrating invariant synthesis and program slicing, targeting users and conducting market analysis.

€ 150.000