Certified Compilation of Financial Contracts

08/06/2021
by   Danil Annenkov, et al.
0

We present an extension to a certified financial contract management system that allows for templated declarative financial contracts and for integration with financial stochastic models through verified compilation into so-called payoff-expressions. Such expressions readily allow for determining the value of a contract in a given evaluation context, such as contexts created for stochastic simulations. The templating mechanism is useful both at the contract specification level, for writing generic reusable contracts, and for reuse of code that, without the templating mechanism, needs to be recompiled for different evaluation contexts. We report on the effect of using the certified system in the context of a GPGPU-based Monte Carlo simulation engine for pricing various over-the-counter (OTC) financial contracts. The full contract-management system, including the payoff-language compilation, is verified in the Coq proof assistant and certified Haskell code is extracted from our Coq development along with Futhark code for use in a data-parallel pricing engine.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/03/2022

Computable Contracts in the Financial Services Industry

A computable contract is a contract that a computer can read, understand...
research
06/01/2021

Pricing Algorithmic Insurance

As machine learning algorithms start to get integrated into the decision...
research
03/02/2023

Developing a Compiler for EROP – A Language for the Specification of Smart Contracts, An Experience Report

A smart contract is a translation of a standard paper-based contract tha...
research
12/16/2020

Extracting Smart Contracts Tested and Verified in Coq

We implement extraction of Coq programs to functional languages based on...
research
02/29/2020

Renegotiation and recursion in Bitcoin contracts

BitML is a process calculus to express smart contracts that can be run o...
research
12/22/2018

Literature Review: Smart Contract Semantics

This review presents and evaluates various formalisms for the purpose of...
research
09/11/2019

Solving Financial Regulatory Compliance Using Software Contracts

Ensuring compliance with various laws and regulations is of utmost prior...

Please sign up or login with your details

Forgot password? Click here to reset