SlideShare a Scribd company logo
Formal reasoning about financial derivatives
- introduction -
Dragiˇsa ˇZuni´c
Project Meta-CLF2 - reading group
Carnegie Mellon University Qatar
IT University of Copenhagen
February 13, 2017.
£  
1 / 29
General context including (known) commercial aspects
in the year 2000 : Peyton Jones, Eber and Seward, published
an article “Composing contracts : an adventure in financial
engineering” (at ICFP)
related research, eg. in 2009 : “Commercial uses : going
functional on exotic trades”, by Frankau, Spinellis et al. (in
JFP)
recent research from 2015 : “Certified symbolic management
of financial multi-party contracts”, by Bahr, Berthold and
Elsman” (at ICFP)
£  
2 / 29
General context including (known) commercial aspects
LexiFi, by Jean Marc Eber (Paris, since 2000.) ; relies on
Peyton Jones, Seward and Eber’s research
Provides a software for pricing and management of derivatives
and structured products
“Instrument box”, as a core product, can be embedded into
3rd party applications ; LexiFi’s “instrument box” used by
Bloomberg platform, since 2016.
£  
3 / 29
General context including commercial aspects
Aesthetic Integration (London, since 2015), by G. Passmore
and D. Ignatovich ; won a finance technology competition
among 600 projects worldwide
Given a model and a property to reason about, Imandra works
to generate a proof that the property will always hold, or to
present a concrete counterexample identifying how the
property may be violated.
Fomal verification on ethereum. “Imandra” as a core product
£  
4 / 29
paper presented at the International Conference on Functional
Programming, ICFP, 2000 in Montreal
won the best-paper award, I think
£  
5 / 29
Composing contracts : an adventure in financial
engineering
introduce a combinator library
that allows to describe financial contracts
and a compositional denotational semantics
that says what such contracts are worth
Using Haskell for implementation
£  
6 / 29
Composing contracts : an adventure in financial
engineering
introduce a combinator library
that allows to describe financial contracts
and a compositional denotational semantics
that says what such contracts are worth
Using Haskell for implementation
£  
6 / 29
Composing contracts : an adventure in financial
engineering
introduce a combinator library
that allows to describe financial contracts
and a compositional denotational semantics
that says what such contracts are worth
Using Haskell for implementation
£  
6 / 29
Composing contracts : an adventure in financial
engineering
introduce a combinator library
that allows to describe financial contracts
and a compositional denotational semantics
that says what such contracts are worth
Using Haskell for implementation
£  
6 / 29
Composing contracts : an adventure in financial
engineering
introduce a combinator library
that allows to describe financial contracts
and a compositional denotational semantics
that says what such contracts are worth
Using Haskell for implementation
£  
6 / 29
companies have these in a catalogue - as prefabricated components
often people need a contract that is not in the catalogue
£  
7 / 29
Question : can all these be defined using a set of precisely
specified set of primitives or combinators ?
If yes, then we
can describe new, unforseen, contracts
can systematically analyze and perform computation over the new
contracts
£  
8 / 29
Getting started - a contract illustration
Zero-coupon bond (zcb) : “ Receive GBP 100 on 1st January
2010”
We can specify this contract as :
c1 :: Contract
c1 = zcb t1 100 GBP
Where zcb is of type:
zcb :: Date -> Double -> Currency -> Contract
£  
9 / 29
Getting started
£  
10 / 29
Getting started - combining contracts : and
£  
11 / 29
Getting started - combining contracts : give
£  
12 / 29
Getting started - combining contracts : a new
combinator
£  
13 / 29
£  
14 / 29
Primitives for defining
§
¦
¤
¥contracts
£  
15 / 29
Primitives for defining
§
¦
¤
¥contracts
£  
16 / 29
Primitives for defining
§
¦
¤
¥contracts
£  
17 / 29
Primitives for defining
§
¦
¤
¥contracts
£  
18 / 29
Primitives for defining
§
¦
¤
¥contracts
£  
19 / 29
Primitives for defining
§
¦
¤
¥contracts
£  
20 / 29
Primitives over
§
¦
¤
¥observables
£  
21 / 29
Primitives over
§
¦
¤
¥observables
£  
22 / 29
Primitives over
§
¦
¤
¥observables
£  
23 / 29
Compositional evaluation semantics for
§
¦
¤
¥contracts
£  
24 / 29
Evaluation semantics for
§
¦
¤
¥observables
£  
25 / 29
Model primitives 1 of 2
£  
26 / 29
Model primitives 2 of 2
£  
27 / 29
Definition of horizon
£  
28 / 29
Sources
Composing contracts : an adventure in financial engineering
→ http://dl.acm.org/citation.cfm?id=351267
Certified symbolic management of financial multi-party
contracts → http://dl.acm.org/citation.cfm?id=2784747
Thanks!
£  
29 / 29

More Related Content

