Certified Compilation of Financial Contracts

Abstract : 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.
Document type :
Conference papers
Complete list of metadatas

Cited literature [24 references]  Display  Hide  Download

https://hal.inria.fr/hal-01883559
Contributor : Danil Annenkov <>
Submitted on : Tuesday, October 2, 2018 - 1:38:53 PM
Last modification on : Tuesday, March 26, 2019 - 9:25:22 AM
Long-term archiving on : Thursday, January 3, 2019 - 2:48:53 PM

File

PPDP18-cert-comp-fin.pdf
Files produced by the author(s)

Identifiers

Citation

Danil Annenkov, Martin Elsman. Certified Compilation of Financial Contracts. PPDP '18 - 20th International Symposium on Principles and Practice of Declarative Programming, Sep 2018, Frankfurt am Main, Germany. pp.1-13, ⟨10.1145/3236950.3236955⟩. ⟨hal-01883559⟩

Share

Metrics

Record views

185

Files downloads

214