cfahlgren1/math / lean /OAI /NumberTheory /Jacobsthal /Analysis /VariableUpperIntegral.lean
cfahlgren1's picture
download
raw
1.31 kB
import Mathlib
namespace OAI
namespace Erdos970
section
open MeasureTheory Set
namespace ErdosContinuousBoundary
theorem continuous_variable_upper_integral
(F : (ℝ×ℝ) → ℝ → ℝ) (hF : Continuous F.uncurry)
(c : (ℝ×ℝ) → ℝ) (hc : Continuous c) :
Continuous (fun p => ∫ x in (1:ℝ)..c p,F p x) := by
let G : (ℝ×ℝ) → ℝ → ℝ := fun p t => F p ((c p-1)*t+1)
have hG : Continuous G.uncurry := by
change Continuous (F.uncurry ∘ (fun q : (ℝ×ℝ)×ℝ => (q.1,(c q.1-1)*q.2+1)))
apply hF.comp
exact continuous_fst.prodMk
(((hc.comp continuous_fst).sub continuous_const).mul continuous_snd |>.add continuous_const)
have hi : Continuous (fun p => ∫ t in Icc (0:ℝ) 1,G p t) :=
continuous_parametric_integral_of_continuous hG isCompact_Icc
have heq (p : ℝ×ℝ) : (c p-1)*(∫ t in Icc (0:ℝ) 1,G p t)=∫ x in (1:ℝ)..c p,F p x := by
have h := intervalIntegral.smul_integral_comp_mul_add (a:=0) (b:=1) (fun x => F p x) (c p-1) 1
rw [intervalIntegral.integral_of_le (by norm_num : (0:ℝ)≤1),← integral_Icc_eq_integral_Ioc] at h
simpa only [smul_eq_mul,mul_zero,zero_add,mul_one,sub_add_cancel,G] using h
exact ((hc.sub continuous_const).mul hi).congr heq
end ErdosContinuousBoundary
end
end Erdos970
end OAI

Xet Storage Details

Size:
1.31 kB
·
Xet hash:
151db6647f5bf0080a4d1595b01726e8b711f2f4eba96b4c049bc4dbfc6235aa

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.