PDF
Machine learning on public procurement open data - ANAC case study
PDF
RS at Search and Hyperlinking of Television Content Task
PPT
Strategy pattern
PPTX
Unshackle Upstate
PPTX
Ethics pres
PPT
Ignite workshop
PPTX
CompañEros...
PPTX
Ssfootball
Machine learning on public procurement open data - ANAC case study
RS at Search and Hyperlinking of Television Content Task
Strategy pattern
Unshackle Upstate
Ethics pres
Ignite workshop
CompañEros...
Ssfootball

Viewers also liked (20)

PPTX
Ssfootball
PDF
Virtual Humans in Cultural Heritage
PPT
Social Media Marketing
PDF
Hpm3projection
PDF
Databasenarrative
PPTX
The Global Travelling Scrapbook Project
PDF
Wire frame full
PPTX
Teatro "Rudens"
PPT
Power Point Sol 2009 2010
PDF
ISEA2011 Istanbul keynote: Time to Live
PPTX
AngkorWatMassTourism
PDF
The Quantified Self - Self Knowledge Through Numbers
PPT
Index3 2 0
PDF
Adumbrations
PPTX
Conversion to gif
PDF
Etd 1002102-172438
PDF
Power nuvols 12 13
PPT
Hacking cloud computing adoption
PDF
Design Filter FIR
Ssfootball
Virtual Humans in Cultural Heritage
Social Media Marketing
Hpm3projection
Databasenarrative
The Global Travelling Scrapbook Project
Wire frame full
Teatro "Rudens"
Power Point Sol 2009 2010
ISEA2011 Istanbul keynote: Time to Live
AngkorWatMassTourism
The Quantified Self - Self Knowledge Through Numbers
Index3 2 0
Adumbrations
Conversion to gif
Etd 1002102-172438
Power nuvols 12 13
Hacking cloud computing adoption
Design Filter FIR
Ad

Similar to Dragisa-Zunic automated-reasoning-finance (11)

PDF
Domain Specific Language for Specify Operations of a Central Counterparty
PDF
Financial-multiparty-contracts bahr-berthold-elsman dragisa-zunic
ODP
Introduction to Contracts and Functional Contracts
PDF
Chapter 13-validating xbrl
PDF
Domain-Driven Design in legacy application
PPTX
Financial instruments.pptx
PPT
DSL - expressive syntax on top of a clean semantic model
PPTX
Good functional programming is good programming
PPTX
Creating Domain Specific Languages in F#
PDF
Towards More Flexible Enterprise Information Systems
Domain Specific Language for Specify Operations of a Central Counterparty
Financial-multiparty-contracts bahr-berthold-elsman dragisa-zunic
Introduction to Contracts and Functional Contracts
Chapter 13-validating xbrl
Domain-Driven Design in legacy application
Financial instruments.pptx
DSL - expressive syntax on top of a clean semantic model
Good functional programming is good programming
Creating Domain Specific Languages in F#
Towards More Flexible Enterprise Information Systems
Ad

Recently uploaded (20)

PDF
USS pension Report and Accounts 2025.pdf
PPTX
2. RBI.pptx202029291023i38039013i92292992
PPTX
Module5_Session1 (mlzrkfbbbbbbbbbbbz1).pptx
PDF
Lecture1.pdf buss1040 uses economics introduction
PPTX
ML Credit Scoring of Thin-File Borrowers
PDF
Bitcoin Layer August 2025: Power Laws of Bitcoin: The Core and Bubbles
PDF
Unkipdf.pdf of work in the economy we are
PDF
7a Lifetime Expected Income Breakeven Comparison between SPIAs and Managed Po...
PDF
CLIMATE CHANGE AS A THREAT MULTIPLIER: ASSESSING ITS IMPACT ON RESOURCE SCARC...
PPTX
social-studies-subject-for-high-school-globalization.pptx
PPT
KPMG FA Benefits Report_FINAL_Jan 27_2010.ppt
PDF
The Role of Islamic Faith, Ethics, Culture, and values in promoting fairness ...
PDF
5a An Age-Based, Three-Dimensional Distribution Model Incorporating Sequence ...
PPTX
IGCSE ECONOMICS 0455 Foreign Exchange Rate
PDF
1a In Search of the Numbers ssrn 1488130 Oct 2009.pdf
PDF
HCWM AND HAI FOR BHCM STUDENTS(1).Pdf and ptts
PPT
features and equilibrium under MONOPOLY 17.11.20.ppt
PPTX
introuction to banking- Types of Payment Methods
PDF
Pitch Deck.pdf .pdf all about finance in
PDF
THE EFFECT OF FOREIGN AID ON ECONOMIC GROWTH IN ETHIOPIA
USS pension Report and Accounts 2025.pdf
2. RBI.pptx202029291023i38039013i92292992
Module5_Session1 (mlzrkfbbbbbbbbbbbz1).pptx
Lecture1.pdf buss1040 uses economics introduction
ML Credit Scoring of Thin-File Borrowers
Bitcoin Layer August 2025: Power Laws of Bitcoin: The Core and Bubbles
Unkipdf.pdf of work in the economy we are
7a Lifetime Expected Income Breakeven Comparison between SPIAs and Managed Po...
CLIMATE CHANGE AS A THREAT MULTIPLIER: ASSESSING ITS IMPACT ON RESOURCE SCARC...
social-studies-subject-for-high-school-globalization.pptx
KPMG FA Benefits Report_FINAL_Jan 27_2010.ppt
The Role of Islamic Faith, Ethics, Culture, and values in promoting fairness ...
5a An Age-Based, Three-Dimensional Distribution Model Incorporating Sequence ...
IGCSE ECONOMICS 0455 Foreign Exchange Rate
1a In Search of the Numbers ssrn 1488130 Oct 2009.pdf
HCWM AND HAI FOR BHCM STUDENTS(1).Pdf and ptts
features and equilibrium under MONOPOLY 17.11.20.ppt
introuction to banking- Types of Payment Methods
Pitch Deck.pdf .pdf all about finance in
THE EFFECT OF FOREIGN AID ON ECONOMIC GROWTH IN ETHIOPIA

