MathFin
Map / Valuation · Trees

Valuation · Trees

one-period, binomial and trinomial markets, replication, CRR and its Black–Scholes limit

24
modules
331
declarations
37
corpus entries · 37 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

Binomial

The binomial market prices the up-and-in knock-in by reflection

Models/Binomial/BarrierReflection.lean prices an up-and-in claim on the symmetric ±1 walk by André's reflection: E[g(Sₙ); max ≥ a] = E[g(Sₙ); Sₙ ≥ a] + E[g(2a − Sₙ); Sₙ > a].
MathFin.Models.Binomial.BarrierMarket
4 declarations · 1 corpus entries

Barrier-option counting via the reflection principle

Models/Binomial/PathReflection.lean builds André's reflection bijection reflectionPrincipleEquivBelow : {ω // hit a ∧ end = b} ≃ {ω // end = 2a − b} (for 0 < a, b ≤ a) and notes that "the Fintype.card identity is their…
MathFin.Models.Binomial.BarrierReflection
13 declarations · 3 corpus entries

The contracts priced in the binomial model

The second model for the instruments of Contracts/Instruments/Options.lean, after Models/BlackScholes/BlackScholes.lean.
MathFin.Models.Binomial.Binomial
11 declarations · 3 corpus entries

The capital of the complete market's hedge is the contract's value

isCompleteMarket_horizonSpot (Models/Binomial/MultiPeriodFTAP.lean) says that in the N-period tree every claim on the first N flips is x + ∑ φ_{t+1} (S̃_{t+1} − S̃_t) for some capital x and predictable strategy φ, but…
MathFin.Models.Binomial.BinomialCompleteMarket
1 declarations · 1 corpus entries

The one-period binomial price is the two-state FTAP pricing kernel

Models/Binomial/Model.lean defines the one-period price binomialOptionPriceOnePeriod directly as e^{−r}·(q·V_u + (1−q)·V_d) with q = crrUpProb u d r = (e^r − d)/(u − d), and checks it against the replicating portfolio.
MathFin.Models.Binomial.BinomialFromFTAP
7 declarations · 1 corpus entries

One contract in two models: the tree's value converges to the Black–Scholes value

europeanCall K T is one term.
MathFin.Models.Binomial.BinomialLimit
1 declarations · 1 corpus entries

CRR characteristic-function convergence (the CLT heart of CRR → Black–Scholes)

The deterministic-analytic correspondence in CRRConvergence.lean / DriftLimit.lean (crrProb_tendsto_half, crr_drift_limit_n) pins down the mean and variance of one CRR log-return increment.
MathFin.Models.Binomial.CRRCharFun
23 declarations · 1 corpus entries

CRR → Black–Scholes call price, in closed form

binomialPrice_call_tendsto_bs lands the binomial call-price limit in the put-call-parity integral form e^{−rT}·E[(K − S_T)₊] + (S₀ − K e^{−rT}).
MathFin.Models.Binomial.CRRClosedForm
2 declarations · 1 corpus entries

Cox-Ross-Rubinstein convergence to Black-Scholes

We formalize the CRR parameterization of the binomial tree: with Δt = T/n, u_n = e^{σ √Δt}, d_n = e^{-σ √Δt}, the n-step risk-neutral up-probability is
MathFin.Models.Binomial.CRRConvergence
21 declarations · 3 corpus entries

Mean and variance of the CRR log-return law, and their Black–Scholes limits

Models/Binomial/CRRCharFun.lean defines the law of one CRR risk-neutral log-return step, crrStepMeasure r σ T n (mass pₙ = crrProb r σ T n at +σ√(T/n) and 1 − pₙ at −σ√(T/n)), takes the law of the n-step log-return to…
MathFin.Models.Binomial.CRRDiscreteIto
12 declarations · 1 corpus entries

CRR drift limit (Phase 3 closeout)

