Proposition 2 (pinned down): the exponential density satisfies the basic adjoint relation (43) under conormal reflection
ProvedMakeToStockRM.ExpDensity.exponential_density_basic_adjoint_relationLet , , , , and let
be the generator of the inventory/log-price diffusion , with covariance matrix . Let , let be continuously differentiable with for all , and let (34), with inward unit normal on . Let with the exponents (47), , . Then for every twice continuously differentiable ,
where is Lebesgue measure on and is arc length on . On the four pieces (35), is on , on , on and on .
The paper's basic adjoint relation (43) reads for all test functions twice continuous and bounded, and it characterizes the stationary distribution of the diffusion reflected along (Harrison and Williams 1987). Proposition 2 asserts that when is normal to the stationary density is . The theorem states that analytic content: with the reflection field , which is the field singled out by the hypothesis of Proposition 2, the exponential density satisfies (43).
Formalization Note This is a pinned-down version of Proposition 2, whose proof is in an online companion not available here. (i) The paper does not fix the length of ; its hypothesis " is normal to " fixes only the direction (see the whitening milestone), and among these fields (43) holds for this density only with ( the unit normal, arc length). The page's phrase "substituting the inward unit normal vector field … for " would give a false statement unless is a multiple of the identity. (ii) The normalizing constant is omitted because (43) is linear in ; its existence is a separate milestone. (iii) The step "BAR implies stationary law" (Harrison–Williams) is not formalized. (iv) Test functions are all functions on ; on the bounded closure of they and their derivatives are bounded, which is the paper's "twice continuous and bounded". (v) The curves are on all of ; only their values on enter, and a function on a closed interval extends to . (vi) The mixed partial in is . All integrands are continuous on compact sets, so no integral takes Lean's junk value .
import Mathlib import Definitions.Def_MakeToStockRM_ExpDensity_generator import Definitions.Def_MakeToStockRM_ExpDensity_covMatrix import Definitions.Def_MakeToStockRM_ExpDensity_expDensity import Definitions.Def_MakeToStockRM_ExpDensity_region import Definitions.Def_MakeToStockRM_ExpDensity_boundaryTerm
namespace MakeToStockRM.ExpDensity
theorem exponential_density_basic_adjoint_relation (θ σ δ ϱ ymin ymax : ℝ) (η ξ : ℝ → ℝ)
(f : ℝ × ℝ → ℝ) (hσ : 0 < σ) (hδ : 0 < δ) (hϱ : |ϱ| < 1) (hy : ymin < ymax)
(hη : ContDiff ℝ 1 η) (hξ : ContDiff ℝ 1 ξ) (hlt : ∀ y ∈ Set.Icc ymin ymax, η y < ξ y)
(hf : ContDiff ℝ 2 f) :
(∫ z in region η ξ ymin ymax, generator θ σ δ ϱ f z * expDensity θ σ δ ϱ z)
+ 1 / 2 * boundaryTerm σ δ ϱ η ξ ymin ymax f (expDensity θ σ δ ϱ) = 0 := by sorry
end MakeToStockRM.ExpDensity
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be real numbers. Let be real functions of one variable, and let be a real function of two variables, . The statement assumes all of the following:
- and ;
- ;
- ;
- and are continuously differentiable () on all of ;
- for every in the closed interval ;
- is twice continuously differentiable () on all of .
Under these hypotheses it asserts the identity
The integral is a Lebesgue integral over a subset of against two-dimensional Lebesgue measure. The four symbols in the identity come from imported definitions whose code is not part of this declaration, so they cannot be unfolded here. All that can be said is what each takes as input:
- is the integration domain,
region η ξ ymin ymax. It depends only on . - is
generator θ σ δ ϱ f z. It is a real number built from , the four parameters , and the point . - is
expDensity θ σ δ ϱ. It depends only on . - is
boundaryTerm σ δ ϱ η ξ ymin ymax f p. It is a real number that depends on , the function , and the function . Here is set to .
The declaration does not use its imported covMatrix definition directly. The boundary term does not take as its own argument; reaches it only through .
No hypothesis is placed on (it can be any real number, including ). There is also no assumption on or outside except that both are everywhere. The hypotheses can all be satisfied at once: for example, , , , , , , and .
The statement does not assume that the integrand is integrable over . If it is not integrable, the integral term is by convention . In that case the identity says only that , that is, the boundary term alone vanishes. The same applies whenever has measure zero or is empty, which depends on the unshown definition of region. The identity is required for every real , including . The requirement rules out a degenerate or empty interval, and on it rules out touching curves on that interval. Whether any division, logarithm, or other total-function default can occur inside generator, expDensity, or boundaryTerm (for instance a factor like or , which the hypotheses and would keep nonzero) cannot be determined from this declaration, because those definitions are not shown.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.