Gamma: for calls and puts
ProvedBlackScholesModel.gammaLet , , , and . Then the Delta of the call and the Delta of the put are both differentiable in the spot price at , and
As the source remarks, Gamma is the same for calls and puts.
Formalization Note The second derivative is stated as: the function has derivative at .
import Mathlib import Definitions.Def_BlackScholesModel_Core open Real MeasureTheory ProbabilityTheory Filter Topology open scoped ContDiff
namespace BlackScholesModel
theorem gamma (K r σ T S t : ℝ) (hK : 0 < K) (hσ : 0 < σ) (hS : 0 < S) (ht : t < T) :
HasDerivAt (fun S' => deriv (fun S'' => callPrice K r σ T S'' t) S')
(stdNormalPDF (dPlus S K r σ (T - t)) / (S * σ * Real.sqrt (T - t))) S ∧
HasDerivAt (fun S' => deriv (fun S'' => putPrice K r σ T S'' t) S')
(stdNormalPDF (dPlus S K r σ (T - t)) / (S * σ * Real.sqrt (T - t))) S := 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 ).
For let denote the derivative at of (using the "derivative-or-zero" operator: the true derivative where it exists, otherwise). The theorem asserts that is differentiable at with derivative
and that is differentiable at with the same derivative.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.