import Mathlib.MeasureTheory.Function.LpSpace.ContinuousCompMeasurePreserving import Mathlib.MeasureTheory.Function.LpSpace.Complete import Mathlib.MeasureTheory.Function.LpSpace.Indicator import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace import Mathlib.MeasureTheory.Group.Integral /-! # Strong convergence of inward translations Continuity of the actual translation action on L2 passes to a restricted set. The original open-domain function is extended by zero only in L2; no derivative of that zero extension is asserted. Source: Morrey ICM 1950, pp. 181-185; M64 inward-boundary-approximation derivation, translation and extension step. Morgan--Tian context: Lemma 19.15, printed pp. 447-449. This project analytic helper supports the actual annular minimizer and boundary regularity construction. -/ noncomputable section set_option autoImplicit false set_option warningAsError true open Set Filter MeasureTheory open scoped Topology namespace PoincareMT variable {d : β„•} {E : Type*} [NormedAddCommGroup E] {J : Type*} {l : Filter J} local notation "X" => EuclideanSpace ℝ (Fin d) /-- The literal translates of an L2 function converge in L2 when their translation vectors converge. This is Mathlib's continuous composition action specialized to Euclidean translations; see the M64 inward boundary approximation derivation. Source/construction: proof-work/tasks/M64/derivations/2026-09-26-inward-boundary-approximation.md, Translation and extension. -/ theorem m64MemLp_add_tendsto {u : X β†’ E} (hu : MemLp u 2 volume) {h : J β†’ X} {a : X} (hh : Tendsto h l (𝓝 a)) : Tendsto (fun j => eLpNorm (fun x => u (x + h j) - u (x + a)) 2 volume) l (𝓝 0) := by let shift : C(X, C(X, X)) := (⟨fun p : X Γ— X => p.2 + p.1, continuous_snd.add continuous_fst⟩ : C(X Γ— X, X)).curry have hc : Continuous (fun v : X => Lp.compMeasurePreserving (fun x => x + v) (measurePreserving_add_right volume v) (hu.toLp u)) := continuous_const.compMeasurePreservingLp shift.continuous (fun v => measurePreserving_add_right volume v) (by norm_num) have hlim := (hc.tendsto a).comp hh have hmem (v : X) : MemLp (fun x => u (x + v)) 2 volume := hu.comp_measurePreserving (measurePreserving_add_right volume v) have heq (v : X) : Lp.compMeasurePreserving (fun x => x + v) (measurePreserving_add_right volume v) (hu.toLp u) = (hmem v).toLp (fun x => u (x + v)) := Lp.toLp_compMeasurePreserving hu (measurePreserving_add_right volume v) simp_rw [heq] at hlim exact (Lp.tendsto_Lp_iff_tendsto_eLpNorm'' (fun j x => u (x + h j)) (fun j => hmem (h j)) (fun x => u (x + a)) (hmem a)).mp hlim /-- Inward translations converge strongly on a measurable set whose unshifted image lies almost everywhere in the original domain. The shifted images lie there pointwise, including the physical boundary. Source: Morrey ICM pp. 181-185; M64 inward approximation derivation. -/ theorem m64MemLp_add_restrict_tendsto {O K : Set X} (hO : MeasurableSet O) (hK : MeasurableSet K) {u : X β†’ E} (hu : MemLp u 2 (volume.restrict O)) {h : J β†’ X} {a : X} (hh : Tendsto h l (𝓝 a)) (hbase : βˆ€α΅ x βˆ‚volume.restrict K, x + a ∈ O) (hshift : βˆ€ j, MapsTo (fun x => x + h j) K O) : Tendsto (fun j => eLpNorm (fun x => u (x + h j) - u (x + a)) 2 (volume.restrict K)) l (𝓝 0) := by classical let U := O.indicator u have hU : MemLp U 2 volume := (memLp_indicator_iff_restrict hO).mpr hu have hlim := m64MemLp_add_tendsto hU hh have hb (j : J) : eLpNorm (fun x => u (x + h j) - u (x + a)) 2 (volume.restrict K) ≀ eLpNorm (fun x => U (x + h j) - U (x + a)) 2 volume := by calc _ = eLpNorm (fun x => U (x + h j) - U (x + a)) 2 (volume.restrict K) := by apply eLpNorm_congr_ae filter_upwards [ae_restrict_mem hK, hbase] with x hx ha simp only [U, indicator_of_mem (hshift j hx), indicator_of_mem ha] _ ≀ _ := eLpNorm_mono_measure _ Measure.restrict_le_self exact tendsto_of_tendsto_of_tendsto_of_le_of_le tendsto_const_nhds hlim (fun _ => bot_le) hb end PoincareMT