Download data/lean/OAI/Analysis/Calculus/SmoothExtension/Periodic/TangentPeriodization.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.86 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/SmoothExtension/Periodic/TangentPeriodization.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/SmoothExtension/Periodic/TangentPeriodization.lean
-
curl -L -o TangentPeriodization.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/SmoothExtension/Periodic/TangentPeriodization.lean
4.86 kB
Lean 4 Β· 7
declarations fullstatements
| import OAI.Analysis.Calculus.SmoothExtension.Periodic.Extension.Lattice | |
| noncomputable section | |
| open Set Filter Metric Module | |
| open scoped Topology ContDiff | |
| namespace OAI.Analysis.Calculus.SmoothExtension | |
| variable {E F T : Type*} | |
| [NormedAddCommGroup E] [NormedSpace β E] | |
| [NormedAddCommGroup F] [NormedSpace β F] [AddCommGroup T] | |
| def vectorPeriodization (L : T β+ E) (f : E β F) (x : E) : F := | |
| β' z, f (x + L z) | |
| omit [NormedSpace β E] [NormedSpace β F] in | |
| theorem locallyFinite_vector_translates (L : T β+ E) | |
| (hL : β R : β, {z : T | βL zβ β€ R}.Finite) | |
| {f : E β F} (hc : HasCompactSupport f) : | |
| LocallyFinite (fun z : T β¦ Function.support (fun x β¦ f (x + L z))) := by | |
| obtain β¨R, hR, hbβ© := hc.isBounded.exists_pos_norm_le | |
| intro x | |
| refine β¨ball x 1, ball_mem_nhds x (by norm_num), ?_β© | |
| apply (hL (R + (βxβ + 1))).subset | |
| rintro z β¨y, hy, hyxβ© | |
| have hn := hb (y + L z) (subset_tsupport _ hy) | |
| have hd : βy - xβ < 1 := by simpa only [mem_ball, dist_eq_norm] using hyx | |
| have hny : βyβ β€ βy - xβ + βxβ := by simpa using norm_add_le (y - x) x | |
| have hz : βL zβ β€ βy + L zβ + βyβ := by simpa using norm_sub_le (y + L z) y | |
| change βL zβ β€ R + (βxβ + 1) | |
| linarith | |
| theorem contDiff_vectorPeriodization (L : T β+ E) | |
| (hL : β R : β, {z : T | βL zβ β€ R}.Finite) | |
| {f : E β F} {q : ββ} (hf : ContDiff β q f) (hc : HasCompactSupport f) : | |
| ContDiff β q (vectorPeriodization L f) := by | |
| classical | |
| rw [contDiff_iff_contDiffAt] | |
| intro x | |
| obtain β¨U, hU, hfinβ© := locallyFinite_vector_translates L hL hc x | |
| have heq : vectorPeriodization L f =αΆ [π x] | |
| (fun y β¦ β z β hfin.toFinset, f (y + L z)) := by | |
| filter_upwards [hU] with y hy | |
| apply tsum_eq_sum | |
| intro z hz | |
| by_contra hne | |
| exact hz (hfin.mem_toFinset.mpr β¨y, hne, hyβ©) | |
| have hs : ContDiff β q (fun y β¦ β z β hfin.toFinset, f (y + L z)) := | |
| ContDiff.sum (fun z _ β¦ hf.comp (contDiff_id.add contDiff_const)) | |
| exact hs.contDiffAt.congr_of_eventuallyEq heq | |
| omit [NormedSpace β E] [NormedSpace β F] in | |
| theorem vectorPeriodization_add (L : T β+ E) (f : E β F) (k : T) (x : E) : | |
| vectorPeriodization L f (x + L k) = vectorPeriodization L f x := by | |
| classical | |
| simpa only [vectorPeriodization, Equiv.coe_addRight, map_add, add_assoc, add_comm, | |
| add_left_comm] using (Equiv.addRight k).tsum_eq (fun z β¦ f (x + L z)) | |
| omit [NormedSpace β E] [NormedSpace β F] in | |
| theorem vectorPeriodization_eq_self (L : T β+ E) (f : E β F) (x : E) | |
| (hoff : β z : T, z β 0 β f (x + L z) = 0) : | |
| vectorPeriodization L f x = f x := by | |
| classical | |
| unfold vectorPeriodization | |
| rw [tsum_eq_single 0 (fun z hz β¦ hoff z hz)] | |
| simp | |
| omit [NormedSpace β E] in | |
| theorem continuousLinearMap_vectorPeriodization_eq_zero (L : T β+ E) | |
| (hL : β R : β, {z : T | βL zβ β€ R}.Finite) | |
| {f : E β F} (hc : HasCompactSupport f) (A : F βL[β] β) (x : E) | |
| (hz : β z : T, A (f (x + L z)) = 0) : A (vectorPeriodization L f x) = 0 := by | |
| classical | |
| have hs := (locallyFinite_vector_translates L hL hc).point_finite x | |
| have heq : vectorPeriodization L f x = β z β hs.toFinset, f (x + L z) := by | |
| apply tsum_eq_sum | |
| intro z hz | |
| by_contra hn | |
| exact hz (hs.mem_toFinset.mpr hn) | |
| rw [heq, map_sum] | |
| simp only [hz, Finset.sum_const_zero] | |
| omit [NormedSpace β E] in | |
| /-- A discrete injective period group has a uniform gap from zero. -/ | |
| theorem exists_positive_period_gap (L : T β+ E) (hLi : Function.Injective L) | |
| (hL : β R : β, {z : T | βL zβ β€ R}.Finite) : | |
| β d : β, 0 < d β§ β z : T, z β 0 β d β€ βL zβ := by | |
| classical | |
| have hfinite (s : Finset T) : β d : β, 0 < d β§ β z β s, z β 0 β d β€ βL zβ := by | |
| induction s using Finset.induction_on with | |
| | empty => exact β¨1, zero_lt_one, by simpβ© | |
| | @insert a s ha ih => | |
| obtain β¨d, hd, hsβ© := ih | |
| by_cases haz : a = 0 | |
| Β· refine β¨d, hd, ?_β© | |
| intro z hz hn | |
| rcases Finset.mem_insert.mp hz with rfl | hz | |
| Β· exact (hn haz).elim | |
| Β· exact hs z hz hn | |
| Β· have hna : 0 < βL aβ := norm_pos_iff.mpr (by | |
| intro h | |
| exact haz (hLi (h.trans (map_zero L).symm))) | |
| refine β¨min d βL aβ, lt_min hd hna, ?_β© | |
| intro z hz hn | |
| rcases Finset.mem_insert.mp hz with rfl | hz | |
| Β· exact min_le_right _ _ | |
| Β· exact (min_le_left _ _).trans (hs z hz hn) | |
| obtain β¨d, hd, hsβ© := hfinite (hL 1).toFinset | |
| refine β¨min d 1, lt_min hd zero_lt_one, ?_β© | |
| intro z hz | |
| by_cases hn : βL zβ β€ 1 | |
| Β· exact (min_le_left _ _).trans (hs z ((hL 1).mem_toFinset.mpr hn) hz) | |
| Β· exact (min_le_right _ _).trans (le_of_not_ge hn) | |
| end OAI.Analysis.Calculus.SmoothExtension | |
Outline