All proofs
Project-declaredLean 4.30.0 · mathlib@c5ea00351c28

Integral indicator tail even

Heat.integral_indicator_tail_even

Plain-language statement

For even functions, the two-sided tail integral equals twice the one-sided integral.

Exact Lean statement

lemma integral_indicator_tail_even {f : ℝ → ℝ} {R : ℝ} (hR : 0 < R)
    (heven : ∀ x, f (-x) = f x)
    (hint : IntegrableOn f (Set.Ici R)) :
    ∫ z, Set.indicator {z : ℝ | R ≤ |z|} f z
    = 2 * ∫ z in Set.Ici R, f z

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma integral_indicator_tail_even {f :   } {R : } (hR : 0 < R)    (heven :  x, f (-x) = f x)    (hint : IntegrableOn f (Set.Ici R)) :    ∫ z, Set.indicator {z :  | R  |z|} f z    = 2 * ∫ z in Set.Ici R, f z := by  -- Split {z | R ≤ |z|} into two parts: (-∞, -R] ∪ [R, ∞)  have h_split : {z :  | R  |z|} = Set.Iic (-R) ∪ Set.Ici R := by    ext z    simp only [Set.mem_setOf, Set.mem_union, Set.mem_Iic, Set.mem_Ici]    constructor    · intro h      by_cases hz : z < 0      · left        simp [abs_of_neg hz] at h        linarith      · right        push_neg at hz        simp [abs_of_nonneg hz] at h        exact h    · intro h      cases h with      | inl h => simp [abs_of_nonpos (by linarith : z  0)]; linarith      | inr h => simp [abs_of_nonneg (by linarith : 0  z)]; exact h   have h_disj : Disjoint (Set.Iic (-R)) (Set.Ici R) := by    rw [Set.disjoint_iff]    intro z hz    simp only [Set.mem_inter_iff, Set.mem_Iic, Set.mem_Ici] at hz    obtain h1, h2 := hz    linarith   rw [h_split, Set.indicator_union_of_disjoint h_disj]   rw [integral_add]  swap; · -- integrability on Iic (-R)    have h_int_left : IntegrableOn f (Set.Iic (-R)) := by      rw [ Measure.map_neg_eq_self (volume : Measure )]      let m : MeasurableEmbedding (fun x :  => -x) := (Homeomorph.neg ).measurableEmbedding      rw [m.integrableOn_map_iff]      simp_rw [Function.comp_def, Set.neg_preimage, Set.neg_Iic, neg_neg]      convert hint using 2      aesop    rw [integrable_indicator_iff measurableSet_Iic]    exact h_int_left   swap; ·    rw [integrable_indicator_iff measurableSet_Ici]    exact hint   have h_left_eq_right :      ∫ z, Set.indicator (Set.Iic (-R)) f z = ∫ z, Set.indicator (Set.Ici R) f z := by    rw [integral_indicator measurableSet_Iic]    rw [integral_indicator measurableSet_Ici]    -- Strategy: show ∫_{Iic(-R)} f = ∫_{Ici R} f using negation and evenness    have : ∫ x in Set.Iic (-R), f x = ∫ x in Set.Ici R, f (-x) := by      calc ∫ x in Set.Iic (-R), f x          = ∫ x in Set.Ioi R, f (-x) := by              convert integral_comp_neg_Iic (c := -R) f using 2              aesop              aesop              aesop        _ = ∫ x in Set.Ici R, f (-x) := by              rw [ integral_Ici_eq_integral_Ioi']              aesop    rw [this]    apply setIntegral_congr_ae measurableSet_Ici    filter_upwards with z hz    exact heven z  rw [h_left_eq_right, integral_indicator measurableSet_Ici,  two_mul]
Project
PDE
License
Apache-2.0
Commit
0ab5d79a0d7a
Source
PDE/Basics/Heat/HeatSolutionProperty.lean:226-294

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.30.0

Fderiv Ccinfty

FderivCcinfty

Plain-language statement

The Fréchet derivative x ↦ (∂ˢψ(x))(unitSeq s) of a test function ψ ∈ Cc^∞(U) again lies in Cc^∞(U). This is used to compose the weak derivative definition with itself.

partial differential equationsSobolev spacesanalysis

Source project: PDE

Person-level attribution pending.

View proof record
Project-declaredLean 4.30.0

Heat from convolution heat Kernel

heat_from_convolution_heatKernel

Project documentation

Swap the second spatial derivative xx\partial_{xx} with the integral \int. -/ lemma swap_xx_heatKernel {α : ℝ} {x t : ℝ} (g : ℝ → ℝ) (ht : 0 < t) (hα : 0 < α) (hg : Integrable g) : HasDerivAt (fun x' => ∫ y, HKx α (x' - y) t * g y ∂volume) (∫ y, HKxx α (x - y) t * g y ∂volume) x := by have mem_nhds : Metric.ball x 1 ∈ 𝓝 x := Metric.ball_mem_nhds x (by...

partial differential equationsSobolev spacesanalysis

Source project: PDE

Person-level attribution pending.

View proof record
Project-declaredLean 4.30.0

Deriv exp heat Kernel

Heat.deriv_exp_heatKernel

Plain-language statement

Derivative of the exponential term exp(-(x²)/(4αt)) with respect to x.

partial differential equationsSobolev spacesanalysis

Source project: PDE

Person-level attribution pending.

View proof record