MathFin
Map / Valuation · Black–Scholes and Bachelier

Valuation · Black–Scholes and Bachelier

the Gaussian diffusion models: the market and its pricing measure, formula, PDE, Greeks, hedging, exotics

67
modules
547
declarations
125
corpus entries · 120 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

Continuous-time Girsanov for Black–Scholes — the EMM as an explicit change of measure

The equivalent martingale measure of the Black–Scholes model, constructed as a Girsanov density change of the physical measure — not recognised after the fact.
MathFin.Pricing.Girsanov
2 declarations · 2 corpus entries

Market completeness: replication, superreplication, and the pricing measure

The finance reading of MartingaleRepresentation.
MathFin.Pricing.MarketCompleteness
14 declarations · 4 corpus entries

Replication as a holding in the price

MarketCompleteness.exists_replicating_strategy hedges a claim with an integrand against the driver B.
MathFin.Pricing.MarketCompletenessInPrice
7 declarations · 1 corpus entries

The pricing measure, from a square-integrable density

MarketCompleteness.emm_unique_of_complete pins the pricing measure only among measures assumed to satisfy PricesGainsAtZero — that every terminal Itô integral against B has zero Q-mean.
MathFin.Pricing.PricingMeasureL2Density
10 declarations · 1 corpus entries

Bachelier

Bachelier model option pricing

The Bachelier (1900) model is the historical predecessor of Black-Scholes: asset prices follow an arithmetic Brownian motion S_T = S_0 + σ · W_T (no exponential, no log-normality).
MathFin.Models.Bachelier.Bachelier
8 declarations · 1 corpus entries

Bachelier model Greeks

For the Bachelier call price V_bach(S, σ, T) = (S − K) Φ(d) + σ √T ϕ(d) where d = (S − K)/(σ √T), we derive four Greeks:
MathFin.Models.Bachelier.BachelierGreeks
5 declarations · 4 corpus entries

The Bachelier market

