Skip to main content
AlexKontorovich/PrimeNumberTheoremAnd
Source indexedtheorem · leanprover/lean4:v4.32.0

CH2.integral_Iic_one_eq_integral_Ioi_one_sub

PrimeNumberTheoremAnd.IEANTN.CH2.CH2 · PrimeNumberTheoremAnd/IEANTN/CH2/CH2.lean:3719 to 3739

Source documentation

Change variables from the left ray (-∞, 1] to the positive half-line by t = 1-r.

Exact Lean statement

theorem integral_Iic_one_eq_integral_Ioi_one_sub
    {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] (f : ℝ → E) :
    (∫ r in Set.Iic (1 : ℝ), f r) = ∫ t in Set.Ioi (0 : ℝ), f (1 - t)

Complete declaration

Lean source

Canonical source
Full Lean sourceLean 4
theorem integral_Iic_one_eq_integral_Ioi_one_sub    {E : Type*} [NormedAddCommGroup E] [NormedSpace  E] (f :   E) :    (∫ r in Set.Iic (1 : ), f r) = ∫ t in Set.Ioi (0 : ), f (1 - t) := by  have hshift : (∫ x in Set.Iic (0 : ), f (1 + x)) = ∫ x in Set.Iic (1 : ), f x := by    have A : MeasurableEmbedding (fun x :  => 1 + x) :=      (Homeomorph.addLeft (1 : )).measurableEmbedding    have h := MeasurableEmbedding.setIntegral_map:= volume) A f (Set.Iic (1 : ))    rw [map_add_left_eq_self volume (1 : )] at h    have hpre : (fun x :  => 1 + x) ⁻¹' Set.Iic (1 : ) = Set.Iic (0 : ) := by      ext x      simp [Set.mem_Iic]    rw [hpre] at h    exact h.symm  have hneg := integral_comp_neg_Iic (c := (0 : )) (f := fun t :  => f (1 - t))  rw [neg_zero] at hneg  rw [ hneg]  rw [ hshift]  refine setIntegral_congr_fun (measurableSet_Iic : MeasurableSet (Set.Iic (0 : ))) ?_  intro x hx  congr 1  ring