File size: 3,880 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | 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
|