lemmatrial_product (μ : MeasurePoint) [SFinite μ] (t : ℝ) (y z : Point) :
(μ.compProd (trialKernel t y z)).map Prod.snd=
(μ.prod (law.prod law)).map (fun p ↦ trialPath t y z p.1 p.2) :=by
proof · 10
lines
ext B hB
rw [Measure.map_apply measurable_snd hB,Measure.compProd_apply (hB.preimage measurable_snd),
Measure.map_apply (trialPath_continuous t y z).measurable hB,
Measure.prod_apply (hB.preimage (trialPath_continuous t y z).measurable)]
apply lintegral_congr
intro u
change (trialKernel t y z u) B = (law.prod law) ((fun p ↦ trialPath t y z u p) ⁻¹' B)
rw [trialKernel_apply]
havehm : Continuous (trialPath t y z u) := (trialPath_continuous t y z).comp (continuous_const.prodMk continuous_id)
exact Measure.map_apply hm.measurable hB
lemmafull_bridge_midpoint {t : ℝ} (ht : 0≤t) (y z : Point) :
((midpointLaw t y z).compProd (trialKernel t y z)).map Prod.snd=
law.map (leg (2*t) y z) :=by
proof · 17
lines
rw [trial_product]
havehpin : MeasurePreserving pinned law law := ⟨pinned_continuous.measurable,pinned_law⟩
have hn := ((MeasurePreserving.id midpointNoise).prod hpin).prod (reverseNoise_preserving.comp hpin)
have ha := assembleNoise_preserving.comp hn
have hl := congrArg (funμ : MeasureNoise↦ μ.map (leg (2*t) y z)) ha.map_eq
rw [Measure.map_map (leg_continuous (2*t) y z).measurable ha.measurable] at hl
havehm : MeasurePreserving (midpointPoint t y z) midpointNoise (midpointLaw t y z) :=
⟨(midpointPoint_continuous t y z).measurable,rfl⟩
have hp := hm.prod (MeasurePreserving.id (law.prod law))
have he := congrArg (funμ : Measure (Point×(Noise×Noise)) ↦ μ.map (fun p ↦ trialPath t y z p.1 p.2)) hp.map_eq
rw [Measure.map_map (trialPath_continuous t y z).measurable hp.measurable] at he
rw [←he,←Measure.prodAssoc_prod (μ := midpointNoise) (ν := law) (τ := law),
Measure.map_map ((trialPath_continuous t y z).measurable.comp hp.measurable) MeasurableEquiv.prodAssoc.measurable]
convert hl using1
congr 1
funext p
exact trial_assemble t ht y z p.1.1 p.1.2 p.2