MathFin
Map / Valuation · Arbitrage pricing / MathFin.Pricing.Parity

The forward and put–call parity in every risk-neutral model

MathFin.Pricing.ParityMSC 91G20JEL G13 source

Contracts/Instruments/Options.lean proves that a call pays a put plus a forward on every path, so in every model the call's value is the put's plus the forward's. This file prices the forward without choosing a model. Only one fact about the model is used: the discounted underlying at maturity is integrable with mean S₀. Then the forward struck at K is worth S₀ − K D(T) (value_forward_of_integral), and the call is worth the put plus S₀ − K D(T) (value_europeanCall_sub_put_of_integral). The put's integrability comes from the underlying's.

That fact holds in every model whose discounted price t ↦ D(t) X(t) is a Q-martingale starting from the constant S₀, with D(0) = 1 (integral_discounted_of_martingale). This is the risk-neutral condition of IsEMM, which asks for the martingale and also for Q ≈ P; only the martingale is needed here. In that case neither the forward nor the parity takes an integrability hypothesis (value_forward_of_martingale, value_europeanCall_sub_put_of_martingale).

The Black–Scholes forward (BlackScholes.value_forward) is an instance of the first form.

Main results

  • value_forward_of_integral, value_forward_of_martingale — the forward is worth S₀ − K D(T).
  • value_europeanCall_sub_put_of_integral, value_europeanCall_sub_put_of_martingale — call minus put is S₀ − K D(T).

Source

The layered separation of contract semantics from pricing semantics, and the framing "the contract is not the model", are due to Paul Bilokon, The Contract Is Not the Model: Proof-Carrying Exotic Derivatives and the Economics of Model Risk (working paper, 9 August 2026; Mathematical Finance, Imperial College London), with code at <https://github.com/thalesians/lean_contracts> (Apache-2.0). That paper in turn builds on the compositional contract-DSL of Peyton Jones, Eber and Seward (2000) and the certified-contract work of Bahr, Berthold and Elsman (2015) and Annenkov (2018).

No code is copied from lean_contracts; every definition and proof here is written for this library. See docs/specs/2026-08-16-contracts-tower-design.md §6 for the full credit line.

References

  • P. Bilokon, The Contract Is Not the Model [Bilokon2026]
  • J. C. Hull, Options, Futures, and Other Derivatives [Hull], ch. 11; ch. 5
  • S. E. Shreve, Stochastic Calculus for Finance II: Continuous-Time Models [ShreveSCFII], Section 5.6.2
  • Stoll, The relationship between put and call option prices [Stoll1969]

Tags

put–call parity, forward price, risk-neutral pricing, discounted martingale, model-free pricing, call minus put, MSC 91G20, JEL G13

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-contract-forward-risk-neutral · contracts.json · full statement
The Forward's Value in Any Risk-Neutral Model

In any model whose discounted price t -> D(t) X(t) is a martingale under a probability measure Q, starting from the constant S0 with D(0) = 1, the forward contract struck at K and maturing at T has Contract.value S0 - K D(T). No integrability hypothesis is needed; Q need not be equivalent to any physical measure.

mf-contract-parity-risk-neutral · contracts.json · full statement
Put-Call Parity in Closed Form in Any Risk-Neutral Model

In any model whose discounted price t -> D(t) X(t) is a martingale under a probability measure Q, starting from the constant S0 with D(0) = 1, the European call and put struck at K with maturity T satisfy C - P = S0 - K D(T) as Contract.values. No integrability hypothesis on either option is needed: the put's integrability follows from the underlying's.

Declarations 10

theoremMathFin.Contracts.integrable_forward_pathPVsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {K : ℝ} {T : NNReal} [IsFiniteMeasure Q], Integrable (fun ω => D T * X () T ω) Q → Integrable (fun ω => Contract.pathPV D (scenarioAt X ω) (forward K T)) Q

The forward's discounted payoff is integrable whenever the discounted underlying is.

theoremMathFin.Contracts.integrable_of_integrable_discount_mulsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {T : NNReal}, Integrable (fun ω => D T * X () T ω) Q → D T ≠ 0 → Integrable (X () T) Q

If the discounted underlying is integrable and the discount factor is nonzero, so is the underlying.

theoremMathFin.Contracts.integrable_europeanPut_pathPVsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {K : ℝ} {T : NNReal} [IsFiniteMeasure Q], Integrable (fun ω => D T * X () T ω) Q → Integrable (fun ω => Contract.pathPV D (scenarioAt X ω) (europeanPut K T)) Q

