Download data/lean/OAI/Geometry/IntegralFillings/Currents/Multilinear.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.88 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IntegralFillings/Currents/Multilinear.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IntegralFillings/Currents/Multilinear.lean
-
curl -L -o Multilinear.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IntegralFillings/Currents/Multilinear.lean
3.88 kB
| import Mathlib | |
| import OAI.Geometry.IntegralFillings.Model | |
| namespace OAI | |
| section | |
| open Set Filter MeasureTheory | |
| open scoped Topology ENNReal NNReal | |
| namespace SharpIntegralFillings | |
| attribute [local instance] Classical.propDecidable | |
| universe u | |
| section Foundations | |
| variable {X : Type u} [MetricSpace X] [MeasurableSpace X] | |
| omit [MeasurableSpace X] in | |
| lemma lipschitz_mul_real {f : X β β} {K : ββ₯0} (hf : LipschitzWith K f) (a : β) : | |
| LipschitzWith (β¨|a|, abs_nonneg aβ© * K) (fun x => a * f x) := by | |
| apply lipschitzWith_iff_dist_le_mul.mpr | |
| intro x y | |
| change dist (a * f x) (a * f y) β€ (|a| * (K : β)) * dist x y | |
| rw [Real.dist_eq, β mul_sub, abs_mul] | |
| calc |a| * |f x - f y| β€ |a| * ((K : β) * dist x y) := | |
| mul_le_mul_of_nonneg_left (hf.dist_le_mul x y) (abs_nonneg a) | |
| _ = _ := by ring | |
| def lipSubmodule : Submodule β (X β β) where | |
| carrier := {f | β K : ββ₯0, LipschitzWith K f} | |
| zero_mem' := β¨0, LipschitzWith.const 0β© | |
| add_mem' := by | |
| rintro f g β¨K, hKβ© β¨L, hLβ© | |
| exact β¨K + L, hK.add hLβ© | |
| smul_mem' := by | |
| intro a f hf | |
| obtain β¨K, hKβ© := hf | |
| exact β¨_, lipschitz_mul_real hK aβ© | |
| omit [MeasurableSpace X] in | |
| lemma lip_coe_update {k : β} (Ο : Fin k β lipSubmodule (X := X)) | |
| (i : Fin k) (f : lipSubmodule (X := X)) : | |
| (fun j => ((Function.update Ο i f) j : X β β)) = | |
| Function.update (fun j => (Ο j : X β β)) i (f : X β β) := by | |
| funext j | |
| by_cases h : j = i <;> simp [h] | |
| noncomputable def IsMetricCurrent.multilinear {k : β} {T : Functional X k} | |
| (hT : IsMetricCurrent T) (b : X β β) (hb : BoundedLip b) : | |
| MultilinearMap β (fun _ : Fin k => lipSubmodule (X := X)) β := | |
| MultilinearMap.mk' (fun Ο => T b (fun i => Ο i)) (by | |
| intro Ο i f g | |
| have h := hT.linearCoord b | |
| (fun j => ((Function.update Ο i f) j : X β β)) i (g : X β β) 1 1 | |
| β¨hb, fun j => ((Function.update Ο i f) j).propertyβ© g.property | |
| simpa only [lip_coe_update, Function.update_self, one_mul, | |
| Function.update_idem, Submodule.coe_add, Pi.add_def] using h) (by | |
| intro Ο i a f | |
| have h := hT.linearCoord b | |
| (fun j => ((Function.update Ο i f) j : X β β)) i (f : X β β) a 0 | |
| β¨hb, fun j => ((Function.update Ο i f) j).propertyβ© f.property | |
| simpa only [lip_coe_update, Function.update_self, zero_mul, add_zero, | |
| Function.update_idem, Submodule.coe_smul, Pi.smul_def, smul_eq_mul] using h) | |
| lemma IsMetricCurrent.scale_coordinates {k : β} {T : Functional X k} | |
| (hT : IsMetricCurrent T) {b : X β β} (hb : BoundedLip b) | |
| {Ο : Fin k β X β β} (hΟ : β i, β K : ββ₯0, LipschitzWith K (Ο i)) | |
| (a : Fin k β β) : | |
| T b (fun i x => a i * Ο i x) = (β i, a i) * T b Ο := by | |
| let p : Fin k β lipSubmodule (X := X) := fun i => β¨Ο i, hΟ iβ© | |
| exact (hT.multilinear b hb).map_smul_univ a p | |
| lemma IsMetricCurrent.eq_zero_of_const_coord {k : β} {T : Functional X k} | |
| (hT : IsMetricCurrent T) {b : X β β} {Ο : Fin k β X β β} | |
| (h : Admissible b Ο) (i : Fin k) (c : β) (hc : β x, Ο i x = c) : | |
| T b Ο = 0 := by | |
| apply hT.locality b Ο h | |
| exact β¨i, univ, c, isOpen_univ, subset_univ _, fun x _ => hc xβ© | |
| lemma IsMetricCurrent.eq_zero_of_zero_lipschitz_coord {k : β} {T : Functional X k} | |
| (hT : IsMetricCurrent T) {b : X β β} {Ο : Fin k β X β β} | |
| (h : Admissible b Ο) (i : Fin k) (hi : LipschitzWith 0 (Ο i)) : | |
| T b Ο = 0 := by | |
| cases isEmpty_or_nonempty X with | |
| | inl hempty => | |
| let := hempty | |
| exact hT.eq_zero_of_const_coord h i 0 (fun x => isEmptyElim x) | |
| | inr hnonempty => | |
| obtain β¨xββ© := hnonempty | |
| apply hT.eq_zero_of_const_coord h i (Ο i xβ) | |
| intro x | |
| apply dist_le_zero.mp | |
| simpa using hi.dist_le_mul x xβ | |
| end Foundations | |
| end SharpIntegralFillings | |
| end | |
| end OAI | |