/- Provenance and modification notice (recorded 2026-09-29). Source: https://github.com/qinz1yang/differential-geometry DifferentialGeometry/Analysis/Parabolic/Euclidean/HeatKernelDuhamel.lean Comparison revision: 1b535dd102b94cc42b107cca27059687888f08b3. Changes: Imports, module paths, and namespaces were adapted to the subject-organized PoincareLib library. License: Apache-2.0. Source licenses and notices are retained under PoincareConjecture/provenance/2026-09-29/licenses/. See PoincareConjecture/MODIFICATIONS.md for the reviewed source mapping. -/ import PoincareLib.Analysis.Parabolic.Interior.Kernel.Cancellation import Mathlib.Analysis.SpecialFunctions.Integrals.Basic /-! # TimeIntegral estimates for interior heat equations Adapted from Chow--Liao--Qin, HeatKernelDuhamel.lean, revision 1b535dd102b94cc42b107cca27059687888f08b3. Copyright 2026 The DifferentialGeometry contributors. Apache-2.0. See references/ricci-flow/chow-liao-qin-2026/interior-hessian-reuse.md. The adaptation changes import paths and namespaces. -/ noncomputable section open MeasureTheory Real Set open scoped ENNReal NNReal RealInnerProductSpace namespace Poincare.Parabolic.Interior.Kernel section TimeKernel def heatScale12 (t : ℝ) : ℝ := t ^ (-(1 : ℝ) / 2) theorem heatScale12_eq {t : ℝ} (ht : 0 < t) : heatScale12 t = (heatScale t)⁻¹ := by unfold heatScale12 heatScale rw [Real.sqrt_eq_rpow] convert Real.rpow_neg ht.le (1 / 2 : ℝ) using 1 ring_nf theorem scale12_intble {t : ℝ} : IntervalIntegrable (fun s : ℝ => heatScale12 (t - s)) volume 0 t := by have hpow : IntervalIntegrable (fun u : ℝ => u ^ (-(1 : ℝ) / 2)) volume 0 t := intervalIntegral.intervalIntegrable_rpow' (by norm_num) have href := hpow.symm.comp_sub_left t simpa only [heatScale12, sub_self, sub_zero] using href theorem timeScale12_int {t : ℝ} : ∫ s : ℝ in 0..t, heatScale12 (t - s) = 2 * t ^ (1 / 2 : ℝ) := by unfold heatScale12 rw [intervalIntegral.integral_comp_sub_left (fun u : ℝ => u ^ (-(1 : ℝ) / 2)) t] simp only [sub_self, sub_zero] rw [integral_rpow (Or.inl (by norm_num))] have hexp : -(1 : ℝ) / 2 + 1 = 1 / 2 := by ring rw [hexp, Real.zero_rpow (by norm_num : (1 / 2 : ℝ) ≠ 0)] ring theorem scale34_intble {t : ℝ} : IntervalIntegrable (fun s : ℝ => heatScale34 (t - s)) volume 0 t := by have hpow : IntervalIntegrable (fun u : ℝ => u ^ (-(3 : ℝ) / 4)) volume 0 t := intervalIntegral.intervalIntegrable_rpow' (by norm_num) have href := hpow.symm.comp_sub_left t simpa only [heatScale34, sub_self, sub_zero] using href theorem timeScale34_int {t : ℝ} : ∫ s : ℝ in 0..t, heatScale34 (t - s) = 4 * t ^ (1 / 4 : ℝ) := by unfold heatScale34 rw [intervalIntegral.integral_comp_sub_left (fun u : ℝ => u ^ (-(3 : ℝ) / 4)) t] simp only [sub_self, sub_zero] rw [integral_rpow (Or.inl (by norm_num))] have hexp : -(3 : ℝ) / 4 + 1 = 1 / 4 := by ring rw [hexp, Real.zero_rpow (by norm_num : (1 / 4 : ℝ) ≠ 0)] ring end TimeKernel section Duhamel variable {V F : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V] [FiniteDimensional ℝ V] [MeasurableSpace V] [BorelSpace V] [Nontrivial V] [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F] def d2DuhConst (v w : V) (K : ℝ≥0) : ℝ := ‖v‖ * ‖w‖ * (K : ℝ) * heatC2Half V def d2DuhMajor (v w : V) (K : ℝ≥0) (t s : ℝ) : ℝ := d2DuhConst v w K * heatScale34 (t - s) omit [Nontrivial V] in theorem d2DuhMajor_intble {t : ℝ} (v w : V) (K : ℝ≥0) : IntervalIntegrable (d2DuhMajor v w K t) volume 0 t := by exact (scale34_intble).const_mul (d2DuhConst v w K) omit [Nontrivial V] in theorem d2DuhMajor_int {t : ℝ} (v w : V) (K : ℝ≥0) : ∫ s : ℝ in 0..t, d2DuhMajor v w K t s = d2DuhConst v w K * (4 * t ^ (1 / 4 : ℝ)) := by unfold d2DuhMajor rw [intervalIntegral.integral_const_mul, timeScale34_int] def heatD2Duh (t : ℝ) (v w : V) (f : ℝ → V → F) (x : V) : F := ∫ s : ℝ in 0..t, heatD2Conv (t - s) v w (f s) x omit [Nontrivial V] [CompleteSpace F] in theorem heatD2Duh_comm (t : ℝ) (v w : V) (f : ℝ → V → F) (x : V) : heatD2Duh t v w f x = heatD2Duh t w v f x := by unfold heatD2Duh apply intervalIntegral.integral_congr intro s _ exact heatD2Conv_comm (t - s) v w (f s) x theorem heatD2Duh_int {t : ℝ} (ht : 0 < t) {K : ℝ≥0} (f : ℝ → V → F) (hf : ∀ s ∈ Set.Icc (0 : ℝ) t, HolderWith K (1 / 2 : ℝ≥0) (f s)) (v w x : V) (hmeas : AEStronglyMeasurable (fun s : ℝ => heatD2Conv (t - s) v w (f s) x) (volume.restrict (Set.uIoc (0 : ℝ) t))) : IntervalIntegrable (fun s : ℝ => heatD2Conv (t - s) v w (f s) x) volume 0 t := by apply (d2DuhMajor_intble v w K).mono_fun' hmeas have hne : ∀ᵐ s ∂(volume : Measure ℝ), s ≠ t := by simp [ae_iff, measure_singleton] filter_upwards [ae_restrict_mem measurableSet_uIoc, ae_restrict_of_ae (s := Set.uIoc (0 : ℝ) t) hne] with s hs hst rw [Set.uIoc_of_le ht.le] at hs have hstlt : s < t := lt_of_le_of_ne hs.2 hst rw [heatD2Conv_eq_cancel (sub_pos.mpr hstlt) (hf s ⟨hs.1.le, hs.2⟩) v w x] refine (heatD2Cancel_norm (sub_pos.mpr hstlt) (hf s ⟨hs.1.le, hs.2⟩) v w x).trans_eq ?_ unfold d2DuhMajor d2DuhConst ring theorem heatD2Duh_norm {t : ℝ} (ht : 0 < t) {K : ℝ≥0} (f : ℝ → V → F) (hf : ∀ s ∈ Set.Icc (0 : ℝ) t, HolderWith K (1 / 2 : ℝ≥0) (f s)) (v w x : V) (hmeas : AEStronglyMeasurable (fun s : ℝ => heatD2Conv (t - s) v w (f s) x) (volume.restrict (Set.uIoc (0 : ℝ) t))) : ‖heatD2Duh t v w f x‖ ≤ d2DuhConst v w K * (4 * t ^ (1 / 4 : ℝ)) := by have hint := heatD2Duh_int ht f hf v w x hmeas unfold heatD2Duh calc ‖∫ s : ℝ in 0..t, heatD2Conv (t - s) v w (f s) x‖ ≤ ∫ s : ℝ in 0..t, ‖heatD2Conv (t - s) v w (f s) x‖ := intervalIntegral.norm_integral_le_integral_norm ht.le _ ≤ ∫ s : ℝ in 0..t, d2DuhMajor v w K t s := by apply intervalIntegral.integral_mono_on_of_le_Ioo ht.le hint.norm (d2DuhMajor_intble v w K) intro s hs rw [heatD2Conv_eq_cancel (sub_pos.mpr hs.2) (hf s ⟨hs.1.le, hs.2.le⟩) v w x] refine (heatD2Cancel_norm (sub_pos.mpr hs.2) (hf s ⟨hs.1.le, hs.2.le⟩) v w x).trans_eq ?_ unfold d2DuhMajor d2DuhConst ring _ = d2DuhConst v w K * (4 * t ^ (1 / 4 : ℝ)) := d2DuhMajor_int v w K end Duhamel end Poincare.Parabolic.Interior.Kernel end