MathFin
Map / Positions and markets

Positions and markets

payoffs and contracts, the market and its numéraire, strategies and their gains, value under a measure, and the fundamental theorems: no arbitrage is the existence of an equivalent martingale measure

27
modules
338
declarations
37
corpus entries · 36 full

Module graph

An arrow runs from a module to one that imports it (implied imports omitted). Hover for a module's title, click to open it.

Modules

A payoff is measurable, adapted to its observation times, and integrable in a bounded model

A Payoff is data, not yet a random variable: Payoff.eval only produces one once it is applied to a Scenario.
MathFin.Contracts.Adapted
6 declarations · 2 corpus entries

A reified payoff language

Payoff ι and Contract ι represent what an instrument pays, independently of any stochastic model.
MathFin.Contracts.Core
19 declarations · 1 corpus entries

Continuous-time market vocabulary: `IsEMM`, simple strategies, no-arbitrage

A model-agnostic frame for the continuous-time first fundamental theorem of asset pricing (FTAP), parametric over a finite-dimensional real inner-product-space-valued discounted price process S : ℝ≥0 → Ω → F.
MathFin.Pricing.ContinuousMarket
24 declarations · 3 corpus entries

The discrete-time market on the trunk

A model for the instruments of Contracts/Instruments/Options.lean, its fundamental theorems of asset pricing read on the trunk's Market, and the seam between the contracts layer and the multi-period FTAP.
MathFin.Pricing.DiscreteMarket
17 declarations · 2 corpus entries

Equivalent martingale measures up to a horizon

IsEMM 𝓕 P S T Q: Q is an equivalent martingale measure for the discounted price S up to the horizon T.
MathFin.Pricing.EquivMartingaleMeasure
6 declarations

The market and its pricing functional

A market is a filtered measurable space with a reference measure P, the adapted prices S i t of the traded assets and a strictly positive adapted numéraire N t.
MathFin.Pricing.Market
41 declarations · 4 corpus entries

No-arbitrage core: a nonnegative zero-mean payoff vanishes

The shared analytic heart of the forward FTAP.
MathFin.Pricing.NoArbitrageCore
3 declarations

The change of numéraire

A numéraire is a strictly positive traded asset taken as the unit of account.
MathFin.Pricing.Numeraire
7 declarations · 1 corpus entries

The one-date market

