defmapRecord (f : X→Y) (hf : Measurable f) : PositiveHilbertMeasureYH b where
body · 7
lines
value s :=W.value (f ⁻¹' s)
coeff x y := (W.coeff x y).map f
coeff_value x y s hs :=by rw [VectorMeasure.map_apply _ hf hs,W.coeff_value _ _ _ (hf hs)]
positive s hs :=W.positive _ (hf hs)
traceMeasure :=W.traceMeasure.map f
traceFinite := inferInstance
trace_value s hs :=by rw [Measure.real,Measure.map_apply hf hs]; exact W.trace_value _ (hf hs)
lemmaweakDensity_mapRecord (b : HilbertBasis ι ℂH) (W : PositiveHilbertMeasureXH b)
(μ : MeasureX) (ρ : X→DensityOperator b)
(hm : ∀ x y, Measurable (fun z => inner ℂ x ((ρ z).val.val y)))
(hd : IsWeakDensity b W μ ρ) (e : X ≃ᵐ Y) :
IsWeakDensity b (W.mapRecord e e.measurable) (μ.map e) (ρ ∘ e.symm) :=by
proof · 5
lines
intro s hs x y
change (W.coeff x y).map e s=_
rw [VectorMeasure.map_apply _ e.measurable hs,hd _ (e.measurable hs)]
erw [setIntegral_map hs ((hm x y).comp e.symm.measurable).aestronglyMeasurable e.measurable.aemeasurable]
simp only [Function.comp_apply,e.symm_apply_apply]
lemmaweakDensity_of_step {steps : ℕ} (b : HilbertBasis ι ℂH)
(W : PositiveHilbertMeasure (Fin (steps+1)→X) H b) (μ : Measure (Fin (steps+1)→X))
(ρ : (Fin (steps+1)→X)→DensityOperator b)
(hm : ∀ x y, Measurable (fun z => inner ℂ x ((ρ z).val.val y)))
(hd : IsWeakDensity b (W.mapRecord (historyStepEquiv X steps) (historyStepEquiv X steps).measurable)
(μ.map (historyStepEquiv X steps)) (ρ ∘ (historyStepEquiv X steps).symm)) :
IsWeakDensity b W μ ρ :=by
proof · 9
lines
intro s hs x y
let e := historyStepEquiv X steps
have he := hd (e.symm ⁻¹' s) (e.symm.measurable hs) x y
change (W.coeff x y).map e (e.symm ⁻¹' s)=_ at he
rw [VectorMeasure.map_apply _ e.measurable (e.symm.measurable hs)] at he
erw [setIntegral_map (e.symm.measurable hs)
((hm x y).comp e.symm.measurable).aestronglyMeasurable e.measurable.aemeasurable] at he
simpa only [Function.comp_apply,e.symm_apply_apply,Set.preimage_preimage,
e.symm_comp_self,Set.preimage_id'] using he