The Bachelier model as a Market (Bachelier.market): a pre-Brownian motion W under the reference measure μ, the information it generates (natFiltration), one traded asset S_t = S₀ + σ W_t (arithmetic Brownian motion, no…
MathFin.Models.Bachelier.BachelierMarket
9 declarations · 3 corpus entries

Bachelier spread options: the difference reduction

A spread option pays max(F₁ − F₂ − K, 0) — the right to deliver asset 2 plus the cash amount K and receive asset 1.
MathFin.Models.Bachelier.BachelierSpread
15 declarations · 1 corpus entries

BlackScholes

The geometric-average Asian option: the two-date effective variance

Models/BlackScholes/AsianInequality.lean bounds the geometric-average Asian payoff above by the arithmetic one (AM–GM).
MathFin.Models.BlackScholes.AsianGeometric
1 declarations · 1 corpus entries

The geometric-average Asian option: `n` averaging dates, closed-form price

Models/BlackScholes/AsianGeometric.lean proves the two-date geometric-Asian log-driver (B_s + B_t)/2 Gaussian.
MathFin.Models.BlackScholes.AsianGeometricN
7 declarations · 2 corpus entries

Geometric vs arithmetic Asian options

The geometric Asian option's payoff is bounded above by the arithmetic Asian option's payoff at every state, because the geometric mean of positive numbers is at most their arithmetic mean (AM-GM).
MathFin.Models.BlackScholes.AsianInequality
6 declarations · 4 corpus entries

`BSCallHyp` / `BachelierHyp` from a Brownian motion

The existing BSCallHyp and BachelierHyp hypotheses are stated at the marginal level: Z ~ N(0, 1) under Q with S_T = bsTerminal …(Z ω) (BS) or S_T = S_0 + σ √T · Z(ω) (Bachelier).
MathFin.Models.BlackScholes.BSCallHypFromBrownian
5 declarations

Knock-in / knock-out barrier parity (in–out parity)

A knock-in option pays the vanilla payoff f only if the underlying path hits the barrier during the option's life; the matching knock-out pays f only if it does not.
MathFin.Models.BlackScholes.BarrierParity
8 declarations · 2 corpus entries

Basket option pricing: the moment-matching approximation

This is an approximation, not an exact closed form.
MathFin.Models.BlackScholes.BasketMomentMatching
14 declarations · 2 corpus entries

Binary (digital) barrier options: Rubinstein & Reiner's closed form

A digital (cash-or-nothing / asset-or-nothing) option that is additionally knocked in or knocked out by a single barrier H (Rubinstein & Reiner, Risk 4(9) (1991); Haug, The Complete Guide to Option Pricing Formulas,…
MathFin.Models.BlackScholes.BinaryBarrierOption
18 declarations · 1 corpus entries

The contracts priced in the Black–Scholes model

Contracts/Instruments/Options.lean defines the instruments and says what they pay; this file prices them in one model.
MathFin.Models.BlackScholes.BlackScholes
7 declarations · 5 corpus entries

The geometric Asian call priced along the Black–Scholes path

Models/BlackScholes/BlackScholes.lean observes the underlying only at maturity, so its model map is constant in time.
MathFin.Models.BlackScholes.BlackScholesAsian
2 declarations · 1 corpus entries

The chooser option priced along the Black–Scholes path

chooser K r T t₁ is the call at (K, T) plus the put at t₁ struck at K e^{−r(T−t₁)} (Contracts/Instruments/Options.lean), two single cash flows at two different dates.
MathFin.Models.BlackScholes.BlackScholesChooser
2 declarations · 1 corpus entries

The exchange option priced in the two-asset Black–Scholes model

Models/BlackScholes/BlackScholes.lean prices the one-underlying instruments; the exchange option exchangeOption T observes two underlyings, so it gets its own model map.
MathFin.Models.BlackScholes.BlackScholesExchange
2 declarations · 1 corpus entries

The Black–Scholes delta hedge of the European call contract

Models/BlackScholes/DeltaHedge proves the replication theorem in terms of the closed form bsV.
MathFin.Models.BlackScholes.BlackScholesHedge
4 declarations · 2 corpus entries

Contracts priced from the physical Black–Scholes market

The contract theorems of BlackScholes.lean, BlackScholesChooser.lean and BlackScholesAsian.lean price under a measure that is assumed risk-neutral: the asset is pathAssets S₀ r σ B for a pre-Brownian B under the…
MathFin.Models.BlackScholes.BlackScholesPhysical
13 declarations · 4 corpus entries

The Black–Scholes contract model solves `dS = rS dt + σS dB`

Every Black–Scholes contract theorem prices on BlackScholes.pathAssets, the geometric Brownian path S_u = S₀ exp((r − σ²/2)u + σ B_u) (Models/BlackScholes/BlackScholesAsian.lean).
MathFin.Models.BlackScholes.BlackScholesSDE
2 declarations · 1 corpus entries

The self-financing equation of the Black–Scholes delta hedge

BlackScholesHedge states the replication theorem in discounted terms: e^{−rt} C(t, S_t) = C(0, S₀) + ∫₀ᵗ Δ σ e^{−rs} S_s dB_s.
MathFin.Models.BlackScholes.BlackScholesSelfFinancing
5 declarations · 1 corpus entries

Black-Scholes European call pricing formula

Derivation of the Black-Scholes European call pricing formula from the risk-neutral lognormal hypothesis:
MathFin.Models.BlackScholes.Call
16 declarations · 1 corpus entries

Chooser option

At the chooser date t the holder picks max(C_t, P_t).
MathFin.Models.BlackScholes.Chooser
2 declarations · 1 corpus entries

Chooser option as call-plus-put portfolio, priced in Black–Scholes

The pre-existing Models/BlackScholes/Chooser.lean derives the algebraic identity max(C, P) = C + max(0, K_disc − S) from put-call parity.
MathFin.Models.BlackScholes.ChooserComposition
7 declarations · 1 corpus entries

Continuous-monitoring floating-strike lookback option: Haug's closed form

The floating-strike lookback option's payoff at maturity is S_T − m (call, m the running minimum of the path on [0, T]) or M − S_T (put, M the running maximum).
MathFin.Models.BlackScholes.ContinuousLookbackPricing
8 declarations · 1 corpus entries

The Black–Scholes delta hedge replicates the call

In the risk-neutral Black–Scholes model S_t = S₀·exp((r − σ²/2)t + σ B_t) the call is replicated by the delta hedge (the self-financing equation is europeanCall_selfFinancing; no strategy structure is defined).
MathFin.Models.BlackScholes.DeltaHedge
17 declarations · 2 corpus entries

Black–Scholes digital option pricing formulas

Two digital (a.k.a.
MathFin.Models.BlackScholes.Digital
3 declarations · 2 corpus entries

Black–Scholes digital option Greeks

For the two digital (binary) European options:
MathFin.Models.BlackScholes.DigitalGreeks
12 declarations · 10 corpus entries

Black-Scholes-Merton call price with continuous dividend yield

Extension of bs_call_formula to an asset paying a continuous dividend yield q ≥ 0.
MathFin.Models.BlackScholes.Dividends
4 declarations · 3 corpus entries

Black-Scholes-Merton (continuous dividends) Greeks

For the dividends-adjusted call price V_q(S, σ, T) = S e^{-qT} Φ(d₁') − K e^{-rT} Φ(d₂') with d_i' = bsdi S K (r-q) σ T, we identify V_q = e^{-qT} · bsV(K, r-q, σ, S, T) and derive the Greeks via existing call Greeks…
MathFin.Models.BlackScholes.DividendsGreeks
15 declarations · 6 corpus entries

Margrabe's exchange option: a two-asset option that is a one-asset BS problem

The exchange option pays max(S¹_T − S²_T, 0) — the right to exchange asset 2 for asset 1 at maturity.
MathFin.Models.BlackScholes.ExchangeOption
11 declarations · 1 corpus entries

Forward and futures pricing under the BS lognormal hypothesis

Under BSCallHyp (risk-neutral lognormal model), the risk-neutral expectation of the terminal asset price equals the no-arbitrage forward price:
MathFin.Models.BlackScholes.Forward
7 declarations · 1 corpus entries

The law of the Black–Scholes log-return

Under the Black–Scholes lognormal hypothesis BSCallHyp (S_T = S₀·e^{(r − σ²/2)T + σ√T·Z} with Z ~ N(0, 1)), the log-return log(S_T/S₀) is the affine function (r − σ²/2)T + σ√T·Z of the standard normal (bsLogReturn_eq),…
MathFin.Models.BlackScholes.GBMLogMoments
6 declarations · 1 corpus entries

The Garman normal form: every BS-family closed form is one formula

Every European-call closed form in the library has the shape
MathFin.Models.BlackScholes.GarmanNormalForm
15 declarations

Static Girsanov: the risk-neutral measure as a Gaussian change of measure

BSCallHyp — the lognormal risk-neutral hypothesis that 14 pricing files take on faith — posits "the driver Z is standard normal under Q." This file derives that hypothesis: it constructs the risk-neutral measure Q from…
MathFin.Models.BlackScholes.GaussianGirsanov
11 declarations

Gaussian smoothing of the Black–Scholes price

Averaging the Black–Scholes call over a lognormal factor on the spot gives a Black–Scholes call.
MathFin.Models.BlackScholes.GaussianSmoothing
4 declarations · 1 corpus entries

Black-Scholes Greek sign constraints

The signs of the BS Greeks are determined by the structure of the call price formula and the positivity of the standard-normal PDF/CDF.
MathFin.Models.BlackScholes.GreekSigns
9 declarations

Heynen & Kat two-asset barrier option: the closed form

A barrier option on asset 1, struck at X, but knocked out by asset 2 crossing a barrier H: R.
MathFin.Models.BlackScholes.HeynenKatTwoAssetBarrier
16 declarations · 1 corpus entries

Higher-order Black–Scholes Greeks

For the European call price V(S, σ, τ) = S Φ(d₁) − K e^{-rτ} Φ(d₂), the second- and third-order Greeks, each stated for the price itself:
MathFin.Models.BlackScholes.HigherGreeks
7 declarations · 4 corpus entries

Kirk's approximation for spread options (`K ≠ 0`)

This is an approximation, not an exact closed form.
MathFin.Models.BlackScholes.KirkSpreadApproximation
8 declarations · 1 corpus entries

Second moment and variance of the terminal asset price

Under BSCallHyp (risk-neutral lognormal model),
MathFin.Models.BlackScholes.LognormalMoments
2 declarations · 2 corpus entries

Lookback call lower bound

The lookback call's payoff max(M − K, 0) (with M = max_{t ∈ [0,T]} S_t) dominates the vanilla call payoff max(S_T − K, 0) because S_T ≤ M.
MathFin.Models.BlackScholes.Lookback
2 declarations · 2 corpus entries

The Margrabe ratio from a joint two-GBM model

margrabe_price_via_call (in ExchangeOption.lean) prices the exchange option by assuming BSCallHyp Q (S¹₀/S²₀) 1 0 σ T Z — the ratio R = S¹/S² is lognormal at the effective volatility σ with a standard-normal driver Z…
MathFin.Models.BlackScholes.MargrabeGrounding
6 declarations · 3 corpus entries

The Black–Scholes market

The Black–Scholes model as a Market (BlackScholes.market): a pre-Brownian motion W (a Brownian motion without the path-continuity requirement) under the physical measure μ, the information it generates (natFiltration),…
MathFin.Models.BlackScholes.Market
10 declarations · 3 corpus entries

Monte Carlo pricing of the European put

The estimator theorem every desk prices by.
MathFin.Models.BlackScholes.MonteCarloPricer
44 declarations · 2 corpus entries

Newton–Raphson: local quadratic convergence

ImpliedVolatility.lean records the Newton step σ ↦ σ − f(σ)/f'(σ) and its fixed-point-at-root identity.
MathFin.Models.BlackScholes.NewtonConvergence
4 declarations · 1 corpus entries

Black–Scholes PDE — forward direction

Given the BS call price V(S, t) = S · Φ(d₁) − K · e^{-r(T−t)} · Φ(d₂), this file shows V satisfies the Black–Scholes PDE
MathFin.Models.BlackScholes.PDE
20 declarations · 3 corpus entries

The Black–Scholes PDE, derived from Feynman–Kac

Models/BlackScholes/PDE.lean proves bs_pde_holds backward: it has the closed form bsV and checks, by differentiating it, that it satisfies ∂_t V + ½σ²S²∂_SS V + rS∂_S V − rV = 0.
MathFin.Models.BlackScholes.PDEFromFeynmanKac
4 declarations · 1 corpus entries

The Black–Scholes PDE in the Brownian coordinate

Write the stock with drift r in its Brownian coordinate, S = gbmValue S₀ r σ t x = S₀·exp((r − σ²/2)t + σx), where x stands for the value B_t of the driving Brownian motion, and consider the discounted Black–Scholes…
MathFin.Models.BlackScholes.PDEFromIto
4 declarations · 1 corpus entries

Partial-time barrier options (start window, call): Haug's closed form

A barrier that is monitored only on part of the option's life.
MathFin.Models.BlackScholes.PartialTimeBarrierOption
17 declarations · 1 corpus entries

Powered call option closed form (first-principles)

The powered call with exponent a : ℕ pays max((S_T)^a − K, 0) at maturity.
MathFin.Models.BlackScholes.PowerCall
6 declarations

Power options under the BS lognormal hypothesis

The n-th moment of S_T under BSCallHyp is
MathFin.Models.BlackScholes.PowerOption
1 declarations · 2 corpus entries

Pricing entry points from a pre-Brownian motion (phase 31)

This file restates the Black–Scholes-family pricing formulas that are stated under the marginal hypothesis BSCallHyp or BachelierHyp (call, put, put-call parity, the Bachelier call, digitals, the power call, the call…
MathFin.Models.BlackScholes.PricingFromBrownian
11 declarations

Black–Scholes pricing measures with a square-integrable or bounded density

The Girsanov measure Q* of the market price of risk θ = (m − r)/σ is a pricing measure of the Black–Scholes market (isPricingMeasure_constGirsanovMeasure).
MathFin.Models.BlackScholes.PricingMeasureUnique
15 declarations · 2 corpus entries

Black–Scholes put pricing formula

Derivation of the European put price under the risk-neutral lognormal hypothesis:
MathFin.Models.BlackScholes.Put
4 declarations · 2 corpus entries

Black–Scholes put Greeks

For the European put price P(S, τ) = K · e^{-rτ} · Φ(-d₂) − S · Φ(-d₁), we derive the five standard Greeks.
MathFin.Models.BlackScholes.PutGreeks
7 declarations · 5 corpus entries

The put price's second strike-derivative

The put price's second K-derivative matches the call's:
MathFin.Models.BlackScholes.PutStrikeConvexity
1 declarations · 2 corpus entries

The quanto correction, derived from a joint-Gaussian FX model

Models/BlackScholes/Dividends.quantoForward posits the quanto-adjusted forward Ŝ = S₀·exp((r_dom − ρ σ_S σ_FX)·T) — the drift adjustment −ρ σ_S σ_FX is baked into the definition.
MathFin.Models.BlackScholes.QuantoGrounding
1 declarations · 1 corpus entries

Probabilistic interpretation of `bsd2`: the exercise-probability identity

The BS formula bsV = S · Φ(d_1) − K · e^{−rT} · Φ(d_2) has two Φ values.
MathFin.Models.BlackScholes.RiskNeutralProbabilities
1 declarations

Shout-floor monotonicity: Dai–Kwok–Wu (2004), Lemma 2.1(i)

This file proves Dai, Kwok & Wu (2004), "Optimal Shouting Policies of Options with Strike Reset Right," Mathematical Finance 14(3), 383-401, Lemma 2.1, case (i) (p.
MathFin.Models.BlackScholes.ShoutFloorMonotonicity
8 declarations · 1 corpus entries

Spot-direction convexity of the Black–Scholes call

StrikeConvexity.lean packages convexity-in-K at four scales; this file is its spot-direction dual at the two scales that make sense for S:
MathFin.Models.BlackScholes.SpotConvexity
5 declarations · 1 corpus entries

Delta as stock-numeraire probability: `Φ(d_1) = Q^(S)(S_T > K)`

Under the risk-neutral measure Q, Φ(d_2) is the exercise probability (formalised in Models.BlackScholes.RiskNeutralProbabilities).
MathFin.Models.BlackScholes.StockNumeraire
2 declarations

Strike-direction convexity at every scale

The European call satisfies the same convexity-in-K fact at every scale of resolution:
MathFin.Models.BlackScholes.StrikeConvexity
5 declarations · 1 corpus entries

Black-Scholes strike derivatives

Standard derivative-Greek identities in the strike direction:
MathFin.Models.BlackScholes.StrikeGreeks
6 declarations · 6 corpus entries

Stulz (1982): the two-asset rainbow (max/min) closed form

R.
MathFin.Models.BlackScholes.StulzTwoAssetRainbow
17 declarations · 1 corpus entries