Vega: for calls and puts
ProvedBlackScholesModel.vegaLet , , , and . Then the call and put prices are differentiable in the volatility at , and
import Mathlib import Definitions.Def_BlackScholesModel_Core open Real MeasureTheory ProbabilityTheory Filter Topology open scoped ContDiff
namespace BlackScholesModel
theorem vega (K r σ T S t : ℝ) (hK : 0 < K) (hσ : 0 < σ) (hS : 0 < S) (ht : t < T) :
HasDerivAt (fun σ' => callPrice K r σ' T S t)
(S * stdNormalPDF (dPlus S K r σ (T - t)) * Real.sqrt (T - t)) σ ∧
HasDerivAt (fun σ' => putPrice K r σ' T S t)
(S * stdNormalPDF (dPlus S K r σ (T - t)) * Real.sqrt (T - t)) σ := by sorry
end BlackScholesModelRead-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Non-blind read-back. This read-back was written by the same agent that drafted the Lean statement (at the explicit instruction of the proposal owner), not by an independent blind auditor. It is not independent testimony; reviewers should compare it against the Lean code themselves.
Here are arbitrary real numbers subject to the hypotheses , , and (so ); is unrestricted (it may be zero or negative). , , , , are the functions of the companion definition file (normal distribution function given by its integral, normal density in closed form, , call price , put price ).
The theorem asserts that the function computed with volatility in place of (all of fixed) is differentiable at with derivative , where and ; and the same for the put price with the same derivative.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.