The put's discounted payoff is integrable whenever the discounted underlying is.

theoremMathFin.Contracts.integrable_europeanCall_pathPVsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {K : ℝ} {T : NNReal} [IsFiniteMeasure Q], Integrable (fun ω => D T * X () T ω) Q → Integrable (fun ω => Contract.pathPV D (scenarioAt X ω) (europeanCall K T)) Q

The call's discounted payoff is integrable whenever the discounted underlying is.

theoremMathFin.Contracts.value_forward_of_integralsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {S₀ K : ℝ} {T : NNReal} [IsProbabilityMeasure Q], Integrable (fun ω => D T * X () T ω) Q → ∫ (ω : Ω), D T * X () T ω ∂Q = S₀ → Contract.value Q (fun t x => D t) X (forward K T) = S₀ - K * D T

The forward's value in any model in which the discounted underlying at T is integrable with mean S₀: the forward struck at K is worth S₀ − K D(T).

theoremMathFin.Contracts.value_europeanCall_eq_put_add_forwardsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} (Q : Measure Ω) (D : NNReal → Ω → ℝ) (X : Unit → NNReal → Ω → ℝ) {K : ℝ} {T : NNReal}, Integrable (fun ω => Contract.pathPV (fun t => D t ω) (scenarioAt X ω) (europeanPut K T)) Q → Integrable (fun ω => Contract.pathPV (fun t => D t ω) (scenarioAt X ω) (forward K T)) Q → Contract.value Q D X (europeanCall K T) = Contract.value Q D X (europeanPut K T) + Contract.value Q D X (forward K T)

Put–call parity, in any model. For any measure, deflator and model, if the put's and the forward's deflated payoffs are integrable, the call is worth the put plus the forward: it pays exactly that combination on every path (pathPV_europeanCall_eq_put_add_forward).

theoremMathFin.Contracts.value_europeanCall_sub_put_of_integralsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {S₀ K : ℝ} {T : NNReal} [IsProbabilityMeasure Q], Integrable (fun ω => D T * X () T ω) Q → ∫ (ω : Ω), D T * X () T ω ∂Q = S₀ → Contract.value Q (fun t x => D t) X (europeanCall K T) - Contract.value Q (fun t x => D t) X (europeanPut K T) = S₀ - K * D T

Put–call parity in closed form, in any model in which the discounted underlying at T is integrable with mean S₀: C − P = S₀ − K D(T). No integrability of either option is assumed; the put's follows from the underlying's.

theoremMathFin.Contracts.integral_discounted_of_martingalesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {S₀ : ℝ} {𝓕 : Filtration NNReal mΩ} [IsProbabilityMeasure Q], Martingale (fun t ω => D t * X () t ω) 𝓕 Q → D 0 = 1 → (∀ (ω : Ω), X () 0 ω = S₀) → ∀ (T : NNReal), ∫ (ω : Ω), D T * X () T ω ∂Q = S₀

A martingale keeps its starting mean. If the discounted price t ↦ D(t) X(t) is a Q-martingale, D(0) = 1 and the price starts at the constant S₀, then the discounted price at every T has mean S₀.

theoremMathFin.Contracts.value_forward_of_martingalesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {S₀ K : ℝ} {T : NNReal} {𝓕 : Filtration NNReal mΩ} [IsProbabilityMeasure Q], Martingale (fun t ω => D t * X () t ω) 𝓕 Q → D 0 = 1 → (∀ (ω : Ω), X () 0 ω = S₀) → Contract.value Q (fun t x => D t) X (forward K T) = S₀ - K * D T

The forward's value in any risk-neutral model. If the discounted price is a Q-martingale starting from S₀, with D(0) = 1, the forward struck at K is worth S₀ − K D(T).

used by 1: value_forward
theoremMathFin.Contracts.value_europeanCall_sub_put_of_martingalesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} {D : NNReal → ℝ} {X : Unit → NNReal → Ω → ℝ} {S₀ K : ℝ} {T : NNReal} {𝓕 : Filtration NNReal mΩ} [IsProbabilityMeasure Q], Martingale (fun t ω => D t * X () t ω) 𝓕 Q → D 0 = 1 → (∀ (ω : Ω), X () 0 ω = S₀) → Contract.value Q (fun t x => D t) X (europeanCall K T) - Contract.value Q (fun t x => D t) X (europeanPut K T) = S₀ - K * D T

Put–call parity in every risk-neutral model, with no integrability hypotheses. If the discounted price is a Q-martingale starting from S₀, with D(0) = 1, then C − P = S₀ − K D(T).