Put delta: ∂P/∂S = Φ(d₁) - 1. Direct chain rule via put-call parity P = C - S + K e^{-rτ}.
ℝ → ℝ → ℝ → ℝ → ℝ → ℝ
Black–Scholes European put price as a function of (S, τ).
For the European put price P(S, τ) = K · e^{-rτ} · Φ(-d₂) − S · Φ(-d₁), we derive the five standard Greeks. The strategy is put-call parity:
P = V − S + K · e^{-rτ}
(where V is the call price bsV). Each Greek is then a one-step Mathlib derivative combinator applied to the corresponding call Greek + simple constant/identity derivatives + put-call symmetry Φ(d) + Φ(-d) = 1.
bsP: the Black–Scholes European put price as a function of the spot S and the time to maturity τ, K · e^{−rτ} · Φ(−d₂) − S · Φ(−d₁).bsP_eq_bsV — put-call parity for the price functions.hasDerivAt_bsP_S — δ_P = Φ(d₁) − 1.hasDerivAt_deriv_bsP_S — γ_P = ϕ(d₁) / (S σ √τ) (same as call gamma), from the formula-level hasDerivAt_bsP_SS.hasDerivAt_bsP_tau — θ_P in τ-form.hasDerivAt_bsP_sigma — vega_P = S ϕ(d₁) √τ (same as call vega).hasDerivAt_bsP_r — ρ_P = -K τ e^{-rτ} Φ(-d₂).put delta, put gamma, put theta, put vega, put rho, option sensitivities, MSC 91G20, JEL G13
Above: what it imports. Below: what imports it.
Put delta: ∂P/∂S = Φ(d₁) - 1. Direct chain rule via put-call parity P = C - S + K e^{-rτ}.
Put gamma: the second S-derivative of the Black-Scholes put price, ∂²P/∂S² = ϕ(d₁)/(S σ √τ). Same as the call gamma, since the put and call deltas differ by a constant.
Put theta: ∂P/∂τ = σ S ϕ(d₁) / (2 √τ) - r K e^{-rτ} Φ(-d₂).
Put vega: ∂P/∂σ = S ϕ(d₁) √τ. Same as call vega.
Put rho: ∂P/∂r = -K τ e^{-rτ} Φ(-d₂).
ℝ → ℝ → ℝ → ℝ → ℝ → ℝ
Black–Scholes European put price as a function of (S, τ).
∀ (K r σ S τ : ℝ), bsP K r σ S τ = bsV K r σ S τ - S + K * Real.exp (-(r * τ))
Put-call parity (price form): bsP = bsV − S + K · e^{-rτ}.
∀ {K r σ : ℝ}, 0 < K → 0 < σ → ∀ {S τ : ℝ}, 0 < S → 0 < τ → HasDerivAt (fun s => bsP K r σ s τ) (Phi (bsd1 S K r σ τ) - 1) SPut delta: ∂_S P = Φ(d₁) − 1.
∀ {K r σ : ℝ}, 0 < K → 0 < σ → ∀ {S τ : ℝ}, 0 < S → 0 < τ → HasDerivAt (deriv fun s => bsP K r σ s τ) (gaussianPDFReal 0 1 (bsd1 S K r σ τ) / (S * σ * √τ)) SPut gamma: ∂²P/∂S² = ϕ(d₁) / (S σ √τ), for the put price itself: the put delta Φ(d₁) − 1 is ∂P/∂S on all of S > 0 (hasDerivAt_bsP_S), and its derivative is the gamma formula (hasDerivAt_bsP_SS).
∀ {K r σ : ℝ}, 0 < K → 0 < σ → ∀ {S τ : ℝ}, 0 < S → 0 < τ → HasDerivAt (fun t => bsP K r σ S t) (σ * S * gaussianPDFReal 0 1 (bsd1 S K r σ τ) / (2 * √τ) - r * K * Real.exp (-(r * τ)) * Phi (-bsd2 S K r σ τ)) τPut theta (∂_τ form): ∂_τ P = σ S ϕ(d₁) / (2 √τ) − r K e^{-rτ} Φ(-d₂).
Via parity: ∂_τ P = ∂_τ V + ∂_τ (K e^{-rτ}) = (call theta) − r K e^{-rτ}. The Φ(d₂) → Φ(-d₂) rearrangement uses Φ(d₂) + Φ(-d₂) = 1.
∀ {K r : ℝ}, 0 < K → ∀ {S σ τ : ℝ}, 0 < S → 0 < σ → 0 < τ → HasDerivAt (fun s => bsP K r s S τ) (S * gaussianPDFReal 0 1 (bsd1 S K r σ τ) * √τ) σPut vega: ∂_σ P = S · ϕ(d₁) · √τ — same as call vega (the −S + K e^{-rτ} correction is σ-independent).
∀ {K σ τ : ℝ}, 0 < K → 0 < σ → 0 < τ → ∀ {S : ℝ}, 0 < S → ∀ (r : ℝ), HasDerivAt (fun r' => bsP K r' σ S τ) (-(K * τ * Real.exp (-(r * τ)) * Phi (-bsd2 S K r σ τ))) rPut rho: ∂_r P = -K · τ · e^{-rτ} · Φ(-d₂).
Via parity: ∂_r P = ∂_r V + ∂_r (K e^{-rτ}) = K τ e^{-rτ} Φ(d₂) − K τ e^{-rτ}, and Φ(d₂) − 1 = -Φ(-d₂).