Download data/lean/OAI/Geometry/IntegralFillings/Model.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.85 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IntegralFillings/Model.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IntegralFillings/Model.lean
-
curl -L -o Model.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IntegralFillings/Model.lean
4.85 kB
| import Mathlib | |
| namespace OAI | |
| open Set Filter MeasureTheory | |
| open scoped Topology ENNReal NNReal | |
| namespace SharpIntegralFillings | |
| attribute [local instance] Classical.propDecidable | |
| universe u | |
| abbrev Euc (k : β) := EuclideanSpace β (Fin k) | |
| abbrev Functional (X : Type u) (k : β) := (X β β) β (Fin k β X β β) β β | |
| section MetricCurrents | |
| variable {X : Type u} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] | |
| def BoundedLip (b : X β β) : Prop := | |
| (β K : ββ₯0, LipschitzWith K b) β§ β M : β, β x, |b x| β€ M | |
| def Admissible {k : β} (b : X β β) (Ο : Fin k β X β β) : Prop := | |
| BoundedLip b β§ β i, β K : ββ₯0, LipschitzWith K (Ο i) | |
| def Controls {k : β} (T : Functional X k) (ΞΌ : Measure X) : Prop := | |
| β (b : X β β) (Ο : Fin k β X β β), BoundedLip b β | |
| (β i, LipschitzWith 1 (Ο i)) β | |
| |T b Ο| β€ β« x, |b x| βΞΌ | |
| noncomputable def mass {k : β} (T : Functional X k) : β := | |
| sInf {r : β | β ΞΌ : Measure X, | |
| IsFiniteMeasure ΞΌ β§ Controls T ΞΌ β§ r = ΞΌ.real univ} | |
| structure IsMetricCurrent {k : β} (T : Functional X k) : Prop where | |
| offDomain : β b Ο, Β¬Admissible b Ο β T b Ο = 0 | |
| linearFirst : β bβ bβ Ο (a c : β), BoundedLip bβ β BoundedLip bβ β | |
| (β i, β K : ββ₯0, LipschitzWith K (Ο i)) β | |
| T (fun x => a * bβ x + c * bβ x) Ο = a * T bβ Ο + c * T bβ Ο | |
| linearCoord : β b Ο i f (a c : β), Admissible b Ο β | |
| (β K : ββ₯0, LipschitzWith K f) β | |
| T b (Function.update Ο i (fun x => a * Ο i x + c * f x)) = | |
| a * T b Ο + c * T b (Function.update Ο i f) | |
| sequentialContinuity : β b Ο (Οs : β β Fin k β X β β), BoundedLip b β | |
| (β i, β K : ββ₯0, β j, LipschitzWith K (Οs j i)) β | |
| (β i x, Tendsto (fun j => Οs j i x) atTop (π (Ο i x))) β | |
| Tendsto (fun j => T b (Οs j)) atTop (π (T b Ο)) | |
| locality : β b Ο, Admissible b Ο β | |
| (β (i : Fin k) (U : Set X) (c : β), IsOpen U β§ Function.support b β U β§ | |
| β x β U, Ο i x = c) β T b Ο = 0 | |
| finiteMass : β ΞΌ : Measure X, IsFiniteMeasure ΞΌ β§ Controls T ΞΌ | |
| noncomputable def boundarySucc {k : β} (T : Functional X (k + 1)) : Functional X k := | |
| fun b Ο => if Admissible b Ο then T (fun _ => 1) (Matrix.vecCons b Ο) else 0 | |
| noncomputable def boundary : {k : β} β Functional X k β Functional X (k - 1) | |
| | 0, _ => fun _ _ => 0 | |
| | _ + 1, T => boundarySucc T | |
| structure IntegerChart (X : Type u) [MetricSpace X] (k : β) where | |
| domain : Set (Euc k) | |
| borel : MeasurableSet domain | |
| bounded : Bornology.IsBounded domain | |
| param : domain β X | |
| bilipschitz : β L U : ββ₯0, LipschitzWith L param β§ AntilipschitzWith U param | |
| multiplicity : Euc k β β€ | |
| integrable : Integrable (fun z => (multiplicity z : β)) (volume.restrict domain) | |
| namespace IntegerChart | |
| variable {k : β} (C : IntegerChart X k) | |
| noncomputable def scalar (f : X β β) (z : Euc k) : β := | |
| if hz : z β C.domain then f (C.param β¨z, hzβ©) else 0 | |
| noncomputable def jacobian (Ο : Fin k β X β β) (z : Euc k) : β := | |
| Matrix.det (fun i j => | |
| (fderivWithin β (C.scalar (Ο i)) C.domain z) (EuclideanSpace.single j 1)) | |
| noncomputable def action : Functional X k := | |
| fun b Ο => if Admissible b Ο then | |
| β« z in C.domain, (C.multiplicity z : β) * C.scalar b z * C.jacobian Ο z | |
| else 0 | |
| def image : Set X := Set.range C.param | |
| end IntegerChart | |
| def IntegerRectifiable {k : β} (T : Functional X k) : Prop := | |
| β C : β β IntegerChart X k, | |
| Pairwise (fun i j => Disjoint (C i).image (C j).image) β§ | |
| (β i, IsMetricCurrent (C i).action) β§ | |
| Summable (fun i => mass (C i).action) β§ | |
| β b Ο, T b Ο = β' i, (C i).action b Ο | |
| def IsIntegral : (k : β) β Functional X k β Prop | |
| | 0, T => IsMetricCurrent T β§ IntegerRectifiable T | |
| | _ + 1, T => IsMetricCurrent T β§ IntegerRectifiable T β§ | |
| IsMetricCurrent (boundarySucc T) β§ IntegerRectifiable (boundarySucc T) | |
| abbrev IntegralCurrent (X : Type u) [MetricSpace X] [MeasurableSpace X] [BorelSpace X] | |
| (k : β) := { T : Functional X k // IsIntegral k T } | |
| def CompactlySupported {k : β} (T : Functional X k) : Prop := | |
| β K : Set X, IsCompact K β§ | |
| β b Ο, Admissible b Ο β (β x β K, b x = 0) β T b Ο = 0 | |
| def IsCycle {k : β} (T : Functional X k) : Prop := boundary T = fun _ _ => 0 | |
| end MetricCurrents | |
| noncomputable def omega (k : β) : β := | |
| (volume (Metric.ball (0 : Euc k) 1)).toReal | |
| noncomputable def sphereArea (n : β) : β := (n + 1 : β) * omega (n + 1) | |
| noncomputable def fillingCoefficient (n : β) : β := | |
| 1 / ((n + 1 : β) * (sphereArea n) ^ (1 / (n : β))) | |
| noncomputable def fillingPower (n : β) : β := (n + 1 : β) / (n : β) | |
| end SharpIntegralFillings | |
| end OAI | |