This file proves the second classical-analytic step of the CRR-to-BS correspondence (the variance step crr_variance_limit is already in BinomialCRRConvergence.lean):
MathFin.Models.Binomial.DriftLimit
4 declarations · 2 corpus entries

The discounted tree value and the discounted spot, as one-step martingales

binomialPrice u d r g N S₀ is the backward-induction price of the claim that pays g(S_N) after N steps.
MathFin.Models.Binomial.EuropeanReplication
9 declarations

The pathwise language of the binomial tree

Coin-flip paths ω : ℕ → Bool, processes X : ℕ → (ℕ → Bool) → ℝ, and the node average q·X_{n+1}(…,↑) + (1 − q)·X_{n+1}(…,↓) over the two children of a node, the explicit form of the conditional expectation for the…
MathFin.Models.Binomial.FlipPaths
5 declarations

Discrete Girsanov: measure change in the binomial tree

The continuous-time Girsanov theorem has a transparent discrete-time counterpart in the binomial model.
MathFin.Models.Binomial.Girsanov
16 declarations · 1 corpus entries

The binomial tree as a market

The binomial model of Models/Binomial/Binomial.lean as a Market (Binomial.market): coin-flip paths ω : ℕ → Bool under a physical law P, the information of the flips made by t (flipFiltration along the step count t ↦ ⌊t…
MathFin.Models.Binomial.Market
12 declarations · 4 corpus entries

Binomial martingale representation (completeness of the binomial market)

On the binomial tree, with the coin flips i.i.d.
MathFin.Models.Binomial.MartingaleRepresentation
2 declarations · 2 corpus entries

Binomial-tree option pricing (Cox-Ross-Rubinstein style)

We formalize discrete-time European option pricing on a binomial tree.
MathFin.Models.Binomial.Model
30 declarations · 1 corpus entries

Multi-period binomial no-arbitrage through the discrete FTAP

Pricing/FTAP/FTAPDiscrete.lean proves the Harrison–Pliska theorem on a finite probability space with a filtration: NoArbitrage ↔ ∃ Q, IsEMM Q.
MathFin.Models.Binomial.MultiPeriodFTAP
41 declarations · 4 corpus entries

The binomial price as an expectation over coin-flip paths

binomialPrice u d r g N S₀ (Models/Binomial/Model.lean) is the backward-induction price of the N-step CRR tree, and Models/Binomial/SnellEnvelope.lean works on coin-flip paths ω : ℕ → Bool with the spot spotPath S₀ u d…
MathFin.Models.Binomial.PathMeasure
33 declarations · 3 corpus entries

Path-level reflection identity for ±1 walks (André 1887, algebraic core)

For paths ω : Fin n → Bool (each entry: +1 if true, −1 if false), reflection after time τ is the path that agrees with ω strictly before time τ and negates every step from time τ onwards.
MathFin.Models.Binomial.PathReflection
32 declarations · 1 corpus entries

Uniqueness of the binomial replicating portfolio, and the law of one price

Models.Binomial.Model exhibits a single-period replicating portfolio
MathFin.Models.Binomial.ReplicatingUniqueness
2 declarations

Second Fundamental Theorem of Asset Pricing (single-period binomial form)

The First FTAP (existence of an equivalent martingale measure ⟺ no-arbitrage) has a corresponding Second FTAP: the EMM is unique if and only if the market is complete.
MathFin.Models.Binomial.SecondFTAP
1 declarations · 1 corpus entries

Trinomial moment matching for an arbitrary node spacing

One step of a recombining trinomial tree sends a node to three children x_k - dx, x_k, x_k + dx with weights p₁, p₂, p₃.
MathFin.Models.Binomial.TrinomialMomentMatching
24 declarations · 1 corpus entries

The willow tree lattice: moment and marginal constraints

The willow tree of Curran prices against a Brownian motion with a discrete-time Markov chain on a fixed node set z j with a fixed discrete marginal q — paths recombine trivially because the nodes never grow.
MathFin.Models.Binomial.WillowTree
25 declarations · 1 corpus entries