Plain-English statement
A finite-dimensional shifted standard Gaussian law is the centered standard Gaussian law tilted by the exponential shift likelihood.
Mathematical statement
Law(Z+h) = stdGaussian.withDensity(exp(<h,z> - norm(h)^2/2)).
Intuition
This is the finite-cylinder Radon-Nikodym identity behind Girsanov. Path-space Girsanov additionally needs filtrations, adaptedness, stochastic integration, and martingale conditions.
Conditions
- The coordinate index is finite.
- Both laws use unit-variance Gaussian coordinates.
- The coordinate-to-EuclideanSpace map is the measurable PiLp equivalence.
Why these conditions cannot be dropped
- The finite product proof does not automatically extend to an infinite path space.
- Changing covariance changes the likelihood and normalization.
Proof route
- Use the product Gaussian shift density identity.
- Map both measures through the measurable Euclidean equivalence.
- Commute map with withDensity.
- Rewrite coordinate sums as inner products and squared norms.
Lean interface notes
- Measure.withDensity stores an ENNReal likelihood.
- MeasurableEquiv transports both the measure and its density.
- The local let-bindings expose the intermediate product law and coordinate density.
Read the mathematics first, then descend into Lean
You do not need to know Lean before opening this panel. The page keeps the paper-level theorem, rigorous proof obligations, exact Lean declaration, and proof dependencies as separate layers so a first-time reader can move down one layer at a time.
Proof architecture
Start with the tree when learning: prerequisites sit below the theorem and downstream results sit above it. Switch to the network when you want to understand where this declaration lives in the local formal library. Every mapped node is clickable.
Graph rule: only dependencies found by the ASTIS source scan are drawn. Missing tactic indirection is treated as an under-approximation; the site never invents an edge just to make a prettier graph.
How to read the exact Lean declaration
Read a Lean theorem left-to-right exactly as you would unpack a mathematical sentence: name → ambient types → automatically inferred structures → explicit hypotheses → conclusion → proof. Then read the proof top-to-bottom as transformations of the current goal.
- NameWhat reusable mathematical fact is being created?
- ParametersWhich symbols are arbitrary, and which structures are inferred by typeclass search?
- PropositionAfter the colon, translate the Lean expression back into a paper statement.
- Proof actionsAfter
by, ask what each tactic does to the mathematical goal—not only what syntax it uses.
Syntax used on this page
This glossary is filtered to syntax that actually occurs in the declaration above. Open a symbol only when you meet it, rather than memorizing Lean grammar in advance.
Source voice and ASTIS voice stay separate
When Samplinglib shows a short quotation from Chewi, it is labeled as a source excerpt and linked to the canonical book page. Intuition, expanded proof steps, hidden regularity assumptions, and Lean explanations are ASTIS-authored commentary. A quotation never substitutes for a formal proof, and an ASTIS explanation is never attributed to the textbook author.
Lean statement
theorem finiteGaussianGirsanovCylinderMeasure_eq_withDensity
{ι : Type*} [Fintype ι] (h : ι → ℝ) :
finiteShiftedGaussianPathMeasure h =
(stdGaussian (EuclideanSpace ℝ ι)).withDensity
(fun z => ENNReal.ofReal (finiteGaussianGirsanovWeight h z)) := by
classical
let μ0 : Measure (ι → ℝ) :=
Measure.pi (fun _ : ι => gaussianReal 0 (1 : NNReal))
let coordDensity : (ι → ℝ) → ℝ≥0∞ :=
fun x => ENNReal.ofReal
(Real.exp ((∑ i, h i * x i) - (∑ i, (h i) ^ 2) / 2))
let e : (ι → ℝ) ≃ᵐ EuclideanSpace ℝ ι :=
MeasurableEquiv.toLp 2 (ι → ℝ)
have hProduct :
Measure.pi (fun i : ι => gaussianReal (h i) (1 : NNReal)) =
μ0.withDensity coordDensity := by
simpa [μ0, coordDensity] using
(_root_.AutoSamplingTheory.TechnicalLemmas.Gaussian.pi_gaussianReal_withDensity_exp_shift h).symm
have hMapDensity :
(μ0.withDensity coordDensity).map e =
(μ0.map e).withDensity (fun z => coordDensity (e.symm z)) :=
AutoSamplingTheory.TechnicalLemmas.Measure.RadonNikodym.measurableEquiv_map_withDensity
e μ0 (by fun_prop)
have hStd : μ0.map e = stdGaussian (EuclideanSpace ℝ ι) := by
simpa [μ0, e, MeasurableEquiv.coe_toLp] using
ProbabilityTheory.map_pi_eq_stdGaussian (ι := ι)
have hDensityEq :
(fun z : EuclideanSpace ℝ ι => coordDensity (e.symm z)) =
fun z => ENNReal.ofReal (finiteGaussianGirsanovWeight h z) := by
funext z
have hInner :
inner ℝ (WithLp.toLp 2 h : EuclideanSpace ℝ ι) z =
∑ i, h i * (WithLp.ofLp z) i := by
simpa using
_root_.AutoSamplingTheory.TechnicalLemmas.Gaussian.inner_toLp_toLp_eq_sum_mul
h (WithLp.ofLp z)
have hNorm :
‖(WithLp.toLp 2 h : EuclideanSpace ℝ ι)‖ ^ 2 =
∑ i, (h i) ^ 2 :=
_root_.AutoSamplingTheory.TechnicalLemmas.Gaussian.norm_sq_toLp_eq_sum_sq h
simp [coordDensity, finiteGaussianGirsanovWeight, e, hInner, hNorm]
calc
finiteShiftedGaussianPathMeasure h
= (μ0.withDensity coordDensity).map e := by
simpa [finiteShiftedGaussianPathMeasure, e, μ0,
MeasurableEquiv.coe_toLp] using congrArg (fun ν => ν.map e) hProduct
_ = (μ0.map e).withDensity (fun z => coordDensity (e.symm z)) := hMapDensity
_ = (stdGaussian (EuclideanSpace ℝ ι)).withDensity
(fun z => ENNReal.ofReal (finiteGaussianGirsanovWeight h z)) := by
rw [hDensityEq, hStd]
/-- The finite-dimensional Girsanov weight has unit mass under the centered
`stdGaussian` cylinder. -/
Open AutoSamplingTheory/TechnicalLemmas/StochasticProcesses/Girsanov.lean:56published source at 7bcd37294df1