theoremhasDerivAt_integral_compact {E : Type u1} {F : Type u2}
[NormedAddCommGroupE] [NormedSpaceℝE] [MeasurableSpaceE] [BorelSpaceE]
[NormedAddCommGroupF] [NormedSpaceℝF] [SecondCountableTopologyE] (μ : MeasureE) [IsFiniteMeasure μ] {K : SetE} (hK : IsCompactK)
(hμ : ∀ᵐ x ∂μ,x∈K) (f f' : ℝ→E→F) {a b t : ℝ} (ha : a<t) (hb : t<b)
(hf : ∀s∈Icc a b,Continuous (f s)) (hf' : ∀s∈Icc a b,Continuous (f' s))
(hc : ContinuousOn (funz : ℝ×E=> f' z.1 z.2) (Icc a b ×ˢ K))
(hd : ∀s∈Icc a b,∀x∈K,HasDerivAt (fun u => f u x) (f' s x) s) :
Integrable (f' t) μ ∧HasDerivAt (fun u =>∫ x,f u x ∂μ) (∫ x,f' t x ∂μ) t :=by
proof · 11
lines
obtain ⟨C,hC⟩ := (isCompact_Icc.prod hK).exists_bound_of_continuousOn hc
apply hasDerivAt_integral_of_dominated_loc_of_deriv_le (s :=Icc a b) (bound :=fun _ =>C) (Icc_mem_nhds ha hb)
· filter_upwards [Icc_mem_nhds ha hb] with s hs
exact (hf s hs).aestronglyMeasurable
· exact integrable_of_compact_ae μ hK hμ (hf t ⟨ha.le,hb.le⟩).aestronglyMeasurable (hf t ⟨ha.le,hb.le⟩).continuousOn
· exact (hf' t ⟨ha.le,hb.le⟩).aestronglyMeasurable
· filter_upwards [hμ] with x hx s hs
exact hC (s,x) ⟨hs,hx⟩
· exact integrable_const _
· filter_upwards [hμ] with x hx s hs
exact hd s hs x hx