The smallest market with a pricing measure, and the one a closed-form family reads in when it prices at a single date: one traded asset that is quoted at its initial price s₀ (growing at the rate r of the money market,…
MathFin.Pricing.OneDateMarket
19 declarations

Pricing a contract: value, its linearity, and the martingale seam

A Contract is still model-agnostic data until it meets a stochastic model.
MathFin.Pricing.Value
26 declarations · 3 corpus entries

FTAP

Continuous-time first fundamental theorem of asset pricing (martingale property)

Under the risk-neutral measure, the discounted Black–Scholes price process is a martingale w.r.t.
MathFin.Pricing.FTAP.ContinuousFTAP
3 declarations · 3 corpus entries

The Dalang–Morton–Willinger theorem for several assets, reduced to its conditional one-period core

The multi-period fundamental theorem of asset pricing on a general probability space with d assets (F = EuclideanSpace ℝ (Fin d)) and a finite horizon: no arbitrage if and only if there is an equivalent martingale…
MathFin.Pricing.FTAP.DalangMortonWillinger
3 declarations · 1 corpus entries

Pasting one-period densities into an equivalent martingale measure

The pasting step of the Dalang–Morton–Willinger theorem, as one backward construction.
MathFin.Pricing.FTAP.DensityPasting
8 declarations · 1 corpus entries

FTAP (Theorem 2.6.7), forward (⇒) direction: EMM ⇒ no arbitrage

The discrete-time market and the one forward direction of the library's FTAP: existence of an equivalent martingale measure precludes arbitrage, via the martingale-transform argument, on a general probability space and…
MathFin.Pricing.FTAP.FTAP
10 declarations · 1 corpus entries

Second FTAP on a finite probability space: complete ⟺ unique equivalent martingale measure

For the finite-Ω, finite-horizon, single-asset market of FTAPDiscrete.lean (a full-support probability P, an adapted discounted price S, a horizon T), a market with no arbitrage and full information at the horizon (𝓕 T…
MathFin.Pricing.FTAP.FTAPComplete
3 declarations · 1 corpus entries

Discrete-time FTAP on a finite probability space (scalar, finite horizon)

The finite-Ω, finite-horizon, single-asset Fundamental Theorem of Asset Pricing (Harrison–Pliska / the finite case of Dalang–Morton–Willinger): a market has no arbitrage iff it admits an equivalent martingale measure.
MathFin.Pricing.FTAP.FTAPDiscrete
12 declarations · 2 corpus entries

Multi-state FTAP (both directions)

Pricing/FTAP/FTAPTwoState.lean treats the one-period, one-asset, two-state market.
MathFin.Pricing.FTAP.FTAPMultiState
15 declarations · 4 corpus entries

One-period FTAP on a general probability space (scalar)

The one-period Fundamental Theorem of Asset Pricing (Föllmer–Schied, Stochastic Finance, §1.2; the one-period case of Dalang–Morton–Willinger) for a single scalar discounted excess return Y on an arbitrary probability…
MathFin.Pricing.FTAP.FTAPOnePeriod
4 declarations · 1 corpus entries

One-period FTAP on a general probability space (finite-dimensional market)

The Föllmer–Schied / one-period Dalang–Morton–Willinger Fundamental Theorem of Asset Pricing for a discounted excess return Y : Ω → F valued in a finite-dimensional real inner-product space F (the d-asset market is F =…
MathFin.Pricing.FTAP.FTAPOnePeriodVector
33 declarations · 1 corpus entries

FTAP both directions, two-state market (after Nagy 2026)

In a one-period, one-asset market with two states (up, down) and excess-return vector z = (z_up, z_down), the Fundamental Theorem of Asset Pricing asserts
MathFin.Pricing.FTAP.FTAPTwoState
8 declarations

The fundamental theorem of asset pricing for a market

No arbitrage as a property of a Market (Market.NoArbitrage) and the fundamental theorem stated about markets: no arbitrage if and only if there is a pricing measure.
MathFin.Pricing.FTAP.MarketFTAP
5 declarations · 2 corpus entries

No arbitrage is local: multi-period versus conditional one-period

The reduction step of the Dalang–Morton–Willinger theorem.
MathFin.Pricing.FTAP.NoArbitrageLocal
18 declarations · 1 corpus entries

The Dalang–Morton–Willinger theorem for one asset

The fundamental theorem of asset pricing for one real-valued asset on a general filtered probability space and a finite horizon, with no integrability, no finiteness of the space and no measurable-selection hypothesis:…
MathFin.Pricing.FTAP.OneAssetDMW
14 declarations · 1 corpus entries

Instruments

Call payoffs in the strike

The call payoff K ↦ max(S − K, 0), as a function of the strike, is convex and antitone.
MathFin.Contracts.Instruments.CallPayoff
4 declarations · 1 corpus entries

A credit default swap, as a contract

The credit event is observed through the default indicator process N u = 1{τ ≤ u}, the single underlying () of the scenario (Models/Credit/DefaultTime.lean supplies it from a default time τ).
MathFin.Contracts.Instruments.Credit
6 declarations

Schedules of payments, as contracts

A schedule of payments is a contract: payFlows t a n pays the payoff a i at t i for each i < n, and along a scenario it is worth ∑ D(tᵢ) · aᵢ (pathPV_payFlows); fixedFlows t c n is the case of constant payoffs, c i at…
MathFin.Contracts.Instruments.FixedIncome
4 declarations

Options, as contracts

The instruments: the European call and put, the cash-or-nothing digital, the forward, the capped call and the power call, each a Contract Unit written in the payoff language of Contracts/Core.lean; the exchange option…
MathFin.Contracts.Instruments.Options
20 declarations · 1 corpus entries