Dragisa-Zunic automated-reasoning-finance

  • 1. Formal reasoning about financial derivatives - introduction - Dragiˇsa ˇZuni´c Project Meta-CLF2 - reading group Carnegie Mellon University Qatar IT University of Copenhagen February 13, 2017. £   1 / 29
  • 2. General context including (known) commercial aspects in the year 2000 : Peyton Jones, Eber and Seward, published an article “Composing contracts : an adventure in financial engineering” (at ICFP) related research, eg. in 2009 : “Commercial uses : going functional on exotic trades”, by Frankau, Spinellis et al. (in JFP) recent research from 2015 : “Certified symbolic management of financial multi-party contracts”, by Bahr, Berthold and Elsman” (at ICFP) £   2 / 29
  • 3. General context including (known) commercial aspects LexiFi, by Jean Marc Eber (Paris, since 2000.) ; relies on Peyton Jones, Seward and Eber’s research Provides a software for pricing and management of derivatives and structured products “Instrument box”, as a core product, can be embedded into 3rd party applications ; LexiFi’s “instrument box” used by Bloomberg platform, since 2016. £   3 / 29
  • 4. General context including commercial aspects Aesthetic Integration (London, since 2015), by G. Passmore and D. Ignatovich ; won a finance technology competition among 600 projects worldwide Given a model and a property to reason about, Imandra works to generate a proof that the property will always hold, or to present a concrete counterexample identifying how the property may be violated. Fomal verification on ethereum. “Imandra” as a core product £   4 / 29
  • 5. paper presented at the International Conference on Functional Programming, ICFP, 2000 in Montreal won the best-paper award, I think £   5 / 29
  • 6. Composing contracts : an adventure in financial engineering introduce a combinator library that allows to describe financial contracts and a compositional denotational semantics that says what such contracts are worth Using Haskell for implementation £   6 / 29
  • 7. Composing contracts : an adventure in financial engineering introduce a combinator library that allows to describe financial contracts and a compositional denotational semantics that says what such contracts are worth Using Haskell for implementation £   6 / 29
  • 8. Composing contracts : an adventure in financial engineering introduce a combinator library that allows to describe financial contracts and a compositional denotational semantics that says what such contracts are worth Using Haskell for implementation £   6 / 29
  • 9. Composing contracts : an adventure in financial engineering introduce a combinator library that allows to describe financial contracts and a compositional denotational semantics that says what such contracts are worth Using Haskell for implementation £   6 / 29
  • 10. Composing contracts : an adventure in financial engineering introduce a combinator library that allows to describe financial contracts and a compositional denotational semantics that says what such contracts are worth Using Haskell for implementation £   6 / 29
  • 11. companies have these in a catalogue - as prefabricated components often people need a contract that is not in the catalogue £   7 / 29
  • 12. Question : can all these be defined using a set of precisely specified set of primitives or combinators ? If yes, then we can describe new, unforseen, contracts can systematically analyze and perform computation over the new contracts £   8 / 29
  • 13. Getting started - a contract illustration Zero-coupon bond (zcb) : “ Receive GBP 100 on 1st January 2010” We can specify this contract as : c1 :: Contract c1 = zcb t1 100 GBP Where zcb is of type: zcb :: Date -> Double -> Currency -> Contract £   9 / 29
  • 15. Getting started - combining contracts : and £   11 / 29
  • 16. Getting started - combining contracts : give £   12 / 29
  • 17. Getting started - combining contracts : a new combinator £   13 / 29
  • 28. Compositional evaluation semantics for § ¦ ¤ ¥contracts £   24 / 29
  • 30. Model primitives 1 of 2 £   26 / 29
  • 31. Model primitives 2 of 2 £   27 / 29
  • 33. Sources Composing contracts : an adventure in financial engineering → http://dl.acm.org/citation.cfm?id=351267 Certified symbolic management of financial multi-party contracts → http://dl.acm.org/citation.cfm?id=2784747 Thanks! £   29 / 29