Download data/lean/OAI/Geometry/IntegralFillings/Currents/CountableTests.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.98 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IntegralFillings/Currents/CountableTests.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IntegralFillings/Currents/CountableTests.lean
-
curl -L -o CountableTests.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IntegralFillings/Currents/CountableTests.lean
6.98 kB
| import Mathlib | |
| import OAI.Geometry.IntegralFillings.Currents.WeakCompactness | |
| namespace OAI | |
| section | |
| open Filter Set | |
| open Set Filter MeasureTheory TopologicalSpace | |
| open scoped Topology ENNReal | |
| open Set MeasureTheory | |
| open scoped RealInnerProductSpace | |
| open Matrix | |
| open scoped RealInnerProductSpace MatrixOrder | |
| open Set MeasureTheory Measure Filter Module | |
| open Set Filter MeasureTheory Measure ContinuousLinearMap | |
| open scoped Topology Convolution NNReal | |
| open Set Filter MeasureTheory Measure Metric | |
| open scoped Topology ContDiff | |
| open Set Filter Metric | |
| open scoped Topology NNReal | |
| open Set MeasureTheory Filter | |
| open Set Filter MeasureTheory | |
| open scoped Topology ENNReal NNReal | |
| open MeasureTheory Filter Set Metric | |
| open scoped Topology Pointwise NNReal | |
| namespace SharpIntegralFillings | |
| open MeasureTheory Set Filter | |
| open scoped Topology NNReal | |
| namespace Foundations | |
| variable {X : Type*} [MetricSpace X] [MeasurableSpace X] [BorelSpace X] [CompactSpace X] | |
| lemma exists_normal_weak_subsequence_of_integral_mass_bound | |
| {k : β} {Ts : β β Functional X (k+1+1)} | |
| (hTs : β j, IsIntegral (k+1+1) (Ts j)) | |
| (M N : ββ₯0) (hM : β j, mass (Ts j) β€ M) | |
| (hN : β j, mass (boundarySucc (Ts j)) β€ N) : | |
| β (Ο : β β β), StrictMono Ο β§ | |
| β T : Functional X (k+1+1), IsMetricCurrent T β§ | |
| IsMetricCurrent (boundarySucc T) β§ mass T β€ M β§ | |
| mass (boundarySucc T) β€ N β§ | |
| β b Ο, Tendsto (fun j => Ts (Ο j) b Ο) atTop (π (T b Ο)) := by | |
| obtain β¨l, hl, hle, T, hT, hbd, hTM, hTN, hlimβ© := | |
| exists_normal_weak_cluster_of_integral_mass_bound (l := atTop) hTs M N hM hN | |
| let := hl | |
| have hsep (K : β) : β D : β β TestClass (X := X) (k+1+1) K, DenseRange D := | |
| TopologicalSpace.exists_dense_seq _ | |
| choose D hD using hsep | |
| let evaluations (U : Functional X (k+1+1)) : (β Γ β) β β := | |
| fun ij => TestClass.eval U (D ij.1 ij.2) | |
| have heval : Tendsto (fun j => evaluations (Ts j)) l (π (evaluations T)) := | |
| tendsto_pi_nhds.mpr fun ij => hlim _ _ | |
| obtain β¨Ο, hΟ, hΟlimβ© := (heval.mapClusterPt.mono hle).tendsto_subseq | |
| refine β¨Ο, hΟ, T, hT, hbd, hTM, hTN, ?_β© | |
| have hall (K : β) (p : TestClass (X := X) (k+1+1) K) : | |
| Tendsto (fun j => TestClass.eval (Ts (Ο j)) p) atTop (π (TestClass.eval T p)) := by | |
| let C : ββ₯0 := (K : ββ₯0) ^ (k+1+1) * M + | |
| (k+1+1) * ((K : ββ₯0) + K) ^ (k+1) * (K * N + K * M) | |
| have hL (j : β) : LipschitzWith C (TestClass.eval (K := K) (Ts j)) := by | |
| simpa [C, Nat.cast_add, Nat.cast_one] using IntegerRectifiable.testClass_lipschitz (hTs j).2.1 (hTs j).1 (hTs j).2.2.1 M N | |
| (hM j) (hN j) K | |
| have hLlim : LipschitzWith C (TestClass.eval (K := K) T) := | |
| lipschitz_of_pointwise_limit (l := l) hL (fun q => hlim q.val.1 (fun i => q.val.2 i)) | |
| apply tendsto_of_lipschitz_dense (fun j => hL (Ο j)) hLlim (hD K) _ p | |
| intro i | |
| exact tendsto_pi_nhds.mp hΟlim (K, i) | |
| intro b Ο | |
| by_cases hadm : Admissible b Ο | |
| Β· obtain β¨K, p, hpβ, hpββ© := admissible_mem_testClass hadm | |
| simpa only [TestClass.eval, hpβ, hpβ] using hall K p | |
| Β· have heq : (fun j => Ts (Ο j) b Ο) = fun _ => 0 := | |
| funext fun j => (hTs (Ο j)).1.offDomain b Ο hadm | |
| rw [heq, hT.offDomain b Ο hadm] | |
| exact tendsto_const_nhds | |
| end Foundations | |
| end SharpIntegralFillings | |
| namespace SharpIntegralFillings.Foundations | |
| open MeasureTheory Set Filter | |
| open scoped Topology NNReal | |
| variable {X : Type*} [MetricSpace X] [CompactSpace X] | |
| [MeasurableSpace X] [BorelSpace X] | |
| lemma IsMetricCurrent.testClass_continuous {d : β} {T : Functional X d} | |
| (hT : IsMetricCurrent T) (K : β) : | |
| Continuous (TestClass.eval (X := X) (d := d) (K := K) T) := by | |
| apply continuous_iff_seqContinuous.mpr | |
| intro ps p hp | |
| have hcoord : Tendsto (fun n => T p.val.1 (fun i => (ps n).val.2 i)) atTop | |
| (π (T p.val.1 (fun i => p.val.2 i))) := by | |
| apply hT.sequentialContinuity _ _ _ p.boundedLip | |
| Β· intro i | |
| exact β¨K,fun n => (ps n).property.2.2 iβ© | |
| Β· intro i x | |
| have hc : Continuous (fun q : TestClass (X := X) d K => q.val.2 i x) := by fun_prop | |
| exact hc.continuousAt.tendsto.comp hp | |
| have hd : Tendsto (fun n => dist (ps n) p) atTop (π 0) := | |
| tendsto_iff_dist_tendsto_zero.mp hp | |
| have hbnd (n : β) : | |
| dist (T p.val.1 (fun i => (ps n).val.2 i)) | |
| (T (ps n).val.1 (fun i => (ps n).val.2 i)) β€ | |
| ((K:β)^d * mass T) * dist (ps n) p := by | |
| have hh := IsMetricCurrent.first_difference_bound hT p.boundedLip (ps n).boundedLip | |
| (fun i => (ps n).val.2 i) K (ps n).property.2.2 (nndist (ps n) p) (fun x => ?_) | |
| Β· simpa only [Real.dist_eq,NNReal.coe_natCast,coe_nndist,mul_assoc,mul_comm,mul_left_comm] | |
| using hh | |
| Β· have h := (ContinuousMap.dist_apply_le_dist (f := (ps n).val.1) (g := p.val.1) x).trans | |
| (le_max_left (dist (ps n).val.1 p.val.1) (dist (ps n).val.2 p.val.2)) | |
| change dist ((ps n).val.1 x) (p.val.1 x) β€ dist (ps n) p at h | |
| simpa only [coe_nndist,Real.dist_eq,abs_sub_comm] using h | |
| apply tendsto_of_tendsto_of_dist hcoord | |
| exact squeeze_zero (fun n => dist_nonneg) hbnd (by simpa using hd.const_mul ((K:β)^d * mass T)) | |
| theorem exists_countable_current_tests (d : β) : | |
| β (b : β β β β X β β) (Ο : β β β β Fin d β X β β), | |
| (β K j, Admissible (b K j) (Ο K j)) β§ | |
| β S T : Functional X d, IsMetricCurrent S β IsMetricCurrent T β | |
| (β K j, S (b K j) (Ο K j) = T (b K j) (Ο K j)) β S = T := by | |
| choose p hp using fun K : β => TopologicalSpace.exists_dense_seq (TestClass (X := X) d K) | |
| refine β¨fun K j => (p K j).val.1,fun K j i => (p K j).val.2 i,?_,?_β© | |
| Β· intro K j | |
| exact β¨(p K j).boundedLip,fun i => β¨K,(p K j).property.2.2 iβ©β© | |
| Β· intro S T hS hT heq | |
| have he (K : β) : TestClass.eval (K := K) S = TestClass.eval (K := K) T := by | |
| apply (hp K).equalizer (IsMetricCurrent.testClass_continuous hS K) (IsMetricCurrent.testClass_continuous hT K) | |
| funext j | |
| exact heq K j | |
| funext b Ο | |
| by_cases h : Admissible b Ο | |
| Β· obtain β¨K,q,hb,hΟβ© := admissible_mem_testClass h | |
| have hh := congrFun (he K) q | |
| simpa only [TestClass.eval,hb,hΟ] using hh | |
| Β· rw [hS.offDomain b Ο h,hT.offDomain b Ο h] | |
| theorem ae_eq_of_ae_test_eq {A : Type*} [MeasurableSpace A] (ΞΌ : Measure A) | |
| {d : β} {S T : A β Functional X d} | |
| (hS : βα΅ a βΞΌ, IsMetricCurrent (S a)) (hT : βα΅ a βΞΌ, IsMetricCurrent (T a)) | |
| (he : β b Ο, Admissible b Ο β βα΅ a βΞΌ, S a b Ο = T a b Ο) : | |
| βα΅ a βΞΌ, S a = T a := by | |
| obtain β¨b,Ο,ha,hexβ© := exists_countable_current_tests (X := X) d | |
| have hc : βα΅ a βΞΌ, β K j, S a (b K j) (Ο K j) = T a (b K j) (Ο K j) := | |
| ae_all_iff.mpr fun K => ae_all_iff.mpr fun j => he _ _ (ha K j) | |
| filter_upwards [hS,hT,hc] with a hs ht h | |
| exact hex _ _ hs ht h | |
| end SharpIntegralFillings.Foundations | |
| end | |
| end OAI | |