roseking commited on
Commit
1031087
·
verified ·
1 Parent(s): af9ddfa

Sync from openai/math@faee2cf485a8 (part 19)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. lean/OAI/Probability/SLE/Mass/RandomRadonLimit.lean +116 -116
  2. lean/OAI/Probability/SLE/Mass/RationalCanonicalMass.lean +190 -190
  3. lean/OAI/Probability/SLE/Mass/RationalMassFromSupports.lean +85 -85
  4. lean/OAI/Probability/SLE/Mass/RationalTraceMass.lean +137 -137
  5. lean/OAI/Probability/SLE/Mass/RationalTraceMassAdapted.lean +111 -111
  6. lean/OAI/Probability/SLE/Mass/RationalTraceMassAdaptedVersion.lean +76 -76
  7. lean/OAI/Probability/SLE/Mass/RationalTraceMassControl.lean +101 -101
  8. lean/OAI/Probability/SLE/Mass/RationalTraceMassLocal.lean +197 -197
  9. lean/OAI/Probability/SLE/Mass/RationalTraceMassLocalVariation.lean +139 -139
  10. lean/OAI/Probability/SLE/Mass/RationalTraceMassProgressiveVersion.lean +111 -111
  11. lean/OAI/Probability/SLE/Mass/RationalTraceMassSupport.lean +101 -101
  12. lean/OAI/Probability/SLE/Mass/RationalTraceMassVariation.lean +118 -118
  13. lean/OAI/Probability/SLE/Mass/RawMassFunctional.lean +74 -74
  14. lean/OAI/Probability/SLE/Mass/RawMassPathLaw.lean +133 -133
  15. lean/OAI/Probability/SLE/Mass/RawRadonGoodPaths.lean +109 -109
  16. lean/OAI/Probability/SLE/Mass/RawRadonLimit.lean +44 -44
  17. lean/OAI/Probability/SLE/Mass/RawScaledMassMeans.lean +135 -135
  18. lean/OAI/Probability/SLE/Mass/RawScaledMassPaths.lean +109 -109
  19. lean/OAI/Probability/SLE/Mass/RestartMassCoordinates.lean +87 -87
  20. lean/OAI/Probability/SLE/Mass/RestartRandomMassTesting.lean +55 -55
  21. lean/OAI/Probability/SLE/Mass/RestartStoppedMass.lean +93 -93
  22. lean/OAI/Probability/SLE/Mass/ScaledGreenMeasure.lean +61 -61
  23. lean/OAI/Probability/SLE/Mass/SignedLevelTests.lean +142 -142
  24. lean/OAI/Probability/SLE/Mass/SignedMeasureConvergence.lean +102 -102
  25. lean/OAI/Probability/SLE/Mass/SimultaneousConvexTails.lean +82 -82
  26. lean/OAI/Probability/SLE/Mass/StoppedConformalPassageMass.lean +218 -218
  27. lean/OAI/Probability/SLE/Mass/StoppedInverseMass.lean +105 -105
  28. lean/OAI/Probability/SLE/Mass/StrictPastMass.lean +76 -76
  29. lean/OAI/Probability/SLE/Mass/SubSigmaRadonLimit.lean +88 -88
  30. lean/OAI/Probability/SLE/Mass/TargetDiscreteMassRecovery.lean +71 -71
  31. lean/OAI/Probability/SLE/Mass/TerminalMassTestLimit.lean +57 -57
  32. lean/OAI/Probability/SLE/Mass/UniformCoverLevels.lean +118 -118
  33. lean/OAI/Probability/SLE/Mass/VerticalDisplacementMass.lean +31 -31
  34. lean/OAI/Probability/SLE/Mass/WaypointHarmonicMeasure.lean +135 -135
  35. lean/OAI/Probability/SLE/Mass/WeightedCompactMass.lean +108 -108
  36. lean/OAI/Probability/SLE/Mass/WeightedImageRandomMass.lean +97 -97
  37. lean/OAI/Probability/SLE/Mass/WeightedLevelMoments.lean +188 -188
  38. lean/OAI/Probability/SLE/MeasureSupport.lean +698 -698
  39. lean/OAI/Probability/SLE/MomentGauge.lean +802 -802
  40. lean/OAI/Probability/SLE/Multipoint/MultipointAbsorption.lean +70 -70
  41. lean/OAI/Probability/SLE/Multipoint/MultipointActiveCosts.lean +117 -117
  42. lean/OAI/Probability/SLE/Multipoint/MultipointActualBudget.lean +146 -146
  43. lean/OAI/Probability/SLE/Multipoint/MultipointActualCutoffs.lean +57 -57
  44. lean/OAI/Probability/SLE/Multipoint/MultipointActualExpectation.lean +124 -124
  45. lean/OAI/Probability/SLE/Multipoint/MultipointActualPhases.lean +163 -163
  46. lean/OAI/Probability/SLE/Multipoint/MultipointActualProbability.lean +86 -86
  47. lean/OAI/Probability/SLE/Multipoint/MultipointAngular.lean +289 -289
  48. lean/OAI/Probability/SLE/Multipoint/MultipointBrownianCoefficient.lean +81 -81
  49. lean/OAI/Probability/SLE/Multipoint/MultipointBudgetMonotone.lean +58 -58
  50. lean/OAI/Probability/SLE/Multipoint/MultipointCappedKernel.lean +101 -101
lean/OAI/Probability/SLE/Mass/RandomRadonLimit.lean CHANGED
@@ -1,116 +1,116 @@
1
- import OAI.Probability.SLE.Mass.RadonTestMeasurability
2
-
3
- namespace OAI
4
-
5
- /-! Measurable selection of the pathwise Radon limit. Only a measurable
6
- full-measure set is retained; the limit is set to zero on its complement. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory Classical
10
- open scoped Topology CompactlySupported
11
-
12
- namespace SLEExactGauge
13
-
14
- variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
15
- [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
16
-
17
- /-- An almost-sure regular vague limit of random positive measures has a
18
- measurable regular version. The approximants need only have measurable
19
- compact-test integrals. -/
20
- theorem exists_measurable_random_radon_limit
21
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (μ : ℕ → Ω → Measure X)
22
- (hmeas : ∀ n (f : C_c(X,ℝ)), Measurable (fun ω => ∫ x, f x ∂μ n ω))
23
- (hex : ∀ᵐ ω ∂P, ∃ ν : Measure X, ν.Regular ∧
24
- ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν))) :
25
- ∃ ν : Ω → Measure X, Measurable ν ∧
26
- (∀ ω, (ν ω).Regular ∧ IsFiniteMeasureOnCompacts (ν ω)) ∧
27
- ∀ᵐ ω ∂P, ∀ f : C_c(X,ℝ),
28
- Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν ω)) := by
29
- let good (ω : Ω) : Prop := ∃ ν : Measure X, ν.Regular ∧
30
- ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν))
31
- have hnull : P {ω | ¬good ω}=0 := ae_iff.mp hex
32
- obtain ⟨N,hN,hNm,hN0⟩ := exists_measurable_superset_of_null hnull
33
- have hgood (ω : Ω) (hω : ω ∉ N) : good ω := by
34
- by_contra h
35
- exact hω (hN h)
36
- have hall (ω : Ω) : ∃ ν : Measure X, ν.Regular ∧
37
- ∀ f : C_c(X,ℝ), Tendsto (fun n => if ω ∈ N then (0:ℝ) else ∫ x, f x ∂μ n ω)
38
- atTop (𝓝 (∫ x, f x ∂ν)) := by
39
- by_cases hω : ω ∈ N
40
- · refine ⟨0,inferInstance,fun f => ?_⟩
41
- simpa only [ite_eq_left hω,integral_zero_measure] using
42
- (tendsto_const_nhds : Tendsto (fun _ : ℕ => (0:ℝ)) atTop (𝓝 0))
43
- · obtain ⟨ν,hν,hlim⟩ := hgood ω hω
44
- exact ⟨ν,hν,fun f => by simpa only [ite_eq_right hω] using hlim f⟩
45
- choose ν hν hlim using hall
46
- have hνm : Measurable ν := by
47
- apply measurable_radon_of_tests ν hν
48
- intro f
49
- apply measurable_of_tendsto_metrizable
50
- (f := fun n ω => if ω ∈ N then (0:ℝ) else ∫ x, f x ∂μ n ω)
51
- · intro n
52
- exact measurable_const.ite hNm (hmeas n f)
53
- · exact tendsto_pi_nhds.mpr (fun ω => hlim ω f)
54
- refine ⟨ν,hνm,fun ω => ?_,?_⟩
55
- · let : (ν ω).Regular := hν ω
56
- exact ⟨hν ω,inferInstance⟩
57
- · filter_upwards [compl_mem_ae_iff.mpr hN0] with ω hω
58
- intro f
59
- simpa only [ite_eq_right hω] using hlim ω f
60
-
61
- /-- Countably many times retain one common event of convergence, and each
62
- selected time slice is a measurable locally finite regular random measure. -/
63
- theorem exists_measurable_countable_radon_limits
64
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (μ : ℕ → ℕ → Ω → Measure X)
65
- (hmeas : ∀ n j (f : C_c(X,ℝ)), Measurable (fun ω => ∫ x, f x ∂μ n j ω))
66
- (hex : ∀ᵐ ω ∂P, ∃ ν : ℕ → Measure X, (∀ j, (ν j).Regular) ∧
67
- ∀ j (f : C_c(X,ℝ)), Tendsto (fun n => ∫ x, f x ∂μ n j ω) atTop (𝓝 (∫ x, f x ∂ν j))) :
68
- ∃ ν : ℕ → Ω → Measure X, (∀ j, Measurable (ν j)) ∧
69
- (∀ j ω, (ν j ω).Regular ∧ IsFiniteMeasureOnCompacts (ν j ω)) ∧
70
- ∀ᵐ ω ∂P, ∀ j (f : C_c(X,ℝ)),
71
- Tendsto (fun n => ∫ x, f x ∂μ n j ω) atTop (𝓝 (∫ x, f x ∂ν j ω)) := by
72
- have hj (j : ℕ) : ∀ᵐ ω ∂P, ∃ ν : Measure X, ν.Regular ∧
73
- ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n j ω) atTop (𝓝 (∫ x, f x ∂ν)) := by
74
- filter_upwards [hex] with ω hω
75
- obtain ⟨ν,hν,hlim⟩ := hω
76
- exact ⟨ν j,hν j,hlim j⟩
77
- choose ν hνm hνr hlim using fun j =>
78
- exists_measurable_random_radon_limit P (fun n => μ n j) (fun n => hmeas n j) (hj j)
79
- exact ⟨ν,hνm,hνr,ae_all_iff.mpr hlim⟩
80
-
81
- omit [SecondCountableTopology X] in
82
- /-- Regular vague limits of the same sequence are unique. -/
83
- theorem radon_test_limit_unique (μ : ℕ → Measure X) (ν η : Measure X)
84
- [ν.Regular] [η.Regular]
85
- (hν : ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n) atTop (𝓝 (∫ x, f x ∂ν)))
86
- (hη : ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n) atTop (𝓝 (∫ x, f x ∂η))) :
87
- ν=η :=
88
- Measure.ext_of_integral_eq_on_compactlySupported fun f => tendsto_nhds_unique (hν f) (hη f)
89
-
90
- /-- Any pathwise version of the same limit is almost everywhere
91
- measurable, useful when the approximants are measurable in a smaller
92
- stopped or deterministic-time sigma algebra. -/
93
- theorem aemeasurable_radon_of_test_limits_ae
94
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (μ : ℕ → Ω → Measure X)
95
- (ν : Ω → Measure X)
96
- (hmeas : ∀ n (f : C_c(X,ℝ)), Measurable (fun ω => ∫ x, f x ∂μ n ω))
97
- (hν : ∀ᵐ ω ∂P, (ν ω).Regular)
98
- (hlim : ∀ᵐ ω ∂P, ∀ f : C_c(X,ℝ),
99
- Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν ω))) :
100
- AEMeasurable ν P := by
101
- have hex : ∀ᵐ ω ∂P, ∃ η : Measure X, η.Regular ∧
102
- ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂η)) := by
103
- filter_upwards [hν,hlim] with ω hr hl
104
- exact ⟨ν ω,hr,hl⟩
105
- obtain ⟨η,hηm,hηr,hηlim⟩ := exists_measurable_random_radon_limit P μ hmeas hex
106
- apply hηm.aemeasurable.congr
107
- filter_upwards [hν,hlim,hηlim] with ω hr hl hηl
108
- let : (ν ω).Regular := hr
109
- let : (η ω).Regular := (hηr ω).1
110
- exact (radon_test_limit_unique (fun n => μ n ω) (ν ω) (η ω) hl hηl).symm
111
-
112
- end SLEExactGauge
113
-
114
- end
115
-
116
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RadonTestMeasurability
2
+
3
+ namespace OAI
4
+
5
+ /-! Measurable selection of the pathwise Radon limit. Only a measurable
6
+ full-measure set is retained; the limit is set to zero on its complement. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory Classical
10
+ open scoped Topology CompactlySupported
11
+
12
+ namespace SLEExactGauge
13
+
14
+ variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
15
+ [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
16
+
17
+ /-- An almost-sure regular vague limit of random positive measures has a
18
+ measurable regular version. The approximants need only have measurable
19
+ compact-test integrals. -/
20
+ theorem exists_measurable_random_radon_limit
21
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (μ : ℕ → Ω → Measure X)
22
+ (hmeas : ∀ n (f : C_c(X,ℝ)), Measurable (fun ω => ∫ x, f x ∂μ n ω))
23
+ (hex : ∀ᵐ ω ∂P, ∃ ν : Measure X, ν.Regular ∧
24
+ ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν))) :
25
+ ∃ ν : Ω → Measure X, Measurable ν ∧
26
+ (∀ ω, (ν ω).Regular ∧ IsFiniteMeasureOnCompacts (ν ω)) ∧
27
+ ∀ᵐ ω ∂P, ∀ f : C_c(X,ℝ),
28
+ Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν ω)) := by
29
+ let good (ω : Ω) : Prop := ∃ ν : Measure X, ν.Regular ∧
30
+ ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν))
31
+ have hnull : P {ω | ¬good ω}=0 := ae_iff.mp hex
32
+ obtain ⟨N,hN,hNm,hN0⟩ := exists_measurable_superset_of_null hnull
33
+ have hgood (ω : Ω) (hω : ω ∉ N) : good ω := by
34
+ by_contra h
35
+ exact hω (hN h)
36
+ have hall (ω : Ω) : ∃ ν : Measure X, ν.Regular ∧
37
+ ∀ f : C_c(X,ℝ), Tendsto (fun n => if ω ∈ N then (0:ℝ) else ∫ x, f x ∂μ n ω)
38
+ atTop (𝓝 (∫ x, f x ∂ν)) := by
39
+ by_cases hω : ω ∈ N
40
+ · refine ⟨0,inferInstance,fun f => ?_⟩
41
+ simpa only [ite_eq_left hω,integral_zero_measure] using
42
+ (tendsto_const_nhds : Tendsto (fun _ : ℕ => (0:ℝ)) atTop (𝓝 0))
43
+ · obtain ⟨ν,hν,hlim⟩ := hgood ω hω
44
+ exact ⟨ν,hν,fun f => by simpa only [ite_eq_right hω] using hlim f⟩
45
+ choose ν hν hlim using hall
46
+ have hνm : Measurable ν := by
47
+ apply measurable_radon_of_tests ν hν
48
+ intro f
49
+ apply measurable_of_tendsto_metrizable
50
+ (f := fun n ω => if ω ∈ N then (0:ℝ) else ∫ x, f x ∂μ n ω)
51
+ · intro n
52
+ exact measurable_const.ite hNm (hmeas n f)
53
+ · exact tendsto_pi_nhds.mpr (fun ω => hlim ω f)
54
+ refine ⟨ν,hνm,fun ω => ?_,?_⟩
55
+ · let : (ν ω).Regular := hν ω
56
+ exact ⟨hν ω,inferInstance⟩
57
+ · filter_upwards [compl_mem_ae_iff.mpr hN0] with ω hω
58
+ intro f
59
+ simpa only [ite_eq_right hω] using hlim ω f
60
+
61
+ /-- Countably many times retain one common event of convergence, and each
62
+ selected time slice is a measurable locally finite regular random measure. -/
63
+ theorem exists_measurable_countable_radon_limits
64
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (μ : ℕ → ℕ → Ω → Measure X)
65
+ (hmeas : ∀ n j (f : C_c(X,ℝ)), Measurable (fun ω => ∫ x, f x ∂μ n j ω))
66
+ (hex : ∀ᵐ ω ∂P, ∃ ν : ℕ → Measure X, (∀ j, (ν j).Regular) ∧
67
+ ∀ j (f : C_c(X,ℝ)), Tendsto (fun n => ∫ x, f x ∂μ n j ω) atTop (𝓝 (∫ x, f x ∂ν j))) :
68
+ ∃ ν : ℕ → Ω → Measure X, (∀ j, Measurable (ν j)) ∧
69
+ (∀ j ω, (ν j ω).Regular ∧ IsFiniteMeasureOnCompacts (ν j ω)) ∧
70
+ ∀ᵐ ω ∂P, ∀ j (f : C_c(X,ℝ)),
71
+ Tendsto (fun n => ∫ x, f x ∂μ n j ω) atTop (𝓝 (∫ x, f x ∂ν j ω)) := by
72
+ have hj (j : ℕ) : ∀ᵐ ω ∂P, ∃ ν : Measure X, ν.Regular ∧
73
+ ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n j ω) atTop (𝓝 (∫ x, f x ∂ν)) := by
74
+ filter_upwards [hex] with ω hω
75
+ obtain ⟨ν,hν,hlim⟩ := hω
76
+ exact ⟨ν j,hν j,hlim j⟩
77
+ choose ν hνm hνr hlim using fun j =>
78
+ exists_measurable_random_radon_limit P (fun n => μ n j) (fun n => hmeas n j) (hj j)
79
+ exact ⟨ν,hνm,hνr,ae_all_iff.mpr hlim⟩
80
+
81
+ omit [SecondCountableTopology X] in
82
+ /-- Regular vague limits of the same sequence are unique. -/
83
+ theorem radon_test_limit_unique (μ : ℕ → Measure X) (ν η : Measure X)
84
+ [ν.Regular] [η.Regular]
85
+ (hν : ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n) atTop (𝓝 (∫ x, f x ∂ν)))
86
+ (hη : ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n) atTop (𝓝 (∫ x, f x ∂η))) :
87
+ ν=η :=
88
+ Measure.ext_of_integral_eq_on_compactlySupported fun f => tendsto_nhds_unique (hν f) (hη f)
89
+
90
+ /-- Any pathwise version of the same limit is almost everywhere
91
+ measurable, useful when the approximants are measurable in a smaller
92
+ stopped or deterministic-time sigma algebra. -/
93
+ theorem aemeasurable_radon_of_test_limits_ae
94
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (μ : ℕ → Ω → Measure X)
95
+ (ν : Ω → Measure X)
96
+ (hmeas : ∀ n (f : C_c(X,ℝ)), Measurable (fun ω => ∫ x, f x ∂μ n ω))
97
+ (hν : ∀ᵐ ω ∂P, (ν ω).Regular)
98
+ (hlim : ∀ᵐ ω ∂P, ∀ f : C_c(X,ℝ),
99
+ Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν ω))) :
100
+ AEMeasurable ν P := by
101
+ have hex : ∀ᵐ ω ∂P, ∃ η : Measure X, η.Regular ∧
102
+ ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂η)) := by
103
+ filter_upwards [hν,hlim] with ω hr hl
104
+ exact ⟨ν ω,hr,hl⟩
105
+ obtain ⟨η,hηm,hηr,hηlim⟩ := exists_measurable_random_radon_limit P μ hmeas hex
106
+ apply hηm.aemeasurable.congr
107
+ filter_upwards [hν,hlim,hηlim] with ω hr hl hηl
108
+ let : (ν ω).Regular := hr
109
+ let : (η ω).Regular := (hηr ω).1
110
+ exact (radon_test_limit_unique (fun n => μ n ω) (ν ω) (η ω) hl hηl).symm
111
+
112
+ end SLEExactGauge
113
+
114
+ end
115
+
116
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalCanonicalMass.lean CHANGED
@@ -1,190 +1,190 @@
1
- import OAI.Probability.SLE.Mass.LevelRemainderSupport
2
- import OAI.Probability.SLE.Mass.RationalMassFromSupports
3
- import OAI.Probability.SLE.Mass.CountableLevelAdapted
4
- import OAI.Probability.SLE.Mass.LevelRadonNonatomic
5
-
6
- namespace OAI
7
-
8
- /-! The actual common convex-tail construction at rational times, with
9
- adapted versions, positive trace increments and its conditional Green kernel. -/
10
-
11
- noncomputable section
12
- open Set Filter MeasureTheory ProbabilityTheory Classical
13
- open scoped NNReal ENNReal Topology CompactlySupported
14
-
15
- namespace SLEExactGauge.Multipoint
16
-
17
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
18
-
19
- def rationalMassTime (n : ℕ) : ℝ≥0 :=
20
- (((Encodable.decode (α := ℚ) n).getD 0 : ℚ) : ℝ).toNNReal
21
-
22
- @[simp] lemma rationalMassTime_encode (q : ℚ) :
23
- rationalMassTime (Encodable.encode q) = (q : ℝ).toNNReal := by
24
- simp only [rationalMassTime,Encodable.encodek,Option.getD_some]
25
-
26
- structure RationalCanonicalMass
27
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (κ : ℝ)
28
- (B : ℝ≥0 → Ω → ℝ) (hBm : Measurable (Function.uncurry B))
29
- (γ : Ω → ℝ≥0 → ℂ) (G : Ω → ℝ≥0 → ℂ → ℂ) where
30
- terminal : Ω → Measure upperHalfPlane
31
- mass : ℚ → Ω → Measure upperHalfPlane
32
- terminal_measurable : Measurable terminal
33
- mass_measurable : ∀ q : ℚ, Measurable[Filtration.natural B (fun r =>
34
- (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B r)).stronglyMeasurable)
35
- (q : ℝ).toNNReal] (mass q)
36
- terminal_radon : ∀ ω, (terminal ω).Regular ∧ IsFiniteMeasureOnCompacts (terminal ω)
37
- mass_radon : ∀ q ω, (mass q ω).Regular ∧ IsFiniteMeasureOnCompacts (mass q ω)
38
- supports : ℕ → Finset ℕ
39
- weights : ℕ → ℕ → ℝ
40
- weights_nonneg : ∀ n i, i ∈ supports n → 0 ≤ weights n i
41
- weights_sum : ∀ n, ∑ i ∈ supports n, weights n i = 1
42
- terminal_limit : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
43
- Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
44
- supports weights n ∞ ω) atTop (𝓝 (∫ z, f z ∂terminal ω))
45
- mass_limit : ∀ᵐ ω ∂P, ∀ (q : ℚ) (f : C_c(upperHalfPlane,ℝ)),
46
- Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
47
- supports weights n (q : ℝ).toNNReal ω) atTop (𝓝 (∫ z, f z ∂mass q ω))
48
- zero : ∀ᵐ ω ∂P, mass 0 ω = 0
49
- increments : ∀ᵐ ω ∂P,
50
- HalfPlaneTraceIncrements (fun q => mass q ω) (terminal ω) (fun r => γ ω r.toNNReal)
51
- nonatomic : ∀ᵐ ω ∂P, NullSingletonClass (terminal ω)
52
- moments : ∀ K : Set upperHalfPlane, IsCompact K → ∀ m : ℕ,
53
- (∫⁻ ω, terminal ω K ^ m ∂P) < ∞
54
- mean : P.bind terminal = initialGreenMeasure κ
55
- conditional : ∀ q : ℚ, ∀ E : Set Ω,
56
- MeasurableSet[Filtration.natural B (fun r =>
57
- (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B r)).stronglyMeasurable)
58
- (q : ℝ).toNNReal] E →
59
- (P.restrict E).bind terminal = (P.restrict E).bind (mass q) +
60
- (P.restrict E).bind (halfPlaneGreenMeasure κ B γ G (q : ℝ).toNNReal)
61
-
62
- theorem exists_rationalCanonicalMass
63
- {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
64
- {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
65
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
66
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
67
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
68
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
69
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
70
- (hgrowth : PublishedDiskUnivalentGrowth) :
71
- Nonempty (RationalCanonicalMass P κ B hBm γ G) := by
72
- obtain ⟨s,w,ν,η,hw₀,hw₁,hνm,hν,hlim,hηm,hη,hηsum,hmean,hkernel⟩ :=
73
- exists_countable_radon_remainder_kernels hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
74
- rationalMassTime
75
- have hfiniteLimit : ∀ᵐ ω ∂P, ∀ j (f : C_c(upperHalfPlane,ℝ)),
76
- Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
77
- s w n (rationalMassTime j) ω) atTop (𝓝 (∫ z, f z ∂ν (j+1) ω)) := by
78
- filter_upwards [hlim] with ω hω
79
- intro j f
80
- simpa only [levelMassTimes_succ] using hω (j+1) f
81
- obtain ⟨M,hMm,hMr,hMeq⟩ := countable_level_limits_have_past_versions P
82
- (fun r => hBm.comp (measurable_const.prodMk measurable_id)) hBc hκ hκ8 γ G F hw
83
- (fun n => (n:ℝ)) (fun n => Nat.cast_nonneg n) s w hw₀ rationalMassTime
84
- (fun j => ν (j+1)) (Eventually.of_forall (fun ω j => (hν (j+1) ω).1)) hfiniteLimit
85
- let μ (q : ℚ) := M (Encodable.encode q)
86
- have hμeq : ∀ᵐ ω ∂P, ∀ q, μ q ω = ν (Encodable.encode q+1) ω := by
87
- filter_upwards [hMeq] with ω hω
88
- exact fun q => hω _
89
- have hμlim : ∀ᵐ ω ∂P, ∀ (q : ℚ) (f : C_c(upperHalfPlane,ℝ)),
90
- Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
91
- s w n (q:ℝ).toNNReal ω) atTop (𝓝 (∫ z, f z ∂μ q ω)) := by
92
- filter_upwards [hfiniteLimit,hμeq] with ω hl he
93
- intro q f
94
- rw [he q]
95
- simpa only [rationalMassTime_encode] using hl (Encodable.encode q) f
96
- have htermLimit : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
97
- Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
98
- s w n ∞ ω) atTop (𝓝 (∫ z, f z ∂ν 0 ω)) := by
99
- filter_upwards [hlim] with ω hω
100
- exact hω 0
101
- have hfuture (j : ℕ) := ae_remainder_carried_by_surviving hB hBm hBc hB0 hκ hκ8 γ G F hw
102
- (rationalMassTime j) (η j) (hηm j) (fun ω => (hη j ω).2) (hkernel j)
103
- have hinc : ∀ᵐ ω ∂P,
104
- HalfPlaneTraceIncrements (fun q => μ q ω) (ν 0 ω) (fun r => γ ω r.toNNReal) := by
105
- filter_upwards [hμlim,htermLimit,hμeq,hηsum,ae_all_iff.mpr hfuture] with ω hl ht he hs hf
106
- let : (ν 0 ω).Regular := (hν 0 ω).1
107
- let (q : ℚ) : (μ q ω).Regular := (hMr (Encodable.encode q) ω).1
108
- let (q : ℚ) : IsFiniteMeasureOnCompacts (μ q ω) := (hMr (Encodable.encode q) ω).2
109
- let (n : ℕ) (v : ℝ≥0∞) : IsFiniteMeasureOnCompacts
110
- (convexLevelMeasure κ B γ G (fun n => (n:ℝ)) s w n v ω) :=
111
- convexLevelMeasure_finite_on_compacts hκ hκ8 γ G F ω (hBc ω) (hw ω) _ s w n v
112
- have hdom (q : ℚ) : μ q ω ≤ ν 0 ω := by
113
- apply radon_limits_mono _ _ _ _ (hl q) ht
114
- intro n
115
- exact convexLevelMeasure_mono κ B γ G (fun n => (n:ℝ)) s w n ω le_top
116
- have hmono : Monotone (fun q => μ q ω) := by
117
- intro p q hpq
118
- let (n : ℕ) : IsFiniteMeasureOnCompacts
119
- (convexLevelMeasure κ B γ G (fun n => (n:ℝ)) s w n (p:ℝ).toNNReal ω) :=
120
- convexLevelMeasure_finite_on_compacts hκ hκ8 γ G F ω (hBc ω) (hw ω) _ s w n _
121
- apply radon_limits_mono _ _ _ _ (hl p) (hl q)
122
- intro n
123
- exact convexLevelMeasure_mono κ B γ G (fun n => (n:ℝ)) s w n ω
124
- (ENNReal.coe_le_coe.mpr (Real.toNNReal_mono (Rat.cast_le.mpr hpq)))
125
- have hzero (q : ℚ) (hq : q ≤ 0) : μ q ω = 0 := by
126
- apply convex_level_radon_limit_zero_at_zero ω (hBc ω) (hw ω) (fun n => (n:ℝ))
127
- tendsto_natCast_atTop_atTop s w (μ q ω)
128
- simpa only [Real.toNNReal_eq_zero.mpr (Rat.cast_nonpos.mpr hq),ENNReal.coe_zero] using hl q
129
- apply halfPlaneTraceIncrements_of_past_and_future (fun q => μ q ω) (ν 0 ω) (γ ω)
130
- (fun q => (hMr (Encodable.encode q) ω).1) hdom hmono hzero
131
- · intro q _
132
- exact convex_level_radon_limit_carried_by_past ω (hBc ω) (hw ω) _ (fun n => (n:ℝ))
133
- tendsto_natCast_atTop_atTop s w (μ q ω) (hl q)
134
- · intro q _
135
- have heη : η (Encodable.encode q) ω = ν 0 ω-μ q ω := by
136
- apply (Measure.add_left_inj (μ q ω) _ _).mp
137
- rw [sigmaFinite_sub_add_cancel_of_le (hdom q),he q]
138
- exact hs _
139
- rw [← heη]
140
- simpa only [rationalMassTime_encode] using hf (Encodable.encode q)
141
- refine ⟨{
142
- terminal := ν 0
143
- mass := μ
144
- terminal_measurable := hνm 0
145
- mass_measurable := ?_
146
- terminal_radon := hν 0
147
- mass_radon := fun q => hMr (Encodable.encode q)
148
- supports := s
149
- weights := w
150
- weights_nonneg := hw₀
151
- weights_sum := hw₁
152
- terminal_limit := htermLimit
153
- mass_limit := hμlim
154
- zero := ?_
155
- increments := hinc
156
- nonatomic := ?_
157
- moments := ?_
158
- mean := hmean
159
- conditional := ?_ }⟩
160
- · intro q
161
- simpa +instances only [rationalMassTime_encode,Function.comp_def,Function.uncurry] using hMm (Encodable.encode q)
162
- · filter_upwards [hμlim] with ω hω
163
- let : (μ 0 ω).Regular := (hMr (Encodable.encode (0:ℚ)) ω).1
164
- apply convex_level_radon_limit_zero_at_zero ω (hBc ω) (hw ω) (fun n => (n:ℝ))
165
- tendsto_natCast_atTop_atTop s w (μ 0 ω)
166
- simpa only [Rat.cast_zero,Real.toNNReal_zero,ENNReal.coe_zero] using hω 0
167
- · exact level_radon_limit_nonatomic hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
168
- (fun n => (n:ℝ)) (fun n => Nat.cast_nonneg n) s w hw₀ hw₁ ∞ (ν 0) (hνm 0)
169
- (fun ω => (hν 0 ω).2) htermLimit
170
- · intro K hK m
171
- exact level_radon_limit_compact_moments hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
172
- (fun n => (n:ℝ)) (fun n => Nat.cast_nonneg n) s w hw₀ hw₁ ∞ (ν 0)
173
- (fun ω => (hν 0 ω).2) htermLimit K hK m
174
- · intro q E hE
175
- have hμm : Measurable (μ q) := (hMm (Encodable.encode q)).mono (Filtration.le _ _) le_rfl
176
- have hs : ∀ᵐ ω ∂P, η (Encodable.encode q) ω + μ q ω = ν 0 ω := by
177
- filter_upwards [hμeq,hηsum] with ω he hs
178
- rw [he q]
179
- exact hs _
180
- have hc := bind_add_of_ae (P.restrict E) (μ q) (ν 0) (η (Encodable.encode q))
181
- hμm (hνm 0) (hηm _) (ae_restrict_of_ae hs)
182
- rw [← hc,add_comm]
183
- congr 1
184
- simpa only [rationalMassTime_encode] using hkernel (Encodable.encode q) E (by simpa +instances only [rationalMassTime_encode] using hE)
185
-
186
- end SLEExactGauge.Multipoint
187
-
188
- end
189
-
190
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.LevelRemainderSupport
2
+ import OAI.Probability.SLE.Mass.RationalMassFromSupports
3
+ import OAI.Probability.SLE.Mass.CountableLevelAdapted
4
+ import OAI.Probability.SLE.Mass.LevelRadonNonatomic
5
+
6
+ namespace OAI
7
+
8
+ /-! The actual common convex-tail construction at rational times, with
9
+ adapted versions, positive trace increments and its conditional Green kernel. -/
10
+
11
+ noncomputable section
12
+ open Set Filter MeasureTheory ProbabilityTheory Classical
13
+ open scoped NNReal ENNReal Topology CompactlySupported
14
+
15
+ namespace SLEExactGauge.Multipoint
16
+
17
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
18
+
19
+ def rationalMassTime (n : ℕ) : ℝ≥0 :=
20
+ (((Encodable.decode (α := ℚ) n).getD 0 : ℚ) : ℝ).toNNReal
21
+
22
+ @[simp] lemma rationalMassTime_encode (q : ℚ) :
23
+ rationalMassTime (Encodable.encode q) = (q : ℝ).toNNReal := by
24
+ simp only [rationalMassTime,Encodable.encodek,Option.getD_some]
25
+
26
+ structure RationalCanonicalMass
27
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (κ : ℝ)
28
+ (B : ℝ≥0 → Ω → ℝ) (hBm : Measurable (Function.uncurry B))
29
+ (γ : Ω → ℝ≥0 → ℂ) (G : Ω → ℝ≥0 → ℂ → ℂ) where
30
+ terminal : Ω → Measure upperHalfPlane
31
+ mass : ℚ → Ω → Measure upperHalfPlane
32
+ terminal_measurable : Measurable terminal
33
+ mass_measurable : ∀ q : ℚ, Measurable[Filtration.natural B (fun r =>
34
+ (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B r)).stronglyMeasurable)
35
+ (q : ℝ).toNNReal] (mass q)
36
+ terminal_radon : ∀ ω, (terminal ω).Regular ∧ IsFiniteMeasureOnCompacts (terminal ω)
37
+ mass_radon : ∀ q ω, (mass q ω).Regular ∧ IsFiniteMeasureOnCompacts (mass q ω)
38
+ supports : ℕ → Finset ℕ
39
+ weights : ℕ → ℕ → ℝ
40
+ weights_nonneg : ∀ n i, i ∈ supports n → 0 ≤ weights n i
41
+ weights_sum : ∀ n, ∑ i ∈ supports n, weights n i = 1
42
+ terminal_limit : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
43
+ Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
44
+ supports weights n ∞ ω) atTop (𝓝 (∫ z, f z ∂terminal ω))
45
+ mass_limit : ∀ᵐ ω ∂P, ∀ (q : ℚ) (f : C_c(upperHalfPlane,ℝ)),
46
+ Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
47
+ supports weights n (q : ℝ).toNNReal ω) atTop (𝓝 (∫ z, f z ∂mass q ω))
48
+ zero : ∀ᵐ ω ∂P, mass 0 ω = 0
49
+ increments : ∀ᵐ ω ∂P,
50
+ HalfPlaneTraceIncrements (fun q => mass q ω) (terminal ω) (fun r => γ ω r.toNNReal)
51
+ nonatomic : ∀ᵐ ω ∂P, NullSingletonClass (terminal ω)
52
+ moments : ∀ K : Set upperHalfPlane, IsCompact K → ∀ m : ℕ,
53
+ (∫⁻ ω, terminal ω K ^ m ∂P) < ∞
54
+ mean : P.bind terminal = initialGreenMeasure κ
55
+ conditional : ∀ q : ℚ, ∀ E : Set Ω,
56
+ MeasurableSet[Filtration.natural B (fun r =>
57
+ (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B r)).stronglyMeasurable)
58
+ (q : ℝ).toNNReal] E →
59
+ (P.restrict E).bind terminal = (P.restrict E).bind (mass q) +
60
+ (P.restrict E).bind (halfPlaneGreenMeasure κ B γ G (q : ℝ).toNNReal)
61
+
62
+ theorem exists_rationalCanonicalMass
63
+ {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
64
+ {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
65
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
66
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
67
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
68
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
69
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
70
+ (hgrowth : PublishedDiskUnivalentGrowth) :
71
+ Nonempty (RationalCanonicalMass P κ B hBm γ G) := by
72
+ obtain ⟨s,w,ν,η,hw₀,hw₁,hνm,hν,hlim,hηm,hη,hηsum,hmean,hkernel⟩ :=
73
+ exists_countable_radon_remainder_kernels hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
74
+ rationalMassTime
75
+ have hfiniteLimit : ∀ᵐ ω ∂P, ∀ j (f : C_c(upperHalfPlane,ℝ)),
76
+ Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
77
+ s w n (rationalMassTime j) ω) atTop (𝓝 (∫ z, f z ∂ν (j+1) ω)) := by
78
+ filter_upwards [hlim] with ω hω
79
+ intro j f
80
+ simpa only [levelMassTimes_succ] using hω (j+1) f
81
+ obtain ⟨M,hMm,hMr,hMeq⟩ := countable_level_limits_have_past_versions P
82
+ (fun r => hBm.comp (measurable_const.prodMk measurable_id)) hBc hκ hκ8 γ G F hw
83
+ (fun n => (n:ℝ)) (fun n => Nat.cast_nonneg n) s w hw₀ rationalMassTime
84
+ (fun j => ν (j+1)) (Eventually.of_forall (fun ω j => (hν (j+1) ω).1)) hfiniteLimit
85
+ let μ (q : ℚ) := M (Encodable.encode q)
86
+ have hμeq : ∀ᵐ ω ∂P, ∀ q, μ q ω = ν (Encodable.encode q+1) ω := by
87
+ filter_upwards [hMeq] with ω hω
88
+ exact fun q => hω _
89
+ have hμlim : ∀ᵐ ω ∂P, ∀ (q : ℚ) (f : C_c(upperHalfPlane,ℝ)),
90
+ Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
91
+ s w n (q:ℝ).toNNReal ω) atTop (𝓝 (∫ z, f z ∂μ q ω)) := by
92
+ filter_upwards [hfiniteLimit,hμeq] with ω hl he
93
+ intro q f
94
+ rw [he q]
95
+ simpa only [rationalMassTime_encode] using hl (Encodable.encode q) f
96
+ have htermLimit : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
97
+ Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G (fun n => (n:ℝ))
98
+ s w n ∞ ω) atTop (𝓝 (∫ z, f z ∂ν 0 ω)) := by
99
+ filter_upwards [hlim] with ω hω
100
+ exact hω 0
101
+ have hfuture (j : ℕ) := ae_remainder_carried_by_surviving hB hBm hBc hB0 hκ hκ8 γ G F hw
102
+ (rationalMassTime j) (η j) (hηm j) (fun ω => (hη j ω).2) (hkernel j)
103
+ have hinc : ∀ᵐ ω ∂P,
104
+ HalfPlaneTraceIncrements (fun q => μ q ω) (ν 0 ω) (fun r => γ ω r.toNNReal) := by
105
+ filter_upwards [hμlim,htermLimit,hμeq,hηsum,ae_all_iff.mpr hfuture] with ω hl ht he hs hf
106
+ let : (ν 0 ω).Regular := (hν 0 ω).1
107
+ let (q : ℚ) : (μ q ω).Regular := (hMr (Encodable.encode q) ω).1
108
+ let (q : ℚ) : IsFiniteMeasureOnCompacts (μ q ω) := (hMr (Encodable.encode q) ω).2
109
+ let (n : ℕ) (v : ℝ≥0∞) : IsFiniteMeasureOnCompacts
110
+ (convexLevelMeasure κ B γ G (fun n => (n:ℝ)) s w n v ω) :=
111
+ convexLevelMeasure_finite_on_compacts hκ hκ8 γ G F ω (hBc ω) (hw ω) _ s w n v
112
+ have hdom (q : ℚ) : μ q ω ≤ ν 0 ω := by
113
+ apply radon_limits_mono _ _ _ _ (hl q) ht
114
+ intro n
115
+ exact convexLevelMeasure_mono κ B γ G (fun n => (n:ℝ)) s w n ω le_top
116
+ have hmono : Monotone (fun q => μ q ω) := by
117
+ intro p q hpq
118
+ let (n : ℕ) : IsFiniteMeasureOnCompacts
119
+ (convexLevelMeasure κ B γ G (fun n => (n:ℝ)) s w n (p:ℝ).toNNReal ω) :=
120
+ convexLevelMeasure_finite_on_compacts hκ hκ8 γ G F ω (hBc ω) (hw ω) _ s w n _
121
+ apply radon_limits_mono _ _ _ _ (hl p) (hl q)
122
+ intro n
123
+ exact convexLevelMeasure_mono κ B γ G (fun n => (n:ℝ)) s w n ω
124
+ (ENNReal.coe_le_coe.mpr (Real.toNNReal_mono (Rat.cast_le.mpr hpq)))
125
+ have hzero (q : ℚ) (hq : q ≤ 0) : μ q ω = 0 := by
126
+ apply convex_level_radon_limit_zero_at_zero ω (hBc ω) (hw ω) (fun n => (n:ℝ))
127
+ tendsto_natCast_atTop_atTop s w (μ q ω)
128
+ simpa only [Real.toNNReal_eq_zero.mpr (Rat.cast_nonpos.mpr hq),ENNReal.coe_zero] using hl q
129
+ apply halfPlaneTraceIncrements_of_past_and_future (fun q => μ q ω) (ν 0 ω) (γ ω)
130
+ (fun q => (hMr (Encodable.encode q) ω).1) hdom hmono hzero
131
+ · intro q _
132
+ exact convex_level_radon_limit_carried_by_past ω (hBc ω) (hw ω) _ (fun n => (n:ℝ))
133
+ tendsto_natCast_atTop_atTop s w (μ q ω) (hl q)
134
+ · intro q _
135
+ have heη : η (Encodable.encode q) ω = ν 0 ω-μ q ω := by
136
+ apply (Measure.add_left_inj (μ q ω) _ _).mp
137
+ rw [sigmaFinite_sub_add_cancel_of_le (hdom q),he q]
138
+ exact hs _
139
+ rw [← heη]
140
+ simpa only [rationalMassTime_encode] using hf (Encodable.encode q)
141
+ refine ⟨{
142
+ terminal := ν 0
143
+ mass := μ
144
+ terminal_measurable := hνm 0
145
+ mass_measurable := ?_
146
+ terminal_radon := hν 0
147
+ mass_radon := fun q => hMr (Encodable.encode q)
148
+ supports := s
149
+ weights := w
150
+ weights_nonneg := hw₀
151
+ weights_sum := hw₁
152
+ terminal_limit := htermLimit
153
+ mass_limit := hμlim
154
+ zero := ?_
155
+ increments := hinc
156
+ nonatomic := ?_
157
+ moments := ?_
158
+ mean := hmean
159
+ conditional := ?_ }⟩
160
+ · intro q
161
+ simpa +instances only [rationalMassTime_encode,Function.comp_def,Function.uncurry] using hMm (Encodable.encode q)
162
+ · filter_upwards [hμlim] with ω hω
163
+ let : (μ 0 ω).Regular := (hMr (Encodable.encode (0:ℚ)) ω).1
164
+ apply convex_level_radon_limit_zero_at_zero ω (hBc ω) (hw ω) (fun n => (n:ℝ))
165
+ tendsto_natCast_atTop_atTop s w (μ 0 ω)
166
+ simpa only [Rat.cast_zero,Real.toNNReal_zero,ENNReal.coe_zero] using hω 0
167
+ · exact level_radon_limit_nonatomic hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
168
+ (fun n => (n:ℝ)) (fun n => Nat.cast_nonneg n) s w hw₀ hw₁ ∞ (ν 0) (hνm 0)
169
+ (fun ω => (hν 0 ω).2) htermLimit
170
+ · intro K hK m
171
+ exact level_radon_limit_compact_moments hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
172
+ (fun n => (n:ℝ)) (fun n => Nat.cast_nonneg n) s w hw₀ hw₁ ∞ (ν 0)
173
+ (fun ω => (hν 0 ω).2) htermLimit K hK m
174
+ · intro q E hE
175
+ have hμm : Measurable (μ q) := (hMm (Encodable.encode q)).mono (Filtration.le _ _) le_rfl
176
+ have hs : ∀ᵐ ω ∂P, η (Encodable.encode q) ω + μ q ω = ν 0 ω := by
177
+ filter_upwards [hμeq,hηsum] with ω he hs
178
+ rw [he q]
179
+ exact hs _
180
+ have hc := bind_add_of_ae (P.restrict E) (μ q) (ν 0) (η (Encodable.encode q))
181
+ hμm (hνm 0) (hηm _) (ae_restrict_of_ae hs)
182
+ rw [← hc,add_comm]
183
+ congr 1
184
+ simpa only [rationalMassTime_encode] using hkernel (Encodable.encode q) E (by simpa +instances only [rationalMassTime_encode] using hE)
185
+
186
+ end SLEExactGauge.Multipoint
187
+
188
+ end
189
+
190
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalMassFromSupports.lean CHANGED
@@ -1,85 +1,85 @@
1
- import OAI.Probability.SLE.Mass.RationalTraceMassLocal
2
- import OAI.Probability.SLE.Mass.LevelRadonSupport
3
- import OAI.Probability.SLE.Mass.LocallyFiniteMeasureSubtract
4
-
5
- namespace OAI
6
-
7
- /-! Past support and the remaining-mass support give exactly the rational
8
- increment hypothesis used by the locally finite continuous extension. -/
9
-
10
- noncomputable section
11
- open Set MeasureTheory Classical
12
- open scoped NNReal ENNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
17
-
18
- lemma trace_segment_toNNReal_image (γ : ℝ≥0 → ℂ) {p q : ℚ} (hp : 0 ≤ p) (hpq : p ≤ q) :
19
- γ '' Icc (p : ℝ).toNNReal (q : ℝ).toNNReal ⊆
20
- (fun r : ℝ => γ r.toNNReal) '' Icc (p:ℝ) q := by
21
- rintro _ ⟨r,hr,rfl⟩
22
- refine ⟨(r:ℝ),⟨?_,?_⟩,?_⟩
23
- · have hr' : ((p:ℝ).toNNReal:ℝ) ≤ (r:ℝ) := by exact_mod_cast hr.1
24
- simpa only [Real.coe_toNNReal _ (Rat.cast_nonneg.mpr hp)] using hr'
25
- · have hq : (0:ℝ) ≤ q := Rat.cast_nonneg.mpr (hp.trans hpq)
26
- have hr' : (r:ℝ) ≤ ((q:ℝ).toNNReal:ℝ) := by exact_mod_cast hr.2
27
- simpa only [Real.coe_toNNReal _ hq] using hr'
28
- · change γ (r:ℝ).toNNReal = γ r
29
- rw [Real.toNNReal_coe]
30
-
31
- theorem halfPlaneTraceIncrements_of_past_and_future
32
- (μ : ℚ → Measure upperHalfPlane) (ν : Measure upperHalfPlane) [ν.Regular]
33
- (γ : ℝ≥0 → ℂ) (hμr : ∀ q, (μ q).Regular)
34
- (hdom : ∀ q, μ q ≤ ν) (hmono : Monotone μ)
35
- (hzero : ∀ q, q ≤ 0 → μ q = 0)
36
- (hpast : ∀ q, 0 ≤ q → μ q {z : upperHalfPlane | (z : ℂ) ∉ γ '' Icc 0 (q : ℝ).toNNReal} = 0)
37
- (hfuture : ∀ q, 0 ≤ q → (ν-μ q)
38
- {z : upperHalfPlane | (z : ℂ) ∉ survivingDomain γ (q : ℝ).toNNReal} = 0) :
39
- HalfPlaneTraceIncrements μ ν (fun r : ℝ => γ r.toNNReal) := by
40
- let (q : ℚ) : (μ q).Regular := hμr q
41
- refine ⟨hμr,hdom,?_⟩
42
- intro p q hpq
43
- let η := μ q-μ p
44
- have hηsum : μ q = μ p+η := by
45
- rw [add_comm]
46
- exact (sigmaFinite_sub_add_cancel_of_le (hmono hpq)).symm
47
- refine ⟨η,hηsum,?_⟩
48
- by_cases hq : q ≤ 0
49
- · have hp : p ≤ 0 := hpq.trans hq
50
- simp only [η,hzero p hp,hzero q hq,Measure.sub_self]
51
- exact bot_le
52
- by_cases hp : p < 0
53
- · have heη : η = μ q := by simp only [η,hzero p hp.le,Measure.sub_zero]
54
- rw [heη]
55
- let A := {z : upperHalfPlane | (z : ℂ) ∈ (fun r : ℝ => γ r.toNNReal) '' Icc (p:ℝ) q}
56
- have hqpos : 0 < (q:ℝ) := Rat.cast_pos.mpr (lt_of_not_ge hq)
57
- have hsubset : γ '' Icc 0 (q:ℝ).toNNReal ⊆
58
- (fun r : ℝ => γ r.toNNReal) '' Icc (p:ℝ) q := by
59
- rintro _ ⟨r,hr,rfl⟩
60
- refine ⟨(r:ℝ),⟨(Rat.cast_nonpos.mpr hp.le).trans r.coe_nonneg,?_⟩,?_⟩
61
- · have hr' : (r:ℝ) ≤ ((q:ℝ).toNNReal:ℝ) := by exact_mod_cast hr.2
62
- simpa only [Real.coe_toNNReal _ hqpos.le] using hr'
63
- · change γ (r:ℝ).toNNReal = γ r
64
- rw [Real.toNNReal_coe]
65
- have ha : ∀ᵐ z : upperHalfPlane ∂μ q, z ∈ A := by
66
- have hh := measure_eq_zero_iff_ae_notMem.mp (hpast q (lt_of_not_ge hq).le)
67
- filter_upwards [hh] with z hz
68
- exact hsubset (not_not.mp hz)
69
- calc
70
- μ q = (μ q).restrict A := (Measure.restrict_eq_self_of_ae_mem ha).symm
71
- _ ≤ ν.restrict A := Measure.restrict_mono le_rfl (hdom q)
72
- · have hp' : 0 ≤ p := le_of_not_gt hp
73
- have hq' : 0 ≤ q := hp'.trans hpq
74
- have hh := Multipoint.increment_le_restrict_trace_segment γ
75
- (p:ℝ).toNNReal (q:ℝ).toNNReal η (μ q) (ν-μ p) ν
76
- Measure.sub_le (sub_le_sub_right_of_le (hdom p) (hdom q))
77
- (Measure.sub_le.trans (hdom q)) (hpast q hq') (hfuture p hp')
78
- exact hh.trans (Measure.restrict_mono
79
- (fun (z : upperHalfPlane) hz => trace_segment_toNNReal_image γ hp' hpq hz) le_rfl)
80
-
81
- end SLEExactGauge
82
-
83
- end
84
-
85
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RationalTraceMassLocal
2
+ import OAI.Probability.SLE.Mass.LevelRadonSupport
3
+ import OAI.Probability.SLE.Mass.LocallyFiniteMeasureSubtract
4
+
5
+ namespace OAI
6
+
7
+ /-! Past support and the remaining-mass support give exactly the rational
8
+ increment hypothesis used by the locally finite continuous extension. -/
9
+
10
+ noncomputable section
11
+ open Set MeasureTheory Classical
12
+ open scoped NNReal ENNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
17
+
18
+ lemma trace_segment_toNNReal_image (γ : ℝ≥0 → ℂ) {p q : ℚ} (hp : 0 ≤ p) (hpq : p ≤ q) :
19
+ γ '' Icc (p : ℝ).toNNReal (q : ℝ).toNNReal ⊆
20
+ (fun r : ℝ => γ r.toNNReal) '' Icc (p:ℝ) q := by
21
+ rintro _ ⟨r,hr,rfl⟩
22
+ refine ⟨(r:ℝ),⟨?_,?_⟩,?_⟩
23
+ · have hr' : ((p:ℝ).toNNReal:ℝ) ≤ (r:ℝ) := by exact_mod_cast hr.1
24
+ simpa only [Real.coe_toNNReal _ (Rat.cast_nonneg.mpr hp)] using hr'
25
+ · have hq : (0:ℝ) ≤ q := Rat.cast_nonneg.mpr (hp.trans hpq)
26
+ have hr' : (r:ℝ) ≤ ((q:ℝ).toNNReal:ℝ) := by exact_mod_cast hr.2
27
+ simpa only [Real.coe_toNNReal _ hq] using hr'
28
+ · change γ (r:ℝ).toNNReal = γ r
29
+ rw [Real.toNNReal_coe]
30
+
31
+ theorem halfPlaneTraceIncrements_of_past_and_future
32
+ (μ : ℚ → Measure upperHalfPlane) (ν : Measure upperHalfPlane) [ν.Regular]
33
+ (γ : ℝ≥0 → ℂ) (hμr : ∀ q, (μ q).Regular)
34
+ (hdom : ∀ q, μ q ≤ ν) (hmono : Monotone μ)
35
+ (hzero : ∀ q, q ≤ 0 → μ q = 0)
36
+ (hpast : ∀ q, 0 ≤ q → μ q {z : upperHalfPlane | (z : ℂ) ∉ γ '' Icc 0 (q : ℝ).toNNReal} = 0)
37
+ (hfuture : ∀ q, 0 ≤ q → (ν-μ q)
38
+ {z : upperHalfPlane | (z : ℂ) ∉ survivingDomain γ (q : ℝ).toNNReal} = 0) :
39
+ HalfPlaneTraceIncrements μ ν (fun r : ℝ => γ r.toNNReal) := by
40
+ let (q : ℚ) : (μ q).Regular := hμr q
41
+ refine ⟨hμr,hdom,?_⟩
42
+ intro p q hpq
43
+ let η := μ q-μ p
44
+ have hηsum : μ q = μ p+η := by
45
+ rw [add_comm]
46
+ exact (sigmaFinite_sub_add_cancel_of_le (hmono hpq)).symm
47
+ refine ⟨η,hηsum,?_⟩
48
+ by_cases hq : q ≤ 0
49
+ · have hp : p ≤ 0 := hpq.trans hq
50
+ simp only [η,hzero p hp,hzero q hq,Measure.sub_self]
51
+ exact bot_le
52
+ by_cases hp : p < 0
53
+ · have heη : η = μ q := by simp only [η,hzero p hp.le,Measure.sub_zero]
54
+ rw [heη]
55
+ let A := {z : upperHalfPlane | (z : ℂ) ∈ (fun r : ℝ => γ r.toNNReal) '' Icc (p:ℝ) q}
56
+ have hqpos : 0 < (q:ℝ) := Rat.cast_pos.mpr (lt_of_not_ge hq)
57
+ have hsubset : γ '' Icc 0 (q:ℝ).toNNReal ⊆
58
+ (fun r : ℝ => γ r.toNNReal) '' Icc (p:ℝ) q := by
59
+ rintro _ ⟨r,hr,rfl⟩
60
+ refine ⟨(r:ℝ),⟨(Rat.cast_nonpos.mpr hp.le).trans r.coe_nonneg,?_⟩,?_⟩
61
+ · have hr' : (r:ℝ) ≤ ((q:ℝ).toNNReal:ℝ) := by exact_mod_cast hr.2
62
+ simpa only [Real.coe_toNNReal _ hqpos.le] using hr'
63
+ · change γ (r:ℝ).toNNReal = γ r
64
+ rw [Real.toNNReal_coe]
65
+ have ha : ∀ᵐ z : upperHalfPlane ∂μ q, z ∈ A := by
66
+ have hh := measure_eq_zero_iff_ae_notMem.mp (hpast q (lt_of_not_ge hq).le)
67
+ filter_upwards [hh] with z hz
68
+ exact hsubset (not_not.mp hz)
69
+ calc
70
+ μ q = (μ q).restrict A := (Measure.restrict_eq_self_of_ae_mem ha).symm
71
+ _ ≤ ν.restrict A := Measure.restrict_mono le_rfl (hdom q)
72
+ · have hp' : 0 ≤ p := le_of_not_gt hp
73
+ have hq' : 0 ≤ q := hp'.trans hpq
74
+ have hh := Multipoint.increment_le_restrict_trace_segment γ
75
+ (p:ℝ).toNNReal (q:ℝ).toNNReal η (μ q) (ν-μ p) ν
76
+ Measure.sub_le (sub_le_sub_right_of_le (hdom p) (hdom q))
77
+ (Measure.sub_le.trans (hdom q)) (hpast q hq') (hfuture p hp')
78
+ exact hh.trans (Measure.restrict_mono
79
+ (fun (z : upperHalfPlane) hz => trace_segment_toNNReal_image γ hp' hpq hz) le_rfl)
80
+
81
+ end SLEExactGauge
82
+
83
+ end
84
+
85
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalTraceMass.lean CHANGED
@@ -1,137 +1,137 @@
1
- import OAI.Probability.SLE.Mass.RationalTraceMassControl
2
- import Mathlib.Topology.Sequences
3
-
4
- namespace OAI
5
-
6
- /-! Continuous extension of a rational measure family whose positive
7
- increments are supported on the corresponding trace intervals. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory Classical
11
- open scoped Topology CompactlySupported ENNReal
12
-
13
- namespace SLEExactGauge
14
-
15
- variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
16
- [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
17
-
18
- /-- This is the positive-increment and interval-support assertion used in
19
- the pathwise extension. Local applications restrict all measures to one
20
- compact set, making the terminal measure finite. -/
21
- structure RationalTraceIncrements (μ : ℚ → Measure X) (ν : Measure X) (γ : ℝ → X) : Prop where
22
- regular : ∀ q, (μ q).Regular
23
- dominated : ∀ q, μ q ≤ ν
24
- increment : ∀ p q, p ≤ q → ∃ η : Measure X,
25
- μ q=μ p+η ∧ η ≤ ν.restrict (γ '' Icc (p:ℝ) q)
26
-
27
- omit [T2Space X] [LocallyCompactSpace X] [SecondCountableTopology X] [BorelSpace X] in
28
- lemma RationalTraceIncrements.monotone {μ : ℚ → Measure X} {ν : Measure X} {γ : ℝ → X}
29
- (H : RationalTraceIncrements μ ν γ) : Monotone μ := by
30
- intro p q hpq
31
- obtain ⟨η,hη,_⟩ := H.increment p q hpq
32
- rw [hη]
33
- exact Measure.le_add_right le_rfl
34
-
35
- omit [T2Space X] [LocallyCompactSpace X] [SecondCountableTopology X] in
36
- lemma RationalTraceIncrements.integral_dist_le {μ : ℚ → Measure X} {ν : Measure X}
37
- [IsFiniteMeasure ν] {γ : ℝ → X} (H : RationalTraceIncrements μ ν γ)
38
- (f : C_c(X,ℝ)) (p q : ℚ) :
39
- dist (∫ x, f x ∂μ p) (∫ x, f x ∂μ q) ≤ ‖f.toBoundedContinuousFunction‖ *
40
- (ν (γ '' Icc (min (p:ℝ) q) (max (p:ℝ) q))).toReal := by
41
- have ordered (a b : ℚ) (hab : a ≤ b) :
42
- dist (∫ x, f x ∂μ a) (∫ x, f x ∂μ b) ≤ ‖f.toBoundedContinuousFunction‖ *
43
- (ν (γ '' Icc (a:ℝ) b)).toReal := by
44
- obtain ⟨η,hη,hην⟩ := H.increment a b hab
45
- have hηle : η ≤ ν := hην.trans Measure.restrict_le_self
46
- let : IsFiniteMeasure η := isFiniteMeasure_of_le ν hηle
47
- let : (μ a).Regular := H.regular a
48
- rw [hη,integral_add_measure f.integrable f.integrable,dist_eq_norm]
49
- have hsub : (∫ x, f x ∂μ a)-((∫ x, f x ∂μ a)+(∫ x, f x ∂η))= -(∫ x, f x ∂η) := by ring
50
- rw [hsub,norm_neg]
51
- have hb := norm_integral_le_of_norm_le_const (μ := η)
52
- (ae_of_all η (fun x => f.toBoundedContinuousFunction.norm_coe_le_norm x))
53
- apply hb.trans
54
- apply mul_le_mul_of_nonneg_left _ (norm_nonneg _)
55
- apply ENNReal.toReal_mono (measure_ne_top ν _)
56
- exact (hην univ).trans_eq (by simp)
57
- rcases le_total p q with h | h
58
- · simpa only [min_eq_left (Rat.cast_le.mpr h),max_eq_right (Rat.cast_le.mpr h)] using ordered p q h
59
- · rw [dist_comm]
60
- simpa only [min_eq_right (Rat.cast_le.mpr h),max_eq_left (Rat.cast_le.mpr h)] using ordered q p h
61
-
62
- lemma exists_rational_sequence_tendsto (t : ℝ) :
63
- ∃ q : ℕ → ℚ, Tendsto (fun n => (q n : ℝ)) atTop (𝓝 t) := by
64
- obtain ⟨x,hx,ht⟩ := mem_closure_iff_seq_limit.mp (Rat.denseRange_cast t)
65
- choose q hq using hx
66
- exact ⟨q,by simpa only [hq] using ht⟩
67
-
68
- omit [SecondCountableTopology X] in
69
- /-- The rational family has an all-real-time regular extension, continuous
70
- against every compact continuous test. It is dominated by the same finite
71
- terminal measure, and agrees exactly at every rational time. -/
72
- theorem RationalTraceIncrements.exists_continuous_extension
73
- {μ : ℚ → Measure X} {ν : Measure X} [ν.Regular] [IsFiniteMeasure ν]
74
- [NullSingletonClass ν] {γ : ℝ → X} (H : RationalTraceIncrements μ ν γ)
75
- (hγ : Continuous γ) :
76
- ∃ M : ℝ → Measure X, (∀ t, (M t).Regular) ∧ (∀ t, M t ≤ ν) ∧
77
- (∀ q : ℚ, M q=μ q) ∧
78
- (∀ f : C_c(X,ℝ), Continuous (fun t => ∫ x, f x ∂M t)) ∧ Monotone M := by
79
- have hf (f : C_c(X,ℝ)) := continuous_rational_extension_of_trace_control
80
- ν γ hγ (fun q => ∫ x, f x ∂μ q) ‖f.toBoundedContinuousFunction‖ (norm_nonneg _)
81
- (H.integral_dist_le f)
82
- choose F hFc hFq _ using hf
83
- have hex (t : ℝ) : ∃ η : Measure X, η.Regular ∧ IsFiniteMeasureOnCompacts η ∧
84
- ∀ f : C_c(X,ℝ), (∫ x, f x ∂η)=F f t := by
85
- obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
86
- let (n : ℕ) : (μ (q n)).Regular := H.regular (q n)
87
- have hlim (f : C_c(X,ℝ)) : Tendsto (fun n => ∫ x, f x ∂μ (q n)) atTop (𝓝 (F f t)) := by
88
- simpa only [Function.comp_def,hFq] using (hFc f).continuousAt.tendsto.comp hq
89
- obtain ⟨η,hηr,hηf,hηlim⟩ := radon_limit_of_all_test_limits (fun n => μ (q n))
90
- (fun f => ⟨F f t,hlim f⟩)
91
- exact ⟨η,hηr,hηf,fun f => tendsto_nhds_unique (hηlim f) (hlim f)⟩
92
- choose M hMr hMf hMI using hex
93
- have hcont (f : C_c(X,ℝ)) : Continuous (fun t => ∫ x, f x ∂M t) := by
94
- simpa only [hMI] using hFc f
95
- have hrat (q : ℚ) : M q=μ q := by
96
- let : (M q).Regular := hMr q
97
- let : (μ q).Regular := H.regular q
98
- apply Measure.ext_of_integral_eq_on_compactlySupported
99
- intro f
100
- rw [hMI,hFq]
101
- have hdom (t : ℝ) : M t ≤ ν := by
102
- let : (M t).Regular := hMr t
103
- obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
104
- apply radon_measure_le_of_nonneg_tests
105
- intro f hfn
106
- have hlim : Tendsto (fun n => ∫ x, f x ∂μ (q n)) atTop (𝓝 (∫ x, f x ∂M t)) := by
107
- simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hq
108
- apply le_of_tendsto_of_tendsto' hlim tendsto_const_nhds
109
- intro n
110
- exact integral_mono_measure (H.dominated (q n)) (ae_of_all ν hfn) f.integrable
111
- refine ⟨M,hMr,hdom,hrat,hcont,?_⟩
112
- intro s t hst
113
- rcases eq_or_lt_of_le hst with rfl | hst
114
- · exact le_rfl
115
- let : (M s).Regular := hMr s
116
- let : (M t).Regular := hMr t
117
- obtain ⟨p,hp⟩ := exists_rational_sequence_tendsto s
118
- obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
119
- have hp' : ∀ᶠ n in atTop, (p n : ℝ)<(s+t)/2 := hp.eventually (gt_mem_nhds (by linarith))
120
- have hq' : ∀ᶠ n in atTop, (s+t)/2<(q n : ℝ) := hq.eventually (lt_mem_nhds (by linarith))
121
- apply radon_measure_le_of_nonneg_tests
122
- intro f hfn
123
- have hplim : Tendsto (fun n => ∫ x, f x ∂μ (p n)) atTop (𝓝 (∫ x, f x ∂M s)) := by
124
- simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hp
125
- have hqlim : Tendsto (fun n => ∫ x, f x ∂μ (q n)) atTop (𝓝 (∫ x, f x ∂M t)) := by
126
- simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hq
127
- apply le_of_tendsto_of_tendsto hplim hqlim
128
- filter_upwards [hp',hq'] with n hpn hqn
129
- let : (μ (q n)).Regular := H.regular (q n)
130
- exact integral_mono_measure (H.monotone (Rat.cast_le.mp (le_of_lt (hpn.trans hqn))))
131
- (ae_of_all _ hfn) f.integrable
132
-
133
- end SLEExactGauge
134
-
135
- end
136
-
137
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RationalTraceMassControl
2
+ import Mathlib.Topology.Sequences
3
+
4
+ namespace OAI
5
+
6
+ /-! Continuous extension of a rational measure family whose positive
7
+ increments are supported on the corresponding trace intervals. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory Classical
11
+ open scoped Topology CompactlySupported ENNReal
12
+
13
+ namespace SLEExactGauge
14
+
15
+ variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
16
+ [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
17
+
18
+ /-- This is the positive-increment and interval-support assertion used in
19
+ the pathwise extension. Local applications restrict all measures to one
20
+ compact set, making the terminal measure finite. -/
21
+ structure RationalTraceIncrements (μ : ℚ → Measure X) (ν : Measure X) (γ : ℝ → X) : Prop where
22
+ regular : ∀ q, (μ q).Regular
23
+ dominated : ∀ q, μ q ≤ ν
24
+ increment : ∀ p q, p ≤ q → ∃ η : Measure X,
25
+ μ q=μ p+η ∧ η ≤ ν.restrict (γ '' Icc (p:ℝ) q)
26
+
27
+ omit [T2Space X] [LocallyCompactSpace X] [SecondCountableTopology X] [BorelSpace X] in
28
+ lemma RationalTraceIncrements.monotone {μ : ℚ → Measure X} {ν : Measure X} {γ : ℝ → X}
29
+ (H : RationalTraceIncrements μ ν γ) : Monotone μ := by
30
+ intro p q hpq
31
+ obtain ⟨η,hη,_⟩ := H.increment p q hpq
32
+ rw [hη]
33
+ exact Measure.le_add_right le_rfl
34
+
35
+ omit [T2Space X] [LocallyCompactSpace X] [SecondCountableTopology X] in
36
+ lemma RationalTraceIncrements.integral_dist_le {μ : ℚ → Measure X} {ν : Measure X}
37
+ [IsFiniteMeasure ν] {γ : ℝ → X} (H : RationalTraceIncrements μ ν γ)
38
+ (f : C_c(X,ℝ)) (p q : ℚ) :
39
+ dist (∫ x, f x ∂μ p) (∫ x, f x ∂μ q) ≤ ‖f.toBoundedContinuousFunction‖ *
40
+ (ν (γ '' Icc (min (p:ℝ) q) (max (p:ℝ) q))).toReal := by
41
+ have ordered (a b : ℚ) (hab : a ≤ b) :
42
+ dist (∫ x, f x ∂μ a) (∫ x, f x ∂μ b) ≤ ‖f.toBoundedContinuousFunction‖ *
43
+ (ν (γ '' Icc (a:ℝ) b)).toReal := by
44
+ obtain ⟨η,hη,hην⟩ := H.increment a b hab
45
+ have hηle : η ≤ ν := hην.trans Measure.restrict_le_self
46
+ let : IsFiniteMeasure η := isFiniteMeasure_of_le ν hηle
47
+ let : (μ a).Regular := H.regular a
48
+ rw [hη,integral_add_measure f.integrable f.integrable,dist_eq_norm]
49
+ have hsub : (∫ x, f x ∂μ a)-((∫ x, f x ∂μ a)+(∫ x, f x ∂η))= -(∫ x, f x ∂η) := by ring
50
+ rw [hsub,norm_neg]
51
+ have hb := norm_integral_le_of_norm_le_const (μ := η)
52
+ (ae_of_all η (fun x => f.toBoundedContinuousFunction.norm_coe_le_norm x))
53
+ apply hb.trans
54
+ apply mul_le_mul_of_nonneg_left _ (norm_nonneg _)
55
+ apply ENNReal.toReal_mono (measure_ne_top ν _)
56
+ exact (hην univ).trans_eq (by simp)
57
+ rcases le_total p q with h | h
58
+ · simpa only [min_eq_left (Rat.cast_le.mpr h),max_eq_right (Rat.cast_le.mpr h)] using ordered p q h
59
+ · rw [dist_comm]
60
+ simpa only [min_eq_right (Rat.cast_le.mpr h),max_eq_left (Rat.cast_le.mpr h)] using ordered q p h
61
+
62
+ lemma exists_rational_sequence_tendsto (t : ℝ) :
63
+ ∃ q : ℕ → ℚ, Tendsto (fun n => (q n : ℝ)) atTop (𝓝 t) := by
64
+ obtain ⟨x,hx,ht⟩ := mem_closure_iff_seq_limit.mp (Rat.denseRange_cast t)
65
+ choose q hq using hx
66
+ exact ⟨q,by simpa only [hq] using ht⟩
67
+
68
+ omit [SecondCountableTopology X] in
69
+ /-- The rational family has an all-real-time regular extension, continuous
70
+ against every compact continuous test. It is dominated by the same finite
71
+ terminal measure, and agrees exactly at every rational time. -/
72
+ theorem RationalTraceIncrements.exists_continuous_extension
73
+ {μ : ℚ → Measure X} {ν : Measure X} [ν.Regular] [IsFiniteMeasure ν]
74
+ [NullSingletonClass ν] {γ : ℝ → X} (H : RationalTraceIncrements μ ν γ)
75
+ (hγ : Continuous γ) :
76
+ ∃ M : ℝ → Measure X, (∀ t, (M t).Regular) ∧ (∀ t, M t ≤ ν) ∧
77
+ (∀ q : ℚ, M q=μ q) ∧
78
+ (∀ f : C_c(X,ℝ), Continuous (fun t => ∫ x, f x ∂M t)) ∧ Monotone M := by
79
+ have hf (f : C_c(X,ℝ)) := continuous_rational_extension_of_trace_control
80
+ ν γ hγ (fun q => ∫ x, f x ∂μ q) ‖f.toBoundedContinuousFunction‖ (norm_nonneg _)
81
+ (H.integral_dist_le f)
82
+ choose F hFc hFq _ using hf
83
+ have hex (t : ℝ) : ∃ η : Measure X, η.Regular ∧ IsFiniteMeasureOnCompacts η ∧
84
+ ∀ f : C_c(X,ℝ), (∫ x, f x ∂η)=F f t := by
85
+ obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
86
+ let (n : ℕ) : (μ (q n)).Regular := H.regular (q n)
87
+ have hlim (f : C_c(X,ℝ)) : Tendsto (fun n => ∫ x, f x ∂μ (q n)) atTop (𝓝 (F f t)) := by
88
+ simpa only [Function.comp_def,hFq] using (hFc f).continuousAt.tendsto.comp hq
89
+ obtain ⟨η,hηr,hηf,hηlim⟩ := radon_limit_of_all_test_limits (fun n => μ (q n))
90
+ (fun f => ⟨F f t,hlim f⟩)
91
+ exact ⟨η,hηr,hηf,fun f => tendsto_nhds_unique (hηlim f) (hlim f)⟩
92
+ choose M hMr hMf hMI using hex
93
+ have hcont (f : C_c(X,ℝ)) : Continuous (fun t => ∫ x, f x ∂M t) := by
94
+ simpa only [hMI] using hFc f
95
+ have hrat (q : ℚ) : M q=μ q := by
96
+ let : (M q).Regular := hMr q
97
+ let : (μ q).Regular := H.regular q
98
+ apply Measure.ext_of_integral_eq_on_compactlySupported
99
+ intro f
100
+ rw [hMI,hFq]
101
+ have hdom (t : ℝ) : M t ≤ ν := by
102
+ let : (M t).Regular := hMr t
103
+ obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
104
+ apply radon_measure_le_of_nonneg_tests
105
+ intro f hfn
106
+ have hlim : Tendsto (fun n => ∫ x, f x ∂μ (q n)) atTop (𝓝 (∫ x, f x ∂M t)) := by
107
+ simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hq
108
+ apply le_of_tendsto_of_tendsto' hlim tendsto_const_nhds
109
+ intro n
110
+ exact integral_mono_measure (H.dominated (q n)) (ae_of_all ν hfn) f.integrable
111
+ refine ⟨M,hMr,hdom,hrat,hcont,?_⟩
112
+ intro s t hst
113
+ rcases eq_or_lt_of_le hst with rfl | hst
114
+ · exact le_rfl
115
+ let : (M s).Regular := hMr s
116
+ let : (M t).Regular := hMr t
117
+ obtain ⟨p,hp⟩ := exists_rational_sequence_tendsto s
118
+ obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
119
+ have hp' : ∀ᶠ n in atTop, (p n : ℝ)<(s+t)/2 := hp.eventually (gt_mem_nhds (by linarith))
120
+ have hq' : ∀ᶠ n in atTop, (s+t)/2<(q n : ℝ) := hq.eventually (lt_mem_nhds (by linarith))
121
+ apply radon_measure_le_of_nonneg_tests
122
+ intro f hfn
123
+ have hplim : Tendsto (fun n => ∫ x, f x ∂μ (p n)) atTop (𝓝 (∫ x, f x ∂M s)) := by
124
+ simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hp
125
+ have hqlim : Tendsto (fun n => ∫ x, f x ∂μ (q n)) atTop (𝓝 (∫ x, f x ∂M t)) := by
126
+ simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hq
127
+ apply le_of_tendsto_of_tendsto hplim hqlim
128
+ filter_upwards [hp',hq'] with n hpn hqn
129
+ let : (μ (q n)).Regular := H.regular (q n)
130
+ exact integral_mono_measure (H.monotone (Rat.cast_le.mp (le_of_lt (hpn.trans hqn))))
131
+ (ae_of_all _ hfn) f.integrable
132
+
133
+ end SLEExactGauge
134
+
135
+ end
136
+
137
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalTraceMassAdapted.lean CHANGED
@@ -1,111 +1,111 @@
1
- import OAI.Probability.SLE.Mass.RationalTraceMassLocalVariation
2
- import OAI.Probability.SLE.Mass.RadonTestMeasurability
3
-
4
- namespace OAI
5
-
6
- /-! Adapted and jointly measurable all-time Radon mass, obtained from
7
- rational left limits in the original filtration. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory Classical
11
- open scoped Topology ENNReal NNReal CompactlySupported
12
-
13
- namespace SLEExactGauge
14
-
15
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
16
-
17
- lemma measurable_halfPlane_compact_test_integral
18
- {Ω : Type*} [MeasurableSpace Ω] (μ : Ω → Measure upperHalfPlane)
19
- (hm : Measurable μ) (hr : ∀ ω, (μ ω).Regular) (f : C_c(upperHalfPlane,ℝ)) :
20
- Measurable (fun ω => ∫ z, f z ∂μ ω) := by
21
- have hp := (Measure.measurable_lintegral f.continuous.measurable.ennreal_ofReal).comp hm
22
- have hn := (Measure.measurable_lintegral f.continuous.measurable.neg.ennreal_ofReal).comp hm
23
- have he (ω : Ω) : (∫ z, f z ∂μ ω) =
24
- (∫⁻ z, ENNReal.ofReal (f z) ∂μ ω).toReal -
25
- (∫⁻ z, ENNReal.ofReal (-f z) ∂μ ω).toReal := by
26
- let := hr ω
27
- exact integral_eq_lintegral_pos_part_sub_lintegral_neg_part f.integrable
28
- simp_rw [he]
29
- exact hp.ennreal_toReal.sub hn.ennreal_toReal
30
-
31
- theorem halfPlane_extension_adapted
32
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
33
- (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
34
- (hMr : ∀ t ω, (M t ω).Regular)
35
- (hcont : ∀ ω (f : C_c(upperHalfPlane,ℝ)), Continuous (fun t => ∫ z, f z ∂M t ω))
36
- (hrat : ∀ (q : ℚ) ω, M q ω = μ q ω)
37
- (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
38
- Adapted ℱ (fun t : ℝ≥0 => M t) := by
39
- intro t
40
- by_cases ht : t = 0
41
- · subst t
42
- have he : M (0:ℝ) = μ (0:ℚ) := by
43
- funext ω
44
- simpa only [Rat.cast_zero] using hrat 0 ω
45
- change Measurable[ℱ 0] (M (0:ℝ))
46
- rw [he]
47
- convert hμm (0:ℚ) le_rfl using 1
48
- norm_num
49
- · have htpos : 0 < (t:ℝ) := NNReal.coe_pos.mpr (pos_iff_ne_zero.mpr ht)
50
- obtain ⟨q,_,hq,hqt⟩ := Rat.denseRange_cast.exists_seq_strictMono_tendsto_of_lt
51
- (fun a b hab => Rat.cast_le.mpr hab) htpos
52
- let : MeasurableSpace Ω := ℱ t
53
- apply measurable_radon_of_tests (M t) (hMr t)
54
- intro f
55
- have hqm (n : ℕ) : Measurable[ℱ t] (μ (q n)) := by
56
- have hqn : 0 ≤ q n := Rat.cast_nonneg.mp (hq n).1.le
57
- have htime : (q n : ℝ).toNNReal ≤ t := by
58
- simpa only [Real.toNNReal_coe] using Real.toNNReal_le_toNNReal (hq n).2.le
59
- exact (hμm (q n) hqn).mono (ℱ.mono htime) le_rfl
60
- apply measurable_of_tendsto_metrizable
61
- (fun n => measurable_halfPlane_compact_test_integral (μ (q n)) (hqm n)
62
- (fun ω => hrat (q n) ω ▸ hMr (q n) ω) f)
63
- apply tendsto_pi_nhds.mpr
64
- intro ω
65
- simpa only [Function.comp_def,hrat] using
66
- (hcont ω f).continuousAt.tendsto.comp hqt
67
-
68
- /-- Joint measurability follows through real compact-test integrals;
69
- no topology on the space of Radon measures is required. -/
70
- theorem halfPlane_extension_joint_measurable
71
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
72
- (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
73
- (hMr : ∀ t ω, (M t ω).Regular)
74
- (hcont : ∀ ω (f : C_c(upperHalfPlane,ℝ)), Continuous (fun t => ∫ z, f z ∂M t ω))
75
- (hrat : ∀ (q : ℚ) ω, M q ω = μ q ω)
76
- (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
77
- Measurable (fun q : ℝ≥0 × Ω => M q.1 q.2) := by
78
- have had := halfPlane_extension_adapted ℱ μ M hMr hcont hrat hμm
79
- apply measurable_radon_of_tests (fun q : ℝ≥0 × Ω => M q.1 q.2)
80
- (fun q => hMr q.1 q.2)
81
- intro f
82
- apply measurable_uncurry_of_continuous_of_measurable
83
- (fun ω => (hcont ω f).comp NNReal.continuous_coe)
84
- intro t
85
- exact measurable_halfPlane_compact_test_integral (M t) (had.measurable (i := t)) (hMr t) f
86
-
87
- theorem halfPlane_extension_progressive
88
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
89
- (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
90
- (hMr : ∀ t ω, (M t ω).Regular)
91
- (hcont : ∀ ω (f : C_c(upperHalfPlane,ℝ)), Continuous (fun t => ∫ z, f z ∂M t ω))
92
- (hrat : ∀ (q : ℚ) ω, M q ω = μ q ω)
93
- (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
94
- IsProgressive ℱ (fun t : ℝ≥0 => M t) := by
95
- have had := halfPlane_extension_adapted ℱ μ M hMr hcont hrat hμm
96
- intro T
97
- let : MeasurableSpace Ω := ℱ T
98
- apply measurable_radon_of_tests (fun q : Iic T × Ω => M q.1.1 q.2)
99
- (fun q => hMr q.1.1 q.2)
100
- intro f
101
- apply measurable_uncurry_of_continuous_of_measurable
102
- (fun ω => (hcont ω f).comp (NNReal.continuous_coe.comp continuous_subtype_val))
103
- intro t
104
- have ht : Measurable[ℱ T] (M (t.1 : ℝ)) := had.measurable_le t.2
105
- exact measurable_halfPlane_compact_test_integral (M (t.1 : ℝ)) ht (hMr t.1) f
106
-
107
- end SLEExactGauge
108
-
109
- end
110
-
111
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RationalTraceMassLocalVariation
2
+ import OAI.Probability.SLE.Mass.RadonTestMeasurability
3
+
4
+ namespace OAI
5
+
6
+ /-! Adapted and jointly measurable all-time Radon mass, obtained from
7
+ rational left limits in the original filtration. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory Classical
11
+ open scoped Topology ENNReal NNReal CompactlySupported
12
+
13
+ namespace SLEExactGauge
14
+
15
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
16
+
17
+ lemma measurable_halfPlane_compact_test_integral
18
+ {Ω : Type*} [MeasurableSpace Ω] (μ : Ω → Measure upperHalfPlane)
19
+ (hm : Measurable μ) (hr : ∀ ω, (μ ω).Regular) (f : C_c(upperHalfPlane,ℝ)) :
20
+ Measurable (fun ω => ∫ z, f z ∂μ ω) := by
21
+ have hp := (Measure.measurable_lintegral f.continuous.measurable.ennreal_ofReal).comp hm
22
+ have hn := (Measure.measurable_lintegral f.continuous.measurable.neg.ennreal_ofReal).comp hm
23
+ have he (ω : Ω) : (∫ z, f z ∂μ ω) =
24
+ (∫⁻ z, ENNReal.ofReal (f z) ∂μ ω).toReal -
25
+ (∫⁻ z, ENNReal.ofReal (-f z) ∂μ ω).toReal := by
26
+ let := hr ω
27
+ exact integral_eq_lintegral_pos_part_sub_lintegral_neg_part f.integrable
28
+ simp_rw [he]
29
+ exact hp.ennreal_toReal.sub hn.ennreal_toReal
30
+
31
+ theorem halfPlane_extension_adapted
32
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
33
+ (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
34
+ (hMr : ∀ t ω, (M t ω).Regular)
35
+ (hcont : ∀ ω (f : C_c(upperHalfPlane,ℝ)), Continuous (fun t => ∫ z, f z ∂M t ω))
36
+ (hrat : ∀ (q : ℚ) ω, M q ω = μ q ω)
37
+ (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
38
+ Adapted ℱ (fun t : ℝ≥0 => M t) := by
39
+ intro t
40
+ by_cases ht : t = 0
41
+ · subst t
42
+ have he : M (0:ℝ) = μ (0:ℚ) := by
43
+ funext ω
44
+ simpa only [Rat.cast_zero] using hrat 0 ω
45
+ change Measurable[ℱ 0] (M (0:ℝ))
46
+ rw [he]
47
+ convert hμm (0:ℚ) le_rfl using 1
48
+ norm_num
49
+ · have htpos : 0 < (t:ℝ) := NNReal.coe_pos.mpr (pos_iff_ne_zero.mpr ht)
50
+ obtain ⟨q,_,hq,hqt⟩ := Rat.denseRange_cast.exists_seq_strictMono_tendsto_of_lt
51
+ (fun a b hab => Rat.cast_le.mpr hab) htpos
52
+ let : MeasurableSpace Ω := ℱ t
53
+ apply measurable_radon_of_tests (M t) (hMr t)
54
+ intro f
55
+ have hqm (n : ℕ) : Measurable[ℱ t] (μ (q n)) := by
56
+ have hqn : 0 ≤ q n := Rat.cast_nonneg.mp (hq n).1.le
57
+ have htime : (q n : ℝ).toNNReal ≤ t := by
58
+ simpa only [Real.toNNReal_coe] using Real.toNNReal_le_toNNReal (hq n).2.le
59
+ exact (hμm (q n) hqn).mono (ℱ.mono htime) le_rfl
60
+ apply measurable_of_tendsto_metrizable
61
+ (fun n => measurable_halfPlane_compact_test_integral (μ (q n)) (hqm n)
62
+ (fun ω => hrat (q n) ω ▸ hMr (q n) ω) f)
63
+ apply tendsto_pi_nhds.mpr
64
+ intro ω
65
+ simpa only [Function.comp_def,hrat] using
66
+ (hcont ω f).continuousAt.tendsto.comp hqt
67
+
68
+ /-- Joint measurability follows through real compact-test integrals;
69
+ no topology on the space of Radon measures is required. -/
70
+ theorem halfPlane_extension_joint_measurable
71
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
72
+ (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
73
+ (hMr : ∀ t ω, (M t ω).Regular)
74
+ (hcont : ∀ ω (f : C_c(upperHalfPlane,ℝ)), Continuous (fun t => ∫ z, f z ∂M t ω))
75
+ (hrat : ∀ (q : ℚ) ω, M q ω = μ q ω)
76
+ (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
77
+ Measurable (fun q : ℝ≥0 × Ω => M q.1 q.2) := by
78
+ have had := halfPlane_extension_adapted ℱ μ M hMr hcont hrat hμm
79
+ apply measurable_radon_of_tests (fun q : ℝ≥0 × Ω => M q.1 q.2)
80
+ (fun q => hMr q.1 q.2)
81
+ intro f
82
+ apply measurable_uncurry_of_continuous_of_measurable
83
+ (fun ω => (hcont ω f).comp NNReal.continuous_coe)
84
+ intro t
85
+ exact measurable_halfPlane_compact_test_integral (M t) (had.measurable (i := t)) (hMr t) f
86
+
87
+ theorem halfPlane_extension_progressive
88
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
89
+ (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
90
+ (hMr : ∀ t ω, (M t ω).Regular)
91
+ (hcont : ∀ ω (f : C_c(upperHalfPlane,ℝ)), Continuous (fun t => ∫ z, f z ∂M t ω))
92
+ (hrat : ∀ (q : ℚ) ω, M q ω = μ q ω)
93
+ (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
94
+ IsProgressive ℱ (fun t : ℝ≥0 => M t) := by
95
+ have had := halfPlane_extension_adapted ℱ μ M hMr hcont hrat hμm
96
+ intro T
97
+ let : MeasurableSpace Ω := ℱ T
98
+ apply measurable_radon_of_tests (fun q : Iic T × Ω => M q.1.1 q.2)
99
+ (fun q => hMr q.1.1 q.2)
100
+ intro f
101
+ apply measurable_uncurry_of_continuous_of_measurable
102
+ (fun ω => (hcont ω f).comp (NNReal.continuous_coe.comp continuous_subtype_val))
103
+ intro t
104
+ have ht : Measurable[ℱ T] (M (t.1 : ℝ)) := had.measurable_le t.2
105
+ exact measurable_halfPlane_compact_test_integral (M (t.1 : ℝ)) ht (hMr t.1) f
106
+
107
+ end SLEExactGauge
108
+
109
+ end
110
+
111
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalTraceMassAdaptedVersion.lean CHANGED
@@ -1,76 +1,76 @@
1
- import OAI.Probability.SLE.Mass.RationalTraceMassAdapted
2
- import OAI.Probability.SLE.Mass.SubSigmaRadonLimit
3
-
4
- namespace OAI
5
-
6
- /-! Rational adapted versions determine one adapted all-time version on the
7
- same probability-one set on which the limiting compact tests are continuous. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory Classical
11
- open scoped Topology NNReal ENNReal CompactlySupported
12
-
13
- namespace SLEExactGauge
14
-
15
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
16
-
17
- theorem halfPlane_extension_adapted_common_version
18
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω) (ℱ : Filtration ℝ≥0 mΩ)
19
- (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
20
- (hμr : ∀ q ω, (μ q ω).Regular) (hMr : ∀ t ω, (M t ω).Regular)
21
- (hcont : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
22
- Continuous (fun t => ∫ z, f z ∂M t ω))
23
- (hrat : ∀ᵐ ω ∂P, ∀ q : ℚ, M q ω = μ q ω)
24
- (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
25
- ∃ N : ℝ≥0 → Ω → Measure upperHalfPlane, Adapted ℱ N ∧
26
- (∀ t ω, (N t ω).Regular ∧ IsFiniteMeasureOnCompacts (N t ω)) ∧
27
- ∀ᵐ ω ∂P, ∀ t : ℝ≥0, N t ω = M t ω := by
28
- let Good (ω : Ω) : Prop :=
29
- (∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t ω)) ∧
30
- ∀ q : ℚ, M q ω = μ q ω
31
- have hex (t : ℝ≥0) : ∃ N : Ω → Measure upperHalfPlane,
32
- Measurable[ℱ t] N ∧ (∀ ω, (N ω).Regular ∧ IsFiniteMeasureOnCompacts (N ω)) ∧
33
- ∀ ω, Good ω → N ω = M t ω := by
34
- by_cases ht : t = 0
35
- · subst t
36
- refine ⟨μ 0,?_,?_,?_⟩
37
- · convert hμm (0:ℚ) le_rfl using 1
38
- norm_num
39
- · intro ω
40
- let := hμr 0 ω
41
- exact ⟨hμr 0 ω,inferInstance⟩
42
- · intro ω hω
43
- simpa only [Rat.cast_zero,NNReal.coe_zero] using (hω.2 0).symm
44
- · have htpos : 0 < (t:ℝ) := NNReal.coe_pos.mpr (pos_iff_ne_zero.mpr ht)
45
- obtain ⟨q,_,hq,hqt⟩ := Rat.denseRange_cast.exists_seq_strictMono_tendsto_of_lt
46
- (fun a b hab => Rat.cast_le.mpr hab) htpos
47
- have hqm (n : ℕ) : Measurable[ℱ t] (μ (q n)) := by
48
- have hqn : 0 ≤ q n := Rat.cast_nonneg.mp (hq n).1.le
49
- have htime : (q n : ℝ).toNNReal ≤ t := by
50
- simpa only [Real.toNNReal_coe] using Real.toNNReal_le_toNNReal (hq n).2.le
51
- exact (hμm (q n) hqn).mono (ℱ.mono htime) le_rfl
52
- have hfinite (n : ℕ) (ω : Ω) : IsFiniteMeasureOnCompacts (μ (q n) ω) := by
53
- let := hμr (q n) ω
54
- infer_instance
55
- let : MeasurableSpace Ω := ℱ t
56
- have hm (n : ℕ) (f : C_c(upperHalfPlane,ℝ)) :
57
- Measurable[ℱ t] (fun ω => ∫ z, f z ∂μ (q n) ω) :=
58
- measurable_halfPlane_compact_test_integral (μ (q n)) (hqm n) (hμr (q n)) f
59
- obtain ⟨N,hNm,hNr,hNe⟩ := exists_subsigma_radon_version_identified
60
- (ℱ t) (fun n => μ (q n)) hfinite hm
61
- refine ⟨N,hNm,hNr,?_⟩
62
- intro ω hω
63
- apply hNe ω (M t ω) (hMr t ω)
64
- intro f
65
- simpa only [Function.comp_def,hω.2] using
66
- (hω.1 f).continuousAt.tendsto.comp hqt
67
- choose N hNm hNr hNe using hex
68
- refine ⟨N,hNm,hNr,?_⟩
69
- filter_upwards [hcont,hrat] with ω hc hr
70
- exact fun t => hNe t ω ⟨hc,hr⟩
71
-
72
- end SLEExactGauge
73
-
74
- end
75
-
76
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RationalTraceMassAdapted
2
+ import OAI.Probability.SLE.Mass.SubSigmaRadonLimit
3
+
4
+ namespace OAI
5
+
6
+ /-! Rational adapted versions determine one adapted all-time version on the
7
+ same probability-one set on which the limiting compact tests are continuous. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory Classical
11
+ open scoped Topology NNReal ENNReal CompactlySupported
12
+
13
+ namespace SLEExactGauge
14
+
15
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
16
+
17
+ theorem halfPlane_extension_adapted_common_version
18
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω) (ℱ : Filtration ℝ≥0 mΩ)
19
+ (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
20
+ (hμr : ∀ q ω, (μ q ω).Regular) (hMr : ∀ t ω, (M t ω).Regular)
21
+ (hcont : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
22
+ Continuous (fun t => ∫ z, f z ∂M t ω))
23
+ (hrat : ∀ᵐ ω ∂P, ∀ q : ℚ, M q ω = μ q ω)
24
+ (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
25
+ ∃ N : ℝ≥0 → Ω → Measure upperHalfPlane, Adapted ℱ N ∧
26
+ (∀ t ω, (N t ω).Regular ∧ IsFiniteMeasureOnCompacts (N t ω)) ∧
27
+ ∀ᵐ ω ∂P, ∀ t : ℝ≥0, N t ω = M t ω := by
28
+ let Good (ω : Ω) : Prop :=
29
+ (∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t ω)) ∧
30
+ ∀ q : ℚ, M q ω = μ q ω
31
+ have hex (t : ℝ≥0) : ∃ N : Ω → Measure upperHalfPlane,
32
+ Measurable[ℱ t] N ∧ (∀ ω, (N ω).Regular ∧ IsFiniteMeasureOnCompacts (N ω)) ∧
33
+ ∀ ω, Good ω → N ω = M t ω := by
34
+ by_cases ht : t = 0
35
+ · subst t
36
+ refine ⟨μ 0,?_,?_,?_⟩
37
+ · convert hμm (0:ℚ) le_rfl using 1
38
+ norm_num
39
+ · intro ω
40
+ let := hμr 0 ω
41
+ exact ⟨hμr 0 ω,inferInstance⟩
42
+ · intro ω hω
43
+ simpa only [Rat.cast_zero,NNReal.coe_zero] using (hω.2 0).symm
44
+ · have htpos : 0 < (t:ℝ) := NNReal.coe_pos.mpr (pos_iff_ne_zero.mpr ht)
45
+ obtain ⟨q,_,hq,hqt⟩ := Rat.denseRange_cast.exists_seq_strictMono_tendsto_of_lt
46
+ (fun a b hab => Rat.cast_le.mpr hab) htpos
47
+ have hqm (n : ℕ) : Measurable[ℱ t] (μ (q n)) := by
48
+ have hqn : 0 ≤ q n := Rat.cast_nonneg.mp (hq n).1.le
49
+ have htime : (q n : ℝ).toNNReal ≤ t := by
50
+ simpa only [Real.toNNReal_coe] using Real.toNNReal_le_toNNReal (hq n).2.le
51
+ exact (hμm (q n) hqn).mono (ℱ.mono htime) le_rfl
52
+ have hfinite (n : ℕ) (ω : Ω) : IsFiniteMeasureOnCompacts (μ (q n) ω) := by
53
+ let := hμr (q n) ω
54
+ infer_instance
55
+ let : MeasurableSpace Ω := ℱ t
56
+ have hm (n : ℕ) (f : C_c(upperHalfPlane,ℝ)) :
57
+ Measurable[ℱ t] (fun ω => ∫ z, f z ∂μ (q n) ω) :=
58
+ measurable_halfPlane_compact_test_integral (μ (q n)) (hqm n) (hμr (q n)) f
59
+ obtain ⟨N,hNm,hNr,hNe⟩ := exists_subsigma_radon_version_identified
60
+ (ℱ t) (fun n => μ (q n)) hfinite hm
61
+ refine ⟨N,hNm,hNr,?_⟩
62
+ intro ω hω
63
+ apply hNe ω (M t ω) (hMr t ω)
64
+ intro f
65
+ simpa only [Function.comp_def,hω.2] using
66
+ (hω.1 f).continuousAt.tendsto.comp hqt
67
+ choose N hNm hNr hNe using hex
68
+ refine ⟨N,hNm,hNr,?_⟩
69
+ filter_upwards [hcont,hrat] with ω hc hr
70
+ exact fun t => hNe t ω ⟨hc,hr⟩
71
+
72
+ end SLEExactGauge
73
+
74
+ end
75
+
76
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalTraceMassControl.lean CHANGED
@@ -1,101 +1,101 @@
1
- import OAI.Probability.SLE.Mass.RadonTestLimitProperties
2
- import Mathlib.Topology.Instances.Rat
3
- import Mathlib.Topology.DenseEmbedding
4
-
5
- namespace OAI
6
-
7
- /-! Shrinking trace intervals have vanishing nonatomic mass. This gives
8
- local oscillation control and continuous extension from rational times. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory
12
- open scoped Topology ENNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- variable {X : Type*} [TopologicalSpace X] [MeasurableSpace X] [BorelSpace X]
17
-
18
- omit [BorelSpace X] in
19
- /-- Continuity and null singleton mass control every sufficiently short
20
- trace interval around any fixed time. It applies to a finite compact
21
- restriction of the terminal measure. -/
22
- theorem trace_interval_mass_small (ν : Measure X) [ν.OuterRegular]
23
- [NullSingletonClass ν] (γ : ℝ → X) (hγ : Continuous γ)
24
- (t : ℝ) (ε : ℝ≥0∞) (hε : 0 < ε) :
25
- ∃ δ : ℝ, 0 < δ ∧ ∀ a b : ℝ, dist a t < δ → dist b t < δ →
26
- ν (γ '' Icc a b) < ε := by
27
- obtain ⟨U,hUsub,hU,hνU⟩ := ({γ t} : Set X).exists_isOpen_lt_of_lt (μ := ν) ε (by simpa using hε)
28
- have htU : γ t ∈ U := hUsub (mem_singleton _)
29
- have hpre : γ ⁻¹' U ∈ 𝓝 t := hγ.continuousAt.preimage_mem_nhds (hU.mem_nhds htU)
30
- obtain ⟨δ,hδ,hδsub⟩ := Metric.mem_nhds_iff.mp hpre
31
- refine ⟨δ,hδ,fun a b ha hb => (measure_mono ?_).trans_lt hνU⟩
32
- rintro _ ⟨x,hx,rfl⟩
33
- apply hδsub
34
- rw [Metric.mem_ball,Real.dist_eq]
35
- rw [Real.dist_eq,abs_lt] at ha hb
36
- exact abs_lt.mpr ⟨lt_of_lt_of_le ha.1 (sub_le_sub_right hx.1 t),
37
- lt_of_le_of_lt (sub_le_sub_right hx.2 t) hb.2⟩
38
-
39
- /-- A rational-time real observable with arbitrarily small local
40
- oscillation has a unique continuous extension to all real times. -/
41
- theorem exists_continuous_rational_extension
42
- (f : ℚ → ℝ)
43
- (hosc : ∀ t : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
44
- ∀ p q : ℚ, dist (p:ℝ) t < δ → dist (q:ℝ) t < δ → dist (f p) (f q) < ε) :
45
- ∃ F : ℝ → ℝ, Continuous F ∧ (∀ q : ℚ, F q=f q) ∧
46
- ∀ G : ℝ → ℝ, Continuous G → (∀ q : ℚ, G q=f q) → G=F := by
47
- let D := Rat.isDenseEmbedding_coe_real.isDenseInducing
48
- have hlim (t : ℝ) : ∃ c : ℝ, Tendsto f (comap ((↑) : ℚ → ℝ) (𝓝 t)) (𝓝 c) := by
49
- let : NeBot (comap ((↑) : ℚ → ℝ) (𝓝 t)) := D.comap_nhds_neBot t
50
- apply cauchy_map_iff_exists_tendsto.mp
51
- apply Metric.cauchy_iff.mpr
52
- refine ⟨inferInstance,fun ε hε => ?_⟩
53
- obtain ⟨δ,hδ,hcontrol⟩ := hosc t ε hε
54
- let A : Set ℚ := ((↑) : ℚ → ℝ) ⁻¹' Metric.ball t δ
55
- have hA : A ∈ comap ((↑) : ℚ → ℝ) (𝓝 t) :=
56
- preimage_mem_comap (Metric.ball_mem_nhds t hδ)
57
- refine ⟨f '' A,image_mem_map hA,?_⟩
58
- rintro _ ⟨p,hp,rfl⟩ _ ⟨q,hq,rfl⟩
59
- exact hcontrol p q hp hq
60
- refine ⟨D.extend f,D.continuous_extend hlim,D.extend_eq' hlim,?_⟩
61
- intro G hG heq
62
- exact (D.extend_unique heq hG).symm
63
-
64
- omit [BorelSpace X] in
65
- /-- The trace-support estimate for increments supplies the local
66
- oscillation hypothesis of the rational extension theorem. -/
67
- theorem continuous_rational_extension_of_trace_control
68
- (ν : Measure X) [ν.OuterRegular] [IsFiniteMeasure ν] [NullSingletonClass ν]
69
- (γ : ℝ → X) (hγ : Continuous γ) (f : ℚ → ℝ) (C : ℝ) (hC : 0 ≤ C)
70
- (hcontrol : ∀ p q : ℚ, dist (f p) (f q) ≤
71
- C*(ν (γ '' Icc (min (p:ℝ) q) (max (p:ℝ) q))).toReal) :
72
- ∃ F : ℝ → ℝ, Continuous F ∧ (∀ q : ℚ, F q=f q) ∧
73
- ∀ G : ℝ → ℝ, Continuous G → (∀ q : ℚ, G q=f q) → G=F := by
74
- apply exists_continuous_rational_extension f
75
- intro t ε hε
76
- have he : 0 < ε/(C+1) := div_pos hε (by linarith)
77
- obtain ⟨δ,hδ,hsmall⟩ := trace_interval_mass_small ν γ hγ t
78
- (ENNReal.ofReal (ε/(C+1))) (ENNReal.ofReal_pos.mpr he)
79
- refine ⟨δ,hδ,fun p q hp hq => ?_⟩
80
- have hm : dist (min (p:ℝ) q) t < δ := by
81
- rcases le_total (p:ℝ) q with h | h
82
- · simpa only [min_eq_left h] using hp
83
- · simpa only [min_eq_right h] using hq
84
- have hM : dist (max (p:ℝ) q) t < δ := by
85
- rcases le_total (p:ℝ) q with h | h
86
- · simpa only [max_eq_right h] using hq
87
- · simpa only [max_eq_left h] using hp
88
- have hv : (ν (γ '' Icc (min (p:ℝ) q) (max (p:ℝ) q))).toReal < ε/(C+1) := by
89
- have hh := (ENNReal.toReal_lt_toReal (measure_ne_top ν _) ENNReal.ofReal_ne_top).mpr (hsmall _ _ hm hM)
90
- simpa only [ENNReal.toReal_ofReal he.le] using hh
91
- have hbound := hcontrol p q
92
- have hratio : C*(ε/(C+1)) < ε := by
93
- rw [← mul_div_assoc,div_lt_iff₀ (by linarith : 0<C+1)]
94
- nlinarith
95
- exact hbound.trans_lt ((mul_le_mul_of_nonneg_left hv.le hC).trans_lt hratio)
96
-
97
- end SLEExactGauge
98
-
99
- end
100
-
101
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RadonTestLimitProperties
2
+ import Mathlib.Topology.Instances.Rat
3
+ import Mathlib.Topology.DenseEmbedding
4
+
5
+ namespace OAI
6
+
7
+ /-! Shrinking trace intervals have vanishing nonatomic mass. This gives
8
+ local oscillation control and continuous extension from rational times. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory
12
+ open scoped Topology ENNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ variable {X : Type*} [TopologicalSpace X] [MeasurableSpace X] [BorelSpace X]
17
+
18
+ omit [BorelSpace X] in
19
+ /-- Continuity and null singleton mass control every sufficiently short
20
+ trace interval around any fixed time. It applies to a finite compact
21
+ restriction of the terminal measure. -/
22
+ theorem trace_interval_mass_small (ν : Measure X) [ν.OuterRegular]
23
+ [NullSingletonClass ν] (γ : ℝ → X) (hγ : Continuous γ)
24
+ (t : ℝ) (ε : ℝ≥0∞) (hε : 0 < ε) :
25
+ ∃ δ : ℝ, 0 < δ ∧ ∀ a b : ℝ, dist a t < δ → dist b t < δ →
26
+ ν (γ '' Icc a b) < ε := by
27
+ obtain ⟨U,hUsub,hU,hνU⟩ := ({γ t} : Set X).exists_isOpen_lt_of_lt (μ := ν) ε (by simpa using hε)
28
+ have htU : γ t ∈ U := hUsub (mem_singleton _)
29
+ have hpre : γ ⁻¹' U ∈ 𝓝 t := hγ.continuousAt.preimage_mem_nhds (hU.mem_nhds htU)
30
+ obtain ⟨δ,hδ,hδsub⟩ := Metric.mem_nhds_iff.mp hpre
31
+ refine ⟨δ,hδ,fun a b ha hb => (measure_mono ?_).trans_lt hνU⟩
32
+ rintro _ ⟨x,hx,rfl⟩
33
+ apply hδsub
34
+ rw [Metric.mem_ball,Real.dist_eq]
35
+ rw [Real.dist_eq,abs_lt] at ha hb
36
+ exact abs_lt.mpr ⟨lt_of_lt_of_le ha.1 (sub_le_sub_right hx.1 t),
37
+ lt_of_le_of_lt (sub_le_sub_right hx.2 t) hb.2⟩
38
+
39
+ /-- A rational-time real observable with arbitrarily small local
40
+ oscillation has a unique continuous extension to all real times. -/
41
+ theorem exists_continuous_rational_extension
42
+ (f : ℚ → ℝ)
43
+ (hosc : ∀ t : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
44
+ ∀ p q : ℚ, dist (p:ℝ) t < δ → dist (q:ℝ) t < δ → dist (f p) (f q) < ε) :
45
+ ∃ F : ℝ → ℝ, Continuous F ∧ (∀ q : ℚ, F q=f q) ∧
46
+ ∀ G : ℝ → ℝ, Continuous G → (∀ q : ℚ, G q=f q) → G=F := by
47
+ let D := Rat.isDenseEmbedding_coe_real.isDenseInducing
48
+ have hlim (t : ℝ) : ∃ c : ℝ, Tendsto f (comap ((↑) : ℚ → ℝ) (𝓝 t)) (𝓝 c) := by
49
+ let : NeBot (comap ((↑) : ℚ → ℝ) (𝓝 t)) := D.comap_nhds_neBot t
50
+ apply cauchy_map_iff_exists_tendsto.mp
51
+ apply Metric.cauchy_iff.mpr
52
+ refine ⟨inferInstance,fun ε hε => ?_⟩
53
+ obtain ⟨δ,hδ,hcontrol⟩ := hosc t ε hε
54
+ let A : Set ℚ := ((↑) : ℚ → ℝ) ⁻¹' Metric.ball t δ
55
+ have hA : A ∈ comap ((↑) : ℚ → ℝ) (𝓝 t) :=
56
+ preimage_mem_comap (Metric.ball_mem_nhds t hδ)
57
+ refine ⟨f '' A,image_mem_map hA,?_⟩
58
+ rintro _ ⟨p,hp,rfl⟩ _ ⟨q,hq,rfl⟩
59
+ exact hcontrol p q hp hq
60
+ refine ⟨D.extend f,D.continuous_extend hlim,D.extend_eq' hlim,?_⟩
61
+ intro G hG heq
62
+ exact (D.extend_unique heq hG).symm
63
+
64
+ omit [BorelSpace X] in
65
+ /-- The trace-support estimate for increments supplies the local
66
+ oscillation hypothesis of the rational extension theorem. -/
67
+ theorem continuous_rational_extension_of_trace_control
68
+ (ν : Measure X) [ν.OuterRegular] [IsFiniteMeasure ν] [NullSingletonClass ν]
69
+ (γ : ℝ → X) (hγ : Continuous γ) (f : ℚ → ℝ) (C : ℝ) (hC : 0 ≤ C)
70
+ (hcontrol : ∀ p q : ℚ, dist (f p) (f q) ≤
71
+ C*(ν (γ '' Icc (min (p:ℝ) q) (max (p:ℝ) q))).toReal) :
72
+ ∃ F : ℝ → ℝ, Continuous F ∧ (∀ q : ℚ, F q=f q) ∧
73
+ ∀ G : ℝ → ℝ, Continuous G → (∀ q : ℚ, G q=f q) → G=F := by
74
+ apply exists_continuous_rational_extension f
75
+ intro t ε hε
76
+ have he : 0 < ε/(C+1) := div_pos hε (by linarith)
77
+ obtain ⟨δ,hδ,hsmall⟩ := trace_interval_mass_small ν γ hγ t
78
+ (ENNReal.ofReal (ε/(C+1))) (ENNReal.ofReal_pos.mpr he)
79
+ refine ⟨δ,hδ,fun p q hp hq => ?_⟩
80
+ have hm : dist (min (p:ℝ) q) t < δ := by
81
+ rcases le_total (p:ℝ) q with h | h
82
+ · simpa only [min_eq_left h] using hp
83
+ · simpa only [min_eq_right h] using hq
84
+ have hM : dist (max (p:ℝ) q) t < δ := by
85
+ rcases le_total (p:ℝ) q with h | h
86
+ · simpa only [max_eq_right h] using hq
87
+ · simpa only [max_eq_left h] using hp
88
+ have hv : (ν (γ '' Icc (min (p:ℝ) q) (max (p:ℝ) q))).toReal < ε/(C+1) := by
89
+ have hh := (ENNReal.toReal_lt_toReal (measure_ne_top ν _) ENNReal.ofReal_ne_top).mpr (hsmall _ _ hm hM)
90
+ simpa only [ENNReal.toReal_ofReal he.le] using hh
91
+ have hbound := hcontrol p q
92
+ have hratio : C*(ε/(C+1)) < ε := by
93
+ rw [← mul_div_assoc,div_lt_iff₀ (by linarith : 0<C+1)]
94
+ nlinarith
95
+ exact hbound.trans_lt ((mul_le_mul_of_nonneg_left hv.le hC).trans_lt hratio)
96
+
97
+ end SLEExactGauge
98
+
99
+ end
100
+
101
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalTraceMassLocal.lean CHANGED
@@ -1,197 +1,197 @@
1
- import OAI.Probability.SLE.Mass.RationalTraceMassVariation
2
- import OAI.Probability.SLE.LoewnerCharts
3
-
4
- namespace OAI
5
-
6
- /-! Rational-time reconstruction on the open half-plane. The terminal
7
- measure is only locally finite; the trace is allowed to touch the real
8
- line. Compact test supports supply the finite ambient control measures. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory Classical
12
- open scoped Topology ENNReal CompactlySupported
13
-
14
- namespace SLEExactGauge
15
-
16
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
17
-
18
- structure HalfPlaneTraceIncrements (μ : ℚ → Measure upperHalfPlane)
19
- (ν : Measure upperHalfPlane) (γ : ℝ → ℂ) : Prop where
20
- regular : ∀ q, (μ q).Regular
21
- dominated : ∀ q, μ q ≤ ν
22
- increment : ∀ p q, p ≤ q → ∃ η : Measure upperHalfPlane,
23
- μ q = μ p + η ∧ η ≤ ν.restrict {z : upperHalfPlane | (z : ℂ) ∈ γ '' Icc (p:ℝ) q}
24
-
25
- lemma HalfPlaneTraceIncrements.monotone
26
- {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} {γ : ℝ → ℂ}
27
- (H : HalfPlaneTraceIncrements μ ν γ) : Monotone μ := by
28
- intro p q hpq
29
- obtain ⟨η,hη,_⟩ := H.increment p q hpq
30
- rw [hη]
31
- exact Measure.le_add_right le_rfl
32
-
33
- def ambientCompactRestriction (ν : Measure upperHalfPlane) (K : Set upperHalfPlane) : Measure ℂ :=
34
- Measure.map (Subtype.val : upperHalfPlane → ℂ) (ν.restrict K)
35
-
36
- lemma ambientCompactRestriction_finite (ν : Measure upperHalfPlane)
37
- [IsFiniteMeasureOnCompacts ν] (K : Set upperHalfPlane) (hK : IsCompact K) :
38
- IsFiniteMeasure (ambientCompactRestriction ν K) := by
39
- have : Fact (ν K < ⊤) := ⟨hK.measure_lt_top⟩
40
- exact inferInstanceAs (IsFiniteMeasure ((ν.restrict K).map (Subtype.val : upperHalfPlane → ℂ)))
41
-
42
- lemma ambientCompactRestriction_nullSingletons (ν : Measure upperHalfPlane)
43
- [NullSingletonClass ν] (K : Set upperHalfPlane) :
44
- NullSingletonClass (ambientCompactRestriction ν K) := by
45
- constructor
46
- intro z
47
- rw [ambientCompactRestriction,Measure.map_apply measurable_subtype_coe (measurableSet_singleton z)]
48
- apply Set.Subsingleton.measure_zero
49
- intro a ha b hb
50
- apply Subtype.ext
51
- exact (mem_singleton_iff.mp ha).trans (mem_singleton_iff.mp hb).symm
52
-
53
- lemma HalfPlaneTraceIncrements.integral_dist_le
54
- {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
55
- {γ : ℝ → ℂ} (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ)
56
- (f : C_c(upperHalfPlane,ℝ)) (p q : ℚ) :
57
- dist (∫ z, f z ∂μ p) (∫ z, f z ∂μ q) ≤ ‖f.toBoundedContinuousFunction‖ *
58
- (ambientCompactRestriction ν (tsupport f)
59
- (γ '' Icc (min (p:ℝ) q) (max (p:ℝ) q))).toReal := by
60
- have ordered (a b : ℚ) (hab : a ≤ b) :
61
- dist (∫ z, f z ∂μ a) (∫ z, f z ∂μ b) ≤ ‖f.toBoundedContinuousFunction‖ *
62
- (ambientCompactRestriction ν (tsupport f) (γ '' Icc (a:ℝ) b)).toReal := by
63
- let K := tsupport f
64
- let A : Set upperHalfPlane := {z | (z : ℂ) ∈ γ '' Icc (a:ℝ) b}
65
- have hAm : MeasurableSet A :=
66
- (isCompact_Icc.image hγ).measurableSet.preimage measurable_subtype_coe
67
- obtain ⟨η,hη,hην⟩ := H.increment a b hab
68
- have hηle : η ≤ ν := hην.trans Measure.restrict_le_self
69
- let : IsFiniteMeasureOnCompacts η := ⟨fun L hL => (hηle L).trans_lt hL.measure_lt_top⟩
70
- let : (μ a).Regular := H.regular a
71
- have hηK : η K < ⊤ := f.hasCompactSupport.measure_lt_top
72
- have : Fact (η K < ⊤) := ⟨hηK⟩
73
- let : IsFiniteMeasure (η.restrict K) := inferInstance
74
- let : IsFiniteMeasure (ambientCompactRestriction ν K) :=
75
- ambientCompactRestriction_finite ν K f.hasCompactSupport
76
- have hbound : η K ≤ ambientCompactRestriction ν K (γ '' Icc (a:ℝ) b) := by
77
- calc
78
- η K ≤ ν.restrict A K := hην K
79
- _ = ν (K ∩ A) := Measure.restrict_apply f.hasCompactSupport.measurableSet
80
- _ = ambientCompactRestriction ν K (γ '' Icc (a:ℝ) b) := by
81
- rw [ambientCompactRestriction,Measure.map_apply measurable_subtype_coe
82
- (isCompact_Icc.image hγ).measurableSet]
83
- change ν (K ∩ A) = ν.restrict K A
84
- rw [Measure.restrict_apply hAm,inter_comm]
85
- rw [hη,integral_add_measure f.integrable f.integrable,dist_eq_norm]
86
- have hsub : (∫ z, f z ∂μ a)-((∫ z, f z ∂μ a)+(∫ z, f z ∂η)) = -(∫ z, f z ∂η) := by ring
87
- rw [hsub,norm_neg,← setIntegral_eq_integral_of_forall_compl_eq_zero
88
- (fun z hz => image_eq_zero_of_notMem_tsupport hz)]
89
- have hb := norm_integral_le_of_norm_le_const (μ := η.restrict K)
90
- (ae_of_all _ (fun z => f.toBoundedContinuousFunction.norm_coe_le_norm z))
91
- apply hb.trans
92
- apply mul_le_mul_of_nonneg_left _ (norm_nonneg _)
93
- apply ENNReal.toReal_mono (measure_ne_top (ambientCompactRestriction ν K) _)
94
- simpa only [Measure.restrict_apply_univ] using hbound
95
- rcases le_total p q with h | h
96
- · simpa only [min_eq_left (Rat.cast_le.mpr h),max_eq_right (Rat.cast_le.mpr h)] using ordered p q h
97
- · rw [dist_comm]
98
- simpa only [min_eq_right (Rat.cast_le.mpr h),max_eq_left (Rat.cast_le.mpr h)] using ordered q p h
99
-
100
- lemma HalfPlaneTraceIncrements.continuous_test_extension
101
- {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
102
- [NullSingletonClass ν] {γ : ℝ → ℂ}
103
- (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ) (f : C_c(upperHalfPlane,ℝ)) :
104
- ∃ F : ℝ → ℝ, Continuous F ∧ (∀ q : ℚ, F q = ∫ z, f z ∂μ q) ∧
105
- ∀ G : ℝ → ℝ, Continuous G → (∀ q : ℚ, G q = ∫ z, f z ∂μ q) → G = F := by
106
- let ρ := ambientCompactRestriction ν (tsupport f)
107
- let : IsFiniteMeasure ρ := ambientCompactRestriction_finite ν _ f.hasCompactSupport
108
- let : NullSingletonClass ρ := ambientCompactRestriction_nullSingletons ν _
109
- exact continuous_rational_extension_of_trace_control ρ γ hγ
110
- (fun q => ∫ z, f z ∂μ q) ‖f.toBoundedContinuousFunction‖ (norm_nonneg _)
111
- (H.integral_dist_le hγ f)
112
-
113
- /-- One locally finite Radon family extends all rational times. Every
114
- compact test is continuous, even when the physical trace meets the real line. -/
115
- theorem HalfPlaneTraceIncrements.exists_continuous_extension
116
- {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
117
- [NullSingletonClass ν] {γ : ℝ → ℂ}
118
- (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ) :
119
- ∃ M : ℝ → Measure upperHalfPlane, (∀ t, (M t).Regular) ∧ (∀ t, M t ≤ ν) ∧
120
- (∀ q : ℚ, M q = μ q) ∧
121
- (∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t)) ∧ Monotone M := by
122
- choose F hFc hFq _ using H.continuous_test_extension hγ
123
- have hex (t : ℝ) : ∃ η : Measure upperHalfPlane, η.Regular ∧ IsFiniteMeasureOnCompacts η ∧
124
- ∀ f : C_c(upperHalfPlane,ℝ), (∫ z, f z ∂η) = F f t := by
125
- obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
126
- let (n : ℕ) : (μ (q n)).Regular := H.regular (q n)
127
- have hlim (f : C_c(upperHalfPlane,ℝ)) :
128
- Tendsto (fun n => ∫ z, f z ∂μ (q n)) atTop (𝓝 (F f t)) := by
129
- simpa only [Function.comp_def,hFq] using (hFc f).continuousAt.tendsto.comp hq
130
- obtain ⟨η,hηr,hηf,hηlim⟩ := radon_limit_of_all_test_limits (fun n => μ (q n))
131
- (fun f => ⟨F f t,hlim f⟩)
132
- exact ⟨η,hηr,hηf,fun f => tendsto_nhds_unique (hηlim f) (hlim f)⟩
133
- choose M hMr hMf hMI using hex
134
- have hcont (f : C_c(upperHalfPlane,ℝ)) : Continuous (fun t => ∫ z, f z ∂M t) := by
135
- simpa only [hMI] using hFc f
136
- have hrat (q : ℚ) : M q = μ q := by
137
- let : (M q).Regular := hMr q
138
- let : (μ q).Regular := H.regular q
139
- apply Measure.ext_of_integral_eq_on_compactlySupported
140
- intro f
141
- rw [hMI,hFq]
142
- have hdom (t : ℝ) : M t ≤ ν := by
143
- let : (M t).Regular := hMr t
144
- obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
145
- apply radon_measure_le_of_nonneg_tests
146
- intro f hfn
147
- have hlim : Tendsto (fun n => ∫ z, f z ∂μ (q n)) atTop (𝓝 (∫ z, f z ∂M t)) := by
148
- simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hq
149
- apply le_of_tendsto_of_tendsto' hlim tendsto_const_nhds
150
- intro n
151
- exact integral_mono_measure (H.dominated (q n)) (ae_of_all ν hfn) f.integrable
152
- refine ⟨M,hMr,hdom,hrat,hcont,?_⟩
153
- intro s t hst
154
- rcases eq_or_lt_of_le hst with rfl | hst
155
- · exact le_rfl
156
- let : (M s).Regular := hMr s
157
- let : (M t).Regular := hMr t
158
- obtain ⟨p,hp⟩ := exists_rational_sequence_tendsto s
159
- obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
160
- have hp' : ∀ᶠ n in atTop, (p n : ℝ) < (s+t)/2 := hp.eventually (gt_mem_nhds (by linarith))
161
- have hq' : ∀ᶠ n in atTop, (s+t)/2 < (q n : ℝ) := hq.eventually (lt_mem_nhds (by linarith))
162
- apply radon_measure_le_of_nonneg_tests
163
- intro f hfn
164
- have hplim : Tendsto (fun n => ∫ z, f z ∂μ (p n)) atTop (𝓝 (∫ z, f z ∂M s)) := by
165
- simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hp
166
- have hqlim : Tendsto (fun n => ∫ z, f z ∂μ (q n)) atTop (𝓝 (∫ z, f z ∂M t)) := by
167
- simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hq
168
- apply le_of_tendsto_of_tendsto hplim hqlim
169
- filter_upwards [hp',hq'] with n hpn hqn
170
- let : (μ (q n)).Regular := H.regular (q n)
171
- exact integral_mono_measure (H.monotone (Rat.cast_le.mp (le_of_lt (hpn.trans hqn))))
172
- (ae_of_all _ hfn) f.integrable
173
-
174
- /-- Agreement at rational times identifies continuous Radon families.
175
- Thus the reconstruction is independent of compact exhaustions. -/
176
- theorem halfPlane_continuous_measure_extension_unique
177
- (M N : ℝ → Measure upperHalfPlane)
178
- (hMr : ∀ t, (M t).Regular) (hNr : ∀ t, (N t).Regular)
179
- (hMc : ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t))
180
- (hNc : ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂N t))
181
- (heq : ∀ q : ℚ, M q = N q) : M = N := by
182
- funext t
183
- let : (M t).Regular := hMr t
184
- let : (N t).Regular := hNr t
185
- apply Measure.ext_of_integral_eq_on_compactlySupported
186
- intro f
187
- obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
188
- have hm := (hMc f).continuousAt.tendsto.comp hq
189
- have hn := (hNc f).continuousAt.tendsto.comp hq
190
- simp only [Function.comp_def,heq] at hm hn
191
- exact tendsto_nhds_unique hm hn
192
-
193
- end SLEExactGauge
194
-
195
- end
196
-
197
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RationalTraceMassVariation
2
+ import OAI.Probability.SLE.LoewnerCharts
3
+
4
+ namespace OAI
5
+
6
+ /-! Rational-time reconstruction on the open half-plane. The terminal
7
+ measure is only locally finite; the trace is allowed to touch the real
8
+ line. Compact test supports supply the finite ambient control measures. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory Classical
12
+ open scoped Topology ENNReal CompactlySupported
13
+
14
+ namespace SLEExactGauge
15
+
16
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
17
+
18
+ structure HalfPlaneTraceIncrements (μ : ℚ → Measure upperHalfPlane)
19
+ (ν : Measure upperHalfPlane) (γ : ℝ → ℂ) : Prop where
20
+ regular : ∀ q, (μ q).Regular
21
+ dominated : ∀ q, μ q ≤ ν
22
+ increment : ∀ p q, p ≤ q → ∃ η : Measure upperHalfPlane,
23
+ μ q = μ p + η ∧ η ≤ ν.restrict {z : upperHalfPlane | (z : ℂ) ∈ γ '' Icc (p:ℝ) q}
24
+
25
+ lemma HalfPlaneTraceIncrements.monotone
26
+ {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} {γ : ℝ → ℂ}
27
+ (H : HalfPlaneTraceIncrements μ ν γ) : Monotone μ := by
28
+ intro p q hpq
29
+ obtain ⟨η,hη,_⟩ := H.increment p q hpq
30
+ rw [hη]
31
+ exact Measure.le_add_right le_rfl
32
+
33
+ def ambientCompactRestriction (ν : Measure upperHalfPlane) (K : Set upperHalfPlane) : Measure ℂ :=
34
+ Measure.map (Subtype.val : upperHalfPlane → ℂ) (ν.restrict K)
35
+
36
+ lemma ambientCompactRestriction_finite (ν : Measure upperHalfPlane)
37
+ [IsFiniteMeasureOnCompacts ν] (K : Set upperHalfPlane) (hK : IsCompact K) :
38
+ IsFiniteMeasure (ambientCompactRestriction ν K) := by
39
+ have : Fact (ν K < ⊤) := ⟨hK.measure_lt_top⟩
40
+ exact inferInstanceAs (IsFiniteMeasure ((ν.restrict K).map (Subtype.val : upperHalfPlane → ℂ)))
41
+
42
+ lemma ambientCompactRestriction_nullSingletons (ν : Measure upperHalfPlane)
43
+ [NullSingletonClass ν] (K : Set upperHalfPlane) :
44
+ NullSingletonClass (ambientCompactRestriction ν K) := by
45
+ constructor
46
+ intro z
47
+ rw [ambientCompactRestriction,Measure.map_apply measurable_subtype_coe (measurableSet_singleton z)]
48
+ apply Set.Subsingleton.measure_zero
49
+ intro a ha b hb
50
+ apply Subtype.ext
51
+ exact (mem_singleton_iff.mp ha).trans (mem_singleton_iff.mp hb).symm
52
+
53
+ lemma HalfPlaneTraceIncrements.integral_dist_le
54
+ {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
55
+ {γ : ℝ → ℂ} (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ)
56
+ (f : C_c(upperHalfPlane,ℝ)) (p q : ℚ) :
57
+ dist (∫ z, f z ∂μ p) (∫ z, f z ∂μ q) ≤ ‖f.toBoundedContinuousFunction‖ *
58
+ (ambientCompactRestriction ν (tsupport f)
59
+ (γ '' Icc (min (p:ℝ) q) (max (p:ℝ) q))).toReal := by
60
+ have ordered (a b : ℚ) (hab : a ≤ b) :
61
+ dist (∫ z, f z ∂μ a) (∫ z, f z ∂μ b) ≤ ‖f.toBoundedContinuousFunction‖ *
62
+ (ambientCompactRestriction ν (tsupport f) (γ '' Icc (a:ℝ) b)).toReal := by
63
+ let K := tsupport f
64
+ let A : Set upperHalfPlane := {z | (z : ℂ) ∈ γ '' Icc (a:ℝ) b}
65
+ have hAm : MeasurableSet A :=
66
+ (isCompact_Icc.image hγ).measurableSet.preimage measurable_subtype_coe
67
+ obtain ⟨η,hη,hην⟩ := H.increment a b hab
68
+ have hηle : η ≤ ν := hην.trans Measure.restrict_le_self
69
+ let : IsFiniteMeasureOnCompacts η := ⟨fun L hL => (hηle L).trans_lt hL.measure_lt_top⟩
70
+ let : (μ a).Regular := H.regular a
71
+ have hηK : η K < ⊤ := f.hasCompactSupport.measure_lt_top
72
+ have : Fact (η K < ⊤) := ⟨hηK⟩
73
+ let : IsFiniteMeasure (η.restrict K) := inferInstance
74
+ let : IsFiniteMeasure (ambientCompactRestriction ν K) :=
75
+ ambientCompactRestriction_finite ν K f.hasCompactSupport
76
+ have hbound : η K ≤ ambientCompactRestriction ν K (γ '' Icc (a:ℝ) b) := by
77
+ calc
78
+ η K ≤ ν.restrict A K := hην K
79
+ _ = ν (K ∩ A) := Measure.restrict_apply f.hasCompactSupport.measurableSet
80
+ _ = ambientCompactRestriction ν K (γ '' Icc (a:ℝ) b) := by
81
+ rw [ambientCompactRestriction,Measure.map_apply measurable_subtype_coe
82
+ (isCompact_Icc.image hγ).measurableSet]
83
+ change ν (K ∩ A) = ν.restrict K A
84
+ rw [Measure.restrict_apply hAm,inter_comm]
85
+ rw [hη,integral_add_measure f.integrable f.integrable,dist_eq_norm]
86
+ have hsub : (∫ z, f z ∂μ a)-((∫ z, f z ∂μ a)+(∫ z, f z ∂η)) = -(∫ z, f z ∂η) := by ring
87
+ rw [hsub,norm_neg,← setIntegral_eq_integral_of_forall_compl_eq_zero
88
+ (fun z hz => image_eq_zero_of_notMem_tsupport hz)]
89
+ have hb := norm_integral_le_of_norm_le_const (μ := η.restrict K)
90
+ (ae_of_all _ (fun z => f.toBoundedContinuousFunction.norm_coe_le_norm z))
91
+ apply hb.trans
92
+ apply mul_le_mul_of_nonneg_left _ (norm_nonneg _)
93
+ apply ENNReal.toReal_mono (measure_ne_top (ambientCompactRestriction ν K) _)
94
+ simpa only [Measure.restrict_apply_univ] using hbound
95
+ rcases le_total p q with h | h
96
+ · simpa only [min_eq_left (Rat.cast_le.mpr h),max_eq_right (Rat.cast_le.mpr h)] using ordered p q h
97
+ · rw [dist_comm]
98
+ simpa only [min_eq_right (Rat.cast_le.mpr h),max_eq_left (Rat.cast_le.mpr h)] using ordered q p h
99
+
100
+ lemma HalfPlaneTraceIncrements.continuous_test_extension
101
+ {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
102
+ [NullSingletonClass ν] {γ : ℝ → ℂ}
103
+ (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ) (f : C_c(upperHalfPlane,ℝ)) :
104
+ ∃ F : ℝ → ℝ, Continuous F ∧ (∀ q : ℚ, F q = ∫ z, f z ∂μ q) ∧
105
+ ∀ G : ℝ → ℝ, Continuous G → (∀ q : ℚ, G q = ∫ z, f z ∂μ q) → G = F := by
106
+ let ρ := ambientCompactRestriction ν (tsupport f)
107
+ let : IsFiniteMeasure ρ := ambientCompactRestriction_finite ν _ f.hasCompactSupport
108
+ let : NullSingletonClass ρ := ambientCompactRestriction_nullSingletons ν _
109
+ exact continuous_rational_extension_of_trace_control ρ γ hγ
110
+ (fun q => ∫ z, f z ∂μ q) ‖f.toBoundedContinuousFunction‖ (norm_nonneg _)
111
+ (H.integral_dist_le hγ f)
112
+
113
+ /-- One locally finite Radon family extends all rational times. Every
114
+ compact test is continuous, even when the physical trace meets the real line. -/
115
+ theorem HalfPlaneTraceIncrements.exists_continuous_extension
116
+ {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
117
+ [NullSingletonClass ν] {γ : ℝ → ℂ}
118
+ (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ) :
119
+ ∃ M : ℝ → Measure upperHalfPlane, (∀ t, (M t).Regular) ∧ (∀ t, M t ≤ ν) ∧
120
+ (∀ q : ℚ, M q = μ q) ∧
121
+ (∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t)) ∧ Monotone M := by
122
+ choose F hFc hFq _ using H.continuous_test_extension hγ
123
+ have hex (t : ℝ) : ∃ η : Measure upperHalfPlane, η.Regular ∧ IsFiniteMeasureOnCompacts η ∧
124
+ ∀ f : C_c(upperHalfPlane,ℝ), (∫ z, f z ∂η) = F f t := by
125
+ obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
126
+ let (n : ℕ) : (μ (q n)).Regular := H.regular (q n)
127
+ have hlim (f : C_c(upperHalfPlane,ℝ)) :
128
+ Tendsto (fun n => ∫ z, f z ∂μ (q n)) atTop (𝓝 (F f t)) := by
129
+ simpa only [Function.comp_def,hFq] using (hFc f).continuousAt.tendsto.comp hq
130
+ obtain ⟨η,hηr,hηf,hηlim⟩ := radon_limit_of_all_test_limits (fun n => μ (q n))
131
+ (fun f => ⟨F f t,hlim f⟩)
132
+ exact ⟨η,hηr,hηf,fun f => tendsto_nhds_unique (hηlim f) (hlim f)⟩
133
+ choose M hMr hMf hMI using hex
134
+ have hcont (f : C_c(upperHalfPlane,ℝ)) : Continuous (fun t => ∫ z, f z ∂M t) := by
135
+ simpa only [hMI] using hFc f
136
+ have hrat (q : ℚ) : M q = μ q := by
137
+ let : (M q).Regular := hMr q
138
+ let : (μ q).Regular := H.regular q
139
+ apply Measure.ext_of_integral_eq_on_compactlySupported
140
+ intro f
141
+ rw [hMI,hFq]
142
+ have hdom (t : ℝ) : M t ≤ ν := by
143
+ let : (M t).Regular := hMr t
144
+ obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
145
+ apply radon_measure_le_of_nonneg_tests
146
+ intro f hfn
147
+ have hlim : Tendsto (fun n => ∫ z, f z ∂μ (q n)) atTop (𝓝 (∫ z, f z ∂M t)) := by
148
+ simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hq
149
+ apply le_of_tendsto_of_tendsto' hlim tendsto_const_nhds
150
+ intro n
151
+ exact integral_mono_measure (H.dominated (q n)) (ae_of_all ν hfn) f.integrable
152
+ refine ⟨M,hMr,hdom,hrat,hcont,?_⟩
153
+ intro s t hst
154
+ rcases eq_or_lt_of_le hst with rfl | hst
155
+ · exact le_rfl
156
+ let : (M s).Regular := hMr s
157
+ let : (M t).Regular := hMr t
158
+ obtain ⟨p,hp⟩ := exists_rational_sequence_tendsto s
159
+ obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
160
+ have hp' : ∀ᶠ n in atTop, (p n : ℝ) < (s+t)/2 := hp.eventually (gt_mem_nhds (by linarith))
161
+ have hq' : ∀ᶠ n in atTop, (s+t)/2 < (q n : ℝ) := hq.eventually (lt_mem_nhds (by linarith))
162
+ apply radon_measure_le_of_nonneg_tests
163
+ intro f hfn
164
+ have hplim : Tendsto (fun n => ∫ z, f z ∂μ (p n)) atTop (𝓝 (∫ z, f z ∂M s)) := by
165
+ simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hp
166
+ have hqlim : Tendsto (fun n => ∫ z, f z ∂μ (q n)) atTop (𝓝 (∫ z, f z ∂M t)) := by
167
+ simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hq
168
+ apply le_of_tendsto_of_tendsto hplim hqlim
169
+ filter_upwards [hp',hq'] with n hpn hqn
170
+ let : (μ (q n)).Regular := H.regular (q n)
171
+ exact integral_mono_measure (H.monotone (Rat.cast_le.mp (le_of_lt (hpn.trans hqn))))
172
+ (ae_of_all _ hfn) f.integrable
173
+
174
+ /-- Agreement at rational times identifies continuous Radon families.
175
+ Thus the reconstruction is independent of compact exhaustions. -/
176
+ theorem halfPlane_continuous_measure_extension_unique
177
+ (M N : ℝ → Measure upperHalfPlane)
178
+ (hMr : ∀ t, (M t).Regular) (hNr : ∀ t, (N t).Regular)
179
+ (hMc : ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t))
180
+ (hNc : ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂N t))
181
+ (heq : ∀ q : ℚ, M q = N q) : M = N := by
182
+ funext t
183
+ let : (M t).Regular := hMr t
184
+ let : (N t).Regular := hNr t
185
+ apply Measure.ext_of_integral_eq_on_compactlySupported
186
+ intro f
187
+ obtain ⟨q,hq⟩ := exists_rational_sequence_tendsto t
188
+ have hm := (hMc f).continuousAt.tendsto.comp hq
189
+ have hn := (hNc f).continuousAt.tendsto.comp hq
190
+ simp only [Function.comp_def,heq] at hm hn
191
+ exact tendsto_nhds_unique hm hn
192
+
193
+ end SLEExactGauge
194
+
195
+ end
196
+
197
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalTraceMassLocalVariation.lean CHANGED
@@ -1,139 +1,139 @@
1
- import OAI.Probability.SLE.Mass.RationalTraceMassLocal
2
-
3
- namespace OAI
4
-
5
- /-! Local total-variation continuity of the half-plane reconstruction.
6
- Only the mass of a fixed compact is used; the terminal mass may be infinite. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory Classical
10
- open scoped Topology ENNReal CompactlySupported
11
-
12
- namespace SLEExactGauge
13
-
14
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
15
-
16
- private lemma halfPlane_regular_add (μ ν : Measure upperHalfPlane) [μ.Regular] [ν.Regular] :
17
- (μ + ν).Regular := by
18
- let : IsFiniteMeasureOnCompacts (μ + ν) := ⟨fun K hK => by
19
- rw [Measure.add_apply]
20
- exact ENNReal.add_lt_top.mpr ⟨hK.measure_lt_top,hK.measure_lt_top⟩⟩
21
- infer_instance
22
-
23
- theorem HalfPlaneTraceIncrements.local_variation_continuity
24
- {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
25
- [NullSingletonClass ν] {γ : ℝ → ℂ}
26
- (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ)
27
- (M : ℝ → Measure upperHalfPlane) (hMr : ∀ t, (M t).Regular)
28
- (hdom : ∀ t, M t ≤ ν) (hrat : ∀ q : ℚ, M q = μ q)
29
- (hcont : ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t))
30
- (K : Set upperHalfPlane) (hK : IsCompact K) :
31
- ∀ t₀ : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
32
- ∀ s t : ℝ, dist s t₀ < δ → dist t t₀ < δ →
33
- ∀ A : Set upperHalfPlane, MeasurableSet A → A ⊆ K →
34
- |(M s A).toReal-(M t A).toReal| < ε := by
35
- intro t₀ ε hε
36
- let ρ := ambientCompactRestriction ν K
37
- let : IsFiniteMeasure ρ := ambientCompactRestriction_finite ν K hK
38
- let : NullSingletonClass ρ := ambientCompactRestriction_nullSingletons ν K
39
- obtain ⟨U,hUsub,hU,hρU⟩ := ({γ t₀} : Set ℂ).exists_isOpen_lt_of_lt (μ := ρ)
40
- (ENNReal.ofReal ε) (by simpa using ENNReal.ofReal_pos.mpr hε)
41
- let V : Set upperHalfPlane := (Subtype.val : upperHalfPlane → ℂ) ⁻¹' U
42
- have hV : IsOpen V := hU.preimage continuous_subtype_val
43
- have htU : γ t₀ ∈ U := hUsub (mem_singleton _)
44
- obtain ⟨δ,hδ,hδsub⟩ := Metric.mem_nhds_iff.mp
45
- (hγ.continuousAt.preimage_mem_nhds (hU.mem_nhds htU))
46
- have hI (a b : ℝ) (ha : dist a t₀ < δ) (hb : dist b t₀ < δ) : γ '' Icc a b ⊆ U := by
47
- rintro _ ⟨x,hx,rfl⟩
48
- apply hδsub
49
- rw [Metric.mem_ball,Real.dist_eq]
50
- rw [Real.dist_eq,abs_lt] at ha hb
51
- exact abs_lt.mpr ⟨lt_of_lt_of_le ha.1 (sub_le_sub_right hx.1 t₀),
52
- lt_of_le_of_lt (sub_le_sub_right hx.2 t₀) hb.2⟩
53
- have hq (p q : ℚ) (hp : dist (p:ℝ) t₀ < δ) (hq : dist (q:ℝ) t₀ < δ) :
54
- μ p ≤ μ q+ν.restrict V := by
55
- rcases le_total p q with hpq | hqp
56
- · exact (H.monotone hpq).trans (Measure.le_add_right le_rfl)
57
- · obtain ⟨η,hη,hην⟩ := H.increment q p hqp
58
- rw [hη]
59
- apply add_le_add le_rfl
60
- exact hην.trans (Measure.restrict_mono
61
- (show {z : upperHalfPlane | (z : ℂ) ∈ γ '' Icc (q:ℝ) p} ⊆ V
62
- from fun z hz => hI q p hq hp hz) le_rfl)
63
- have hreal (s t : ℝ) (hs : dist s t₀ < δ) (ht : dist t t₀ < δ) :
64
- M s ≤ M t+ν.restrict V := by
65
- let : (M s).Regular := hMr s
66
- let : (M t).Regular := hMr t
67
- let : (ν.restrict V).Regular := inferInstance
68
- let : (M t+ν.restrict V).Regular := halfPlane_regular_add _ _
69
- obtain ⟨p,hp⟩ := exists_rational_sequence_tendsto s
70
- obtain ⟨q,hqt⟩ := exists_rational_sequence_tendsto t
71
- have hpU : ∀ᶠ n in atTop, dist (p n:ℝ) t₀ < δ :=
72
- hp.eventually (isOpen_lt (continuous_id.dist continuous_const) continuous_const |>.mem_nhds hs)
73
- have hqU : ∀ᶠ n in atTop, dist (q n:ℝ) t₀ < δ :=
74
- hqt.eventually (isOpen_lt (continuous_id.dist continuous_const) continuous_const |>.mem_nhds ht)
75
- apply radon_measure_le_of_nonneg_tests
76
- intro f hfn
77
- have hplim : Tendsto (fun n => ∫ z, f z ∂μ (p n)) atTop (𝓝 (∫ z, f z ∂M s)) := by
78
- simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hp
79
- have hqlim : Tendsto (fun n => ∫ z, f z ∂(μ (q n)+ν.restrict V)) atTop
80
- (𝓝 (∫ z, f z ∂(M t+ν.restrict V))) := by
81
- have hi := ((hcont f).continuousAt.tendsto.comp hqt).add
82
- (tendsto_const_nhds (x := ∫ z, f z ∂ν.restrict V))
83
- simp only [Function.comp_def,hrat] at hi
84
- have hqadd (n : ℕ) : (∫ z, f z ∂(μ (q n)+ν.restrict V)) =
85
- (∫ z, f z ∂μ (q n))+(∫ z, f z ∂ν.restrict V) := by
86
- let : (μ (q n)).Regular := H.regular (q n)
87
- exact integral_add_measure f.integrable f.integrable
88
- simpa only [hqadd,integral_add_measure f.integrable f.integrable] using hi
89
- apply le_of_tendsto_of_tendsto hplim hqlim
90
- filter_upwards [hpU,hqU] with n hpn hqn
91
- let : (μ (q n)).Regular := H.regular (q n)
92
- let : (μ (q n)+ν.restrict V).Regular := halfPlane_regular_add _ _
93
- exact integral_mono_measure (hq (p n) (q n) hpn hqn) (ae_of_all _ hfn) f.integrable
94
- refine ⟨δ,hδ,fun s t hs ht A hA hAK => ?_⟩
95
- have hst := hreal s t hs ht A
96
- have hts := hreal t s ht hs A
97
- have hsn : M s A ≠ ⊤ := ((hdom s A).trans ((measure_mono hAK))).trans_lt hK.measure_lt_top |>.ne
98
- have htn : M t A ≠ ⊤ := ((hdom t A).trans ((measure_mono hAK))).trans_lt hK.measure_lt_top |>.ne
99
- have hUn : ρ U ≠ ⊤ := measure_ne_top ρ U
100
- rw [Measure.add_apply,Measure.restrict_apply hA,inter_comm] at hst hts
101
- have hUA : ν (V ∩ A) ≤ ρ U := by
102
- change ν (V ∩ A) ≤ ambientCompactRestriction ν K U
103
- rw [ambientCompactRestriction,Measure.map_apply measurable_subtype_coe hU.measurableSet]
104
- change ν (V ∩ A) ≤ ν.restrict K V
105
- rw [Measure.restrict_apply hV.measurableSet]
106
- exact measure_mono (fun z hz => ⟨hz.1,hAK hz.2⟩)
107
- have hcan : ν (V ∩ A) ≠ ⊤ := (hUA.trans_lt hUn.lt_top).ne
108
- have hst' := ENNReal.toReal_mono (ENNReal.add_ne_top.mpr ⟨htn,hcan⟩) hst
109
- have hts' := ENNReal.toReal_mono (ENNReal.add_ne_top.mpr ⟨hsn,hcan⟩) hts
110
- rw [ENNReal.toReal_add htn hcan] at hst'
111
- rw [ENNReal.toReal_add hsn hcan] at hts'
112
- have hless : (ν (V ∩ A)).toReal < ε := by
113
- have hUl : (ρ U).toReal < ε := by
114
- simpa only [ENNReal.toReal_ofReal hε.le] using
115
- (ENNReal.toReal_lt_toReal hUn ENNReal.ofReal_ne_top).mpr hρU
116
- exact (ENNReal.toReal_mono hUn hUA).trans_lt hUl
117
- exact abs_lt.mpr ⟨by linarith,by linarith⟩
118
-
119
- theorem HalfPlaneTraceIncrements.exists_locally_tv_continuous_extension
120
- {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
121
- [NullSingletonClass ν] {γ : ℝ → ℂ}
122
- (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ) :
123
- ∃ M : ℝ → Measure upperHalfPlane, (∀ t, (M t).Regular) ∧ (∀ t, M t ≤ ν) ∧
124
- (∀ q : ℚ, M q = μ q) ∧ Monotone M ∧
125
- (∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t)) ∧
126
- ∀ K : Set upperHalfPlane, IsCompact K →
127
- ∀ t₀ : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
128
- ∀ s t : ℝ, dist s t₀ < δ → dist t t₀ < δ →
129
- ∀ A : Set upperHalfPlane, MeasurableSet A → A ⊆ K →
130
- |(M s A).toReal-(M t A).toReal| < ε := by
131
- obtain ⟨M,hMr,hdom,hrat,hcont,hmono⟩ := H.exists_continuous_extension hγ
132
- exact ⟨M,hMr,hdom,hrat,hmono,hcont,
133
- fun K hK => H.local_variation_continuity hγ M hMr hdom hrat hcont K hK⟩
134
-
135
- end SLEExactGauge
136
-
137
- end
138
-
139
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RationalTraceMassLocal
2
+
3
+ namespace OAI
4
+
5
+ /-! Local total-variation continuity of the half-plane reconstruction.
6
+ Only the mass of a fixed compact is used; the terminal mass may be infinite. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory Classical
10
+ open scoped Topology ENNReal CompactlySupported
11
+
12
+ namespace SLEExactGauge
13
+
14
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
15
+
16
+ private lemma halfPlane_regular_add (μ ν : Measure upperHalfPlane) [μ.Regular] [ν.Regular] :
17
+ (μ + ν).Regular := by
18
+ let : IsFiniteMeasureOnCompacts (μ + ν) := ⟨fun K hK => by
19
+ rw [Measure.add_apply]
20
+ exact ENNReal.add_lt_top.mpr ⟨hK.measure_lt_top,hK.measure_lt_top⟩⟩
21
+ infer_instance
22
+
23
+ theorem HalfPlaneTraceIncrements.local_variation_continuity
24
+ {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
25
+ [NullSingletonClass ν] {γ : ℝ → ℂ}
26
+ (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ)
27
+ (M : ℝ → Measure upperHalfPlane) (hMr : ∀ t, (M t).Regular)
28
+ (hdom : ∀ t, M t ≤ ν) (hrat : ∀ q : ℚ, M q = μ q)
29
+ (hcont : ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t))
30
+ (K : Set upperHalfPlane) (hK : IsCompact K) :
31
+ ∀ t₀ : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
32
+ ∀ s t : ℝ, dist s t₀ < δ → dist t t₀ < δ →
33
+ ∀ A : Set upperHalfPlane, MeasurableSet A → A ⊆ K →
34
+ |(M s A).toReal-(M t A).toReal| < ε := by
35
+ intro t₀ ε hε
36
+ let ρ := ambientCompactRestriction ν K
37
+ let : IsFiniteMeasure ρ := ambientCompactRestriction_finite ν K hK
38
+ let : NullSingletonClass ρ := ambientCompactRestriction_nullSingletons ν K
39
+ obtain ⟨U,hUsub,hU,hρU⟩ := ({γ t₀} : Set ℂ).exists_isOpen_lt_of_lt (μ := ρ)
40
+ (ENNReal.ofReal ε) (by simpa using ENNReal.ofReal_pos.mpr hε)
41
+ let V : Set upperHalfPlane := (Subtype.val : upperHalfPlane → ℂ) ⁻¹' U
42
+ have hV : IsOpen V := hU.preimage continuous_subtype_val
43
+ have htU : γ t₀ ∈ U := hUsub (mem_singleton _)
44
+ obtain ⟨δ,hδ,hδsub⟩ := Metric.mem_nhds_iff.mp
45
+ (hγ.continuousAt.preimage_mem_nhds (hU.mem_nhds htU))
46
+ have hI (a b : ℝ) (ha : dist a t₀ < δ) (hb : dist b t₀ < δ) : γ '' Icc a b ⊆ U := by
47
+ rintro _ ⟨x,hx,rfl⟩
48
+ apply hδsub
49
+ rw [Metric.mem_ball,Real.dist_eq]
50
+ rw [Real.dist_eq,abs_lt] at ha hb
51
+ exact abs_lt.mpr ⟨lt_of_lt_of_le ha.1 (sub_le_sub_right hx.1 t₀),
52
+ lt_of_le_of_lt (sub_le_sub_right hx.2 t₀) hb.2⟩
53
+ have hq (p q : ℚ) (hp : dist (p:ℝ) t₀ < δ) (hq : dist (q:ℝ) t₀ < δ) :
54
+ μ p ≤ μ q+ν.restrict V := by
55
+ rcases le_total p q with hpq | hqp
56
+ · exact (H.monotone hpq).trans (Measure.le_add_right le_rfl)
57
+ · obtain ⟨η,hη,hην⟩ := H.increment q p hqp
58
+ rw [hη]
59
+ apply add_le_add le_rfl
60
+ exact hην.trans (Measure.restrict_mono
61
+ (show {z : upperHalfPlane | (z : ℂ) ∈ γ '' Icc (q:ℝ) p} ⊆ V
62
+ from fun z hz => hI q p hq hp hz) le_rfl)
63
+ have hreal (s t : ℝ) (hs : dist s t₀ < δ) (ht : dist t t₀ < δ) :
64
+ M s ≤ M t+ν.restrict V := by
65
+ let : (M s).Regular := hMr s
66
+ let : (M t).Regular := hMr t
67
+ let : (ν.restrict V).Regular := inferInstance
68
+ let : (M t+ν.restrict V).Regular := halfPlane_regular_add _ _
69
+ obtain ⟨p,hp⟩ := exists_rational_sequence_tendsto s
70
+ obtain ⟨q,hqt⟩ := exists_rational_sequence_tendsto t
71
+ have hpU : ∀ᶠ n in atTop, dist (p n:ℝ) t₀ < δ :=
72
+ hp.eventually (isOpen_lt (continuous_id.dist continuous_const) continuous_const |>.mem_nhds hs)
73
+ have hqU : ∀ᶠ n in atTop, dist (q n:ℝ) t₀ < δ :=
74
+ hqt.eventually (isOpen_lt (continuous_id.dist continuous_const) continuous_const |>.mem_nhds ht)
75
+ apply radon_measure_le_of_nonneg_tests
76
+ intro f hfn
77
+ have hplim : Tendsto (fun n => ∫ z, f z ∂μ (p n)) atTop (𝓝 (∫ z, f z ∂M s)) := by
78
+ simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hp
79
+ have hqlim : Tendsto (fun n => ∫ z, f z ∂(μ (q n)+ν.restrict V)) atTop
80
+ (𝓝 (∫ z, f z ∂(M t+ν.restrict V))) := by
81
+ have hi := ((hcont f).continuousAt.tendsto.comp hqt).add
82
+ (tendsto_const_nhds (x := ∫ z, f z ∂ν.restrict V))
83
+ simp only [Function.comp_def,hrat] at hi
84
+ have hqadd (n : ℕ) : (∫ z, f z ∂(μ (q n)+ν.restrict V)) =
85
+ (∫ z, f z ∂μ (q n))+(∫ z, f z ∂ν.restrict V) := by
86
+ let : (μ (q n)).Regular := H.regular (q n)
87
+ exact integral_add_measure f.integrable f.integrable
88
+ simpa only [hqadd,integral_add_measure f.integrable f.integrable] using hi
89
+ apply le_of_tendsto_of_tendsto hplim hqlim
90
+ filter_upwards [hpU,hqU] with n hpn hqn
91
+ let : (μ (q n)).Regular := H.regular (q n)
92
+ let : (μ (q n)+ν.restrict V).Regular := halfPlane_regular_add _ _
93
+ exact integral_mono_measure (hq (p n) (q n) hpn hqn) (ae_of_all _ hfn) f.integrable
94
+ refine ⟨δ,hδ,fun s t hs ht A hA hAK => ?_⟩
95
+ have hst := hreal s t hs ht A
96
+ have hts := hreal t s ht hs A
97
+ have hsn : M s A ≠ ⊤ := ((hdom s A).trans ((measure_mono hAK))).trans_lt hK.measure_lt_top |>.ne
98
+ have htn : M t A ≠ ⊤ := ((hdom t A).trans ((measure_mono hAK))).trans_lt hK.measure_lt_top |>.ne
99
+ have hUn : ρ U ≠ ⊤ := measure_ne_top ρ U
100
+ rw [Measure.add_apply,Measure.restrict_apply hA,inter_comm] at hst hts
101
+ have hUA : ν (V ∩ A) ≤ ρ U := by
102
+ change ν (V ∩ A) ≤ ambientCompactRestriction ν K U
103
+ rw [ambientCompactRestriction,Measure.map_apply measurable_subtype_coe hU.measurableSet]
104
+ change ν (V ∩ A) ≤ ν.restrict K V
105
+ rw [Measure.restrict_apply hV.measurableSet]
106
+ exact measure_mono (fun z hz => ⟨hz.1,hAK hz.2⟩)
107
+ have hcan : ν (V ∩ A) ≠ ⊤ := (hUA.trans_lt hUn.lt_top).ne
108
+ have hst' := ENNReal.toReal_mono (ENNReal.add_ne_top.mpr ⟨htn,hcan⟩) hst
109
+ have hts' := ENNReal.toReal_mono (ENNReal.add_ne_top.mpr ⟨hsn,hcan⟩) hts
110
+ rw [ENNReal.toReal_add htn hcan] at hst'
111
+ rw [ENNReal.toReal_add hsn hcan] at hts'
112
+ have hless : (ν (V ∩ A)).toReal < ε := by
113
+ have hUl : (ρ U).toReal < ε := by
114
+ simpa only [ENNReal.toReal_ofReal hε.le] using
115
+ (ENNReal.toReal_lt_toReal hUn ENNReal.ofReal_ne_top).mpr hρU
116
+ exact (ENNReal.toReal_mono hUn hUA).trans_lt hUl
117
+ exact abs_lt.mpr ⟨by linarith,by linarith⟩
118
+
119
+ theorem HalfPlaneTraceIncrements.exists_locally_tv_continuous_extension
120
+ {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
121
+ [NullSingletonClass ν] {γ : ℝ → ℂ}
122
+ (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ) :
123
+ ∃ M : ℝ → Measure upperHalfPlane, (∀ t, (M t).Regular) ∧ (∀ t, M t ≤ ν) ∧
124
+ (∀ q : ℚ, M q = μ q) ∧ Monotone M ∧
125
+ (∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t)) ∧
126
+ ∀ K : Set upperHalfPlane, IsCompact K →
127
+ ∀ t₀ : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
128
+ ∀ s t : ℝ, dist s t₀ < δ → dist t t₀ < δ →
129
+ ∀ A : Set upperHalfPlane, MeasurableSet A → A ⊆ K →
130
+ |(M s A).toReal-(M t A).toReal| < ε := by
131
+ obtain ⟨M,hMr,hdom,hrat,hcont,hmono⟩ := H.exists_continuous_extension hγ
132
+ exact ⟨M,hMr,hdom,hrat,hmono,hcont,
133
+ fun K hK => H.local_variation_continuity hγ M hMr hdom hrat hcont K hK⟩
134
+
135
+ end SLEExactGauge
136
+
137
+ end
138
+
139
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalTraceMassProgressiveVersion.lean CHANGED
@@ -1,111 +1,111 @@
1
- import OAI.Probability.SLE.Mass.RationalTraceMassAdaptedVersion
2
- import OAI.Probability.SLE.Mass.CanonicalRadonLimit
3
- import Mathlib.MeasureTheory.Function.Floor
4
- import Mathlib.Analysis.SpecificLimits.Basic
5
-
6
- namespace OAI
7
-
8
- /-! A single reconstruction from rational left samples is progressive in
9
- the uncompleted filtration and agrees at every time on the common good set. -/
10
-
11
- noncomputable section
12
- open Set Filter MeasureTheory Classical
13
- open scoped Topology NNReal ENNReal CompactlySupported
14
-
15
- namespace SLEExactGauge
16
-
17
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
18
-
19
- def leftRationalSample (n : ℕ) (t : ℝ≥0) : ℚ :=
20
- (⌊(t:ℝ)*((n:ℝ)+1)⌋₊ : ℚ)/((n:ℚ)+1)
21
-
22
- lemma leftRationalSample_nonneg (n : ℕ) (t : ℝ≥0) : 0 ≤ leftRationalSample n t := by
23
- unfold leftRationalSample
24
- positivity
25
-
26
- lemma leftRationalSample_le (n : ℕ) (t : ℝ≥0) : (leftRationalSample n t : ℝ) ≤ t := by
27
- unfold leftRationalSample
28
- push_cast
29
- apply (div_le_iff₀ (by positivity : 0 < (n:ℝ)+1)).mpr
30
- exact Nat.floor_le (mul_nonneg t.coe_nonneg (by positivity))
31
-
32
- lemma leftRationalSample_tendsto (t : ℝ≥0) :
33
- Tendsto (fun n => (leftRationalSample n t : ℝ)) atTop (𝓝 (t:ℝ)) := by
34
- have h := (tendsto_nat_floor_mul_div_atTop t.coe_nonneg).comp
35
- (tendsto_atTop_add_const_right atTop (1:ℝ) (tendsto_natCast_atTop_atTop (R := ℝ)))
36
- simpa only [leftRationalSample,Rat.cast_div,Rat.cast_natCast,Rat.cast_add,Rat.cast_one,
37
- Function.comp_def] using h
38
-
39
- lemma leftRationalSample_measurable (n : ℕ) : Measurable (leftRationalSample n) := by
40
- exact (measurable_of_countable (fun k : ℕ => (k:ℚ)/((n:ℚ)+1))).comp
41
- ((NNReal.continuous_coe.measurable.mul_const ((n:ℝ)+1)).nat_floor)
42
-
43
- def rationalRadonExtension {Ω : Type*} (μ : ℚ → Ω → Measure upperHalfPlane)
44
- (t : ℝ≥0) (ω : Ω) : Measure upperHalfPlane :=
45
- canonicalRadonLimit (fun n => μ (leftRationalSample n t) ω)
46
-
47
- theorem rationalRadonExtension_regular {Ω : Type*}
48
- (μ : ℚ → Ω → Measure upperHalfPlane) (t : ℝ≥0) (ω : Ω) :
49
- (rationalRadonExtension μ t ω).Regular ∧
50
- IsFiniteMeasureOnCompacts (rationalRadonExtension μ t ω) := by
51
- have h : (rationalRadonExtension μ t ω).Regular :=
52
- canonicalRadonLimit_regular (fun n => μ (leftRationalSample n t) ω)
53
- let := h
54
- exact ⟨h,inferInstance⟩
55
-
56
- theorem rationalRadonExtension_progressive
57
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
58
- (μ : ℚ → Ω → Measure upperHalfPlane)
59
- (hμr : ∀ q ω, (μ q ω).Regular)
60
- (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
61
- IsProgressive ℱ (rationalRadonExtension μ) := by
62
- classical
63
- intro T
64
- let : MeasurableSpace Ω := ℱ T
65
- have hm (n : ℕ) : Measurable (fun p : Iic T × Ω => μ (leftRationalSample n p.1) p.2) := by
66
- let ν (q : ℚ) (ω : Ω) := if 0 ≤ q ∧ (q:ℝ) ≤ T then μ q ω else 0
67
- have hνm (q : ℚ) : Measurable (ν q) := by
68
- by_cases hq : 0 ≤ q ∧ (q:ℝ) ≤ T
69
- · have hqt : (q:ℝ).toNNReal ≤ T := by
70
- simpa only [Real.toNNReal_coe] using Real.toNNReal_le_toNNReal hq.2
71
- simpa only [ν,ite_eq_left hq] using (hμm q hq.1).mono (ℱ.mono hqt) le_rfl
72
- · simpa only [ν,ite_eq_right hq] using (measurable_const : Measurable (fun _ : Ω => (0 : Measure upperHalfPlane)))
73
- have hv : Measurable (fun p : ℚ × Ω => ν p.1 p.2) :=
74
- measurable_from_prod_countable_right hνm
75
- have hq : Measurable (fun p : Iic T × Ω => (leftRationalSample n p.1,p.2)) :=
76
- ((leftRationalSample_measurable n).comp
77
- (measurable_subtype_coe.comp measurable_fst)).prodMk measurable_snd
78
- have h := hv.comp hq
79
- convert h using 1
80
- funext p
81
- dsimp only [Function.comp_def,ν]
82
- rw [ite_eq_left ⟨leftRationalSample_nonneg n p.1,
83
- (leftRationalSample_le n p.1).trans (NNReal.coe_le_coe.mpr p.1.property)⟩]
84
- apply canonicalRadonLimit_measurable (fun (n : ℕ) (p : Iic T × Ω) => μ (leftRationalSample n p.1) p.2)
85
- · intro n p
86
- let := hμr (leftRationalSample n p.1) p.2
87
- infer_instance
88
- · intro n f
89
- exact measurable_halfPlane_compact_test_integral _ (hm n)
90
- (fun p => hμr (leftRationalSample n p.1) p.2) f
91
-
92
- theorem rationalRadonExtension_common_version
93
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
94
- (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
95
- (hMr : ∀ t ω, (M t ω).Regular)
96
- (hcont : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t ω))
97
- (hrat : ∀ᵐ ω ∂P, ∀ q : ℚ, M q ω = μ q ω) :
98
- ∀ᵐ ω ∂P, ∀ t : ℝ≥0, rationalRadonExtension μ t ω = M t ω := by
99
- filter_upwards [hcont,hrat] with ω hc hr
100
- intro t
101
- apply canonicalRadonLimit_identified _ (M t ω)
102
- refine ⟨hMr t ω,?_⟩
103
- intro f
104
- simpa only [Function.comp_def,hr] using
105
- (hc f).continuousAt.tendsto.comp (leftRationalSample_tendsto t)
106
-
107
- end SLEExactGauge
108
-
109
- end
110
-
111
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RationalTraceMassAdaptedVersion
2
+ import OAI.Probability.SLE.Mass.CanonicalRadonLimit
3
+ import Mathlib.MeasureTheory.Function.Floor
4
+ import Mathlib.Analysis.SpecificLimits.Basic
5
+
6
+ namespace OAI
7
+
8
+ /-! A single reconstruction from rational left samples is progressive in
9
+ the uncompleted filtration and agrees at every time on the common good set. -/
10
+
11
+ noncomputable section
12
+ open Set Filter MeasureTheory Classical
13
+ open scoped Topology NNReal ENNReal CompactlySupported
14
+
15
+ namespace SLEExactGauge
16
+
17
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
18
+
19
+ def leftRationalSample (n : ℕ) (t : ℝ≥0) : ℚ :=
20
+ (⌊(t:ℝ)*((n:ℝ)+1)⌋₊ : ℚ)/((n:ℚ)+1)
21
+
22
+ lemma leftRationalSample_nonneg (n : ℕ) (t : ℝ≥0) : 0 ≤ leftRationalSample n t := by
23
+ unfold leftRationalSample
24
+ positivity
25
+
26
+ lemma leftRationalSample_le (n : ℕ) (t : ℝ≥0) : (leftRationalSample n t : ℝ) ≤ t := by
27
+ unfold leftRationalSample
28
+ push_cast
29
+ apply (div_le_iff₀ (by positivity : 0 < (n:ℝ)+1)).mpr
30
+ exact Nat.floor_le (mul_nonneg t.coe_nonneg (by positivity))
31
+
32
+ lemma leftRationalSample_tendsto (t : ℝ≥0) :
33
+ Tendsto (fun n => (leftRationalSample n t : ℝ)) atTop (𝓝 (t:ℝ)) := by
34
+ have h := (tendsto_nat_floor_mul_div_atTop t.coe_nonneg).comp
35
+ (tendsto_atTop_add_const_right atTop (1:ℝ) (tendsto_natCast_atTop_atTop (R := ℝ)))
36
+ simpa only [leftRationalSample,Rat.cast_div,Rat.cast_natCast,Rat.cast_add,Rat.cast_one,
37
+ Function.comp_def] using h
38
+
39
+ lemma leftRationalSample_measurable (n : ℕ) : Measurable (leftRationalSample n) := by
40
+ exact (measurable_of_countable (fun k : ℕ => (k:ℚ)/((n:ℚ)+1))).comp
41
+ ((NNReal.continuous_coe.measurable.mul_const ((n:ℝ)+1)).nat_floor)
42
+
43
+ def rationalRadonExtension {Ω : Type*} (μ : ℚ → Ω → Measure upperHalfPlane)
44
+ (t : ℝ≥0) (ω : Ω) : Measure upperHalfPlane :=
45
+ canonicalRadonLimit (fun n => μ (leftRationalSample n t) ω)
46
+
47
+ theorem rationalRadonExtension_regular {Ω : Type*}
48
+ (μ : ℚ → Ω → Measure upperHalfPlane) (t : ℝ≥0) (ω : Ω) :
49
+ (rationalRadonExtension μ t ω).Regular ∧
50
+ IsFiniteMeasureOnCompacts (rationalRadonExtension μ t ω) := by
51
+ have h : (rationalRadonExtension μ t ω).Regular :=
52
+ canonicalRadonLimit_regular (fun n => μ (leftRationalSample n t) ω)
53
+ let := h
54
+ exact ⟨h,inferInstance⟩
55
+
56
+ theorem rationalRadonExtension_progressive
57
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
58
+ (μ : ℚ → Ω → Measure upperHalfPlane)
59
+ (hμr : ∀ q ω, (μ q ω).Regular)
60
+ (hμm : ∀ q : ℚ, 0 ≤ q → Measurable[ℱ (q : ℝ).toNNReal] (μ q)) :
61
+ IsProgressive ℱ (rationalRadonExtension μ) := by
62
+ classical
63
+ intro T
64
+ let : MeasurableSpace Ω := ℱ T
65
+ have hm (n : ℕ) : Measurable (fun p : Iic T × Ω => μ (leftRationalSample n p.1) p.2) := by
66
+ let ν (q : ℚ) (ω : Ω) := if 0 ≤ q ∧ (q:ℝ) ≤ T then μ q ω else 0
67
+ have hνm (q : ℚ) : Measurable (ν q) := by
68
+ by_cases hq : 0 ≤ q ∧ (q:ℝ) ≤ T
69
+ · have hqt : (q:ℝ).toNNReal ≤ T := by
70
+ simpa only [Real.toNNReal_coe] using Real.toNNReal_le_toNNReal hq.2
71
+ simpa only [ν,ite_eq_left hq] using (hμm q hq.1).mono (ℱ.mono hqt) le_rfl
72
+ · simpa only [ν,ite_eq_right hq] using (measurable_const : Measurable (fun _ : Ω => (0 : Measure upperHalfPlane)))
73
+ have hv : Measurable (fun p : ℚ × Ω => ν p.1 p.2) :=
74
+ measurable_from_prod_countable_right hνm
75
+ have hq : Measurable (fun p : Iic T × Ω => (leftRationalSample n p.1,p.2)) :=
76
+ ((leftRationalSample_measurable n).comp
77
+ (measurable_subtype_coe.comp measurable_fst)).prodMk measurable_snd
78
+ have h := hv.comp hq
79
+ convert h using 1
80
+ funext p
81
+ dsimp only [Function.comp_def,ν]
82
+ rw [ite_eq_left ⟨leftRationalSample_nonneg n p.1,
83
+ (leftRationalSample_le n p.1).trans (NNReal.coe_le_coe.mpr p.1.property)⟩]
84
+ apply canonicalRadonLimit_measurable (fun (n : ℕ) (p : Iic T × Ω) => μ (leftRationalSample n p.1) p.2)
85
+ · intro n p
86
+ let := hμr (leftRationalSample n p.1) p.2
87
+ infer_instance
88
+ · intro n f
89
+ exact measurable_halfPlane_compact_test_integral _ (hm n)
90
+ (fun p => hμr (leftRationalSample n p.1) p.2) f
91
+
92
+ theorem rationalRadonExtension_common_version
93
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
94
+ (μ : ℚ → Ω → Measure upperHalfPlane) (M : ℝ → Ω → Measure upperHalfPlane)
95
+ (hMr : ∀ t ω, (M t ω).Regular)
96
+ (hcont : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂M t ω))
97
+ (hrat : ∀ᵐ ω ∂P, ∀ q : ℚ, M q ω = μ q ω) :
98
+ ∀ᵐ ω ∂P, ∀ t : ℝ≥0, rationalRadonExtension μ t ω = M t ω := by
99
+ filter_upwards [hcont,hrat] with ω hc hr
100
+ intro t
101
+ apply canonicalRadonLimit_identified _ (M t ω)
102
+ refine ⟨hMr t ω,?_⟩
103
+ intro f
104
+ simpa only [Function.comp_def,hr] using
105
+ (hc f).continuousAt.tendsto.comp (leftRationalSample_tendsto t)
106
+
107
+ end SLEExactGauge
108
+
109
+ end
110
+
111
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalTraceMassSupport.lean CHANGED
@@ -1,101 +1,101 @@
1
- import OAI.Probability.SLE.Mass.RationalTraceMassLocal
2
- import OAI.Probability.SLE.Mass.RadonTestLimitProperties
3
- import OAI.Probability.SLE.Mass.LocallyFiniteMeasureSubtract
4
-
5
- namespace OAI
6
-
7
- /-! The trace support of rational increments passes simultaneously to every
8
- real interval, using only monotonicity and continuity of the trace. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory Classical
12
- open scoped Topology ENNReal CompactlySupported
13
-
14
- namespace SLEExactGauge
15
-
16
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
17
-
18
- lemma exists_rational_trace_enclosure_avoiding
19
- (γ : ℝ → ℂ) (hγ : Continuous γ) {s t : ℝ} (hst : s ≤ t)
20
- (K : Set ℂ) (hK : IsClosed K) (hdis : Disjoint K (γ '' Icc s t)) :
21
- ∃ p q : ℚ, (p:ℝ) < s ∧ t < (q:ℝ) ∧ Disjoint K (γ '' Icc (p:ℝ) q) := by
22
- let U := γ ⁻¹' Kᶜ
23
- have hU : IsOpen U := hK.isOpen_compl.preimage hγ
24
- have hs : s ∈ U := by
25
- intro hs
26
- exact Set.disjoint_left.mp hdis hs ⟨s,⟨le_rfl,hst⟩,rfl⟩
27
- have ht : t ∈ U := by
28
- intro ht
29
- exact Set.disjoint_left.mp hdis ht ⟨t,⟨hst,le_rfl⟩,rfl⟩
30
- obtain ⟨ε,hε,hballε⟩ := Metric.isOpen_iff.mp hU s hs
31
- obtain ⟨δ,hδ,hballδ⟩ := Metric.isOpen_iff.mp hU t ht
32
- obtain ⟨p,hp,hps⟩ := exists_rat_btwn (show s-ε < s by linarith)
33
- obtain ⟨q,htq,hq⟩ := exists_rat_btwn (show t < t+δ by linarith)
34
- refine ⟨p,q,hps,htq,Set.disjoint_left.mpr ?_⟩
35
- rintro z hz ⟨r,hr,rfl⟩
36
- by_cases hrs : r < s
37
- · have hb : r ∈ Metric.ball s ε := by
38
- rw [Metric.mem_ball,Real.dist_eq,abs_of_neg (sub_neg.mpr hrs)]
39
- linarith [hr.1]
40
- exact hballε hb hz
41
- by_cases htr : t < r
42
- · have hb : r ∈ Metric.ball t δ := by
43
- rw [Metric.mem_ball,Real.dist_eq,abs_of_pos (sub_pos.mpr htr)]
44
- linarith [hr.2]
45
- exact hballδ hb hz
46
- exact Set.disjoint_left.mp hdis hz ⟨r,⟨le_of_not_gt hrs,le_of_not_gt htr⟩,rfl⟩
47
-
48
- theorem HalfPlaneTraceIncrements.extension_increment_carried
49
- {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
50
- {γ : ℝ → ℂ} (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ)
51
- (M : ℝ → Measure upperHalfPlane) (hMr : ∀ t, (M t).Regular)
52
- (hrat : ∀ q : ℚ, M q = μ q) (hmono : Monotone M)
53
- {s t : ℝ} (hst : s ≤ t) :
54
- (M t-M s) {z : upperHalfPlane | (z:ℂ) ∉ γ '' Icc s t} = 0 := by
55
- let η := M t-M s
56
- let : (M t).Regular := hMr t
57
- let : (M s).Regular := hMr s
58
- let : IsFiniteMeasureOnCompacts η :=
59
- ⟨fun K hK => lt_of_le_of_lt (Measure.sub_le K) hK.measure_lt_top⟩
60
- let : η.Regular := inferInstance
61
- let S : Set upperHalfPlane := {z | (z:ℂ) ∈ γ '' Icc s t}
62
- apply radon_limit_carried_by_closed (fun _ => η) η (fun _ => tendsto_const_nhds) S
63
- (((isCompact_Icc.image hγ).isClosed).preimage continuous_subtype_val)
64
- intro f hf
65
- let K := (Subtype.val : upperHalfPlane → ℂ) '' tsupport f
66
- have hK : IsCompact K := f.hasCompactSupport.image continuous_subtype_val
67
- have hdis : Disjoint K (γ '' Icc s t) := by
68
- apply Set.disjoint_left.mpr
69
- rintro _ ⟨z,hz,rfl⟩ hs
70
- exact hf hz hs
71
- obtain ⟨p,q,hps,htq,havoid⟩ := exists_rational_trace_enclosure_avoiding γ hγ hst K hK.isClosed hdis
72
- have hpq : p ≤ q := Rat.cast_le.mp (hps.le.trans (hst.trans htq.le))
73
- obtain ⟨ξ,hξ,hξle⟩ := H.increment p q hpq
74
- have hηξ : η ≤ ξ := by
75
- apply Measure.sub_le_of_le_add
76
- calc
77
- M t ≤ M q := hmono htq.le
78
- _ = μ q := hrat q
79
- _ = μ p+ξ := hξ
80
- _ = ξ+M p := by rw [hrat p,add_comm]
81
- _ ≤ ξ+M s := add_le_add le_rfl (hmono hps.le)
82
- have hzero : η (tsupport f) = 0 := by
83
- apply le_zero_iff.mp
84
- apply ((hηξ _).trans (hξle _)).trans_eq
85
- rw [Measure.restrict_apply f.hasCompactSupport.measurableSet]
86
- have hempty : tsupport f ∩ {z : upperHalfPlane | (z:ℂ) ∈ γ '' Icc (p:ℝ) q} = ∅ := by
87
- apply Set.eq_empty_iff_forall_notMem.mpr
88
- intro z hz
89
- exact Set.disjoint_left.mp havoid ⟨z,hz.1,rfl⟩ hz.2
90
- rw [hempty,measure_empty]
91
- apply Eventually.of_forall
92
- intro _
93
- apply integral_eq_zero_of_ae
94
- filter_upwards [measure_eq_zero_iff_ae_notMem.mp hzero] with z hz
95
- exact image_eq_zero_of_notMem_tsupport hz
96
-
97
- end SLEExactGauge
98
-
99
- end
100
-
101
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RationalTraceMassLocal
2
+ import OAI.Probability.SLE.Mass.RadonTestLimitProperties
3
+ import OAI.Probability.SLE.Mass.LocallyFiniteMeasureSubtract
4
+
5
+ namespace OAI
6
+
7
+ /-! The trace support of rational increments passes simultaneously to every
8
+ real interval, using only monotonicity and continuity of the trace. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory Classical
12
+ open scoped Topology ENNReal CompactlySupported
13
+
14
+ namespace SLEExactGauge
15
+
16
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
17
+
18
+ lemma exists_rational_trace_enclosure_avoiding
19
+ (γ : ℝ → ℂ) (hγ : Continuous γ) {s t : ℝ} (hst : s ≤ t)
20
+ (K : Set ℂ) (hK : IsClosed K) (hdis : Disjoint K (γ '' Icc s t)) :
21
+ ∃ p q : ℚ, (p:ℝ) < s ∧ t < (q:ℝ) ∧ Disjoint K (γ '' Icc (p:ℝ) q) := by
22
+ let U := γ ⁻¹' Kᶜ
23
+ have hU : IsOpen U := hK.isOpen_compl.preimage hγ
24
+ have hs : s ∈ U := by
25
+ intro hs
26
+ exact Set.disjoint_left.mp hdis hs ⟨s,⟨le_rfl,hst⟩,rfl⟩
27
+ have ht : t ∈ U := by
28
+ intro ht
29
+ exact Set.disjoint_left.mp hdis ht ⟨t,⟨hst,le_rfl⟩,rfl⟩
30
+ obtain ⟨ε,hε,hballε⟩ := Metric.isOpen_iff.mp hU s hs
31
+ obtain ⟨δ,hδ,hballδ⟩ := Metric.isOpen_iff.mp hU t ht
32
+ obtain ⟨p,hp,hps⟩ := exists_rat_btwn (show s-ε < s by linarith)
33
+ obtain ⟨q,htq,hq⟩ := exists_rat_btwn (show t < t+δ by linarith)
34
+ refine ⟨p,q,hps,htq,Set.disjoint_left.mpr ?_⟩
35
+ rintro z hz ⟨r,hr,rfl⟩
36
+ by_cases hrs : r < s
37
+ · have hb : r ∈ Metric.ball s ε := by
38
+ rw [Metric.mem_ball,Real.dist_eq,abs_of_neg (sub_neg.mpr hrs)]
39
+ linarith [hr.1]
40
+ exact hballε hb hz
41
+ by_cases htr : t < r
42
+ · have hb : r ∈ Metric.ball t δ := by
43
+ rw [Metric.mem_ball,Real.dist_eq,abs_of_pos (sub_pos.mpr htr)]
44
+ linarith [hr.2]
45
+ exact hballδ hb hz
46
+ exact Set.disjoint_left.mp hdis hz ⟨r,⟨le_of_not_gt hrs,le_of_not_gt htr⟩,rfl⟩
47
+
48
+ theorem HalfPlaneTraceIncrements.extension_increment_carried
49
+ {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane} [ν.Regular]
50
+ {γ : ℝ → ℂ} (H : HalfPlaneTraceIncrements μ ν γ) (hγ : Continuous γ)
51
+ (M : ℝ → Measure upperHalfPlane) (hMr : ∀ t, (M t).Regular)
52
+ (hrat : ∀ q : ℚ, M q = μ q) (hmono : Monotone M)
53
+ {s t : ℝ} (hst : s ≤ t) :
54
+ (M t-M s) {z : upperHalfPlane | (z:ℂ) ∉ γ '' Icc s t} = 0 := by
55
+ let η := M t-M s
56
+ let : (M t).Regular := hMr t
57
+ let : (M s).Regular := hMr s
58
+ let : IsFiniteMeasureOnCompacts η :=
59
+ ⟨fun K hK => lt_of_le_of_lt (Measure.sub_le K) hK.measure_lt_top⟩
60
+ let : η.Regular := inferInstance
61
+ let S : Set upperHalfPlane := {z | (z:ℂ) ∈ γ '' Icc s t}
62
+ apply radon_limit_carried_by_closed (fun _ => η) η (fun _ => tendsto_const_nhds) S
63
+ (((isCompact_Icc.image hγ).isClosed).preimage continuous_subtype_val)
64
+ intro f hf
65
+ let K := (Subtype.val : upperHalfPlane → ℂ) '' tsupport f
66
+ have hK : IsCompact K := f.hasCompactSupport.image continuous_subtype_val
67
+ have hdis : Disjoint K (γ '' Icc s t) := by
68
+ apply Set.disjoint_left.mpr
69
+ rintro _ ⟨z,hz,rfl⟩ hs
70
+ exact hf hz hs
71
+ obtain ⟨p,q,hps,htq,havoid⟩ := exists_rational_trace_enclosure_avoiding γ hγ hst K hK.isClosed hdis
72
+ have hpq : p ≤ q := Rat.cast_le.mp (hps.le.trans (hst.trans htq.le))
73
+ obtain ⟨ξ,hξ,hξle⟩ := H.increment p q hpq
74
+ have hηξ : η ≤ ξ := by
75
+ apply Measure.sub_le_of_le_add
76
+ calc
77
+ M t ≤ M q := hmono htq.le
78
+ _ = μ q := hrat q
79
+ _ = μ p+ξ := hξ
80
+ _ = ξ+M p := by rw [hrat p,add_comm]
81
+ _ ≤ ξ+M s := add_le_add le_rfl (hmono hps.le)
82
+ have hzero : η (tsupport f) = 0 := by
83
+ apply le_zero_iff.mp
84
+ apply ((hηξ _).trans (hξle _)).trans_eq
85
+ rw [Measure.restrict_apply f.hasCompactSupport.measurableSet]
86
+ have hempty : tsupport f ∩ {z : upperHalfPlane | (z:ℂ) ∈ γ '' Icc (p:ℝ) q} = ∅ := by
87
+ apply Set.eq_empty_iff_forall_notMem.mpr
88
+ intro z hz
89
+ exact Set.disjoint_left.mp havoid ⟨z,hz.1,rfl⟩ hz.2
90
+ rw [hempty,measure_empty]
91
+ apply Eventually.of_forall
92
+ intro _
93
+ apply integral_eq_zero_of_ae
94
+ filter_upwards [measure_eq_zero_iff_ae_notMem.mp hzero] with z hz
95
+ exact image_eq_zero_of_notMem_tsupport hz
96
+
97
+ end SLEExactGauge
98
+
99
+ end
100
+
101
+ end OAI
lean/OAI/Probability/SLE/Mass/RationalTraceMassVariation.lean CHANGED
@@ -1,118 +1,118 @@
1
- import OAI.Probability.SLE.Mass.RationalTraceMass
2
-
3
- namespace OAI
4
-
5
- /-! Uniform local total-variation control for the all-time extension. -/
6
-
7
- noncomputable section
8
- open Set Filter MeasureTheory
9
- open scoped Topology ENNReal CompactlySupported
10
-
11
- namespace SLEExactGauge
12
-
13
- variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
14
- [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
15
-
16
- /-- Local total variation is expressed uniformly on measurable sets. The
17
- finite-terminal form applies to each compact restriction in the source. -/
18
- theorem RationalTraceIncrements.local_variation_continuity
19
- {μ : ℚ → Measure X} {ν : Measure X} [ν.Regular] [IsFiniteMeasure ν]
20
- [NullSingletonClass ν] {γ : ℝ → X} (H : RationalTraceIncrements μ ν γ)
21
- (hγ : Continuous γ) (M : ℝ → Measure X)
22
- (hMr : ∀ t, (M t).Regular) (hdom : ∀ t, M t ≤ ν)
23
- (hrat : ∀ q : ℚ, M q=μ q)
24
- (hcont : ∀ f : C_c(X,ℝ), Continuous (fun t => ∫ x, f x ∂M t)) :
25
- ∀ t₀ : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
26
- ∀ s t : ℝ, dist s t₀ < δ → dist t t₀ < δ →
27
- ∀ A : Set X, MeasurableSet A → |(M s A).toReal-(M t A).toReal| < ε := by
28
- intro t₀ ε hε
29
- obtain ⟨U,hUsub,hU,hνU⟩ := ({γ t₀} : Set X).exists_isOpen_lt_of_lt (μ := ν)
30
- (ENNReal.ofReal ε) (by simpa using ENNReal.ofReal_pos.mpr hε)
31
- have htU : γ t₀ ∈ U := hUsub (mem_singleton _)
32
- obtain ⟨δ,hδ,hδsub⟩ := Metric.mem_nhds_iff.mp
33
- (hγ.continuousAt.preimage_mem_nhds (hU.mem_nhds htU))
34
- have hI (a b : ℝ) (ha : dist a t₀ < δ) (hb : dist b t₀ < δ) : γ '' Icc a b ⊆ U := by
35
- rintro _ ⟨x,hx,rfl⟩
36
- apply hδsub
37
- rw [Metric.mem_ball,Real.dist_eq]
38
- rw [Real.dist_eq,abs_lt] at ha hb
39
- exact abs_lt.mpr ⟨lt_of_lt_of_le ha.1 (sub_le_sub_right hx.1 t₀),
40
- lt_of_le_of_lt (sub_le_sub_right hx.2 t₀) hb.2⟩
41
- have hq (p q : ℚ) (hp : dist (p:ℝ) t₀ < δ) (hq : dist (q:ℝ) t₀ < δ) :
42
- μ p ≤ μ q+ν.restrict U := by
43
- rcases le_total p q with hpq | hqp
44
- · exact (H.monotone hpq).trans (Measure.le_add_right le_rfl)
45
- · obtain ⟨η,hη,hην⟩ := H.increment q p hqp
46
- rw [hη]
47
- exact add_le_add le_rfl (hην.trans (Measure.restrict_mono (hI q p hq hp) le_rfl))
48
- have hreal (s t : ℝ) (hs : dist s t₀ < δ) (ht : dist t t₀ < δ) :
49
- M s ≤ M t+ν.restrict U := by
50
- let : (M s).Regular := hMr s
51
- let : (M t).Regular := hMr t
52
- let : IsFiniteMeasure (M t) := isFiniteMeasure_of_le ν (hdom t)
53
- let : (ν.restrict U).Regular := Measure.Regular.restrict_of_measure_ne_top (measure_ne_top ν U)
54
- obtain ⟨p,hp⟩ := exists_rational_sequence_tendsto s
55
- obtain ⟨q,hqt⟩ := exists_rational_sequence_tendsto t
56
- have hpU : ∀ᶠ n in atTop, dist (p n:ℝ) t₀ < δ :=
57
- hp.eventually (isOpen_lt (continuous_id.dist continuous_const) continuous_const |>.mem_nhds hs)
58
- have hqU : ∀ᶠ n in atTop, dist (q n:ℝ) t₀ < δ :=
59
- hqt.eventually (isOpen_lt (continuous_id.dist continuous_const) continuous_const |>.mem_nhds ht)
60
- apply radon_measure_le_of_nonneg_tests
61
- intro f hfn
62
- have hplim : Tendsto (fun n => ∫ x, f x ∂μ (p n)) atTop (𝓝 (∫ x, f x ∂M s)) := by
63
- simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hp
64
- have hqlim : Tendsto (fun n => ∫ x, f x ∂(μ (q n)+ν.restrict U)) atTop
65
- (𝓝 (∫ x, f x ∂(M t+ν.restrict U))) := by
66
- have hi := ((hcont f).continuousAt.tendsto.comp hqt).add
67
- (tendsto_const_nhds (x := ∫ x, f x ∂ν.restrict U))
68
- simp only [Function.comp_def,hrat] at hi
69
- have hqadd (n : ℕ) : (∫ x, f x ∂(μ (q n)+ν.restrict U))=
70
- (∫ x, f x ∂μ (q n))+(∫ x, f x ∂ν.restrict U) := by
71
- let : (μ (q n)).Regular := H.regular (q n)
72
- exact integral_add_measure f.integrable f.integrable
73
- simpa only [hqadd,integral_add_measure f.integrable f.integrable] using hi
74
- apply le_of_tendsto_of_tendsto hplim hqlim
75
- filter_upwards [hpU,hqU] with n hpn hqn
76
- let : (μ (q n)).Regular := H.regular (q n)
77
- let : IsFiniteMeasure (μ (q n)) := isFiniteMeasure_of_le ν (H.dominated (q n))
78
- exact integral_mono_measure (hq (p n) (q n) hpn hqn) (ae_of_all _ hfn) f.integrable
79
- refine ⟨δ,hδ,fun s t hs ht A hA => ?_⟩
80
- have hst := hreal s t hs ht A
81
- have hts := hreal t s ht hs A
82
- have hsn : M s A ≠ ⊤ := ((hdom s A).trans_lt (measure_lt_top ν A)).ne
83
- have htn : M t A ≠ ⊤ := ((hdom t A).trans_lt (measure_lt_top ν A)).ne
84
- have hUn : ν U ≠ ⊤ := measure_ne_top ν U
85
- rw [Measure.add_apply,Measure.restrict_apply hA,inter_comm] at hst hts
86
- have hUA : ν (U ∩ A) ≤ ν U := measure_mono inter_subset_left
87
- have hcan : ν (U ∩ A) ≠ ⊤ := (hUA.trans_lt hUn.lt_top).ne
88
- have hst' := ENNReal.toReal_mono (ENNReal.add_ne_top.mpr ⟨htn,hcan⟩) hst
89
- have hts' := ENNReal.toReal_mono (ENNReal.add_ne_top.mpr ⟨hsn,hcan⟩) hts
90
- rw [ENNReal.toReal_add htn hcan] at hst'
91
- rw [ENNReal.toReal_add hsn hcan] at hts'
92
- have hless : (ν (U ∩ A)).toReal < ε := by
93
- have hUl : (ν U).toReal < ε := by
94
- simpa only [ENNReal.toReal_ofReal hε.le] using
95
- (ENNReal.toReal_lt_toReal hUn ENNReal.ofReal_ne_top).mpr hνU
96
- exact (ENNReal.toReal_mono hUn hUA).trans_lt hUl
97
- exact abs_lt.mpr ⟨by linarith,by linarith⟩
98
-
99
- /-- The pathwise rational squeeze gives one increasing extension with
100
- local total-variation continuity. -/
101
- theorem RationalTraceIncrements.exists_locally_tv_continuous_extension
102
- {μ : ℚ → Measure X} {ν : Measure X} [ν.Regular] [IsFiniteMeasure ν]
103
- [NullSingletonClass ν] {γ : ℝ → X} (H : RationalTraceIncrements μ ν γ)
104
- (hγ : Continuous γ) :
105
- ∃ M : ℝ → Measure X, (∀ t, (M t).Regular) ∧ (∀ t, M t ≤ ν) ∧
106
- (∀ q : ℚ, M q=μ q) ∧ Monotone M ∧
107
- (∀ f : C_c(X,ℝ), Continuous (fun t => ∫ x, f x ∂M t)) ∧
108
- ∀ t₀ : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
109
- ∀ s t : ℝ, dist s t₀ < δ → dist t t₀ < δ →
110
- ∀ A : Set X, MeasurableSet A → |(M s A).toReal-(M t A).toReal| < ε := by
111
- obtain ⟨M,hMr,hdom,hrat,hcont,hmono⟩ := H.exists_continuous_extension hγ
112
- exact ⟨M,hMr,hdom,hrat,hmono,hcont,H.local_variation_continuity hγ M hMr hdom hrat hcont⟩
113
-
114
- end SLEExactGauge
115
-
116
- end
117
-
118
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RationalTraceMass
2
+
3
+ namespace OAI
4
+
5
+ /-! Uniform local total-variation control for the all-time extension. -/
6
+
7
+ noncomputable section
8
+ open Set Filter MeasureTheory
9
+ open scoped Topology ENNReal CompactlySupported
10
+
11
+ namespace SLEExactGauge
12
+
13
+ variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
14
+ [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
15
+
16
+ /-- Local total variation is expressed uniformly on measurable sets. The
17
+ finite-terminal form applies to each compact restriction in the source. -/
18
+ theorem RationalTraceIncrements.local_variation_continuity
19
+ {μ : ℚ → Measure X} {ν : Measure X} [ν.Regular] [IsFiniteMeasure ν]
20
+ [NullSingletonClass ν] {γ : ℝ → X} (H : RationalTraceIncrements μ ν γ)
21
+ (hγ : Continuous γ) (M : ℝ → Measure X)
22
+ (hMr : ∀ t, (M t).Regular) (hdom : ∀ t, M t ≤ ν)
23
+ (hrat : ∀ q : ℚ, M q=μ q)
24
+ (hcont : ∀ f : C_c(X,ℝ), Continuous (fun t => ∫ x, f x ∂M t)) :
25
+ ∀ t₀ : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
26
+ ∀ s t : ℝ, dist s t₀ < δ → dist t t₀ < δ →
27
+ ∀ A : Set X, MeasurableSet A → |(M s A).toReal-(M t A).toReal| < ε := by
28
+ intro t₀ ε hε
29
+ obtain ⟨U,hUsub,hU,hνU⟩ := ({γ t₀} : Set X).exists_isOpen_lt_of_lt (μ := ν)
30
+ (ENNReal.ofReal ε) (by simpa using ENNReal.ofReal_pos.mpr hε)
31
+ have htU : γ t₀ ∈ U := hUsub (mem_singleton _)
32
+ obtain ⟨δ,hδ,hδsub⟩ := Metric.mem_nhds_iff.mp
33
+ (hγ.continuousAt.preimage_mem_nhds (hU.mem_nhds htU))
34
+ have hI (a b : ℝ) (ha : dist a t₀ < δ) (hb : dist b t₀ < δ) : γ '' Icc a b ⊆ U := by
35
+ rintro _ ⟨x,hx,rfl⟩
36
+ apply hδsub
37
+ rw [Metric.mem_ball,Real.dist_eq]
38
+ rw [Real.dist_eq,abs_lt] at ha hb
39
+ exact abs_lt.mpr ⟨lt_of_lt_of_le ha.1 (sub_le_sub_right hx.1 t₀),
40
+ lt_of_le_of_lt (sub_le_sub_right hx.2 t₀) hb.2⟩
41
+ have hq (p q : ℚ) (hp : dist (p:ℝ) t₀ < δ) (hq : dist (q:ℝ) t₀ < δ) :
42
+ μ p ≤ μ q+ν.restrict U := by
43
+ rcases le_total p q with hpq | hqp
44
+ · exact (H.monotone hpq).trans (Measure.le_add_right le_rfl)
45
+ · obtain ⟨η,hη,hην⟩ := H.increment q p hqp
46
+ rw [hη]
47
+ exact add_le_add le_rfl (hην.trans (Measure.restrict_mono (hI q p hq hp) le_rfl))
48
+ have hreal (s t : ℝ) (hs : dist s t₀ < δ) (ht : dist t t₀ < δ) :
49
+ M s ≤ M t+ν.restrict U := by
50
+ let : (M s).Regular := hMr s
51
+ let : (M t).Regular := hMr t
52
+ let : IsFiniteMeasure (M t) := isFiniteMeasure_of_le ν (hdom t)
53
+ let : (ν.restrict U).Regular := Measure.Regular.restrict_of_measure_ne_top (measure_ne_top ν U)
54
+ obtain ⟨p,hp⟩ := exists_rational_sequence_tendsto s
55
+ obtain ⟨q,hqt⟩ := exists_rational_sequence_tendsto t
56
+ have hpU : ∀ᶠ n in atTop, dist (p n:ℝ) t₀ < δ :=
57
+ hp.eventually (isOpen_lt (continuous_id.dist continuous_const) continuous_const |>.mem_nhds hs)
58
+ have hqU : ∀ᶠ n in atTop, dist (q n:ℝ) t₀ < δ :=
59
+ hqt.eventually (isOpen_lt (continuous_id.dist continuous_const) continuous_const |>.mem_nhds ht)
60
+ apply radon_measure_le_of_nonneg_tests
61
+ intro f hfn
62
+ have hplim : Tendsto (fun n => ∫ x, f x ∂μ (p n)) atTop (𝓝 (∫ x, f x ∂M s)) := by
63
+ simpa only [Function.comp_def,hrat] using (hcont f).continuousAt.tendsto.comp hp
64
+ have hqlim : Tendsto (fun n => ∫ x, f x ∂(μ (q n)+ν.restrict U)) atTop
65
+ (𝓝 (∫ x, f x ∂(M t+ν.restrict U))) := by
66
+ have hi := ((hcont f).continuousAt.tendsto.comp hqt).add
67
+ (tendsto_const_nhds (x := ∫ x, f x ∂ν.restrict U))
68
+ simp only [Function.comp_def,hrat] at hi
69
+ have hqadd (n : ℕ) : (∫ x, f x ∂(μ (q n)+ν.restrict U))=
70
+ (∫ x, f x ∂μ (q n))+(∫ x, f x ∂ν.restrict U) := by
71
+ let : (μ (q n)).Regular := H.regular (q n)
72
+ exact integral_add_measure f.integrable f.integrable
73
+ simpa only [hqadd,integral_add_measure f.integrable f.integrable] using hi
74
+ apply le_of_tendsto_of_tendsto hplim hqlim
75
+ filter_upwards [hpU,hqU] with n hpn hqn
76
+ let : (μ (q n)).Regular := H.regular (q n)
77
+ let : IsFiniteMeasure (μ (q n)) := isFiniteMeasure_of_le ν (H.dominated (q n))
78
+ exact integral_mono_measure (hq (p n) (q n) hpn hqn) (ae_of_all _ hfn) f.integrable
79
+ refine ⟨δ,hδ,fun s t hs ht A hA => ?_⟩
80
+ have hst := hreal s t hs ht A
81
+ have hts := hreal t s ht hs A
82
+ have hsn : M s A ≠ ⊤ := ((hdom s A).trans_lt (measure_lt_top ν A)).ne
83
+ have htn : M t A ≠ ⊤ := ((hdom t A).trans_lt (measure_lt_top ν A)).ne
84
+ have hUn : ν U ≠ ⊤ := measure_ne_top ν U
85
+ rw [Measure.add_apply,Measure.restrict_apply hA,inter_comm] at hst hts
86
+ have hUA : ν (U ∩ A) ≤ ν U := measure_mono inter_subset_left
87
+ have hcan : ν (U ∩ A) ≠ ⊤ := (hUA.trans_lt hUn.lt_top).ne
88
+ have hst' := ENNReal.toReal_mono (ENNReal.add_ne_top.mpr ⟨htn,hcan⟩) hst
89
+ have hts' := ENNReal.toReal_mono (ENNReal.add_ne_top.mpr ⟨hsn,hcan⟩) hts
90
+ rw [ENNReal.toReal_add htn hcan] at hst'
91
+ rw [ENNReal.toReal_add hsn hcan] at hts'
92
+ have hless : (ν (U ∩ A)).toReal < ε := by
93
+ have hUl : (ν U).toReal < ε := by
94
+ simpa only [ENNReal.toReal_ofReal hε.le] using
95
+ (ENNReal.toReal_lt_toReal hUn ENNReal.ofReal_ne_top).mpr hνU
96
+ exact (ENNReal.toReal_mono hUn hUA).trans_lt hUl
97
+ exact abs_lt.mpr ⟨by linarith,by linarith⟩
98
+
99
+ /-- The pathwise rational squeeze gives one increasing extension with
100
+ local total-variation continuity. -/
101
+ theorem RationalTraceIncrements.exists_locally_tv_continuous_extension
102
+ {μ : ℚ → Measure X} {ν : Measure X} [ν.Regular] [IsFiniteMeasure ν]
103
+ [NullSingletonClass ν] {γ : ℝ → X} (H : RationalTraceIncrements μ ν γ)
104
+ (hγ : Continuous γ) :
105
+ ∃ M : ℝ → Measure X, (∀ t, (M t).Regular) ∧ (∀ t, M t ≤ ν) ∧
106
+ (∀ q : ℚ, M q=μ q) ∧ Monotone M ∧
107
+ (∀ f : C_c(X,ℝ), Continuous (fun t => ∫ x, f x ∂M t)) ∧
108
+ ∀ t₀ : ℝ, ∀ ε : ℝ, 0 < ε → ∃ δ : ℝ, 0 < δ ∧
109
+ ∀ s t : ℝ, dist s t₀ < δ → dist t t₀ < δ →
110
+ ∀ A : Set X, MeasurableSet A → |(M s A).toReal-(M t A).toReal| < ε := by
111
+ obtain ⟨M,hMr,hdom,hrat,hcont,hmono⟩ := H.exists_continuous_extension hγ
112
+ exact ⟨M,hMr,hdom,hrat,hmono,hcont,H.local_variation_continuity hγ M hMr hdom hrat hcont⟩
113
+
114
+ end SLEExactGauge
115
+
116
+ end
117
+
118
+ end OAI
lean/OAI/Probability/SLE/Mass/RawMassFunctional.lean CHANGED
@@ -1,74 +1,74 @@
1
- import OAI.Probability.SLE.Stochastic.DriverPastFactorization
2
- import OAI.Probability.SLE.Mass.RationalTraceMassProgressiveVersion
3
-
4
- namespace OAI
5
-
6
- /-! A fixed raw, nonanticipating mass functional on continuous driver paths.
7
- Each rational slice is first factored through the stopped driver, and the
8
- single rational reconstruction is progressive on the full path space. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory
12
- open scoped Topology NNReal CompactlySupported
13
-
14
- namespace SLEExactGauge
15
-
16
- local instance rawMassDriverMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
- local instance rawMassDriverBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
19
-
20
- lemma raw_rational_reconstruction_depends_on_past
21
- (F : ℚ → C(ℝ≥0,ℝ) → Measure upperHalfPlane)
22
- (t : ℝ≥0) (p q : C(ℝ≥0,ℝ)) (hpq : ∀ s ≤ t, p s=q s) :
23
- rationalRadonExtension (fun r p => F r (driverPathStopped (r:ℝ).toNNReal p)) t p =
24
- rationalRadonExtension (fun r p => F r (driverPathStopped (r:ℝ).toNNReal p)) t q := by
25
- unfold rationalRadonExtension
26
- apply congrArg canonicalRadonLimit
27
- funext n
28
- apply congrArg (F (leftRationalSample n t))
29
- exact driverPathStopped_eq_of_agree t _ (by
30
- simpa only [Real.toNNReal_coe] using
31
- Real.toNNReal_le_toNNReal (leftRationalSample_le n t)) p q hpq
32
-
33
- theorem exists_raw_progressive_radon_factor
34
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
35
- (B : ℝ≥0 → Ω → ℝ) (hm : ∀ t, Measurable (B t))
36
- (hc : ∀ ω, Continuous (fun t => B t ω))
37
- (N : ℝ≥0 → Ω → Measure upperHalfPlane)
38
- (hNm : Adapted (Filtration.natural B (fun t => (hm t).stronglyMeasurable)) N)
39
- (hNr : ∀ t ω, (N t ω).Regular)
40
- (hNc : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂N t ω)) :
41
- ∃ R : ℝ≥0 → C(ℝ≥0,ℝ) → Measure upperHalfPlane,
42
- IsProgressive driverPathFiltration R ∧
43
- (∀ t p, (R t p).Regular ∧ IsFiniteMeasureOnCompacts (R t p)) ∧
44
- (∀ t p q, (∀ s ≤ t, p s=q s) → R t p=R t q) ∧
45
- ∀ᵐ ω ∂P, ∀ t, R t (sourceDriverPath B hc ω) = N t ω := by
46
- choose F hFm hFr hFe using fun q : ℚ => exists_stopped_driver_radon_factor B hm hc
47
- (q:ℝ).toNNReal (N (q:ℝ).toNNReal) (hNr _) (hNm _)
48
- let μ (q : ℚ) (p : C(ℝ≥0,ℝ)) := F q (driverPathStopped (q:ℝ).toNNReal p)
49
- have hμr (q : ℚ) (p : C(ℝ≥0,ℝ)) : (μ q p).Regular := hFr q _
50
- have hμm (q : ℚ) (_hq : 0 ≤ q) :
51
- Measurable[driverPathFiltration (q:ℝ).toNNReal] (μ q) :=
52
- (hFm q).comp (driverPathStopped_measurable_past (q:ℝ).toNNReal)
53
- refine ⟨rationalRadonExtension μ,rationalRadonExtension_progressive
54
- driverPathFiltration μ hμr hμm,rationalRadonExtension_regular μ,
55
- raw_rational_reconstruction_depends_on_past F,?_⟩
56
- let μ' (q : ℚ) (ω : Ω) := μ q (sourceDriverPath B hc ω)
57
- have hcont : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
58
- Continuous (fun t : ℝ => ∫ z, f z ∂N t.toNNReal ω) := by
59
- filter_upwards [hNc] with ω hω
60
- intro f
61
- exact (hω f).comp continuous_real_toNNReal
62
- have heq : ∀ᵐ ω ∂P, ∀ q : ℚ, N (q:ℝ).toNNReal ω = μ' q ω :=
63
- ae_of_all _ (fun ω q => (hFe q ω).symm)
64
- have he := rationalRadonExtension_common_version P μ' (fun t ω => N t.toNNReal ω)
65
- (fun t ω => hNr t.toNNReal ω) hcont heq
66
- filter_upwards [he] with ω hω
67
- intro t
68
- simpa only [rationalRadonExtension,μ',Real.toNNReal_coe] using hω t
69
-
70
- end SLEExactGauge
71
-
72
- end
73
-
74
- end OAI
 
1
+ import OAI.Probability.SLE.Stochastic.DriverPastFactorization
2
+ import OAI.Probability.SLE.Mass.RationalTraceMassProgressiveVersion
3
+
4
+ namespace OAI
5
+
6
+ /-! A fixed raw, nonanticipating mass functional on continuous driver paths.
7
+ Each rational slice is first factored through the stopped driver, and the
8
+ single rational reconstruction is progressive on the full path space. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory
12
+ open scoped Topology NNReal CompactlySupported
13
+
14
+ namespace SLEExactGauge
15
+
16
+ local instance rawMassDriverMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
+ local instance rawMassDriverBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
19
+
20
+ lemma raw_rational_reconstruction_depends_on_past
21
+ (F : ℚ → C(ℝ≥0,ℝ) → Measure upperHalfPlane)
22
+ (t : ℝ≥0) (p q : C(ℝ≥0,ℝ)) (hpq : ∀ s ≤ t, p s=q s) :
23
+ rationalRadonExtension (fun r p => F r (driverPathStopped (r:ℝ).toNNReal p)) t p =
24
+ rationalRadonExtension (fun r p => F r (driverPathStopped (r:ℝ).toNNReal p)) t q := by
25
+ unfold rationalRadonExtension
26
+ apply congrArg canonicalRadonLimit
27
+ funext n
28
+ apply congrArg (F (leftRationalSample n t))
29
+ exact driverPathStopped_eq_of_agree t _ (by
30
+ simpa only [Real.toNNReal_coe] using
31
+ Real.toNNReal_le_toNNReal (leftRationalSample_le n t)) p q hpq
32
+
33
+ theorem exists_raw_progressive_radon_factor
34
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
35
+ (B : ℝ≥0 → Ω → ℝ) (hm : ∀ t, Measurable (B t))
36
+ (hc : ∀ ω, Continuous (fun t => B t ω))
37
+ (N : ℝ≥0 → Ω → Measure upperHalfPlane)
38
+ (hNm : Adapted (Filtration.natural B (fun t => (hm t).stronglyMeasurable)) N)
39
+ (hNr : ∀ t ω, (N t ω).Regular)
40
+ (hNc : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂N t ω)) :
41
+ ∃ R : ℝ≥0 → C(ℝ≥0,ℝ) → Measure upperHalfPlane,
42
+ IsProgressive driverPathFiltration R ∧
43
+ (∀ t p, (R t p).Regular ∧ IsFiniteMeasureOnCompacts (R t p)) ∧
44
+ (∀ t p q, (∀ s ≤ t, p s=q s) → R t p=R t q) ∧
45
+ ∀ᵐ ω ∂P, ∀ t, R t (sourceDriverPath B hc ω) = N t ω := by
46
+ choose F hFm hFr hFe using fun q : ℚ => exists_stopped_driver_radon_factor B hm hc
47
+ (q:ℝ).toNNReal (N (q:ℝ).toNNReal) (hNr _) (hNm _)
48
+ let μ (q : ℚ) (p : C(ℝ≥0,ℝ)) := F q (driverPathStopped (q:ℝ).toNNReal p)
49
+ have hμr (q : ℚ) (p : C(ℝ≥0,ℝ)) : (μ q p).Regular := hFr q _
50
+ have hμm (q : ℚ) (_hq : 0 ≤ q) :
51
+ Measurable[driverPathFiltration (q:ℝ).toNNReal] (μ q) :=
52
+ (hFm q).comp (driverPathStopped_measurable_past (q:ℝ).toNNReal)
53
+ refine ⟨rationalRadonExtension μ,rationalRadonExtension_progressive
54
+ driverPathFiltration μ hμr hμm,rationalRadonExtension_regular μ,
55
+ raw_rational_reconstruction_depends_on_past F,?_⟩
56
+ let μ' (q : ℚ) (ω : Ω) := μ q (sourceDriverPath B hc ω)
57
+ have hcont : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
58
+ Continuous (fun t : ℝ => ∫ z, f z ∂N t.toNNReal ω) := by
59
+ filter_upwards [hNc] with ω hω
60
+ intro f
61
+ exact (hω f).comp continuous_real_toNNReal
62
+ have heq : ∀ᵐ ω ∂P, ∀ q : ℚ, N (q:ℝ).toNNReal ω = μ' q ω :=
63
+ ae_of_all _ (fun ω q => (hFe q ω).symm)
64
+ have he := rationalRadonExtension_common_version P μ' (fun t ω => N t.toNNReal ω)
65
+ (fun t ω => hNr t.toNNReal ω) hcont heq
66
+ filter_upwards [he] with ω hω
67
+ intro t
68
+ simpa only [rationalRadonExtension,μ',Real.toNNReal_coe] using hω t
69
+
70
+ end SLEExactGauge
71
+
72
+ end
73
+
74
+ end OAI
lean/OAI/Probability/SLE/Mass/RawMassPathLaw.lean CHANGED
@@ -1,133 +1,133 @@
1
- import OAI.Probability.SLE.Mass.CanonicalRawMass
2
- import OAI.Probability.SLE.Mass.RawRadonGoodPaths
3
-
4
- namespace OAI
5
-
6
- /-! The raw mass has one measurable full-law event carrying all path
7
- properties simultaneously. Equal driver laws therefore preserve these
8
- properties without assuming measurability of an uncountable predicate. -/
9
-
10
- noncomputable section
11
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory
12
- open scoped Topology CompactlySupported NNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- local instance rawPathLawDriverMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
- local instance rawPathLawDriverBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
19
-
20
- theorem exists_raw_rational_radon_factor
21
- {Ω : Type*} [MeasurableSpace Ω]
22
- (B : ℝ≥0 → Ω → ℝ) (hm : ∀ t, Measurable (B t))
23
- (hc : ∀ ω, Continuous (fun t => B t ω))
24
- (N : ℝ≥0 → Ω → Measure upperHalfPlane)
25
- (hNm : Adapted (Filtration.natural B (fun t => (hm t).stronglyMeasurable)) N)
26
- (hNr : ∀ t ω, (N t ω).Regular) :
27
- ∃ μ : ℚ → C(ℝ≥0,ℝ) → Measure upperHalfPlane,
28
- (∀ q p, (μ q p).Regular) ∧
29
- (∀ q : ℚ, Measurable[driverPathFiltration (q:ℝ).toNNReal] (μ q)) ∧
30
- (∀ (q : ℚ) p r, (∀ s ≤ (q:ℝ).toNNReal, p s=r s) → μ q p=μ q r) ∧
31
- ∀ ω q, μ q (sourceDriverPath B hc ω)=N (q:ℝ).toNNReal ω := by
32
- choose F hFm hFr hFe using fun q : ℚ => exists_stopped_driver_radon_factor B hm hc
33
- (q:ℝ).toNNReal (N (q:ℝ).toNNReal) (hNr _) (hNm _)
34
- refine ⟨fun q p => F q (driverPathStopped (q:ℝ).toNNReal p),?_,?_,?_,?_⟩
35
- · exact fun q p => hFr q _
36
- · exact fun q => (hFm q).comp (driverPathStopped_measurable_past (q:ℝ).toNNReal)
37
- · intro q p r hpr
38
- exact congrArg (F q) (driverPathStopped_eq_of_agree _ _ le_rfl p r hpr)
39
- · exact fun ω q => hFe q ω
40
-
41
- lemma rational_reconstruction_nonanticipating
42
- (μ : ℚ → C(ℝ≥0,ℝ) → Measure upperHalfPlane)
43
- (hμ : ∀ (q : ℚ) p r, (∀ s ≤ (q:ℝ).toNNReal, p s=r s) → μ q p=μ q r)
44
- (t : ℝ≥0) (p r : C(ℝ≥0,ℝ)) (hpr : ∀ s ≤ t, p s=r s) :
45
- rationalRadonExtension μ t p=rationalRadonExtension μ t r := by
46
- unfold rationalRadonExtension
47
- apply congrArg canonicalRadonLimit
48
- funext n
49
- apply hμ
50
- intro s hs
51
- apply hpr s
52
- apply hs.trans
53
- simpa only [Real.toNNReal_coe] using Real.toNNReal_le_toNNReal (leftRationalSample_le n t)
54
-
55
- theorem raw_radon_path_properties_of_same_law
56
- {Ω Ξ Y : Type*} [MeasurableSpace Ω] [MeasurableSpace Ξ] [MeasurableSpace Y]
57
- (P : Measure Ω) (Q : Measure Ξ) (A : Ω → Y) (B : Ξ → Y)
58
- (hA : Measurable A) (hB : Measurable B) (hlaw : Q.map B=P.map A)
59
- (D : LocalTestFamily upperHalfPlane) (μ : ℚ → Y → Measure upperHalfPlane)
60
- (hm : ∀ q, Measurable (μ q)) (hr : ∀ q y, (μ q y).Regular)
61
- (hg : ∀ᵐ ω ∂P, RawRadonGood D (fun q => μ q (A ω))) :
62
- ∀ᵐ ξ ∂Q,
63
- rationalRadonExtension μ 0 (B ξ)=0 ∧
64
- Monotone (fun t => rationalRadonExtension μ t (B ξ)) ∧
65
- ∀ f : C_c(upperHalfPlane,ℝ),
66
- Continuous (fun t => ∫ z, f z ∂rationalRadonExtension μ t (B ξ)) := by
67
- have hE := measurableSet_rawRadonGood D μ hm hr
68
- have hpush : ∀ᵐ y ∂P.map A, RawRadonGood D (fun q => μ q y) :=
69
- (ae_map_iff hA.aemeasurable hE).mpr hg
70
- rw [← hlaw] at hpush
71
- have hgood := (ae_map_iff hB.aemeasurable hE).mp hpush
72
- filter_upwards [hgood] with ξ hξ
73
- exact RawRadonGood.reconstructed_paths D (fun q => μ q (B ξ)) (fun q => hr q _) hξ
74
-
75
- namespace Multipoint
76
-
77
- theorem CanonicalMass.exists_raw_nonanticipating_with_good_set
78
- {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω} {κ : ℝ}
79
- {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
80
- {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
81
- (C : CanonicalMass P κ B hBm γ G)
82
- (hBc : ∀ ω, Continuous (fun t => B t ω)) :
83
- ∃ R : ℝ≥0 → C(ℝ≥0,ℝ) → Measure upperHalfPlane,
84
- ∃ E : Set C(ℝ≥0,ℝ),
85
- IsProgressive driverPathFiltration R ∧
86
- (∀ t p, (R t p).Regular ∧ IsFiniteMeasureOnCompacts (R t p)) ∧
87
- (∀ t p r, (∀ s ≤ t, p s=r s) → R t p=R t r) ∧
88
- MeasurableSet E ∧ (∀ᵐ p ∂P.map (sourceDriverPath B hBc), p ∈ E) ∧
89
- (∀ p ∈ E, R 0 p=0 ∧ Monotone (fun t => R t p) ∧
90
- ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂(R t p))) ∧
91
- ∀ᵐ ω ∂P, ∀ t, R t (sourceDriverPath B hBc ω)=C.process t ω := by
92
- have hm (t : ℝ≥0) : Measurable (B t) :=
93
- hBm.comp (measurable_const.prodMk measurable_id)
94
- obtain ⟨μ,hμr,hμm,hμn,hμe⟩ := exists_raw_rational_radon_factor B hm hBc C.process
95
- C.progressive.adapted (fun t ω => (C.radon t ω).1)
96
- let R := rationalRadonExtension μ
97
- let D := localTestFamily upperHalfPlane
98
- let E : Set C(ℝ≥0,ℝ) := {p | RawRadonGood D (fun q => μ q p)}
99
- have hμma (q : ℚ) : Measurable (μ q) :=
100
- (hμm q).mono (driverPathFiltration.le _) le_rfl
101
- have hEm : MeasurableSet E := measurableSet_rawRadonGood D μ hμma hμr
102
- have hgood : ∀ᵐ ω ∂P, sourceDriverPath B hBc ω ∈ E := by
103
- filter_upwards [C.paths] with ω hω
104
- dsimp only [E,mem_ofPred_eq]
105
- simp_rw [hμe]
106
- exact rawRadonGood_of_continuous_path D (fun t => C.process t ω)
107
- (fun t => (C.radon t ω).1) hω.zero hω.monotone hω.continuous_tests
108
- have hbp : Measurable (sourceDriverPath B hBc) := source_path_measurable _ hm
109
- refine ⟨R,E,rationalRadonExtension_progressive driverPathFiltration μ hμr (fun q _ => hμm q),
110
- rationalRadonExtension_regular μ,rational_reconstruction_nonanticipating μ hμn,
111
- hEm,(ae_map_iff hbp.aemeasurable hEm).mpr hgood,?_,?_⟩
112
- · intro p hp
113
- exact RawRadonGood.reconstructed_paths D (fun q => μ q p) (fun q => hμr q p) hp
114
- · let μ' (q : ℚ) (ω : Ω) := μ q (sourceDriverPath B hBc ω)
115
- have hc : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
116
- Continuous (fun t : ℝ => ∫ z, f z ∂C.process t.toNNReal ω) := by
117
- filter_upwards [C.paths] with ω hω
118
- intro f
119
- exact (hω.continuous_tests f).comp continuous_real_toNNReal
120
- have he : ∀ᵐ ω ∂P, ∀ q : ℚ, C.process (q:ℝ).toNNReal ω=μ' q ω :=
121
- ae_of_all _ (fun ω q => (hμe ω q).symm)
122
- have h := rationalRadonExtension_common_version P μ' (fun t ω => C.process t.toNNReal ω)
123
- (fun t ω => (C.radon t.toNNReal ω).1) hc he
124
- filter_upwards [h] with ω hω
125
- intro t
126
- simpa only [R,rationalRadonExtension,μ',Real.toNNReal_coe] using hω t
127
-
128
- end Multipoint
129
- end SLEExactGauge
130
-
131
- end
132
-
133
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.CanonicalRawMass
2
+ import OAI.Probability.SLE.Mass.RawRadonGoodPaths
3
+
4
+ namespace OAI
5
+
6
+ /-! The raw mass has one measurable full-law event carrying all path
7
+ properties simultaneously. Equal driver laws therefore preserve these
8
+ properties without assuming measurability of an uncountable predicate. -/
9
+
10
+ noncomputable section
11
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory
12
+ open scoped Topology CompactlySupported NNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ local instance rawPathLawDriverMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
+ local instance rawPathLawDriverBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
19
+
20
+ theorem exists_raw_rational_radon_factor
21
+ {Ω : Type*} [MeasurableSpace Ω]
22
+ (B : ℝ≥0 → Ω → ℝ) (hm : ∀ t, Measurable (B t))
23
+ (hc : ∀ ω, Continuous (fun t => B t ω))
24
+ (N : ℝ≥0 → Ω → Measure upperHalfPlane)
25
+ (hNm : Adapted (Filtration.natural B (fun t => (hm t).stronglyMeasurable)) N)
26
+ (hNr : ∀ t ω, (N t ω).Regular) :
27
+ ∃ μ : ℚ → C(ℝ≥0,ℝ) → Measure upperHalfPlane,
28
+ (∀ q p, (μ q p).Regular) ∧
29
+ (∀ q : ℚ, Measurable[driverPathFiltration (q:ℝ).toNNReal] (μ q)) ∧
30
+ (∀ (q : ℚ) p r, (∀ s ≤ (q:ℝ).toNNReal, p s=r s) → μ q p=μ q r) ∧
31
+ ∀ ω q, μ q (sourceDriverPath B hc ω)=N (q:ℝ).toNNReal ω := by
32
+ choose F hFm hFr hFe using fun q : ℚ => exists_stopped_driver_radon_factor B hm hc
33
+ (q:ℝ).toNNReal (N (q:ℝ).toNNReal) (hNr _) (hNm _)
34
+ refine ⟨fun q p => F q (driverPathStopped (q:ℝ).toNNReal p),?_,?_,?_,?_⟩
35
+ · exact fun q p => hFr q _
36
+ · exact fun q => (hFm q).comp (driverPathStopped_measurable_past (q:ℝ).toNNReal)
37
+ · intro q p r hpr
38
+ exact congrArg (F q) (driverPathStopped_eq_of_agree _ _ le_rfl p r hpr)
39
+ · exact fun ω q => hFe q ω
40
+
41
+ lemma rational_reconstruction_nonanticipating
42
+ (μ : ℚ → C(ℝ≥0,ℝ) → Measure upperHalfPlane)
43
+ (hμ : ∀ (q : ℚ) p r, (∀ s ≤ (q:ℝ).toNNReal, p s=r s) → μ q p=μ q r)
44
+ (t : ℝ≥0) (p r : C(ℝ≥0,ℝ)) (hpr : ∀ s ≤ t, p s=r s) :
45
+ rationalRadonExtension μ t p=rationalRadonExtension μ t r := by
46
+ unfold rationalRadonExtension
47
+ apply congrArg canonicalRadonLimit
48
+ funext n
49
+ apply hμ
50
+ intro s hs
51
+ apply hpr s
52
+ apply hs.trans
53
+ simpa only [Real.toNNReal_coe] using Real.toNNReal_le_toNNReal (leftRationalSample_le n t)
54
+
55
+ theorem raw_radon_path_properties_of_same_law
56
+ {Ω Ξ Y : Type*} [MeasurableSpace Ω] [MeasurableSpace Ξ] [MeasurableSpace Y]
57
+ (P : Measure Ω) (Q : Measure Ξ) (A : Ω → Y) (B : Ξ → Y)
58
+ (hA : Measurable A) (hB : Measurable B) (hlaw : Q.map B=P.map A)
59
+ (D : LocalTestFamily upperHalfPlane) (μ : ℚ → Y → Measure upperHalfPlane)
60
+ (hm : ∀ q, Measurable (μ q)) (hr : ∀ q y, (μ q y).Regular)
61
+ (hg : ∀ᵐ ω ∂P, RawRadonGood D (fun q => μ q (A ω))) :
62
+ ∀ᵐ ξ ∂Q,
63
+ rationalRadonExtension μ 0 (B ξ)=0 ∧
64
+ Monotone (fun t => rationalRadonExtension μ t (B ξ)) ∧
65
+ ∀ f : C_c(upperHalfPlane,ℝ),
66
+ Continuous (fun t => ∫ z, f z ∂rationalRadonExtension μ t (B ξ)) := by
67
+ have hE := measurableSet_rawRadonGood D μ hm hr
68
+ have hpush : ∀ᵐ y ∂P.map A, RawRadonGood D (fun q => μ q y) :=
69
+ (ae_map_iff hA.aemeasurable hE).mpr hg
70
+ rw [← hlaw] at hpush
71
+ have hgood := (ae_map_iff hB.aemeasurable hE).mp hpush
72
+ filter_upwards [hgood] with ξ hξ
73
+ exact RawRadonGood.reconstructed_paths D (fun q => μ q (B ξ)) (fun q => hr q _) hξ
74
+
75
+ namespace Multipoint
76
+
77
+ theorem CanonicalMass.exists_raw_nonanticipating_with_good_set
78
+ {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω} {κ : ℝ}
79
+ {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
80
+ {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
81
+ (C : CanonicalMass P κ B hBm γ G)
82
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) :
83
+ ∃ R : ℝ≥0 → C(ℝ≥0,ℝ) → Measure upperHalfPlane,
84
+ ∃ E : Set C(ℝ≥0,ℝ),
85
+ IsProgressive driverPathFiltration R ∧
86
+ (∀ t p, (R t p).Regular ∧ IsFiniteMeasureOnCompacts (R t p)) ∧
87
+ (∀ t p r, (∀ s ≤ t, p s=r s) → R t p=R t r) ∧
88
+ MeasurableSet E ∧ (∀ᵐ p ∂P.map (sourceDriverPath B hBc), p ∈ E) ∧
89
+ (∀ p ∈ E, R 0 p=0 ∧ Monotone (fun t => R t p) ∧
90
+ ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂(R t p))) ∧
91
+ ∀ᵐ ω ∂P, ∀ t, R t (sourceDriverPath B hBc ω)=C.process t ω := by
92
+ have hm (t : ℝ≥0) : Measurable (B t) :=
93
+ hBm.comp (measurable_const.prodMk measurable_id)
94
+ obtain ⟨μ,hμr,hμm,hμn,hμe⟩ := exists_raw_rational_radon_factor B hm hBc C.process
95
+ C.progressive.adapted (fun t ω => (C.radon t ω).1)
96
+ let R := rationalRadonExtension μ
97
+ let D := localTestFamily upperHalfPlane
98
+ let E : Set C(ℝ≥0,ℝ) := {p | RawRadonGood D (fun q => μ q p)}
99
+ have hμma (q : ℚ) : Measurable (μ q) :=
100
+ (hμm q).mono (driverPathFiltration.le _) le_rfl
101
+ have hEm : MeasurableSet E := measurableSet_rawRadonGood D μ hμma hμr
102
+ have hgood : ∀ᵐ ω ∂P, sourceDriverPath B hBc ω ∈ E := by
103
+ filter_upwards [C.paths] with ω hω
104
+ dsimp only [E,mem_ofPred_eq]
105
+ simp_rw [hμe]
106
+ exact rawRadonGood_of_continuous_path D (fun t => C.process t ω)
107
+ (fun t => (C.radon t ω).1) hω.zero hω.monotone hω.continuous_tests
108
+ have hbp : Measurable (sourceDriverPath B hBc) := source_path_measurable _ hm
109
+ refine ⟨R,E,rationalRadonExtension_progressive driverPathFiltration μ hμr (fun q _ => hμm q),
110
+ rationalRadonExtension_regular μ,rational_reconstruction_nonanticipating μ hμn,
111
+ hEm,(ae_map_iff hbp.aemeasurable hEm).mpr hgood,?_,?_⟩
112
+ · intro p hp
113
+ exact RawRadonGood.reconstructed_paths D (fun q => μ q p) (fun q => hμr q p) hp
114
+ · let μ' (q : ℚ) (ω : Ω) := μ q (sourceDriverPath B hBc ω)
115
+ have hc : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
116
+ Continuous (fun t : ℝ => ∫ z, f z ∂C.process t.toNNReal ω) := by
117
+ filter_upwards [C.paths] with ω hω
118
+ intro f
119
+ exact (hω.continuous_tests f).comp continuous_real_toNNReal
120
+ have he : ∀ᵐ ω ∂P, ∀ q : ℚ, C.process (q:ℝ).toNNReal ω=μ' q ω :=
121
+ ae_of_all _ (fun ω q => (hμe ω q).symm)
122
+ have h := rationalRadonExtension_common_version P μ' (fun t ω => C.process t.toNNReal ω)
123
+ (fun t ω => (C.radon t.toNNReal ω).1) hc he
124
+ filter_upwards [h] with ω hω
125
+ intro t
126
+ simpa only [R,rationalRadonExtension,μ',Real.toNNReal_coe] using hω t
127
+
128
+ end Multipoint
129
+ end SLEExactGauge
130
+
131
+ end
132
+
133
+ end OAI
lean/OAI/Probability/SLE/Mass/RawRadonGoodPaths.lean CHANGED
@@ -1,109 +1,109 @@
1
- import OAI.Probability.SLE.Geometry.RationalTestPath
2
-
3
- namespace OAI
4
-
5
- /-! A countably measurable event guaranteeing zero initial mass, monotone
6
- growth, and continuous compact-test paths for the raw rational reconstruction. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory
10
- open scoped Topology CompactlySupported NNReal
11
-
12
- namespace SLEExactGauge
13
-
14
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
15
-
16
- def RawRadonGood (D : LocalTestFamily upperHalfPlane) (μ : ℚ → Measure upperHalfPlane) : Prop :=
17
- HasContinuousRationalTests D μ ∧
18
- (∀ p q : ℚ, 0 ≤ p → p ≤ q → ∀ j,
19
- (∫ z, (D.test j ⊔ 0) z ∂μ p) ≤ ∫ z, (D.test j ⊔ 0) z ∂μ q) ∧
20
- ∀ j, (∫ z, D.test j z ∂μ 0)=0
21
-
22
- lemma measurableSet_rawRadonGood {Y : Type*} [MeasurableSpace Y]
23
- (D : LocalTestFamily upperHalfPlane) (μ : ℚ → Y → Measure upperHalfPlane)
24
- (hm : ∀ q, Measurable (μ q)) (hr : ∀ q y, (μ q y).Regular) :
25
- MeasurableSet {y | RawRadonGood D (fun q => μ q y)} := by
26
- have htest (q : ℚ) (f : C_c(upperHalfPlane,ℝ)) :=
27
- measurable_halfPlane_compact_test_integral (μ q) (hm q) (hr q) f
28
- have hc := measurableSet_hasContinuousRationalTests D μ (fun q j => htest q (D.test j))
29
- have ho : MeasurableSet {y | ∀ p q : ℚ, 0 ≤ p → p ≤ q → ∀ j,
30
- (∫ z, (D.test j ⊔ 0) z ∂μ p y) ≤ ∫ z, (D.test j ⊔ 0) z ∂μ q y} := by
31
- simp only [Set.ofPred_forall]
32
- exact MeasurableSet.iInter fun p => MeasurableSet.iInter fun q =>
33
- MeasurableSet.iInter fun _ => MeasurableSet.iInter fun _ =>
34
- MeasurableSet.iInter fun j => measurableSet_le (htest p _) (htest q _)
35
- have hz : MeasurableSet {y | ∀ j, (∫ z, D.test j z ∂μ 0 y)=0} := by
36
- simp only [Set.ofPred_forall]
37
- exact MeasurableSet.iInter fun j => measurableSet_eq_fun (htest 0 (D.test j)) measurable_const
38
- simpa only [RawRadonGood,Set.ofPred_and] using hc.inter (ho.inter hz)
39
-
40
- theorem RawRadonGood.reconstructed_paths
41
- (D : LocalTestFamily upperHalfPlane) (μ : ℚ → Measure upperHalfPlane)
42
- (hr : ∀ q, (μ q).Regular) (hg : RawRadonGood D μ) :
43
- let N := fun t => rationalRadonExtension (fun q (_ : Unit) => μ q) t ()
44
- N 0=0 ∧ Monotone N ∧ ∀ f : C_c(upperHalfPlane,ℝ),
45
- Continuous (fun t => ∫ z, f z ∂N t) := by
46
- dsimp only
47
- let N := fun t => rationalRadonExtension (fun q (_ : Unit) => μ q) t ()
48
- obtain ⟨hq,hc⟩ := HasContinuousRationalTests.continuous_extension D μ hr hg.1
49
- have hzero : μ 0=0 := by
50
- let := hr 0
51
- apply D.measure_eq_of_test_integrals
52
- intro j
53
- simpa only [integral_zero_measure] using hg.2.2 j
54
- have hz : N 0=0 := by
55
- have h := hq 0 le_rfl
56
- simpa only [Rat.cast_zero,Real.toNNReal_zero,hzero] using h
57
- refine ⟨hz,?_,hc⟩
58
- intro s t hst
59
- rcases eq_or_lt_of_le hst with rfl | hst
60
- · exact le_rfl
61
- let := (rationalRadonExtension_regular (fun q (_ : Unit) => μ q) s ()).1
62
- let := (rationalRadonExtension_regular (fun q (_ : Unit) => μ q) t ()).1
63
- apply radon_measure_le_of_nonneg_tests
64
- intro f hf
65
- have hlim (r : ℝ≥0) : Tendsto (fun n => ∫ z, f z ∂μ (leftRationalSample n r)) atTop
66
- (𝓝 (∫ z, f z ∂N r)) := by
67
- have he (n : ℕ) := hq (leftRationalSample n r) (leftRationalSample_nonneg n r)
68
- have ht := (continuous_real_toNNReal.tendsto (r:ℝ)).comp (leftRationalSample_tendsto r)
69
- simpa only [Real.toNNReal_coe,Function.comp_def,he] using
70
- (hc f).continuousAt.tendsto.comp ht
71
- have hlt : ∀ᶠ n in atTop, leftRationalSample n s ≤ leftRationalSample n t := by
72
- have hs := (leftRationalSample_tendsto s).eventually
73
- (gt_mem_nhds (show (s:ℝ)<((s:ℝ)+t)/2 by exact (by have := NNReal.coe_lt_coe.mpr hst; linarith)))
74
- have ht := (leftRationalSample_tendsto t).eventually
75
- (lt_mem_nhds (show ((s:ℝ)+t)/2<(t:ℝ) by exact (by have := NNReal.coe_lt_coe.mpr hst; linarith)))
76
- filter_upwards [hs,ht] with n hn hm
77
- exact Rat.cast_le.mp (hn.trans hm).le
78
- apply le_of_tendsto_of_tendsto (hlim s) (hlim t)
79
- filter_upwards [hlt] with n hn
80
- have hle : μ (leftRationalSample n s) ≤ μ (leftRationalSample n t) := by
81
- let := hr (leftRationalSample n s)
82
- let := hr (leftRationalSample n t)
83
- exact D.measure_le_of_positive_tests _ _
84
- (hg.2.1 _ _ (leftRationalSample_nonneg n s) hn)
85
- let := hr (leftRationalSample n t)
86
- exact integral_mono_measure hle (ae_of_all _ hf) f.integrable
87
-
88
- theorem rawRadonGood_of_continuous_path
89
- (D : LocalTestFamily upperHalfPlane) (N : ℝ≥0 → Measure upperHalfPlane)
90
- (hr : ∀ t, (N t).Regular) (hz : N 0=0) (hm : Monotone N)
91
- (hc : ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂N t)) :
92
- RawRadonGood D (fun q : ℚ => N (q:ℝ).toNNReal) := by
93
- refine ⟨?_,?_,?_⟩
94
- · intro j
95
- refine ⟨⟨fun t => ∫ z, D.test j z ∂N t.toNNReal,
96
- (hc (D.test j)).comp continuous_real_toNNReal⟩,?_⟩
97
- rfl
98
- · intro p q _hp hpq j
99
- let := hr (q:ℝ).toNNReal
100
- exact integral_mono_measure (hm (Real.toNNReal_le_toNNReal (Rat.cast_le.mpr hpq)))
101
- (ae_of_all _ (fun _ => le_max_right _ _)) (D.test j ⊔ 0).integrable
102
- · intro j
103
- simp only [Rat.cast_zero,Real.toNNReal_zero,hz,integral_zero_measure]
104
-
105
- end SLEExactGauge
106
-
107
- end
108
-
109
- end OAI
 
1
+ import OAI.Probability.SLE.Geometry.RationalTestPath
2
+
3
+ namespace OAI
4
+
5
+ /-! A countably measurable event guaranteeing zero initial mass, monotone
6
+ growth, and continuous compact-test paths for the raw rational reconstruction. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory
10
+ open scoped Topology CompactlySupported NNReal
11
+
12
+ namespace SLEExactGauge
13
+
14
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
15
+
16
+ def RawRadonGood (D : LocalTestFamily upperHalfPlane) (μ : ℚ → Measure upperHalfPlane) : Prop :=
17
+ HasContinuousRationalTests D μ ∧
18
+ (∀ p q : ℚ, 0 ≤ p → p ≤ q → ∀ j,
19
+ (∫ z, (D.test j ⊔ 0) z ∂μ p) ≤ ∫ z, (D.test j ⊔ 0) z ∂μ q) ∧
20
+ ∀ j, (∫ z, D.test j z ∂μ 0)=0
21
+
22
+ lemma measurableSet_rawRadonGood {Y : Type*} [MeasurableSpace Y]
23
+ (D : LocalTestFamily upperHalfPlane) (μ : ℚ → Y → Measure upperHalfPlane)
24
+ (hm : ∀ q, Measurable (μ q)) (hr : ∀ q y, (μ q y).Regular) :
25
+ MeasurableSet {y | RawRadonGood D (fun q => μ q y)} := by
26
+ have htest (q : ℚ) (f : C_c(upperHalfPlane,ℝ)) :=
27
+ measurable_halfPlane_compact_test_integral (μ q) (hm q) (hr q) f
28
+ have hc := measurableSet_hasContinuousRationalTests D μ (fun q j => htest q (D.test j))
29
+ have ho : MeasurableSet {y | ∀ p q : ℚ, 0 ≤ p → p ≤ q → ∀ j,
30
+ (∫ z, (D.test j ⊔ 0) z ∂μ p y) ≤ ∫ z, (D.test j ⊔ 0) z ∂μ q y} := by
31
+ simp only [Set.ofPred_forall]
32
+ exact MeasurableSet.iInter fun p => MeasurableSet.iInter fun q =>
33
+ MeasurableSet.iInter fun _ => MeasurableSet.iInter fun _ =>
34
+ MeasurableSet.iInter fun j => measurableSet_le (htest p _) (htest q _)
35
+ have hz : MeasurableSet {y | ∀ j, (∫ z, D.test j z ∂μ 0 y)=0} := by
36
+ simp only [Set.ofPred_forall]
37
+ exact MeasurableSet.iInter fun j => measurableSet_eq_fun (htest 0 (D.test j)) measurable_const
38
+ simpa only [RawRadonGood,Set.ofPred_and] using hc.inter (ho.inter hz)
39
+
40
+ theorem RawRadonGood.reconstructed_paths
41
+ (D : LocalTestFamily upperHalfPlane) (μ : ℚ → Measure upperHalfPlane)
42
+ (hr : ∀ q, (μ q).Regular) (hg : RawRadonGood D μ) :
43
+ let N := fun t => rationalRadonExtension (fun q (_ : Unit) => μ q) t ()
44
+ N 0=0 ∧ Monotone N ∧ ∀ f : C_c(upperHalfPlane,ℝ),
45
+ Continuous (fun t => ∫ z, f z ∂N t) := by
46
+ dsimp only
47
+ let N := fun t => rationalRadonExtension (fun q (_ : Unit) => μ q) t ()
48
+ obtain ⟨hq,hc⟩ := HasContinuousRationalTests.continuous_extension D μ hr hg.1
49
+ have hzero : μ 0=0 := by
50
+ let := hr 0
51
+ apply D.measure_eq_of_test_integrals
52
+ intro j
53
+ simpa only [integral_zero_measure] using hg.2.2 j
54
+ have hz : N 0=0 := by
55
+ have h := hq 0 le_rfl
56
+ simpa only [Rat.cast_zero,Real.toNNReal_zero,hzero] using h
57
+ refine ⟨hz,?_,hc⟩
58
+ intro s t hst
59
+ rcases eq_or_lt_of_le hst with rfl | hst
60
+ · exact le_rfl
61
+ let := (rationalRadonExtension_regular (fun q (_ : Unit) => μ q) s ()).1
62
+ let := (rationalRadonExtension_regular (fun q (_ : Unit) => μ q) t ()).1
63
+ apply radon_measure_le_of_nonneg_tests
64
+ intro f hf
65
+ have hlim (r : ℝ≥0) : Tendsto (fun n => ∫ z, f z ∂μ (leftRationalSample n r)) atTop
66
+ (𝓝 (∫ z, f z ∂N r)) := by
67
+ have he (n : ℕ) := hq (leftRationalSample n r) (leftRationalSample_nonneg n r)
68
+ have ht := (continuous_real_toNNReal.tendsto (r:ℝ)).comp (leftRationalSample_tendsto r)
69
+ simpa only [Real.toNNReal_coe,Function.comp_def,he] using
70
+ (hc f).continuousAt.tendsto.comp ht
71
+ have hlt : ∀ᶠ n in atTop, leftRationalSample n s ≤ leftRationalSample n t := by
72
+ have hs := (leftRationalSample_tendsto s).eventually
73
+ (gt_mem_nhds (show (s:ℝ)<((s:ℝ)+t)/2 by exact (by have := NNReal.coe_lt_coe.mpr hst; linarith)))
74
+ have ht := (leftRationalSample_tendsto t).eventually
75
+ (lt_mem_nhds (show ((s:ℝ)+t)/2<(t:ℝ) by exact (by have := NNReal.coe_lt_coe.mpr hst; linarith)))
76
+ filter_upwards [hs,ht] with n hn hm
77
+ exact Rat.cast_le.mp (hn.trans hm).le
78
+ apply le_of_tendsto_of_tendsto (hlim s) (hlim t)
79
+ filter_upwards [hlt] with n hn
80
+ have hle : μ (leftRationalSample n s) ≤ μ (leftRationalSample n t) := by
81
+ let := hr (leftRationalSample n s)
82
+ let := hr (leftRationalSample n t)
83
+ exact D.measure_le_of_positive_tests _ _
84
+ (hg.2.1 _ _ (leftRationalSample_nonneg n s) hn)
85
+ let := hr (leftRationalSample n t)
86
+ exact integral_mono_measure hle (ae_of_all _ hf) f.integrable
87
+
88
+ theorem rawRadonGood_of_continuous_path
89
+ (D : LocalTestFamily upperHalfPlane) (N : ℝ≥0 → Measure upperHalfPlane)
90
+ (hr : ∀ t, (N t).Regular) (hz : N 0=0) (hm : Monotone N)
91
+ (hc : ∀ f : C_c(upperHalfPlane,ℝ), Continuous (fun t => ∫ z, f z ∂N t)) :
92
+ RawRadonGood D (fun q : ℚ => N (q:ℝ).toNNReal) := by
93
+ refine ⟨?_,?_,?_⟩
94
+ · intro j
95
+ refine ⟨⟨fun t => ∫ z, D.test j z ∂N t.toNNReal,
96
+ (hc (D.test j)).comp continuous_real_toNNReal⟩,?_⟩
97
+ rfl
98
+ · intro p q _hp hpq j
99
+ let := hr (q:ℝ).toNNReal
100
+ exact integral_mono_measure (hm (Real.toNNReal_le_toNNReal (Rat.cast_le.mpr hpq)))
101
+ (ae_of_all _ (fun _ => le_max_right _ _)) (D.test j ⊔ 0).integrable
102
+ · intro j
103
+ simp only [Rat.cast_zero,Real.toNNReal_zero,hz,integral_zero_measure]
104
+
105
+ end SLEExactGauge
106
+
107
+ end
108
+
109
+ end OAI
lean/OAI/Probability/SLE/Mass/RawRadonLimit.lean CHANGED
@@ -1,44 +1,44 @@
1
- import OAI.Probability.SLE.Mass.CanonicalRadonLimit
2
-
3
- namespace OAI
4
-
5
- /-! Raw Radon reconstruction from countable test-Cauchy data. The existing
6
- canonical reconstruction tests Cauchy convergence in the data space itself;
7
- its cutoff coordinates supply the local mass bounds. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory Classical
11
- open scoped Topology CompactlySupported
12
-
13
- namespace SLEExactGauge
14
-
15
- variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
16
- [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
17
-
18
- lemma LocalTestFamily.exists_raw_radon_limit
19
- (D : LocalTestFamily X) {Y : Type*} [MeasurableSpace Y]
20
- (μ : ℕ → Y → Measure X) (hμ : ∀ n y, (μ n y).Regular)
21
- (hm : ∀ n (f : C_c(X,ℝ)), Measurable (fun y => ∫ x, f x ∂μ n y)) :
22
- ∃ ν : Y → Measure X, Measurable ν ∧ (∀ y, (ν y).Regular) ∧
23
- ∀ y, (∀ j, CauchySeq (fun n => ∫ x, D.test j x ∂μ n y)) →
24
- ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n y) atTop (𝓝 (∫ x, f x ∂ν y)) := by
25
- let ν (y : Y) := canonicalRadonLimit (fun n => μ n y)
26
- refine ⟨ν,canonicalRadonLimit_measurable μ ?_ hm,
27
- fun y => canonicalRadonLimit_regular _,?_⟩
28
- · intro n y
29
- let := hμ n y
30
- infer_instance
31
- · intro y hy
32
- let (n : ℕ) : IsFiniteMeasureOnCompacts (μ n y) := by
33
- let := hμ n y
34
- infer_instance
35
- obtain ⟨η,hη,_,hl⟩ := D.exists_radon_limit (fun n => μ n y)
36
- (fun j => cauchySeq_tendsto_of_complete (hy j))
37
- have he : ν y=η := canonicalRadonLimit_identified _ η ⟨hη,hl⟩
38
- simpa only [he] using hl
39
-
40
- end SLEExactGauge
41
-
42
- end
43
-
44
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.CanonicalRadonLimit
2
+
3
+ namespace OAI
4
+
5
+ /-! Raw Radon reconstruction from countable test-Cauchy data. The existing
6
+ canonical reconstruction tests Cauchy convergence in the data space itself;
7
+ its cutoff coordinates supply the local mass bounds. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory Classical
11
+ open scoped Topology CompactlySupported
12
+
13
+ namespace SLEExactGauge
14
+
15
+ variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
16
+ [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
17
+
18
+ lemma LocalTestFamily.exists_raw_radon_limit
19
+ (D : LocalTestFamily X) {Y : Type*} [MeasurableSpace Y]
20
+ (μ : ℕ → Y → Measure X) (hμ : ∀ n y, (μ n y).Regular)
21
+ (hm : ∀ n (f : C_c(X,ℝ)), Measurable (fun y => ∫ x, f x ∂μ n y)) :
22
+ ∃ ν : Y → Measure X, Measurable ν ∧ (∀ y, (ν y).Regular) ∧
23
+ ∀ y, (∀ j, CauchySeq (fun n => ∫ x, D.test j x ∂μ n y)) →
24
+ ∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n y) atTop (𝓝 (∫ x, f x ∂ν y)) := by
25
+ let ν (y : Y) := canonicalRadonLimit (fun n => μ n y)
26
+ refine ⟨ν,canonicalRadonLimit_measurable μ ?_ hm,
27
+ fun y => canonicalRadonLimit_regular _,?_⟩
28
+ · intro n y
29
+ let := hμ n y
30
+ infer_instance
31
+ · intro y hy
32
+ let (n : ℕ) : IsFiniteMeasureOnCompacts (μ n y) := by
33
+ let := hμ n y
34
+ infer_instance
35
+ obtain ⟨η,hη,_,hl⟩ := D.exists_radon_limit (fun n => μ n y)
36
+ (fun j => cauchySeq_tendsto_of_complete (hy j))
37
+ have he : ν y=η := canonicalRadonLimit_identified _ η ⟨hη,hl⟩
38
+ simpa only [he] using hl
39
+
40
+ end SLEExactGauge
41
+
42
+ end
43
+
44
+ end OAI
lean/OAI/Probability/SLE/Mass/RawScaledMassMeans.lean CHANGED
@@ -1,135 +1,135 @@
1
- import OAI.Probability.SLE.Mass.RawScaledMassPaths
2
- import OAI.Probability.SLE.Mass.ScaledGreenMeasure
3
- import OAI.Probability.SLE.Mass.GreenMassProcessUniqueness
4
-
5
- namespace OAI
6
-
7
- /-! Mean bounds and equal Green remainders for the physical dilation
8
- and the canonical functional of the scaled Brownian driver. -/
9
-
10
- noncomputable section
11
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge.Multipoint
15
-
16
- local instance rawScaledMeansMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
- local instance rawScaledMeansBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
-
19
- lemma bind_comp_eq_of_path_law {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
20
- (X Y : Ω → C(ℝ≥0,ℝ)) (hX : Measurable X) (hY : Measurable Y)
21
- (hXY : P.map X=P.map Y) (N : C(ℝ≥0,ℝ) → Measure upperHalfPlane) (hN : Measurable N) :
22
- P.bind (fun ω => N (X ω))=P.bind (fun ω => N (Y ω)) := by
23
- calc
24
- _ = (P.map X).bind N := by
25
- unfold Measure.bind
26
- rw [Measure.map_map hN hX]
27
- rfl
28
- _ = (P.map Y).bind N := by rw [hXY]
29
- _ = _ := by
30
- unfold Measure.bind
31
- rw [Measure.map_map hN hY]
32
- rfl
33
-
34
- variable {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
35
- {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
36
- {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
37
- (C : CanonicalMass P κ B hBm γ G) (hB : IsBrownianReal B P)
38
- (hc : ∀ ω, Continuous (fun t => B t ω))
39
- (R : RawCanonicalMass)
40
- (he : ∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
41
- R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω)
42
- (c : ℝ≥0) (hcp : 0 < c)
43
-
44
- include C hB hc R he c hcp in
45
- omit [IsProbabilityMeasure P] in
46
- lemma CanonicalMass.scaledRawMass_mean_le (t : ℝ≥0) :
47
- P.bind (scaledRawMass R c B hc t) ≤ initialGreenMeasure κ := by
48
- have hm (s : ℝ≥0) : Measurable (B s) := hBm.comp (measurable_const.prodMk measurable_id)
49
- have hp := source_path_measurable (sourceDriverPath B hc) hm
50
- have hy := source_path_measurable
51
- (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc))
52
- (scaledBrownianDriver_measurable c B hm)
53
- have h := bind_comp_eq_of_path_law P _ _ hy hp
54
- (scaledBrownianDriver_path_law c hcp B hB hm hc) (R.process (c^2*t))
55
- (R.progressive.adapted.measurable (i:=c^2*t))
56
- change P.bind (scaledRawMass R c B hc t)=_ at h
57
- rw [h,Measure.bind_congr_right (he.mono (fun _ h => h.1 (c^2*t)))]
58
- simpa only [Measure.restrict_univ] using C.uniqueness_process_mean_le (c^2*t) univ
59
-
60
- include C hB hc R he c hcp in
61
- omit [IsProbabilityMeasure P] in
62
- lemma CanonicalMass.scaledRawTerminal_mean :
63
- P.bind (scaledRawTerminal R c B hc)=initialGreenMeasure κ := by
64
- have hm (s : ℝ≥0) : Measurable (B s) := hBm.comp (measurable_const.prodMk measurable_id)
65
- have hp := source_path_measurable (sourceDriverPath B hc) hm
66
- have hy := source_path_measurable
67
- (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc))
68
- (scaledBrownianDriver_measurable c B hm)
69
- have h := bind_comp_eq_of_path_law P _ _ hy hp
70
- (scaledBrownianDriver_path_law c hcp B hB hm hc) R.terminal R.terminal_measurable
71
- change P.bind (scaledRawTerminal R c B hc)=_ at h
72
- rw [h,Measure.bind_congr_right (he.mono (fun _ h => h.2)),C.rational.mean]
73
-
74
- include C in
75
- omit [IsProbabilityMeasure P] in
76
- lemma CanonicalMass.deterministic_green_kernel (t : ℝ≥0) (E : Set Ω)
77
- (hE : MeasurableSet[(Filtration.natural B (fun s =>
78
- (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)) t] E) :
79
- (P.restrict E).bind C.rational.terminal=(P.restrict E).bind (C.process t)+
80
- (P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t) := by
81
- let ℱ := Filtration.natural B (fun s =>
82
- (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)
83
- have hs := isStoppingTime_const ℱ t
84
- have hEs : MeasurableSet[hs.measurableSpace] E := by
85
- change MeasurableSet[(isStoppingTime_const ℱ t).measurableSpace] E
86
- rw [IsStoppingTime.measurableSpace_const]
87
- exact hE
88
- have h := C.kernel (fun _ => (t:WithTop ℝ≥0)) hs E hEs
89
- change (P.restrict E).bind C.rational.terminal=(P.restrict E).bind (C.process t)+
90
- (P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t) at h
91
- exact h
92
-
93
- include C hB hc R he c hcp in
94
- lemma CanonicalMass.scaledRawMass_cross_kernel
95
- (F : Ω → ℝ≥0 → ℂ → ℂ)
96
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
97
- (t : ℝ≥0) (E : Set Ω)
98
- (hE : MeasurableSet[(Filtration.natural B (fun s =>
99
- (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)) t] E) :
100
- (P.restrict E).bind (fun ω => dilationMass �� c hcp (C.rational.terminal ω))+
101
- (P.restrict E).bind (scaledRawMass R c B hc t)=
102
- (P.restrict E).bind (scaledRawTerminal R c B hc)+
103
- (P.restrict E).bind (fun ω => dilationMass κ c hcp (C.process t ω)) := by
104
- have hm (s : ℝ≥0) : Measurable (B s) := hBm.comp (measurable_const.prodMk measurable_id)
105
- have hCm := C.progressive.adapted.measurable (i:=t)
106
- have hGm := halfPlaneGreenMeasure_measurable hBm hc κ γ G F hw t
107
- have hdm : Measurable (dilationMass κ c hcp) := conformalMass_measurable _ _
108
- have hNm := (scaledRawMass_adapted R c hcp B hm hc).measurable (i:=t)
109
- have hd := congrArg (dilationMass κ c hcp) (C.deterministic_green_kernel t E hE)
110
- change dilationMass κ c hcp ((P.restrict E).bind C.rational.terminal)=
111
- conformalMass (halfPlaneDilation c hcp) _
112
- ((P.restrict E).bind (C.process t)+(P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t)) at hd
113
- rw [conformalMass_add] at hd
114
- change dilationMass κ c hcp ((P.restrict E).bind C.rational.terminal)=
115
- dilationMass κ c hcp ((P.restrict E).bind (C.process t))+
116
- dilationMass κ c hcp ((P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t)) at hd
117
- rw [← dilationMass_bind _ _ _ _ _ C.rational.terminal_measurable,
118
- ← dilationMass_bind _ _ _ _ _ hCm,← dilationMass_bind _ _ _ _ _ hGm] at hd
119
- have hr := C.raw_scaled_green_kernel hB hc F hw R he c hcp t E hE
120
- dsimp only at hr
121
- simp_rw [canonicalGreenMass_scaled κ B hc γ G F hw c hcp t] at hr
122
- change (P.restrict E).bind (scaledRawTerminal R c B hc)=
123
- (P.restrict E).bind (fun ω => scaledRawMass R c B hc t ω+
124
- dilationMass κ c hcp (halfPlaneGreenMeasure κ B γ G t ω)) at hr
125
- have hD : Measurable (fun ω => dilationMass κ c hcp (halfPlaneGreenMeasure κ B γ G t ω)) :=
126
- hdm.comp hGm
127
- rw [bind_kernel_add _ _ _ hNm hD] at hr
128
- rw [hd,hr]
129
- ac_rfl
130
-
131
- end SLEExactGauge.Multipoint
132
-
133
- end
134
-
135
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RawScaledMassPaths
2
+ import OAI.Probability.SLE.Mass.ScaledGreenMeasure
3
+ import OAI.Probability.SLE.Mass.GreenMassProcessUniqueness
4
+
5
+ namespace OAI
6
+
7
+ /-! Mean bounds and equal Green remainders for the physical dilation
8
+ and the canonical functional of the scaled Brownian driver. -/
9
+
10
+ noncomputable section
11
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge.Multipoint
15
+
16
+ local instance rawScaledMeansMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
+ local instance rawScaledMeansBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
+
19
+ lemma bind_comp_eq_of_path_law {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
20
+ (X Y : Ω → C(ℝ≥0,ℝ)) (hX : Measurable X) (hY : Measurable Y)
21
+ (hXY : P.map X=P.map Y) (N : C(ℝ≥0,ℝ) → Measure upperHalfPlane) (hN : Measurable N) :
22
+ P.bind (fun ω => N (X ω))=P.bind (fun ω => N (Y ω)) := by
23
+ calc
24
+ _ = (P.map X).bind N := by
25
+ unfold Measure.bind
26
+ rw [Measure.map_map hN hX]
27
+ rfl
28
+ _ = (P.map Y).bind N := by rw [hXY]
29
+ _ = _ := by
30
+ unfold Measure.bind
31
+ rw [Measure.map_map hN hY]
32
+ rfl
33
+
34
+ variable {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
35
+ {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
36
+ {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
37
+ (C : CanonicalMass P κ B hBm γ G) (hB : IsBrownianReal B P)
38
+ (hc : ∀ ω, Continuous (fun t => B t ω))
39
+ (R : RawCanonicalMass)
40
+ (he : ∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
41
+ R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω)
42
+ (c : ℝ≥0) (hcp : 0 < c)
43
+
44
+ include C hB hc R he c hcp in
45
+ omit [IsProbabilityMeasure P] in
46
+ lemma CanonicalMass.scaledRawMass_mean_le (t : ℝ≥0) :
47
+ P.bind (scaledRawMass R c B hc t) ≤ initialGreenMeasure κ := by
48
+ have hm (s : ℝ≥0) : Measurable (B s) := hBm.comp (measurable_const.prodMk measurable_id)
49
+ have hp := source_path_measurable (sourceDriverPath B hc) hm
50
+ have hy := source_path_measurable
51
+ (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc))
52
+ (scaledBrownianDriver_measurable c B hm)
53
+ have h := bind_comp_eq_of_path_law P _ _ hy hp
54
+ (scaledBrownianDriver_path_law c hcp B hB hm hc) (R.process (c^2*t))
55
+ (R.progressive.adapted.measurable (i:=c^2*t))
56
+ change P.bind (scaledRawMass R c B hc t)=_ at h
57
+ rw [h,Measure.bind_congr_right (he.mono (fun _ h => h.1 (c^2*t)))]
58
+ simpa only [Measure.restrict_univ] using C.uniqueness_process_mean_le (c^2*t) univ
59
+
60
+ include C hB hc R he c hcp in
61
+ omit [IsProbabilityMeasure P] in
62
+ lemma CanonicalMass.scaledRawTerminal_mean :
63
+ P.bind (scaledRawTerminal R c B hc)=initialGreenMeasure κ := by
64
+ have hm (s : ℝ≥0) : Measurable (B s) := hBm.comp (measurable_const.prodMk measurable_id)
65
+ have hp := source_path_measurable (sourceDriverPath B hc) hm
66
+ have hy := source_path_measurable
67
+ (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc))
68
+ (scaledBrownianDriver_measurable c B hm)
69
+ have h := bind_comp_eq_of_path_law P _ _ hy hp
70
+ (scaledBrownianDriver_path_law c hcp B hB hm hc) R.terminal R.terminal_measurable
71
+ change P.bind (scaledRawTerminal R c B hc)=_ at h
72
+ rw [h,Measure.bind_congr_right (he.mono (fun _ h => h.2)),C.rational.mean]
73
+
74
+ include C in
75
+ omit [IsProbabilityMeasure P] in
76
+ lemma CanonicalMass.deterministic_green_kernel (t : ℝ≥0) (E : Set Ω)
77
+ (hE : MeasurableSet[(Filtration.natural B (fun s =>
78
+ (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)) t] E) :
79
+ (P.restrict E).bind C.rational.terminal=(P.restrict E).bind (C.process t)+
80
+ (P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t) := by
81
+ let ℱ := Filtration.natural B (fun s =>
82
+ (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)
83
+ have hs := isStoppingTime_const ℱ t
84
+ have hEs : MeasurableSet[hs.measurableSpace] E := by
85
+ change MeasurableSet[(isStoppingTime_const ℱ t).measurableSpace] E
86
+ rw [IsStoppingTime.measurableSpace_const]
87
+ exact hE
88
+ have h := C.kernel (fun _ => (t:WithTop ℝ≥0)) hs E hEs
89
+ change (P.restrict E).bind C.rational.terminal=(P.restrict E).bind (C.process t)+
90
+ (P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t) at h
91
+ exact h
92
+
93
+ include C hB hc R he c hcp in
94
+ lemma CanonicalMass.scaledRawMass_cross_kernel
95
+ (F : Ω → ℝ≥0 → ℂ → ℂ)
96
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
97
+ (t : ℝ≥0) (E : Set Ω)
98
+ (hE : MeasurableSet[(Filtration.natural B (fun s =>
99
+ (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)) t] E) :
100
+ (P.restrict E).bind (fun ω => dilationMass κ c hcp (C.rational.terminal ω))+
101
+ (P.restrict E).bind (scaledRawMass R c B hc t)=
102
+ (P.restrict E).bind (scaledRawTerminal R c B hc)+
103
+ (P.restrict E).bind (fun ω => dilationMass κ c hcp (C.process t ω)) := by
104
+ have hm (s : ℝ≥0) : Measurable (B s) := hBm.comp (measurable_const.prodMk measurable_id)
105
+ have hCm := C.progressive.adapted.measurable (i:=t)
106
+ have hGm := halfPlaneGreenMeasure_measurable hBm hc κ γ G F hw t
107
+ have hdm : Measurable (dilationMass κ c hcp) := conformalMass_measurable _ _
108
+ have hNm := (scaledRawMass_adapted R c hcp B hm hc).measurable (i:=t)
109
+ have hd := congrArg (dilationMass κ c hcp) (C.deterministic_green_kernel t E hE)
110
+ change dilationMass κ c hcp ((P.restrict E).bind C.rational.terminal)=
111
+ conformalMass (halfPlaneDilation c hcp) _
112
+ ((P.restrict E).bind (C.process t)+(P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t)) at hd
113
+ rw [conformalMass_add] at hd
114
+ change dilationMass κ c hcp ((P.restrict E).bind C.rational.terminal)=
115
+ dilationMass κ c hcp ((P.restrict E).bind (C.process t))+
116
+ dilationMass κ c hcp ((P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t)) at hd
117
+ rw [← dilationMass_bind _ _ _ _ _ C.rational.terminal_measurable,
118
+ ← dilationMass_bind _ _ _ _ _ hCm,← dilationMass_bind _ _ _ _ _ hGm] at hd
119
+ have hr := C.raw_scaled_green_kernel hB hc F hw R he c hcp t E hE
120
+ dsimp only at hr
121
+ simp_rw [canonicalGreenMass_scaled κ B hc γ G F hw c hcp t] at hr
122
+ change (P.restrict E).bind (scaledRawTerminal R c B hc)=
123
+ (P.restrict E).bind (fun ω => scaledRawMass R c B hc t ω+
124
+ dilationMass κ c hcp (halfPlaneGreenMeasure κ B γ G t ω)) at hr
125
+ have hD : Measurable (fun ω => dilationMass κ c hcp (halfPlaneGreenMeasure κ B γ G t ω)) :=
126
+ hdm.comp hGm
127
+ rw [bind_kernel_add _ _ _ hNm hD] at hr
128
+ rw [hd,hr]
129
+ ac_rfl
130
+
131
+ end SLEExactGauge.Multipoint
132
+
133
+ end
134
+
135
+ end OAI
lean/OAI/Probability/SLE/Mass/RawScaledMassPaths.lean CHANGED
@@ -1,109 +1,109 @@
1
- import OAI.Probability.SLE.Loewner.RawScaledGreenKernel
2
- import OAI.Probability.SLE.Loewner.RawTerminalExhaustion
3
- import OAI.Probability.SLE.Loewner.StoppedInversePaths
4
-
5
- namespace OAI
6
-
7
- /-! One raw canonical functional has a measurable full-law certificate
8
- for continuous positive mass paths. Brownian scaling preserves it. -/
9
-
10
- noncomputable section
11
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
12
- open scoped Topology NNReal ENNReal CompactlySupported
13
-
14
- namespace SLEExactGauge.Multipoint
15
-
16
- local instance rawScaledMassMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
- local instance rawScaledMassBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
- local instance rawScaledMassLocallyCompact : LocallyCompactSpace upperHalfPlane :=
19
- isOpen_upperHalfPlane.locallyCompactSpace
20
-
21
- variable {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
22
- {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
23
- {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
24
-
25
- omit [IsProbabilityMeasure P] in
26
- lemma CanonicalMass.exists_raw_positive_paths (C : CanonicalMass P κ B hBm γ G)
27
- (hc : ∀ ω, Continuous (fun t => B t ω)) :
28
- ∃ R : RawCanonicalMass,
29
- (∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
30
- R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω) ∧
31
- ∃ E : Set C(ℝ≥0,ℝ), MeasurableSet E ∧
32
- (∀ᵐ p ∂P.map (sourceDriverPath B hc), p ∈ E) ∧
33
- ∀ p ∈ E, PositiveMassPaths (fun t => R.process t p) (R.terminal p) := by
34
- obtain ⟨N,E,hNp,hNr,hNn,hEm,hEf,hEp,he⟩ := C.exists_raw_nonanticipating_with_good_set hc
35
- let R : RawCanonicalMass := ⟨N,rawTerminalMass N,hNp,hNr,
36
- rawTerminalMass_measurable N hNp hNr,rawTerminalMass_radon N,hNn⟩
37
- obtain ⟨hTm,hTf,hTp⟩ := C.raw_terminal_good_set hc N hNp hNr he
38
- refine ⟨R,?_,E ∩ {p | RawTerminalGood (localTestFamily upperHalfPlane)
39
- (fun t => N t p) (rawTerminalMass N p)},hEm.inter hTm,?_,?_⟩
40
- · filter_upwards [he,C.rawTerminal_realizes hc N he] with ω hω ht
41
- exact ⟨hω,ht⟩
42
- · exact hEf.and hTf
43
- · intro p hp
44
- obtain ⟨hz,hm,hcont⟩ := hEp p hp.1
45
- exact ⟨hz,hm,(hTp p hp.2 hm).1,(fun t => hNr t p),fun f _ => hcont f⟩
46
-
47
- def scaledRawMass (R : RawCanonicalMass) (c : ℝ≥0)
48
- (B : ℝ≥0 → Ω → ℝ) (hc : ∀ ω, Continuous (fun t => B t ω))
49
- (t : ℝ≥0) (ω : Ω) : Measure upperHalfPlane :=
50
- R.process (c^2*t) (sourceDriverPath (scaledBrownianDriver c B)
51
- (scaledBrownianDriver_continuous c B hc) ω)
52
-
53
- def scaledRawTerminal (R : RawCanonicalMass) (c : ℝ≥0)
54
- (B : ℝ≥0 → Ω → ℝ) (hc : ∀ ω, Continuous (fun t => B t ω))
55
- (ω : Ω) : Measure upperHalfPlane :=
56
- R.terminal (sourceDriverPath (scaledBrownianDriver c B)
57
- (scaledBrownianDriver_continuous c B hc) ω)
58
-
59
- lemma scaledRawMass_adapted (R : RawCanonicalMass) (c : ℝ≥0) (hcp : 0 < c)
60
- (B : ℝ≥0 → Ω → ℝ) (hm : ∀ t, Measurable (B t))
61
- (hc : ∀ ω, Continuous (fun t => B t ω)) :
62
- Adapted (Filtration.natural B (fun s => (hm s).stronglyMeasurable)) (scaledRawMass R c B hc) := by
63
- let ℱc := Filtration.natural (scaledBrownianDriver c B)
64
- (fun s => (scaledBrownianDriver_measurable c B hm s).stronglyMeasurable)
65
- let Y := sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc)
66
- have hY : Adapted ℱc (fun t ω => Y ω t) := fun t =>
67
- (Filtration.stronglyAdapted_natural
68
- (fun s => (scaledBrownianDriver_measurable c B hm s).stronglyMeasurable) t).measurable
69
- have hp := (raw_process_comp_progressive ℱc Y hY R.process R.progressive).adapted
70
- intro t
71
- have h := hp (c^2*t)
72
- change Measurable[ℱc (c^2*t)] (scaledRawMass R c B hc t) at h
73
- rwa [show ℱc (c^2*t)=(Filtration.natural B (fun s => (hm s).stronglyMeasurable)) t from
74
- scaledBrownianDriver_filtration c hcp B hm t] at h
75
-
76
- omit [IsProbabilityMeasure P] in
77
- lemma scaledRawMass_positive_paths
78
- (R : RawCanonicalMass) (E : Set C(ℝ≥0,ℝ)) (hE : MeasurableSet E)
79
- (B : ℝ≥0 → Ω → ℝ) (hB : IsBrownianReal B P)
80
- (hm : ∀ t, Measurable (B t)) (hc : ∀ ω, Continuous (fun t => B t ω))
81
- (hEf : ∀ᵐ p ∂P.map (sourceDriverPath B hc), p ∈ E)
82
- (hEp : ∀ p ∈ E, PositiveMassPaths (fun t => R.process t p) (R.terminal p))
83
- (c : ℝ≥0) (hcp : 0 < c) :
84
- ∀ᵐ ω ∂P, PositiveMassPaths (fun t => scaledRawMass R c B hc t ω)
85
- (scaledRawTerminal R c B hc ω) := by
86
- have hY := source_path_measurable
87
- (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc))
88
- (scaledBrownianDriver_measurable c B hm)
89
- have hf : ∀ᵐ p ∂P.map (sourceDriverPath (scaledBrownianDriver c B)
90
- (scaledBrownianDriver_continuous c B hc)), p ∈ E := by
91
- rwa [scaledBrownianDriver_path_law c hcp B hB hm hc]
92
- filter_upwards [(ae_map_iff hY.aemeasurable hE).mp hf] with ω hω
93
- have hp := hEp _ hω
94
- refine ⟨?_,?_,?_,?_,?_⟩
95
- · simpa only [scaledRawMass,mul_zero] using hp.zero
96
- · intro s t hst
97
- exact hp.monotone (mul_le_mul_of_nonneg_left hst zero_le)
98
- · intro t
99
- exact hp.dominated (c^2*t)
100
- · intro t
101
- exact hp.radon (c^2*t)
102
- · intro f hfp
103
- exact (hp.continuous_tests f hfp).comp (continuous_const.mul continuous_id)
104
-
105
- end SLEExactGauge.Multipoint
106
-
107
- end
108
-
109
- end OAI
 
1
+ import OAI.Probability.SLE.Loewner.RawScaledGreenKernel
2
+ import OAI.Probability.SLE.Loewner.RawTerminalExhaustion
3
+ import OAI.Probability.SLE.Loewner.StoppedInversePaths
4
+
5
+ namespace OAI
6
+
7
+ /-! One raw canonical functional has a measurable full-law certificate
8
+ for continuous positive mass paths. Brownian scaling preserves it. -/
9
+
10
+ noncomputable section
11
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
12
+ open scoped Topology NNReal ENNReal CompactlySupported
13
+
14
+ namespace SLEExactGauge.Multipoint
15
+
16
+ local instance rawScaledMassMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
+ local instance rawScaledMassBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
+ local instance rawScaledMassLocallyCompact : LocallyCompactSpace upperHalfPlane :=
19
+ isOpen_upperHalfPlane.locallyCompactSpace
20
+
21
+ variable {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
22
+ {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
23
+ {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
24
+
25
+ omit [IsProbabilityMeasure P] in
26
+ lemma CanonicalMass.exists_raw_positive_paths (C : CanonicalMass P κ B hBm γ G)
27
+ (hc : ∀ ω, Continuous (fun t => B t ω)) :
28
+ ∃ R : RawCanonicalMass,
29
+ (∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
30
+ R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω) ∧
31
+ ∃ E : Set C(ℝ≥0,ℝ), MeasurableSet E ∧
32
+ (∀ᵐ p ∂P.map (sourceDriverPath B hc), p ∈ E) ∧
33
+ ∀ p ∈ E, PositiveMassPaths (fun t => R.process t p) (R.terminal p) := by
34
+ obtain ⟨N,E,hNp,hNr,hNn,hEm,hEf,hEp,he⟩ := C.exists_raw_nonanticipating_with_good_set hc
35
+ let R : RawCanonicalMass := ⟨N,rawTerminalMass N,hNp,hNr,
36
+ rawTerminalMass_measurable N hNp hNr,rawTerminalMass_radon N,hNn⟩
37
+ obtain ⟨hTm,hTf,hTp⟩ := C.raw_terminal_good_set hc N hNp hNr he
38
+ refine ⟨R,?_,E ∩ {p | RawTerminalGood (localTestFamily upperHalfPlane)
39
+ (fun t => N t p) (rawTerminalMass N p)},hEm.inter hTm,?_,?_⟩
40
+ · filter_upwards [he,C.rawTerminal_realizes hc N he] with ω hω ht
41
+ exact ⟨hω,ht⟩
42
+ · exact hEf.and hTf
43
+ · intro p hp
44
+ obtain ⟨hz,hm,hcont⟩ := hEp p hp.1
45
+ exact ⟨hz,hm,(hTp p hp.2 hm).1,(fun t => hNr t p),fun f _ => hcont f⟩
46
+
47
+ def scaledRawMass (R : RawCanonicalMass) (c : ℝ≥0)
48
+ (B : ℝ≥0 → Ω → ℝ) (hc : ∀ ω, Continuous (fun t => B t ω))
49
+ (t : ℝ≥0) (ω : Ω) : Measure upperHalfPlane :=
50
+ R.process (c^2*t) (sourceDriverPath (scaledBrownianDriver c B)
51
+ (scaledBrownianDriver_continuous c B hc) ω)
52
+
53
+ def scaledRawTerminal (R : RawCanonicalMass) (c : ℝ≥0)
54
+ (B : ℝ≥0 → Ω → ℝ) (hc : ∀ ω, Continuous (fun t => B t ω))
55
+ (ω : Ω) : Measure upperHalfPlane :=
56
+ R.terminal (sourceDriverPath (scaledBrownianDriver c B)
57
+ (scaledBrownianDriver_continuous c B hc) ω)
58
+
59
+ lemma scaledRawMass_adapted (R : RawCanonicalMass) (c : ℝ≥0) (hcp : 0 < c)
60
+ (B : ℝ≥0 → Ω → ℝ) (hm : ∀ t, Measurable (B t))
61
+ (hc : ∀ ω, Continuous (fun t => B t ω)) :
62
+ Adapted (Filtration.natural B (fun s => (hm s).stronglyMeasurable)) (scaledRawMass R c B hc) := by
63
+ let ℱc := Filtration.natural (scaledBrownianDriver c B)
64
+ (fun s => (scaledBrownianDriver_measurable c B hm s).stronglyMeasurable)
65
+ let Y := sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc)
66
+ have hY : Adapted ℱc (fun t ω => Y ω t) := fun t =>
67
+ (Filtration.stronglyAdapted_natural
68
+ (fun s => (scaledBrownianDriver_measurable c B hm s).stronglyMeasurable) t).measurable
69
+ have hp := (raw_process_comp_progressive ℱc Y hY R.process R.progressive).adapted
70
+ intro t
71
+ have h := hp (c^2*t)
72
+ change Measurable[ℱc (c^2*t)] (scaledRawMass R c B hc t) at h
73
+ rwa [show ℱc (c^2*t)=(Filtration.natural B (fun s => (hm s).stronglyMeasurable)) t from
74
+ scaledBrownianDriver_filtration c hcp B hm t] at h
75
+
76
+ omit [IsProbabilityMeasure P] in
77
+ lemma scaledRawMass_positive_paths
78
+ (R : RawCanonicalMass) (E : Set C(ℝ≥0,ℝ)) (hE : MeasurableSet E)
79
+ (B : ℝ≥0 → Ω → ℝ) (hB : IsBrownianReal B P)
80
+ (hm : ∀ t, Measurable (B t)) (hc : ∀ ω, Continuous (fun t => B t ω))
81
+ (hEf : ∀ᵐ p ∂P.map (sourceDriverPath B hc), p ∈ E)
82
+ (hEp : ∀ p ∈ E, PositiveMassPaths (fun t => R.process t p) (R.terminal p))
83
+ (c : ℝ≥0) (hcp : 0 < c) :
84
+ ∀ᵐ ω ∂P, PositiveMassPaths (fun t => scaledRawMass R c B hc t ω)
85
+ (scaledRawTerminal R c B hc ω) := by
86
+ have hY := source_path_measurable
87
+ (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc))
88
+ (scaledBrownianDriver_measurable c B hm)
89
+ have hf : ∀ᵐ p ∂P.map (sourceDriverPath (scaledBrownianDriver c B)
90
+ (scaledBrownianDriver_continuous c B hc)), p ∈ E := by
91
+ rwa [scaledBrownianDriver_path_law c hcp B hB hm hc]
92
+ filter_upwards [(ae_map_iff hY.aemeasurable hE).mp hf] with ω hω
93
+ have hp := hEp _ hω
94
+ refine ⟨?_,?_,?_,?_,?_⟩
95
+ · simpa only [scaledRawMass,mul_zero] using hp.zero
96
+ · intro s t hst
97
+ exact hp.monotone (mul_le_mul_of_nonneg_left hst zero_le)
98
+ · intro t
99
+ exact hp.dominated (c^2*t)
100
+ · intro t
101
+ exact hp.radon (c^2*t)
102
+ · intro f hfp
103
+ exact (hp.continuous_tests f hfp).comp (continuous_const.mul continuous_id)
104
+
105
+ end SLEExactGauge.Multipoint
106
+
107
+ end
108
+
109
+ end OAI
lean/OAI/Probability/SLE/Mass/RestartMassCoordinates.lean CHANGED
@@ -1,87 +1,87 @@
1
- import OAI.Probability.SLE.Mass.ConformalMassTransport
2
- import OAI.Probability.SLE.Geometry.RestartConformalRadius
3
-
4
- namespace OAI
5
-
6
- /-! The actual centered inverse Loewner map and its mass weight.
7
- These are defined only on interior points; no boundary extension is used. -/
8
-
9
- noncomputable section
10
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory Classical
11
- open scoped NNReal ENNReal Topology CompactlySupported
12
-
13
- namespace SLEExactGauge
14
-
15
- def IsCapacityTwoWitness.restartHomeomorph
16
- {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
17
- (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) :
18
- upperHalfPlane ≃ₜ survivingDomain γ T := by
19
- rcases hw with ⟨hc,_,_,hG,hF,hGM,hFM,hFG,hGF,_,_,_,_⟩
20
- have hshift (z : upperHalfPlane) : (z:ℂ)+(U T:ℂ) ∈ upperHalfPlane := by
21
- simpa only [upperHalfPlane,mem_ofPred_eq,Complex.add_im,Complex.ofReal_im,add_zero]
22
- using z.property
23
- have hback (z : survivingDomain γ T) : G T z-(U T:ℂ) ∈ upperHalfPlane := by
24
- simpa only [upperHalfPlane,mem_ofPred_eq,Complex.sub_im,Complex.ofReal_im,sub_zero]
25
- using hGM T z.property
26
- refine {
27
- toFun := fun z => ⟨F T ((z:ℂ)+(U T:ℂ)),hFM T (hshift z)⟩
28
- invFun := fun z => ⟨G T z-(U T:ℂ),hback z⟩
29
- left_inv := ?_
30
- right_inv := ?_
31
- continuous_toFun := ?_
32
- continuous_invFun := ?_ }
33
- · intro z
34
- apply Subtype.ext
35
- exact (congrArg (fun v : ℂ => v-(U T:ℂ)) (hGF T _ (hshift z))).trans
36
- (add_sub_cancel_right _ _)
37
- · intro z
38
- apply Subtype.ext
39
- change F T ((G T z-(U T:ℂ))+(U T:ℂ)) = z
40
- rw [sub_add_cancel,hFG T _ z.property]
41
- · exact ((hF T).continuousOn.comp_continuous
42
- (continuous_subtype_val.add continuous_const) hshift).subtype_mk _
43
- · exact (((hG T).continuousOn.comp_continuous continuous_subtype_val
44
- (fun z => z.property)).sub continuous_const).subtype_mk _
45
-
46
- @[simp] lemma IsCapacityTwoWitness.restartHomeomorph_apply
47
- {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
48
- (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) (z : upperHalfPlane) :
49
- ((hw.restartHomeomorph T z : survivingDomain γ T):ℂ) = F T ((z:ℂ)+(U T:ℂ)) := by
50
- rcases hw with ⟨hc,h0,hi,hG,hF,hGM,hFM,hFG,hGF,hG0,hode,hn,ht⟩
51
- rfl
52
-
53
- def IsCapacityTwoWitness.restartMassWeight
54
- {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
55
- (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) (κ : ℝ) (hκ : 0 < κ) :
56
- C(upperHalfPlane, ℝ≥0) where
57
- toFun z := ⟨‖deriv (F T) ((z:ℂ)+(U T:ℂ))‖ ^ (1+κ/8),Real.rpow_nonneg (norm_nonneg _) _⟩
58
- continuous_toFun := by
59
- have hshift (z : upperHalfPlane) : (z:ℂ)+(U T:ℂ) ∈ upperHalfPlane := by
60
- simpa only [upperHalfPlane,mem_ofPred_eq,Complex.add_im,Complex.ofReal_im,add_zero]
61
- using z.property
62
- have hd := (hw.2.2.2.2.1 T).deriv isOpen_upperHalfPlane
63
- have hc := hd.continuousOn.comp_continuous
64
- (continuous_subtype_val.add continuous_const) hshift
65
- exact ((Real.continuous_rpow_const (by linarith : 0 ≤ 1+κ/8)).comp hc.norm).subtype_mk _
66
-
67
- def IsCapacityTwoWitness.restartMass
68
- {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
69
- (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) (κ : ℝ) (hκ : 0 < κ)
70
- (μ : Measure upperHalfPlane) : Measure (survivingDomain γ T) :=
71
- Multipoint.conformalMass (hw.restartHomeomorph T) (hw.restartMassWeight T κ hκ) μ
72
-
73
- lemma IsCapacityTwoWitness.restartMass_integral
74
- {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
75
- (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) (κ : ℝ) (hκ : 0 < κ)
76
- (μ : Measure upperHalfPlane) (f : C_c(survivingDomain γ T, ℝ)) :
77
- (∫ z, f z ∂hw.restartMass T κ hκ μ) =
78
- ∫ z : upperHalfPlane, ‖deriv (F T) ((z:ℂ)+(U T:ℂ))‖ ^ (1+κ/8) *
79
- f (hw.restartHomeomorph T z) ∂μ :=
80
- Multipoint.conformalMass_integral (hw.restartHomeomorph T)
81
- (hw.restartMassWeight T κ hκ) μ f
82
-
83
- end SLEExactGauge
84
-
85
- end
86
-
87
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.ConformalMassTransport
2
+ import OAI.Probability.SLE.Geometry.RestartConformalRadius
3
+
4
+ namespace OAI
5
+
6
+ /-! The actual centered inverse Loewner map and its mass weight.
7
+ These are defined only on interior points; no boundary extension is used. -/
8
+
9
+ noncomputable section
10
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory Classical
11
+ open scoped NNReal ENNReal Topology CompactlySupported
12
+
13
+ namespace SLEExactGauge
14
+
15
+ def IsCapacityTwoWitness.restartHomeomorph
16
+ {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
17
+ (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) :
18
+ upperHalfPlane ≃ₜ survivingDomain γ T := by
19
+ rcases hw with ⟨hc,_,_,hG,hF,hGM,hFM,hFG,hGF,_,_,_,_⟩
20
+ have hshift (z : upperHalfPlane) : (z:ℂ)+(U T:ℂ) ∈ upperHalfPlane := by
21
+ simpa only [upperHalfPlane,mem_ofPred_eq,Complex.add_im,Complex.ofReal_im,add_zero]
22
+ using z.property
23
+ have hback (z : survivingDomain γ T) : G T z-(U T:ℂ) ∈ upperHalfPlane := by
24
+ simpa only [upperHalfPlane,mem_ofPred_eq,Complex.sub_im,Complex.ofReal_im,sub_zero]
25
+ using hGM T z.property
26
+ refine {
27
+ toFun := fun z => ⟨F T ((z:ℂ)+(U T:ℂ)),hFM T (hshift z)⟩
28
+ invFun := fun z => ⟨G T z-(U T:ℂ),hback z⟩
29
+ left_inv := ?_
30
+ right_inv := ?_
31
+ continuous_toFun := ?_
32
+ continuous_invFun := ?_ }
33
+ · intro z
34
+ apply Subtype.ext
35
+ exact (congrArg (fun v : ℂ => v-(U T:ℂ)) (hGF T _ (hshift z))).trans
36
+ (add_sub_cancel_right _ _)
37
+ · intro z
38
+ apply Subtype.ext
39
+ change F T ((G T z-(U T:ℂ))+(U T:ℂ)) = z
40
+ rw [sub_add_cancel,hFG T _ z.property]
41
+ · exact ((hF T).continuousOn.comp_continuous
42
+ (continuous_subtype_val.add continuous_const) hshift).subtype_mk _
43
+ · exact (((hG T).continuousOn.comp_continuous continuous_subtype_val
44
+ (fun z => z.property)).sub continuous_const).subtype_mk _
45
+
46
+ @[simp] lemma IsCapacityTwoWitness.restartHomeomorph_apply
47
+ {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
48
+ (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) (z : upperHalfPlane) :
49
+ ((hw.restartHomeomorph T z : survivingDomain γ T):ℂ) = F T ((z:ℂ)+(U T:ℂ)) := by
50
+ rcases hw with ⟨hc,h0,hi,hG,hF,hGM,hFM,hFG,hGF,hG0,hode,hn,ht⟩
51
+ rfl
52
+
53
+ def IsCapacityTwoWitness.restartMassWeight
54
+ {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
55
+ (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) (κ : ℝ) (hκ : 0 < κ) :
56
+ C(upperHalfPlane, ℝ≥0) where
57
+ toFun z := ⟨‖deriv (F T) ((z:ℂ)+(U T:ℂ))‖ ^ (1+κ/8),Real.rpow_nonneg (norm_nonneg _) _⟩
58
+ continuous_toFun := by
59
+ have hshift (z : upperHalfPlane) : (z:ℂ)+(U T:ℂ) ∈ upperHalfPlane := by
60
+ simpa only [upperHalfPlane,mem_ofPred_eq,Complex.add_im,Complex.ofReal_im,add_zero]
61
+ using z.property
62
+ have hd := (hw.2.2.2.2.1 T).deriv isOpen_upperHalfPlane
63
+ have hc := hd.continuousOn.comp_continuous
64
+ (continuous_subtype_val.add continuous_const) hshift
65
+ exact ((Real.continuous_rpow_const (by linarith : 0 ≤ 1+κ/8)).comp hc.norm).subtype_mk _
66
+
67
+ def IsCapacityTwoWitness.restartMass
68
+ {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
69
+ (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) (κ : ℝ) (hκ : 0 < κ)
70
+ (μ : Measure upperHalfPlane) : Measure (survivingDomain γ T) :=
71
+ Multipoint.conformalMass (hw.restartHomeomorph T) (hw.restartMassWeight T κ hκ) μ
72
+
73
+ lemma IsCapacityTwoWitness.restartMass_integral
74
+ {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
75
+ (hw : IsCapacityTwoWitness U γ G F) (T : ℝ≥0) (κ : ℝ) (hκ : 0 < κ)
76
+ (μ : Measure upperHalfPlane) (f : C_c(survivingDomain γ T, ℝ)) :
77
+ (∫ z, f z ∂hw.restartMass T κ hκ μ) =
78
+ ∫ z : upperHalfPlane, ‖deriv (F T) ((z:ℂ)+(U T:ℂ))‖ ^ (1+κ/8) *
79
+ f (hw.restartHomeomorph T z) ∂μ :=
80
+ Multipoint.conformalMass_integral (hw.restartHomeomorph T)
81
+ (hw.restartMassWeight T κ hκ) μ f
82
+
83
+ end SLEExactGauge
84
+
85
+ end
86
+
87
+ end OAI
lean/OAI/Probability/SLE/Mass/RestartRandomMassTesting.lean CHANGED
@@ -1,55 +1,55 @@
1
- import OAI.Probability.SLE.Mass.RadonRandomTesting
2
- import OAI.Probability.SLE.Geometry.RandomRestartEvents
3
-
4
- namespace OAI
5
-
6
- /-! The fresh-driver law may be tested against a random spatial weight
7
- measurable in the stopped past. This is the conditional-Tonelli step for
8
- the restart candidate, before invoking uniqueness. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory ProbabilityTheory Classical
12
- open scoped ENNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- lemma fresh_mass_test_joint_measurable
17
- {Ω X : Type*} [MeasurableSpace Ω] [MeasurableSpace X]
18
- (M : X → Measure upperHalfPlane) (hM : Measurable M)
19
- (hMf : ∀ x, IsFiniteMeasureOnCompacts (M x))
20
- (f : Ω × upperHalfPlane → ℝ≥0∞) (hf : Measurable f) :
21
- Measurable (fun p : Ω × X => ∫⁻ z, f (p.1,z) ∂M p.2) := by
22
- exact halfPlane_random_test_measurable (fun p : Ω × X => M p.2)
23
- (hM.comp measurable_snd) (fun p => hMf p.2)
24
- (fun p : (Ω × X) × upperHalfPlane => f (p.1.1,p.2))
25
- (hf.comp (measurable_fst.fst.prodMk measurable_snd))
26
-
27
- theorem restart_random_mass_test
28
- {Ω X : Type*} [mΩ : MeasurableSpace Ω] [mX : MeasurableSpace X]
29
- (P : Measure Ω) [IsFiniteMeasure P] (ν : Measure X) [IsFiniteMeasure ν]
30
- (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
31
- (Y : Ω → X) (hY : Measurable[mΩ] Y)
32
- (hlaw : ∀ A : Set Ω, MeasurableSet[m] A →
33
- @Measure.map Ω X mΩ mX Y (P.restrict A) = P A • ν)
34
- (M : X → Measure upperHalfPlane) (hM : Measurable M)
35
- (hMf : ∀ x, IsFiniteMeasureOnCompacts (M x))
36
- (f : Ω × upperHalfPlane → ℝ≥0∞)
37
- (hf : Measurable[m.prod inferInstance] f) :
38
- (∫⁻ ω, ∫⁻ z, f (ω,z) ∂M (Y ω) ∂P) =
39
- ∫⁻ ω, ∫⁻ z, f (ω,z) ∂ν.bind M ∂P := by
40
- let : MeasurableSpace Ω := mΩ
41
- have hg : Measurable[m.prod mX]
42
- (fun p : Ω × X => ∫⁻ z, f (p.1,z) ∂M p.2) :=
43
- @fresh_mass_test_joint_measurable Ω X m mX M hM hMf f hf
44
- rw [@restart_lintegral_random_test Ω X mΩ mX P inferInstance ν inferInstance
45
- m hm Y hY hlaw _ hg]
46
- apply lintegral_congr
47
- intro ω
48
- exact (Measure.lintegral_bind hM.aemeasurable
49
- (hf.comp (measurable_const.prodMk measurable_id)).aemeasurable).symm
50
-
51
- end SLEExactGauge
52
-
53
- end
54
-
55
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RadonRandomTesting
2
+ import OAI.Probability.SLE.Geometry.RandomRestartEvents
3
+
4
+ namespace OAI
5
+
6
+ /-! The fresh-driver law may be tested against a random spatial weight
7
+ measurable in the stopped past. This is the conditional-Tonelli step for
8
+ the restart candidate, before invoking uniqueness. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory ProbabilityTheory Classical
12
+ open scoped ENNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ lemma fresh_mass_test_joint_measurable
17
+ {Ω X : Type*} [MeasurableSpace Ω] [MeasurableSpace X]
18
+ (M : X → Measure upperHalfPlane) (hM : Measurable M)
19
+ (hMf : ∀ x, IsFiniteMeasureOnCompacts (M x))
20
+ (f : Ω × upperHalfPlane → ℝ≥0∞) (hf : Measurable f) :
21
+ Measurable (fun p : Ω × X => ∫⁻ z, f (p.1,z) ∂M p.2) := by
22
+ exact halfPlane_random_test_measurable (fun p : Ω × X => M p.2)
23
+ (hM.comp measurable_snd) (fun p => hMf p.2)
24
+ (fun p : (Ω × X) × upperHalfPlane => f (p.1.1,p.2))
25
+ (hf.comp (measurable_fst.fst.prodMk measurable_snd))
26
+
27
+ theorem restart_random_mass_test
28
+ {Ω X : Type*} [mΩ : MeasurableSpace Ω] [mX : MeasurableSpace X]
29
+ (P : Measure Ω) [IsFiniteMeasure P] (ν : Measure X) [IsFiniteMeasure ν]
30
+ (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
31
+ (Y : Ω → X) (hY : Measurable[mΩ] Y)
32
+ (hlaw : ∀ A : Set Ω, MeasurableSet[m] A →
33
+ @Measure.map Ω X mΩ mX Y (P.restrict A) = P A • ν)
34
+ (M : X → Measure upperHalfPlane) (hM : Measurable M)
35
+ (hMf : ∀ x, IsFiniteMeasureOnCompacts (M x))
36
+ (f : Ω × upperHalfPlane → ℝ≥0∞)
37
+ (hf : Measurable[m.prod inferInstance] f) :
38
+ (∫⁻ ω, ∫⁻ z, f (ω,z) ∂M (Y ω) ∂P) =
39
+ ∫⁻ ω, ∫⁻ z, f (ω,z) ∂ν.bind M ∂P := by
40
+ let : MeasurableSpace Ω := mΩ
41
+ have hg : Measurable[m.prod mX]
42
+ (fun p : Ω × X => ∫⁻ z, f (p.1,z) ∂M p.2) :=
43
+ @fresh_mass_test_joint_measurable Ω X m mX M hM hMf f hf
44
+ rw [@restart_lintegral_random_test Ω X mΩ mX P inferInstance ν inferInstance
45
+ m hm Y hY hlaw _ hg]
46
+ apply lintegral_congr
47
+ intro ω
48
+ exact (Measure.lintegral_bind hM.aemeasurable
49
+ (hf.comp (measurable_const.prodMk measurable_id)).aemeasurable).symm
50
+
51
+ end SLEExactGauge
52
+
53
+ end
54
+
55
+ end OAI
lean/OAI/Probability/SLE/Mass/RestartStoppedMass.lean CHANGED
@@ -1,93 +1,93 @@
1
- import OAI.Probability.SLE.Geometry.NormalizedRestartKernel
2
- import OAI.Probability.SLE.Gauge.ConformalDenseExperiment
3
-
4
- namespace OAI
5
-
6
- /-! A dense mass generated by the normalized fresh trace is present in the
7
- original stopped trace at the corresponding physical radius level. -/
8
-
9
- noncomputable section
10
- open Set Filter Metric MeasureTheory
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge
14
- open FrontSuccessMeasurability
15
-
16
- lemma segmentSausageCharge_clock_le
17
- (κ : ℝ) (γ η : C(ℝ≥0, ℂ)) (T c σ : ℝ≥0)
18
- (hpath : ∀ t, η t = γ (T + c * t)) (v : ℝ) (D : Set ℂ) :
19
- segmentSausageCharge κ η 0 σ v D ≤ segmentSausageCharge κ γ 0 (T + c * σ) v D := by
20
- apply mul_le_mul' le_rfl
21
- apply measure_mono
22
- rintro z ⟨hz, t, ht, hdist⟩
23
- refine ⟨hz, T + c * t, ⟨bot_le,
24
- add_le_add le_rfl (mul_le_mul_of_nonneg_left ht.2 (show 0 ≤ c from bot_le))⟩, ?_⟩
25
- simpa only [hpath t] using hdist
26
-
27
- lemma stoppedWholeSausageCharge_clock_le
28
- (κ : ℝ) (γ η : C(ℝ≥0, ℂ)) (T c σ : ℝ≥0) (ρ : WithTop ℝ≥0)
29
- (hpath : ∀ t, η t = γ (T + c * t))
30
- (hstop : ((T + c * σ : ℝ≥0) : WithTop ℝ≥0) ≤ ρ) (v : ℝ) (D : Set ℂ) :
31
- stoppedWholeSausageCharge κ η (σ : WithTop ℝ≥0) v D ≤
32
- stoppedWholeSausageCharge κ γ ρ v D := by
33
- rw [stoppedWholeSausageCharge_finite]
34
- exact (segmentSausageCharge_clock_le κ γ η T c σ hpath v D).trans
35
- (segmentSausageCharge_le_stoppedWhole κ γ _ ρ hstop v D)
36
-
37
- lemma IsCapacityTwoWitness.normalized_restart_level_of_live_source
38
- {U : ℝ≥0 → ℝ} {γ β : ℝ≥0 → ℂ} {G F G' F' : ℝ≥0 → ℂ → ℂ}
39
- (hw : IsCapacityTwoWitness U γ G F) (hU : Continuous U) (T a : ℝ≥0) (ha : 0 < a)
40
- (hb : IsCapacityTwoWitness (normalizedRestartDriver U T a) β G' F')
41
- (w : ℂ) (u v : ℝ)
42
- (hbase : fullRadius G T (F T ((a : ℂ) * w + (U T : ℂ))) =
43
- (2 * (F T ((a : ℂ) * w + (U T : ℂ))).im) * Real.exp (-u))
44
- (t : ℝ≥0) (ht : w ∈ survivingDomain β t)
45
- (hR : fullRadius G' t w = (2 * w.im) * Real.exp (-v)) :
46
- fullRadius G (T + a ^ 2 * t) (F T ((a : ℂ) * w + (U T : ℂ))) =
47
- (2 * (F T ((a : ℂ) * w + (U T : ℂ))).im) * Real.exp (-(u + v)) ∧
48
- radiusLevelTime γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + v) =
49
- (T + a ^ 2 * t : ℝ≥0) := by
50
- have hbup := normalized_restart_witness T a ha hb
51
- have haC : (a : ℂ) ≠ 0 := by exact_mod_cast ha.ne'
52
- have htu : (a : ℂ) * w ∈ survivingDomain (sourceScaleTrace a β) (a ^ 2 * t) := by
53
- rw [source_scale_domain_iff a _ ha β, source_scale_time_mul_sq a t ha,
54
- mul_div_cancel_left₀ w haC]
55
- exact ht
56
- have hRu : fullRadius (sourceScaleChart a G') (a ^ 2 * t) ((a : ℂ) * w) =
57
- (2 * ((a : ℂ) * w).im) * Real.exp (-v) := by
58
- rw [hb.scaled_radius a ha t w ht, hR]
59
- simp only [Complex.mul_im, Complex.ofReal_re, Complex.ofReal_im, zero_mul, add_zero]
60
- ring
61
- exact hw.restart_level_of_live_source hU T hbup ((a : ℂ) * w) u v hbase (a ^ 2 * t) htu hRu
62
-
63
- /-- At every finite source radius level, the stopped fresh physical mass
64
- is contained in the stopped original mass at the corresponding actual level. -/
65
- theorem IsCapacityTwoWitness.normalized_restart_stopped_mass_le
66
- {U : ℝ≥0 → ℝ} {γ β : ℝ≥0 → ℂ} {G F G' F' : ℝ≥0 → ℂ → ℂ}
67
- (hw : IsCapacityTwoWitness U γ G F) (hU : Continuous U) (T a : ℝ≥0) (ha : 0 < a)
68
- (hb : IsCapacityTwoWitness (normalizedRestartDriver U T a) β G' F')
69
- (w : ℂ) (u q : ℝ)
70
- (hbase : fullRadius G T (F T ((a : ℂ) * w + (U T : ℂ))) =
71
- (2 * (F T ((a : ℂ) * w + (U T : ℂ))).im) * Real.exp (-u))
72
- (η : C(ℝ≥0, ℂ)) (hpath : ∀ t, η t = γ (T + a ^ 2 * t))
73
- (hfinite : radiusLevelTime β G' w q < ∞) (κ v : ℝ) (D : Set ℂ) :
74
- stoppedWholeSausageCharge κ η (radiusLevelTime β G' w q) v D ≤
75
- stoppedWholeSausageCharge κ ⟨γ, hw.1⟩
76
- (radiusLevelTime γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + q)) v D := by
77
- have hV : Continuous (normalizedRestartDriver U T a) := by
78
- unfold normalizedRestartDriver
79
- fun_prop
80
- obtain ⟨t, ht, hR⟩ := exists_live_level_of_radiusLevelTime_lt_top β G' w q hfinite
81
- have hs := radiusLevelTime_eq_of_live_level hV hb w q t ht hR
82
- have hp := (hw.normalized_restart_level_of_live_source hU T a ha hb w u q hbase t ht hR).2
83
- have hs' : (radiusLevelTime β G' w q : WithTop ℝ≥0) = (t : WithTop ℝ≥0) := by exact_mod_cast hs
84
- have hp' : (radiusLevelTime γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + q) : WithTop ℝ≥0) =
85
- ((T + a ^ 2 * t : ℝ≥0) : WithTop ℝ≥0) := by exact_mod_cast hp
86
- rw [hs', hp']
87
- exact stoppedWholeSausageCharge_clock_le κ ⟨γ, hw.1⟩ η T (a ^ 2) t _ hpath le_rfl v D
88
-
89
- end SLEExactGauge
90
-
91
- end
92
-
93
- end OAI
 
1
+ import OAI.Probability.SLE.Geometry.NormalizedRestartKernel
2
+ import OAI.Probability.SLE.Gauge.ConformalDenseExperiment
3
+
4
+ namespace OAI
5
+
6
+ /-! A dense mass generated by the normalized fresh trace is present in the
7
+ original stopped trace at the corresponding physical radius level. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Metric MeasureTheory
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge
14
+ open FrontSuccessMeasurability
15
+
16
+ lemma segmentSausageCharge_clock_le
17
+ (κ : ℝ) (γ η : C(ℝ≥0, ℂ)) (T c σ : ℝ≥0)
18
+ (hpath : ∀ t, η t = γ (T + c * t)) (v : ℝ) (D : Set ℂ) :
19
+ segmentSausageCharge κ η 0 σ v D ≤ segmentSausageCharge κ γ 0 (T + c * σ) v D := by
20
+ apply mul_le_mul' le_rfl
21
+ apply measure_mono
22
+ rintro z ⟨hz, t, ht, hdist⟩
23
+ refine ⟨hz, T + c * t, ⟨bot_le,
24
+ add_le_add le_rfl (mul_le_mul_of_nonneg_left ht.2 (show 0 ≤ c from bot_le))⟩, ?_⟩
25
+ simpa only [hpath t] using hdist
26
+
27
+ lemma stoppedWholeSausageCharge_clock_le
28
+ (κ : ℝ) (γ η : C(ℝ≥0, ℂ)) (T c σ : ℝ≥0) (ρ : WithTop ℝ≥0)
29
+ (hpath : ∀ t, η t = γ (T + c * t))
30
+ (hstop : ((T + c * σ : ℝ≥0) : WithTop ℝ≥0) ≤ ρ) (v : ℝ) (D : Set ℂ) :
31
+ stoppedWholeSausageCharge κ η (σ : WithTop ℝ≥0) v D ≤
32
+ stoppedWholeSausageCharge κ γ ρ v D := by
33
+ rw [stoppedWholeSausageCharge_finite]
34
+ exact (segmentSausageCharge_clock_le κ γ η T c σ hpath v D).trans
35
+ (segmentSausageCharge_le_stoppedWhole κ γ _ ρ hstop v D)
36
+
37
+ lemma IsCapacityTwoWitness.normalized_restart_level_of_live_source
38
+ {U : ℝ≥0 → ℝ} {γ β : ℝ≥0 → ℂ} {G F G' F' : ℝ≥0 → ℂ → ℂ}
39
+ (hw : IsCapacityTwoWitness U γ G F) (hU : Continuous U) (T a : ℝ≥0) (ha : 0 < a)
40
+ (hb : IsCapacityTwoWitness (normalizedRestartDriver U T a) β G' F')
41
+ (w : ℂ) (u v : ℝ)
42
+ (hbase : fullRadius G T (F T ((a : ℂ) * w + (U T : ℂ))) =
43
+ (2 * (F T ((a : ℂ) * w + (U T : ℂ))).im) * Real.exp (-u))
44
+ (t : ℝ≥0) (ht : w ∈ survivingDomain β t)
45
+ (hR : fullRadius G' t w = (2 * w.im) * Real.exp (-v)) :
46
+ fullRadius G (T + a ^ 2 * t) (F T ((a : ℂ) * w + (U T : ℂ))) =
47
+ (2 * (F T ((a : ℂ) * w + (U T : ℂ))).im) * Real.exp (-(u + v)) ∧
48
+ radiusLevelTime γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + v) =
49
+ (T + a ^ 2 * t : ℝ≥0) := by
50
+ have hbup := normalized_restart_witness T a ha hb
51
+ have haC : (a : ℂ) ≠ 0 := by exact_mod_cast ha.ne'
52
+ have htu : (a : ℂ) * w ∈ survivingDomain (sourceScaleTrace a β) (a ^ 2 * t) := by
53
+ rw [source_scale_domain_iff a _ ha β, source_scale_time_mul_sq a t ha,
54
+ mul_div_cancel_left₀ w haC]
55
+ exact ht
56
+ have hRu : fullRadius (sourceScaleChart a G') (a ^ 2 * t) ((a : ℂ) * w) =
57
+ (2 * ((a : ℂ) * w).im) * Real.exp (-v) := by
58
+ rw [hb.scaled_radius a ha t w ht, hR]
59
+ simp only [Complex.mul_im, Complex.ofReal_re, Complex.ofReal_im, zero_mul, add_zero]
60
+ ring
61
+ exact hw.restart_level_of_live_source hU T hbup ((a : ℂ) * w) u v hbase (a ^ 2 * t) htu hRu
62
+
63
+ /-- At every finite source radius level, the stopped fresh physical mass
64
+ is contained in the stopped original mass at the corresponding actual level. -/
65
+ theorem IsCapacityTwoWitness.normalized_restart_stopped_mass_le
66
+ {U : ℝ≥0 → ℝ} {γ β : ℝ≥0 → ℂ} {G F G' F' : ℝ≥0 → ℂ → ℂ}
67
+ (hw : IsCapacityTwoWitness U γ G F) (hU : Continuous U) (T a : ℝ≥0) (ha : 0 < a)
68
+ (hb : IsCapacityTwoWitness (normalizedRestartDriver U T a) β G' F')
69
+ (w : ℂ) (u q : ℝ)
70
+ (hbase : fullRadius G T (F T ((a : ℂ) * w + (U T : ℂ))) =
71
+ (2 * (F T ((a : ℂ) * w + (U T : ℂ))).im) * Real.exp (-u))
72
+ (η : C(ℝ≥0, ℂ)) (hpath : ∀ t, η t = γ (T + a ^ 2 * t))
73
+ (hfinite : radiusLevelTime β G' w q < ∞) (κ v : ℝ) (D : Set ℂ) :
74
+ stoppedWholeSausageCharge κ η (radiusLevelTime β G' w q) v D ≤
75
+ stoppedWholeSausageCharge κ ⟨γ, hw.1⟩
76
+ (radiusLevelTime γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + q)) v D := by
77
+ have hV : Continuous (normalizedRestartDriver U T a) := by
78
+ unfold normalizedRestartDriver
79
+ fun_prop
80
+ obtain ⟨t, ht, hR⟩ := exists_live_level_of_radiusLevelTime_lt_top β G' w q hfinite
81
+ have hs := radiusLevelTime_eq_of_live_level hV hb w q t ht hR
82
+ have hp := (hw.normalized_restart_level_of_live_source hU T a ha hb w u q hbase t ht hR).2
83
+ have hs' : (radiusLevelTime β G' w q : WithTop ℝ≥0) = (t : WithTop ℝ≥0) := by exact_mod_cast hs
84
+ have hp' : (radiusLevelTime γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + q) : WithTop ℝ≥0) =
85
+ ((T + a ^ 2 * t : ℝ≥0) : WithTop ℝ≥0) := by exact_mod_cast hp
86
+ rw [hs', hp']
87
+ exact stoppedWholeSausageCharge_clock_le κ ⟨γ, hw.1⟩ η T (a ^ 2) t _ hpath le_rfl v D
88
+
89
+ end SLEExactGauge
90
+
91
+ end
92
+
93
+ end OAI
lean/OAI/Probability/SLE/Mass/ScaledGreenMeasure.lean CHANGED
@@ -1,61 +1,61 @@
1
- import OAI.Probability.SLE.Mass.DilationMass
2
- import OAI.Probability.SLE.Loewner.RawScaledGreenKernel
3
- import OAI.Probability.SLE.Geometry.ScaledMarkedKernel
4
-
5
- namespace OAI
6
-
7
- /-! Killed Green measures scale by the same dimension-weighted spatial
8
- pushforward as the canonical mass, including points no longer surviving. -/
9
-
10
- noncomputable section
11
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge.Multipoint
15
-
16
- local instance scaledGreenMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
- local instance scaledGreenBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
-
19
- lemma halfPlaneGreenMeasure_scaled {Ω : Type*} (κ : ℝ)
20
- (B : ℝ≥0 → Ω → ℝ) (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
21
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
22
- (c : ℝ≥0) (hc : 0 < c) (t : ℝ≥0) (ω : Ω) :
23
- halfPlaneGreenMeasure κ (scaledBrownianDriver c B)
24
- (fun ω => sourceScaleTrace c (γ ω)) (fun ω => sourceScaleChart c (G ω)) (c^2*t) ω=
25
- dilationMass κ c hc (halfPlaneGreenMeasure κ B γ G t ω) := by
26
- unfold halfPlaneGreenMeasure
27
- apply dilationMass_realDensity
28
- intro z _hz
29
- have h := source_scale_greenDensity κ c hc (fun t => Real.sqrt κ*B t ω)
30
- (γ ω) (G ω) (F ω) (hw ω) (c^2*t) z
31
- rw [source_scale_time_mul_sq c t hc] at h
32
- simpa only [scaledBrownianDriver,mul_left_comm (Real.sqrt κ) (c:ℝ)] using h
33
-
34
- lemma canonicalGreenMass_scaled {Ω : Type*} (κ : ℝ)
35
- (B : ℝ≥0 → Ω → ℝ) (hc : ∀ ω, Continuous (fun t => B t ω))
36
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
37
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
38
- (c : ℝ≥0) (hcp : 0 < c) (t : ℝ≥0) (ω : Ω) :
39
- canonicalGreenMass κ (c^2*t)
40
- (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc) ω)=
41
- dilationMass κ c hcp (halfPlaneGreenMeasure κ B γ G t ω) := by
42
- have hwc : IsCapacityTwoWitness (fun t => Real.sqrt κ*scaledBrownianDriver c B t ω)
43
- (sourceScaleTrace c (γ ω)) (sourceScaleChart c (G ω)) (sourceScaleChart c (F ω)) := by
44
- have h := source_scale_witness c hcp (fun t => Real.sqrt κ*B t ω)
45
- (γ ω) (G ω) (F ω) (hw ω)
46
- simpa only [scaledBrownianDriver,mul_left_comm (Real.sqrt κ) (c:ℝ)] using h
47
- have he := canonicalGreenMass_eq κ
48
- (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc) ω)
49
- hwc (c^2*t)
50
- change canonicalGreenMass κ (c^2*t)
51
- (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc) ω)=
52
- halfPlaneGreenMeasure κ (scaledBrownianDriver c B)
53
- (fun ω => sourceScaleTrace c (γ ω)) (fun ω => sourceScaleChart c (G ω)) (c^2*t) ω at he
54
- rw [he]
55
- exact halfPlaneGreenMeasure_scaled κ B γ G F hw c hcp t ω
56
-
57
- end SLEExactGauge.Multipoint
58
-
59
- end
60
-
61
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.DilationMass
2
+ import OAI.Probability.SLE.Loewner.RawScaledGreenKernel
3
+ import OAI.Probability.SLE.Geometry.ScaledMarkedKernel
4
+
5
+ namespace OAI
6
+
7
+ /-! Killed Green measures scale by the same dimension-weighted spatial
8
+ pushforward as the canonical mass, including points no longer surviving. -/
9
+
10
+ noncomputable section
11
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge.Multipoint
15
+
16
+ local instance scaledGreenMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
17
+ local instance scaledGreenBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
18
+
19
+ lemma halfPlaneGreenMeasure_scaled {Ω : Type*} (κ : ℝ)
20
+ (B : ℝ≥0 → Ω → ℝ) (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
21
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
22
+ (c : ℝ≥0) (hc : 0 < c) (t : ℝ≥0) (ω : Ω) :
23
+ halfPlaneGreenMeasure κ (scaledBrownianDriver c B)
24
+ (fun ω => sourceScaleTrace c (γ ω)) (fun ω => sourceScaleChart c (G ω)) (c^2*t) ω=
25
+ dilationMass κ c hc (halfPlaneGreenMeasure κ B γ G t ω) := by
26
+ unfold halfPlaneGreenMeasure
27
+ apply dilationMass_realDensity
28
+ intro z _hz
29
+ have h := source_scale_greenDensity κ c hc (fun t => Real.sqrt κ*B t ω)
30
+ (γ ω) (G ω) (F ω) (hw ω) (c^2*t) z
31
+ rw [source_scale_time_mul_sq c t hc] at h
32
+ simpa only [scaledBrownianDriver,mul_left_comm (Real.sqrt κ) (c:ℝ)] using h
33
+
34
+ lemma canonicalGreenMass_scaled {Ω : Type*} (κ : ℝ)
35
+ (B : ℝ≥0 → Ω → ℝ) (hc : ∀ ω, Continuous (fun t => B t ω))
36
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
37
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
38
+ (c : ℝ≥0) (hcp : 0 < c) (t : ℝ≥0) (ω : Ω) :
39
+ canonicalGreenMass κ (c^2*t)
40
+ (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc) ω)=
41
+ dilationMass κ c hcp (halfPlaneGreenMeasure κ B γ G t ω) := by
42
+ have hwc : IsCapacityTwoWitness (fun t => Real.sqrt κ*scaledBrownianDriver c B t ω)
43
+ (sourceScaleTrace c (γ ω)) (sourceScaleChart c (G ω)) (sourceScaleChart c (F ω)) := by
44
+ have h := source_scale_witness c hcp (fun t => Real.sqrt κ*B t ω)
45
+ (γ ω) (G ω) (F ω) (hw ω)
46
+ simpa only [scaledBrownianDriver,mul_left_comm (Real.sqrt κ) (c:ℝ)] using h
47
+ have he := canonicalGreenMass_eq κ
48
+ (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc) ω)
49
+ hwc (c^2*t)
50
+ change canonicalGreenMass κ (c^2*t)
51
+ (sourceDriverPath (scaledBrownianDriver c B) (scaledBrownianDriver_continuous c B hc) ω)=
52
+ halfPlaneGreenMeasure κ (scaledBrownianDriver c B)
53
+ (fun ω => sourceScaleTrace c (γ ω)) (fun ω => sourceScaleChart c (G ω)) (c^2*t) ω at he
54
+ rw [he]
55
+ exact halfPlaneGreenMeasure_scaled κ B γ G F hw c hcp t ω
56
+
57
+ end SLEExactGauge.Multipoint
58
+
59
+ end
60
+
61
+ end OAI
lean/OAI/Probability/SLE/Mass/SignedLevelTests.lean CHANGED
@@ -1,142 +1,142 @@
1
- import OAI.Probability.SLE.Mass.LevelApproximationL2
2
-
3
- namespace OAI
4
-
5
- /-! Real compact tests of the actual level measures. Both signs are
6
- controlled by the same compact moment estimate. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory ProbabilityTheory Classical
10
- open scoped NNReal ENNReal Topology
11
-
12
- namespace SLEExactGauge.Multipoint
13
-
14
- def levelApproximationRealTest {Ω : Type*} (κ : ℝ) (B : ℝ≥0 → Ω → ℝ)
15
- (γ : Ω → ℝ≥0 → ℂ) (G : Ω → ℝ≥0 → ℂ → ℂ)
16
- (u : ℝ) (t : ℝ≥0∞) (f : ℂ → ℝ) (ω : Ω) : ℝ :=
17
- ∫ z, f z ∂levelApproximation κ B γ G u t ω
18
-
19
- lemma integrable_of_bounded_support (μ : Measure ℂ) (K : Set ℂ)
20
- (hK : MeasurableSet K) (hμK : μ K < ⊤) (f : ℂ → ℝ)
21
- (hfm : Measurable f) (C : ℝ) (hf : ∀ z ∈ K, ‖f z‖ ≤ C)
22
- (hz : ∀ z ∉ K, f z = 0) : Integrable f μ := by
23
- have hi : Integrable (K.indicator (fun _ : ℂ => C)) μ :=
24
- (integrableOn_const hμK.ne).integrable_indicator hK
25
- apply hi.mono' hfm.aestronglyMeasurable
26
- filter_upwards [] with z
27
- by_cases h : z ∈ K
28
- · simpa only [indicator_of_mem h] using hf z h
29
- · simp only [hz z h,norm_zero,indicator_of_notMem h,le_refl]
30
-
31
- lemma levelApproximationRealTest_measurable
32
- {Ω : Type*} [MeasurableSpace Ω] {B : ℝ≥0 → Ω → ℝ}
33
- (hm : ∀ t, Measurable (B t)) (hBc : ∀ ω, Continuous (fun t => B t ω))
34
- (κ u : ℝ) (hu : 0 ≤ u)
35
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
36
- (hw : ∀ ω, IsCapacityTwoWitness (fun s => Real.sqrt κ * B s ω) (γ ω) (G ω) (F ω))
37
- (t : ℝ≥0∞) (f : ℂ → ℝ) (hfm : Measurable f) :
38
- Measurable (levelApproximationRealTest κ B γ G u t f) := by
39
- have hd := levelApproximationDensity_joint_measurable hm hBc κ u hu γ G F hw t
40
- have he (ω : Ω) : levelApproximationRealTest κ B γ G u t f ω =
41
- ∫ z, (levelApproximationDensity κ B γ G u t ω z).toReal * f z := by
42
- apply integral_withDensity_eq_integral_toReal_smul hd.of_uncurry_left
43
- filter_upwards [] with z
44
- unfold levelApproximationDensity
45
- split_ifs <;> simp
46
- simp_rw [show levelApproximationRealTest κ B γ G u t f =
47
- (fun ω => ∫ z, (levelApproximationDensity κ B γ G u t ω z).toReal * f z)
48
- from funext he]
49
- exact (hd.ennreal_toReal.mul (hfm.comp measurable_snd)).stronglyMeasurable.integral_prod_right'.measurable
50
-
51
- lemma levelApproximationRealTest_eq_parts
52
- {Ω : Type*} (κ : ℝ) (B : ℝ≥0 → Ω → ℝ)
53
- (γ : Ω → ℝ≥0 → ℂ) (G : Ω → ℝ≥0 → ℂ → ℂ)
54
- (u : ℝ) (t : ℝ≥0∞) (f : ℂ → ℝ) (ω : Ω)
55
- (K : Set ℂ) (hK : MeasurableSet K) (hM : levelMass κ B γ G u K ω < ⊤)
56
- (hfm : Measurable f) (C : ℝ) (hf : ∀ z ∈ K, ‖f z‖ ≤ C)
57
- (hz : ∀ z ∉ K, f z = 0) :
58
- levelApproximationRealTest κ B γ G u t f ω =
59
- (levelApproximationTest κ B γ G u t (fun z => ENNReal.ofReal (f z)) ω).toReal -
60
- (levelApproximationTest κ B γ G u t (fun z => ENNReal.ofReal (-f z)) ω).toReal := by
61
- exact integral_eq_lintegral_pos_part_sub_lintegral_neg_part
62
- (integrable_of_bounded_support _ K hK
63
- ((levelApproximation_apply_le κ B γ G u t ω hK).trans_lt hM) f hfm C hf hz)
64
-
65
- theorem levelMass_ae_finite
66
- {Ω : Type*} [MeasurableSpace Ω]
67
- {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
68
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
69
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
70
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
71
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
72
- (hw : ∀ ω, IsCapacityTwoWitness (fun s => Real.sqrt κ * B s ω) (γ ω) (G ω) (F ω))
73
- (hgrowth : PublishedDiskUnivalentGrowth)
74
- (K : Set ℂ) (hK : IsCompact K) (hKH : K ⊆ upperHalfPlane)
75
- (u : ℝ) (hu : 0 ≤ u) : ∀ᵐ ω ∂P, levelMass κ B γ G u K ω < ⊤ := by
76
- obtain ⟨M,hM,hbound⟩ := uniform_levelMass_compact_moments hB hm hBm hBc hB0 hκ hκ8
77
- γ G F hw hgrowth K hK hKH 1
78
- apply ae_lt_top (levelMass_measurable hm hBc κ u hu γ G F hw K)
79
- exact (lt_of_le_of_lt (by simpa only [pow_one] using hbound u hu) hM).ne
80
-
81
- theorem uniform_signed_levelTest_L2
82
- {Ω : Type*} [MeasurableSpace Ω]
83
- {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
84
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
85
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
86
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
87
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
88
- (hw : ∀ ω, IsCapacityTwoWitness (fun s => Real.sqrt κ * B s ω) (γ ω) (G ω) (F ω))
89
- (hgrowth : PublishedDiskUnivalentGrowth)
90
- (K : Set ℂ) (hK : IsCompact K) (hKH : K ⊆ upperHalfPlane)
91
- (f : ℂ → ℝ) (hfm : Measurable f) (C : ℝ) (hf : ∀ z ∈ K, ‖f z‖ ≤ C)
92
- (hz : ∀ z ∉ K, f z = 0) :
93
- (∀ u : ℝ, 0 ≤ u → ∀ t : ℝ≥0∞, MemLp (levelApproximationRealTest κ B γ G u t f) 2 P) ∧
94
- ∃ D : ℝ, ∀ u : ℝ, ∀ _hu : 0 ≤ u, ∀ t : ℝ≥0∞,
95
- ∀ hp : MemLp (levelApproximationRealTest κ B γ G u t f) 2 P,
96
- ‖hp.toLp (levelApproximationRealTest κ B γ G u t f)‖ ≤ D := by
97
- let fp : ℂ → ℝ≥0∞ := fun z => ENNReal.ofReal (f z)
98
- let fn : ℂ → ℝ≥0∞ := fun z => ENNReal.ofReal (-f z)
99
- have hfp (z : ℂ) (hzK : z ∈ K) : fp z ≤ ENNReal.ofReal C :=
100
- ENNReal.ofReal_le_ofReal ((le_abs_self _).trans (hf z hzK))
101
- have hfn (z : ℂ) (hzK : z ∈ K) : fn z ≤ ENNReal.ofReal C :=
102
- ENNReal.ofReal_le_ofReal ((neg_le_abs _).trans (hf z hzK))
103
- obtain ⟨Mp,hMp,hpb⟩ := uniform_levelApproximationTest_moments hB hm hBm hBc hB0 hκ hκ8
104
- γ G F hw hgrowth K hK hKH fp (ENNReal.ofReal C) ENNReal.ofReal_lt_top hfp
105
- (fun z hzK => by simp only [fp,hz z hzK,ENNReal.ofReal_zero]) 2
106
- obtain ⟨Mn,hMn,hnb⟩ := uniform_levelApproximationTest_moments hB hm hBm hBc hB0 hκ hκ8
107
- γ G F hw hgrowth K hK hKH fn (ENNReal.ofReal C) ENNReal.ofReal_lt_top hfn
108
- (fun z hzK => by simp only [fn,hz z hzK,neg_zero,ENNReal.ofReal_zero]) 2
109
- have hpm (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :=
110
- levelApproximationTest_measurable hm hBc κ u hu γ G F hw t fp hfm.ennreal_ofReal
111
- have hnm (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :=
112
- levelApproximationTest_measurable hm hBc κ u hu γ G F hw t fn hfm.neg.ennreal_ofReal
113
- have hpLp (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :=
114
- memLp_toReal_two P _ (hpm u hu t) Mp hMp (hpb u hu t)
115
- have hnLp (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :=
116
- memLp_toReal_two P _ (hnm u hu t) Mn hMn (hnb u hu t)
117
- have he (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) : levelApproximationRealTest κ B γ G u t f =ᵐ[P]
118
- fun ω => (levelApproximationTest κ B γ G u t fp ω).toReal -
119
- (levelApproximationTest κ B γ G u t fn ω).toReal := by
120
- filter_upwards [levelMass_ae_finite hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth K hK hKH u hu]
121
- with ω hω
122
- exact levelApproximationRealTest_eq_parts κ B γ G u t f ω K hK.measurableSet hω hfm C hf hz
123
- refine ⟨fun u hu t => MemLp.ae_eq (he u hu t).symm ((hpLp u hu t).sub (hnLp u hu t)),
124
- ⟨(Mp ^ (1/2 : ℝ)).toReal + (Mn ^ (1/2 : ℝ)).toReal, ?_⟩⟩
125
- intro u hu t hp
126
- have hclass : hp.toLp (levelApproximationRealTest κ B γ G u t f) =
127
- (hpLp u hu t).toLp _ - (hnLp u hu t).toLp _ := by
128
- apply Lp.ext
129
- filter_upwards [hp.coeFn_toLp, (hpLp u hu t).coeFn_toLp,
130
- (hnLp u hu t).coeFn_toLp,Lp.coeFn_sub ((hpLp u hu t).toLp _) ((hnLp u hu t).toLp _),
131
- he u hu t] with ω h₁ h₂ h₃ h₄ h₅
132
- rw [h₁,h₄,Pi.sub_apply,h₂,h₃,h₅]
133
- rw [hclass]
134
- exact (norm_sub_le _ _).trans (add_le_add
135
- (norm_toLp_toReal_two_le P _ (hpm u hu t) Mp hMp (hpb u hu t) (hpLp u hu t))
136
- (norm_toLp_toReal_two_le P _ (hnm u hu t) Mn hMn (hnb u hu t) (hnLp u hu t)))
137
-
138
- end SLEExactGauge.Multipoint
139
-
140
- end
141
-
142
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.LevelApproximationL2
2
+
3
+ namespace OAI
4
+
5
+ /-! Real compact tests of the actual level measures. Both signs are
6
+ controlled by the same compact moment estimate. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory ProbabilityTheory Classical
10
+ open scoped NNReal ENNReal Topology
11
+
12
+ namespace SLEExactGauge.Multipoint
13
+
14
+ def levelApproximationRealTest {Ω : Type*} (κ : ℝ) (B : ℝ≥0 → Ω → ℝ)
15
+ (γ : Ω → ℝ≥0 → ℂ) (G : Ω → ℝ≥0 → ℂ → ℂ)
16
+ (u : ℝ) (t : ℝ≥0∞) (f : ℂ → ℝ) (ω : Ω) : ℝ :=
17
+ ∫ z, f z ∂levelApproximation κ B γ G u t ω
18
+
19
+ lemma integrable_of_bounded_support (μ : Measure ℂ) (K : Set ℂ)
20
+ (hK : MeasurableSet K) (hμK : μ K < ⊤) (f : ℂ → ℝ)
21
+ (hfm : Measurable f) (C : ℝ) (hf : ∀ z ∈ K, ‖f z‖ ≤ C)
22
+ (hz : ∀ z ∉ K, f z = 0) : Integrable f μ := by
23
+ have hi : Integrable (K.indicator (fun _ : ℂ => C)) μ :=
24
+ (integrableOn_const hμK.ne).integrable_indicator hK
25
+ apply hi.mono' hfm.aestronglyMeasurable
26
+ filter_upwards [] with z
27
+ by_cases h : z ∈ K
28
+ · simpa only [indicator_of_mem h] using hf z h
29
+ · simp only [hz z h,norm_zero,indicator_of_notMem h,le_refl]
30
+
31
+ lemma levelApproximationRealTest_measurable
32
+ {Ω : Type*} [MeasurableSpace Ω] {B : ℝ≥0 → Ω → ℝ}
33
+ (hm : ∀ t, Measurable (B t)) (hBc : ∀ ω, Continuous (fun t => B t ω))
34
+ (κ u : ℝ) (hu : 0 ≤ u)
35
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
36
+ (hw : ∀ ω, IsCapacityTwoWitness (fun s => Real.sqrt κ * B s ω) (γ ω) (G ω) (F ω))
37
+ (t : ℝ≥0∞) (f : ℂ → ℝ) (hfm : Measurable f) :
38
+ Measurable (levelApproximationRealTest κ B γ G u t f) := by
39
+ have hd := levelApproximationDensity_joint_measurable hm hBc κ u hu γ G F hw t
40
+ have he (ω : Ω) : levelApproximationRealTest κ B γ G u t f ω =
41
+ ∫ z, (levelApproximationDensity κ B γ G u t ω z).toReal * f z := by
42
+ apply integral_withDensity_eq_integral_toReal_smul hd.of_uncurry_left
43
+ filter_upwards [] with z
44
+ unfold levelApproximationDensity
45
+ split_ifs <;> simp
46
+ simp_rw [show levelApproximationRealTest κ B γ G u t f =
47
+ (fun ω => ∫ z, (levelApproximationDensity κ B γ G u t ω z).toReal * f z)
48
+ from funext he]
49
+ exact (hd.ennreal_toReal.mul (hfm.comp measurable_snd)).stronglyMeasurable.integral_prod_right'.measurable
50
+
51
+ lemma levelApproximationRealTest_eq_parts
52
+ {Ω : Type*} (κ : ℝ) (B : ℝ≥0 → Ω → ℝ)
53
+ (γ : Ω → ℝ≥0 → ℂ) (G : Ω → ℝ≥0 → ℂ → ℂ)
54
+ (u : ℝ) (t : ℝ≥0∞) (f : ℂ → ℝ) (ω : Ω)
55
+ (K : Set ℂ) (hK : MeasurableSet K) (hM : levelMass κ B γ G u K ω < ⊤)
56
+ (hfm : Measurable f) (C : ℝ) (hf : ∀ z ∈ K, ‖f z‖ ≤ C)
57
+ (hz : ∀ z ∉ K, f z = 0) :
58
+ levelApproximationRealTest κ B γ G u t f ω =
59
+ (levelApproximationTest κ B γ G u t (fun z => ENNReal.ofReal (f z)) ω).toReal -
60
+ (levelApproximationTest κ B γ G u t (fun z => ENNReal.ofReal (-f z)) ω).toReal := by
61
+ exact integral_eq_lintegral_pos_part_sub_lintegral_neg_part
62
+ (integrable_of_bounded_support _ K hK
63
+ ((levelApproximation_apply_le κ B γ G u t ω hK).trans_lt hM) f hfm C hf hz)
64
+
65
+ theorem levelMass_ae_finite
66
+ {Ω : Type*} [MeasurableSpace Ω]
67
+ {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
68
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
69
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
70
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
71
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
72
+ (hw : ∀ ω, IsCapacityTwoWitness (fun s => Real.sqrt κ * B s ω) (γ ω) (G ω) (F ω))
73
+ (hgrowth : PublishedDiskUnivalentGrowth)
74
+ (K : Set ℂ) (hK : IsCompact K) (hKH : K ⊆ upperHalfPlane)
75
+ (u : ℝ) (hu : 0 ≤ u) : ∀ᵐ ω ∂P, levelMass κ B γ G u K ω < ⊤ := by
76
+ obtain ⟨M,hM,hbound⟩ := uniform_levelMass_compact_moments hB hm hBm hBc hB0 hκ hκ8
77
+ γ G F hw hgrowth K hK hKH 1
78
+ apply ae_lt_top (levelMass_measurable hm hBc κ u hu γ G F hw K)
79
+ exact (lt_of_le_of_lt (by simpa only [pow_one] using hbound u hu) hM).ne
80
+
81
+ theorem uniform_signed_levelTest_L2
82
+ {Ω : Type*} [MeasurableSpace Ω]
83
+ {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
84
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
85
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
86
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
87
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
88
+ (hw : ∀ ω, IsCapacityTwoWitness (fun s => Real.sqrt κ * B s ω) (γ ω) (G ω) (F ω))
89
+ (hgrowth : PublishedDiskUnivalentGrowth)
90
+ (K : Set ℂ) (hK : IsCompact K) (hKH : K ⊆ upperHalfPlane)
91
+ (f : ℂ → ℝ) (hfm : Measurable f) (C : ℝ) (hf : ∀ z ∈ K, ‖f z‖ ≤ C)
92
+ (hz : ∀ z ∉ K, f z = 0) :
93
+ (∀ u : ℝ, 0 ≤ u → ∀ t : ℝ≥0∞, MemLp (levelApproximationRealTest κ B γ G u t f) 2 P) ∧
94
+ ∃ D : ℝ, ∀ u : ℝ, ∀ _hu : 0 ≤ u, ∀ t : ℝ≥0∞,
95
+ ∀ hp : MemLp (levelApproximationRealTest κ B γ G u t f) 2 P,
96
+ ‖hp.toLp (levelApproximationRealTest κ B γ G u t f)‖ ≤ D := by
97
+ let fp : ℂ → ℝ≥0∞ := fun z => ENNReal.ofReal (f z)
98
+ let fn : ℂ → ℝ≥0∞ := fun z => ENNReal.ofReal (-f z)
99
+ have hfp (z : ℂ) (hzK : z ∈ K) : fp z ≤ ENNReal.ofReal C :=
100
+ ENNReal.ofReal_le_ofReal ((le_abs_self _).trans (hf z hzK))
101
+ have hfn (z : ℂ) (hzK : z ∈ K) : fn z ≤ ENNReal.ofReal C :=
102
+ ENNReal.ofReal_le_ofReal ((neg_le_abs _).trans (hf z hzK))
103
+ obtain ⟨Mp,hMp,hpb⟩ := uniform_levelApproximationTest_moments hB hm hBm hBc hB0 hκ hκ8
104
+ γ G F hw hgrowth K hK hKH fp (ENNReal.ofReal C) ENNReal.ofReal_lt_top hfp
105
+ (fun z hzK => by simp only [fp,hz z hzK,ENNReal.ofReal_zero]) 2
106
+ obtain ⟨Mn,hMn,hnb⟩ := uniform_levelApproximationTest_moments hB hm hBm hBc hB0 hκ hκ8
107
+ γ G F hw hgrowth K hK hKH fn (ENNReal.ofReal C) ENNReal.ofReal_lt_top hfn
108
+ (fun z hzK => by simp only [fn,hz z hzK,neg_zero,ENNReal.ofReal_zero]) 2
109
+ have hpm (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :=
110
+ levelApproximationTest_measurable hm hBc κ u hu γ G F hw t fp hfm.ennreal_ofReal
111
+ have hnm (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :=
112
+ levelApproximationTest_measurable hm hBc κ u hu γ G F hw t fn hfm.neg.ennreal_ofReal
113
+ have hpLp (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :=
114
+ memLp_toReal_two P _ (hpm u hu t) Mp hMp (hpb u hu t)
115
+ have hnLp (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :=
116
+ memLp_toReal_two P _ (hnm u hu t) Mn hMn (hnb u hu t)
117
+ have he (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) : levelApproximationRealTest κ B γ G u t f =ᵐ[P]
118
+ fun ω => (levelApproximationTest κ B γ G u t fp ω).toReal -
119
+ (levelApproximationTest κ B γ G u t fn ω).toReal := by
120
+ filter_upwards [levelMass_ae_finite hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth K hK hKH u hu]
121
+ with ω hω
122
+ exact levelApproximationRealTest_eq_parts κ B γ G u t f ω K hK.measurableSet hω hfm C hf hz
123
+ refine ⟨fun u hu t => MemLp.ae_eq (he u hu t).symm ((hpLp u hu t).sub (hnLp u hu t)),
124
+ ⟨(Mp ^ (1/2 : ℝ)).toReal + (Mn ^ (1/2 : ℝ)).toReal, ?_⟩⟩
125
+ intro u hu t hp
126
+ have hclass : hp.toLp (levelApproximationRealTest κ B γ G u t f) =
127
+ (hpLp u hu t).toLp _ - (hnLp u hu t).toLp _ := by
128
+ apply Lp.ext
129
+ filter_upwards [hp.coeFn_toLp, (hpLp u hu t).coeFn_toLp,
130
+ (hnLp u hu t).coeFn_toLp,Lp.coeFn_sub ((hpLp u hu t).toLp _) ((hnLp u hu t).toLp _),
131
+ he u hu t] with ω h₁ h₂ h₃ h₄ h₅
132
+ rw [h₁,h₄,Pi.sub_apply,h₂,h₃,h₅]
133
+ rw [hclass]
134
+ exact (norm_sub_le _ _).trans (add_le_add
135
+ (norm_toLp_toReal_two_le P _ (hpm u hu t) Mp hMp (hpb u hu t) (hpLp u hu t))
136
+ (norm_toLp_toReal_two_le P _ (hnm u hu t) Mn hMn (hnb u hu t) (hnLp u hu t)))
137
+
138
+ end SLEExactGauge.Multipoint
139
+
140
+ end
141
+
142
+ end OAI
lean/OAI/Probability/SLE/Mass/SignedMeasureConvergence.lean CHANGED
@@ -1,102 +1,102 @@
1
- import OAI.Probability.SLE.Mass.RadonKernelIntegral
2
- import Mathlib.MeasureTheory.Integral.Bochner.Set
3
- import Mathlib.MeasureTheory.Function.LpSpace.Indicator
4
- import Mathlib.Analysis.Normed.Group.FunctionSeries
5
-
6
- namespace OAI
7
-
8
- /-! Small analytic passages used for the conditional mass kernel. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory
12
- open scoped ENNReal Topology
13
-
14
- namespace SLEExactGauge
15
-
16
- theorem integral_tendsto_of_lintegral_pos_neg
17
- {X : Type*} [MeasurableSpace X] (μ : ℕ → Measure X) (ν : Measure X)
18
- (f : X → ℝ) (hμ : ∀ n, Integrable f (μ n)) (hν : Integrable f ν)
19
- (hpos : Tendsto (fun n => ∫⁻ x, ENNReal.ofReal (f x) ∂μ n) atTop
20
- (𝓝 (∫⁻ x, ENNReal.ofReal (f x) ∂ν)))
21
- (hneg : Tendsto (fun n => ∫⁻ x, ENNReal.ofReal (-f x) ∂μ n) atTop
22
- (𝓝 (∫⁻ x, ENNReal.ofReal (-f x) ∂ν))) :
23
- Tendsto (fun n => ∫ x, f x ∂μ n) atTop (𝓝 (∫ x, f x ∂ν)) := by
24
- have hp := (ENNReal.tendsto_toReal (lintegral_ofReal_lt_top_of_integrable hν).ne).comp hpos
25
- have hn := (ENNReal.tendsto_toReal (lintegral_ofReal_lt_top_of_integrable hν.neg).ne).comp hneg
26
- have hh := hp.sub hn
27
- dsimp only [Function.comp_def,Pi.neg_apply] at hh
28
- rw [← integral_eq_lintegral_pos_part_sub_lintegral_neg_part hν] at hh
29
- exact hh.congr' (Eventually.of_forall (fun n =>
30
- (integral_eq_lintegral_pos_part_sub_lintegral_neg_part (hμ n)).symm))
31
-
32
- theorem real_convex_tail_tendsto (f : ℕ → ℝ) {a : ℝ}
33
- (hf : Tendsto f atTop (𝓝 a)) (s : ℕ → Finset ℕ) (w : ℕ → ℕ → ℝ)
34
- (hw₀ : ∀ n i, i ∈ s n → 0 ≤ w n i) (hw₁ : ∀ n, ∑ i ∈ s n, w n i = 1) :
35
- Tendsto (fun n => ∑ i ∈ s n, w n i * f (n+i)) atTop (𝓝 a) := by
36
- apply Metric.tendsto_atTop.mpr
37
- intro ε hε
38
- obtain ⟨N,hN⟩ := Metric.tendsto_atTop.mp hf (ε/2) (by positivity)
39
- refine ⟨N,fun n hn => ?_⟩
40
- have he : (∑ i ∈ s n, w n i * f (n+i)) - a =
41
- ∑ i ∈ s n, w n i * (f (n+i)-a) := by
42
- simp only [mul_sub,Finset.sum_sub_distrib,← Finset.sum_mul,hw₁ n,one_mul]
43
- calc
44
- dist (∑ i ∈ s n, w n i * f (n+i)) a =
45
- ‖∑ i ∈ s n, w n i * (f (n+i)-a)‖ := by rw [dist_eq_norm,he]
46
- _ ≤ ∑ i ∈ s n, ‖w n i * (f (n+i)-a)‖ := norm_sum_le _ _
47
- _ ≤ ∑ i ∈ s n, w n i * (ε/2) := by
48
- apply Finset.sum_le_sum
49
- intro i hi
50
- rw [norm_mul,Real.norm_of_nonneg (hw₀ n i hi)]
51
- exact mul_le_mul_of_nonneg_left (le_of_lt (hN (n+i) (by omega))) (hw₀ n i hi)
52
- _ = ε/2 := by rw [← Finset.sum_mul,hw₁ n,one_mul]
53
- _ < ε := by linarith
54
-
55
-
56
- lemma integral_indicator_one_mul
57
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (E : Set Ω)
58
- (hE : MeasurableSet E) (f : Ω → ℝ) :
59
- (∫ ω, E.indicator (fun _ => (1 : ℝ)) ω * f ω ∂P) = ∫ ω in E, f ω ∂P := by
60
- rw [← integral_indicator hE]
61
- congr 1
62
- funext ω
63
- by_cases hω : ω ∈ E
64
- · simp only [indicator_of_mem hω,one_mul]
65
- · simp only [indicator_of_notMem hω,zero_mul]
66
-
67
- theorem setIntegral_tendsto_of_L2_pairings
68
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsFiniteMeasure P]
69
- (F : ℕ → Ω → ℝ) (f : Ω → ℝ)
70
- (hp : ∀ a : Ω → ℝ, MemLp a 2 P →
71
- Tendsto (fun n => ∫ ω, a ω * F n ω ∂P) atTop (𝓝 (∫ ω, a ω * f ω ∂P)))
72
- (E : Set Ω) (hE : MeasurableSet E) :
73
- Tendsto (fun n => ∫ ω in E, F n ω ∂P) atTop (𝓝 (∫ ω in E, f ω ∂P)) := by
74
- have ha : MemLp (E.indicator (fun _ => (1 : ℝ))) 2 P := (memLp_const 1).indicator hE
75
- have hh := hp (E.indicator (fun _ => 1)) ha
76
- simpa only [integral_indicator_one_mul P E hE] using hh
77
-
78
-
79
- theorem mean_test_tendsto_of_L2_pairings
80
- {Ω X : Type*} [MeasurableSpace Ω] [MeasurableSpace X]
81
- (P : Measure Ω) [IsFiniteMeasure P] (μ : ℕ → Ω → Measure X) (ν : Ω → Measure X)
82
- (hμ : ∀ n, Measurable (μ n)) (hν : Measurable ν) (f : X → ℝ) (hf : Measurable f)
83
- (hμi : ∀ n ω, Integrable f (μ n ω)) (hνi : ∀ ω, Integrable f (ν ω))
84
- (E : Set Ω) (hE : MeasurableSet E)
85
- (hμP : ∀ n, Integrable f ((P.restrict E).bind (μ n)))
86
- (hνP : Integrable f ((P.restrict E).bind ν))
87
- (hp : ∀ a : Ω → ℝ, MemLp a 2 P →
88
- Tendsto (fun n => ∫ ω, a ω * (∫ x, f x ∂μ n ω) ∂P) atTop
89
- (𝓝 (∫ ω, a ω * (∫ x, f x ∂ν ω) ∂P))) :
90
- Tendsto (fun n => ∫ x, f x ∂(P.restrict E).bind (μ n)) atTop
91
- (𝓝 (∫ x, f x ∂(P.restrict E).bind ν)) := by
92
- have he (n : ℕ) := integral_bind_of_integrable_sections (P.restrict E) (μ n) (hμ n) f hf
93
- (hμi n) (hμP n)
94
- have hev := integral_bind_of_integrable_sections (P.restrict E) ν hν f hf hνi hνP
95
- simpa only [he,hev] using setIntegral_tendsto_of_L2_pairings P
96
- (fun n ω => ∫ x, f x ∂μ n ω) (fun ω => ∫ x, f x ∂ν ω) hp E hE
97
-
98
- end SLEExactGauge
99
-
100
- end
101
-
102
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RadonKernelIntegral
2
+ import Mathlib.MeasureTheory.Integral.Bochner.Set
3
+ import Mathlib.MeasureTheory.Function.LpSpace.Indicator
4
+ import Mathlib.Analysis.Normed.Group.FunctionSeries
5
+
6
+ namespace OAI
7
+
8
+ /-! Small analytic passages used for the conditional mass kernel. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory
12
+ open scoped ENNReal Topology
13
+
14
+ namespace SLEExactGauge
15
+
16
+ theorem integral_tendsto_of_lintegral_pos_neg
17
+ {X : Type*} [MeasurableSpace X] (μ : ℕ → Measure X) (ν : Measure X)
18
+ (f : X → ℝ) (hμ : ∀ n, Integrable f (μ n)) (hν : Integrable f ν)
19
+ (hpos : Tendsto (fun n => ∫⁻ x, ENNReal.ofReal (f x) ∂μ n) atTop
20
+ (𝓝 (∫⁻ x, ENNReal.ofReal (f x) ∂ν)))
21
+ (hneg : Tendsto (fun n => ∫⁻ x, ENNReal.ofReal (-f x) ∂μ n) atTop
22
+ (𝓝 (∫⁻ x, ENNReal.ofReal (-f x) ∂ν))) :
23
+ Tendsto (fun n => ∫ x, f x ∂μ n) atTop (𝓝 (∫ x, f x ∂ν)) := by
24
+ have hp := (ENNReal.tendsto_toReal (lintegral_ofReal_lt_top_of_integrable hν).ne).comp hpos
25
+ have hn := (ENNReal.tendsto_toReal (lintegral_ofReal_lt_top_of_integrable hν.neg).ne).comp hneg
26
+ have hh := hp.sub hn
27
+ dsimp only [Function.comp_def,Pi.neg_apply] at hh
28
+ rw [← integral_eq_lintegral_pos_part_sub_lintegral_neg_part hν] at hh
29
+ exact hh.congr' (Eventually.of_forall (fun n =>
30
+ (integral_eq_lintegral_pos_part_sub_lintegral_neg_part (hμ n)).symm))
31
+
32
+ theorem real_convex_tail_tendsto (f : ℕ → ℝ) {a : ℝ}
33
+ (hf : Tendsto f atTop (𝓝 a)) (s : ℕ → Finset ℕ) (w : ℕ → ℕ → ℝ)
34
+ (hw₀ : ∀ n i, i ∈ s n → 0 ≤ w n i) (hw₁ : ∀ n, ∑ i ∈ s n, w n i = 1) :
35
+ Tendsto (fun n => ∑ i ∈ s n, w n i * f (n+i)) atTop (𝓝 a) := by
36
+ apply Metric.tendsto_atTop.mpr
37
+ intro ε hε
38
+ obtain ⟨N,hN⟩ := Metric.tendsto_atTop.mp hf (ε/2) (by positivity)
39
+ refine ⟨N,fun n hn => ?_⟩
40
+ have he : (∑ i ∈ s n, w n i * f (n+i)) - a =
41
+ ∑ i ∈ s n, w n i * (f (n+i)-a) := by
42
+ simp only [mul_sub,Finset.sum_sub_distrib,← Finset.sum_mul,hw₁ n,one_mul]
43
+ calc
44
+ dist (∑ i ∈ s n, w n i * f (n+i)) a =
45
+ ‖∑ i ∈ s n, w n i * (f (n+i)-a)‖ := by rw [dist_eq_norm,he]
46
+ _ ≤ ∑ i ∈ s n, ‖w n i * (f (n+i)-a)‖ := norm_sum_le _ _
47
+ _ ≤ ∑ i ∈ s n, w n i * (ε/2) := by
48
+ apply Finset.sum_le_sum
49
+ intro i hi
50
+ rw [norm_mul,Real.norm_of_nonneg (hw₀ n i hi)]
51
+ exact mul_le_mul_of_nonneg_left (le_of_lt (hN (n+i) (by omega))) (hw₀ n i hi)
52
+ _ = ε/2 := by rw [← Finset.sum_mul,hw₁ n,one_mul]
53
+ _ < ε := by linarith
54
+
55
+
56
+ lemma integral_indicator_one_mul
57
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (E : Set Ω)
58
+ (hE : MeasurableSet E) (f : Ω → ℝ) :
59
+ (∫ ω, E.indicator (fun _ => (1 : ℝ)) ω * f ω ∂P) = ∫ ω in E, f ω ∂P := by
60
+ rw [← integral_indicator hE]
61
+ congr 1
62
+ funext ω
63
+ by_cases hω : ω ∈ E
64
+ · simp only [indicator_of_mem hω,one_mul]
65
+ · simp only [indicator_of_notMem hω,zero_mul]
66
+
67
+ theorem setIntegral_tendsto_of_L2_pairings
68
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsFiniteMeasure P]
69
+ (F : ℕ → Ω → ℝ) (f : Ω → ℝ)
70
+ (hp : ∀ a : Ω → ℝ, MemLp a 2 P →
71
+ Tendsto (fun n => ∫ ω, a ω * F n ω ∂P) atTop (𝓝 (∫ ω, a ω * f ω ∂P)))
72
+ (E : Set Ω) (hE : MeasurableSet E) :
73
+ Tendsto (fun n => ∫ ω in E, F n ω ∂P) atTop (𝓝 (∫ ω in E, f ω ∂P)) := by
74
+ have ha : MemLp (E.indicator (fun _ => (1 : ℝ))) 2 P := (memLp_const 1).indicator hE
75
+ have hh := hp (E.indicator (fun _ => 1)) ha
76
+ simpa only [integral_indicator_one_mul P E hE] using hh
77
+
78
+
79
+ theorem mean_test_tendsto_of_L2_pairings
80
+ {Ω X : Type*} [MeasurableSpace Ω] [MeasurableSpace X]
81
+ (P : Measure Ω) [IsFiniteMeasure P] (μ : ℕ → Ω → Measure X) (ν : Ω → Measure X)
82
+ (hμ : ∀ n, Measurable (μ n)) (hν : Measurable ν) (f : X → ℝ) (hf : Measurable f)
83
+ (hμi : ∀ n ω, Integrable f (μ n ω)) (hνi : ∀ ω, Integrable f (ν ω))
84
+ (E : Set Ω) (hE : MeasurableSet E)
85
+ (hμP : ∀ n, Integrable f ((P.restrict E).bind (μ n)))
86
+ (hνP : Integrable f ((P.restrict E).bind ν))
87
+ (hp : ∀ a : Ω → ℝ, MemLp a 2 P →
88
+ Tendsto (fun n => ∫ ω, a ω * (∫ x, f x ∂μ n ω) ∂P) atTop
89
+ (𝓝 (∫ ω, a ω * (∫ x, f x ∂ν ω) ∂P))) :
90
+ Tendsto (fun n => ∫ x, f x ∂(P.restrict E).bind (μ n)) atTop
91
+ (𝓝 (∫ x, f x ∂(P.restrict E).bind ν)) := by
92
+ have he (n : ℕ) := integral_bind_of_integrable_sections (P.restrict E) (μ n) (hμ n) f hf
93
+ (hμi n) (hμP n)
94
+ have hev := integral_bind_of_integrable_sections (P.restrict E) ν hν f hf hνi hνP
95
+ simpa only [he,hev] using setIntegral_tendsto_of_L2_pairings P
96
+ (fun n ω => ∫ x, f x ∂μ n ω) (fun ω => ∫ x, f x ∂ν ω) hp E hE
97
+
98
+ end SLEExactGauge
99
+
100
+ end
101
+
102
+ end OAI
lean/OAI/Probability/SLE/Mass/SimultaneousConvexTails.lean CHANGED
@@ -1,82 +1,82 @@
1
- import OAI.Probability.SLE.Mass.HilbertConvexTails
2
- import Mathlib.Analysis.InnerProductSpace.l2Space
3
-
4
- namespace OAI
5
-
6
- /-! The countable deterministic extraction in `mass:construction`.
7
- A weighted Hilbert sum ensures the same finite convex coefficients work
8
- for every member of the countable family of bounded test sequences. -/
9
-
10
- noncomputable section
11
- open Set Filter
12
- open scoped Topology ENNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E]
17
-
18
- lemma geometric_half_mem_l2 : Memℓp (fun j : ℕ => (1/2 : ℝ)^j) 2 := by
19
- apply memℓp_gen
20
- have h := summable_geometric_of_abs_lt_one (show |(1/4 : ℝ)| < 1 by norm_num)
21
- convert h using 1
22
- funext j
23
- simp only [ENNReal.toReal_ofNat,Real.rpow_two,Real.norm_eq_abs,
24
- abs_of_nonneg (pow_nonneg (by norm_num : (0:ℝ) ≤ 1/2) j)]
25
- rw [pow_two,← mul_pow]
26
- norm_num
27
-
28
- theorem exists_simultaneous_convex_tail_combinations (u : ℕ → ℕ → E)
29
- (hbound : ∀ j, ∃ B : ℝ, ∀ n, ‖u n j‖ ≤ B) :
30
- ∃ x : ℕ → E, ∃ s : ℕ → Finset ℕ, ∃ w : ℕ → ℕ → ℝ,
31
- (∀ n i, i ∈ s n → 0 ≤ w n i) ∧
32
- (∀ n, ∑ i ∈ s n, w n i = 1) ∧
33
- (∀ j, Summable (fun n => ‖(∑ i ∈ s n, w n i • u (n+i) j) - x j‖)) ∧
34
- (∀ j, Tendsto (fun n => ∑ i ∈ s n, w n i • u (n+i) j) atTop (𝓝 (x j))) := by
35
- choose B hB using hbound
36
- let c : ℕ → ℝ := fun j => (1/2:ℝ)^j / max 1 (B j)
37
- have hc (j : ℕ) : 0 < c j := by
38
- apply div_pos (pow_pos (by norm_num) _)
39
- exact lt_of_lt_of_le zero_lt_one (le_max_left _ _)
40
- have hsmall (n j : ℕ) : ‖c j • u n j‖ ≤ (1/2:ℝ)^j := by
41
- rw [norm_smul,Real.norm_eq_abs,abs_of_pos (hc j)]
42
- dsimp only [c]
43
- have hd : 0 < max 1 (B j) := lt_of_lt_of_le zero_lt_one (le_max_left _ _)
44
- have hh : ‖u n j‖ ≤ max 1 (B j) := (hB j n).trans (le_max_right _ _)
45
- calc
46
- (1/2:ℝ)^j / max 1 (B j) * ‖u n j‖ =
47
- (1/2:ℝ)^j * ‖u n j‖ / max 1 (B j) := by ring
48
- _ ≤ (1/2:ℝ)^j := (div_le_iff₀ hd).mpr (by gcongr)
49
- let g : lp (fun _ : ℕ => ℝ) 2 := ⟨_,geometric_half_mem_l2⟩
50
- let v : ℕ → lp (fun _ : ℕ => E) 2 := fun n =>
51
- ⟨fun j => c j • u n j,geometric_half_mem_l2.mono (hsmall n)⟩
52
- have hv (n : ℕ) : ‖v n‖ ≤ ‖g‖ := by
53
- apply lp.norm_mono (by norm_num : (2 : ℝ≥0∞) ≠ 0)
54
- intro j
55
- simpa only [g,Real.norm_eq_abs,
56
- abs_of_nonneg (pow_nonneg (by norm_num : (0:ℝ) ≤ 1/2) j)] using hsmall n j
57
- obtain ⟨x,s,w,hw,hs,herror,hconv⟩ := exists_convex_tail_combinations v ‖g‖ hv
58
- let L (j : ℕ) : lp (fun _ : ℕ => E) 2 →L[ℝ] E :=
59
- (c j)⁻¹ • lp.evalCLM ℝ (fun _ : ℕ => E) 2 j
60
- have hL (j n : ℕ) : L j (v n) = u n j := by
61
- change (c j)⁻¹ • (c j • u n j) = _
62
- rw [smul_smul,inv_mul_cancel₀ (hc j).ne',one_smul]
63
- refine ⟨fun j => L j x,s,w,hw,hs,?_,?_⟩
64
- · intro j
65
- have hgeo : Summable (fun n : ℕ => ‖L j‖ * (1/2:ℝ)^n) :=
66
- (summable_geometric_of_abs_lt_one (show |(1/2:ℝ)| < 1 by norm_num)).mul_left _
67
- apply Summable.of_nonneg_of_le (fun _ => norm_nonneg _) _ hgeo
68
- intro n
69
- have hnorm := (L j).le_opNorm ((∑ i ∈ s n, w n i • v (n+i))-x)
70
- simp only [map_sub,map_sum,map_smul,hL] at hnorm
71
- have hh : ‖(∑ i ∈ s n, w n i • v (n+i))-x‖ ≤ (1/2:ℝ)^n := by
72
- simpa only [dist_eq_norm] using (herror n).le
73
- exact hnorm.trans (mul_le_mul_of_nonneg_left hh (norm_nonneg _))
74
- · intro j
75
- have hh := ((L j).continuous.tendsto x).comp hconv
76
- simpa only [Function.comp_def,map_sum,map_smul,hL] using hh
77
-
78
- end SLEExactGauge
79
-
80
- end
81
-
82
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.HilbertConvexTails
2
+ import Mathlib.Analysis.InnerProductSpace.l2Space
3
+
4
+ namespace OAI
5
+
6
+ /-! The countable deterministic extraction in `mass:construction`.
7
+ A weighted Hilbert sum ensures the same finite convex coefficients work
8
+ for every member of the countable family of bounded test sequences. -/
9
+
10
+ noncomputable section
11
+ open Set Filter
12
+ open scoped Topology ENNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E]
17
+
18
+ lemma geometric_half_mem_l2 : Memℓp (fun j : ℕ => (1/2 : ℝ)^j) 2 := by
19
+ apply memℓp_gen
20
+ have h := summable_geometric_of_abs_lt_one (show |(1/4 : ℝ)| < 1 by norm_num)
21
+ convert h using 1
22
+ funext j
23
+ simp only [ENNReal.toReal_ofNat,Real.rpow_two,Real.norm_eq_abs,
24
+ abs_of_nonneg (pow_nonneg (by norm_num : (0:ℝ) ≤ 1/2) j)]
25
+ rw [pow_two,← mul_pow]
26
+ norm_num
27
+
28
+ theorem exists_simultaneous_convex_tail_combinations (u : ℕ → ℕ → E)
29
+ (hbound : ∀ j, ∃ B : ℝ, ∀ n, ‖u n j‖ ≤ B) :
30
+ ∃ x : ℕ → E, ∃ s : ℕ → Finset ℕ, ∃ w : ℕ → ℕ → ℝ,
31
+ (∀ n i, i ∈ s n → 0 ≤ w n i) ∧
32
+ (∀ n, ∑ i ∈ s n, w n i = 1) ∧
33
+ (∀ j, Summable (fun n => ‖(∑ i ∈ s n, w n i • u (n+i) j) - x j‖)) ∧
34
+ (∀ j, Tendsto (fun n => ∑ i ∈ s n, w n i • u (n+i) j) atTop (𝓝 (x j))) := by
35
+ choose B hB using hbound
36
+ let c : ℕ → ℝ := fun j => (1/2:ℝ)^j / max 1 (B j)
37
+ have hc (j : ℕ) : 0 < c j := by
38
+ apply div_pos (pow_pos (by norm_num) _)
39
+ exact lt_of_lt_of_le zero_lt_one (le_max_left _ _)
40
+ have hsmall (n j : ℕ) : ‖c j • u n j‖ ≤ (1/2:ℝ)^j := by
41
+ rw [norm_smul,Real.norm_eq_abs,abs_of_pos (hc j)]
42
+ dsimp only [c]
43
+ have hd : 0 < max 1 (B j) := lt_of_lt_of_le zero_lt_one (le_max_left _ _)
44
+ have hh : ‖u n j‖ ≤ max 1 (B j) := (hB j n).trans (le_max_right _ _)
45
+ calc
46
+ (1/2:ℝ)^j / max 1 (B j) * ‖u n j‖ =
47
+ (1/2:ℝ)^j * ‖u n j‖ / max 1 (B j) := by ring
48
+ _ ≤ (1/2:ℝ)^j := (div_le_iff₀ hd).mpr (by gcongr)
49
+ let g : lp (fun _ : ℕ => ℝ) 2 := ⟨_,geometric_half_mem_l2⟩
50
+ let v : ℕ → lp (fun _ : ℕ => E) 2 := fun n =>
51
+ ⟨fun j => c j • u n j,geometric_half_mem_l2.mono (hsmall n)⟩
52
+ have hv (n : ℕ) : ‖v n‖ ≤ ‖g‖ := by
53
+ apply lp.norm_mono (by norm_num : (2 : ℝ≥0∞) ≠ 0)
54
+ intro j
55
+ simpa only [g,Real.norm_eq_abs,
56
+ abs_of_nonneg (pow_nonneg (by norm_num : (0:ℝ) ≤ 1/2) j)] using hsmall n j
57
+ obtain ⟨x,s,w,hw,hs,herror,hconv⟩ := exists_convex_tail_combinations v ‖g‖ hv
58
+ let L (j : ℕ) : lp (fun _ : ℕ => E) 2 →L[ℝ] E :=
59
+ (c j)⁻¹ • lp.evalCLM ℝ (fun _ : ℕ => E) 2 j
60
+ have hL (j n : ℕ) : L j (v n) = u n j := by
61
+ change (c j)⁻¹ • (c j • u n j) = _
62
+ rw [smul_smul,inv_mul_cancel₀ (hc j).ne',one_smul]
63
+ refine ⟨fun j => L j x,s,w,hw,hs,?_,?_⟩
64
+ · intro j
65
+ have hgeo : Summable (fun n : ℕ => ‖L j‖ * (1/2:ℝ)^n) :=
66
+ (summable_geometric_of_abs_lt_one (show |(1/2:ℝ)| < 1 by norm_num)).mul_left _
67
+ apply Summable.of_nonneg_of_le (fun _ => norm_nonneg _) _ hgeo
68
+ intro n
69
+ have hnorm := (L j).le_opNorm ((∑ i ∈ s n, w n i • v (n+i))-x)
70
+ simp only [map_sub,map_sum,map_smul,hL] at hnorm
71
+ have hh : ‖(∑ i ∈ s n, w n i • v (n+i))-x‖ ≤ (1/2:ℝ)^n := by
72
+ simpa only [dist_eq_norm] using (herror n).le
73
+ exact hnorm.trans (mul_le_mul_of_nonneg_left hh (norm_nonneg _))
74
+ · intro j
75
+ have hh := ((L j).continuous.tendsto x).comp hconv
76
+ simpa only [Function.comp_def,map_sum,map_smul,hL] using hh
77
+
78
+ end SLEExactGauge
79
+
80
+ end
81
+
82
+ end OAI
lean/OAI/Probability/SLE/Mass/StoppedConformalPassageMass.lean CHANGED
@@ -1,218 +1,218 @@
1
- import OAI.Probability.SLE.Mass.CompactConformalPassageMass
2
-
3
- namespace OAI
4
-
5
- /-! Retained sausage mass before the actual passage stop. The physical
6
- curve may include boundary visits; only its retained interior interval is
7
- identified with the conformal image. All mass is charged to the prescribed
8
- stopped segment, rather than to later portions of the whole trace. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory
12
- open scoped Topology ENNReal NNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- def segmentSausageCharge (κ : ℝ) (η : ℝ≥0 → ℂ) (s t : ℝ≥0)
17
- (v : ℝ) (R : Set ℂ) : ℝ≥0∞ :=
18
- ENNReal.ofReal (v ^ (-codimension κ)) * volume (R ∩ sourceSausageSet η s t v)
19
-
20
- theorem sourceSausageSet_mono_interval
21
- (η : ℝ≥0 → ℂ) {s t a b : ℝ≥0} (hsa : s ≤ a) (hbt : b ≤ t) (v : ℝ) :
22
- sourceSausageSet η a b v ⊆ sourceSausageSet η s t v := by
23
- rintro z ⟨u, hu, hd⟩
24
- exact ⟨u, ⟨hsa.trans hu.1, hu.2.trans hbt⟩, hd⟩
25
-
26
- theorem sourceSausageSet_congr_interval
27
- {η ξ : ℝ≥0 → ℂ} {s t : ℝ≥0} (heq : EqOn η ξ (Icc s t)) (v : ℝ) :
28
- sourceSausageSet η s t v = sourceSausageSet ξ s t v := by
29
- ext z
30
- constructor <;> rintro ⟨u, hu, hd⟩
31
- · exact ⟨u, hu, by simpa only [heq hu] using hd⟩
32
- · exact ⟨u, hu, by simpa only [heq hu] using hd⟩
33
-
34
- theorem segmentSausageCharge_mono
35
- (κ : ℝ) (η : ℝ≥0 → ℂ) {s t a b : ℝ≥0}
36
- (hsa : s ≤ a) (hbt : b ≤ t) (v : ℝ) {R S : Set ℂ} (hRS : R ⊆ S) :
37
- segmentSausageCharge κ η a b v R ≤ segmentSausageCharge κ η s t v S :=
38
- mul_le_mul' le_rfl (measure_mono (inter_subset_inter hRS
39
- (sourceSausageSet_mono_interval η hsa hbt v)))
40
-
41
- /-- The finite-list conformal transfer charges only the actual stopped
42
- physical passage. Its values at parameter-boundary times can be supplied by
43
- the boundary-safe restart theorem. -/
44
- theorem compact_conformal_stopped_passage_mass
45
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
46
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
47
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
48
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
49
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
50
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
51
- (hF : DifferentiableOn ℂ F upperHalfPlane)
52
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
53
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
54
- (K : Set ℂ) (hK : IsCompact K) (hKn : K.Nonempty) (hKH : K ⊆ upperHalfPlane)
55
- (R : Set ℂ) (hR : IsOpen R) (himage : F '' K ⊆ R)
56
- (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
57
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
58
- (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
59
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
60
- (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n))
61
- (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
62
- (hretain : ∀ᶠ n in atTop, ∀ ω, ω ∈ G n →
63
- ∃ J ∈ I, γ ω '' Icc J.1 J.2 ⊆ K ∧ s n ω ≤ J.1 ∧ J.2 ≤ t n ω ∧
64
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc J.1 J.2)) :
65
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
66
- ENNReal.ofReal (q / 2) ≤ P {ω | ω ∈ G n ∧ ENNReal.ofReal a ≤
67
- segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
68
- obtain ⟨c, ell, v₀, hc, hell, hv₀, htransfer⟩ := eventually_compact_sausage_transfer
69
- κ Fₙ F hFn hinj hF hne hconv K hK hKn hKH R hR himage
70
- have hcoeff : 0 < c ^ 2 * ell ^ codimension κ :=
71
- mul_pos (sq_pos_of_pos hc) (Real.rpow_pos_of_pos hell _)
72
- have hsmall : ∀ᶠ n in atTop, v n < v₀ := hlim.eventually (gt_mem_nhds hv₀)
73
- have hlim' : Tendsto (fun n => ell * v n) atTop (𝓝 0) := by
74
- simpa only [mul_zero] using tendsto_const_nhds.mul hlim
75
- have htrans : ∀ᶠ n in atTop, ∀ ω, ω ∈ G n → True ∧
76
- ∃ J ∈ I, ENNReal.ofReal (c ^ 2 * ell ^ codimension κ) *
77
- sourceSausageMass κ (γ ω) J.1 J.2 (ell * v n) ≤
78
- segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n) := by
79
- filter_upwards [htransfer, hretain, hsmall, hregion] with n hn hr hs hRsub
80
- intro ω hω
81
- obtain ⟨J, hJI, hJK, hJs, hJt, heq⟩ := hr ω hω
82
- refine ⟨trivial, J, hJI, (hn (γ ω) J.1 J.2 hJK (v n) (hv n) hs).trans ?_⟩
83
- change segmentSausageCharge κ (fun u => Fₙ n (γ ω u)) J.1 J.2 (v n) R ≤ _
84
- have hsausage := sourceSausageSet_congr_interval heq (v n)
85
- unfold segmentSausageCharge
86
- rw [← hsausage]
87
- exact segmentSausageCharge_mono κ (η n ω) hJs hJt (v n) hRsub
88
- obtain ⟨a, ha, hmass⟩ := ribbon_passage_mass_of_eventually_finite_intervals
89
- P κ hκ hκ8 γ hSLE I hI (fun n => ell * v n)
90
- (fun n => mul_pos hell (hv n)) hlim' G q hq hG
91
- (fun n ω => segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n))
92
- (fun _ _ => True) (c ^ 2 * ell ^ codimension κ) hcoeff htrans
93
- exact ⟨a, ha, by simpa only [true_and] using hmass⟩
94
-
95
- /-- Almost-sure chart identities suffice; exceptional restart paths are
96
- removed without changing the probabilities of the retained events. -/
97
- theorem compact_conformal_stopped_passage_mass_ae
98
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
99
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
100
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
101
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
102
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
103
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
104
- (hF : DifferentiableOn ℂ F upperHalfPlane)
105
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
106
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
107
- (K : Set ℂ) (hK : IsCompact K) (hKn : K.Nonempty) (hKH : K ⊆ upperHalfPlane)
108
- (R : Set ℂ) (hR : IsOpen R) (himage : F '' K ⊆ R)
109
- (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
110
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
111
- (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
112
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
113
- (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n))
114
- (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
115
- (hretain : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n →
116
- ∃ J ∈ I, γ ω '' Icc J.1 J.2 ⊆ K ∧ s n ω ≤ J.1 ∧ J.2 ≤ t n ω ∧
117
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc J.1 J.2)) :
118
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
119
- ENNReal.ofReal (q / 2) ≤ P {ω | ω ∈ G n ∧ ENNReal.ofReal a ≤
120
- segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
121
- let H (n : ℕ) : Set Ω := {ω | ω ∈ G n ∧
122
- ∃ J ∈ I, γ ω '' Icc J.1 J.2 ⊆ K ∧ s n ω ≤ J.1 ∧ J.2 ≤ t n ω ∧
123
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc J.1 J.2)}
124
- have hH : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (H n) := by
125
- filter_upwards [hG, hretain] with n hn hr
126
- have he : H n =ᵐ[P] G n := by
127
- filter_upwards [hr] with ω hω
128
- exact propext ⟨fun h => h.1, fun h => ⟨h, hω h⟩⟩
129
- simpa only [measure_congr he] using hn
130
- have hr : ∀ᶠ n in atTop, ∀ ω, ω ∈ H n →
131
- ∃ J ∈ I, γ ω '' Icc J.1 J.2 ⊆ K ∧ s n ω ≤ J.1 ∧ J.2 ≤ t n ω ∧
132
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc J.1 J.2) :=
133
- Eventually.of_forall fun _ _ hω => hω.2
134
- obtain ⟨a, ha, hm⟩ := compact_conformal_stopped_passage_mass P κ hκ hκ8 γ hSLE
135
- Fₙ F hFn hinj hF hne hconv K hK hKn hKH R hR himage I hI v hv hlim
136
- η s t Rₙ H q hq hH hregion hr
137
- refine ⟨a, ha, ?_⟩
138
- filter_upwards [hm] with n hn
139
- exact hn.trans (measure_mono fun _ hω => ⟨hω.1.1, hω.2⟩)
140
-
141
- /-- Countable compact/time certificates are extracted before choosing the
142
- common mesh. The selected intervals lie before the actual passage stop. -/
143
- theorem countable_compact_conformal_stopped_passage_mass
144
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
145
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
146
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
147
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
148
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
149
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
150
- (hF : DifferentiableOn ℂ F upperHalfPlane)
151
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
152
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
153
- (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
154
- (R : Set ℂ) (hR : IsOpen R) (himage : ∀ i, F '' K i ⊆ R)
155
- (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
156
- (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
157
- (hcover : P (E \ ⋃ i, D i) = 0)
158
- (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
159
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
160
- (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
161
- (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
162
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
163
- (hG : ∀ n, ENNReal.ofReal q ≤ P (G n ∩ E))
164
- (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ ω, ω ∈ G n ∩ E ∩ D i →
165
- s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
166
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
167
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
168
- ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
169
- segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
170
- classical
171
- obtain ⟨N, hN⟩ := varying_events_after_finite_retention P E D G hE hD hcover q hq hG
172
- let A := ⋃ i ∈ Finset.range N, D i
173
- let Q := ⋃ i ∈ Finset.range N, K i
174
- let H : ℕ → Set Ω := fun n => G n ∩ E ∩ A
175
- have hQ : IsCompact Q := (Finset.range N).isCompact_biUnion (fun i _ => hK i)
176
- have hQH : Q ⊆ upperHalfPlane := iUnion₂_subset (fun i _ => hKH i)
177
- have hQR : F '' Q ⊆ R := by
178
- rintro w ⟨z, hz, rfl⟩
179
- obtain ⟨i, _, hi⟩ := mem_iUnion₂.mp hz
180
- exact himage i (mem_image_of_mem F hi)
181
- have hQn : Q.Nonempty := by
182
- have hHpos : 0 < P (H 0) := (ENNReal.ofReal_pos.mpr (by positivity : 0 < q / 2)).trans_le (hN 0)
183
- obtain ⟨ω, hω⟩ := nonempty_of_measure_ne_zero hHpos.ne'
184
- obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
185
- exact ⟨γ ω (J i).1, mem_iUnion₂.mpr ⟨i, hi,
186
- hretain i ω hDi (mem_image_of_mem (γ ω) ⟨le_rfl, (hJ i).le⟩)⟩⟩
187
- let I := (Finset.range N).image J
188
- have hI : ∀ L ∈ I, L.1 < L.2 := by
189
- intro L hL
190
- obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hL
191
- exact hJ i
192
- have hwin : ∀ᶠ n in atTop, ∀ i ∈ Finset.range N, ∀ ω, ω ∈ G n ∩ E ∩ D i →
193
- s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
194
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2) :=
195
- (Finset.eventually_all _).mpr (fun i _ => hwindow i)
196
- have hr : ∀ᶠ n in atTop, ∀ ω, ω ∈ H n →
197
- ∃ L ∈ I, γ ω '' Icc L.1 L.2 ⊆ Q ∧ s n ω ≤ L.1 ∧ L.2 ≤ t n ω ∧
198
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc L.1 L.2) := by
199
- filter_upwards [hwin] with n hn
200
- intro ω hω
201
- obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
202
- exact ⟨J i, Finset.mem_image.mpr ⟨i, hi, rfl⟩,
203
- (hretain i ω hDi).trans (subset_iUnion₂_of_subset i hi Subset.rfl),
204
- hn i hi ω ⟨hω.1, hDi⟩⟩
205
- obtain ⟨a, ha, hmass⟩ := compact_conformal_stopped_passage_mass P κ hκ hκ8 γ hSLE
206
- Fₙ F hFn hinj hF hne hconv Q hQ hQn hQH R hR hQR I hI v hv hlim
207
- η s t Rₙ H (q / 2) (by positivity) (Eventually.of_forall hN) hregion hr
208
- refine ⟨a, ha, ?_⟩
209
- filter_upwards [hmass] with n hn
210
- have hqq : q / 2 / 2 = q / 4 := by ring
211
- rw [hqq] at hn
212
- exact hn.trans (measure_mono (fun _ hω => ⟨hω.1.1, hω.2⟩))
213
-
214
- end SLEExactGauge
215
-
216
- end
217
-
218
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.CompactConformalPassageMass
2
+
3
+ namespace OAI
4
+
5
+ /-! Retained sausage mass before the actual passage stop. The physical
6
+ curve may include boundary visits; only its retained interior interval is
7
+ identified with the conformal image. All mass is charged to the prescribed
8
+ stopped segment, rather than to later portions of the whole trace. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory
12
+ open scoped Topology ENNReal NNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ def segmentSausageCharge (κ : ℝ) (η : ℝ≥0 → ℂ) (s t : ℝ≥0)
17
+ (v : ℝ) (R : Set ℂ) : ℝ≥0∞ :=
18
+ ENNReal.ofReal (v ^ (-codimension κ)) * volume (R ∩ sourceSausageSet η s t v)
19
+
20
+ theorem sourceSausageSet_mono_interval
21
+ (η : ℝ≥0 → ℂ) {s t a b : ℝ≥0} (hsa : s ≤ a) (hbt : b ≤ t) (v : ℝ) :
22
+ sourceSausageSet η a b v ⊆ sourceSausageSet η s t v := by
23
+ rintro z ⟨u, hu, hd⟩
24
+ exact ⟨u, ⟨hsa.trans hu.1, hu.2.trans hbt⟩, hd⟩
25
+
26
+ theorem sourceSausageSet_congr_interval
27
+ {η ξ : ℝ≥0 → ℂ} {s t : ℝ≥0} (heq : EqOn η ξ (Icc s t)) (v : ℝ) :
28
+ sourceSausageSet η s t v = sourceSausageSet ξ s t v := by
29
+ ext z
30
+ constructor <;> rintro ⟨u, hu, hd⟩
31
+ · exact ⟨u, hu, by simpa only [heq hu] using hd⟩
32
+ · exact ⟨u, hu, by simpa only [heq hu] using hd⟩
33
+
34
+ theorem segmentSausageCharge_mono
35
+ (κ : ℝ) (η : ℝ≥0 → ℂ) {s t a b : ℝ≥0}
36
+ (hsa : s ≤ a) (hbt : b ≤ t) (v : ℝ) {R S : Set ℂ} (hRS : R ⊆ S) :
37
+ segmentSausageCharge κ η a b v R ≤ segmentSausageCharge κ η s t v S :=
38
+ mul_le_mul' le_rfl (measure_mono (inter_subset_inter hRS
39
+ (sourceSausageSet_mono_interval η hsa hbt v)))
40
+
41
+ /-- The finite-list conformal transfer charges only the actual stopped
42
+ physical passage. Its values at parameter-boundary times can be supplied by
43
+ the boundary-safe restart theorem. -/
44
+ theorem compact_conformal_stopped_passage_mass
45
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
46
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
47
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
48
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
49
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
50
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
51
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
52
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
53
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
54
+ (K : Set ℂ) (hK : IsCompact K) (hKn : K.Nonempty) (hKH : K ⊆ upperHalfPlane)
55
+ (R : Set ℂ) (hR : IsOpen R) (himage : F '' K ⊆ R)
56
+ (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
57
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
58
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
59
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
60
+ (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n))
61
+ (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
62
+ (hretain : ∀ᶠ n in atTop, ∀ ω, ω ∈ G n →
63
+ ∃ J ∈ I, γ ω '' Icc J.1 J.2 ⊆ K ∧ s n ω ≤ J.1 ∧ J.2 ≤ t n ω ∧
64
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc J.1 J.2)) :
65
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
66
+ ENNReal.ofReal (q / 2) ≤ P {ω | ω ∈ G n ∧ ENNReal.ofReal a ≤
67
+ segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
68
+ obtain ⟨c, ell, v₀, hc, hell, hv₀, htransfer⟩ := eventually_compact_sausage_transfer
69
+ κ Fₙ F hFn hinj hF hne hconv K hK hKn hKH R hR himage
70
+ have hcoeff : 0 < c ^ 2 * ell ^ codimension κ :=
71
+ mul_pos (sq_pos_of_pos hc) (Real.rpow_pos_of_pos hell _)
72
+ have hsmall : ∀ᶠ n in atTop, v n < v₀ := hlim.eventually (gt_mem_nhds hv₀)
73
+ have hlim' : Tendsto (fun n => ell * v n) atTop (𝓝 0) := by
74
+ simpa only [mul_zero] using tendsto_const_nhds.mul hlim
75
+ have htrans : ∀ᶠ n in atTop, ∀ ω, ω ∈ G n → True ∧
76
+ ∃ J ∈ I, ENNReal.ofReal (c ^ 2 * ell ^ codimension κ) *
77
+ sourceSausageMass κ (γ ω) J.1 J.2 (ell * v n) ≤
78
+ segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n) := by
79
+ filter_upwards [htransfer, hretain, hsmall, hregion] with n hn hr hs hRsub
80
+ intro ω hω
81
+ obtain ⟨J, hJI, hJK, hJs, hJt, heq⟩ := hr ω hω
82
+ refine ⟨trivial, J, hJI, (hn (γ ω) J.1 J.2 hJK (v n) (hv n) hs).trans ?_⟩
83
+ change segmentSausageCharge κ (fun u => Fₙ n (γ ω u)) J.1 J.2 (v n) R ≤ _
84
+ have hsausage := sourceSausageSet_congr_interval heq (v n)
85
+ unfold segmentSausageCharge
86
+ rw [← hsausage]
87
+ exact segmentSausageCharge_mono κ (η n ω) hJs hJt (v n) hRsub
88
+ obtain ⟨a, ha, hmass⟩ := ribbon_passage_mass_of_eventually_finite_intervals
89
+ P κ hκ hκ8 γ hSLE I hI (fun n => ell * v n)
90
+ (fun n => mul_pos hell (hv n)) hlim' G q hq hG
91
+ (fun n ω => segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n))
92
+ (fun _ _ => True) (c ^ 2 * ell ^ codimension κ) hcoeff htrans
93
+ exact ⟨a, ha, by simpa only [true_and] using hmass⟩
94
+
95
+ /-- Almost-sure chart identities suffice; exceptional restart paths are
96
+ removed without changing the probabilities of the retained events. -/
97
+ theorem compact_conformal_stopped_passage_mass_ae
98
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
99
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
100
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
101
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
102
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
103
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
104
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
105
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
106
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
107
+ (K : Set ℂ) (hK : IsCompact K) (hKn : K.Nonempty) (hKH : K ⊆ upperHalfPlane)
108
+ (R : Set ℂ) (hR : IsOpen R) (himage : F '' K ⊆ R)
109
+ (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
110
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
111
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
112
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
113
+ (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n))
114
+ (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
115
+ (hretain : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n →
116
+ ∃ J ∈ I, γ ω '' Icc J.1 J.2 ⊆ K ∧ s n ω ≤ J.1 ∧ J.2 ≤ t n ω ∧
117
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc J.1 J.2)) :
118
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
119
+ ENNReal.ofReal (q / 2) ≤ P {ω | ω ∈ G n ∧ ENNReal.ofReal a ≤
120
+ segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
121
+ let H (n : ℕ) : Set Ω := {ω | ω ∈ G n ∧
122
+ ∃ J ∈ I, γ ω '' Icc J.1 J.2 ⊆ K ∧ s n ω ≤ J.1 ∧ J.2 ≤ t n ω ∧
123
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc J.1 J.2)}
124
+ have hH : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (H n) := by
125
+ filter_upwards [hG, hretain] with n hn hr
126
+ have he : H n =ᵐ[P] G n := by
127
+ filter_upwards [hr] with ω hω
128
+ exact propext ⟨fun h => h.1, fun h => ⟨h, hω h⟩⟩
129
+ simpa only [measure_congr he] using hn
130
+ have hr : ∀ᶠ n in atTop, ∀ ω, ω ∈ H n →
131
+ ∃ J ∈ I, γ ω '' Icc J.1 J.2 ⊆ K ∧ s n ω ≤ J.1 ∧ J.2 ≤ t n ω ∧
132
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc J.1 J.2) :=
133
+ Eventually.of_forall fun _ _ hω => hω.2
134
+ obtain ⟨a, ha, hm⟩ := compact_conformal_stopped_passage_mass P κ hκ hκ8 γ hSLE
135
+ Fₙ F hFn hinj hF hne hconv K hK hKn hKH R hR himage I hI v hv hlim
136
+ η s t Rₙ H q hq hH hregion hr
137
+ refine ⟨a, ha, ?_⟩
138
+ filter_upwards [hm] with n hn
139
+ exact hn.trans (measure_mono fun _ hω => ⟨hω.1.1, hω.2⟩)
140
+
141
+ /-- Countable compact/time certificates are extracted before choosing the
142
+ common mesh. The selected intervals lie before the actual passage stop. -/
143
+ theorem countable_compact_conformal_stopped_passage_mass
144
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
145
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
146
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
147
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
148
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
149
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
150
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
151
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
152
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
153
+ (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
154
+ (R : Set ℂ) (hR : IsOpen R) (himage : ∀ i, F '' K i ⊆ R)
155
+ (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
156
+ (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
157
+ (hcover : P (E \ ⋃ i, D i) = 0)
158
+ (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
159
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
160
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
161
+ (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
162
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
163
+ (hG : ∀ n, ENNReal.ofReal q ≤ P (G n ∩ E))
164
+ (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ ω, ω ∈ G n ∩ E ∩ D i →
165
+ s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
166
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
167
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
168
+ ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
169
+ segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
170
+ classical
171
+ obtain ⟨N, hN⟩ := varying_events_after_finite_retention P E D G hE hD hcover q hq hG
172
+ let A := ⋃ i ∈ Finset.range N, D i
173
+ let Q := ⋃ i ∈ Finset.range N, K i
174
+ let H : ℕ → Set Ω := fun n => G n ∩ E ∩ A
175
+ have hQ : IsCompact Q := (Finset.range N).isCompact_biUnion (fun i _ => hK i)
176
+ have hQH : Q ⊆ upperHalfPlane := iUnion₂_subset (fun i _ => hKH i)
177
+ have hQR : F '' Q ⊆ R := by
178
+ rintro w ⟨z, hz, rfl⟩
179
+ obtain ⟨i, _, hi⟩ := mem_iUnion₂.mp hz
180
+ exact himage i (mem_image_of_mem F hi)
181
+ have hQn : Q.Nonempty := by
182
+ have hHpos : 0 < P (H 0) := (ENNReal.ofReal_pos.mpr (by positivity : 0 < q / 2)).trans_le (hN 0)
183
+ obtain ⟨ω, hω⟩ := nonempty_of_measure_ne_zero hHpos.ne'
184
+ obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
185
+ exact ⟨γ ω (J i).1, mem_iUnion₂.mpr ⟨i, hi,
186
+ hretain i ω hDi (mem_image_of_mem (γ ω) ⟨le_rfl, (hJ i).le⟩)⟩⟩
187
+ let I := (Finset.range N).image J
188
+ have hI : ∀ L ∈ I, L.1 < L.2 := by
189
+ intro L hL
190
+ obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hL
191
+ exact hJ i
192
+ have hwin : ∀ᶠ n in atTop, ∀ i ∈ Finset.range N, ∀ ω, ω ∈ G n ∩ E ∩ D i →
193
+ s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
194
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2) :=
195
+ (Finset.eventually_all _).mpr (fun i _ => hwindow i)
196
+ have hr : ∀ᶠ n in atTop, ∀ ω, ω ∈ H n →
197
+ ∃ L ∈ I, γ ω '' Icc L.1 L.2 ⊆ Q ∧ s n ω ≤ L.1 ∧ L.2 ≤ t n ω ∧
198
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc L.1 L.2) := by
199
+ filter_upwards [hwin] with n hn
200
+ intro ω hω
201
+ obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
202
+ exact ⟨J i, Finset.mem_image.mpr ⟨i, hi, rfl⟩,
203
+ (hretain i ω hDi).trans (subset_iUnion₂_of_subset i hi Subset.rfl),
204
+ hn i hi ω ⟨hω.1, hDi⟩⟩
205
+ obtain ⟨a, ha, hmass⟩ := compact_conformal_stopped_passage_mass P κ hκ hκ8 γ hSLE
206
+ Fₙ F hFn hinj hF hne hconv Q hQ hQn hQH R hR hQR I hI v hv hlim
207
+ η s t Rₙ H (q / 2) (by positivity) (Eventually.of_forall hN) hregion hr
208
+ refine ⟨a, ha, ?_⟩
209
+ filter_upwards [hmass] with n hn
210
+ have hqq : q / 2 / 2 = q / 4 := by ring
211
+ rw [hqq] at hn
212
+ exact hn.trans (measure_mono (fun _ hω => ⟨hω.1.1, hω.2⟩))
213
+
214
+ end SLEExactGauge
215
+
216
+ end
217
+
218
+ end OAI
lean/OAI/Probability/SLE/Mass/StoppedInverseMass.lean CHANGED
@@ -1,105 +1,105 @@
1
- import OAI.Probability.SLE.Geometry.RestartDerivativeMeasurability
2
- import OAI.Probability.SLE.Geometry.CanonicalRawMean
3
- import OAI.Probability.SLE.Mass.WeightedImageRandomMass
4
-
5
- namespace OAI
6
-
7
- /-! Actual stopped inverse-Loewner transport of the fresh raw terminal
8
- mass, with measurable charts, derivative weights and exact spatial tests. -/
9
-
10
- noncomputable section
11
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory Classical
12
- open scoped NNReal ENNReal Topology
13
-
14
- namespace SLEExactGauge.Multipoint
15
-
16
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
17
- local instance : MeasurableSpace C(ℝ≥0,ℝ) := borel _
18
- local instance : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
19
-
20
- variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
21
- (B : ℝ≥0 → Ω → ℝ) (κ : ℝ) (γ : Ω → ℝ≥0 → ℂ)
22
- (G F : Ω → ℝ≥0 → ℂ → ℂ)
23
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
24
- (τ : Ω → ℝ≥0)
25
-
26
- def stoppedMassPoint (ω : Ω) (z : upperHalfPlane) : upperHalfPlane :=
27
- ⟨F ω (τ ω) ((z:ℂ)+(Real.sqrt κ*B (τ ω) ω:ℝ)),
28
- ((hw ω).2.2.2.2.2.2.1 (τ ω) (by
29
- simpa only [upperHalfPlane,mem_ofPred_eq,Complex.add_im,Complex.ofReal_im,add_zero]
30
- using z.property)).1.1⟩
31
-
32
- def stoppedMassWeight (ω : Ω) (z : upperHalfPlane) : ℝ≥0∞ :=
33
- ENNReal.ofReal (‖deriv (F ω (τ ω)) ((z:ℂ)+(Real.sqrt κ*B (τ ω) ω:ℝ))‖^dimension κ)
34
-
35
- variable (hm : ∀ t, Measurable (B t)) (hc : ∀ ω, Continuous (fun t => B t ω))
36
- (hτ : IsStoppingTime (Filtration.natural B (fun t => (hm t).stronglyMeasurable))
37
- (fun ω => (τ ω:WithTop ℝ≥0)))
38
-
39
- include hm hc hτ γ G hw
40
-
41
- theorem stoppedMassPoint_measurable : Measurable[hτ.measurableSpace.prod inferInstance]
42
- (fun p : Ω × upperHalfPlane => stoppedMassPoint B κ γ G F hw τ p.1 p.2) := by
43
- unfold stoppedMassPoint
44
- apply Measurable.subtype_mk
45
- exact continuous_eval.measurable.comp
46
- (((source_stopped_inversePath_measurable B hm hc κ γ G F hw τ hτ).comp
47
- measurable_fst).prodMk measurable_snd)
48
-
49
- theorem stoppedMassWeight_measurable (hκ : 0 < κ) :
50
- Measurable[hτ.measurableSpace.prod inferInstance]
51
- (fun p : Ω × upperHalfPlane => stoppedMassWeight B κ F τ p.1 p.2) := by
52
- let : MeasurableSpace (Ω × upperHalfPlane) := hτ.measurableSpace.prod inferInstance
53
- have hd := source_stopped_inverse_derivative_measurable B hm hc κ γ G F hw τ hτ
54
- have he : 0 ≤ dimension κ := by unfold dimension; linarith
55
- exact ((Real.continuous_rpow_const he).measurable.comp hd.norm).ennreal_ofReal
56
-
57
- omit hm hτ in
58
- def stoppedFreshTerminalMass (R : RawCanonicalMass) (ω : Ω) : Measure upperHalfPlane :=
59
- weightedImageMass (stoppedMassPoint B κ γ G F hw τ ω) (stoppedMassWeight B κ F τ ω)
60
- (R.terminal (sourceRestartDriverPath B hc τ ω))
61
-
62
- theorem stoppedFreshTerminalMass_measurable (hκ : 0 < κ) (R : RawCanonicalMass) :
63
- Measurable (stoppedFreshTerminalMass B κ γ G F hw τ hc R) := by
64
- have hY : Measurable (sourceRestartDriverPath B hc τ) := source_path_measurable _
65
- (fun t => (measurable_pi_apply t).comp
66
- (brownianRestart_measurable hm hc (stopping_time_measurable_nnreal hτ)))
67
- have hM := @weightedImageMass_measurable_of_subsigma Ω upperHalfPlane mΩ inferInstance
68
- hτ.measurableSpace hτ.measurableSpace_le
69
- (fun ω => R.terminal (sourceRestartDriverPath B hc τ ω))
70
- (R.terminal_measurable.comp hY) (fun ω => (R.terminal_radon _).2)
71
- (fun p => stoppedMassPoint B κ γ G F hw τ p.1 p.2)
72
- (stoppedMassPoint_measurable B κ γ G F hw τ hm hc hτ)
73
- (fun p => stoppedMassWeight B κ F τ p.1 p.2)
74
- (stoppedMassWeight_measurable B κ γ G F hw τ hm hc hτ hκ)
75
- exact hM
76
-
77
- theorem CanonicalMass.stoppedFreshTerminalMass_test
78
- {P : Measure Ω} [IsProbabilityMeasure P] {hBm : Measurable (Function.uncurry B)}
79
- (C : CanonicalMass P κ B hBm γ G) (hB : IsBrownianReal B P) (hκ : 0 < κ)
80
- (R : RawCanonicalMass)
81
- (he : ∀ᵐ ω ∂P, R.terminal (sourceDriverPath B hc ω) = C.rational.terminal ω)
82
- (f : Ω × upperHalfPlane → ℝ≥0∞)
83
- (hf : Measurable[hτ.measurableSpace.prod inferInstance] f) :
84
- (∫⁻ ω, ∫⁻ x, f (ω,x) ∂(stoppedFreshTerminalMass B κ γ G F hw τ hc R ω) ∂P) =
85
- ∫⁻ ω, ∫⁻ z, stoppedMassWeight B κ F τ ω z *
86
- f (ω,stoppedMassPoint B κ γ G F hw τ ω z) ∂initialGreenMeasure κ ∂P := by
87
- have hp : Measurable (sourceDriverPath B hc) := source_path_measurable _ hm
88
- let : IsProbabilityMeasure (P.map (sourceDriverPath B hc)) :=
89
- (Measure.isProbabilityMeasure_map_iff hp.aemeasurable).mpr inferInstance
90
- have hY : Measurable (sourceRestartDriverPath B hc τ) := source_path_measurable _
91
- (fun t => (measurable_pi_apply t).comp
92
- (brownianRestart_measurable hm hc (stopping_time_measurable_nnreal hτ)))
93
- have h := restart_weighted_mass_test P (P.map (sourceDriverPath B hc))
94
- hτ.measurableSpace hτ.measurableSpace_le (sourceRestartDriverPath B hc τ) hY
95
- (fun A hA => source_restart_continuous_driver_law hB hm hc τ hτ hA)
96
- R.terminal R.terminal_measurable (fun p => (R.terminal_radon p).2) _
97
- (stoppedMassPoint_measurable B κ γ G F hw τ hm hc hτ) _
98
- (stoppedMassWeight_measurable B κ γ G F hw τ hm hc hτ hκ) f hf
99
- rwa [C.raw_terminal_mean hc R he] at h
100
-
101
- end SLEExactGauge.Multipoint
102
-
103
- end
104
-
105
- end OAI
 
1
+ import OAI.Probability.SLE.Geometry.RestartDerivativeMeasurability
2
+ import OAI.Probability.SLE.Geometry.CanonicalRawMean
3
+ import OAI.Probability.SLE.Mass.WeightedImageRandomMass
4
+
5
+ namespace OAI
6
+
7
+ /-! Actual stopped inverse-Loewner transport of the fresh raw terminal
8
+ mass, with measurable charts, derivative weights and exact spatial tests. -/
9
+
10
+ noncomputable section
11
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory Classical
12
+ open scoped NNReal ENNReal Topology
13
+
14
+ namespace SLEExactGauge.Multipoint
15
+
16
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
17
+ local instance : MeasurableSpace C(ℝ≥0,ℝ) := borel _
18
+ local instance : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
19
+
20
+ variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
21
+ (B : ℝ≥0 → Ω → ℝ) (κ : ℝ) (γ : Ω → ℝ≥0 → ℂ)
22
+ (G F : Ω → ℝ≥0 → ℂ → ℂ)
23
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
24
+ (τ : Ω → ℝ≥0)
25
+
26
+ def stoppedMassPoint (ω : Ω) (z : upperHalfPlane) : upperHalfPlane :=
27
+ ⟨F ω (τ ω) ((z:ℂ)+(Real.sqrt κ*B (τ ω) ω:ℝ)),
28
+ ((hw ω).2.2.2.2.2.2.1 (τ ω) (by
29
+ simpa only [upperHalfPlane,mem_ofPred_eq,Complex.add_im,Complex.ofReal_im,add_zero]
30
+ using z.property)).1.1⟩
31
+
32
+ def stoppedMassWeight (ω : Ω) (z : upperHalfPlane) : ℝ≥0∞ :=
33
+ ENNReal.ofReal (‖deriv (F ω (τ ω)) ((z:ℂ)+(Real.sqrt κ*B (τ ω) ω:ℝ))‖^dimension κ)
34
+
35
+ variable (hm : ∀ t, Measurable (B t)) (hc : ∀ ω, Continuous (fun t => B t ω))
36
+ (hτ : IsStoppingTime (Filtration.natural B (fun t => (hm t).stronglyMeasurable))
37
+ (fun ω => (τ ω:WithTop ℝ≥0)))
38
+
39
+ include hm hc hτ γ G hw
40
+
41
+ theorem stoppedMassPoint_measurable : Measurable[hτ.measurableSpace.prod inferInstance]
42
+ (fun p : Ω × upperHalfPlane => stoppedMassPoint B κ γ G F hw τ p.1 p.2) := by
43
+ unfold stoppedMassPoint
44
+ apply Measurable.subtype_mk
45
+ exact continuous_eval.measurable.comp
46
+ (((source_stopped_inversePath_measurable B hm hc κ γ G F hw τ hτ).comp
47
+ measurable_fst).prodMk measurable_snd)
48
+
49
+ theorem stoppedMassWeight_measurable (hκ : 0 < κ) :
50
+ Measurable[hτ.measurableSpace.prod inferInstance]
51
+ (fun p : Ω × upperHalfPlane => stoppedMassWeight B κ F τ p.1 p.2) := by
52
+ let : MeasurableSpace (Ω × upperHalfPlane) := hτ.measurableSpace.prod inferInstance
53
+ have hd := source_stopped_inverse_derivative_measurable B hm hc κ γ G F hw τ hτ
54
+ have he : 0 ≤ dimension κ := by unfold dimension; linarith
55
+ exact ((Real.continuous_rpow_const he).measurable.comp hd.norm).ennreal_ofReal
56
+
57
+ omit hm hτ in
58
+ def stoppedFreshTerminalMass (R : RawCanonicalMass) (ω : Ω) : Measure upperHalfPlane :=
59
+ weightedImageMass (stoppedMassPoint B κ γ G F hw τ ω) (stoppedMassWeight B κ F τ ω)
60
+ (R.terminal (sourceRestartDriverPath B hc τ ω))
61
+
62
+ theorem stoppedFreshTerminalMass_measurable (hκ : 0 < κ) (R : RawCanonicalMass) :
63
+ Measurable (stoppedFreshTerminalMass B κ γ G F hw τ hc R) := by
64
+ have hY : Measurable (sourceRestartDriverPath B hc τ) := source_path_measurable _
65
+ (fun t => (measurable_pi_apply t).comp
66
+ (brownianRestart_measurable hm hc (stopping_time_measurable_nnreal hτ)))
67
+ have hM := @weightedImageMass_measurable_of_subsigma Ω upperHalfPlane mΩ inferInstance
68
+ hτ.measurableSpace hτ.measurableSpace_le
69
+ (fun ω => R.terminal (sourceRestartDriverPath B hc τ ω))
70
+ (R.terminal_measurable.comp hY) (fun ω => (R.terminal_radon _).2)
71
+ (fun p => stoppedMassPoint B κ γ G F hw τ p.1 p.2)
72
+ (stoppedMassPoint_measurable B κ γ G F hw τ hm hc hτ)
73
+ (fun p => stoppedMassWeight B κ F τ p.1 p.2)
74
+ (stoppedMassWeight_measurable B κ γ G F hw τ hm hc hτ hκ)
75
+ exact hM
76
+
77
+ theorem CanonicalMass.stoppedFreshTerminalMass_test
78
+ {P : Measure Ω} [IsProbabilityMeasure P] {hBm : Measurable (Function.uncurry B)}
79
+ (C : CanonicalMass P κ B hBm γ G) (hB : IsBrownianReal B P) (hκ : 0 < κ)
80
+ (R : RawCanonicalMass)
81
+ (he : ∀ᵐ ω ∂P, R.terminal (sourceDriverPath B hc ω) = C.rational.terminal ω)
82
+ (f : Ω × upperHalfPlane → ℝ≥0∞)
83
+ (hf : Measurable[hτ.measurableSpace.prod inferInstance] f) :
84
+ (∫⁻ ω, ∫⁻ x, f (ω,x) ∂(stoppedFreshTerminalMass B κ γ G F hw τ hc R ω) ∂P) =
85
+ ∫⁻ ω, ∫⁻ z, stoppedMassWeight B κ F τ ω z *
86
+ f (ω,stoppedMassPoint B κ γ G F hw τ ω z) ∂initialGreenMeasure κ ∂P := by
87
+ have hp : Measurable (sourceDriverPath B hc) := source_path_measurable _ hm
88
+ let : IsProbabilityMeasure (P.map (sourceDriverPath B hc)) :=
89
+ (Measure.isProbabilityMeasure_map_iff hp.aemeasurable).mpr inferInstance
90
+ have hY : Measurable (sourceRestartDriverPath B hc τ) := source_path_measurable _
91
+ (fun t => (measurable_pi_apply t).comp
92
+ (brownianRestart_measurable hm hc (stopping_time_measurable_nnreal hτ)))
93
+ have h := restart_weighted_mass_test P (P.map (sourceDriverPath B hc))
94
+ hτ.measurableSpace hτ.measurableSpace_le (sourceRestartDriverPath B hc τ) hY
95
+ (fun A hA => source_restart_continuous_driver_law hB hm hc τ hτ hA)
96
+ R.terminal R.terminal_measurable (fun p => (R.terminal_radon p).2) _
97
+ (stoppedMassPoint_measurable B κ γ G F hw τ hm hc hτ) _
98
+ (stoppedMassWeight_measurable B κ γ G F hw τ hm hc hτ hκ) f hf
99
+ rwa [C.raw_terminal_mean hc R he] at h
100
+
101
+ end SLEExactGauge.Multipoint
102
+
103
+ end
104
+
105
+ end OAI
lean/OAI/Probability/SLE/Mass/StrictPastMass.lean CHANGED
@@ -1,76 +1,76 @@
1
- import OAI.Probability.SLE.Mass.CanonicalMassFirstVisit
2
-
3
- namespace OAI
4
-
5
- /-! The expected terminal mass arriving strictly after a deterministic past
6
- is its current Green mass, including arbitrary events in that past. -/
7
-
8
- noncomputable section
9
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
10
- open scoped Topology NNReal ENNReal
11
-
12
- namespace SLEExactGauge.Multipoint.CanonicalMass
13
-
14
- variable {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
15
- {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
16
- {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
17
-
18
- lemma strict_past_mass_kernel
19
- (C : CanonicalMass P κ B hBm γ G) (hB : IsBrownianReal B P)
20
- (hc : ∀ ω, Continuous (fun t => B t ω)) (h0 : ∀ ω, B 0 ω=0)
21
- (hκ : 0<κ) (hκ8 : κ<8) (F : Ω → ℝ≥0 → ℂ → ℂ)
22
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
23
- (t : ℝ≥0) (E : Set Ω)
24
- (hE : MeasurableSet[(Filtration.natural B (fun s =>
25
- (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)) t] E)
26
- (K : Set upperHalfPlane) (hK : IsCompact K) :
27
- (∫⁻ ω in E, C.rational.terminal ω
28
- (K \ {z : upperHalfPlane | (z:ℂ)∈γ ω '' Icc 0 t}) ∂P)=
29
- ∫⁻ ω in E, halfPlaneGreenMeasure κ B γ G t ω K ∂P := by
30
- let ℱ := Filtration.natural B (fun s =>
31
- (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)
32
- have hNm : Measurable (C.process t) := by
33
- simpa only [atTime,extendedCanonicalMass,ENNReal.coe_lt_top,ite_true,ENNReal.toNNReal_coe]
34
- using C.atTime_measurable (fun _ => (t:ℝ≥0∞)) measurable_const
35
- have hNG : Measurable (fun ω => C.process t ω K) :=
36
- (Measure.measurable_coe hK.measurableSet).comp hNm
37
- have hGm := halfPlaneGreenMeasure_measurable hBm hc κ γ G F hw t
38
- have hp : ∀ᵐ ω ∂P, C.process t ω=(C.rational.terminal ω).restrict
39
- {z : upperHalfPlane | (z:ℂ)∈γ ω '' Icc 0 t} := by
40
- simpa only [atTime,extendedCanonicalMass,ENNReal.coe_lt_top,ite_true,ENNReal.toNNReal_coe]
41
- using C.atTime_eq_restrict_past hB hBm hc h0 hκ hκ8 F hw t
42
- have hdecomp : (∫⁻ ω in E, C.rational.terminal ω K ∂P)=
43
- (∫⁻ ω in E, C.process t ω K ∂P)+
44
- ∫⁻ ω in E, C.rational.terminal ω
45
- (K \ {z : upperHalfPlane | (z:ℂ)∈γ ω '' Icc 0 t}) ∂P := by
46
- rw [← lintegral_add_left hNG]
47
- apply lintegral_congr_ae
48
- filter_upwards [ae_restrict_of_ae hp] with ω hω
49
- rw [hω,Measure.restrict_apply hK.measurableSet]
50
- exact (measure_inter_add_sdiff K
51
- (((isCompact_Icc.image (hw ω).1).isClosed.preimage continuous_subtype_val).measurableSet)).symm
52
- have hS : IsStoppingTime ℱ (fun _ : Ω => (t:WithTop ℝ≥0)) := isStoppingTime_const ℱ t
53
- have hEs : MeasurableSet[hS.measurableSpace] E := by
54
- change MeasurableSet[(isStoppingTime_const ℱ t).measurableSpace] E
55
- rw [IsStoppingTime.measurableSpace_const]
56
- exact hE
57
- have hk := congrArg (fun μ : Measure upperHalfPlane => μ K) (C.kernel _ hS E hEs)
58
- change ((P.restrict E).bind C.rational.terminal) K=
59
- (((P.restrict E).bind (C.process t))+((P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t))) K at hk
60
- rw [Measure.add_apply,Measure.bind_apply hK.measurableSet C.rational.terminal_measurable.aemeasurable,
61
- Measure.bind_apply hK.measurableSet hNm.aemeasurable,
62
- Measure.bind_apply hK.measurableSet hGm.aemeasurable] at hk
63
- have hfin : (∫⁻ ω in E, C.process t ω K ∂P)≠∞ := by
64
- let : IsFiniteMeasureOnCompacts (initialGreenMeasure κ) := initialGreenMeasure_finite_on_compacts κ
65
- have hb := C.atTime_mean_le (fun _ => (t:ℝ≥0∞)) measurable_const E K
66
- change ((P.restrict E).bind (C.process t)) K ≤ initialGreenMeasure κ K at hb
67
- rw [Measure.bind_apply hK.measurableSet hNm.aemeasurable] at hb
68
- exact (hb.trans_lt hK.measure_lt_top).ne
69
- apply (ENNReal.add_right_inj hfin).mp
70
- simpa only [add_comm] using hdecomp.symm.trans hk
71
-
72
- end SLEExactGauge.Multipoint.CanonicalMass
73
-
74
- end
75
-
76
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.CanonicalMassFirstVisit
2
+
3
+ namespace OAI
4
+
5
+ /-! The expected terminal mass arriving strictly after a deterministic past
6
+ is its current Green mass, including arbitrary events in that past. -/
7
+
8
+ noncomputable section
9
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
10
+ open scoped Topology NNReal ENNReal
11
+
12
+ namespace SLEExactGauge.Multipoint.CanonicalMass
13
+
14
+ variable {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
15
+ {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
16
+ {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
17
+
18
+ lemma strict_past_mass_kernel
19
+ (C : CanonicalMass P κ B hBm γ G) (hB : IsBrownianReal B P)
20
+ (hc : ∀ ω, Continuous (fun t => B t ω)) (h0 : ∀ ω, B 0 ω=0)
21
+ (hκ : 0<κ) (hκ8 : κ<8) (F : Ω → ℝ≥0 → ℂ → ℂ)
22
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
23
+ (t : ℝ≥0) (E : Set Ω)
24
+ (hE : MeasurableSet[(Filtration.natural B (fun s =>
25
+ (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)) t] E)
26
+ (K : Set upperHalfPlane) (hK : IsCompact K) :
27
+ (∫⁻ ω in E, C.rational.terminal ω
28
+ (K \ {z : upperHalfPlane | (z:ℂ)∈γ ω '' Icc 0 t}) ∂P)=
29
+ ∫⁻ ω in E, halfPlaneGreenMeasure κ B γ G t ω K ∂P := by
30
+ let ℱ := Filtration.natural B (fun s =>
31
+ (hBm.comp (measurable_const.prodMk measurable_id) : Measurable (B s)).stronglyMeasurable)
32
+ have hNm : Measurable (C.process t) := by
33
+ simpa only [atTime,extendedCanonicalMass,ENNReal.coe_lt_top,ite_true,ENNReal.toNNReal_coe]
34
+ using C.atTime_measurable (fun _ => (t:ℝ≥0∞)) measurable_const
35
+ have hNG : Measurable (fun ω => C.process t ω K) :=
36
+ (Measure.measurable_coe hK.measurableSet).comp hNm
37
+ have hGm := halfPlaneGreenMeasure_measurable hBm hc κ γ G F hw t
38
+ have hp : ∀ᵐ ω ∂P, C.process t ω=(C.rational.terminal ω).restrict
39
+ {z : upperHalfPlane | (z:ℂ)∈γ ω '' Icc 0 t} := by
40
+ simpa only [atTime,extendedCanonicalMass,ENNReal.coe_lt_top,ite_true,ENNReal.toNNReal_coe]
41
+ using C.atTime_eq_restrict_past hB hBm hc h0 hκ hκ8 F hw t
42
+ have hdecomp : (∫⁻ ω in E, C.rational.terminal ω K ∂P)=
43
+ (∫⁻ ω in E, C.process t ω K ∂P)+
44
+ ∫⁻ ω in E, C.rational.terminal ω
45
+ (K \ {z : upperHalfPlane | (z:ℂ)∈γ ω '' Icc 0 t}) ∂P := by
46
+ rw [← lintegral_add_left hNG]
47
+ apply lintegral_congr_ae
48
+ filter_upwards [ae_restrict_of_ae hp] with ω hω
49
+ rw [hω,Measure.restrict_apply hK.measurableSet]
50
+ exact (measure_inter_add_sdiff K
51
+ (((isCompact_Icc.image (hw ω).1).isClosed.preimage continuous_subtype_val).measurableSet)).symm
52
+ have hS : IsStoppingTime ℱ (fun _ : Ω => (t:WithTop ℝ≥0)) := isStoppingTime_const ℱ t
53
+ have hEs : MeasurableSet[hS.measurableSpace] E := by
54
+ change MeasurableSet[(isStoppingTime_const ℱ t).measurableSpace] E
55
+ rw [IsStoppingTime.measurableSpace_const]
56
+ exact hE
57
+ have hk := congrArg (fun μ : Measure upperHalfPlane => μ K) (C.kernel _ hS E hEs)
58
+ change ((P.restrict E).bind C.rational.terminal) K=
59
+ (((P.restrict E).bind (C.process t))+((P.restrict E).bind (halfPlaneGreenMeasure κ B γ G t))) K at hk
60
+ rw [Measure.add_apply,Measure.bind_apply hK.measurableSet C.rational.terminal_measurable.aemeasurable,
61
+ Measure.bind_apply hK.measurableSet hNm.aemeasurable,
62
+ Measure.bind_apply hK.measurableSet hGm.aemeasurable] at hk
63
+ have hfin : (∫⁻ ω in E, C.process t ω K ∂P)≠∞ := by
64
+ let : IsFiniteMeasureOnCompacts (initialGreenMeasure κ) := initialGreenMeasure_finite_on_compacts κ
65
+ have hb := C.atTime_mean_le (fun _ => (t:ℝ≥0∞)) measurable_const E K
66
+ change ((P.restrict E).bind (C.process t)) K ≤ initialGreenMeasure κ K at hb
67
+ rw [Measure.bind_apply hK.measurableSet hNm.aemeasurable] at hb
68
+ exact (hb.trans_lt hK.measure_lt_top).ne
69
+ apply (ENNReal.add_right_inj hfin).mp
70
+ simpa only [add_comm] using hdecomp.symm.trans hk
71
+
72
+ end SLEExactGauge.Multipoint.CanonicalMass
73
+
74
+ end
75
+
76
+ end OAI
lean/OAI/Probability/SLE/Mass/SubSigmaRadonLimit.lean CHANGED
@@ -1,88 +1,88 @@
1
- import OAI.Probability.SLE.Mass.RandomRadonLimit
2
- import OAI.Probability.SLE.Mass.RadonTestFamily
3
-
4
- namespace OAI
5
-
6
- /-! A vague Radon limit has a version measurable in the same sigma-algebra
7
- as its approximants. The probability measure may use a larger sigma-algebra;
8
- the exceptional convergence set is detected by countably many tests. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory Classical
12
- open scoped Topology CompactlySupported
13
-
14
- namespace SLEExactGauge
15
-
16
- variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
17
- [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
18
-
19
- theorem exists_subsigma_radon_version_identified
20
- {Ω : Type*} (m : MeasurableSpace Ω) (μ : ℕ → Ω → Measure X)
21
- (hfinite : ∀ n ω, IsFiniteMeasureOnCompacts (μ n ω))
22
- (hmeas : ∀ n (f : C_c(X,ℝ)), Measurable[m] (fun ω => ∫ x, f x ∂μ n ω)) :
23
- ∃ η : Ω → Measure X, Measurable[m] η ∧
24
- (∀ ω, (η ω).Regular ∧ IsFiniteMeasureOnCompacts (η ω)) ∧
25
- ∀ ω (ν : Measure X), ν.Regular →
26
- (∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν))) →
27
- η ω = ν := by
28
- let : MeasurableSpace Ω := m
29
- let D := localTestFamily X
30
- let G : Set Ω := {ω | ∀ j, ∃ a : ℝ,
31
- Tendsto (fun n => ∫ x, D.test j x ∂μ n ω) atTop (𝓝 a)}
32
- have hG : MeasurableSet[m] G := by
33
- let : MeasurableSpace Ω := m
34
- simpa only [G,Set.ofPred_forall] using MeasurableSet.iInter
35
- (fun j => measurableSet_exists_tendsto (fun n => hmeas n (D.test j)))
36
- have hex (ω : Ω) : ∃ η : Measure X, η.Regular ∧
37
- ∀ f : C_c(X,ℝ), Tendsto
38
- (fun n => if ω ∈ G then ∫ x, f x ∂μ n ω else 0) atTop (𝓝 (∫ x, f x ∂η)) := by
39
- by_cases hω : ω ∈ G
40
- · let (n : ℕ) : IsFiniteMeasureOnCompacts (μ n ω) := hfinite n ω
41
- obtain ⟨η,hη,_,hl⟩ := D.exists_radon_limit (fun n => μ n ω) hω
42
- exact ⟨η,hη,fun f => by simpa only [ite_eq_left hω] using hl f⟩
43
- · refine ⟨0,inferInstance,fun f => ?_⟩
44
- simpa only [ite_eq_right hω,integral_zero_measure] using
45
- (tendsto_const_nhds : Tendsto (fun _ : ℕ => (0:ℝ)) atTop (𝓝 0))
46
- choose η hηr hηlim using hex
47
- have hηm : Measurable[m] η := by
48
- let : MeasurableSpace Ω := m
49
- apply measurable_radon_of_tests η hηr
50
- intro f
51
- apply measurable_of_tendsto_metrizable
52
- (f := fun n ω => if ω ∈ G then ∫ x, f x ∂μ n ω else 0)
53
- · intro n
54
- exact (hmeas n f).ite hG measurable_const
55
- · exact tendsto_pi_nhds.mpr (fun ω => hηlim ω f)
56
- refine ⟨η,hηm,fun ω => ?_,?_⟩
57
- · let := hηr ω
58
- exact ⟨hηr ω,inferInstance⟩
59
- · intro ω ν hr hl
60
- have hg : ω ∈ G := fun j => ⟨∫ x, D.test j x ∂ν,hl (D.test j)⟩
61
- let := hηr ω
62
- let := hr
63
- apply radon_test_limit_unique (fun n => μ n ω) (η ω) ν
64
- · intro f
65
- simpa only [ite_eq_left hg] using hηlim ω f
66
- · exact hl
67
-
68
- theorem exists_subsigma_radon_version
69
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (m : MeasurableSpace Ω) (P : @Measure Ω mΩ)
70
- (μ : ℕ → Ω → Measure X) (ν : Ω → Measure X)
71
- (hfinite : ∀ n ω, IsFiniteMeasureOnCompacts (μ n ω))
72
- (hmeas : ∀ n (f : C_c(X,ℝ)), Measurable[m] (fun ω => ∫ x, f x ∂μ n ω))
73
- (hν : ∀ᵐ ω ∂P, (ν ω).Regular)
74
- (hlim : ∀ᵐ ω ∂P, ∀ f : C_c(X,ℝ),
75
- Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν ω))) :
76
- ∃ η : Ω → Measure X, Measurable[m] η ∧
77
- (∀ ω, (η ω).Regular ∧ IsFiniteMeasureOnCompacts (η ω)) ∧ η =ᵐ[P] ν := by
78
- obtain ⟨η,hm,hr,he⟩ := exists_subsigma_radon_version_identified m μ hfinite hmeas
79
- refine ⟨η,hm,hr,?_⟩
80
- filter_upwards [hν,hlim] with ω hν hlim
81
- exact he ω (ν ω) hν hlim
82
-
83
-
84
- end SLEExactGauge
85
-
86
- end
87
-
88
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RandomRadonLimit
2
+ import OAI.Probability.SLE.Mass.RadonTestFamily
3
+
4
+ namespace OAI
5
+
6
+ /-! A vague Radon limit has a version measurable in the same sigma-algebra
7
+ as its approximants. The probability measure may use a larger sigma-algebra;
8
+ the exceptional convergence set is detected by countably many tests. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory Classical
12
+ open scoped Topology CompactlySupported
13
+
14
+ namespace SLEExactGauge
15
+
16
+ variable {X : Type*} [TopologicalSpace X] [T2Space X] [LocallyCompactSpace X]
17
+ [SecondCountableTopology X] [MeasurableSpace X] [BorelSpace X]
18
+
19
+ theorem exists_subsigma_radon_version_identified
20
+ {Ω : Type*} (m : MeasurableSpace Ω) (μ : ℕ → Ω → Measure X)
21
+ (hfinite : ∀ n ω, IsFiniteMeasureOnCompacts (μ n ω))
22
+ (hmeas : ∀ n (f : C_c(X,ℝ)), Measurable[m] (fun ω => ∫ x, f x ∂μ n ω)) :
23
+ ∃ η : Ω → Measure X, Measurable[m] η ∧
24
+ (∀ ω, (η ω).Regular ∧ IsFiniteMeasureOnCompacts (η ω)) ∧
25
+ ∀ ω (ν : Measure X), ν.Regular →
26
+ (∀ f : C_c(X,ℝ), Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν))) →
27
+ η ω = ν := by
28
+ let : MeasurableSpace Ω := m
29
+ let D := localTestFamily X
30
+ let G : Set Ω := {ω | ∀ j, ∃ a : ℝ,
31
+ Tendsto (fun n => ∫ x, D.test j x ∂μ n ω) atTop (𝓝 a)}
32
+ have hG : MeasurableSet[m] G := by
33
+ let : MeasurableSpace Ω := m
34
+ simpa only [G,Set.ofPred_forall] using MeasurableSet.iInter
35
+ (fun j => measurableSet_exists_tendsto (fun n => hmeas n (D.test j)))
36
+ have hex (ω : Ω) : ∃ η : Measure X, η.Regular ∧
37
+ ∀ f : C_c(X,ℝ), Tendsto
38
+ (fun n => if ω ∈ G then ∫ x, f x ∂μ n ω else 0) atTop (𝓝 (∫ x, f x ∂η)) := by
39
+ by_cases hω : ω ∈ G
40
+ · let (n : ℕ) : IsFiniteMeasureOnCompacts (μ n ω) := hfinite n ω
41
+ obtain ⟨η,hη,_,hl⟩ := D.exists_radon_limit (fun n => μ n ω) hω
42
+ exact ⟨η,hη,fun f => by simpa only [ite_eq_left hω] using hl f⟩
43
+ · refine ⟨0,inferInstance,fun f => ?_⟩
44
+ simpa only [ite_eq_right hω,integral_zero_measure] using
45
+ (tendsto_const_nhds : Tendsto (fun _ : ℕ => (0:ℝ)) atTop (𝓝 0))
46
+ choose η hηr hηlim using hex
47
+ have hηm : Measurable[m] η := by
48
+ let : MeasurableSpace Ω := m
49
+ apply measurable_radon_of_tests η hηr
50
+ intro f
51
+ apply measurable_of_tendsto_metrizable
52
+ (f := fun n ω => if ω ∈ G then ∫ x, f x ∂μ n ω else 0)
53
+ · intro n
54
+ exact (hmeas n f).ite hG measurable_const
55
+ · exact tendsto_pi_nhds.mpr (fun ω => hηlim ω f)
56
+ refine ⟨η,hηm,fun ω => ?_,?_⟩
57
+ · let := hηr ω
58
+ exact ⟨hηr ω,inferInstance⟩
59
+ · intro ω ν hr hl
60
+ have hg : ω ∈ G := fun j => ⟨∫ x, D.test j x ∂ν,hl (D.test j)⟩
61
+ let := hηr ω
62
+ let := hr
63
+ apply radon_test_limit_unique (fun n => μ n ω) (η ω) ν
64
+ · intro f
65
+ simpa only [ite_eq_left hg] using hηlim ω f
66
+ · exact hl
67
+
68
+ theorem exists_subsigma_radon_version
69
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (m : MeasurableSpace Ω) (P : @Measure Ω mΩ)
70
+ (μ : ℕ → Ω → Measure X) (ν : Ω → Measure X)
71
+ (hfinite : ∀ n ω, IsFiniteMeasureOnCompacts (μ n ω))
72
+ (hmeas : ∀ n (f : C_c(X,ℝ)), Measurable[m] (fun ω => ∫ x, f x ∂μ n ω))
73
+ (hν : ∀ᵐ ω ∂P, (ν ω).Regular)
74
+ (hlim : ∀ᵐ ω ∂P, ∀ f : C_c(X,ℝ),
75
+ Tendsto (fun n => ∫ x, f x ∂μ n ω) atTop (𝓝 (∫ x, f x ∂ν ω))) :
76
+ ∃ η : Ω → Measure X, Measurable[m] η ∧
77
+ (∀ ω, (η ω).Regular ∧ IsFiniteMeasureOnCompacts (η ω)) ∧ η =ᵐ[P] ν := by
78
+ obtain ⟨η,hm,hr,he⟩ := exists_subsigma_radon_version_identified m μ hfinite hmeas
79
+ refine ⟨η,hm,hr,?_⟩
80
+ filter_upwards [hν,hlim] with ω hν hlim
81
+ exact he ω (ν ω) hν hlim
82
+
83
+
84
+ end SLEExactGauge
85
+
86
+ end
87
+
88
+ end OAI
lean/OAI/Probability/SLE/Mass/TargetDiscreteMassRecovery.lean CHANGED
@@ -1,71 +1,71 @@
1
- import OAI.Probability.SLE.Mass.MassCompensatorRecovery
2
- import OAI.Probability.SLE.Gauge.MomentCoefficientConvergence
3
-
4
- namespace OAI
5
-
6
- /-! The exact finite sum in the prescribed coefficient formula agrees
7
- with the stopped predictable compensator once its potential increments
8
- have been identified. The endpoint is allowed to be infinite. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory ProbabilityTheory
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- lemma compensator_before_extended_sum (n : ℕ) (T : ℝ≥0∞) (q : ℕ → ℝ) :
17
- (∑ i ∈ Finset.range (n*2^n),
18
- if (compensatorMeshTime n (i+1):ℝ≥0∞) ≤ T then q i else 0) =
19
- ∑ i ∈ Finset.range (compensatorStopIndex n T), q i := by
20
- by_cases hT : T=∞
21
- · simp [hT,compensatorStopIndex]
22
- · have he : T=(T.toNNReal:ℝ≥0∞) := (ENNReal.coe_toNNReal hT).symm
23
- conv_lhs => rw [he]
24
- simp only [ENNReal.coe_le_coe]
25
- rw [compensator_before_sum,compensatorStopIndex,ite_eq_right hT]
26
-
27
- lemma target_mesh_time (n i : ℕ) :
28
- ENNReal.ofReal (((i:ℝ)+1)*Target.mesh n) =
29
- (compensatorMeshTime n (i+1):ℝ≥0∞) := by
30
- have he : (compensatorMeshTime n (i+1):ℝ)=((i:ℝ)+1)*Target.mesh n := by
31
- simp [compensatorMeshTime,Target.mesh]
32
- rw [← he,ENNReal.ofReal_coe_nnreal]
33
-
34
- lemma target_discreteMass_eq_sum (κ θ : ℝ) (W : Target.WienerLaw)
35
- (b : Target.Driver) (ℓ : ℝ) (n : ℕ) :
36
- Target.discreteMass κ θ W b ℓ n =
37
- ∑ i ∈ Finset.range (compensatorStopIndex n (Target.levelTime κ θ b ℓ)),
38
- Target.potentialDifference κ θ W b n i := by
39
- unfold Target.discreteMass
40
- simp_rw [target_mesh_time]
41
- exact compensator_before_extended_sum n _ _
42
-
43
- theorem target_discreteMass_tendstoInMeasure
44
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
45
- (κ θ : ℝ) (W : Target.WienerLaw) (b : Ω → Target.Driver) (ℓ : ℝ)
46
- (ℱ : ℕ → Filtration ℕ mΩ) (A : ℝ≥0 → Ω → ℝ) (L : Ω → ℝ)
47
- (hA : ∀ t, Measurable (A t))
48
- (hgrid : ∀ n i, StronglyMeasurable[ℱ n i] (A (compensatorMeshTime n i)))
49
- (hL : MemLp L 2 P)
50
- (hp : ∀ᵐ ω ∂P, Monotone (fun t => A t ω) ∧ A 0 ω=0 ∧
51
- Continuous (fun t => A t ω) ∧ Tendsto (fun t => A t ω) atTop (𝓝 (L ω)) ∧
52
- ∀ t, A t ω ≤ L ω)
53
- (hT : Measurable (fun ω => Target.levelTime κ θ (b ω) ℓ))
54
- (hq : ∀ n i, (fun ω => Target.potentialDifference κ θ W (b ω) n i) =ᵐ[P]
55
- condExp (ℱ n i) P (meshMassIncrement A n i)) :
56
- TendstoInMeasure P (fun n ω => Target.discreteMass κ θ W (b ω) ℓ n) atTop
57
- (fun ω => massAtExtendedTime (fun t => A t ω) (L ω)
58
- (Target.levelTime κ θ (b ω) ℓ)) := by
59
- have h := meshMassCompensator_stopped_tendstoInMeasure P ℱ A L hA hgrid hL hp
60
- (fun ω => Target.levelTime κ θ (b ω) ℓ) hT
61
- apply h.congr _ (Filter.EventuallyEq.refl _ _)
62
- intro n
63
- filter_upwards [ae_all_iff.mpr (hq n)] with ω hω
64
- rw [target_discreteMass_eq_sum]
65
- exact Finset.sum_congr rfl (fun i _ => (hω i).symm)
66
-
67
- end SLEExactGauge
68
-
69
- end
70
-
71
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.MassCompensatorRecovery
2
+ import OAI.Probability.SLE.Gauge.MomentCoefficientConvergence
3
+
4
+ namespace OAI
5
+
6
+ /-! The exact finite sum in the prescribed coefficient formula agrees
7
+ with the stopped predictable compensator once its potential increments
8
+ have been identified. The endpoint is allowed to be infinite. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory ProbabilityTheory
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ lemma compensator_before_extended_sum (n : ℕ) (T : ℝ≥0∞) (q : ℕ → ℝ) :
17
+ (∑ i ∈ Finset.range (n*2^n),
18
+ if (compensatorMeshTime n (i+1):ℝ≥0∞) ≤ T then q i else 0) =
19
+ ∑ i ∈ Finset.range (compensatorStopIndex n T), q i := by
20
+ by_cases hT : T=∞
21
+ · simp [hT,compensatorStopIndex]
22
+ · have he : T=(T.toNNReal:ℝ≥0∞) := (ENNReal.coe_toNNReal hT).symm
23
+ conv_lhs => rw [he]
24
+ simp only [ENNReal.coe_le_coe]
25
+ rw [compensator_before_sum,compensatorStopIndex,ite_eq_right hT]
26
+
27
+ lemma target_mesh_time (n i : ℕ) :
28
+ ENNReal.ofReal (((i:ℝ)+1)*Target.mesh n) =
29
+ (compensatorMeshTime n (i+1):ℝ≥0∞) := by
30
+ have he : (compensatorMeshTime n (i+1):ℝ)=((i:ℝ)+1)*Target.mesh n := by
31
+ simp [compensatorMeshTime,Target.mesh]
32
+ rw [← he,ENNReal.ofReal_coe_nnreal]
33
+
34
+ lemma target_discreteMass_eq_sum (κ θ : ℝ) (W : Target.WienerLaw)
35
+ (b : Target.Driver) (ℓ : ℝ) (n : ℕ) :
36
+ Target.discreteMass κ θ W b ℓ n =
37
+ ∑ i ∈ Finset.range (compensatorStopIndex n (Target.levelTime κ θ b ℓ)),
38
+ Target.potentialDifference κ θ W b n i := by
39
+ unfold Target.discreteMass
40
+ simp_rw [target_mesh_time]
41
+ exact compensator_before_extended_sum n _ _
42
+
43
+ theorem target_discreteMass_tendstoInMeasure
44
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
45
+ (κ θ : ℝ) (W : Target.WienerLaw) (b : Ω → Target.Driver) (ℓ : ℝ)
46
+ (ℱ : ℕ → Filtration ℕ mΩ) (A : ℝ≥0 → Ω → ℝ) (L : Ω → ℝ)
47
+ (hA : ∀ t, Measurable (A t))
48
+ (hgrid : ∀ n i, StronglyMeasurable[ℱ n i] (A (compensatorMeshTime n i)))
49
+ (hL : MemLp L 2 P)
50
+ (hp : ∀ᵐ ω ∂P, Monotone (fun t => A t ω) ∧ A 0 ω=0 ∧
51
+ Continuous (fun t => A t ω) ∧ Tendsto (fun t => A t ω) atTop (𝓝 (L ω)) ∧
52
+ ∀ t, A t ω ≤ L ω)
53
+ (hT : Measurable (fun ω => Target.levelTime κ θ (b ω) ℓ))
54
+ (hq : ∀ n i, (fun ω => Target.potentialDifference κ θ W (b ω) n i) =ᵐ[P]
55
+ condExp (ℱ n i) P (meshMassIncrement A n i)) :
56
+ TendstoInMeasure P (fun n ω => Target.discreteMass κ θ W (b ω) ℓ n) atTop
57
+ (fun ω => massAtExtendedTime (fun t => A t ω) (L ω)
58
+ (Target.levelTime κ θ (b ω) ℓ)) := by
59
+ have h := meshMassCompensator_stopped_tendstoInMeasure P ℱ A L hA hgrid hL hp
60
+ (fun ω => Target.levelTime κ θ (b ω) ℓ) hT
61
+ apply h.congr _ (Filter.EventuallyEq.refl _ _)
62
+ intro n
63
+ filter_upwards [ae_all_iff.mpr (hq n)] with ω hω
64
+ rw [target_discreteMass_eq_sum]
65
+ exact Finset.sum_congr rfl (fun i _ => (hω i).symm)
66
+
67
+ end SLEExactGauge
68
+
69
+ end
70
+
71
+ end OAI
lean/OAI/Probability/SLE/Mass/TerminalMassTestLimit.lean CHANGED
@@ -1,57 +1,57 @@
1
- import OAI.Probability.SLE.Mass.CanonicalMassExhaustion
2
-
3
- namespace OAI
4
-
5
- /-! Local exhaustion implies convergence of every compact continuous test.
6
- This provides the terminal value of the fixed raw driver functional. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory Classical
10
- open scoped NNReal ENNReal Topology CompactlySupported
11
-
12
- namespace SLEExactGauge
13
-
14
- local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
15
-
16
- lemma compact_test_norm_le_mass (μ : Measure upperHalfPlane)
17
- [IsFiniteMeasureOnCompacts μ] (f : C_c(upperHalfPlane,ℝ)) :
18
- ‖∫ z, f z ∂μ‖ ≤ ‖f.toBoundedContinuousFunction‖ * (μ (tsupport f)).toReal := by
19
- let : IsFiniteMeasure (μ.restrict (tsupport f)) :=
20
- ⟨by simpa only [Measure.restrict_apply_univ] using f.hasCompactSupport.measure_lt_top (μ := μ)⟩
21
- have he := setIntegral_eq_integral_of_forall_compl_eq_zero (μ := μ)
22
- (s := tsupport f) (fun z hz => image_eq_zero_of_notMem_tsupport hz)
23
- rw [← he]
24
- have hb : ∀ᵐ z ∂μ.restrict (tsupport f), ‖f z‖ ≤ ‖f.toBoundedContinuousFunction‖ :=
25
- ae_of_all _ (fun z => f.toBoundedContinuousFunction.norm_coe_le_norm z)
26
- have h := norm_integral_le_of_norm_le_const hb
27
- simpa only [Measure.real,Measure.restrict_apply_univ] using h
28
-
29
- theorem terminal_mass_test_tendsto
30
- (ν : Measure upperHalfPlane) [ν.Regular]
31
- (N : ℝ≥0 → Measure upperHalfPlane) (hNr : ∀ t, (N t).Regular)
32
- (hdom : ∀ t, N t ≤ ν)
33
- (hlim : ∀ K : Set upperHalfPlane, IsCompact K →
34
- Tendsto (fun t : ℝ≥0 => (ν-N t) K) atTop (𝓝 0))
35
- (f : C_c(upperHalfPlane,ℝ)) :
36
- Tendsto (fun t : ℝ≥0 => ∫ z, f z ∂N t) atTop (𝓝 (∫ z, f z ∂ν)) := by
37
- let (t : ℝ≥0) : IsFiniteMeasureOnCompacts (ν-N t) :=
38
- ⟨fun K hK => lt_of_le_of_lt (Measure.sub_le K) hK.measure_lt_top⟩
39
- have hrem : Tendsto (fun t : ℝ≥0 => ∫ z, f z ∂(ν-N t)) atTop (𝓝 0) := by
40
- apply squeeze_zero_norm (fun t => compact_test_norm_le_mass (ν-N t) f)
41
- have hh := (ENNReal.continuousAt_toReal ENNReal.zero_ne_top).tendsto.comp
42
- (hlim (tsupport f) f.hasCompactSupport)
43
- simpa only [Function.comp_def,ENNReal.toReal_zero,mul_zero] using
44
- (tendsto_const_nhds (x := ‖f.toBoundedContinuousFunction‖)).mul hh
45
- have he (t : ℝ≥0) : (∫ z, f z ∂ν)-(∫ z, f z ∂(ν-N t)) = ∫ z, f z ∂N t := by
46
- let := hNr t
47
- have : (ν-N t).Regular := inferInstance
48
- have hsum := integral_add_measure (μ := ν-N t) (ν := N t) f.integrable f.integrable
49
- rw [sigmaFinite_sub_add_cancel_of_le (hdom t)] at hsum
50
- linarith
51
- simpa only [he,sub_zero] using (tendsto_const_nhds (x := ∫ z, f z ∂ν)).sub hrem
52
-
53
- end SLEExactGauge
54
-
55
- end
56
-
57
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.CanonicalMassExhaustion
2
+
3
+ namespace OAI
4
+
5
+ /-! Local exhaustion implies convergence of every compact continuous test.
6
+ This provides the terminal value of the fixed raw driver functional. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory Classical
10
+ open scoped NNReal ENNReal Topology CompactlySupported
11
+
12
+ namespace SLEExactGauge
13
+
14
+ local instance : LocallyCompactSpace upperHalfPlane := isOpen_upperHalfPlane.locallyCompactSpace
15
+
16
+ lemma compact_test_norm_le_mass (μ : Measure upperHalfPlane)
17
+ [IsFiniteMeasureOnCompacts μ] (f : C_c(upperHalfPlane,ℝ)) :
18
+ ‖∫ z, f z ∂μ‖ ≤ ‖f.toBoundedContinuousFunction‖ * (μ (tsupport f)).toReal := by
19
+ let : IsFiniteMeasure (μ.restrict (tsupport f)) :=
20
+ ⟨by simpa only [Measure.restrict_apply_univ] using f.hasCompactSupport.measure_lt_top (μ := μ)⟩
21
+ have he := setIntegral_eq_integral_of_forall_compl_eq_zero (μ := μ)
22
+ (s := tsupport f) (fun z hz => image_eq_zero_of_notMem_tsupport hz)
23
+ rw [← he]
24
+ have hb : ∀ᵐ z ∂μ.restrict (tsupport f), ‖f z‖ ≤ ‖f.toBoundedContinuousFunction‖ :=
25
+ ae_of_all _ (fun z => f.toBoundedContinuousFunction.norm_coe_le_norm z)
26
+ have h := norm_integral_le_of_norm_le_const hb
27
+ simpa only [Measure.real,Measure.restrict_apply_univ] using h
28
+
29
+ theorem terminal_mass_test_tendsto
30
+ (ν : Measure upperHalfPlane) [ν.Regular]
31
+ (N : ℝ≥0 → Measure upperHalfPlane) (hNr : ∀ t, (N t).Regular)
32
+ (hdom : ∀ t, N t ≤ ν)
33
+ (hlim : ∀ K : Set upperHalfPlane, IsCompact K →
34
+ Tendsto (fun t : ℝ≥0 => (ν-N t) K) atTop (𝓝 0))
35
+ (f : C_c(upperHalfPlane,ℝ)) :
36
+ Tendsto (fun t : ℝ≥0 => ∫ z, f z ∂N t) atTop (𝓝 (∫ z, f z ∂ν)) := by
37
+ let (t : ℝ≥0) : IsFiniteMeasureOnCompacts (ν-N t) :=
38
+ ⟨fun K hK => lt_of_le_of_lt (Measure.sub_le K) hK.measure_lt_top⟩
39
+ have hrem : Tendsto (fun t : ℝ≥0 => ∫ z, f z ∂(ν-N t)) atTop (𝓝 0) := by
40
+ apply squeeze_zero_norm (fun t => compact_test_norm_le_mass (ν-N t) f)
41
+ have hh := (ENNReal.continuousAt_toReal ENNReal.zero_ne_top).tendsto.comp
42
+ (hlim (tsupport f) f.hasCompactSupport)
43
+ simpa only [Function.comp_def,ENNReal.toReal_zero,mul_zero] using
44
+ (tendsto_const_nhds (x := ‖f.toBoundedContinuousFunction‖)).mul hh
45
+ have he (t : ℝ≥0) : (∫ z, f z ∂ν)-(∫ z, f z ∂(ν-N t)) = ∫ z, f z ∂N t := by
46
+ let := hNr t
47
+ have : (ν-N t).Regular := inferInstance
48
+ have hsum := integral_add_measure (μ := ν-N t) (ν := N t) f.integrable f.integrable
49
+ rw [sigmaFinite_sub_add_cancel_of_le (hdom t)] at hsum
50
+ linarith
51
+ simpa only [he,sub_zero] using (tendsto_const_nhds (x := ∫ z, f z ∂ν)).sub hrem
52
+
53
+ end SLEExactGauge
54
+
55
+ end
56
+
57
+ end OAI
lean/OAI/Probability/SLE/Mass/UniformCoverLevels.lean CHANGED
@@ -1,118 +1,118 @@
1
- import OAI.Probability.SLE.Gauge.CoverRadiusLevels
2
- import OAI.Probability.SLE.Gauge.CoverGrid
3
-
4
- namespace OAI
5
-
6
- /-! Uniform clock geometry over the moving grid centers retained above a
7
- fixed positive height. The terminal visit level is separated from every
8
- test endpoint by a full clock unit. -/
9
-
10
- noncomputable section
11
- open Set Filter
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- def coverVisitLevel (z : ℂ) (T : ℝ) (n : ℕ) : ℝ :=
17
- Real.log (2 * z.im) + T * (n : ℝ) - Real.log (512 * Real.pi)
18
-
19
- /-- One deterministic cutoff works for every point above the retained height
20
- and every test index, including the endpoint after the last test. -/
21
- theorem eventually_uniform_cover_levels {T η : ℝ} (hT : 0 < T) (hη : 0 < η) :
22
- ∀ᶠ n : ℕ in atTop, ∀ z : ℂ, η / 2 ≤ z.im →
23
- (∀ j : ℕ, n / 3 ≤ j →
24
- coverLogLevel z T j = Real.log (2 * z.im) + T * (j : ℝ)) ∧
25
- coverLogLevel z T (2 * n / 3 + 1) + 1 ≤ coverVisitLevel z T n ∧
26
- 4 * coverRadius T n ≤ z.im := by
27
- obtain ⟨N, hN⟩ := exists_nat_gt (-Real.log η / T)
28
- have hNT : -Real.log η < T * (N : ℝ) := by
29
- simpa only [mul_comm] using (div_lt_iff₀ hT).mp hN
30
- have hlarge : ∀ᶠ n : ℕ in atTop,
31
- 3 * (Real.log (512 * Real.pi) + 1 + T) / T ≤ (n : ℝ) :=
32
- tendsto_natCast_atTop_atTop.eventually (eventually_ge_atTop _)
33
- have hlim : Tendsto (fun n => 4 * coverRadius T n) atTop (𝓝 0) := by
34
- simpa only [mul_zero] using (coverRadius_tendsto_zero hT).const_mul 4
35
- have hsmall : ∀ᶠ n : ℕ in atTop, 4 * coverRadius T n < η / 2 :=
36
- hlim.eventually (gt_mem_nhds (half_pos hη))
37
- filter_upwards [eventually_ge_atTop (3 * N), hlarge, hsmall] with n hn hnlarge hnsmall
38
- intro z hz
39
- have hlog : Real.log η ≤ Real.log (2 * z.im) :=
40
- Real.log_le_log hη (by linarith)
41
- have hlevels : ∀ j : ℕ, n / 3 ≤ j →
42
- coverLogLevel z T j = Real.log (2 * z.im) + T * (j : ℝ) := by
43
- intro j hj
44
- have hjN : N ≤ j := by omega
45
- have hNj : T * (N : ℝ) ≤ T * (j : ℝ) :=
46
- mul_le_mul_of_nonneg_left (by exact_mod_cast hjN) hT.le
47
- exact max_eq_right (by linarith)
48
- refine ⟨hlevels, ?_, hnsmall.le.trans hz⟩
49
- rw [hlevels (2 * n / 3 + 1) (by omega)]
50
- have hlast : 3 * (2 * n / 3 + 1) ≤ 2 * n + 3 := by omega
51
- have hlastR : (3 : ℝ) * (2 * n / 3 + 1 : ℕ) ≤ 2 * n + 3 := by exact_mod_cast hlast
52
- have hnT := (div_le_iff₀ hT).mp hnlarge
53
- unfold coverVisitLevel
54
- nlinarith
55
-
56
- lemma coverVisitLevel_nonneg_of_gap (z : ℂ) (T : ℝ) (n : ℕ)
57
- (hgap : coverLogLevel z T (2 * n / 3 + 1) + 1 ≤ coverVisitLevel z T n) :
58
- 0 ≤ coverVisitLevel z T n := by
59
- have h0 := coverLogLevel_nonneg z T (2 * n / 3 + 1)
60
- linarith
61
-
62
- /-- The late visit level is the fixed multiple `512π r_n` of the fine mesh,
63
- independently of the varying center's height. -/
64
- lemma coverVisitLevel_radius (z : ℂ) (hz : 0 < z.im) (T : ℝ) (n : ℕ) :
65
- (2 * z.im) * Real.exp (-coverVisitLevel z T n) =
66
- (512 * Real.pi) * coverRadius T n := by
67
- have hz2 : 0 < 2 * z.im := by positivity
68
- have hM : 0 < 512 * Real.pi := by positivity
69
- have he : -coverVisitLevel z T n = Real.log (512 * Real.pi) +
70
- (-Real.log (2 * z.im) + -T * (n : ℝ)) := by
71
- unfold coverVisitLevel
72
- ring
73
- unfold coverRadius
74
- rw [he, Real.exp_add, Real.exp_add,
75
- Real.exp_log hM, Real.exp_neg, Real.exp_log hz2]
76
- field_simp [hz2.ne']
77
-
78
- /-- The exact test window inherits the common late-grid cutoff. -/
79
- theorem eventually_uniform_cover_window_levels {T η : ℝ} (hT : 0 < T) (hη : 0 < η) :
80
- ∀ᶠ n : ℕ in atTop, ∀ z : ℂ, η / 2 ≤ z.im →
81
- (∀ j ∈ coverTestWindow n,
82
- coverLogLevel z T j = Real.log (2 * z.im) + T * (j : ℝ)) ∧
83
- coverLogLevel z T (2 * n / 3 + 1) =
84
- Real.log (2 * z.im) + T * ((2 * n / 3 + 1 : ℕ) : ℝ) ∧
85
- coverLogLevel z T (2 * n / 3 + 1) + 1 ≤ coverVisitLevel z T n ∧
86
- 4 * coverRadius T n ≤ z.im := by
87
- filter_upwards [eventually_uniform_cover_levels hT hη] with n hn
88
- intro z hz
89
- obtain ⟨hlevel, hgap, hsmall⟩ := hn z hz
90
- exact ⟨fun j hj => hlevel j (Finset.mem_Icc.mp hj).1,
91
- hlevel _ (by omega), hgap, hsmall⟩
92
-
93
- /-- In particular the changing retained grid centers satisfy all clock and
94
- visit geometry simultaneously; no center-dependent cutoff is required. -/
95
- theorem eventually_retained_grid_cover_levels {R T η : ℝ} {K : Set ℂ}
96
- (hT : 0 < T) (hη : 0 < η) (hK : K ⊆ Metric.closedBall 0 R)
97
- (hheight : ∀ z ∈ K, η ≤ z.im) :
98
- ∀ᶠ n : ℕ in atTop, ∀ ij ∈ retainedCoverGridIndex R (coverRadius T n) K,
99
- let z := coverGridCenter (coverRadius T n) ij
100
- z ∈ upperHalfPlane ∧
101
- (∀ j ∈ coverTestWindow n,
102
- coverLogLevel z T j = Real.log (2 * z.im) + T * (j : ℝ)) ∧
103
- coverLogLevel z T (2 * n / 3 + 1) =
104
- Real.log (2 * z.im) + T * ((2 * n / 3 + 1 : ℕ) : ℝ) ∧
105
- coverLogLevel z T (2 * n / 3 + 1) + 1 ≤ coverVisitLevel z T n ∧
106
- 4 * coverRadius T n ≤ z.im := by
107
- have hsmall := (coverRadius_tendsto_zero hT).eventually (gt_mem_nhds (show 0 < η / 4 by positivity))
108
- filter_upwards [eventually_uniform_cover_window_levels hT hη, hsmall] with n hn hnr
109
- intro ij hij
110
- have hcenter := (retainedCoverGrid_center_bounds hK hheight hij).2
111
- have hz : η / 2 ≤ (coverGridCenter (coverRadius T n) ij).im := by linarith
112
- exact ⟨lt_of_lt_of_le (half_pos hη) hz, hn _ hz⟩
113
-
114
- end SLEExactGauge
115
-
116
- end
117
-
118
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.CoverRadiusLevels
2
+ import OAI.Probability.SLE.Gauge.CoverGrid
3
+
4
+ namespace OAI
5
+
6
+ /-! Uniform clock geometry over the moving grid centers retained above a
7
+ fixed positive height. The terminal visit level is separated from every
8
+ test endpoint by a full clock unit. -/
9
+
10
+ noncomputable section
11
+ open Set Filter
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ def coverVisitLevel (z : ℂ) (T : ℝ) (n : ℕ) : ℝ :=
17
+ Real.log (2 * z.im) + T * (n : ℝ) - Real.log (512 * Real.pi)
18
+
19
+ /-- One deterministic cutoff works for every point above the retained height
20
+ and every test index, including the endpoint after the last test. -/
21
+ theorem eventually_uniform_cover_levels {T η : ℝ} (hT : 0 < T) (hη : 0 < η) :
22
+ ∀ᶠ n : ℕ in atTop, ∀ z : ℂ, η / 2 ≤ z.im →
23
+ (∀ j : ℕ, n / 3 ≤ j →
24
+ coverLogLevel z T j = Real.log (2 * z.im) + T * (j : ℝ)) ∧
25
+ coverLogLevel z T (2 * n / 3 + 1) + 1 ≤ coverVisitLevel z T n ∧
26
+ 4 * coverRadius T n ≤ z.im := by
27
+ obtain ⟨N, hN⟩ := exists_nat_gt (-Real.log η / T)
28
+ have hNT : -Real.log η < T * (N : ℝ) := by
29
+ simpa only [mul_comm] using (div_lt_iff₀ hT).mp hN
30
+ have hlarge : ∀ᶠ n : ℕ in atTop,
31
+ 3 * (Real.log (512 * Real.pi) + 1 + T) / T ≤ (n : ℝ) :=
32
+ tendsto_natCast_atTop_atTop.eventually (eventually_ge_atTop _)
33
+ have hlim : Tendsto (fun n => 4 * coverRadius T n) atTop (𝓝 0) := by
34
+ simpa only [mul_zero] using (coverRadius_tendsto_zero hT).const_mul 4
35
+ have hsmall : ∀ᶠ n : ℕ in atTop, 4 * coverRadius T n < η / 2 :=
36
+ hlim.eventually (gt_mem_nhds (half_pos hη))
37
+ filter_upwards [eventually_ge_atTop (3 * N), hlarge, hsmall] with n hn hnlarge hnsmall
38
+ intro z hz
39
+ have hlog : Real.log η ≤ Real.log (2 * z.im) :=
40
+ Real.log_le_log hη (by linarith)
41
+ have hlevels : ∀ j : ℕ, n / 3 ≤ j →
42
+ coverLogLevel z T j = Real.log (2 * z.im) + T * (j : ℝ) := by
43
+ intro j hj
44
+ have hjN : N ≤ j := by omega
45
+ have hNj : T * (N : ℝ) ≤ T * (j : ℝ) :=
46
+ mul_le_mul_of_nonneg_left (by exact_mod_cast hjN) hT.le
47
+ exact max_eq_right (by linarith)
48
+ refine ⟨hlevels, ?_, hnsmall.le.trans hz⟩
49
+ rw [hlevels (2 * n / 3 + 1) (by omega)]
50
+ have hlast : 3 * (2 * n / 3 + 1) ≤ 2 * n + 3 := by omega
51
+ have hlastR : (3 : ℝ) * (2 * n / 3 + 1 : ℕ) ≤ 2 * n + 3 := by exact_mod_cast hlast
52
+ have hnT := (div_le_iff₀ hT).mp hnlarge
53
+ unfold coverVisitLevel
54
+ nlinarith
55
+
56
+ lemma coverVisitLevel_nonneg_of_gap (z : ℂ) (T : ℝ) (n : ℕ)
57
+ (hgap : coverLogLevel z T (2 * n / 3 + 1) + 1 ≤ coverVisitLevel z T n) :
58
+ 0 ≤ coverVisitLevel z T n := by
59
+ have h0 := coverLogLevel_nonneg z T (2 * n / 3 + 1)
60
+ linarith
61
+
62
+ /-- The late visit level is the fixed multiple `512π r_n` of the fine mesh,
63
+ independently of the varying center's height. -/
64
+ lemma coverVisitLevel_radius (z : ℂ) (hz : 0 < z.im) (T : ℝ) (n : ℕ) :
65
+ (2 * z.im) * Real.exp (-coverVisitLevel z T n) =
66
+ (512 * Real.pi) * coverRadius T n := by
67
+ have hz2 : 0 < 2 * z.im := by positivity
68
+ have hM : 0 < 512 * Real.pi := by positivity
69
+ have he : -coverVisitLevel z T n = Real.log (512 * Real.pi) +
70
+ (-Real.log (2 * z.im) + -T * (n : ℝ)) := by
71
+ unfold coverVisitLevel
72
+ ring
73
+ unfold coverRadius
74
+ rw [he, Real.exp_add, Real.exp_add,
75
+ Real.exp_log hM, Real.exp_neg, Real.exp_log hz2]
76
+ field_simp [hz2.ne']
77
+
78
+ /-- The exact test window inherits the common late-grid cutoff. -/
79
+ theorem eventually_uniform_cover_window_levels {T η : ℝ} (hT : 0 < T) (hη : 0 < η) :
80
+ ∀ᶠ n : ℕ in atTop, ∀ z : ℂ, η / 2 ≤ z.im →
81
+ (∀ j ∈ coverTestWindow n,
82
+ coverLogLevel z T j = Real.log (2 * z.im) + T * (j : ℝ)) ∧
83
+ coverLogLevel z T (2 * n / 3 + 1) =
84
+ Real.log (2 * z.im) + T * ((2 * n / 3 + 1 : ℕ) : ℝ) ∧
85
+ coverLogLevel z T (2 * n / 3 + 1) + 1 ≤ coverVisitLevel z T n ∧
86
+ 4 * coverRadius T n ≤ z.im := by
87
+ filter_upwards [eventually_uniform_cover_levels hT hη] with n hn
88
+ intro z hz
89
+ obtain ⟨hlevel, hgap, hsmall⟩ := hn z hz
90
+ exact ⟨fun j hj => hlevel j (Finset.mem_Icc.mp hj).1,
91
+ hlevel _ (by omega), hgap, hsmall⟩
92
+
93
+ /-- In particular the changing retained grid centers satisfy all clock and
94
+ visit geometry simultaneously; no center-dependent cutoff is required. -/
95
+ theorem eventually_retained_grid_cover_levels {R T η : ℝ} {K : Set ℂ}
96
+ (hT : 0 < T) (hη : 0 < η) (hK : K ⊆ Metric.closedBall 0 R)
97
+ (hheight : ∀ z ∈ K, η ≤ z.im) :
98
+ ∀ᶠ n : ℕ in atTop, ∀ ij ∈ retainedCoverGridIndex R (coverRadius T n) K,
99
+ let z := coverGridCenter (coverRadius T n) ij
100
+ z ∈ upperHalfPlane ∧
101
+ (∀ j ∈ coverTestWindow n,
102
+ coverLogLevel z T j = Real.log (2 * z.im) + T * (j : ℝ)) ∧
103
+ coverLogLevel z T (2 * n / 3 + 1) =
104
+ Real.log (2 * z.im) + T * ((2 * n / 3 + 1 : ℕ) : ℝ) ∧
105
+ coverLogLevel z T (2 * n / 3 + 1) + 1 ≤ coverVisitLevel z T n ∧
106
+ 4 * coverRadius T n ≤ z.im := by
107
+ have hsmall := (coverRadius_tendsto_zero hT).eventually (gt_mem_nhds (show 0 < η / 4 by positivity))
108
+ filter_upwards [eventually_uniform_cover_window_levels hT hη, hsmall] with n hn hnr
109
+ intro ij hij
110
+ have hcenter := (retainedCoverGrid_center_bounds hK hheight hij).2
111
+ have hz : η / 2 ≤ (coverGridCenter (coverRadius T n) ij).im := by linarith
112
+ exact ⟨lt_of_lt_of_le (half_pos hη) hz, hn _ hz⟩
113
+
114
+ end SLEExactGauge
115
+
116
+ end
117
+
118
+ end OAI
lean/OAI/Probability/SLE/Mass/VerticalDisplacementMass.lean CHANGED
@@ -1,31 +1,31 @@
1
- import OAI.Probability.SLE.Loewner.HalfPlaneDisplacementBound
2
-
3
- namespace OAI
4
-
5
- /-! Reading the hydrodynamic mass from a vertical displacement bound. -/
6
- noncomputable section
7
- open Set Filter Complex
8
- open scoped Topology
9
-
10
- namespace SLEExactGauge
11
-
12
- lemma hydrodynamic_mass_le_of_displacement {f : ℂ → ℂ} {a b : ℝ}
13
- (hcoef : Tendsto (fun z : ℂ => z*f z)
14
- (cocompact ℂ ⊓ 𝓟 upperHalfPlane) (𝓝 (-a:ℂ)))
15
- (hbound : ∀ z∈upperHalfPlane, ‖f z‖≤b/z.im) : a≤b := by
16
- apply le_of_tendsto (hydrodynamic_vertical_limits hcoef).2
17
- apply Eventually.of_forall
18
- intro n
19
- have hi := (Complex.im_le_norm (f (verticalInfinity n))).trans
20
- (hbound _ (verticalInfinity_mem n))
21
- have hy : 0<(n:ℝ)+1 := by positivity
22
- have hb := (le_div_iff₀ hy).mp (show (f (verticalInfinity n)).im≤b/((n:ℝ)+1) from by
23
- simpa only [verticalInfinity,mul_im,ofReal_re,I_im,mul_one,ofReal_im,I_re,mul_zero,add_zero]
24
- using hi)
25
- nlinarith
26
-
27
- end SLEExactGauge
28
-
29
- end
30
-
31
- end OAI
 
1
+ import OAI.Probability.SLE.Loewner.HalfPlaneDisplacementBound
2
+
3
+ namespace OAI
4
+
5
+ /-! Reading the hydrodynamic mass from a vertical displacement bound. -/
6
+ noncomputable section
7
+ open Set Filter Complex
8
+ open scoped Topology
9
+
10
+ namespace SLEExactGauge
11
+
12
+ lemma hydrodynamic_mass_le_of_displacement {f : ℂ → ℂ} {a b : ℝ}
13
+ (hcoef : Tendsto (fun z : ℂ => z*f z)
14
+ (cocompact ℂ ⊓ 𝓟 upperHalfPlane) (𝓝 (-a:ℂ)))
15
+ (hbound : ∀ z∈upperHalfPlane, ‖f z‖≤b/z.im) : a≤b := by
16
+ apply le_of_tendsto (hydrodynamic_vertical_limits hcoef).2
17
+ apply Eventually.of_forall
18
+ intro n
19
+ have hi := (Complex.im_le_norm (f (verticalInfinity n))).trans
20
+ (hbound _ (verticalInfinity_mem n))
21
+ have hy : 0<(n:ℝ)+1 := by positivity
22
+ have hb := (le_div_iff₀ hy).mp (show (f (verticalInfinity n)).im≤b/((n:ℝ)+1) from by
23
+ simpa only [verticalInfinity,mul_im,ofReal_re,I_im,mul_one,ofReal_im,I_re,mul_zero,add_zero]
24
+ using hi)
25
+ nlinarith
26
+
27
+ end SLEExactGauge
28
+
29
+ end
30
+
31
+ end OAI
lean/OAI/Probability/SLE/Mass/WaypointHarmonicMeasure.lean CHANGED
@@ -1,135 +1,135 @@
1
- import OAI.Probability.SLE.Geometry.WaypointTubeGeometry
2
- import OAI.Probability.SLE.Geometry.CrosscutExitSides
3
- import OAI.Probability.SLE.Geometry.WaypointAngleNumerics
4
-
5
- namespace OAI
6
-
7
- /-! The actual two-sided physical route events bound the two half-plane
8
- exit arcs from below. Uniform route support is proved elsewhere; only the
9
- generic published conformal Brownian exit law is parameterized here. -/
10
-
11
- noncomputable section
12
- open Set Filter MeasureTheory Metric
13
- open scoped Topology NNReal ENNReal
14
-
15
- namespace SLEExactGauge.RibbonCoordinates
16
- open Target CrosscutSides
17
-
18
- theorem finite_exit_event_measure_le_arc
19
- (μ : Measure (Driver × Driver)) (D : Set ℂ) (g : ℂ → ℂ) (w : ℂ)
20
- (h : ℂ ≃ₜ ℂ) (hreal : ∀ x : ℝ, h (x : ℂ) = (x : ℂ))
21
- (hg : ContinuousOn g D) (E : Set (Driver × Driver)) {dir : ℝ}
22
- (hdir : dir = -1 ∨ dir = 1)
23
- (hexit : ∀ᵐ b ∂μ, ∀ τ : ℝ, UnitWindowFirstExit D (physicalUnitBrownianPath w b) τ →
24
- ∃ x : ℝ, x ≠ 0 ∧ Tendsto (fun t => g (physicalUnitBrownianPath w b t))
25
- (𝓝[<] τ) (𝓝 (x : ℂ)))
26
- (hgeom : ∀ b ∈ E, ∃ τ : ℝ,
27
- UnitWindowFirstExit D (physicalUnitBrownianPath w b) τ ∧ (1 / 4 : ℝ) < τ ∧
28
- ∀ t ∈ Ico (1 / 4 : ℝ) τ, (h (g (physicalUnitBrownianPath w b t))).re ≠ 0)
29
- (hstart : ∀ b ∈ E, 0 < dir * (h (g (physicalUnitBrownianPath w b (1 / 4)))).re) :
30
- μ E ≤ μ (unitWindowExitArc D g w dir) := by
31
- apply measure_mono_ae
32
- filter_upwards [hexit] with b hb
33
- intro he
34
- obtain ⟨τ, hτ, haτ, hn⟩ := hgeom b he
35
- obtain ⟨x, hx, hlim⟩ := hb τ hτ
36
- refine ⟨τ, hτ, x, ?_, hlim⟩
37
- have hs := hstart b he
38
- rcases hdir with rfl | rfl
39
- · have hxneg := negative_first_exit_belongs_to_arc D g h hreal hg
40
- (physicalUnitBrownianPath w b) (physicalUnitBrownianPath_continuous w b)
41
- hτ haτ hn (by nlinarith) x hx hlim
42
- nlinarith
43
- · have hxpos := positive_first_exit_belongs_to_arc D g h hreal hg
44
- (physicalUnitBrownianPath w b) (physicalUnitBrownianPath_continuous w b)
45
- hτ haτ hn (by simpa using hs) x hx hlim
46
- simpa using hxpos
47
-
48
- theorem ribbon_tube_harmonic_bounds
49
- (hopen : PublishedPlanarDiskOpenness) (hexitLaw : PublishedHalfPlaneConformalExitLaw)
50
- (W : WienerLaw) (hW : IsWiener W) (K : ℝ≥0) (hK : 0 < (K : ℝ))
51
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
52
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
53
- {k ε x : ℝ} (hk : 1 ≤ k) (hε : 0 < ε) (hεsmall : ε ≤ 1 / 8)
54
- (hx : |x| ≤ 1 / 16)
55
- (hlower : ∀ u ∈ crossingPatch k, ∀ v ∈ crossingPatch k,
56
- dist u v ≤ K * dist (P u) (P v))
57
- (γ xp : ℝ≥0 → ℂ) (hγc : Continuous γ) (T : ℝ≥0) (hT : 0 < T)
58
- (hxp : ContinuousOn xp (Icc 0 T)) (hγ : EqOn γ (P ∘ xp) (Icc 0 T))
59
- (hxp0 : (xp 0).re = 0) (hxpT : (xp T).re = k)
60
- (hcoords : MapsTo xp (Icc 0 T) closedRibbon)
61
- (hcore : ∀ t ∈ Icc 0 T, (xp t).re ≤ k ∧ |(xp t).im| ≤ ε)
62
- (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
63
- (g F : ℂ → ℂ)
64
- (hg : DifferentiableOn ℂ g (survivingDomain γ T))
65
- (hF : DifferentiableOn ℂ F upperHalfPlane)
66
- (hgH : MapsTo g (survivingDomain γ T) upperHalfPlane)
67
- (hFD : MapsTo F upperHalfPlane (survivingDomain γ T))
68
- (hFg : ∀ z ∈ survivingDomain γ T, F (g z) = z)
69
- (hgF : ∀ z ∈ upperHalfPlane, g (F z) = z)
70
- (h : ℂ ≃ₜ ℂ) (hreal : ∀ x : ℝ, h (x : ℂ) = (x : ℂ))
71
- (hcut : ∀ z ∈ survivingDomain γ T, (h (g z)).re = 0 →
72
- ∃ u : ℝ, 0 ≤ u ∧ P (guideCoordinate k x u) = z)
73
- (hloc : ContinuousOn (fun z => h (g (P z)))
74
- (ball ((k + 1 / 2 : ℝ) : ℂ) (1 / 4)))
75
- (hloci : InjOn (fun z => h (g (P z)))
76
- (ball ((k + 1 / 2 : ℝ) : ℂ) (1 / 4)))
77
- (hlocz : ∀ z ∈ ball ((k + 1 / 2 : ℝ) : ℂ) (1 / 4),
78
- (h (g (P z))).re = 0 ↔ z.im = 0)
79
- (q : ℝ≥0∞)
80
- (hprob : ∀ side : ℝ, (side = -1 ∨ side = 1) →
81
- q ≤ (W.prod W) {b | ∀ t ∈ Icc (0 : ℝ) 3,
82
- dist (physicalUnitBrownianPath (P ((k + 1 / 2 : ℝ) : ℂ)) b t)
83
- (P (waypointRoute k side t)) < (1 / 32 : ℝ) / K}) :
84
- q ≤ ENNReal.ofReal ((g (P ((k + 1 / 2 : ℝ) : ℂ))).arg / Real.pi) ∧
85
- q ≤ ENNReal.ofReal (1 - (g (P ((k + 1 / 2 : ℝ) : ℂ))).arg / Real.pi) := by
86
- let D := survivingDomain γ T
87
- let w := P ((k + 1 / 2 : ℝ) : ℂ)
88
- let E := fun side : ℝ => {b | ∀ t ∈ Icc (0 : ℝ) 3,
89
- dist (physicalUnitBrownianPath w b t) (P (waypointRoute k side t)) < (1 / 32 : ℝ) / K}
90
- have hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k} := by
91
- rintro z ⟨s, hs, rfl⟩
92
- exact ⟨xp s, ⟨hcoords hs, (hcore s hs).1⟩, (hγ hs).symm⟩
93
- have hwD : w ∈ D := by
94
- apply futureRibbon_survives P hP hi (by linarith) hH γ T hpast hunbounded
95
- exact ⟨((k + 1 / 2 : ℝ) : ℂ), ��by simp, by simp⟩, rfl⟩
96
- obtain ⟨hae, hnegBound, hposBound⟩ := hexitLaw W hW D g F
97
- (isOpen_survivingDomain hγc T) (fun z hz => hz.1.1) hg hF hgH hFD hFg hgF w hwD
98
- obtain ⟨side, hside, hpos, hneg⟩ := physical_waypoint_tubes_opposite_sides hopen P hP hi
99
- K hK hk hlower (fun z => h (g (P z))) (fun z => (h (g z)).re)
100
- hloc hloci hlocz (fun _ _ => rfl)
101
- have hgeom (side' : ℝ) (hside' : side' = -1 ∨ side' = 1) (b : Driver × Driver)
102
- (hb : b ∈ E side') : ∃ τ : ℝ,
103
- UnitWindowFirstExit D (physicalUnitBrownianPath w b) τ ∧ (1 / 4 : ℝ) < τ ∧
104
- ∀ t ∈ Ico (1 / 4 : ℝ) τ, (h (g (physicalUnitBrownianPath w b t))).re ≠ 0 := by
105
- let ζ := physicalUnitBrownianPath w b
106
- have hζ : Continuous ζ := physicalUnitBrownianPath_continuous w b
107
- obtain ⟨hearly, havoid, hhit⟩ := physical_waypoint_tube_geometry hopen P hP hi hH K hK
108
- hk hε hεsmall hx hside' hlower γ xp T hT hxp hγ hxp0 hxpT hcoords hcore hunbounded
109
- ζ hζ hb
110
- obtain ⟨τ, hτ, hout, hin⟩ := waypoint_first_exit_after_early_prefix γ hγc T ζ
111
- hζ.continuousOn hearly hhit
112
- refine ⟨τ, ⟨⟨by linarith [hτ.1], hτ.2⟩, hout, hin⟩, by linarith [hτ.1], ?_⟩
113
- intro t ht he
114
- obtain ⟨u, hu, heq⟩ := hcut (ζ t) (hin ⟨by linarith [ht.1], ht.2⟩) he
115
- exact havoid t ⟨ht.1, ht.2.le.trans hτ.2⟩ u hu heq.symm
116
- have hposProb : q ≤ (W.prod W) (unitWindowExitArc D g w 1) := by
117
- refine (hprob side hside).trans (finite_exit_event_measure_le_arc (W.prod W) D g w h hreal
118
- hg.continuousOn (E side) (Or.inr rfl) hae (hgeom side hside) ?_)
119
- intro b hb
120
- simpa only [one_mul] using hpos _ (hb _ (by norm_num))
121
- have hsideNeg : -side = -1 ∨ -side = 1 := by
122
- rcases hside with rfl | rfl <;> norm_num
123
- have hnegProb : q ≤ (W.prod W) (unitWindowExitArc D g w (-1)) := by
124
- refine (hprob (-side) hsideNeg).trans (finite_exit_event_measure_le_arc (W.prod W) D g w h hreal
125
- hg.continuousOn (E (-side)) (Or.inl rfl) hae (hgeom (-side) hsideNeg) ?_)
126
- intro b hb
127
- have hh := hneg _ (hb _ (by norm_num))
128
- nlinarith
129
- exact ⟨hnegProb.trans hnegBound, hposProb.trans hposBound⟩
130
-
131
- end SLEExactGauge.RibbonCoordinates
132
-
133
- end
134
-
135
- end OAI
 
1
+ import OAI.Probability.SLE.Geometry.WaypointTubeGeometry
2
+ import OAI.Probability.SLE.Geometry.CrosscutExitSides
3
+ import OAI.Probability.SLE.Geometry.WaypointAngleNumerics
4
+
5
+ namespace OAI
6
+
7
+ /-! The actual two-sided physical route events bound the two half-plane
8
+ exit arcs from below. Uniform route support is proved elsewhere; only the
9
+ generic published conformal Brownian exit law is parameterized here. -/
10
+
11
+ noncomputable section
12
+ open Set Filter MeasureTheory Metric
13
+ open scoped Topology NNReal ENNReal
14
+
15
+ namespace SLEExactGauge.RibbonCoordinates
16
+ open Target CrosscutSides
17
+
18
+ theorem finite_exit_event_measure_le_arc
19
+ (μ : Measure (Driver × Driver)) (D : Set ℂ) (g : ℂ → ℂ) (w : ℂ)
20
+ (h : ℂ ≃ₜ ℂ) (hreal : ∀ x : ℝ, h (x : ℂ) = (x : ℂ))
21
+ (hg : ContinuousOn g D) (E : Set (Driver × Driver)) {dir : ℝ}
22
+ (hdir : dir = -1 ∨ dir = 1)
23
+ (hexit : ∀ᵐ b ∂μ, ∀ τ : ℝ, UnitWindowFirstExit D (physicalUnitBrownianPath w b) τ →
24
+ ∃ x : ℝ, x ≠ 0 ∧ Tendsto (fun t => g (physicalUnitBrownianPath w b t))
25
+ (𝓝[<] τ) (𝓝 (x : ℂ)))
26
+ (hgeom : ∀ b ∈ E, ∃ τ : ℝ,
27
+ UnitWindowFirstExit D (physicalUnitBrownianPath w b) τ ∧ (1 / 4 : ℝ) < τ ∧
28
+ ∀ t ∈ Ico (1 / 4 : ℝ) τ, (h (g (physicalUnitBrownianPath w b t))).re ≠ 0)
29
+ (hstart : ∀ b ∈ E, 0 < dir * (h (g (physicalUnitBrownianPath w b (1 / 4)))).re) :
30
+ μ E ≤ μ (unitWindowExitArc D g w dir) := by
31
+ apply measure_mono_ae
32
+ filter_upwards [hexit] with b hb
33
+ intro he
34
+ obtain ⟨τ, hτ, haτ, hn⟩ := hgeom b he
35
+ obtain ⟨x, hx, hlim⟩ := hb τ hτ
36
+ refine ⟨τ, hτ, x, ?_, hlim⟩
37
+ have hs := hstart b he
38
+ rcases hdir with rfl | rfl
39
+ · have hxneg := negative_first_exit_belongs_to_arc D g h hreal hg
40
+ (physicalUnitBrownianPath w b) (physicalUnitBrownianPath_continuous w b)
41
+ hτ haτ hn (by nlinarith) x hx hlim
42
+ nlinarith
43
+ · have hxpos := positive_first_exit_belongs_to_arc D g h hreal hg
44
+ (physicalUnitBrownianPath w b) (physicalUnitBrownianPath_continuous w b)
45
+ hτ haτ hn (by simpa using hs) x hx hlim
46
+ simpa using hxpos
47
+
48
+ theorem ribbon_tube_harmonic_bounds
49
+ (hopen : PublishedPlanarDiskOpenness) (hexitLaw : PublishedHalfPlaneConformalExitLaw)
50
+ (W : WienerLaw) (hW : IsWiener W) (K : ℝ≥0) (hK : 0 < (K : ℝ))
51
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
52
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
53
+ {k ε x : ℝ} (hk : 1 ≤ k) (hε : 0 < ε) (hεsmall : ε ≤ 1 / 8)
54
+ (hx : |x| ≤ 1 / 16)
55
+ (hlower : ∀ u ∈ crossingPatch k, ∀ v ∈ crossingPatch k,
56
+ dist u v ≤ K * dist (P u) (P v))
57
+ (γ xp : ℝ≥0 → ℂ) (hγc : Continuous γ) (T : ℝ≥0) (hT : 0 < T)
58
+ (hxp : ContinuousOn xp (Icc 0 T)) (hγ : EqOn γ (P ∘ xp) (Icc 0 T))
59
+ (hxp0 : (xp 0).re = 0) (hxpT : (xp T).re = k)
60
+ (hcoords : MapsTo xp (Icc 0 T) closedRibbon)
61
+ (hcore : ∀ t ∈ Icc 0 T, (xp t).re ≤ k ∧ |(xp t).im| ≤ ε)
62
+ (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
63
+ (g F : ℂ → ℂ)
64
+ (hg : DifferentiableOn ℂ g (survivingDomain γ T))
65
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
66
+ (hgH : MapsTo g (survivingDomain γ T) upperHalfPlane)
67
+ (hFD : MapsTo F upperHalfPlane (survivingDomain γ T))
68
+ (hFg : ∀ z ∈ survivingDomain γ T, F (g z) = z)
69
+ (hgF : ∀ z ∈ upperHalfPlane, g (F z) = z)
70
+ (h : ℂ ≃ₜ ℂ) (hreal : ∀ x : ℝ, h (x : ℂ) = (x : ℂ))
71
+ (hcut : ∀ z ∈ survivingDomain γ T, (h (g z)).re = 0 →
72
+ ∃ u : ℝ, 0 ≤ u ∧ P (guideCoordinate k x u) = z)
73
+ (hloc : ContinuousOn (fun z => h (g (P z)))
74
+ (ball ((k + 1 / 2 : ℝ) : ℂ) (1 / 4)))
75
+ (hloci : InjOn (fun z => h (g (P z)))
76
+ (ball ((k + 1 / 2 : ℝ) : ℂ) (1 / 4)))
77
+ (hlocz : ∀ z ∈ ball ((k + 1 / 2 : ℝ) : ℂ) (1 / 4),
78
+ (h (g (P z))).re = 0 ↔ z.im = 0)
79
+ (q : ℝ≥0∞)
80
+ (hprob : ∀ side : ℝ, (side = -1 ∨ side = 1) →
81
+ q ≤ (W.prod W) {b | ∀ t ∈ Icc (0 : ℝ) 3,
82
+ dist (physicalUnitBrownianPath (P ((k + 1 / 2 : ℝ) : ℂ)) b t)
83
+ (P (waypointRoute k side t)) < (1 / 32 : ℝ) / K}) :
84
+ q ≤ ENNReal.ofReal ((g (P ((k + 1 / 2 : ℝ) : ℂ))).arg / Real.pi) ∧
85
+ q ≤ ENNReal.ofReal (1 - (g (P ((k + 1 / 2 : ℝ) : ℂ))).arg / Real.pi) := by
86
+ let D := survivingDomain γ T
87
+ let w := P ((k + 1 / 2 : ℝ) : ℂ)
88
+ let E := fun side : ℝ => {b | ∀ t ∈ Icc (0 : ℝ) 3,
89
+ dist (physicalUnitBrownianPath w b t) (P (waypointRoute k side t)) < (1 / 32 : ℝ) / K}
90
+ have hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k} := by
91
+ rintro z ⟨s, hs, rfl⟩
92
+ exact ⟨xp s, ⟨hcoords hs, (hcore s hs).1⟩, (hγ hs).symm⟩
93
+ have hwD : w ∈ D := by
94
+ apply futureRibbon_survives P hP hi (by linarith) hH γ T hpast hunbounded
95
+ exact ⟨((k + 1 / 2 : ℝ) : ℂ), ⟨by simp, by simp⟩, rfl⟩
96
+ obtain ⟨hae, hnegBound, hposBound⟩ := hexitLaw W hW D g F
97
+ (isOpen_survivingDomain hγc T) (fun z hz => hz.1.1) hg hF hgH hFD hFg hgF w hwD
98
+ obtain ⟨side, hside, hpos, hneg⟩ := physical_waypoint_tubes_opposite_sides hopen P hP hi
99
+ K hK hk hlower (fun z => h (g (P z))) (fun z => (h (g z)).re)
100
+ hloc hloci hlocz (fun _ _ => rfl)
101
+ have hgeom (side' : ℝ) (hside' : side' = -1 ∨ side' = 1) (b : Driver × Driver)
102
+ (hb : b ∈ E side') : ∃ τ : ℝ,
103
+ UnitWindowFirstExit D (physicalUnitBrownianPath w b) τ ∧ (1 / 4 : ℝ) < τ ∧
104
+ ∀ t ∈ Ico (1 / 4 : ℝ) τ, (h (g (physicalUnitBrownianPath w b t))).re ≠ 0 := by
105
+ let ζ := physicalUnitBrownianPath w b
106
+ have hζ : Continuous ζ := physicalUnitBrownianPath_continuous w b
107
+ obtain ⟨hearly, havoid, hhit⟩ := physical_waypoint_tube_geometry hopen P hP hi hH K hK
108
+ hk hε hεsmall hx hside' hlower γ xp T hT hxp hγ hxp0 hxpT hcoords hcore hunbounded
109
+ ζ hζ hb
110
+ obtain ⟨τ, hτ, hout, hin⟩ := waypoint_first_exit_after_early_prefix γ hγc T ζ
111
+ hζ.continuousOn hearly hhit
112
+ refine ⟨τ, ⟨⟨by linarith [hτ.1], hτ.2⟩, hout, hin⟩, by linarith [hτ.1], ?_⟩
113
+ intro t ht he
114
+ obtain ⟨u, hu, heq⟩ := hcut (ζ t) (hin ⟨by linarith [ht.1], ht.2⟩) he
115
+ exact havoid t ⟨ht.1, ht.2.le.trans hτ.2⟩ u hu heq.symm
116
+ have hposProb : q ≤ (W.prod W) (unitWindowExitArc D g w 1) := by
117
+ refine (hprob side hside).trans (finite_exit_event_measure_le_arc (W.prod W) D g w h hreal
118
+ hg.continuousOn (E side) (Or.inr rfl) hae (hgeom side hside) ?_)
119
+ intro b hb
120
+ simpa only [one_mul] using hpos _ (hb _ (by norm_num))
121
+ have hsideNeg : -side = -1 ∨ -side = 1 := by
122
+ rcases hside with rfl | rfl <;> norm_num
123
+ have hnegProb : q ≤ (W.prod W) (unitWindowExitArc D g w (-1)) := by
124
+ refine (hprob (-side) hsideNeg).trans (finite_exit_event_measure_le_arc (W.prod W) D g w h hreal
125
+ hg.continuousOn (E (-side)) (Or.inl rfl) hae (hgeom (-side) hsideNeg) ?_)
126
+ intro b hb
127
+ have hh := hneg _ (hb _ (by norm_num))
128
+ nlinarith
129
+ exact ⟨hnegProb.trans hnegBound, hposProb.trans hposBound⟩
130
+
131
+ end SLEExactGauge.RibbonCoordinates
132
+
133
+ end
134
+
135
+ end OAI
lean/OAI/Probability/SLE/Mass/WeightedCompactMass.lean CHANGED
@@ -1,108 +1,108 @@
1
- import OAI.Probability.SLE.Mass.CanonicalMassContinuity
2
- import OAI.Probability.SLE.Geometry.ConformalRestartTransport
3
-
4
- namespace OAI
5
-
6
- /-! Bounded compact weights preserve the scalar continuity estimates
7
- used for the canonical disk mass. -/
8
-
9
- noncomputable section
10
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge
14
-
15
- lemma integral_weight_difference_le
16
- {X : Type*} [MeasurableSpace X] (μ ν : Measure X)
17
- [IsFiniteMeasure μ] [IsFiniteMeasure ν] (hμν : μ ≤ ν)
18
- (f : X → ℝ) (hf : Integrable f ν) (M : ℝ)
19
- (h0 : 0 ≤ᵐ[ν] f) (hM : ∀ᵐ x ∂ν, f x ≤ M) :
20
- 0 ≤ (∫ x, f x ∂ν)-(∫ x, f x ∂μ) ∧
21
- (∫ x, f x ∂ν)-(∫ x, f x ∂μ) ≤ M*((ν univ).toReal-(μ univ).toReal) := by
22
- let ξ := ν-μ
23
- have hξν : ξ ≤ ν := Measure.sub_le
24
- have hξ : Integrable f ξ := hf.mono_measure hξν
25
- have hμ : Integrable f μ := hf.mono_measure hμν
26
- have he : (∫ x, f x ∂ν) = (∫ x, f x ∂ξ)+(∫ x, f x ∂μ) := by
27
- rw [← sigmaFinite_sub_add_cancel_of_le hμν]
28
- exact integral_add_measure hξ hμ
29
- have hn : 0 ≤ ∫ x, f x ∂ξ := integral_nonneg_of_ae (ae_mono hξν h0)
30
- have hi : (∫ x, f x ∂ξ) ≤ ∫ _ : X, M ∂ξ :=
31
- integral_mono_ae hξ (integrable_const M) (ae_mono hξν hM)
32
- have hv : (ξ univ).toReal = (ν univ).toReal-(μ univ).toReal := by
33
- rw [Measure.sub_apply MeasurableSet.univ hμν,
34
- ENNReal.toReal_sub_of_le (hμν univ) (measure_ne_top ν univ)]
35
- simp only [integral_const,smul_eq_mul,measureReal_def,hv] at hi
36
- constructor
37
- · linarith
38
- · rw [mul_comm] at hi
39
- linarith
40
-
41
- namespace Multipoint
42
-
43
- lemma compact_weight_bounded (w : C(upperHalfPlane,ℝ≥0))
44
- (K : Set upperHalfPlane) (hK : IsCompact K) :
45
- ∃ M : ℝ≥0, ∀ z ∈ K, w z ≤ M := by
46
- obtain ⟨M,hM⟩ := hK.bddAbove_image w.continuous.continuousOn
47
- exact ⟨M,fun z hz => hM (mem_image_of_mem _ hz)⟩
48
-
49
- lemma compact_weight_integrable (w : C(upperHalfPlane,ℝ≥0))
50
- (K : Set upperHalfPlane) (hK : IsCompact K)
51
- (μ : Measure upperHalfPlane) [IsFiniteMeasureOnCompacts μ] :
52
- IntegrableOn (fun z => (w z:ℝ)) K μ :=
53
- (continuous_subtype_val.comp w.continuous).continuousOn.integrableOn_compact hK
54
-
55
- lemma compact_weight_difference_le
56
- (w : C(upperHalfPlane,ℝ≥0)) (K : Set upperHalfPlane) (hK : IsCompact K)
57
- (M : ℝ≥0) (hM : ∀ z ∈ K, w z ≤ M)
58
- (μ ν : Measure upperHalfPlane)
59
- [IsFiniteMeasureOnCompacts μ] [IsFiniteMeasureOnCompacts ν] (hμν : μ ≤ ν) :
60
- |(∫ z in K, (w z:ℝ) ∂ν)-(∫ z in K, (w z:ℝ) ∂μ)| ≤
61
- (M:ℝ)*|(ν K).toReal-(μ K).toReal| := by
62
- let : IsFiniteMeasure (μ.restrict K) := ⟨by simpa using hK.measure_lt_top (μ := μ)⟩
63
- let : IsFiniteMeasure (ν.restrict K) := ⟨by simpa using hK.measure_lt_top (μ := ν)⟩
64
- have h := integral_weight_difference_le (μ.restrict K) (ν.restrict K)
65
- (Measure.restrict_mono le_rfl hμν) (fun z => (w z:ℝ))
66
- (compact_weight_integrable w K hK ν) M
67
- (ae_of_all _ (fun z => (w z).coe_nonneg))
68
- ((ae_restrict_mem hK.measurableSet).mono (fun z hz => NNReal.coe_le_coe.mpr (hM z hz)))
69
- have hv : (μ K).toReal ≤ (ν K).toReal :=
70
- ENNReal.toReal_mono hK.measure_ne_top (hμν K)
71
- simpa only [Measure.restrict_apply_univ,abs_of_nonneg h.1,
72
- abs_of_nonneg (sub_nonneg.mpr hv)] using h.2
73
-
74
- theorem ContinuousMassPath.weighted_compact_continuous
75
- {γ : ℝ≥0 → ℂ} {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane}
76
- {N : ℝ≥0 → Measure upperHalfPlane} (hp : ContinuousMassPath γ μ ν N)
77
- (hN : ∀ t, IsFiniteMeasureOnCompacts (N t))
78
- (w : C(upperHalfPlane,ℝ≥0)) (K : Set upperHalfPlane) (hK : IsCompact K) :
79
- Continuous (fun t => ∫ z in K, (w z:ℝ) ∂N t) := by
80
- obtain ⟨M,hM⟩ := compact_weight_bounded w K hK
81
- apply continuous_iff_continuousAt.mpr
82
- intro t₀
83
- rw [Metric.continuousAt_iff]
84
- intro ε hε
85
- have hpos : 0 < ε/((M:ℝ)+1) := div_pos hε (by positivity)
86
- obtain ⟨δ,hδ,hvar⟩ := hp.local_variation K hK t₀ _ hpos
87
- refine ⟨δ,hδ,?_⟩
88
- intro t ht
89
- let := hN t
90
- let := hN t₀
91
- have ht' : dist (t:ℝ) (t₀:ℝ) < δ := ht
92
- have hsmall := hvar t t₀ ht' (by simpa using hδ) K hK.measurableSet Subset.rfl
93
- have hb : |(∫ z in K, (w z:ℝ) ∂N t)-(∫ z in K, (w z:ℝ) ∂N t₀)| ≤
94
- (M:ℝ)*|((N t) K).toReal-((N t₀) K).toReal| := by
95
- rcases le_total t t₀ with htt | htt
96
- · have h := compact_weight_difference_le w K hK M hM (N t) (N t₀) (hp.monotone htt)
97
- simpa only [abs_sub_comm] using h
98
- · exact compact_weight_difference_le w K hK M hM (N t₀) (N t) (hp.monotone htt)
99
- rw [Real.dist_eq]
100
- have he : ε/((M:ℝ)+1)*((M:ℝ)+1)=ε := div_mul_cancel₀ _ (by positivity)
101
- nlinarith [abs_nonneg (((N t) K).toReal-((N t₀) K).toReal),M.coe_nonneg]
102
-
103
- end Multipoint
104
- end SLEExactGauge
105
-
106
- end
107
-
108
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.CanonicalMassContinuity
2
+ import OAI.Probability.SLE.Geometry.ConformalRestartTransport
3
+
4
+ namespace OAI
5
+
6
+ /-! Bounded compact weights preserve the scalar continuity estimates
7
+ used for the canonical disk mass. -/
8
+
9
+ noncomputable section
10
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge
14
+
15
+ lemma integral_weight_difference_le
16
+ {X : Type*} [MeasurableSpace X] (μ ν : Measure X)
17
+ [IsFiniteMeasure μ] [IsFiniteMeasure ν] (hμν : μ ≤ ν)
18
+ (f : X → ℝ) (hf : Integrable f ν) (M : ℝ)
19
+ (h0 : 0 ≤ᵐ[ν] f) (hM : ∀ᵐ x ∂ν, f x ≤ M) :
20
+ 0 ≤ (∫ x, f x ∂ν)-(∫ x, f x ∂μ) ∧
21
+ (∫ x, f x ∂ν)-(∫ x, f x ∂μ) ≤ M*((ν univ).toReal-(μ univ).toReal) := by
22
+ let ξ := ν-μ
23
+ have hξν : ξ ≤ ν := Measure.sub_le
24
+ have hξ : Integrable f ξ := hf.mono_measure hξν
25
+ have hμ : Integrable f μ := hf.mono_measure hμν
26
+ have he : (∫ x, f x ∂ν) = (∫ x, f x ∂ξ)+(∫ x, f x ∂μ) := by
27
+ rw [← sigmaFinite_sub_add_cancel_of_le hμν]
28
+ exact integral_add_measure hξ hμ
29
+ have hn : 0 ≤ ∫ x, f x ∂ξ := integral_nonneg_of_ae (ae_mono hξν h0)
30
+ have hi : (∫ x, f x ∂ξ) ≤ ∫ _ : X, M ∂ξ :=
31
+ integral_mono_ae hξ (integrable_const M) (ae_mono hξν hM)
32
+ have hv : (ξ univ).toReal = (ν univ).toReal-(μ univ).toReal := by
33
+ rw [Measure.sub_apply MeasurableSet.univ hμν,
34
+ ENNReal.toReal_sub_of_le (hμν univ) (measure_ne_top ν univ)]
35
+ simp only [integral_const,smul_eq_mul,measureReal_def,hv] at hi
36
+ constructor
37
+ · linarith
38
+ · rw [mul_comm] at hi
39
+ linarith
40
+
41
+ namespace Multipoint
42
+
43
+ lemma compact_weight_bounded (w : C(upperHalfPlane,ℝ≥0))
44
+ (K : Set upperHalfPlane) (hK : IsCompact K) :
45
+ ∃ M : ℝ≥0, ∀ z ∈ K, w z ≤ M := by
46
+ obtain ⟨M,hM⟩ := hK.bddAbove_image w.continuous.continuousOn
47
+ exact ⟨M,fun z hz => hM (mem_image_of_mem _ hz)⟩
48
+
49
+ lemma compact_weight_integrable (w : C(upperHalfPlane,ℝ≥0))
50
+ (K : Set upperHalfPlane) (hK : IsCompact K)
51
+ (μ : Measure upperHalfPlane) [IsFiniteMeasureOnCompacts μ] :
52
+ IntegrableOn (fun z => (w z:ℝ)) K μ :=
53
+ (continuous_subtype_val.comp w.continuous).continuousOn.integrableOn_compact hK
54
+
55
+ lemma compact_weight_difference_le
56
+ (w : C(upperHalfPlane,ℝ≥0)) (K : Set upperHalfPlane) (hK : IsCompact K)
57
+ (M : ℝ≥0) (hM : ∀ z ∈ K, w z ≤ M)
58
+ (μ ν : Measure upperHalfPlane)
59
+ [IsFiniteMeasureOnCompacts μ] [IsFiniteMeasureOnCompacts ν] (hμν : μ ≤ ν) :
60
+ |(∫ z in K, (w z:ℝ) ∂ν)-(∫ z in K, (w z:ℝ) ∂μ)| ≤
61
+ (M:ℝ)*|(ν K).toReal-(μ K).toReal| := by
62
+ let : IsFiniteMeasure (μ.restrict K) := ⟨by simpa using hK.measure_lt_top (μ := μ)⟩
63
+ let : IsFiniteMeasure (ν.restrict K) := ⟨by simpa using hK.measure_lt_top (μ := ν)⟩
64
+ have h := integral_weight_difference_le (μ.restrict K) (ν.restrict K)
65
+ (Measure.restrict_mono le_rfl hμν) (fun z => (w z:ℝ))
66
+ (compact_weight_integrable w K hK ν) M
67
+ (ae_of_all _ (fun z => (w z).coe_nonneg))
68
+ ((ae_restrict_mem hK.measurableSet).mono (fun z hz => NNReal.coe_le_coe.mpr (hM z hz)))
69
+ have hv : (μ K).toReal ≤ (ν K).toReal :=
70
+ ENNReal.toReal_mono hK.measure_ne_top (hμν K)
71
+ simpa only [Measure.restrict_apply_univ,abs_of_nonneg h.1,
72
+ abs_of_nonneg (sub_nonneg.mpr hv)] using h.2
73
+
74
+ theorem ContinuousMassPath.weighted_compact_continuous
75
+ {γ : ℝ≥0 → ℂ} {μ : ℚ → Measure upperHalfPlane} {ν : Measure upperHalfPlane}
76
+ {N : ℝ≥0 → Measure upperHalfPlane} (hp : ContinuousMassPath γ μ ν N)
77
+ (hN : ∀ t, IsFiniteMeasureOnCompacts (N t))
78
+ (w : C(upperHalfPlane,ℝ≥0)) (K : Set upperHalfPlane) (hK : IsCompact K) :
79
+ Continuous (fun t => ∫ z in K, (w z:ℝ) ∂N t) := by
80
+ obtain ⟨M,hM⟩ := compact_weight_bounded w K hK
81
+ apply continuous_iff_continuousAt.mpr
82
+ intro t₀
83
+ rw [Metric.continuousAt_iff]
84
+ intro ε hε
85
+ have hpos : 0 < ε/((M:ℝ)+1) := div_pos hε (by positivity)
86
+ obtain ⟨δ,hδ,hvar⟩ := hp.local_variation K hK t₀ _ hpos
87
+ refine ⟨δ,hδ,?_⟩
88
+ intro t ht
89
+ let := hN t
90
+ let := hN t₀
91
+ have ht' : dist (t:ℝ) (t₀:ℝ) < δ := ht
92
+ have hsmall := hvar t t₀ ht' (by simpa using hδ) K hK.measurableSet Subset.rfl
93
+ have hb : |(∫ z in K, (w z:ℝ) ∂N t)-(∫ z in K, (w z:ℝ) ∂N t₀)| ≤
94
+ (M:ℝ)*|((N t) K).toReal-((N t₀) K).toReal| := by
95
+ rcases le_total t t₀ with htt | htt
96
+ · have h := compact_weight_difference_le w K hK M hM (N t) (N t₀) (hp.monotone htt)
97
+ simpa only [abs_sub_comm] using h
98
+ · exact compact_weight_difference_le w K hK M hM (N t₀) (N t) (hp.monotone htt)
99
+ rw [Real.dist_eq]
100
+ have he : ε/((M:ℝ)+1)*((M:ℝ)+1)=ε := div_mul_cancel₀ _ (by positivity)
101
+ nlinarith [abs_nonneg (((N t) K).toReal-((N t₀) K).toReal),M.coe_nonneg]
102
+
103
+ end Multipoint
104
+ end SLEExactGauge
105
+
106
+ end
107
+
108
+ end OAI
lean/OAI/Probability/SLE/Mass/WeightedImageRandomMass.lean CHANGED
@@ -1,97 +1,97 @@
1
- import OAI.Probability.SLE.Mass.RestartRandomMassTesting
2
-
3
- namespace OAI
4
-
5
- /-! Measurable weighted images of locally finite random half-plane measures.
6
- The weight and image map can be chosen from the stopped past. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory Classical
10
- open scoped ENNReal
11
-
12
- namespace SLEExactGauge
13
-
14
- def weightedImageMass {X : Type*} [MeasurableSpace X]
15
- (J : upperHalfPlane → X) (w : upperHalfPlane → ℝ≥0∞)
16
- (μ : Measure upperHalfPlane) : Measure X :=
17
- (μ.withDensity w).map J
18
-
19
- lemma weightedImageMass_apply {X : Type*} [MeasurableSpace X]
20
- (J : upperHalfPlane → X) (hJ : Measurable J)
21
- (w : upperHalfPlane → ℝ≥0∞) (μ : Measure upperHalfPlane)
22
- (A : Set X) (hA : MeasurableSet A) :
23
- weightedImageMass J w μ A = ∫⁻ z, (J ⁻¹' A).indicator w z ∂μ := by
24
- rw [weightedImageMass,Measure.map_apply hJ hA,withDensity_apply _ (hJ hA),
25
- lintegral_indicator (hJ hA)]
26
-
27
- theorem weightedImageMass_measurable
28
- {Ω X : Type*} [MeasurableSpace Ω] [MeasurableSpace X]
29
- (μ : Ω → Measure upperHalfPlane) (hμ : Measurable μ)
30
- (hfin : ∀ ω, IsFiniteMeasureOnCompacts (μ ω))
31
- (J : Ω × upperHalfPlane → X) (hJ : Measurable J)
32
- (w : Ω × upperHalfPlane → ℝ≥0∞) (hw : Measurable w) :
33
- Measurable (fun ω => weightedImageMass (fun z => J (ω,z))
34
- (fun z => w (ω,z)) (μ ω)) := by
35
- apply Measure.measurable_of_measurable_coe
36
- intro A hA
37
- have he (ω : Ω) := weightedImageMass_apply (fun z => J (ω,z))
38
- (hJ.comp (measurable_const.prodMk measurable_id)) (fun z => w (ω,z)) (μ ω) A hA
39
- simp_rw [he]
40
- exact halfPlane_random_test_measurable μ hμ hfin
41
- ((J ⁻¹' A).indicator w) (hw.indicator (hJ hA))
42
-
43
- lemma weightedImageMass_lintegral {X : Type*} [MeasurableSpace X]
44
- (J : upperHalfPlane → X) (hJ : Measurable J)
45
- (w : upperHalfPlane → ℝ≥0∞) (hw : Measurable w)
46
- (μ : Measure upperHalfPlane) (f : X → ℝ≥0∞) (hf : Measurable f) :
47
- (∫⁻ x, f x ∂weightedImageMass J w μ) = ∫⁻ z, w z*f (J z) ∂μ := by
48
- rw [weightedImageMass,lintegral_map hf hJ]
49
- exact lintegral_withDensity_eq_lintegral_mul μ hw
50
- (show Measurable (fun z => f (J z)) from hf.comp hJ)
51
-
52
- theorem weightedImageMass_measurable_of_subsigma
53
- {Ω X : Type*} [mΩ : MeasurableSpace Ω] [MeasurableSpace X]
54
- (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
55
- (μ : Ω → Measure upperHalfPlane) (hμ : Measurable[mΩ] μ)
56
- (hfin : ∀ ω, IsFiniteMeasureOnCompacts (μ ω))
57
- (J : Ω × upperHalfPlane → X) (hJ : Measurable[m.prod inferInstance] J)
58
- (w : Ω × upperHalfPlane → ℝ≥0∞) (hw : Measurable[m.prod inferInstance] w) :
59
- Measurable[mΩ] (fun ω => weightedImageMass (fun z => J (ω,z))
60
- (fun z => w (ω,z)) (μ ω)) := by
61
- let : MeasurableSpace Ω := mΩ
62
- have hle : m.prod (inferInstance : MeasurableSpace upperHalfPlane) ≤ mΩ.prod inferInstance :=
63
- sup_le_sup (MeasurableSpace.comap_mono hm) le_rfl
64
- exact weightedImageMass_measurable μ hμ hfin J (hJ.mono hle le_rfl) w (hw.mono hle le_rfl)
65
-
66
- theorem restart_weighted_mass_test
67
- {Ω X Y : Type*} [mΩ : MeasurableSpace Ω] [mX : MeasurableSpace X]
68
- [mY : MeasurableSpace Y]
69
- (P : Measure Ω) [IsFiniteMeasure P] (ν : Measure X) [IsFiniteMeasure ν]
70
- (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
71
- (V : Ω → X) (hV : Measurable[mΩ] V)
72
- (hlaw : ∀ A : Set Ω, MeasurableSet[m] A →
73
- @Measure.map Ω X mΩ mX V (P.restrict A) = P A • ν)
74
- (M : X → Measure upperHalfPlane) (hM : Measurable M)
75
- (hMf : ∀ x, IsFiniteMeasureOnCompacts (M x))
76
- (J : Ω × upperHalfPlane → Y) (hJ : Measurable[m.prod inferInstance] J)
77
- (w : Ω × upperHalfPlane → ℝ≥0∞) (hw : Measurable[m.prod inferInstance] w)
78
- (f : Ω × Y → ℝ≥0∞) (hf : Measurable[m.prod mY] f) :
79
- (∫⁻ ω, ∫⁻ y, f (ω,y) ∂weightedImageMass (fun z => J (ω,z))
80
- (fun z => w (ω,z)) (M (V ω)) ∂P) =
81
- ∫⁻ ω, ∫⁻ z, w (ω,z)*f (ω,J (ω,z)) ∂ν.bind M ∂P := by
82
- let : MeasurableSpace Ω := mΩ
83
- have htest : Measurable[m.prod inferInstance]
84
- (fun p : Ω × upperHalfPlane => w p*f (p.1,J p)) :=
85
- hw.mul (hf.comp (measurable_fst.prodMk hJ))
86
- have he (ω : Ω) := weightedImageMass_lintegral (fun z => J (ω,z))
87
- (hJ.comp (measurable_const.prodMk measurable_id)) (fun z => w (ω,z))
88
- (hw.comp (measurable_const.prodMk measurable_id)) (M (V ω)) (fun y => f (ω,y))
89
- (hf.comp (measurable_const.prodMk measurable_id))
90
- simp_rw [he]
91
- exact restart_random_mass_test P ν m hm V hV hlaw M hM hMf _ htest
92
-
93
- end SLEExactGauge
94
-
95
- end
96
-
97
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RestartRandomMassTesting
2
+
3
+ namespace OAI
4
+
5
+ /-! Measurable weighted images of locally finite random half-plane measures.
6
+ The weight and image map can be chosen from the stopped past. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory Classical
10
+ open scoped ENNReal
11
+
12
+ namespace SLEExactGauge
13
+
14
+ def weightedImageMass {X : Type*} [MeasurableSpace X]
15
+ (J : upperHalfPlane → X) (w : upperHalfPlane → ℝ≥0∞)
16
+ (μ : Measure upperHalfPlane) : Measure X :=
17
+ (μ.withDensity w).map J
18
+
19
+ lemma weightedImageMass_apply {X : Type*} [MeasurableSpace X]
20
+ (J : upperHalfPlane → X) (hJ : Measurable J)
21
+ (w : upperHalfPlane → ℝ≥0∞) (μ : Measure upperHalfPlane)
22
+ (A : Set X) (hA : MeasurableSet A) :
23
+ weightedImageMass J w μ A = ∫⁻ z, (J ⁻¹' A).indicator w z ∂μ := by
24
+ rw [weightedImageMass,Measure.map_apply hJ hA,withDensity_apply _ (hJ hA),
25
+ lintegral_indicator (hJ hA)]
26
+
27
+ theorem weightedImageMass_measurable
28
+ {Ω X : Type*} [MeasurableSpace Ω] [MeasurableSpace X]
29
+ (μ : Ω → Measure upperHalfPlane) (hμ : Measurable μ)
30
+ (hfin : ∀ ω, IsFiniteMeasureOnCompacts (μ ω))
31
+ (J : Ω × upperHalfPlane → X) (hJ : Measurable J)
32
+ (w : Ω × upperHalfPlane → ℝ≥0∞) (hw : Measurable w) :
33
+ Measurable (fun ω => weightedImageMass (fun z => J (ω,z))
34
+ (fun z => w (ω,z)) (μ ω)) := by
35
+ apply Measure.measurable_of_measurable_coe
36
+ intro A hA
37
+ have he (ω : Ω) := weightedImageMass_apply (fun z => J (ω,z))
38
+ (hJ.comp (measurable_const.prodMk measurable_id)) (fun z => w (ω,z)) (μ ω) A hA
39
+ simp_rw [he]
40
+ exact halfPlane_random_test_measurable μ hμ hfin
41
+ ((J ⁻¹' A).indicator w) (hw.indicator (hJ hA))
42
+
43
+ lemma weightedImageMass_lintegral {X : Type*} [MeasurableSpace X]
44
+ (J : upperHalfPlane → X) (hJ : Measurable J)
45
+ (w : upperHalfPlane → ℝ≥0∞) (hw : Measurable w)
46
+ (μ : Measure upperHalfPlane) (f : X → ℝ≥0∞) (hf : Measurable f) :
47
+ (∫⁻ x, f x ∂weightedImageMass J w μ) = ∫⁻ z, w z*f (J z) ∂μ := by
48
+ rw [weightedImageMass,lintegral_map hf hJ]
49
+ exact lintegral_withDensity_eq_lintegral_mul μ hw
50
+ (show Measurable (fun z => f (J z)) from hf.comp hJ)
51
+
52
+ theorem weightedImageMass_measurable_of_subsigma
53
+ {Ω X : Type*} [mΩ : MeasurableSpace Ω] [MeasurableSpace X]
54
+ (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
55
+ (μ : Ω → Measure upperHalfPlane) (hμ : Measurable[mΩ] μ)
56
+ (hfin : ∀ ω, IsFiniteMeasureOnCompacts (μ ω))
57
+ (J : Ω × upperHalfPlane → X) (hJ : Measurable[m.prod inferInstance] J)
58
+ (w : Ω × upperHalfPlane → ℝ≥0∞) (hw : Measurable[m.prod inferInstance] w) :
59
+ Measurable[mΩ] (fun ω => weightedImageMass (fun z => J (ω,z))
60
+ (fun z => w (ω,z)) (μ ω)) := by
61
+ let : MeasurableSpace Ω := mΩ
62
+ have hle : m.prod (inferInstance : MeasurableSpace upperHalfPlane) ≤ mΩ.prod inferInstance :=
63
+ sup_le_sup (MeasurableSpace.comap_mono hm) le_rfl
64
+ exact weightedImageMass_measurable μ hμ hfin J (hJ.mono hle le_rfl) w (hw.mono hle le_rfl)
65
+
66
+ theorem restart_weighted_mass_test
67
+ {Ω X Y : Type*} [mΩ : MeasurableSpace Ω] [mX : MeasurableSpace X]
68
+ [mY : MeasurableSpace Y]
69
+ (P : Measure Ω) [IsFiniteMeasure P] (ν : Measure X) [IsFiniteMeasure ν]
70
+ (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
71
+ (V : Ω → X) (hV : Measurable[mΩ] V)
72
+ (hlaw : ∀ A : Set Ω, MeasurableSet[m] A →
73
+ @Measure.map Ω X mΩ mX V (P.restrict A) = P A • ν)
74
+ (M : X → Measure upperHalfPlane) (hM : Measurable M)
75
+ (hMf : ∀ x, IsFiniteMeasureOnCompacts (M x))
76
+ (J : Ω × upperHalfPlane → Y) (hJ : Measurable[m.prod inferInstance] J)
77
+ (w : Ω × upperHalfPlane → ℝ≥0∞) (hw : Measurable[m.prod inferInstance] w)
78
+ (f : Ω × Y → ℝ≥0∞) (hf : Measurable[m.prod mY] f) :
79
+ (∫⁻ ω, ∫⁻ y, f (ω,y) ∂weightedImageMass (fun z => J (ω,z))
80
+ (fun z => w (ω,z)) (M (V ω)) ∂P) =
81
+ ∫⁻ ω, ∫⁻ z, w (ω,z)*f (ω,J (ω,z)) ∂ν.bind M ∂P := by
82
+ let : MeasurableSpace Ω := mΩ
83
+ have htest : Measurable[m.prod inferInstance]
84
+ (fun p : Ω × upperHalfPlane => w p*f (p.1,J p)) :=
85
+ hw.mul (hf.comp (measurable_fst.prodMk hJ))
86
+ have he (ω : Ω) := weightedImageMass_lintegral (fun z => J (ω,z))
87
+ (hJ.comp (measurable_const.prodMk measurable_id)) (fun z => w (ω,z))
88
+ (hw.comp (measurable_const.prodMk measurable_id)) (M (V ω)) (fun y => f (ω,y))
89
+ (hf.comp (measurable_const.prodMk measurable_id))
90
+ simp_rw [he]
91
+ exact restart_random_mass_test P ν m hm V hV hlaw M hM hMf _ htest
92
+
93
+ end SLEExactGauge
94
+
95
+ end
96
+
97
+ end OAI
lean/OAI/Probability/SLE/Mass/WeightedLevelMoments.lean CHANGED
@@ -1,188 +1,188 @@
1
- import OAI.Probability.SLE.Mass.LevelRadonMoments
2
- import OAI.Probability.SLE.Gauge.WeightedMomentIntegration
3
-
4
- namespace OAI
5
-
6
- /-! The actual multipoint estimate with spatial weights retained. This
7
- retains the near-diagonal gain needed for nonatomicity. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory ProbabilityTheory Classical
11
- open scoped NNReal ENNReal Topology CompactlySupported
12
-
13
- namespace SLEExactGauge.Multipoint
14
-
15
- def weightedLevelMass {Ω : Type*} (κ : ℝ) (B : ℝ≥0 → Ω → ℝ)
16
- (γ : Ω → ℝ≥0 → ℂ) (G : Ω → ℝ≥0 → ℂ → ℂ)
17
- (u : ℝ) (K : Set ℂ) (f : ℂ → ℝ≥0∞) (ω : Ω) : ℝ≥0∞ :=
18
- ∫⁻ z in K, f z * ENNReal.ofReal (stoppedGreen κ (fun t => Real.sqrt κ * B t ω)
19
- (γ ω) (G ω) z u)
20
-
21
- theorem weightedLevelMass_moment_identity
22
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [SigmaFinite P]
23
- {B : ℝ≥0 → Ω → ℝ} (hm : ∀ t, Measurable (B t))
24
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (κ u : ℝ) (hu : 0 ≤ u)
25
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
26
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
27
- (K : Set ℂ) (f : ℂ → ℝ≥0∞) (hf : Measurable f) (m : ℕ) :
28
- (∫⁻ ω, weightedLevelMass κ B γ G u K f ω ^ m ∂P) =
29
- ∫⁻ z : Fin m → ℂ, (∏ i, f (z i)) *
30
- (∫⁻ ω, ENNReal.ofReal (∏ i, stoppedGreen κ (fun t => Real.sqrt κ * B t ω)
31
- (γ ω) (G ω) (z i) u) ∂P) ∂Measure.pi (fun _ : Fin m => volume.restrict K) := by
32
- have hW := (actual_stoppedGreen_joint_measurable hm hBc κ u hu γ G F hw).ennreal_ofReal
33
- unfold weightedLevelMass
34
- rw [lintegral_weighted_mass_pow_eq P (volume.restrict K)
35
- (fun ω z => ENNReal.ofReal (stoppedGreen κ
36
- (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) z u)) hW f hf m]
37
- apply lintegral_congr
38
- intro z
39
- apply congrArg (fun v : ℝ≥0∞ => (∏ i, f (z i)) * v)
40
- apply lintegral_congr
41
- intro ω
42
- exact (ENNReal.ofReal_prod_of_nonneg (fun i _ => stoppedGreen_nonneg (hw ω) κ _ _)).symm
43
-
44
- theorem actual_product_le_cappedKernel
45
- {Ω : Type*} [MeasurableSpace Ω]
46
- {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
47
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
48
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
49
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
50
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
51
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
52
- (hgrowth : PublishedDiskUnivalentGrowth)
53
- {m : ℕ} (z : Fin m → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane) (hzi : Function.Injective z)
54
- (b : ℝ) (hb : 0 < b) (hbR : ∀ i, b ≤ 2*(z i).im) (u : ℝ) :
55
- (∫⁻ ω, ENNReal.ofReal (∏ i, stoppedGreen κ
56
- (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (z i) u) ∂P) ≤
57
- ENNReal.ofReal (multipointConstant κ m) * cappedDistanceKernel (codimension κ) b z := by
58
- have hc := stoppedGreen_common_level_product_bound hB hm hBm hBc hB0 hκ hκ8 γ G F hw
59
- hgrowth z hz hzi (cappedDistance b z) (fun i => cap_pos hb hzi i)
60
- (fun i => (cap_le_fixed b z i).trans (hbR i))
61
- (fun i j hij => cap_le_dist b z i j hij) u
62
- apply hc.trans_eq
63
- rw [ENNReal.ofReal_mul (by positivity)]
64
- congr 1
65
- · simp only [multipointConstant,Fintype.card_fin]
66
- · exact ENNReal.ofReal_prod_of_nonneg
67
- (fun i _ => Real.rpow_nonneg (cap_pos hb hzi i).le _)
68
-
69
- theorem weightedLevelMass_moment_le_cappedKernel
70
- {Ω : Type*} [MeasurableSpace Ω]
71
- {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
72
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
73
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
74
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
75
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
76
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
77
- (hgrowth : PublishedDiskUnivalentGrowth)
78
- (K : Set ℂ) (hK : MeasurableSet K) (hKH : K ⊆ upperHalfPlane)
79
- (f : ℂ → ℝ≥0∞) (hf : Measurable f)
80
- (b : ℝ) (hb : 0 < b) (hbR : ∀ z ∈ K, b ≤ 2*z.im) (m : ℕ)
81
- (u : ℝ) (hu : 0 ≤ u) :
82
- (∫⁻ ω, weightedLevelMass κ B γ G u K f ω ^ m ∂P) ≤
83
- ENNReal.ofReal (multipointConstant κ m) *
84
- ∫⁻ z : Fin m → ℂ, (∏ i, f (z i)) * cappedDistanceKernel (codimension κ) b z
85
- ∂Measure.pi (fun _ : Fin m => volume.restrict K) := by
86
- let : IsProbabilityMeasure P := hB.isGaussianProcess.isProbabilityMeasure
87
- rw [weightedLevelMass_moment_identity P hm hBc κ u hu γ G F hw K f hf m]
88
- have hk : Measurable (fun z : Fin m → ℂ =>
89
- (∏ i, f (z i)) * cappedDistanceKernel (codimension κ) b z) :=
90
- (Finset.measurable_prod _ (fun i _ => hf.comp (measurable_pi_apply i))).mul
91
- (measurable_cappedDistanceKernel _ _)
92
- rw [← lintegral_const_mul _ hk]
93
- apply lintegral_mono_ae
94
- filter_upwards [ae_tuple_mem (ι := Fin m) K hK,ae_tuple_injective (ι := Fin m) K] with z hz hzi
95
- have he := actual_product_le_cappedKernel hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
96
- z (fun i => hKH (hz i)) hzi b hb (fun i => hbR (z i) (hz i)) u
97
- exact (mul_le_mul' le_rfl he).trans_eq (by ac_rfl)
98
-
99
- lemma levelApproximationTest_le_weightedLevelMass
100
- {Ω : Type*} [MeasurableSpace Ω] {B : ℝ≥0 → Ω → ℝ}
101
- (hm : ∀ t, Measurable (B t)) (hBc : ∀ ω, Continuous (fun t => B t ω))
102
- (κ u : ℝ) (hu : 0 ≤ u)
103
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
104
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
105
- (K : Set ℂ) (hK : MeasurableSet K) (f : ℂ → ℝ≥0∞) (hf : Measurable f)
106
- (hz : ∀ z ∉ K, f z = 0) (t : ℝ≥0∞) (ω : Ω) :
107
- levelApproximationTest κ B γ G u t f ω ≤ weightedLevelMass κ B γ G u K f ω := by
108
- have hd := levelApproximationDensity_joint_measurable hm hBc κ u hu γ G F hw t
109
- change (∫⁻ z, f z ∂volume.withDensity _) ≤ _
110
- rw [lintegral_withDensity_eq_lintegral_mul volume hd.of_uncurry_left hf]
111
- have he : (fun z => levelApproximationDensity κ B γ G u t ω z * f z) =
112
- K.indicator (fun z => levelApproximationDensity κ B γ G u t ω z * f z) := by
113
- funext z
114
- by_cases hzK : z ∈ K
115
- · simp only [indicator_of_mem hzK]
116
- · simp only [indicator_of_notMem hzK,hz z hzK,mul_zero]
117
- change (∫⁻ z, levelApproximationDensity κ B γ G u t ω z * f z) ≤ _
118
- rw [he,lintegral_indicator hK]
119
- apply lintegral_mono
120
- intro z
121
- unfold levelApproximationDensity
122
- dsimp only
123
- split_ifs
124
- · exact (mul_comm _ _).le
125
- · simp only [zero_mul,zero_le]
126
-
127
- theorem levelApproximationTest_moment_le_cappedKernel
128
- {Ω : Type*} [MeasurableSpace Ω]
129
- {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
130
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
131
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
132
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
133
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
134
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
135
- (hgrowth : PublishedDiskUnivalentGrowth)
136
- (K : Set ℂ) (hK : MeasurableSet K) (hKH : K ⊆ upperHalfPlane)
137
- (f : ℂ → ℝ≥0∞) (hf : Measurable f) (hz : ∀ z ∉ K, f z = 0)
138
- (b : ℝ) (hb : 0 < b) (hbR : ∀ z ∈ K, b ≤ 2*z.im) (m : ℕ)
139
- (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :
140
- (∫⁻ ω, levelApproximationTest κ B γ G u t f ω ^ m ∂P) ≤
141
- ENNReal.ofReal (multipointConstant κ m) *
142
- ∫⁻ z : Fin m → ℂ, (∏ i, f (z i)) * cappedDistanceKernel (codimension κ) b z
143
- ∂Measure.pi (fun _ : Fin m => volume.restrict K) := by
144
- apply (lintegral_mono (fun ω => pow_le_pow_left'
145
- (levelApproximationTest_le_weightedLevelMass hm hBc κ u hu γ G F hw K hK f hf hz t ω) m)).trans
146
- exact weightedLevelMass_moment_le_cappedKernel hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
147
- K hK hKH f hf b hb hbR m u hu
148
-
149
- theorem level_radon_limit_test_moment_le
150
- {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ}
151
- (hm : ∀ t, Measurable (B t)) (hBc : ∀ ω, Continuous (fun t => B t ω))
152
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
153
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
154
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
155
- (u : ℕ → ℝ) (hu : ∀ n, 0 ≤ u n) (s : ℕ → Finset ℕ) (w : ℕ → ℕ → ℝ)
156
- (hw₀ : ∀ n i, i ∈ s n → 0 ≤ w n i) (hw₁ : ∀ n, ∑ i ∈ s n, w n i = 1)
157
- (t : ℝ≥0∞) (ν : Ω → Measure upperHalfPlane)
158
- (hlim : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
159
- Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G u s w n t ω)
160
- atTop (𝓝 (∫ z, f z ∂ν ω)))
161
- (f : C_c(upperHalfPlane,ℝ)) (hf : ∀ z, 0 ≤ f z) (m : ℕ) (M : ℝ≥0∞)
162
- (hbound : ∀ n, (∫⁻ ω, ENNReal.ofReal
163
- (∫ z, f z ∂halfPlaneLevelMeasure κ B γ G (u n) t ω)^m ∂P) ≤ M) :
164
- (∫⁻ ω, ENNReal.ofReal (∫ z, f z ∂ν ω)^m ∂P) ≤ M := by
165
- apply lintegral_le_of_ae_tendsto_bound P
166
- (fun n ω => ENNReal.ofReal (∫ z, f z ∂convexLevelMeasure κ B γ G u s w n t ω)^m)
167
- (fun ω => ENNReal.ofReal (∫ z, f z ∂ν ω)^m)
168
- (fun n => ((convexLevelMeasure_test_measurable hm hBc hκ hκ8 γ G F hw u hu s w hw₀ n t f).ennreal_ofReal.pow_const m).aemeasurable)
169
- · filter_upwards [hlim] with ω hω
170
- exact (ENNReal.continuous_pow m).continuousAt.tendsto.comp
171
- ((ENNReal.continuous_ofReal.tendsto _).comp (hω f))
172
- · intro n
173
- have hb := lintegral_pow_convex_sum_le P (s n) (w n)
174
- (fun i ω => ∫ z, f z ∂halfPlaneLevelMeasure κ B γ G (u (n+i)) t ω)
175
- (hw₀ n) (hw₁ n) (fun i _ ω => integral_nonneg hf)
176
- (fun i _ => by
177
- simp_rw [integral_halfPlaneLevelMeasure]
178
- exact levelApproximationRealTest_measurable hm hBc κ (u (n+i)) (hu _) γ G F hw t
179
- _ (extendHalfPlaneTest_measurable f f.continuous.measurable))
180
- m M (fun i _ => hbound (n+i))
181
- simpa only [integral_convexLevelMeasure hκ hκ8 γ G F _ (hBc _) (hw _) u s w n t (hw₀ n) f,
182
- integral_halfPlaneLevelMeasure] using hb
183
-
184
- end SLEExactGauge.Multipoint
185
-
186
- end
187
-
188
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.LevelRadonMoments
2
+ import OAI.Probability.SLE.Gauge.WeightedMomentIntegration
3
+
4
+ namespace OAI
5
+
6
+ /-! The actual multipoint estimate with spatial weights retained. This
7
+ retains the near-diagonal gain needed for nonatomicity. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory ProbabilityTheory Classical
11
+ open scoped NNReal ENNReal Topology CompactlySupported
12
+
13
+ namespace SLEExactGauge.Multipoint
14
+
15
+ def weightedLevelMass {Ω : Type*} (κ : ℝ) (B : ℝ≥0 → Ω → ℝ)
16
+ (γ : Ω → ℝ≥0 → ℂ) (G : Ω → ℝ≥0 → ℂ → ℂ)
17
+ (u : ℝ) (K : Set ℂ) (f : ℂ → ℝ≥0∞) (ω : Ω) : ℝ≥0∞ :=
18
+ ∫⁻ z in K, f z * ENNReal.ofReal (stoppedGreen κ (fun t => Real.sqrt κ * B t ω)
19
+ (γ ω) (G ω) z u)
20
+
21
+ theorem weightedLevelMass_moment_identity
22
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [SigmaFinite P]
23
+ {B : ℝ≥0 → Ω → ℝ} (hm : ∀ t, Measurable (B t))
24
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (κ u : ℝ) (hu : 0 ≤ u)
25
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
26
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
27
+ (K : Set ℂ) (f : ℂ → ℝ≥0∞) (hf : Measurable f) (m : ℕ) :
28
+ (∫⁻ ω, weightedLevelMass κ B γ G u K f ω ^ m ∂P) =
29
+ ∫⁻ z : Fin m → ℂ, (∏ i, f (z i)) *
30
+ (∫⁻ ω, ENNReal.ofReal (∏ i, stoppedGreen κ (fun t => Real.sqrt κ * B t ω)
31
+ (γ ω) (G ω) (z i) u) ∂P) ∂Measure.pi (fun _ : Fin m => volume.restrict K) := by
32
+ have hW := (actual_stoppedGreen_joint_measurable hm hBc κ u hu γ G F hw).ennreal_ofReal
33
+ unfold weightedLevelMass
34
+ rw [lintegral_weighted_mass_pow_eq P (volume.restrict K)
35
+ (fun ω z => ENNReal.ofReal (stoppedGreen κ
36
+ (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) z u)) hW f hf m]
37
+ apply lintegral_congr
38
+ intro z
39
+ apply congrArg (fun v : ℝ≥0∞ => (∏ i, f (z i)) * v)
40
+ apply lintegral_congr
41
+ intro ω
42
+ exact (ENNReal.ofReal_prod_of_nonneg (fun i _ => stoppedGreen_nonneg (hw ω) κ _ _)).symm
43
+
44
+ theorem actual_product_le_cappedKernel
45
+ {Ω : Type*} [MeasurableSpace Ω]
46
+ {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
47
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
48
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
49
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
50
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
51
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
52
+ (hgrowth : PublishedDiskUnivalentGrowth)
53
+ {m : ℕ} (z : Fin m → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane) (hzi : Function.Injective z)
54
+ (b : ℝ) (hb : 0 < b) (hbR : ∀ i, b ≤ 2*(z i).im) (u : ℝ) :
55
+ (∫⁻ ω, ENNReal.ofReal (∏ i, stoppedGreen κ
56
+ (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (z i) u) ∂P) ≤
57
+ ENNReal.ofReal (multipointConstant κ m) * cappedDistanceKernel (codimension κ) b z := by
58
+ have hc := stoppedGreen_common_level_product_bound hB hm hBm hBc hB0 hκ hκ8 γ G F hw
59
+ hgrowth z hz hzi (cappedDistance b z) (fun i => cap_pos hb hzi i)
60
+ (fun i => (cap_le_fixed b z i).trans (hbR i))
61
+ (fun i j hij => cap_le_dist b z i j hij) u
62
+ apply hc.trans_eq
63
+ rw [ENNReal.ofReal_mul (by positivity)]
64
+ congr 1
65
+ · simp only [multipointConstant,Fintype.card_fin]
66
+ · exact ENNReal.ofReal_prod_of_nonneg
67
+ (fun i _ => Real.rpow_nonneg (cap_pos hb hzi i).le _)
68
+
69
+ theorem weightedLevelMass_moment_le_cappedKernel
70
+ {Ω : Type*} [MeasurableSpace Ω]
71
+ {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
72
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
73
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
74
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
75
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
76
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
77
+ (hgrowth : PublishedDiskUnivalentGrowth)
78
+ (K : Set ℂ) (hK : MeasurableSet K) (hKH : K ⊆ upperHalfPlane)
79
+ (f : ℂ → ℝ≥0∞) (hf : Measurable f)
80
+ (b : ℝ) (hb : 0 < b) (hbR : ∀ z ∈ K, b ≤ 2*z.im) (m : ℕ)
81
+ (u : ℝ) (hu : 0 ≤ u) :
82
+ (∫⁻ ω, weightedLevelMass κ B γ G u K f ω ^ m ∂P) ≤
83
+ ENNReal.ofReal (multipointConstant κ m) *
84
+ ∫⁻ z : Fin m → ℂ, (∏ i, f (z i)) * cappedDistanceKernel (codimension κ) b z
85
+ ∂Measure.pi (fun _ : Fin m => volume.restrict K) := by
86
+ let : IsProbabilityMeasure P := hB.isGaussianProcess.isProbabilityMeasure
87
+ rw [weightedLevelMass_moment_identity P hm hBc κ u hu γ G F hw K f hf m]
88
+ have hk : Measurable (fun z : Fin m → ℂ =>
89
+ (∏ i, f (z i)) * cappedDistanceKernel (codimension κ) b z) :=
90
+ (Finset.measurable_prod _ (fun i _ => hf.comp (measurable_pi_apply i))).mul
91
+ (measurable_cappedDistanceKernel _ _)
92
+ rw [← lintegral_const_mul _ hk]
93
+ apply lintegral_mono_ae
94
+ filter_upwards [ae_tuple_mem (ι := Fin m) K hK,ae_tuple_injective (ι := Fin m) K] with z hz hzi
95
+ have he := actual_product_le_cappedKernel hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
96
+ z (fun i => hKH (hz i)) hzi b hb (fun i => hbR (z i) (hz i)) u
97
+ exact (mul_le_mul' le_rfl he).trans_eq (by ac_rfl)
98
+
99
+ lemma levelApproximationTest_le_weightedLevelMass
100
+ {Ω : Type*} [MeasurableSpace Ω] {B : ℝ≥0 → Ω → ℝ}
101
+ (hm : ∀ t, Measurable (B t)) (hBc : ∀ ω, Continuous (fun t => B t ω))
102
+ (κ u : ℝ) (hu : 0 ≤ u)
103
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
104
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
105
+ (K : Set ℂ) (hK : MeasurableSet K) (f : ℂ → ℝ≥0∞) (hf : Measurable f)
106
+ (hz : ∀ z ∉ K, f z = 0) (t : ℝ≥0∞) (ω : Ω) :
107
+ levelApproximationTest κ B γ G u t f ω ≤ weightedLevelMass κ B γ G u K f ω := by
108
+ have hd := levelApproximationDensity_joint_measurable hm hBc κ u hu γ G F hw t
109
+ change (∫⁻ z, f z ∂volume.withDensity _) ≤ _
110
+ rw [lintegral_withDensity_eq_lintegral_mul volume hd.of_uncurry_left hf]
111
+ have he : (fun z => levelApproximationDensity κ B γ G u t ω z * f z) =
112
+ K.indicator (fun z => levelApproximationDensity κ B γ G u t ω z * f z) := by
113
+ funext z
114
+ by_cases hzK : z ∈ K
115
+ · simp only [indicator_of_mem hzK]
116
+ · simp only [indicator_of_notMem hzK,hz z hzK,mul_zero]
117
+ change (∫⁻ z, levelApproximationDensity κ B γ G u t ω z * f z) ≤ _
118
+ rw [he,lintegral_indicator hK]
119
+ apply lintegral_mono
120
+ intro z
121
+ unfold levelApproximationDensity
122
+ dsimp only
123
+ split_ifs
124
+ · exact (mul_comm _ _).le
125
+ · simp only [zero_mul,zero_le]
126
+
127
+ theorem levelApproximationTest_moment_le_cappedKernel
128
+ {Ω : Type*} [MeasurableSpace Ω]
129
+ {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
130
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
131
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
132
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
133
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
134
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
135
+ (hgrowth : PublishedDiskUnivalentGrowth)
136
+ (K : Set ℂ) (hK : MeasurableSet K) (hKH : K ⊆ upperHalfPlane)
137
+ (f : ℂ → ℝ≥0∞) (hf : Measurable f) (hz : ∀ z ∉ K, f z = 0)
138
+ (b : ℝ) (hb : 0 < b) (hbR : ∀ z ∈ K, b ≤ 2*z.im) (m : ℕ)
139
+ (u : ℝ) (hu : 0 ≤ u) (t : ℝ≥0∞) :
140
+ (∫⁻ ω, levelApproximationTest κ B γ G u t f ω ^ m ∂P) ≤
141
+ ENNReal.ofReal (multipointConstant κ m) *
142
+ ∫⁻ z : Fin m → ℂ, (∏ i, f (z i)) * cappedDistanceKernel (codimension κ) b z
143
+ ∂Measure.pi (fun _ : Fin m => volume.restrict K) := by
144
+ apply (lintegral_mono (fun ω => pow_le_pow_left'
145
+ (levelApproximationTest_le_weightedLevelMass hm hBc κ u hu γ G F hw K hK f hf hz t ω) m)).trans
146
+ exact weightedLevelMass_moment_le_cappedKernel hB hm hBm hBc hB0 hκ hκ8 γ G F hw hgrowth
147
+ K hK hKH f hf b hb hbR m u hu
148
+
149
+ theorem level_radon_limit_test_moment_le
150
+ {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ}
151
+ (hm : ∀ t, Measurable (B t)) (hBc : ∀ ω, Continuous (fun t => B t ω))
152
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
153
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
154
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
155
+ (u : ℕ → ℝ) (hu : ∀ n, 0 ≤ u n) (s : ℕ → Finset ℕ) (w : ℕ → ℕ → ℝ)
156
+ (hw₀ : ∀ n i, i ∈ s n → 0 ≤ w n i) (hw₁ : ∀ n, ∑ i ∈ s n, w n i = 1)
157
+ (t : ℝ≥0∞) (ν : Ω → Measure upperHalfPlane)
158
+ (hlim : ∀ᵐ ω ∂P, ∀ f : C_c(upperHalfPlane,ℝ),
159
+ Tendsto (fun n => ∫ z, f z ∂convexLevelMeasure κ B γ G u s w n t ω)
160
+ atTop (𝓝 (∫ z, f z ∂ν ω)))
161
+ (f : C_c(upperHalfPlane,ℝ)) (hf : ∀ z, 0 ≤ f z) (m : ℕ) (M : ℝ≥0∞)
162
+ (hbound : ∀ n, (∫⁻ ω, ENNReal.ofReal
163
+ (∫ z, f z ∂halfPlaneLevelMeasure κ B γ G (u n) t ω)^m ∂P) ≤ M) :
164
+ (∫⁻ ω, ENNReal.ofReal (∫ z, f z ∂ν ω)^m ∂P) ≤ M := by
165
+ apply lintegral_le_of_ae_tendsto_bound P
166
+ (fun n ω => ENNReal.ofReal (∫ z, f z ∂convexLevelMeasure κ B γ G u s w n t ω)^m)
167
+ (fun ω => ENNReal.ofReal (∫ z, f z ∂ν ω)^m)
168
+ (fun n => ((convexLevelMeasure_test_measurable hm hBc hκ hκ8 γ G F hw u hu s w hw₀ n t f).ennreal_ofReal.pow_const m).aemeasurable)
169
+ · filter_upwards [hlim] with ω hω
170
+ exact (ENNReal.continuous_pow m).continuousAt.tendsto.comp
171
+ ((ENNReal.continuous_ofReal.tendsto _).comp (hω f))
172
+ · intro n
173
+ have hb := lintegral_pow_convex_sum_le P (s n) (w n)
174
+ (fun i ω => ∫ z, f z ∂halfPlaneLevelMeasure κ B γ G (u (n+i)) t ω)
175
+ (hw₀ n) (hw₁ n) (fun i _ ω => integral_nonneg hf)
176
+ (fun i _ => by
177
+ simp_rw [integral_halfPlaneLevelMeasure]
178
+ exact levelApproximationRealTest_measurable hm hBc κ (u (n+i)) (hu _) γ G F hw t
179
+ _ (extendHalfPlaneTest_measurable f f.continuous.measurable))
180
+ m M (fun i _ => hbound (n+i))
181
+ simpa only [integral_convexLevelMeasure hκ hκ8 γ G F _ (hBc _) (hw _) u s w n t (hw₀ n) f,
182
+ integral_halfPlaneLevelMeasure] using hb
183
+
184
+ end SLEExactGauge.Multipoint
185
+
186
+ end
187
+
188
+ end OAI
lean/OAI/Probability/SLE/MeasureSupport.lean CHANGED
@@ -1,698 +1,698 @@
1
- import Mathlib
2
- import OAI.Probability.SLE.InverseMoments
3
- import OAI.Probability.SLE.SausagePointBound
4
- import OAI.Probability.SLE.SpatialMeans
5
-
6
- namespace OAI
7
-
8
- /-! Measure Support for chordal SLE. -/
9
-
10
- section
11
- section
12
- open Set Filter MeasureTheory ProbabilityTheory Metric Classical
13
- open scoped Topology NNReal ENNReal
14
- namespace SLEExactGauge
15
- noncomputable def spatialGreenMass (κ : ℝ) (U : ℝ≥0 → ℝ) (γ : ℝ≥0 → ℂ)
16
- (G : ℝ≥0 → ℂ → ℂ) (r : ℝ) (A : Set ℂ) : ℝ≥0∞ :=
17
- ∫⁻ z in A, ENNReal.ofReal (spatialGreenWeight κ U γ G z r)
18
-
19
- namespace RegularSLEPresentation
20
- variable {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
21
- {κ : ℝ} {γ : Ω → ℝ≥0 → ℂ} (a : RegularSLEPresentation P κ γ)
22
-
23
- lemma spatialGreenMass_measurable (r : ℝ) (A : Set ℂ) :
24
- Measurable (fun ω : a.samples => spatialGreenMass κ
25
- (fun t => Real.sqrt κ * a.B t ω) (γ ω) (a.G ω) r A) :=
26
- (a.spatialGreenWeight_measurable r).ennreal_ofReal.lintegral_prod_left'
27
-
28
-
29
-
30
- lemma spatialGreenMass_expectation [IsProbabilityMeasure P]
31
- (hκ : 0 < κ) (hκ8 : κ < 8) (r : ℝ) (hr : 0 < r)
32
- (A : Set ℂ) (hA : MeasurableSet A) (hheight : ∀ z ∈ A, r ≤ z.im) :
33
- (∫⁻ ω : a.samples, spatialGreenMass κ (fun t => Real.sqrt κ * a.B t ω)
34
- (γ ω) (a.G ω) r A ∂(P.comap Subtype.val)) =
35
- ∫⁻ z in A, ENNReal.ofReal (initialGreen κ z) := by
36
- let μ : Measure a.samples := P.comap Subtype.val
37
- let : IsProbabilityMeasure μ := a.probability
38
- simp only [spatialGreenMass]
39
- rw [← lintegral_lintegral_swap (a.spatialGreenWeight_measurable r).ennreal_ofReal.aemeasurable]
40
- apply setLIntegral_congr_fun hA
41
- intro z hz
42
- obtain ⟨hi, he⟩ := a.spatialGreen_expectation hκ hκ8 z r hr (hheight z hz)
43
- change (∫⁻ ω : a.samples, ENNReal.ofReal (spatialGreenWeight κ
44
- (fun t => Real.sqrt κ * a.B t ω) (γ ω) (a.G ω) z r) ∂μ) = ENNReal.ofReal (initialGreen κ z)
45
- rw [← he]
46
- exact (ofReal_integral_eq_lintegral_ofReal hi (Eventually.of_forall fun ω => by
47
- dsimp only [Pi.zero_apply, spatialGreenWeight]
48
- split_ifs
49
- · exact le_rfl
50
- · exact greenDensity_nonneg (a.witness ω) κ _ z)).symm
51
-
52
-
53
-
54
- lemma spatialGreenMass_expectation_le [IsProbabilityMeasure P]
55
- (hκ : 0 < κ) (hκ8 : κ < 8) (r : ℝ) (hr : 0 < r)
56
- (A : Set ℂ) (hA : MeasurableSet A) (hheight : ∀ z ∈ A, r ≤ z.im) :
57
- (∫⁻ ω : a.samples, spatialGreenMass κ (fun t => Real.sqrt κ * a.B t ω)
58
- (γ ω) (a.G ω) r A ∂(P.comap Subtype.val)) ≤
59
- ENNReal.ofReal ((2 : ℝ) ^ (-codimension κ) * r ^ (-codimension κ)) * volume A := by
60
- rw [a.spatialGreenMass_expectation hκ hκ8 r hr A hA hheight]
61
- calc
62
- _ ≤ ∫⁻ _z in A, ENNReal.ofReal ((2 : ℝ) ^ (-codimension κ) * r ^ (-codimension κ)) := by
63
- apply setLIntegral_mono' hA
64
- intro z hz
65
- apply ENNReal.ofReal_le_ofReal
66
- calc
67
- _ ≤ (2 : ℝ) ^ (-codimension κ) * z.im ^ (-codimension κ) :=
68
- initialGreen_le_height κ hκ hκ8 z (hr.trans_le (hheight z hz))
69
- _ ≤ _ := mul_le_mul_of_nonneg_left
70
- (Real.rpow_le_rpow_of_nonpos hr (hheight z hz) (neg_nonpos.mpr (codimension_pos κ hκ8).le))
71
- (Real.rpow_nonneg (by norm_num) _)
72
- _ = _ := by rw [lintegral_const, Measure.restrict_apply_univ]
73
-
74
- end RegularSLEPresentation
75
- end SLEExactGauge
76
- end
77
-
78
-
79
- section
80
-
81
- open Set Filter MeasureTheory ProbabilityTheory Classical
82
- open scoped Topology NNReal ENNReal
83
- namespace SLEExactGauge
84
-
85
-
86
-
87
- lemma finite_density_crossing_bound
88
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (P Q : Measure Ω)
89
- (F : Filtration ℕ mΩ) (B : ℕ → Set Ω)
90
- (hBm : ∀ n, MeasurableSet[F n] (B n)) (c : ℝ≥0∞)
91
- (hQ : ∀ n A, MeasurableSet[F n] A → A ⊆ B n → Q A ≤ c * P A)
92
- (n : ℕ) : Q (⋃ i ∈ Finset.range n, B i) ≤ c * P (⋃ i ∈ Finset.range n, B i) := by
93
- classical
94
- let E (n : ℕ) : Set Ω := ⋃ i ∈ Finset.range n, B i
95
- have hEm (n : ℕ) : MeasurableSet[F n] (E n) := by
96
- apply MeasurableSet.iUnion
97
- intro i
98
- apply MeasurableSet.iUnion
99
- intro hi
100
- exact F.mono (Nat.le_of_lt (Finset.mem_range.mp hi)) _ (hBm i)
101
- have hrec (n : ℕ) : E (n + 1) = E n ∪ (B n \ E n) := by
102
- calc
103
- E (n + 1) = B n ∪ E n := by
104
- ext ω
105
- simp only [E, Finset.range_add_one, Finset.mem_insert, mem_iUnion, mem_union]
106
- aesop
107
- _ = E n ∪ (B n \ E n) := by
108
- ext ω
109
- by_cases h : ω ∈ E n <;> simp [h]
110
- change Q (E n) ≤ c * P (E n)
111
- induction n with
112
- | zero => simp [E]
113
- | succ n ih =>
114
- have hD := (hBm n).diff (hEm n)
115
- have hd : Disjoint (E n) (B n \ E n) := disjoint_sdiff_right
116
- rw [hrec n, measure_union hd (F.le n _ hD), measure_union hd (F.le n _ hD), mul_add]
117
- exact add_le_add ih (hQ n _ hD sdiff_subset)
118
-
119
- lemma finite_density_crossing_bound_of_subset
120
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (P Q : Measure Ω)
121
- (F : Filtration ℕ mΩ) (B : ℕ → Set Ω)
122
- (hBm : ∀ n, MeasurableSet[F n] (B n)) (c : ℝ≥0∞)
123
- (hQ : ∀ n A, MeasurableSet[F n] A → A ⊆ B n → Q A ≤ c * P A)
124
- (A : Set Ω) (hA : ∀ n, B n ⊆ A) (n : ℕ) :
125
- Q (⋃ i ∈ Finset.range n, B i) ≤ c * P A := by
126
- refine (finite_density_crossing_bound P Q F B hBm c hQ n).trans ?_
127
- exact mul_le_mul (show c ≤ c from le_rfl)
128
- (show P (⋃ i ∈ Finset.range n, B i) ≤ P A from
129
- measure_mono (iUnion₂_subset fun i _ => hA i)) bot_le bot_le
130
-
131
- end SLEExactGauge
132
- end
133
-
134
-
135
- section
136
-
137
- open Set Filter MeasureTheory ProbabilityTheory Classical
138
- open scoped Topology NNReal ENNReal
139
- namespace SLEExactGauge
140
- variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
141
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
142
- {κ : ℝ} {z : ℂ} {u : ℝ} {ε : ℕ → ℝ}
143
-
144
- lemma limitRadiusKernel_pos_iff
145
- (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hu : 0 ≤ u)
146
- (p α : ℝ) (ω : Ω) :
147
- 0 < limitRadiusKernel a p α u ω ↔ localizedRadiusStop a ω < ⊤ := by
148
- have hx : (∃ n, max u 0 ≤ (a n).clock.S ((a n).τ ω) ω) ↔ ∃ n, ω ∈ (a n).hit := by
149
- simp only [max_eq_left hu]
150
- constructor
151
- · rintro ⟨n, hn⟩
152
- exact ⟨n, le_antisymm ((a n).clock_upper ω) hn⟩
153
- · rintro ⟨n, hn⟩
154
- exact ⟨n, le_of_eq hn.symm⟩
155
- by_cases hh : ∃ n, ω ∈ (a n).hit
156
- · have he := hx.mpr hh
157
- obtain ⟨n, hn⟩ := hh
158
- rw [localizedRadiusStop_eq_hit a ω n hn, limitRadiusKernel, dite_eq_left he,
159
- AngularLocalization.radiusKernel, ite_eq_left (Nat.find_spec he)]
160
- exact iff_of_true (Real.exp_pos _) (WithTop.coe_lt_top _)
161
- · rw [localizedRadiusStop_eq_top a ω (not_exists.mp hh), limitRadiusKernel,
162
- dite_eq_right (fun h => hh (hx.mp h))]
163
- simp
164
-
165
- lemma finiteCenteredLaw_eq_radiusKernel
166
- {P : Measure Ω} (a : ∀ n, AngularLocalization B hm κ z u (ε n))
167
- (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
168
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hz : z ∈ upperHalfPlane) (hu : 0 ≤ u)
169
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
170
- (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
171
- (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω)) :
172
- finiteCenteredLaw P κ B γ G z u = P.withDensity
173
- (fun ω => ENNReal.ofReal (limitRadiusKernel a (codimension κ) (greenExponent κ) u ω /
174
- initialGreen κ z)) := by
175
- apply withDensity_congr_ae
176
- filter_upwards [hw] with ω hω
177
- rw [limitRadiusKernel_eq_stoppedGreen a hε hεlim hBc hz hu ω (γ ω) (G ω) (F ω) hω]
178
-
179
- lemma radiusKernel_density_bound
180
- {P : Measure Ω} (a : ∀ n, AngularLocalization B hm κ z u (ε n))
181
- (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
182
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hz : z ∈ upperHalfPlane) (hu : 0 ≤ u)
183
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
184
- (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
185
- (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
186
- (δ : ℝ) (A : Set Ω) (hA : MeasurableSet A)
187
- (hδ : ∀ ω ∈ A, limitRadiusKernel a (codimension κ) (greenExponent κ) u ω ≤ δ) :
188
- finiteCenteredLaw P κ B γ G z u A ≤ ENNReal.ofReal (δ / initialGreen κ z) * P A := by
189
- rw [finiteCenteredLaw_eq_radiusKernel a hε hεlim hBc hz hu γ G F hw, withDensity_apply _ hA]
190
- calc
191
- _ ≤ ∫⁻ ω in A, ENNReal.ofReal (δ / initialGreen κ z) ∂P := by
192
- apply lintegral_mono_ae
193
- filter_upwards [ae_restrict_mem hA] with ω hω
194
- exact ENNReal.ofReal_le_ofReal (div_le_div_of_nonneg_right (hδ ω hω) (initialGreen_pos κ z hz).le)
195
- _ = _ := by simp
196
-
197
- lemma finiteCenteredLaw_consistent_at_radius
198
- {P : Measure Ω} [IsProbabilityMeasure P]
199
- (hB : IsBrownianReal B P)
200
- (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
201
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
202
- (hκ : 0 < κ) (hκ8 : κ < 8)
203
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
204
- (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
205
- (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω)) (hz : z ∈ upperHalfPlane)
206
- {v : ℝ} (a : ∀ n, AngularLocalization B hm κ z u (ε n))
207
- (b : ∀ n, AngularLocalization B hm κ z v (ε n))
208
- (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0)) (hu : 0 ≤ u) (huv : u ≤ v)
209
- (A : Set Ω) (hA : MeasurableSet[(localizedRadiusStop_stopping a).measurableSpace] A) :
210
- finiteCenteredLaw P κ B γ G z v A = finiteCenteredLaw P κ B γ G z u A := by
211
- have hAm := (localizedRadiusStop_stopping a).measurableSpace_le _ hA
212
- rw [finiteCenteredLaw_apply hB κ hκ hκ8 γ G F hw z hz v (hu.trans huv) A hAm,
213
- finiteCenteredLaw_apply hB κ hκ hκ8 γ G F hw z hz u hu A hAm,
214
- finite_stopped_green_consistent_regular hB hBm hBc hB0 hκ hκ8 γ G F hw hz
215
- a b hεlim hε hu huv A hA]
216
-
217
- end SLEExactGauge
218
- end
219
-
220
-
221
- section
222
-
223
- open Set Filter MeasureTheory ProbabilityTheory Classical
224
- open scoped Topology NNReal ENNReal
225
- namespace SLEExactGauge
226
-
227
- lemma finite_radius_density_crossing
228
- {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
229
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
230
- (hB : IsBrownianReal B P)
231
- (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
232
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
233
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
234
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
235
- (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
236
- (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
237
- {z : ℂ} (hz : z ∈ upperHalfPlane) {ε : ℕ → ℝ}
238
- (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
239
- (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
240
- (v U : ℝ≥0) (s : ℕ → ℝ≥0) (hs : Monotone s)
241
- (hvs : ∀ n, v ≤ s n) (hsU : ∀ n, s n ≤ U) (δ : ℝ) (N : ℕ) :
242
- finiteCenteredLaw P κ B γ G z U
243
- (⋃ i ∈ Finset.range N, {ω | 0 < limitRadiusKernel (a (s i)) (codimension κ) (greenExponent κ) (s i) ω ∧
244
- limitRadiusKernel (a (s i)) (codimension κ) (greenExponent κ) (s i) ω ≤ δ}) ≤
245
- ENNReal.ofReal (δ / initialGreen κ z) * P {ω | localizedRadiusStop (a v) ω < ⊤} := by
246
- let K (n : ℕ) := limitRadiusKernel (a (s n)) (codimension κ) (greenExponent κ) (s n)
247
- let E (n : ℕ) : Set Ω := {ω | 0 < K n ω ∧ K n ω ≤ δ}
248
- let H : Filtration ℕ mΩ :=
249
- { seq := fun n => radiusFiltration a (s n)
250
- mono' := fun n m hnm => (radiusFiltration a).mono (hs hnm)
251
- le' := fun n => (radiusFiltration a).le (s n) }
252
- have hKm (n : ℕ) : Measurable[H n] (K n) :=
253
- limitRadiusKernel_terminal_measurable (a (s n)) hε hBc (s n).coe_nonneg _ _
254
- have hEm (n : ℕ) : MeasurableSet[H n] (E n) :=
255
- measurableSet_Ioc.preimage (hKm n)
256
- apply finite_density_crossing_bound_of_subset P (finiteCenteredLaw P κ B γ G z U)
257
- H E hEm (ENNReal.ofReal (δ / initialGreen κ z))
258
- · intro n A hA hAE
259
- rw [finiteCenteredLaw_consistent_at_radius hB hBm hBc hB0 hκ hκ8 γ G F hw hz
260
- (a (s n)) (a U) hε hεlim (s n).coe_nonneg (show (s n : ℝ) ≤ U from hsU n) A hA]
261
- exact radiusKernel_density_bound (a (s n)) hε hεlim hBc hz (s n).coe_nonneg γ G F hw
262
- δ A (H.le n _ hA) (fun ω hω => (hAE hω).2)
263
- · intro n ω hω
264
- have hp := (limitRadiusKernel_pos_iff (a (s n)) (s n).coe_nonneg
265
- (codimension κ) (greenExponent κ) ω).mp hω.1
266
- exact lt_of_le_of_lt (localizedRadiusStop_mono (a v) (a (s n))
267
- (show (v : ℝ) ≤ s n from hvs n) ω) hp
268
-
269
- lemma radius_kernel_scale_cancel (κ v w L C : ℝ) (z : ℂ) (hz : z ∈ upperHalfPlane)
270
- (hL : L ≠ 0) :
271
- (Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) / L / initialGreen κ z) *
272
- (C * Real.exp (-codimension κ * v) * (Real.sin (Complex.arg z)) ^ greenExponent κ) =
273
- C * Real.exp (codimension κ * (w - v)) / L := by
274
- have hI := (initialGreen_pos κ z hz).ne'
275
- have he : Real.exp (-codimension κ * v) * (Real.sin (Complex.arg z)) ^ greenExponent κ =
276
- initialGreen κ z / Real.exp (codimension κ * (v - Real.log 2 - Real.log z.im)) :=
277
- (initialGreen_div_zeroKernel κ v z hz).symm
278
- rw [mul_assoc C, he]
279
- rw [show (Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) / L / initialGreen κ z) *
280
- (C * (initialGreen κ z / Real.exp (codimension κ * (v - Real.log 2 - Real.log z.im)))) =
281
- C * (Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) /
282
- Real.exp (codimension κ * (v - Real.log 2 - Real.log z.im))) / L by
283
- field_simp]
284
- rw [← Real.exp_sub]
285
- congr 2
286
- ring_nf
287
-
288
- end SLEExactGauge
289
- end
290
-
291
-
292
- section
293
-
294
- open Set Filter MeasureTheory ProbabilityTheory Classical
295
- open scoped Topology NNReal ENNReal
296
- namespace SLEExactGauge
297
-
298
- lemma finite_radius_scaled_crossing
299
- {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
300
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
301
- (hB : IsBrownianReal B P)
302
- (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
303
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
304
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
305
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
306
- (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
307
- (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
308
- {z : ℂ} (hz : z ∈ upperHalfPlane) {ε : ℕ → ℝ}
309
- (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
310
- (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
311
- (v U : ℝ≥0) (hv : 1 ≤ (v : ℝ)) (s : ℕ → ℝ≥0) (hs : Monotone s)
312
- (hvs : ∀ n, v ≤ s n) (hsU : ∀ n, s n ≤ U) (w L : ℝ) (hL : 0 < L) (N : ℕ) :
313
- finiteCenteredLaw P κ B γ G z U
314
- (⋃ i ∈ Finset.range N, {ω | 0 < limitRadiusKernel (a (s i)) (codimension κ) (greenExponent κ) (s i) ω ∧
315
- limitRadiusKernel (a (s i)) (codimension κ) (greenExponent κ) (s i) ω ≤
316
- Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) / L}) ≤
317
- ENNReal.ofReal (uniformInverseAngleConstant κ 1 * Real.exp (codimension κ * (w - v)) / L) := by
318
- let C := uniformInverseAngleConstant κ 1
319
- have hC : 0 < C := uniformInverseAngleConstant_pos κ 1 hκ hκ8 (by norm_num)
320
- let Kv := Real.exp (codimension κ * ((v : ℝ) - Real.log 2 - Real.log z.im))
321
- let δ := Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) / L
322
- have hδ : 0 ≤ δ / initialGreen κ z := div_nonneg (div_pos (Real.exp_pos _) hL).le
323
- (initialGreen_pos κ z hz).le
324
- have hPe : P {ω | localizedRadiusStop (a v) ω < ⊤} =
325
- P {ω | radiusLevelTime (γ ω) (G ω) z v < ∞} := by
326
- apply measure_congr
327
- filter_upwards [hw] with ω hω
328
- rw [localizedRadiusStop_eq_source (a v) hεlim hBc hz ω (γ ω) (G ω) (F ω) hω]
329
- rfl
330
- have hPr : (P {ω | localizedRadiusStop (a v) ω < ⊤}).toReal ≤ C * initialGreen κ z / Kv := by
331
- rw [hPe]
332
- refine (radius_approach_regular hB hBm hBc hB0 κ hκ hκ8 γ G F hw z hz v hv).trans_eq ?_
333
- dsimp only [C, Kv]
334
- rw [mul_div_assoc, initialGreen_div_zeroKernel κ v z hz, mul_assoc]
335
- have hPn : P {ω | localizedRadiusStop (a v) ω < ⊤} ≤ ENNReal.ofReal (C * initialGreen κ z / Kv) :=
336
- (ENNReal.le_ofReal_iff_toReal_le (measure_ne_top _ _) (div_nonneg (mul_nonneg hC.le (initialGreen_pos κ z hz).le) (Real.exp_pos _).le)).mpr hPr
337
- calc
338
- _ ≤ ENNReal.ofReal (δ / initialGreen κ z) * P {ω | localizedRadiusStop (a v) ω < ⊤} :=
339
- finite_radius_density_crossing hB hBm hBc hB0 hκ hκ8 γ G F hw hz a hε hεlim v U s hs hvs hsU δ N
340
- _ ≤ ENNReal.ofReal (δ / initialGreen κ z) * ENNReal.ofReal (C * initialGreen κ z / Kv) :=
341
- mul_le_mul le_rfl hPn bot_le bot_le
342
- _ = ENNReal.ofReal ((δ / initialGreen κ z) * (C * initialGreen κ z / Kv)) :=
343
- (ENNReal.ofReal_mul hδ).symm
344
- _ = _ := by
345
- congr 1
346
- have he := radius_kernel_scale_cancel κ v w L C z hz hL.ne'
347
- change (δ / initialGreen κ z) * (C * initialGreen κ z /
348
- Real.exp (codimension κ * ((v : ℝ) - Real.log 2 - Real.log z.im))) = _
349
- rw [mul_div_assoc C, initialGreen_div_zeroKernel κ v z hz, ← mul_assoc C]
350
- exact he
351
-
352
- end SLEExactGauge
353
- end
354
-
355
-
356
- section
357
-
358
- open Set Filter MeasureTheory ProbabilityTheory Classical
359
- open scoped Topology NNReal ENNReal
360
- namespace SLEExactGauge
361
- variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
362
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
363
- {κ : ℝ} {z : ℂ} {u v : ℝ} {ε : ℕ → ℝ}
364
-
365
- lemma limitRadiusKernel_eq_of_surviving_cutoff
366
- (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
367
- (p α s : ℝ) (hs : 0 ≤ s) (ω : Ω) (n : ℕ)
368
- (hn : s ≤ (a n).clock.S ((a n).τ ω) ω) :
369
- limitRadiusKernel a p α s ω = (a n).radiusValue p α s ω := by
370
- obtain ⟨m, hm, hlim⟩ := ((eventually_ge_atTop n).and (radiusKernel_eventually_limit a hε p α s ω)).exists
371
- rw [max_eq_left hs] at hlim
372
- rw [← hlim, ← (a n).radiusKernel_eq_of_live (a m) le_rfl (hε hm) p α s hs ω hn,
373
- AngularLocalization.radiusKernel, ite_eq_left hn]
374
-
375
- lemma limitRadiusKernel_eq_below
376
- (a : ∀ n, AngularLocalization B hm κ z u (ε n))
377
- (b : ∀ n, AngularLocalization B hm κ z v (ε n)) (hε : Antitone ε)
378
- (huv : u ≤ v) (p α s : ℝ) (hs : 0 ≤ s) (hsu : s ≤ u) (ω : Ω) :
379
- limitRadiusKernel a p α s ω = limitRadiusKernel b p α s ω := by
380
- obtain ⟨n, hn, hm⟩ := ((radiusKernel_eventually_limit a hε p α s ω).and
381
- (radiusKernel_eventually_limit b hε p α s ω)).exists
382
- rw [max_eq_left hs] at hn hm
383
- rw [← hn, ← hm]
384
- exact (a n).radiusKernel_eq_below (b n) huv p α s hs hsu ω
385
-
386
- lemma exists_cutoff_of_radiusStop_lt_top
387
- (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (ω : Ω)
388
- (hω : localizedRadiusStop a ω < ⊤) : ∃ n, ω ∈ (a n).hit := by
389
- by_contra hn
390
- rw [localizedRadiusStop_eq_top a ω (not_exists.mp hn)] at hω
391
- exact lt_irrefl _ hω
392
-
393
- lemma limitRadiusKernel_continuousOn_of_live
394
- (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
395
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (p α : ℝ) (ω : Ω)
396
- (hω : localizedRadiusStop a ω < ⊤) :
397
- ContinuousOn (fun s => limitRadiusKernel a p α s ω) (Icc 0 u) := by
398
- obtain ⟨n, hn⟩ := exists_cutoff_of_radiusStop_lt_top a ω hω
399
- apply ((a n).radiusValue_continuous hBc p α ω).continuousOn.congr
400
- intro s hs
401
- exact limitRadiusKernel_eq_of_surviving_cutoff a hε p α s hs.1 ω n (hs.2.trans_eq hn.symm)
402
-
403
- lemma limitRadiusKernel_pos_of_live
404
- (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
405
- (p α s : ℝ) (hs : s ∈ Icc 0 u) (ω : Ω) (hω : localizedRadiusStop a ω < ⊤) :
406
- 0 < limitRadiusKernel a p α s ω := by
407
- obtain ⟨n, hn⟩ := exists_cutoff_of_radiusStop_lt_top a ω hω
408
- rw [limitRadiusKernel_eq_of_surviving_cutoff a hε p α s hs.1 ω n (hs.2.trans_eq hn.symm)]
409
- exact powerLogDensity_pos _ _ _ _ _
410
-
411
- lemma radius_limit_clock_angle
412
- (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
413
- (p α s : ℝ) (hs : s ∈ Icc 0 u) (ω : Ω) (hω : localizedRadiusStop a ω < ⊤) :
414
- limitRadiusKernel a p α s ω = Real.exp (p * (s - Real.log 2 - Real.log z.im)) *
415
- (limitRadiusKernel a 0 2 s ω) ^ (α / 2) := by
416
- obtain ⟨n, hn⟩ := exists_cutoff_of_radiusStop_lt_top a ω hω
417
- have hs' : s ≤ (a n).clock.S ((a n).τ ω) ω := hs.2.trans_eq hn.symm
418
- rw [limitRadiusKernel_eq_of_surviving_cutoff a hε p α s hs.1 ω n hs',
419
- limitRadiusKernel_eq_of_surviving_cutoff a hε 0 2 s hs.1 ω n hs']
420
- unfold AngularLocalization.radiusValue
421
- rw [powerLogDensity_radius_angle κ p α (Real.log z.im),
422
- powerLogDensity_radius_angle κ 0 2 (Real.log z.im)]
423
- norm_num only [zero_mul, Real.exp_zero, one_mul, div_self (by norm_num : (2 : ℝ) ≠ 0), Real.rpow_one]
424
- have he := (a n).clock.clock_inverse s ω
425
- change (a n).clock.S ((a n).clock.inverse s ω) ω =
426
- min (max s 0) ((a n).clock.S ((a n).τ ω) ω) at he
427
- rw [max_eq_left hs.1, min_eq_left hs'] at he
428
- change logRadiusClock (Real.log z.im)
429
- ((a n).solution.Q ((a n).clock.inverse s ω) ω) = s at he
430
- rw [he]
431
-
432
- end SLEExactGauge
433
- end
434
-
435
-
436
- section
437
-
438
- open Set MeasureTheory Classical
439
- open scoped ENNReal
440
- namespace SLEExactGauge
441
-
442
- lemma finite_grid_from_monotone
443
- {Ω T : Type*} [MeasurableSpace Ω] [LinearOrder T]
444
- (Q : Measure Ω) (E : T → Set Ω) (v U : T) (hvU : v ≤ U) (c : ℝ≥0∞)
445
- (h : ∀ s : ℕ → T, Monotone s → (∀ n, v ≤ s n) → (∀ n, s n ≤ U) →
446
- ∀ N, Q (⋃ i ∈ Finset.range N, E (s i)) ≤ c)
447
- (t : Finset T) (ht : ∀ x ∈ t, x ∈ Icc v U) :
448
- Q (⋃ x ∈ t, E x) ≤ c := by
449
- let f := t.orderEmbOfFin rfl
450
- let s (n : ℕ) : T := if hn : n < t.card then f ⟨n, hn⟩ else U
451
- have hmem (i : Fin t.card) : f i ∈ t := t.orderEmbOfFin_mem rfl i
452
- have hs : Monotone s := by
453
- intro n m hnm
454
- dsimp only [s]
455
- split_ifs with hn hm hm
456
- · exact f.monotone hnm
457
- · exact (ht _ (hmem _)).2
458
- · omega
459
- · exact le_rfl
460
- have hl (n : ℕ) : v ≤ s n := by
461
- dsimp only [s]; split_ifs with hn
462
- · exact (ht _ (hmem _)).1
463
- · exact hvU
464
- have hu (n : ℕ) : s n ≤ U := by
465
- dsimp only [s]; split_ifs with hn
466
- · exact (ht _ (hmem _)).2
467
- · exact le_rfl
468
- have he : (⋃ x ∈ t, E x) = ⋃ i ∈ Finset.range t.card, E (s i) := by
469
- ext ω
470
- simp only [mem_iUnion, Finset.mem_range]
471
- constructor
472
- · rintro ⟨x, hx, hω⟩
473
- have hex : ∃ i, f i = x := by
474
- change x ∈ Set.range f
475
- rw [Finset.range_orderEmbOfFin]
476
- exact hx
477
- obtain ⟨i, rfl⟩ := hex
478
- refine ⟨i.val, i.isLt, ?_⟩
479
- simpa only [s, dite_eq_left i.isLt] using hω
480
- · rintro ⟨i, hi, hω⟩
481
- refine ⟨f ⟨i, hi⟩, hmem _, ?_⟩
482
- simpa only [s, dite_eq_left hi] using hω
483
- rw [he]
484
- exact h s hs hl hu t.card
485
-
486
- lemma countable_grid_from_monotone
487
- {Ω T : Type*} [MeasurableSpace Ω] [LinearOrder T]
488
- (Q : Measure Ω) (E : T → Set Ω) (v U : T) (hvU : v ≤ U) (c : ℝ≥0∞)
489
- (h : ∀ s : ℕ → T, Monotone s → (∀ n, v ≤ s n) → (∀ n, s n ≤ U) →
490
- ∀ N, Q (⋃ i ∈ Finset.range N, E (s i)) ≤ c)
491
- (s : ℕ → T) (hs : ∀ n, s n ∈ Icc v U) : Q (⋃ n, E (s n)) ≤ c := by
492
- have hf (N : ℕ) : Q (⋃ i ∈ Finset.range N, E (s i)) ≤ c := by
493
- have hh := finite_grid_from_monotone Q E v U hvU c h
494
- ((Finset.range N).image s) (by simpa using (fun i (_ : i ∈ Finset.range N) => hs i))
495
- simpa using hh
496
- have he : (⋃ n, E (s n)) = ⋃ N, ⋃ i ∈ Finset.range N, E (s i) := by
497
- ext ω
498
- simp only [mem_iUnion, Finset.mem_range]
499
- constructor
500
- · rintro ⟨i, hi⟩; exact ⟨i+1, i, Nat.lt_succ_self i, hi⟩
501
- · rintro ⟨N, i, _, hi⟩; exact ⟨i, hi⟩
502
- have hmono : Monotone (fun N => ⋃ i ∈ Finset.range N, E (s i)) := by
503
- intro n m hnm ω hω
504
- obtain ⟨i, hi, hω⟩ := mem_iUnion₂.mp hω
505
- exact mem_iUnion₂.mpr ⟨i, Finset.mem_range.mpr ((Finset.mem_range.mp hi).trans_le hnm), hω⟩
506
- rw [he, hmono.measure_iUnion]
507
- exact iSup_le hf
508
-
509
- end SLEExactGauge
510
- end
511
-
512
-
513
- section
514
-
515
- open Set MeasureTheory Classical TopologicalSpace
516
- open scoped ENNReal Topology NNReal
517
- namespace SLEExactGauge
518
-
519
- lemma continuous_crossing_from_monotone
520
- {Ω : Type*} [MeasurableSpace Ω]
521
- (Q : Measure Ω) (K : ℝ≥0 → Ω → ℝ) (live : Set Ω)
522
- (v w U : ℝ≥0) (hvw : v ≤ w) (hwU : w ≤ U) (δ : ℝ) (c : ℝ≥0∞)
523
- (hc : ∀ ω ∈ live, ContinuousOn (fun s => K s ω) (Icc v w))
524
- (hp : ∀ ω ∈ live, ∀ s ∈ Icc v w, 0 < K s ω)
525
- (h : ∀ s : ℕ → ℝ≥0, Monotone s → (∀ n, v ≤ s n) → (∀ n, s n ≤ U) →
526
- ∀ N, Q (⋃ i ∈ Finset.range N, {ω | 0 < K (s i) ω ∧ K (s i) ω ≤ δ}) ≤ c) :
527
- Q {ω | ω ∈ live ∧ ∃ s ∈ Icc v w, K s ω < δ} ≤ c := by
528
- let T := ↥(Icc v w)
529
- let : Nonempty T := ⟨⟨v, le_rfl, hvw⟩⟩
530
- let s (n : ℕ) : ℝ≥0 := (denseSeq T n).val
531
- have hs (n : ℕ) : s n ∈ Icc v U :=
532
- ⟨(denseSeq T n).property.1, (denseSeq T n).property.2.trans hwU⟩
533
- refine (measure_mono (show {ω | ω ∈ live ∧ ∃ s ∈ Icc v w, K s ω < δ} ⊆
534
- ⋃ n, {ω | 0 < K (s n) ω ∧ K (s n) ω ≤ δ} from ?_)).trans
535
- (countable_grid_from_monotone Q (fun s => {ω | 0 < K s ω ∧ K s ω ≤ δ})
536
- v U (hvw.trans hwU) c h s hs)
537
- intro ω hω
538
- have hcont : Continuous (fun t : T => K t.val ω) :=
539
- (hc ω hω.1).domRestrict
540
- obtain ⟨t, ht, hlt⟩ := hω.2
541
- obtain ⟨n, hn⟩ := (denseRange_denseSeq T).exists_mem_open
542
- (isOpen_lt hcont continuous_const) ⟨⟨t, ht⟩, hlt⟩
543
- exact mem_iUnion.mpr ⟨n, hp ω hω.1 _ (denseSeq T n).property, hn.le⟩
544
-
545
- end SLEExactGauge
546
- end
547
-
548
-
549
- section
550
-
551
- open Set Filter MeasureTheory ProbabilityTheory Classical
552
- open scoped Topology NNReal ENNReal
553
- namespace SLEExactGauge
554
- variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
555
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
556
- {κ : ℝ} {z : ℂ} {ε : ℕ → ℝ}
557
-
558
- lemma terminalRadiusKernel_continuousOn
559
- (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
560
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (p α : ℝ)
561
- (U : ℝ≥0) (ω : Ω) (hω : localizedRadiusStop (a U) ω < ⊤) :
562
- ContinuousOn (fun s : ℝ≥0 => limitRadiusKernel (a s) p α s ω) (Icc 0 U) := by
563
- have he (s : ℝ≥0) (hs : s ∈ Icc 0 U) :
564
- limitRadiusKernel (a s) p α s ω = limitRadiusKernel (a U) p α s ω :=
565
- limitRadiusKernel_eq_below (a s) (a U) hε (show (s : ℝ) ≤ U from hs.2) p α s
566
- s.coe_nonneg le_rfl ω
567
- have hc := (limitRadiusKernel_continuousOn_of_live (a U) hε hBc p α ω hω).comp
568
- continuous_subtype_val.continuousOn (show MapsTo (fun s : ℝ≥0 => (s : ℝ)) (Icc 0 U) (Icc 0 (U : ℝ)) from
569
- fun s hs => ⟨s.coe_nonneg, hs.2⟩)
570
- exact hc.congr he
571
-
572
- lemma terminalRadiusKernel_pos
573
- (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
574
- (p α : ℝ) (U s : ℝ≥0) (hs : s ≤ U) (ω : Ω)
575
- (hω : localizedRadiusStop (a U) ω < ⊤) :
576
- 0 < limitRadiusKernel (a s) p α s ω := by
577
- rw [limitRadiusKernel_eq_below (a s) (a U) hε (show (s : ℝ) ≤ U from hs) p α s
578
- s.coe_nonneg le_rfl ω]
579
- exact limitRadiusKernel_pos_of_live (a U) hε p α s ⟨s.coe_nonneg, hs⟩ ω hω
580
-
581
- lemma continuous_radius_scaled_crossing
582
- {P : Measure Ω} [IsProbabilityMeasure P]
583
- (hB : IsBrownianReal B P)
584
- (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
585
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
586
- (hκ : 0 < κ) (hκ8 : κ < 8)
587
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
588
- (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
589
- (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
590
- (hz : z ∈ upperHalfPlane)
591
- (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
592
- (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
593
- (v w U : ℝ≥0) (hv : 1 ≤ (v : ℝ)) (hvw : v ≤ w) (hwU : w ≤ U)
594
- (L : ℝ) (hL : 0 < L) :
595
- finiteCenteredLaw P κ B γ G z U
596
- {ω | localizedRadiusStop (a U) ω < ⊤ ∧ ∃ s ∈ Icc v w,
597
- limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω <
598
- Real.exp (codimension κ * ((w : ℝ) - Real.log 2 - Real.log z.im)) / L} ≤
599
- ENNReal.ofReal (uniformInverseAngleConstant κ 1 * Real.exp (codimension κ * ((w : ℝ) - v)) / L) := by
600
- apply continuous_crossing_from_monotone _ _ _ v w U hvw hwU
601
- · intro ω hω
602
- exact (terminalRadiusKernel_continuousOn a hε hBc _ _ U ω hω).mono
603
- (Icc_subset_Icc (show (0 : ℝ≥0) ≤ v from bot_le) hwU)
604
- · intro ω hω s hs
605
- exact terminalRadiusKernel_pos a hε _ _ U s (hs.2.trans hwU) ω hω
606
- · intro s hs hvs hsU N
607
- exact finite_radius_scaled_crossing hB hBm hBc hB0 hκ hκ8 γ G F hw hz
608
- a hε hεlim v U hv s hs hvs hsU w L hL N
609
-
610
- end SLEExactGauge
611
- end
612
-
613
-
614
- section
615
-
616
- open Set Filter MeasureTheory ProbabilityTheory Classical
617
- open scoped Topology NNReal ENNReal
618
- namespace SLEExactGauge
619
- variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
620
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
621
- {κ : ℝ} {z : ℂ} {ε : ℕ → ℝ}
622
-
623
- noncomputable def radiusInverseAngle
624
- (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
625
- (s : ℝ≥0) (�� : Ω) : ℝ :=
626
- (limitRadiusKernel (a s) 0 2 s ω) ^ (-greenExponent κ / 2)
627
-
628
- lemma radiusInverseAngle_product
629
- (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
630
- (s : ℝ≥0) (ω : Ω) (hω : localizedRadiusStop (a s) ω < ⊤) :
631
- limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω * radiusInverseAngle a s ω =
632
- Real.exp (codimension κ * ((s : ℝ) - Real.log 2 - Real.log z.im)) := by
633
- rw [radiusInverseAngle, ← limitRadiusKernel_inverse_factor (a s) hε, sub_self,
634
- radius_limit_clock_angle (a s) hε (codimension κ) 0 s ⟨s.coe_nonneg, le_rfl⟩ ω hω]
635
- simp
636
-
637
- lemma radiusInverseAngle_large_imp_crossing
638
- (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
639
- (hκ8 : κ < 8) (s w U : ℝ≥0) (hsw : s ≤ w) (hwU : w ≤ U)
640
- (L : ℝ) (hL : 0 < L) (ω : Ω) (hω : localizedRadiusStop (a U) ω < ⊤)
641
- (hV : L < radiusInverseAngle a s ω) :
642
- limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω <
643
- Real.exp (codimension κ * ((w : ℝ) - Real.log 2 - Real.log z.im)) / L := by
644
- have hls : localizedRadiusStop (a s) ω < ⊤ :=
645
- lt_of_le_of_lt (localizedRadiusStop_mono (a s) (a U) (show (s : ℝ) ≤ U from hsw.trans hwU) ω) hω
646
- have hK := terminalRadiusKernel_pos a hε (codimension κ) (greenExponent κ) U s (hsw.trans hwU) ω hω
647
- apply (lt_div_iff₀ hL).mpr
648
- calc
649
- _ < limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω * radiusInverseAngle a s ω :=
650
- mul_lt_mul_of_pos_left hV hK
651
- _ = Real.exp (codimension κ * ((s : ℝ) - Real.log 2 - Real.log z.im)) :=
652
- radiusInverseAngle_product a hε s ω hls
653
- _ ≤ _ := Real.exp_le_exp.mpr (mul_le_mul_of_nonneg_left (sub_le_sub_right (sub_le_sub_right (show (s : ℝ) ≤ w from hsw) _) _) (codimension_pos κ hκ8).le)
654
-
655
- lemma inverse_angle_window_bound
656
- {P : Measure Ω} [IsProbabilityMeasure P]
657
- (hB : IsBrownianReal B P)
658
- (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
659
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
660
- (hκ : 0 < κ) (hκ8 : κ < 8)
661
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
662
- (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
663
- (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
664
- (hz : z ∈ upperHalfPlane)
665
- (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
666
- (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
667
- (v w U : ℝ≥0) (hv : 1 ≤ (v : ℝ)) (hvw : v ≤ w) (hwU : w ≤ U)
668
- (L : ℝ) (hL : 0 < L) :
669
- finiteCenteredLaw P κ B γ G z U
670
- {ω | localizedRadiusStop (a U) ω < ⊤ ∧ ∃ s ∈ Icc v w, L < radiusInverseAngle a s ω} ≤
671
- ENNReal.ofReal (uniformInverseAngleConstant κ 1 * Real.exp (codimension κ * ((w : ℝ) - v)) / L) := by
672
- refine (measure_mono (s := {ω | localizedRadiusStop (a U) ω < ⊤ ∧ ∃ s ∈ Icc v w, L < radiusInverseAngle a s ω})
673
- (t := {ω | localizedRadiusStop (a U) ω < ⊤ ∧ ∃ s ∈ Icc v w,
674
- limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω <
675
- Real.exp (codimension κ * ((w : ℝ) - Real.log 2 - Real.log z.im)) / L}) ?_).trans
676
- (continuous_radius_scaled_crossing hB hBm hBc hB0 hκ hκ8 γ G F hw hz a hε hεlim
677
- v w U hv hvw hwU L hL)
678
- rintro ω ⟨hω, s, hs, hV⟩
679
- exact ⟨hω, s, hs, radiusInverseAngle_large_imp_crossing a hε hκ8 s w U hs.2 hwU L hL ω hω hV⟩
680
-
681
- end SLEExactGauge
682
- end
683
-
684
-
685
- section
686
-
687
- open Set Filter MeasureTheory ProbabilityTheory Classical
688
- open scoped Topology NNReal ENNReal
689
- namespace SLEExactGauge
690
- variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
691
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
692
- {κ : ℝ} {z : ℂ} {ε : ℕ → ℝ}
693
-
694
- end SLEExactGauge
695
- end
696
- end
697
-
698
- end OAI
 
1
+ import Mathlib
2
+ import OAI.Probability.SLE.InverseMoments
3
+ import OAI.Probability.SLE.SausagePointBound
4
+ import OAI.Probability.SLE.SpatialMeans
5
+
6
+ namespace OAI
7
+
8
+ /-! Measure Support for chordal SLE. -/
9
+
10
+ section
11
+ section
12
+ open Set Filter MeasureTheory ProbabilityTheory Metric Classical
13
+ open scoped Topology NNReal ENNReal
14
+ namespace SLEExactGauge
15
+ noncomputable def spatialGreenMass (κ : ℝ) (U : ℝ≥0 → ℝ) (γ : ℝ≥0 → ℂ)
16
+ (G : ℝ≥0 → ℂ → ℂ) (r : ℝ) (A : Set ℂ) : ℝ≥0∞ :=
17
+ ∫⁻ z in A, ENNReal.ofReal (spatialGreenWeight κ U γ G z r)
18
+
19
+ namespace RegularSLEPresentation
20
+ variable {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
21
+ {κ : ℝ} {γ : Ω → ℝ≥0 → ℂ} (a : RegularSLEPresentation P κ γ)
22
+
23
+ lemma spatialGreenMass_measurable (r : ℝ) (A : Set ℂ) :
24
+ Measurable (fun ω : a.samples => spatialGreenMass κ
25
+ (fun t => Real.sqrt κ * a.B t ω) (γ ω) (a.G ω) r A) :=
26
+ (a.spatialGreenWeight_measurable r).ennreal_ofReal.lintegral_prod_left'
27
+
28
+
29
+
30
+ lemma spatialGreenMass_expectation [IsProbabilityMeasure P]
31
+ (hκ : 0 < κ) (hκ8 : κ < 8) (r : ℝ) (hr : 0 < r)
32
+ (A : Set ℂ) (hA : MeasurableSet A) (hheight : ∀ z ∈ A, r ≤ z.im) :
33
+ (∫⁻ ω : a.samples, spatialGreenMass κ (fun t => Real.sqrt κ * a.B t ω)
34
+ (γ ω) (a.G ω) r A ∂(P.comap Subtype.val)) =
35
+ ∫⁻ z in A, ENNReal.ofReal (initialGreen κ z) := by
36
+ let μ : Measure a.samples := P.comap Subtype.val
37
+ let : IsProbabilityMeasure μ := a.probability
38
+ simp only [spatialGreenMass]
39
+ rw [← lintegral_lintegral_swap (a.spatialGreenWeight_measurable r).ennreal_ofReal.aemeasurable]
40
+ apply setLIntegral_congr_fun hA
41
+ intro z hz
42
+ obtain ⟨hi, he⟩ := a.spatialGreen_expectation hκ hκ8 z r hr (hheight z hz)
43
+ change (∫⁻ ω : a.samples, ENNReal.ofReal (spatialGreenWeight κ
44
+ (fun t => Real.sqrt κ * a.B t ω) (γ ω) (a.G ω) z r) ∂μ) = ENNReal.ofReal (initialGreen κ z)
45
+ rw [← he]
46
+ exact (ofReal_integral_eq_lintegral_ofReal hi (Eventually.of_forall fun ω => by
47
+ dsimp only [Pi.zero_apply, spatialGreenWeight]
48
+ split_ifs
49
+ · exact le_rfl
50
+ · exact greenDensity_nonneg (a.witness ω) κ _ z)).symm
51
+
52
+
53
+
54
+ lemma spatialGreenMass_expectation_le [IsProbabilityMeasure P]
55
+ (hκ : 0 < κ) (hκ8 : κ < 8) (r : ℝ) (hr : 0 < r)
56
+ (A : Set ℂ) (hA : MeasurableSet A) (hheight : ∀ z ∈ A, r ≤ z.im) :
57
+ (∫⁻ ω : a.samples, spatialGreenMass κ (fun t => Real.sqrt κ * a.B t ω)
58
+ (γ ω) (a.G ω) r A ∂(P.comap Subtype.val)) ≤
59
+ ENNReal.ofReal ((2 : ℝ) ^ (-codimension κ) * r ^ (-codimension κ)) * volume A := by
60
+ rw [a.spatialGreenMass_expectation hκ hκ8 r hr A hA hheight]
61
+ calc
62
+ _ ≤ ∫⁻ _z in A, ENNReal.ofReal ((2 : ℝ) ^ (-codimension κ) * r ^ (-codimension κ)) := by
63
+ apply setLIntegral_mono' hA
64
+ intro z hz
65
+ apply ENNReal.ofReal_le_ofReal
66
+ calc
67
+ _ ≤ (2 : ℝ) ^ (-codimension κ) * z.im ^ (-codimension κ) :=
68
+ initialGreen_le_height κ hκ hκ8 z (hr.trans_le (hheight z hz))
69
+ _ ≤ _ := mul_le_mul_of_nonneg_left
70
+ (Real.rpow_le_rpow_of_nonpos hr (hheight z hz) (neg_nonpos.mpr (codimension_pos κ hκ8).le))
71
+ (Real.rpow_nonneg (by norm_num) _)
72
+ _ = _ := by rw [lintegral_const, Measure.restrict_apply_univ]
73
+
74
+ end RegularSLEPresentation
75
+ end SLEExactGauge
76
+ end
77
+
78
+
79
+ section
80
+
81
+ open Set Filter MeasureTheory ProbabilityTheory Classical
82
+ open scoped Topology NNReal ENNReal
83
+ namespace SLEExactGauge
84
+
85
+
86
+
87
+ lemma finite_density_crossing_bound
88
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (P Q : Measure Ω)
89
+ (F : Filtration ℕ mΩ) (B : ℕ → Set Ω)
90
+ (hBm : ∀ n, MeasurableSet[F n] (B n)) (c : ℝ≥0∞)
91
+ (hQ : ∀ n A, MeasurableSet[F n] A → A ⊆ B n → Q A ≤ c * P A)
92
+ (n : ℕ) : Q (⋃ i ∈ Finset.range n, B i) ≤ c * P (⋃ i ∈ Finset.range n, B i) := by
93
+ classical
94
+ let E (n : ℕ) : Set Ω := ⋃ i ∈ Finset.range n, B i
95
+ have hEm (n : ℕ) : MeasurableSet[F n] (E n) := by
96
+ apply MeasurableSet.iUnion
97
+ intro i
98
+ apply MeasurableSet.iUnion
99
+ intro hi
100
+ exact F.mono (Nat.le_of_lt (Finset.mem_range.mp hi)) _ (hBm i)
101
+ have hrec (n : ℕ) : E (n + 1) = E n ∪ (B n \ E n) := by
102
+ calc
103
+ E (n + 1) = B n ∪ E n := by
104
+ ext ω
105
+ simp only [E, Finset.range_add_one, Finset.mem_insert, mem_iUnion, mem_union]
106
+ aesop
107
+ _ = E n ∪ (B n \ E n) := by
108
+ ext ω
109
+ by_cases h : ω ∈ E n <;> simp [h]
110
+ change Q (E n) ≤ c * P (E n)
111
+ induction n with
112
+ | zero => simp [E]
113
+ | succ n ih =>
114
+ have hD := (hBm n).diff (hEm n)
115
+ have hd : Disjoint (E n) (B n \ E n) := disjoint_sdiff_right
116
+ rw [hrec n, measure_union hd (F.le n _ hD), measure_union hd (F.le n _ hD), mul_add]
117
+ exact add_le_add ih (hQ n _ hD sdiff_subset)
118
+
119
+ lemma finite_density_crossing_bound_of_subset
120
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (P Q : Measure Ω)
121
+ (F : Filtration ℕ mΩ) (B : ℕ → Set Ω)
122
+ (hBm : ∀ n, MeasurableSet[F n] (B n)) (c : ℝ≥0∞)
123
+ (hQ : ∀ n A, MeasurableSet[F n] A → A ⊆ B n → Q A ≤ c * P A)
124
+ (A : Set Ω) (hA : ∀ n, B n ⊆ A) (n : ℕ) :
125
+ Q (⋃ i ∈ Finset.range n, B i) ≤ c * P A := by
126
+ refine (finite_density_crossing_bound P Q F B hBm c hQ n).trans ?_
127
+ exact mul_le_mul (show c ≤ c from le_rfl)
128
+ (show P (⋃ i ∈ Finset.range n, B i) ≤ P A from
129
+ measure_mono (iUnion₂_subset fun i _ => hA i)) bot_le bot_le
130
+
131
+ end SLEExactGauge
132
+ end
133
+
134
+
135
+ section
136
+
137
+ open Set Filter MeasureTheory ProbabilityTheory Classical
138
+ open scoped Topology NNReal ENNReal
139
+ namespace SLEExactGauge
140
+ variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
141
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
142
+ {κ : ℝ} {z : ℂ} {u : ℝ} {ε : ℕ → ℝ}
143
+
144
+ lemma limitRadiusKernel_pos_iff
145
+ (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hu : 0 ≤ u)
146
+ (p α : ℝ) (ω : Ω) :
147
+ 0 < limitRadiusKernel a p α u ω ↔ localizedRadiusStop a ω < ⊤ := by
148
+ have hx : (∃ n, max u 0 ≤ (a n).clock.S ((a n).τ ω) ω) ↔ ∃ n, ω ∈ (a n).hit := by
149
+ simp only [max_eq_left hu]
150
+ constructor
151
+ · rintro ⟨n, hn⟩
152
+ exact ⟨n, le_antisymm ((a n).clock_upper ω) hn⟩
153
+ · rintro ⟨n, hn⟩
154
+ exact ⟨n, le_of_eq hn.symm⟩
155
+ by_cases hh : ∃ n, ω ∈ (a n).hit
156
+ · have he := hx.mpr hh
157
+ obtain ⟨n, hn⟩ := hh
158
+ rw [localizedRadiusStop_eq_hit a ω n hn, limitRadiusKernel, dite_eq_left he,
159
+ AngularLocalization.radiusKernel, ite_eq_left (Nat.find_spec he)]
160
+ exact iff_of_true (Real.exp_pos _) (WithTop.coe_lt_top _)
161
+ · rw [localizedRadiusStop_eq_top a ω (not_exists.mp hh), limitRadiusKernel,
162
+ dite_eq_right (fun h => hh (hx.mp h))]
163
+ simp
164
+
165
+ lemma finiteCenteredLaw_eq_radiusKernel
166
+ {P : Measure Ω} (a : ∀ n, AngularLocalization B hm κ z u (ε n))
167
+ (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
168
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hz : z ∈ upperHalfPlane) (hu : 0 ≤ u)
169
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
170
+ (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
171
+ (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω)) :
172
+ finiteCenteredLaw P κ B γ G z u = P.withDensity
173
+ (fun ω => ENNReal.ofReal (limitRadiusKernel a (codimension κ) (greenExponent κ) u ω /
174
+ initialGreen κ z)) := by
175
+ apply withDensity_congr_ae
176
+ filter_upwards [hw] with ω hω
177
+ rw [limitRadiusKernel_eq_stoppedGreen a hε hεlim hBc hz hu ω (γ ω) (G ω) (F ω) hω]
178
+
179
+ lemma radiusKernel_density_bound
180
+ {P : Measure Ω} (a : ∀ n, AngularLocalization B hm κ z u (ε n))
181
+ (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
182
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hz : z ∈ upperHalfPlane) (hu : 0 ≤ u)
183
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
184
+ (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
185
+ (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
186
+ (δ : ℝ) (A : Set Ω) (hA : MeasurableSet A)
187
+ (hδ : ∀ ω ∈ A, limitRadiusKernel a (codimension κ) (greenExponent κ) u ω ≤ δ) :
188
+ finiteCenteredLaw P κ B γ G z u A ≤ ENNReal.ofReal (δ / initialGreen κ z) * P A := by
189
+ rw [finiteCenteredLaw_eq_radiusKernel a hε hεlim hBc hz hu γ G F hw, withDensity_apply _ hA]
190
+ calc
191
+ _ ≤ ∫⁻ ω in A, ENNReal.ofReal (δ / initialGreen κ z) ∂P := by
192
+ apply lintegral_mono_ae
193
+ filter_upwards [ae_restrict_mem hA] with ω hω
194
+ exact ENNReal.ofReal_le_ofReal (div_le_div_of_nonneg_right (hδ ω hω) (initialGreen_pos κ z hz).le)
195
+ _ = _ := by simp
196
+
197
+ lemma finiteCenteredLaw_consistent_at_radius
198
+ {P : Measure Ω} [IsProbabilityMeasure P]
199
+ (hB : IsBrownianReal B P)
200
+ (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
201
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
202
+ (hκ : 0 < κ) (hκ8 : κ < 8)
203
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
204
+ (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
205
+ (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω)) (hz : z ∈ upperHalfPlane)
206
+ {v : ℝ} (a : ∀ n, AngularLocalization B hm κ z u (ε n))
207
+ (b : ∀ n, AngularLocalization B hm κ z v (ε n))
208
+ (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0)) (hu : 0 ≤ u) (huv : u ≤ v)
209
+ (A : Set Ω) (hA : MeasurableSet[(localizedRadiusStop_stopping a).measurableSpace] A) :
210
+ finiteCenteredLaw P κ B γ G z v A = finiteCenteredLaw P κ B γ G z u A := by
211
+ have hAm := (localizedRadiusStop_stopping a).measurableSpace_le _ hA
212
+ rw [finiteCenteredLaw_apply hB κ hκ hκ8 γ G F hw z hz v (hu.trans huv) A hAm,
213
+ finiteCenteredLaw_apply hB κ hκ hκ8 γ G F hw z hz u hu A hAm,
214
+ finite_stopped_green_consistent_regular hB hBm hBc hB0 hκ hκ8 γ G F hw hz
215
+ a b hεlim hε hu huv A hA]
216
+
217
+ end SLEExactGauge
218
+ end
219
+
220
+
221
+ section
222
+
223
+ open Set Filter MeasureTheory ProbabilityTheory Classical
224
+ open scoped Topology NNReal ENNReal
225
+ namespace SLEExactGauge
226
+
227
+ lemma finite_radius_density_crossing
228
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
229
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
230
+ (hB : IsBrownianReal B P)
231
+ (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
232
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
233
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
234
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
235
+ (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
236
+ (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
237
+ {z : ℂ} (hz : z ∈ upperHalfPlane) {ε : ℕ → ℝ}
238
+ (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
239
+ (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
240
+ (v U : ℝ≥0) (s : ℕ → ℝ≥0) (hs : Monotone s)
241
+ (hvs : ∀ n, v ≤ s n) (hsU : ∀ n, s n ≤ U) (δ : ℝ) (N : ℕ) :
242
+ finiteCenteredLaw P κ B γ G z U
243
+ (⋃ i ∈ Finset.range N, {ω | 0 < limitRadiusKernel (a (s i)) (codimension κ) (greenExponent κ) (s i) ω ∧
244
+ limitRadiusKernel (a (s i)) (codimension κ) (greenExponent κ) (s i) ω ≤ δ}) ≤
245
+ ENNReal.ofReal (δ / initialGreen κ z) * P {ω | localizedRadiusStop (a v) ω < ⊤} := by
246
+ let K (n : ℕ) := limitRadiusKernel (a (s n)) (codimension κ) (greenExponent κ) (s n)
247
+ let E (n : ℕ) : Set Ω := {ω | 0 < K n ω ∧ K n ω ≤ δ}
248
+ let H : Filtration ℕ mΩ :=
249
+ { seq := fun n => radiusFiltration a (s n)
250
+ mono' := fun n m hnm => (radiusFiltration a).mono (hs hnm)
251
+ le' := fun n => (radiusFiltration a).le (s n) }
252
+ have hKm (n : ℕ) : Measurable[H n] (K n) :=
253
+ limitRadiusKernel_terminal_measurable (a (s n)) hε hBc (s n).coe_nonneg _ _
254
+ have hEm (n : ℕ) : MeasurableSet[H n] (E n) :=
255
+ measurableSet_Ioc.preimage (hKm n)
256
+ apply finite_density_crossing_bound_of_subset P (finiteCenteredLaw P κ B γ G z U)
257
+ H E hEm (ENNReal.ofReal (δ / initialGreen κ z))
258
+ · intro n A hA hAE
259
+ rw [finiteCenteredLaw_consistent_at_radius hB hBm hBc hB0 hκ hκ8 γ G F hw hz
260
+ (a (s n)) (a U) hε hεlim (s n).coe_nonneg (show (s n : ℝ) ≤ U from hsU n) A hA]
261
+ exact radiusKernel_density_bound (a (s n)) hε hεlim hBc hz (s n).coe_nonneg γ G F hw
262
+ δ A (H.le n _ hA) (fun ω hω => (hAE hω).2)
263
+ · intro n ω hω
264
+ have hp := (limitRadiusKernel_pos_iff (a (s n)) (s n).coe_nonneg
265
+ (codimension κ) (greenExponent κ) ω).mp hω.1
266
+ exact lt_of_le_of_lt (localizedRadiusStop_mono (a v) (a (s n))
267
+ (show (v : ℝ) ≤ s n from hvs n) ω) hp
268
+
269
+ lemma radius_kernel_scale_cancel (κ v w L C : ℝ) (z : ℂ) (hz : z ∈ upperHalfPlane)
270
+ (hL : L ≠ 0) :
271
+ (Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) / L / initialGreen κ z) *
272
+ (C * Real.exp (-codimension κ * v) * (Real.sin (Complex.arg z)) ^ greenExponent κ) =
273
+ C * Real.exp (codimension κ * (w - v)) / L := by
274
+ have hI := (initialGreen_pos κ z hz).ne'
275
+ have he : Real.exp (-codimension κ * v) * (Real.sin (Complex.arg z)) ^ greenExponent κ =
276
+ initialGreen κ z / Real.exp (codimension κ * (v - Real.log 2 - Real.log z.im)) :=
277
+ (initialGreen_div_zeroKernel κ v z hz).symm
278
+ rw [mul_assoc C, he]
279
+ rw [show (Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) / L / initialGreen κ z) *
280
+ (C * (initialGreen κ z / Real.exp (codimension κ * (v - Real.log 2 - Real.log z.im)))) =
281
+ C * (Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) /
282
+ Real.exp (codimension κ * (v - Real.log 2 - Real.log z.im))) / L by
283
+ field_simp]
284
+ rw [← Real.exp_sub]
285
+ congr 2
286
+ ring_nf
287
+
288
+ end SLEExactGauge
289
+ end
290
+
291
+
292
+ section
293
+
294
+ open Set Filter MeasureTheory ProbabilityTheory Classical
295
+ open scoped Topology NNReal ENNReal
296
+ namespace SLEExactGauge
297
+
298
+ lemma finite_radius_scaled_crossing
299
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
300
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
301
+ (hB : IsBrownianReal B P)
302
+ (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
303
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
304
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
305
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
306
+ (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
307
+ (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
308
+ {z : ℂ} (hz : z ∈ upperHalfPlane) {ε : ℕ → ℝ}
309
+ (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
310
+ (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
311
+ (v U : ℝ≥0) (hv : 1 ≤ (v : ℝ)) (s : ℕ → ℝ≥0) (hs : Monotone s)
312
+ (hvs : ∀ n, v ≤ s n) (hsU : ∀ n, s n ≤ U) (w L : ℝ) (hL : 0 < L) (N : ℕ) :
313
+ finiteCenteredLaw P κ B γ G z U
314
+ (⋃ i ∈ Finset.range N, {ω | 0 < limitRadiusKernel (a (s i)) (codimension κ) (greenExponent κ) (s i) ω ∧
315
+ limitRadiusKernel (a (s i)) (codimension κ) (greenExponent κ) (s i) ω ≤
316
+ Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) / L}) ≤
317
+ ENNReal.ofReal (uniformInverseAngleConstant κ 1 * Real.exp (codimension κ * (w - v)) / L) := by
318
+ let C := uniformInverseAngleConstant κ 1
319
+ have hC : 0 < C := uniformInverseAngleConstant_pos κ 1 hκ hκ8 (by norm_num)
320
+ let Kv := Real.exp (codimension κ * ((v : ℝ) - Real.log 2 - Real.log z.im))
321
+ let δ := Real.exp (codimension κ * (w - Real.log 2 - Real.log z.im)) / L
322
+ have hδ : 0 ≤ δ / initialGreen κ z := div_nonneg (div_pos (Real.exp_pos _) hL).le
323
+ (initialGreen_pos κ z hz).le
324
+ have hPe : P {ω | localizedRadiusStop (a v) ω < ⊤} =
325
+ P {ω | radiusLevelTime (γ ω) (G ω) z v < ∞} := by
326
+ apply measure_congr
327
+ filter_upwards [hw] with ω hω
328
+ rw [localizedRadiusStop_eq_source (a v) hεlim hBc hz ω (γ ω) (G ω) (F ω) hω]
329
+ rfl
330
+ have hPr : (P {ω | localizedRadiusStop (a v) ω < ⊤}).toReal ≤ C * initialGreen κ z / Kv := by
331
+ rw [hPe]
332
+ refine (radius_approach_regular hB hBm hBc hB0 κ hκ hκ8 γ G F hw z hz v hv).trans_eq ?_
333
+ dsimp only [C, Kv]
334
+ rw [mul_div_assoc, initialGreen_div_zeroKernel κ v z hz, mul_assoc]
335
+ have hPn : P {ω | localizedRadiusStop (a v) ω < ⊤} ≤ ENNReal.ofReal (C * initialGreen κ z / Kv) :=
336
+ (ENNReal.le_ofReal_iff_toReal_le (measure_ne_top _ _) (div_nonneg (mul_nonneg hC.le (initialGreen_pos κ z hz).le) (Real.exp_pos _).le)).mpr hPr
337
+ calc
338
+ _ ≤ ENNReal.ofReal (δ / initialGreen κ z) * P {ω | localizedRadiusStop (a v) ω < ⊤} :=
339
+ finite_radius_density_crossing hB hBm hBc hB0 hκ hκ8 γ G F hw hz a hε hεlim v U s hs hvs hsU δ N
340
+ _ ≤ ENNReal.ofReal (δ / initialGreen κ z) * ENNReal.ofReal (C * initialGreen κ z / Kv) :=
341
+ mul_le_mul le_rfl hPn bot_le bot_le
342
+ _ = ENNReal.ofReal ((δ / initialGreen κ z) * (C * initialGreen κ z / Kv)) :=
343
+ (ENNReal.ofReal_mul hδ).symm
344
+ _ = _ := by
345
+ congr 1
346
+ have he := radius_kernel_scale_cancel κ v w L C z hz hL.ne'
347
+ change (δ / initialGreen κ z) * (C * initialGreen κ z /
348
+ Real.exp (codimension κ * ((v : ℝ) - Real.log 2 - Real.log z.im))) = _
349
+ rw [mul_div_assoc C, initialGreen_div_zeroKernel κ v z hz, ← mul_assoc C]
350
+ exact he
351
+
352
+ end SLEExactGauge
353
+ end
354
+
355
+
356
+ section
357
+
358
+ open Set Filter MeasureTheory ProbabilityTheory Classical
359
+ open scoped Topology NNReal ENNReal
360
+ namespace SLEExactGauge
361
+ variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
362
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
363
+ {κ : ℝ} {z : ℂ} {u v : ℝ} {ε : ℕ → ℝ}
364
+
365
+ lemma limitRadiusKernel_eq_of_surviving_cutoff
366
+ (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
367
+ (p α s : ℝ) (hs : 0 ≤ s) (ω : Ω) (n : ℕ)
368
+ (hn : s ≤ (a n).clock.S ((a n).τ ω) ω) :
369
+ limitRadiusKernel a p α s ω = (a n).radiusValue p α s ω := by
370
+ obtain ⟨m, hm, hlim⟩ := ((eventually_ge_atTop n).and (radiusKernel_eventually_limit a hε p α s ω)).exists
371
+ rw [max_eq_left hs] at hlim
372
+ rw [← hlim, ← (a n).radiusKernel_eq_of_live (a m) le_rfl (hε hm) p α s hs ω hn,
373
+ AngularLocalization.radiusKernel, ite_eq_left hn]
374
+
375
+ lemma limitRadiusKernel_eq_below
376
+ (a : ∀ n, AngularLocalization B hm κ z u (ε n))
377
+ (b : ∀ n, AngularLocalization B hm κ z v (ε n)) (hε : Antitone ε)
378
+ (huv : u ≤ v) (p α s : ℝ) (hs : 0 ≤ s) (hsu : s ≤ u) (ω : Ω) :
379
+ limitRadiusKernel a p α s ω = limitRadiusKernel b p α s ω := by
380
+ obtain ⟨n, hn, hm⟩ := ((radiusKernel_eventually_limit a hε p α s ω).and
381
+ (radiusKernel_eventually_limit b hε p α s ω)).exists
382
+ rw [max_eq_left hs] at hn hm
383
+ rw [← hn, ← hm]
384
+ exact (a n).radiusKernel_eq_below (b n) huv p α s hs hsu ω
385
+
386
+ lemma exists_cutoff_of_radiusStop_lt_top
387
+ (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (ω : Ω)
388
+ (hω : localizedRadiusStop a ω < ⊤) : ∃ n, ω ∈ (a n).hit := by
389
+ by_contra hn
390
+ rw [localizedRadiusStop_eq_top a ω (not_exists.mp hn)] at hω
391
+ exact lt_irrefl _ hω
392
+
393
+ lemma limitRadiusKernel_continuousOn_of_live
394
+ (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
395
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (p α : ℝ) (ω : Ω)
396
+ (hω : localizedRadiusStop a ω < ⊤) :
397
+ ContinuousOn (fun s => limitRadiusKernel a p α s ω) (Icc 0 u) := by
398
+ obtain ⟨n, hn⟩ := exists_cutoff_of_radiusStop_lt_top a ω hω
399
+ apply ((a n).radiusValue_continuous hBc p α ω).continuousOn.congr
400
+ intro s hs
401
+ exact limitRadiusKernel_eq_of_surviving_cutoff a hε p α s hs.1 ω n (hs.2.trans_eq hn.symm)
402
+
403
+ lemma limitRadiusKernel_pos_of_live
404
+ (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
405
+ (p α s : ℝ) (hs : s ∈ Icc 0 u) (ω : Ω) (hω : localizedRadiusStop a ω < ⊤) :
406
+ 0 < limitRadiusKernel a p α s ω := by
407
+ obtain ⟨n, hn⟩ := exists_cutoff_of_radiusStop_lt_top a ω hω
408
+ rw [limitRadiusKernel_eq_of_surviving_cutoff a hε p α s hs.1 ω n (hs.2.trans_eq hn.symm)]
409
+ exact powerLogDensity_pos _ _ _ _ _
410
+
411
+ lemma radius_limit_clock_angle
412
+ (a : ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
413
+ (p α s : ℝ) (hs : s ∈ Icc 0 u) (ω : Ω) (hω : localizedRadiusStop a ω < ⊤) :
414
+ limitRadiusKernel a p α s ω = Real.exp (p * (s - Real.log 2 - Real.log z.im)) *
415
+ (limitRadiusKernel a 0 2 s ω) ^ (α / 2) := by
416
+ obtain ⟨n, hn⟩ := exists_cutoff_of_radiusStop_lt_top a ω hω
417
+ have hs' : s ≤ (a n).clock.S ((a n).τ ω) ω := hs.2.trans_eq hn.symm
418
+ rw [limitRadiusKernel_eq_of_surviving_cutoff a hε p α s hs.1 ω n hs',
419
+ limitRadiusKernel_eq_of_surviving_cutoff a hε 0 2 s hs.1 ω n hs']
420
+ unfold AngularLocalization.radiusValue
421
+ rw [powerLogDensity_radius_angle κ p α (Real.log z.im),
422
+ powerLogDensity_radius_angle κ 0 2 (Real.log z.im)]
423
+ norm_num only [zero_mul, Real.exp_zero, one_mul, div_self (by norm_num : (2 : ℝ) ≠ 0), Real.rpow_one]
424
+ have he := (a n).clock.clock_inverse s ω
425
+ change (a n).clock.S ((a n).clock.inverse s ω) ω =
426
+ min (max s 0) ((a n).clock.S ((a n).τ ω) ω) at he
427
+ rw [max_eq_left hs.1, min_eq_left hs'] at he
428
+ change logRadiusClock (Real.log z.im)
429
+ ((a n).solution.Q ((a n).clock.inverse s ω) ω) = s at he
430
+ rw [he]
431
+
432
+ end SLEExactGauge
433
+ end
434
+
435
+
436
+ section
437
+
438
+ open Set MeasureTheory Classical
439
+ open scoped ENNReal
440
+ namespace SLEExactGauge
441
+
442
+ lemma finite_grid_from_monotone
443
+ {Ω T : Type*} [MeasurableSpace Ω] [LinearOrder T]
444
+ (Q : Measure Ω) (E : T → Set Ω) (v U : T) (hvU : v ≤ U) (c : ℝ≥0∞)
445
+ (h : ∀ s : ℕ → T, Monotone s → (∀ n, v ≤ s n) → (∀ n, s n ≤ U) →
446
+ ∀ N, Q (⋃ i ∈ Finset.range N, E (s i)) ≤ c)
447
+ (t : Finset T) (ht : ∀ x ∈ t, x ∈ Icc v U) :
448
+ Q (⋃ x ∈ t, E x) ≤ c := by
449
+ let f := t.orderEmbOfFin rfl
450
+ let s (n : ℕ) : T := if hn : n < t.card then f ⟨n, hn⟩ else U
451
+ have hmem (i : Fin t.card) : f i ∈ t := t.orderEmbOfFin_mem rfl i
452
+ have hs : Monotone s := by
453
+ intro n m hnm
454
+ dsimp only [s]
455
+ split_ifs with hn hm hm
456
+ · exact f.monotone hnm
457
+ · exact (ht _ (hmem _)).2
458
+ · omega
459
+ · exact le_rfl
460
+ have hl (n : ℕ) : v ≤ s n := by
461
+ dsimp only [s]; split_ifs with hn
462
+ · exact (ht _ (hmem _)).1
463
+ · exact hvU
464
+ have hu (n : ℕ) : s n ≤ U := by
465
+ dsimp only [s]; split_ifs with hn
466
+ · exact (ht _ (hmem _)).2
467
+ · exact le_rfl
468
+ have he : (⋃ x ∈ t, E x) = ⋃ i ∈ Finset.range t.card, E (s i) := by
469
+ ext ω
470
+ simp only [mem_iUnion, Finset.mem_range]
471
+ constructor
472
+ · rintro ⟨x, hx, hω⟩
473
+ have hex : ∃ i, f i = x := by
474
+ change x ∈ Set.range f
475
+ rw [Finset.range_orderEmbOfFin]
476
+ exact hx
477
+ obtain ⟨i, rfl⟩ := hex
478
+ refine ⟨i.val, i.isLt, ?_⟩
479
+ simpa only [s, dite_eq_left i.isLt] using hω
480
+ · rintro ⟨i, hi, hω⟩
481
+ refine ⟨f ⟨i, hi⟩, hmem _, ?_⟩
482
+ simpa only [s, dite_eq_left hi] using hω
483
+ rw [he]
484
+ exact h s hs hl hu t.card
485
+
486
+ lemma countable_grid_from_monotone
487
+ {Ω T : Type*} [MeasurableSpace Ω] [LinearOrder T]
488
+ (Q : Measure Ω) (E : T → Set Ω) (v U : T) (hvU : v ≤ U) (c : ℝ≥0∞)
489
+ (h : ∀ s : ℕ → T, Monotone s → (∀ n, v ≤ s n) → (∀ n, s n ≤ U) →
490
+ ∀ N, Q (⋃ i ∈ Finset.range N, E (s i)) ≤ c)
491
+ (s : ℕ → T) (hs : ∀ n, s n ∈ Icc v U) : Q (⋃ n, E (s n)) ≤ c := by
492
+ have hf (N : ℕ) : Q (⋃ i ∈ Finset.range N, E (s i)) ≤ c := by
493
+ have hh := finite_grid_from_monotone Q E v U hvU c h
494
+ ((Finset.range N).image s) (by simpa using (fun i (_ : i ∈ Finset.range N) => hs i))
495
+ simpa using hh
496
+ have he : (⋃ n, E (s n)) = ⋃ N, ⋃ i ∈ Finset.range N, E (s i) := by
497
+ ext ω
498
+ simp only [mem_iUnion, Finset.mem_range]
499
+ constructor
500
+ · rintro ⟨i, hi⟩; exact ⟨i+1, i, Nat.lt_succ_self i, hi⟩
501
+ · rintro ⟨N, i, _, hi⟩; exact ⟨i, hi⟩
502
+ have hmono : Monotone (fun N => ⋃ i ∈ Finset.range N, E (s i)) := by
503
+ intro n m hnm ω hω
504
+ obtain ⟨i, hi, hω⟩ := mem_iUnion₂.mp hω
505
+ exact mem_iUnion₂.mpr ⟨i, Finset.mem_range.mpr ((Finset.mem_range.mp hi).trans_le hnm), hω⟩
506
+ rw [he, hmono.measure_iUnion]
507
+ exact iSup_le hf
508
+
509
+ end SLEExactGauge
510
+ end
511
+
512
+
513
+ section
514
+
515
+ open Set MeasureTheory Classical TopologicalSpace
516
+ open scoped ENNReal Topology NNReal
517
+ namespace SLEExactGauge
518
+
519
+ lemma continuous_crossing_from_monotone
520
+ {Ω : Type*} [MeasurableSpace Ω]
521
+ (Q : Measure Ω) (K : ℝ≥0 → Ω → ℝ) (live : Set Ω)
522
+ (v w U : ℝ≥0) (hvw : v ≤ w) (hwU : w ≤ U) (δ : ℝ) (c : ℝ≥0∞)
523
+ (hc : ∀ ω ∈ live, ContinuousOn (fun s => K s ω) (Icc v w))
524
+ (hp : ∀ ω ∈ live, ∀ s ∈ Icc v w, 0 < K s ω)
525
+ (h : ∀ s : ℕ → ℝ≥0, Monotone s → (∀ n, v ≤ s n) → (∀ n, s n ≤ U) →
526
+ ∀ N, Q (⋃ i ∈ Finset.range N, {ω | 0 < K (s i) ω ∧ K (s i) ω ≤ δ}) ≤ c) :
527
+ Q {ω | ω ∈ live ∧ ∃ s ∈ Icc v w, K s ω < δ} ≤ c := by
528
+ let T := ↥(Icc v w)
529
+ let : Nonempty T := ⟨⟨v, le_rfl, hvw⟩⟩
530
+ let s (n : ℕ) : ℝ≥0 := (denseSeq T n).val
531
+ have hs (n : ℕ) : s n ∈ Icc v U :=
532
+ ⟨(denseSeq T n).property.1, (denseSeq T n).property.2.trans hwU⟩
533
+ refine (measure_mono (show {ω | ω ∈ live ∧ ∃ s ∈ Icc v w, K s ω < δ} ⊆
534
+ ⋃ n, {ω | 0 < K (s n) ω ∧ K (s n) ω ≤ δ} from ?_)).trans
535
+ (countable_grid_from_monotone Q (fun s => {ω | 0 < K s ω ∧ K s ω ≤ δ})
536
+ v U (hvw.trans hwU) c h s hs)
537
+ intro ω hω
538
+ have hcont : Continuous (fun t : T => K t.val ω) :=
539
+ (hc ω hω.1).domRestrict
540
+ obtain ⟨t, ht, hlt⟩ := hω.2
541
+ obtain ⟨n, hn⟩ := (denseRange_denseSeq T).exists_mem_open
542
+ (isOpen_lt hcont continuous_const) ⟨⟨t, ht⟩, hlt⟩
543
+ exact mem_iUnion.mpr ⟨n, hp ω hω.1 _ (denseSeq T n).property, hn.le⟩
544
+
545
+ end SLEExactGauge
546
+ end
547
+
548
+
549
+ section
550
+
551
+ open Set Filter MeasureTheory ProbabilityTheory Classical
552
+ open scoped Topology NNReal ENNReal
553
+ namespace SLEExactGauge
554
+ variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
555
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
556
+ {κ : ℝ} {z : ℂ} {ε : ℕ → ℝ}
557
+
558
+ lemma terminalRadiusKernel_continuousOn
559
+ (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
560
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (p α : ℝ)
561
+ (U : ℝ≥0) (ω : Ω) (hω : localizedRadiusStop (a U) ω < ⊤) :
562
+ ContinuousOn (fun s : ℝ≥0 => limitRadiusKernel (a s) p α s ω) (Icc 0 U) := by
563
+ have he (s : ℝ≥0) (hs : s ∈ Icc 0 U) :
564
+ limitRadiusKernel (a s) p α s ω = limitRadiusKernel (a U) p α s ω :=
565
+ limitRadiusKernel_eq_below (a s) (a U) hε (show (s : ℝ) ≤ U from hs.2) p α s
566
+ s.coe_nonneg le_rfl ω
567
+ have hc := (limitRadiusKernel_continuousOn_of_live (a U) hε hBc p α ω hω).comp
568
+ continuous_subtype_val.continuousOn (show MapsTo (fun s : ℝ≥0 => (s : ℝ)) (Icc 0 U) (Icc 0 (U : ℝ)) from
569
+ fun s hs => ⟨s.coe_nonneg, hs.2⟩)
570
+ exact hc.congr he
571
+
572
+ lemma terminalRadiusKernel_pos
573
+ (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
574
+ (p α : ℝ) (U s : ℝ≥0) (hs : s ≤ U) (ω : Ω)
575
+ (hω : localizedRadiusStop (a U) ω < ⊤) :
576
+ 0 < limitRadiusKernel (a s) p α s ω := by
577
+ rw [limitRadiusKernel_eq_below (a s) (a U) hε (show (s : ℝ) ≤ U from hs) p α s
578
+ s.coe_nonneg le_rfl ω]
579
+ exact limitRadiusKernel_pos_of_live (a U) hε p α s ⟨s.coe_nonneg, hs⟩ ω hω
580
+
581
+ lemma continuous_radius_scaled_crossing
582
+ {P : Measure Ω} [IsProbabilityMeasure P]
583
+ (hB : IsBrownianReal B P)
584
+ (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
585
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
586
+ (hκ : 0 < κ) (hκ8 : κ < 8)
587
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
588
+ (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
589
+ (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
590
+ (hz : z ∈ upperHalfPlane)
591
+ (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
592
+ (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
593
+ (v w U : ℝ≥0) (hv : 1 ≤ (v : ℝ)) (hvw : v ≤ w) (hwU : w ≤ U)
594
+ (L : ℝ) (hL : 0 < L) :
595
+ finiteCenteredLaw P κ B γ G z U
596
+ {ω | localizedRadiusStop (a U) ω < ⊤ ∧ ∃ s ∈ Icc v w,
597
+ limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω <
598
+ Real.exp (codimension κ * ((w : ℝ) - Real.log 2 - Real.log z.im)) / L} ≤
599
+ ENNReal.ofReal (uniformInverseAngleConstant κ 1 * Real.exp (codimension κ * ((w : ℝ) - v)) / L) := by
600
+ apply continuous_crossing_from_monotone _ _ _ v w U hvw hwU
601
+ · intro ω hω
602
+ exact (terminalRadiusKernel_continuousOn a hε hBc _ _ U ω hω).mono
603
+ (Icc_subset_Icc (show (0 : ℝ≥0) ≤ v from bot_le) hwU)
604
+ · intro ω hω s hs
605
+ exact terminalRadiusKernel_pos a hε _ _ U s (hs.2.trans hwU) ω hω
606
+ · intro s hs hvs hsU N
607
+ exact finite_radius_scaled_crossing hB hBm hBc hB0 hκ hκ8 γ G F hw hz
608
+ a hε hεlim v U hv s hs hvs hsU w L hL N
609
+
610
+ end SLEExactGauge
611
+ end
612
+
613
+
614
+ section
615
+
616
+ open Set Filter MeasureTheory ProbabilityTheory Classical
617
+ open scoped Topology NNReal ENNReal
618
+ namespace SLEExactGauge
619
+ variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
620
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
621
+ {κ : ℝ} {z : ℂ} {ε : ℕ → ℝ}
622
+
623
+ noncomputable def radiusInverseAngle
624
+ (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
625
+ (s : ℝ≥0) (ω : Ω) : ℝ :=
626
+ (limitRadiusKernel (a s) 0 2 s ω) ^ (-greenExponent κ / 2)
627
+
628
+ lemma radiusInverseAngle_product
629
+ (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
630
+ (s : ℝ≥0) (ω : Ω) (hω : localizedRadiusStop (a s) ω < ⊤) :
631
+ limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω * radiusInverseAngle a s ω =
632
+ Real.exp (codimension κ * ((s : ℝ) - Real.log 2 - Real.log z.im)) := by
633
+ rw [radiusInverseAngle, ← limitRadiusKernel_inverse_factor (a s) hε, sub_self,
634
+ radius_limit_clock_angle (a s) hε (codimension κ) 0 s ⟨s.coe_nonneg, le_rfl⟩ ω hω]
635
+ simp
636
+
637
+ lemma radiusInverseAngle_large_imp_crossing
638
+ (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n)) (hε : Antitone ε)
639
+ (hκ8 : κ < 8) (s w U : ℝ≥0) (hsw : s ≤ w) (hwU : w ≤ U)
640
+ (L : ℝ) (hL : 0 < L) (ω : Ω) (hω : localizedRadiusStop (a U) ω < ⊤)
641
+ (hV : L < radiusInverseAngle a s ω) :
642
+ limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω <
643
+ Real.exp (codimension κ * ((w : ℝ) - Real.log 2 - Real.log z.im)) / L := by
644
+ have hls : localizedRadiusStop (a s) ω < ⊤ :=
645
+ lt_of_le_of_lt (localizedRadiusStop_mono (a s) (a U) (show (s : ℝ) ≤ U from hsw.trans hwU) ω) hω
646
+ have hK := terminalRadiusKernel_pos a hε (codimension κ) (greenExponent κ) U s (hsw.trans hwU) ω hω
647
+ apply (lt_div_iff₀ hL).mpr
648
+ calc
649
+ _ < limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω * radiusInverseAngle a s ω :=
650
+ mul_lt_mul_of_pos_left hV hK
651
+ _ = Real.exp (codimension κ * ((s : ℝ) - Real.log 2 - Real.log z.im)) :=
652
+ radiusInverseAngle_product a hε s ω hls
653
+ _ ≤ _ := Real.exp_le_exp.mpr (mul_le_mul_of_nonneg_left (sub_le_sub_right (sub_le_sub_right (show (s : ℝ) ≤ w from hsw) _) _) (codimension_pos κ hκ8).le)
654
+
655
+ lemma inverse_angle_window_bound
656
+ {P : Measure Ω} [IsProbabilityMeasure P]
657
+ (hB : IsBrownianReal B P)
658
+ (hBm : Measurable (fun q : ℝ≥0 × Ω => B q.1 q.2))
659
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
660
+ (hκ : 0 < κ) (hκ8 : κ < 8)
661
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
662
+ (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
663
+ (fun t => Real.sqrt κ * B t ω) (γ ω) (G ω) (F ω))
664
+ (hz : z ∈ upperHalfPlane)
665
+ (a : ∀ u : ℝ≥0, ∀ n, AngularLocalization B hm κ z u (ε n))
666
+ (hε : Antitone ε) (hεlim : Tendsto ε atTop (𝓝 0))
667
+ (v w U : ℝ≥0) (hv : 1 ≤ (v : ℝ)) (hvw : v ≤ w) (hwU : w ≤ U)
668
+ (L : ℝ) (hL : 0 < L) :
669
+ finiteCenteredLaw P κ B γ G z U
670
+ {ω | localizedRadiusStop (a U) ω < ⊤ ∧ ∃ s ∈ Icc v w, L < radiusInverseAngle a s ω} ≤
671
+ ENNReal.ofReal (uniformInverseAngleConstant κ 1 * Real.exp (codimension κ * ((w : ℝ) - v)) / L) := by
672
+ refine (measure_mono (s := {ω | localizedRadiusStop (a U) ω < ⊤ ∧ ∃ s ∈ Icc v w, L < radiusInverseAngle a s ω})
673
+ (t := {ω | localizedRadiusStop (a U) ω < ⊤ ∧ ∃ s ∈ Icc v w,
674
+ limitRadiusKernel (a s) (codimension κ) (greenExponent κ) s ω <
675
+ Real.exp (codimension κ * ((w : ℝ) - Real.log 2 - Real.log z.im)) / L}) ?_).trans
676
+ (continuous_radius_scaled_crossing hB hBm hBc hB0 hκ hκ8 γ G F hw hz a hε hεlim
677
+ v w U hv hvw hwU L hL)
678
+ rintro ω ⟨hω, s, hs, hV⟩
679
+ exact ⟨hω, s, hs, radiusInverseAngle_large_imp_crossing a hε hκ8 s w U hs.2 hwU L hL ω hω hV⟩
680
+
681
+ end SLEExactGauge
682
+ end
683
+
684
+
685
+ section
686
+
687
+ open Set Filter MeasureTheory ProbabilityTheory Classical
688
+ open scoped Topology NNReal ENNReal
689
+ namespace SLEExactGauge
690
+ variable {Ω : Type*} [mΩ : MeasurableSpace Ω]
691
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
692
+ {κ : ℝ} {z : ℂ} {ε : ℕ → ℝ}
693
+
694
+ end SLEExactGauge
695
+ end
696
+ end
697
+
698
+ end OAI
lean/OAI/Probability/SLE/MomentGauge.lean CHANGED
@@ -1,802 +1,802 @@
1
- import Mathlib
2
-
3
- namespace OAI
4
-
5
- /-! Quadratic moment envelopes, Hausdorff gauge admissibility and interval transfer. -/
6
-
7
- universe u
8
-
9
- noncomputable section
10
- open MeasureTheory Set Filter Metric
11
- open scoped NNReal ENNReal Topology
12
-
13
- namespace SLEExactGauge.Target
14
-
15
- open scoped ContinuousMapZero
16
- abbrev Driver := C(ℝ≥0, ℝ)₀
17
- instance : MeasurableSpace Driver := borel Driver
18
- instance : BorelSpace Driver := ⟨rfl⟩
19
- abbrev WienerLaw := Measure Driver
20
-
21
- def IsWiener (W : WienerLaw) : Prop :=
22
- ProbabilityTheory.IsBrownianReal (fun t b => b t) W
23
-
24
- def a (κ : ℝ) := 2 / κ
25
- def d (κ : ℝ) := 1 + 1 / (4 * a κ)
26
- def α (κ : ℝ) := 2 - d κ
27
- def p (κ : ℝ) := 4 * a κ - 1
28
-
29
- def driverValue (b : Driver) (t : ℝ) : ℝ := b t.toNNReal
30
-
31
- def cutoffField (κ : ℝ) (b : Driver) (j : ℕ) (t : ℝ) (z : ℂ) : ℂ :=
32
- (a κ : ℂ) * star (z - driverValue b t) /
33
- (max (‖z - driverValue b t‖ ^ 2) ((j : ℝ) ^ (-(4 : ℤ))) : ℝ)
34
-
35
- def mesh (N : ℕ) : ℝ := (2 : ℝ) ^ (-(N : ℤ))
36
-
37
- def eulerSteps (κ : ℝ) (b : Driver) (j N : ℕ) (z : ℂ) : ℕ → ℂ
38
- | 0 => z
39
- | k + 1 => eulerSteps κ b j N z k +
40
- mesh N * cutoffField κ b j ((k : ℝ) * mesh N) (eulerSteps κ b j N z k)
41
-
42
- def eulerFlow (κ : ℝ) (b : Driver) (j N : ℕ) (z : ℂ) (t : ℝ) : ℂ :=
43
- let k := ⌊t / mesh N⌋₊
44
- let w := t / mesh N - (k : ℝ)
45
- (1 - w : ℝ) * eulerSteps κ b j N z k + w * eulerSteps κ b j N z (k + 1)
46
-
47
- def cutoffFlow (κ : ℝ) (b : Driver) (j : ℕ) (z : ℂ) (t : ℝ) : ℂ :=
48
- limUnder atTop (fun N : ℕ => eulerFlow κ b j N z t)
49
-
50
- def Surviving (κ : ℝ) (b : Driver) (z : ℂ) (t : ℝ) : Prop :=
51
- ∃ j : ℕ, 1 ≤ j ∧ (j : ℝ)⁻¹ <
52
- sInf ((fun u : ℝ => (cutoffFlow κ b j z u).im) '' Icc 0 t)
53
-
54
- instance (κ : ℝ) (b : Driver) (z : ℂ) (t : ℝ) : Decidable (Surviving κ b z t) :=
55
- Classical.propDecidable _
56
-
57
- def flow (κ : ℝ) (b : Driver) (z : ℂ) (t : ℝ) : ℂ :=
58
- if h : Surviving κ b z t then cutoffFlow κ b (Nat.find h) z t else 0
59
-
60
- def IsHausdorffGauge (h : ℝ → ℝ) : Prop :=
61
- ContinuousOn h (Ici 0) ∧ MonotoneOn h (Ici 0) ∧ h 0 = 0 ∧ ∀ r > 0, 0 < h r
62
-
63
- def hausdorff (h : ℝ → ℝ) : OuterMeasure ℂ :=
64
- OuterMeasure.mkMetric (fun r => if r = ∞ then ∞ else ENNReal.ofReal (h r.toReal))
65
-
66
- def inverseFlow (κ : ℝ) (b : Driver) (t : ℝ) (w : ℂ) : ℂ :=
67
- @ite ℂ (∃ z : ℂ, Surviving κ b z t ∧ flow κ b z t = w) (Classical.propDecidable _)
68
- (Classical.epsilon (fun z : ℂ => Surviving κ b z t ∧ flow κ b z t = w)) 0
69
-
70
- def trace (κ : ℝ) (b : Driver) (t : ℝ) : ℂ :=
71
- limUnder (nhdsWithin 0 (Ioi 0)) (fun ε : ℝ =>
72
- inverseFlow κ b (κ * t) (driverValue b (κ * t) + ε * Complex.I))
73
-
74
- def IsChordalSLE {Ω : Type*} [MeasurableSpace Ω] (κ : ℝ)
75
- (γ : Ω → ℝ → ℂ) (P : Measure Ω) : Prop :=
76
- ∃ (W : WienerLaw) (B : Ω → Driver),
77
- IsWiener W ∧ ProbabilityTheory.HasLaw B W P ∧
78
- ∀ᵐ ω ∂P, ∀ t : ℝ, 0 ≤ t → γ ω t = trace κ (B ω) t
79
-
80
- end SLEExactGauge.Target
81
-
82
- namespace SLEExactGauge.QuadraticEnvelope
83
-
84
- variable {ι : Type*}
85
-
86
- def profile (b R : ι → ℝ) (d : ℝ) (i : ι) (r : ℝ) : ℝ :=
87
- b i * R i ^ d * max 1 ((r / R i) ^ 2)
88
-
89
- def full (b R : ι → ℝ) (d : ℝ) (r : ℝ) : ℝ :=
90
- if r ≤ 0 then 0 else sInf (range (fun i => profile b R d i r))
91
-
92
- variable {b R : ι → ℝ} {d : ℝ}
93
-
94
- lemma profile_nonneg (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
95
- (i : ι) (r : ℝ) : 0 ≤ profile b R d i r := by
96
- unfold profile
97
- exact mul_nonneg (mul_nonneg (hb i) (Real.rpow_nonneg (hR i).le d))
98
- (le_trans zero_le_one (le_max_left _ _))
99
-
100
- lemma base_le_profile (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
101
- (i : ι) (r : ℝ) : b i * R i ^ d ≤ profile b R d i r := by
102
- unfold profile
103
- exact le_mul_of_one_le_right
104
- (mul_nonneg (hb i) (Real.rpow_nonneg (hR i).le d)) (le_max_left _ _)
105
-
106
- lemma profile_mono (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
107
- (i : ι) {r s : ℝ} (hr : 0 ≤ r) (hrs : r ≤ s) :
108
- profile b R d i r ≤ profile b R d i s := by
109
- apply mul_le_mul_of_nonneg_left _
110
- (mul_nonneg (hb i) (Real.rpow_nonneg (hR i).le d))
111
- exact max_le_max_left _ <| pow_le_pow_left₀ (div_nonneg hr (hR i).le)
112
- (div_le_div_of_nonneg_right hrs (hR i).le) 2
113
-
114
- lemma profile_scale_le (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
115
- (i : ι) {C : ℝ} (hC : 1 ≤ C) (r : ℝ) :
116
- profile b R d i (C * r) ≤ C ^ 2 * profile b R d i r := by
117
- have hC2 : 1 ≤ C ^ 2 := by nlinarith
118
- have hmax : max 1 (((C * r) / R i) ^ 2) ≤
119
- C ^ 2 * max 1 ((r / R i) ^ 2) := by
120
- apply max_le
121
- · exact hC2.trans <| le_mul_of_one_le_right (sq_nonneg C) (le_max_left _ _)
122
- · calc
123
- (((C * r) / R i) ^ 2) = C ^ 2 * (r / R i) ^ 2 := by ring
124
- _ ≤ C ^ 2 * max 1 ((r / R i) ^ 2) :=
125
- mul_le_mul_of_nonneg_left (le_max_right _ _) (sq_nonneg C)
126
- unfold profile
127
- calc
128
- _ ≤ b i * R i ^ d * (C ^ 2 * max 1 ((r / R i) ^ 2)) :=
129
- mul_le_mul_of_nonneg_left hmax
130
- (mul_nonneg (hb i) (Real.rpow_nonneg (hR i).le d))
131
- _ = _ := by ring
132
-
133
- @[simp] lemma full_zero : full b R d 0 = 0 := by simp [full]
134
-
135
- lemma full_of_nonpos {r : ℝ} (hr : r ≤ 0) : full b R d r = 0 := by
136
- simp [full, hr]
137
-
138
- lemma full_of_pos {r : ℝ} (hr : 0 < r) :
139
- full b R d r = sInf (range (fun i => profile b R d i r)) := by
140
- simp [full, hr.not_ge]
141
-
142
- lemma profiles_bddBelow (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
143
- (r : ℝ) : BddBelow (range (fun i => profile b R d i r)) := by
144
- refine ⟨0, ?_⟩
145
- rintro _ ⟨i, rfl⟩
146
- exact profile_nonneg hb hR i r
147
-
148
- variable [Nonempty ι]
149
-
150
- lemma le_full {r v : ℝ} (hr : 0 < r)
151
- (hv : ∀ i, v ≤ profile b R d i r) : v ≤ full b R d r := by
152
- rw [full_of_pos hr]
153
- exact le_csInf (range_nonempty _) (by rintro _ ⟨i, rfl⟩; exact hv i)
154
-
155
- lemma full_nonneg (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
156
- (r : ℝ) : 0 ≤ full b R d r := by
157
- by_cases hr : r ≤ 0
158
- · rw [full_of_nonpos hr]
159
- · exact le_full (lt_of_not_ge hr) (fun i => profile_nonneg hb hR i r)
160
-
161
- omit [Nonempty ι] in
162
- lemma full_le_profile (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
163
- (i : ι) (r : ℝ) : full b R d r ≤ profile b R d i r := by
164
- by_cases hr : r ≤ 0
165
- · rw [full_of_nonpos hr]
166
- exact profile_nonneg hb hR i r
167
- · rw [full_of_pos (lt_of_not_ge hr)]
168
- exact csInf_le (profiles_bddBelow hb hR r) (mem_range_self i)
169
-
170
- lemma full_monoOn (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i) :
171
- MonotoneOn (full b R d) (Ici 0) := by
172
- intro r hr s hs hrs
173
- by_cases hr0 : r ≤ 0
174
- · rw [full_of_nonpos hr0]
175
- exact full_nonneg hb hR s
176
- · have hrpos := lt_of_not_ge hr0
177
- apply le_full (hrpos.trans_le hrs)
178
- intro i
179
- exact (full_le_profile hb hR i r).trans (profile_mono hb hR i hr hrs)
180
-
181
- theorem full_scale_le (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
182
- {C r : ℝ} (hC : 1 ≤ C) (hr : 0 ≤ r) :
183
- full b R d (C * r) ≤ C ^ 2 * full b R d r := by
184
- obtain rfl | hrpos := hr.eq_or_lt
185
- · simp
186
- have hCpos : 0 < C := zero_lt_one.trans_le hC
187
- have hC2 : 0 < C ^ 2 := sq_pos_of_pos hCpos
188
- have h : full b R d (C * r) / C ^ 2 ≤ full b R d r := by
189
- apply le_full hrpos
190
- intro i
191
- apply (div_le_iff₀ hC2).2
192
- calc
193
- full b R d (C * r) ≤ profile b R d i (C * r) := full_le_profile hb hR i _
194
- _ ≤ C ^ 2 * profile b R d i r := profile_scale_le hb hR i hC r
195
- _ = profile b R d i r * C ^ 2 := mul_comm _ _
196
- simpa [mul_comm] using (div_le_iff₀ hC2).1 h
197
-
198
- lemma power_lower_bound {c r : ℝ} (hc : 0 < c) (hb : ∀ i, c ≤ b i)
199
- (hR : ∀ i, 0 < R i) (hd0 : 0 ≤ d) (hd2 : d ≤ 2) (hr : 0 < r) :
200
- c * r ^ d ≤ full b R d r := by
201
- apply le_full hr
202
- intro i
203
- have hshape : r ^ d ≤ R i ^ d * max 1 ((r / R i) ^ 2) := by
204
- rcases le_total r (R i) with hsmall | hlarge
205
- · exact (Real.rpow_le_rpow hr.le hsmall hd0).trans <|
206
- le_mul_of_one_le_right (Real.rpow_nonneg (hR i).le d) (le_max_left _ _)
207
- · have hratio : 1 ≤ r / R i := (le_div_iff₀ (hR i)).2 (by simpa using hlarge)
208
- have hp : (r / R i) ^ d ≤ (r / R i) ^ 2 := by
209
- exact_mod_cast Real.rpow_le_rpow_of_exponent_le hratio hd2
210
- calc
211
- r ^ d = R i ^ d * (r / R i) ^ d := by
212
- rw [← Real.mul_rpow (hR i).le (div_nonneg hr.le (hR i).le)]
213
- congr 1
214
- field_simp [(hR i).ne']
215
- _ ≤ R i ^ d * (r / R i) ^ 2 :=
216
- mul_le_mul_of_nonneg_left hp (Real.rpow_nonneg (hR i).le d)
217
- _ ≤ R i ^ d * max 1 ((r / R i) ^ 2) :=
218
- mul_le_mul_of_nonneg_left (le_max_right _ _) (Real.rpow_nonneg (hR i).le d)
219
- calc
220
- c * r ^ d ≤ b i * r ^ d := mul_le_mul_of_nonneg_right (hb i) (Real.rpow_nonneg hr.le d)
221
- _ ≤ b i * (R i ^ d * max 1 ((r / R i) ^ 2)) :=
222
- mul_le_mul_of_nonneg_left hshape (hc.le.trans (hb i))
223
- _ = profile b R d i r := by rw [profile]; ring
224
-
225
- lemma full_pos {c r : ℝ} (hc : 0 < c) (hb : ∀ i, c ≤ b i)
226
- (hR : ∀ i, 0 < R i) (hd0 : 0 ≤ d) (hd2 : d ≤ 2) (hr : 0 < r) :
227
- 0 < full b R d r :=
228
- (mul_pos hc (Real.rpow_pos_of_pos hr d)).trans_le
229
- (power_lower_bound hc hb hR hd0 hd2 hr)
230
-
231
- lemma ratio_bounds (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
232
- {r s : ℝ} (hr : 0 < r) (hs : 0 < s) :
233
- min 1 ((s / r) ^ 2) * full b R d r ≤ full b R d s ∧
234
- full b R d s ≤ max 1 ((s / r) ^ 2) * full b R d r := by
235
- have hmono := full_monoOn (d := d) hb hR
236
- have hnonneg := full_nonneg (d := d) hb hR r
237
- constructor
238
- · rcases le_total r s with hrs | hsr
239
- · calc
240
- _ ≤ 1 * full b R d r := mul_le_mul_of_nonneg_right (min_le_left _ _) hnonneg
241
- _ = full b R d r := one_mul _
242
- _ ≤ full b R d s := hmono hr.le hs.le hrs
243
- · have hC : 1 ≤ r / s := (le_div_iff₀ hs).2 (by simpa using hsr)
244
- have hscale := full_scale_le (d := d) hb hR hC hs.le
245
- rw [div_mul_cancel₀ r hs.ne'] at hscale
246
- calc
247
- _ ≤ (s / r) ^ 2 * full b R d r :=
248
- mul_le_mul_of_nonneg_right (min_le_right _ _) hnonneg
249
- _ ≤ (s / r) ^ 2 * ((r / s) ^ 2 * full b R d s) :=
250
- mul_le_mul_of_nonneg_left hscale (sq_nonneg _)
251
- _ = full b R d s := by field_simp
252
- · rcases le_total s r with hsr | hrs
253
- · exact (hmono hs.le hr.le hsr).trans <| by
254
- simpa using mul_le_mul_of_nonneg_right (le_max_left 1 ((s / r) ^ 2)) hnonneg
255
- · have hC : 1 ≤ s / r := (le_div_iff₀ hr).2 (by simpa using hrs)
256
- have hscale := full_scale_le (d := d) hb hR hC hr.le
257
- rw [div_mul_cancel₀ s hr.ne'] at hscale
258
- exact hscale.trans <| mul_le_mul_of_nonneg_right (le_max_right _ _) hnonneg
259
-
260
- lemma continuousAt_pos (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
261
- {r : ℝ} (hr : 0 < r) : ContinuousAt (full b R d) r := by
262
- have hlow : ContinuousAt (fun s : ℝ => min 1 ((s / r) ^ 2) * full b R d r) r := by
263
- fun_prop
264
- have hupp : ContinuousAt (fun s : ℝ => max 1 ((s / r) ^ 2) * full b R d r) r := by
265
- fun_prop
266
- apply tendsto_of_tendsto_of_tendsto_of_le_of_le'
267
- (by simpa [hr.ne'] using hlow.tendsto)
268
- (by simpa [hr.ne'] using hupp.tendsto)
269
- · filter_upwards [Ioi_mem_nhds hr] with s hs
270
- exact (ratio_bounds hb hR hr hs).1
271
- · filter_upwards [Ioi_mem_nhds hr] with s hs
272
- exact (ratio_bounds hb hR hr hs).2
273
-
274
- lemma continuousAt_zero (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
275
- (hsmall : ∀ ε > 0, ∃ i, b i * R i ^ d < ε) :
276
- ContinuousAt (full b R d) 0 := by
277
- rw [Metric.continuousAt_iff]
278
- intro ε hε
279
- obtain ⟨i, hi⟩ := hsmall ε hε
280
- refine ⟨R i, hR i, ?_⟩
281
- intro x hx
282
- rw [full_zero, Real.dist_eq, sub_zero, abs_of_nonneg (full_nonneg hb hR x)]
283
- by_cases hx0 : x ≤ 0
284
- · rw [full_of_nonpos hx0]
285
- exact hε
286
- · have hxpos : 0 < x := lt_of_not_ge hx0
287
- have hxr : x < R i := by
288
- simpa [Real.dist_eq, abs_of_pos hxpos] using hx
289
- have hratio : 0 ≤ x / R i := div_nonneg hxpos.le (hR i).le
290
- have hratio1 : x / R i ≤ 1 := (div_le_one (hR i)).2 hxr.le
291
- have hp : (x / R i) ^ 2 ≤ 1 := by
292
- simpa using (pow_le_pow_left₀ hratio hratio1 2)
293
- calc
294
- full b R d x ≤ profile b R d i x := full_le_profile hb hR i x
295
- _ = b i * R i ^ d := by simp [profile, max_eq_left hp]
296
- _ < ε := hi
297
-
298
- theorem isHausdorffGauge {c : ℝ} (hc : 0 < c) (hb : ∀ i, c ≤ b i)
299
- (hR : ∀ i, 0 < R i) (hd0 : 0 ≤ d) (hd2 : d ≤ 2)
300
- (hsmall : ∀ ε > 0, ∃ i, b i * R i ^ d < ε) :
301
- SLEExactGauge.Target.IsHausdorffGauge (full b R d) := by
302
- have hb0 : ∀ i, 0 ≤ b i := fun i => hc.le.trans (hb i)
303
- refine ⟨?_, full_monoOn hb0 hR, full_zero, fun r hr => full_pos hc hb hR hd0 hd2 hr⟩
304
- intro r hr
305
- obtain rfl | hrpos := (show 0 ≤ r from hr).eq_or_lt
306
- · exact (continuousAt_zero hb0 hR hsmall).continuousWithinAt
307
- · exact (continuousAt_pos hb0 hR hrpos).continuousWithinAt
308
-
309
- theorem restore_finite (hb : ∀ i, 0 < b i) (hR : ∀ i, 0 < R i)
310
- (discarded : Finset ι) (F : ℝ → ℝ) {M C : ℝ} (hM : 0 ≤ M)
311
- (hbound : ∀ r > 0, F r ≤ M)
312
- (htail : ∀ i, i ∉ discarded → ∀ r > 0, F r ≤ C * profile b R d i r) :
313
- ∃ C' : ℝ, 0 < C' ∧ ∀ r > 0, F r ≤ C' * full b R d r := by
314
- let C' := max C 0 + 1 + ∑ i ∈ discarded, M / (b i * R i ^ d)
315
- have hbase : ∀ i, 0 < b i * R i ^ d :=
316
- fun i => mul_pos (hb i) (Real.rpow_pos_of_pos (hR i) d)
317
- have hterm : ∀ i, 0 ≤ M / (b i * R i ^ d) :=
318
- fun i => div_nonneg hM (hbase i).le
319
- have hsum : 0 ≤ ∑ i ∈ discarded, M / (b i * R i ^ d) :=
320
- Finset.sum_nonneg (fun i _ => hterm i)
321
- have hC' : 0 < C' := by
322
- dsimp [C']
323
- linarith [le_max_right C 0]
324
- have hCC' : C ≤ C' := by
325
- dsimp [C']
326
- linarith [le_max_left C 0]
327
- have hall : ∀ r > 0, ∀ i, F r ≤ C' * profile b R d i r := by
328
- intro r hr i
329
- by_cases hi : i ∈ discarded
330
- · have hi_le : M / (b i * R i ^ d) ≤ C' := by
331
- have hh := Finset.single_le_sum (fun i (_ : i ∈ discarded) => hterm i) hi
332
- dsimp [C']
333
- linarith [le_max_right C 0]
334
- calc
335
- F r ≤ M := hbound r hr
336
- _ ≤ C' * (b i * R i ^ d) := (div_le_iff₀ (hbase i)).1 hi_le
337
- _ ≤ C' * profile b R d i r := mul_le_mul_of_nonneg_left
338
- (base_le_profile (fun i => (hb i).le) hR i r) hC'.le
339
- · exact (htail i hi r hr).trans <| mul_le_mul_of_nonneg_right hCC'
340
- (profile_nonneg (fun i => (hb i).le) hR i r)
341
- refine ⟨C', hC', fun r hr => ?_⟩
342
- have h : F r / C' ≤ full b R d r := by
343
- apply le_full hr
344
- intro i
345
- exact (div_le_iff₀ hC').2 (by simpa [mul_comm] using hall r hr i)
346
- simpa [mul_comm] using (div_le_iff₀ hC').1 h
347
-
348
- end SLEExactGauge.QuadraticEnvelope
349
-
350
- namespace SLEExactGauge.Target
351
-
352
- def diskMap (θ : ℝ) (z : ℂ) : ℂ :=
353
- (z - Complex.exp (θ * Complex.I)) / (z - Complex.exp (-θ * Complex.I))
354
-
355
- def diskMapInv (θ : ℝ) (x : ℂ) : ℂ :=
356
- (Complex.exp (θ * Complex.I) - x * Complex.exp (-θ * Complex.I)) / (1 - x)
357
-
358
- def centeredFlow (κ : ℝ) (b : Driver) (z : ℂ) (t : ℝ) : ℂ :=
359
- flow κ b z t - driverValue b t
360
-
361
- def clock (κ θ : ℝ) (b : Driver) (x : ℂ) (t : ℝ) : ℝ :=
362
- ∫ u in Icc (0 : ℝ) t,
363
- (flow κ b (diskMapInv θ x) u).im ^ 2 /
364
- ‖centeredFlow κ b (diskMapInv θ x) u‖ ^ 4
365
-
366
- def initialRadius (θ : ℝ) (x : ℂ) : ℝ :=
367
- 2 * (diskMapInv θ x).im * ‖deriv (diskMap θ) (diskMapInv θ x)‖
368
-
369
- def radius (κ θ : ℝ) (b : Driver) (x : ℂ) (t : ℝ) : ℝ :=
370
- initialRadius θ x * Real.exp (-2 * a κ * clock κ θ b x t)
371
-
372
- def angle (κ θ : ℝ) (b : Driver) (x : ℂ) (t : ℝ) : ℝ :=
373
- Complex.arg (centeredFlow κ b (diskMapInv θ x) t)
374
-
375
- def green (κ θ : ℝ) (b : Driver) (x : ℂ) (t : ℝ) : ℝ :=
376
- if Surviving κ b (diskMapInv θ x) t then
377
- radius κ θ b x t ^ (-α κ) * Real.sin (angle κ θ b x t) ^ p κ
378
- else 0
379
-
380
- def levelTime (κ θ : ℝ) (b : Driver) (ℓ : ℝ) : ℝ≥0∞ :=
381
- sInf {t | ∃ q : ℚ, 0 < q ∧ t = ENNReal.ofReal (q : ℝ) ∧
382
- Surviving κ b (diskMapInv θ 0) q ∧ ℓ < clock κ θ b 0 q}
383
-
384
- def diskK : Set ℂ := closedBall 0 (1 / 4)
385
-
386
- def potential (κ θ : ℝ) (b : Driver) (t : ℝ) : ℝ≥0∞ :=
387
- ∫⁻ x in diskK, ENNReal.ofReal (green κ θ b x t)
388
-
389
- def concat (b c : Driver) (t : ℝ) : Driver where
390
- toFun u := if u ≤ t.toNNReal then b u else b t.toNNReal + c (u - t.toNNReal)
391
- continuous_toFun := by
392
- apply Continuous.if_le (map_continuous b)
393
- (continuous_const.add ((map_continuous c).comp (continuous_id.sub continuous_const)))
394
- continuous_id continuous_const
395
- intro u hu
396
- change u = t.toNNReal at hu
397
- subst u
398
- simp
399
- map_zero' := by simp
400
-
401
- def potentialDifference (κ θ : ℝ) (W : WienerLaw) (b : Driver) (h i : ℕ) : ℝ :=
402
- let t := (i : ℝ) * mesh h
403
- let v := potential κ θ b t
404
- let w := ∫⁻ c, potential κ θ (concat b c t) (((i : ℝ) + 1) * mesh h) ∂W
405
- if v < ∞ ∧ w < ∞ then v.toReal - w.toReal else 0
406
-
407
- def discreteMass (κ θ : ℝ) (W : WienerLaw) (b : Driver) (ℓ : ℝ) (h : ℕ) : ℝ :=
408
- ∑ i ∈ Finset.range (h * 2 ^ h),
409
- if ENNReal.ofReal (((i : ℝ) + 1) * mesh h) ≤ levelTime κ θ b ℓ
410
- then potentialDifference κ θ W b h i else 0
411
-
412
- def levelDensity (κ θ : ℝ) (b : Driver) (ℓ : ℝ) : ℝ :=
413
- let τ := levelTime κ θ b ℓ
414
- if τ < ∞ then Real.exp (2 * a κ * α κ * ℓ) *
415
- Real.sin (angle κ θ b 0 τ.toReal) ^ p κ / Real.sin θ ^ p κ else 0
416
-
417
- def angleLaw (κ : ℝ) : Measure ℝ :=
418
- let unnormalized := (volume.restrict (Ioo (0 : ℝ) Real.pi)).withDensity
419
- (fun θ => ENNReal.ofReal (Real.sin θ ^ (4 * a κ)))
420
- (unnormalized Set.univ)⁻¹ • unnormalized
421
-
422
- def clip (u x : ℝ) : ℝ := min (max x 0) u
423
-
424
- def finiteMoment (κ : ℝ) (W : WienerLaw) (n : ℕ) (ℓ : ℝ) : ℝ :=
425
- limUnder atTop (fun u : ℕ => limUnder atTop (fun h : ℕ =>
426
- ∫ θ, ∫ b, levelDensity κ θ b ℓ *
427
- (clip u (discreteMass κ θ W b ℓ h)) ^ n ∂W ∂angleLaw κ))
428
-
429
- def moment (κ : ℝ) (W : WienerLaw) (n : ℕ) : ℝ :=
430
- limUnder atTop (fun ℓ : ℕ => finiteMoment κ W n ℓ)
431
-
432
- def batchLevel (κ : ℝ) (W : WienerLaw) (n : ℕ) : ℕ :=
433
- 1 + Nat.card {j : ℕ // 1 ≤ j ∧ finiteMoment κ W n j ≤ 3 * moment κ W n / 4}
434
-
435
- def threshold (κ : ℝ) (W : WienerLaw) (n : ℕ) : ℝ :=
436
- 4 * moment κ W (n + 1) / moment κ W n
437
-
438
- def multiplicity (κ : ℝ) (W : WienerLaw) (n : ℕ) (k : ℤ) : ℕ :=
439
- if (2 : ℝ) ^ k ≤ threshold κ W n then
440
- ⌊(4 : ℝ) ^ n * ((2 : ℝ) ^ k) ^ n / moment κ W n⌋₊ else 0
441
-
442
- abbrev Entry := ℕ × Option (ℤ × ℕ)
443
-
444
- def ValidEntry (κ : ℝ) (W : WienerLaw) (e : Entry) : Prop :=
445
- 1 ≤ e.1 ∧ match e.2 with
446
- | none => True
447
- | some (k,j) => j < multiplicity κ W e.1 k
448
-
449
- def entryValue (e : Entry) : ℝ :=
450
- match e.2 with
451
- | none => e.1
452
- | some (k,_) => (2 : ℝ) ^ k
453
-
454
- def entryPosition (κ : ℝ) (W : WienerLaw) (e : Entry) : ℕ :=
455
- match e.2 with
456
- | none => ∑' k : ℤ, multiplicity κ W e.1 k
457
- | some (k,j) => (∑' l : ℤ, if l < k then multiplicity κ W e.1 l else 0) + j
458
-
459
- def entryRadius (κ : ℝ) (W : WienerLaw) (e : Entry) : ℝ :=
460
- Real.exp (-(e.1 : ℝ) ^ 2 - 2 * a κ * (entryPosition κ W e : ℝ) *
461
- ((batchLevel κ W e.1 : ℝ) + (e.1 : ℝ)))
462
-
463
- def entryCost (κ : ℝ) (W : WienerLaw) (e : Entry) (r : ℝ) : ℝ :=
464
- entryValue e * entryRadius κ W e ^ d κ * max 1 ((r / entryRadius κ W e) ^ 2)
465
-
466
- def gauge (κ : ℝ) (W : WienerLaw) (r : ℝ) : ℝ :=
467
- if r ≤ 0 then 0 else sInf {v | ∃ e : Entry, ValidEntry κ W e ∧ v = entryCost κ W e r}
468
-
469
- end SLEExactGauge.Target
470
-
471
- namespace SLEExactGauge.Intervals
472
-
473
- theorem all_real_of_all_rational {X : Type*} (μ : OuterMeasure X) (γ : ℝ → X)
474
- (h : ∀ q r : ℚ, 0 < q → q < r →
475
- 0 < μ (γ '' Icc (q : ℝ) (r : ℝ)) ∧ μ (γ '' Icc (q : ℝ) (r : ℝ)) < ∞) :
476
- ∀ s t : ℝ, 0 < s → s < t →
477
- 0 < μ (γ '' Icc s t) ∧ μ (γ '' Icc s t) < ∞ := by
478
- intro s t hs hst
479
- obtain ⟨q, hsq, hqt⟩ := exists_rat_btwn hst
480
- obtain ⟨r, hqr, hrt⟩ := exists_rat_btwn hqt
481
- have hq0 : 0 < q := by exact_mod_cast hs.trans hsq
482
- have hqr' : q < r := by exact_mod_cast hqr
483
- have hpos := (h q r hq0 hqr').1
484
- have hlower : γ '' Icc (q : ℝ) (r : ℝ) ⊆ γ '' Icc s t :=
485
- image_mono (Icc_subset_Icc hsq.le hrt.le)
486
- obtain ⟨u, hu0, hus⟩ := exists_rat_btwn hs
487
- obtain ⟨v, htv⟩ := exists_rat_gt t
488
- have hu0' : 0 < u := by exact_mod_cast hu0
489
- have huv : u < v := by exact_mod_cast hus.trans (hst.trans htv)
490
- have hfinite := (h u v hu0' huv).2
491
- have hupper : γ '' Icc s t ⊆ γ '' Icc (u : ℝ) (v : ℝ) :=
492
- image_mono (Icc_subset_Icc hus.le htv.le)
493
- exact ⟨hpos.trans_le (μ.mono hlower), (μ.mono hupper).trans_lt hfinite⟩
494
-
495
- theorem ae_all_real_of_ae_rational {Ω X : Type*} [MeasurableSpace Ω]
496
- (P : Measure Ω) (μ : OuterMeasure X) (γ : Ω → ℝ → X)
497
- (h : ∀ q r : ℚ, 0 < q → q < r →
498
- ∀ᵐ ω ∂P, 0 < μ (γ ω '' Icc (q : ℝ) (r : ℝ)) ∧
499
- μ (γ ω '' Icc (q : ℝ) (r : ℝ)) < ∞) :
500
- ∀ᵐ ω ∂P, ∀ s t : ℝ, 0 < s → s < t →
501
- 0 < μ (γ ω '' Icc s t) ∧ μ (γ ω '' Icc s t) < ∞ := by
502
- have hall : ∀ᵐ ω ∂P, ∀ q r : ℚ, 0 < q → q < r →
503
- 0 < μ (γ ω '' Icc (q : ℝ) (r : ℝ)) ∧
504
- μ (γ ω '' Icc (q : ℝ) (r : ℝ)) < ∞ := by
505
- simpa only [ae_all_iff] using h
506
- exact hall.mono (fun ω hω => all_real_of_all_rational μ (γ ω) hω)
507
-
508
- end SLEExactGauge.Intervals
509
-
510
- namespace SLEExactGauge.Target
511
-
512
- abbrev GaugeIndex (κ : ℝ) (W : WienerLaw) := {e : Entry // ValidEntry κ W e}
513
-
514
- def cleanupIndex (κ : ℝ) (W : WienerLaw) (n : ℕ) (hn : 1 ≤ n) : GaugeIndex κ W :=
515
- ⟨(n, none), hn, trivial⟩
516
-
517
- instance (κ : ℝ) (W : WienerLaw) : Nonempty (GaugeIndex κ W) :=
518
- ⟨cleanupIndex κ W 1 le_rfl⟩
519
-
520
- abbrev weights (κ : ℝ) (W : WienerLaw) (i : GaugeIndex κ W) : ℝ := entryValue i.val
521
- abbrev radii (κ : ℝ) (W : WienerLaw) (i : GaugeIndex κ W) : ℝ := entryRadius κ W i.val
522
-
523
- lemma weights_pos (κ : ℝ) (W : WienerLaw) (i : GaugeIndex κ W) : 0 < weights κ W i := by
524
- rcases i with ⟨⟨n, o⟩, hn, _⟩
525
- cases o with
526
- | none =>
527
- change (0 : ℝ) < (n : ℝ)
528
- exact Nat.cast_pos.mpr (Nat.succ_le_iff.mp hn)
529
- | some kj =>
530
- rcases kj with ⟨k, j⟩
531
- exact zpow_pos (by norm_num : (0 : ℝ) < 2) k
532
-
533
- lemma radii_pos (κ : ℝ) (W : WienerLaw) (i : GaugeIndex κ W) : 0 < radii κ W i :=
534
- Real.exp_pos _
535
-
536
- lemma gauge_eq_full (κ : ℝ) (W : WienerLaw) :
537
- gauge κ W = QuadraticEnvelope.full (weights κ W) (radii κ W) (d κ) := by
538
- funext r
539
- unfold gauge QuadraticEnvelope.full
540
- split_ifs with hr
541
- · rfl
542
- · congr 1
543
- ext v
544
- constructor
545
- · rintro ⟨e, he, hv⟩
546
- exact ⟨⟨e, he⟩, hv.symm⟩
547
- · rintro ⟨⟨e, he⟩, hv⟩
548
- exact ⟨e, he, hv.symm⟩
549
-
550
- lemma internal_a_pos {κ : ℝ} (hκ : 0 < κ) : 0 < a κ := div_pos (by norm_num) hκ
551
-
552
- lemma dimension_pos {κ : ℝ} (hκ : 0 < κ) : 0 < d κ := by
553
- have ha := internal_a_pos hκ
554
- unfold d
555
- positivity
556
-
557
- lemma cleanup_radius_le {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw) (n : ℕ) (hn : 1 ≤ n) :
558
- radii κ W (cleanupIndex κ W n hn) ≤ Real.exp (-(n : ℝ) ^ 2) := by
559
- unfold radii cleanupIndex entryRadius
560
- apply Real.exp_le_exp.mpr
561
- dsimp only
562
- have ha := internal_a_pos hκ
563
- have hnonneg : 0 ≤ 2 * a κ * (entryPosition κ W (n, none) : ℝ) *
564
- ((batchLevel κ W n : ℝ) + (n : ℝ)) := by positivity
565
- linarith
566
-
567
- lemma cleanup_base_le {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw) (n : ℕ) (hn : 1 ≤ n) :
568
- weights κ W (cleanupIndex κ W n hn) * radii κ W (cleanupIndex κ W n hn) ^ d κ ≤
569
- (n : ℝ) * Real.exp (-d κ * (n : ℝ) ^ 2) := by
570
- have hd := dimension_pos hκ
571
- change (n : ℝ) * radii κ W (cleanupIndex κ W n hn) ^ d κ ≤ _
572
- calc
573
- _ ≤ (n : ℝ) * Real.exp (-(n : ℝ) ^ 2) ^ d κ := by
574
- apply mul_le_mul_of_nonneg_left _ (Nat.cast_nonneg n)
575
- exact Real.rpow_le_rpow (radii_pos κ W _).le (cleanup_radius_le hκ W n hn) hd.le
576
- _ = _ := by rw [← Real.exp_mul]; congr 2; ring
577
-
578
- lemma cleanup_small {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw) :
579
- ∀ ε > 0, ∃ i : GaugeIndex κ W, weights κ W i * radii κ W i ^ d κ < ε := by
580
- have hd := dimension_pos hκ
581
- have hlim : Tendsto (fun n : ℕ => (n : ℝ) * Real.exp (-d κ * (n : ℝ))) atTop (𝓝 0) := by
582
- convert (tendsto_rpow_mul_exp_neg_mul_atTop_nhds_zero 1 (d κ) hd).comp
583
- (tendsto_natCast_atTop_atTop : Tendsto (fun n : ℕ => (n : ℝ)) atTop atTop) using 1
584
- ext n
585
- simp only [Function.comp_apply, Real.rpow_one]
586
- intro ε hε
587
- obtain ⟨n, hnε, hn⟩ :=
588
- ((hlim.eventually (gt_mem_nhds hε)).and (eventually_ge_atTop 1)).exists
589
- refine ⟨cleanupIndex κ W n hn, lt_of_le_of_lt ?_ hnε⟩
590
- have hnreal : 1 ≤ (n : ℝ) := by exact_mod_cast hn
591
- have hsq : (n : ℝ) ≤ (n : ℝ) ^ 2 := by nlinarith
592
- calc
593
- _ ≤ (n : ℝ) * Real.exp (-d κ * (n : ℝ) ^ 2) := cleanup_base_le hκ W n hn
594
- _ ≤ (n : ℝ) * Real.exp (-d κ * (n : ℝ)) := by
595
- apply mul_le_mul_of_nonneg_left _ (Nat.cast_nonneg n)
596
- exact Real.exp_le_exp.mpr (mul_le_mul_of_nonpos_left hsq (neg_nonpos.mpr hd.le))
597
-
598
- theorem gauge_basic_properties {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw) :
599
- ContinuousOn (gauge κ W) (Ici 0) ∧
600
- MonotoneOn (gauge κ W) (Ici 0) ∧
601
- gauge κ W 0 = 0 ∧
602
- (∀ r : ℝ, 0 ≤ gauge κ W r) ∧
603
- ∀ C ≥ 1, ∀ r ≥ 0, gauge κ W (C * r) ≤ C ^ 2 * gauge κ W r := by
604
- rw [gauge_eq_full]
605
- have hb : ∀ i, 0 ≤ weights κ W i := fun i => (weights_pos κ W i).le
606
- have hR := radii_pos κ W
607
- refine ⟨?_, QuadraticEnvelope.full_monoOn hb hR, QuadraticEnvelope.full_zero,
608
- QuadraticEnvelope.full_nonneg hb hR, fun _ hC _ hr => QuadraticEnvelope.full_scale_le hb hR hC hr⟩
609
- intro r hr
610
- obtain rfl | hrpos := (show 0 ≤ r from hr).eq_or_lt
611
- · exact (QuadraticEnvelope.continuousAt_zero hb hR (cleanup_small hκ W)).continuousWithinAt
612
- · exact (QuadraticEnvelope.continuousAt_pos hb hR hrpos).continuousWithinAt
613
-
614
-
615
-
616
- theorem hausdorff_arbitrary_covers (h : ℝ → ℝ) (h0 : h 0 = 0) (E : Set ℂ) :
617
- hausdorff h E =
618
- ⨆ (δ : ℝ≥0∞) (_ : 0 < δ),
619
- ⨅ (U : ℕ → Set ℂ) (_ : E ⊆ ⋃ j, U j) (_ : ∀ j, Metric.ediam (U j) ≤ δ),
620
- ∑' j, if Metric.ediam (U j) = ∞ then ∞
621
- else ENNReal.ofReal (h (Metric.ediam (U j)).toReal) := by
622
- let m : ℝ≥0∞ → ℝ≥0∞ := fun r => if r = ∞ then ∞ else ENNReal.ofReal (h r.toReal)
623
- have hm0 : m 0 = 0 := by simp [m, h0]
624
- have hnonempty (U : Set ℂ) : (⨆ _ : U.Nonempty, m (Metric.ediam U)) = m (Metric.ediam U) := by
625
- by_cases hU : U.Nonempty
626
- · simp [hU]
627
- · rw [not_nonempty_iff_eq_empty.mp hU]
628
- simp [hm0]
629
- change OuterMeasure.mkMetric m E = _
630
- rw [OuterMeasure.coe_mkMetric, Measure.mkMetric_apply]
631
- simp only [hnonempty]
632
- rfl
633
-
634
-
635
-
636
- lemma trace_isChordalSLE (κ : ℝ) {W : WienerLaw} (hW : IsWiener W) :
637
- IsChordalSLE κ (trace κ) W := by
638
- refine ⟨W, id, hW, ProbabilityTheory.HasLaw.id, ?_⟩
639
- exact ae_of_all _ (fun _ _ _ => rfl)
640
-
641
- theorem transfer_interval_estimates {κ : ℝ} {h : ℝ → ℝ}
642
- (hcanonical : ∀ W : WienerLaw, IsWiener W →
643
- ∀ᵐ b ∂W, ∀ s t : ℝ, 0 < s → s < t →
644
- 0 < hausdorff h (trace κ b '' Icc s t) ∧
645
- hausdorff h (trace κ b '' Icc s t) < ∞)
646
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (γ : Ω → ℝ → ℂ)
647
- (hγ : IsChordalSLE κ γ P) :
648
- ∀ᵐ ω ∂P, ∀ s t : ℝ, 0 < s → s < t →
649
- 0 < hausdorff h (γ ω '' Icc s t) ∧
650
- hausdorff h (γ ω '' Icc s t) < ∞ := by
651
- obtain ⟨W, B, hW, hB, htrace⟩ := hγ
652
- have hmap := hcanonical W hW
653
- rw [← hB.map_eq] at hmap
654
- have hpull := ae_of_ae_map hB.aemeasurable hmap
655
- filter_upwards [hpull, htrace] with ω hω htr
656
- intro s t hs hst
657
- have heq : γ ω '' Icc s t = trace κ (B ω) '' Icc s t := by
658
- apply Set.image_congr
659
- intro v hv
660
- exact htr v (hs.le.trans hv.1)
661
- rw [heq]
662
- exact hω s t hs hst
663
-
664
-
665
-
666
- lemma dimension_eq (κ : ℝ) : d κ = 1 + κ / 8 := by
667
- unfold d a
668
- field_simp
669
- ring
670
-
671
- lemma dimension_lt_two {κ : ℝ} (hκ8 : κ < 8) : d κ < 2 := by
672
- rw [dimension_eq κ]
673
- linarith
674
-
675
- lemma multiplicity_positive_bounds (κ : ℝ) (W : WienerLaw) {n : ℕ}
676
- (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
677
- (hJ : moment κ W 1 ^ n ≤ moment κ W n) {k : ℤ}
678
- (hNk : 0 < multiplicity κ W n k) :
679
- moment κ W 1 / 4 ≤ (2 : ℝ) ^ k ∧ (2 : ℝ) ^ k ≤ threshold κ W n := by
680
- have hcut : (2 : ℝ) ^ k ≤ threshold κ W n := by
681
- by_contra hcut
682
- simp [multiplicity, hcut] at hNk
683
- have hmn : 0 < moment κ W n := (pow_pos hm1 n).trans_le hJ
684
- have hfloor : 0 < ⌊(4 : ℝ) ^ n * ((2 : ℝ) ^ k) ^ n / moment κ W n⌋₊ := by
685
- simpa [multiplicity, hcut] using hNk
686
- have hw := Nat.floor_pos.mp hfloor
687
- have hnum : moment κ W n ≤ ((4 : ℝ) * 2 ^ k) ^ n := by
688
- simpa only [one_mul, mul_pow] using (le_div_iff₀ hmn).1 hw
689
- have hb : moment κ W 1 ≤ (4 : ℝ) * 2 ^ k :=
690
- le_of_pow_le_pow_left₀ (by omega) (by positivity) (hJ.trans hnum)
691
- exact ⟨(div_le_iff₀ (by norm_num : (0 : ℝ) < 4)).2 (by linarith), hcut⟩
692
-
693
- lemma weights_lower_of_moment_inequalities (κ : ℝ) (W : WienerLaw)
694
- (hm1 : 0 < moment κ W 1)
695
- (hJ : ∀ n : ℕ, 1 ≤ n → moment κ W 1 ^ n ≤ moment κ W n)
696
- (i : GaugeIndex κ W) : min 1 (moment κ W 1 / 4) ≤ weights κ W i := by
697
- rcases i with ⟨⟨n, o⟩, hn, ho⟩
698
- cases o with
699
- | none =>
700
- change min 1 (moment κ W 1 / 4) ≤ (n : ℝ)
701
- exact (min_le_left _ _).trans (by exact_mod_cast hn)
702
- | some kj =>
703
- rcases kj with ⟨k, j⟩
704
- change j < multiplicity κ W n k at ho
705
- change min 1 (moment κ W 1 / 4) ≤ (2 : ℝ) ^ k
706
- exact (min_le_right _ _).trans
707
- (multiplicity_positive_bounds κ W hn hm1 (hJ n hn)
708
- ((Nat.zero_le j).trans_lt ho)).1
709
-
710
- theorem gauge_admissible_of_moment_inequalities {κ : ℝ}
711
- (hκ0 : 0 < κ) (hκ8 : κ < 8) (W : WienerLaw)
712
- (hm1 : 0 < moment κ W 1)
713
- (hJ : ∀ n : ℕ, 1 ≤ n → moment κ W 1 ^ n ≤ moment κ W n) :
714
- IsHausdorffGauge (gauge κ W) := by
715
- rw [gauge_eq_full]
716
- exact QuadraticEnvelope.isHausdorffGauge
717
- (c := min 1 (moment κ W 1 / 4))
718
- (lt_min zero_lt_one (div_pos hm1 (by norm_num)))
719
- (weights_lower_of_moment_inequalities κ W hm1 hJ)
720
- (radii_pos κ W) (dimension_pos hκ0).le (dimension_lt_two hκ8).le
721
- (cleanup_small hκ0 W)
722
-
723
- lemma multiplicity_support_finite (κ : ℝ) (W : WienerLaw) {n : ℕ}
724
- (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
725
- (hJ : moment κ W 1 ^ n ≤ moment κ W n) :
726
- Set.Finite {k : ℤ | 0 < multiplicity κ W n k} := by
727
- have hlog : 0 < Real.log 2 := Real.log_pos (by norm_num)
728
- apply (Set.finite_Icc (⌈Real.log (moment κ W 1 / 4) / Real.log 2⌉ : ℤ)
729
- (⌊Real.log (threshold κ W n) / Real.log 2⌋ : ℤ)).subset
730
- intro k hk
731
- obtain ⟨hlo, hhi⟩ := multiplicity_positive_bounds κ W hn hm1 hJ hk
732
- constructor
733
- · apply Int.ceil_le.mpr
734
- apply (div_le_iff₀ hlog).2
735
- exact (Real.le_zpow_iff_log_le (div_pos hm1 (by norm_num))
736
- (by norm_num : (0 : ℝ) < 2)).1 hlo
737
- · apply Int.le_floor.mpr
738
- apply (le_div_iff₀ hlog).2
739
- exact Real.le_log_of_zpow_le (by norm_num : (0 : ℝ) < 2) hhi
740
-
741
- lemma repeated_entries_finite (κ : ℝ) (W : WienerLaw) {n : ℕ}
742
- (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
743
- (hJ : moment κ W 1 ^ n ≤ moment κ W n) :
744
- Set.Finite {kj : ℤ × ℕ | kj.2 < multiplicity κ W n kj.1} := by
745
- have hfin := (multiplicity_support_finite κ W hn hm1 hJ).biUnion
746
- (fun k _ => (Set.finite_Iio (multiplicity κ W n k)).image (fun j : ℕ => (k, j)))
747
- apply hfin.subset
748
- rintro ⟨k, j⟩ hj
749
- exact mem_iUnion.2 ⟨k, mem_iUnion.2 ⟨(Nat.zero_le j).trans_lt hj, j, hj, rfl⟩⟩
750
-
751
- lemma batch_entries_finite (κ : ℝ) (W : WienerLaw) {n : ℕ}
752
- (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
753
- (hJ : moment κ W 1 ^ n ≤ moment κ W n) :
754
- Set.Finite {e : Entry | e.1 = n ∧ ValidEntry κ W e} := by
755
- have hfin := ((repeated_entries_finite κ W hn hm1 hJ).image
756
- (fun kj : ℤ × ℕ => (n, (some kj : Option (ℤ × ℕ))))).insert (n, none)
757
- apply hfin.subset
758
- rintro ⟨m, o⟩ ⟨heq, hm, ho⟩
759
- dsimp at heq
760
- subst m
761
- cases o with
762
- | none => exact Or.inl rfl
763
- | some kj => exact Or.inr ⟨kj, ho, rfl⟩
764
-
765
- lemma early_entries_finite (κ : ℝ) (W : WienerLaw)
766
- (hm1 : 0 < moment κ W 1)
767
- (hJ : ∀ n : ℕ, 1 ≤ n → moment κ W 1 ^ n ≤ moment κ W n)
768
- (n₀ : ℕ) : Set.Finite {e : Entry | ValidEntry κ W e ∧ e.1 < n₀} := by
769
- have hfin := (Set.finite_Ico 1 n₀).biUnion (fun n hn =>
770
- batch_entries_finite κ W hn.1 hm1 (hJ n hn.1))
771
- apply hfin.subset
772
- intro e he
773
- exact mem_iUnion.2 ⟨e.1, mem_iUnion.2 ⟨⟨he.1.1, he.2⟩, rfl, he.1⟩⟩
774
-
775
- theorem gauge_restore_early_batches (κ : ℝ) (W : WienerLaw)
776
- (hm1 : 0 < moment κ W 1)
777
- (hJ : ∀ n : ℕ, 1 ≤ n → moment κ W 1 ^ n ≤ moment κ W n)
778
- (n₀ : ℕ) (F : ℝ → ℝ) {M C : ℝ} (hM : 0 ≤ M)
779
- (hbound : ∀ r > 0, F r ≤ M)
780
- (htail : ∀ e : Entry, ValidEntry κ W e → n₀ ≤ e.1 →
781
- ∀ r > 0, F r ≤ C * entryCost κ W e r) :
782
- ∃ C' : ℝ, 0 < C' ∧ ∀ r > 0, F r ≤ C' * gauge κ W r := by
783
- classical
784
- have hfin : Set.Finite {i : GaugeIndex κ W | i.val.1 < n₀} := by
785
- apply ((early_entries_finite κ W hm1 hJ n₀).preimage
786
- (f := fun i : GaugeIndex κ W => i.val) Subtype.val_injective.injOn).subset
787
- intro i hi
788
- exact ⟨i.property, hi⟩
789
- rw [gauge_eq_full]
790
- apply QuadraticEnvelope.restore_finite (weights_pos κ W) (radii_pos κ W)
791
- hfin.toFinset F hM hbound
792
- intro i hi r hr
793
- have hn : n₀ ≤ i.val.1 := by
794
- have hnot : ¬ i.val.1 < n₀ := by simpa using hi
795
- exact le_of_not_gt hnot
796
- exact htail i.val i.property hn r hr
797
-
798
- end SLEExactGauge.Target
799
-
800
- end
801
-
802
- end OAI
 
1
+ import Mathlib
2
+
3
+ namespace OAI
4
+
5
+ /-! Quadratic moment envelopes, Hausdorff gauge admissibility and interval transfer. -/
6
+
7
+ universe u
8
+
9
+ noncomputable section
10
+ open MeasureTheory Set Filter Metric
11
+ open scoped NNReal ENNReal Topology
12
+
13
+ namespace SLEExactGauge.Target
14
+
15
+ open scoped ContinuousMapZero
16
+ abbrev Driver := C(ℝ≥0, ℝ)₀
17
+ instance : MeasurableSpace Driver := borel Driver
18
+ instance : BorelSpace Driver := ⟨rfl⟩
19
+ abbrev WienerLaw := Measure Driver
20
+
21
+ def IsWiener (W : WienerLaw) : Prop :=
22
+ ProbabilityTheory.IsBrownianReal (fun t b => b t) W
23
+
24
+ def a (κ : ℝ) := 2 / κ
25
+ def d (κ : ℝ) := 1 + 1 / (4 * a κ)
26
+ def α (κ : ℝ) := 2 - d κ
27
+ def p (κ : ℝ) := 4 * a κ - 1
28
+
29
+ def driverValue (b : Driver) (t : ℝ) : ℝ := b t.toNNReal
30
+
31
+ def cutoffField (κ : ℝ) (b : Driver) (j : ℕ) (t : ℝ) (z : ℂ) : ℂ :=
32
+ (a κ : ℂ) * star (z - driverValue b t) /
33
+ (max (‖z - driverValue b t‖ ^ 2) ((j : ℝ) ^ (-(4 : ℤ))) : ℝ)
34
+
35
+ def mesh (N : ℕ) : ℝ := (2 : ℝ) ^ (-(N : ℤ))
36
+
37
+ def eulerSteps (κ : ℝ) (b : Driver) (j N : ℕ) (z : ℂ) : ℕ → ℂ
38
+ | 0 => z
39
+ | k + 1 => eulerSteps κ b j N z k +
40
+ mesh N * cutoffField κ b j ((k : ℝ) * mesh N) (eulerSteps κ b j N z k)
41
+
42
+ def eulerFlow (κ : ℝ) (b : Driver) (j N : ℕ) (z : ℂ) (t : ℝ) : ℂ :=
43
+ let k := ⌊t / mesh N⌋₊
44
+ let w := t / mesh N - (k : ℝ)
45
+ (1 - w : ℝ) * eulerSteps κ b j N z k + w * eulerSteps κ b j N z (k + 1)
46
+
47
+ def cutoffFlow (κ : ℝ) (b : Driver) (j : ℕ) (z : ℂ) (t : ℝ) : ℂ :=
48
+ limUnder atTop (fun N : ℕ => eulerFlow κ b j N z t)
49
+
50
+ def Surviving (κ : ℝ) (b : Driver) (z : ℂ) (t : ℝ) : Prop :=
51
+ ∃ j : ℕ, 1 ≤ j ∧ (j : ℝ)⁻¹ <
52
+ sInf ((fun u : ℝ => (cutoffFlow κ b j z u).im) '' Icc 0 t)
53
+
54
+ instance (κ : ℝ) (b : Driver) (z : ℂ) (t : ℝ) : Decidable (Surviving κ b z t) :=
55
+ Classical.propDecidable _
56
+
57
+ def flow (κ : ℝ) (b : Driver) (z : ℂ) (t : ℝ) : ℂ :=
58
+ if h : Surviving κ b z t then cutoffFlow κ b (Nat.find h) z t else 0
59
+
60
+ def IsHausdorffGauge (h : ℝ → ℝ) : Prop :=
61
+ ContinuousOn h (Ici 0) ∧ MonotoneOn h (Ici 0) ∧ h 0 = 0 ∧ ∀ r > 0, 0 < h r
62
+
63
+ def hausdorff (h : ℝ → ℝ) : OuterMeasure ℂ :=
64
+ OuterMeasure.mkMetric (fun r => if r = ∞ then ∞ else ENNReal.ofReal (h r.toReal))
65
+
66
+ def inverseFlow (κ : ℝ) (b : Driver) (t : ℝ) (w : ℂ) : ℂ :=
67
+ @ite ℂ (∃ z : ℂ, Surviving κ b z t ∧ flow κ b z t = w) (Classical.propDecidable _)
68
+ (Classical.epsilon (fun z : ℂ => Surviving κ b z t ∧ flow κ b z t = w)) 0
69
+
70
+ def trace (κ : ℝ) (b : Driver) (t : ℝ) : ℂ :=
71
+ limUnder (nhdsWithin 0 (Ioi 0)) (fun ε : ℝ =>
72
+ inverseFlow κ b (κ * t) (driverValue b (κ * t) + ε * Complex.I))
73
+
74
+ def IsChordalSLE {Ω : Type*} [MeasurableSpace Ω] (κ : ℝ)
75
+ (γ : Ω → ℝ → ℂ) (P : Measure Ω) : Prop :=
76
+ ∃ (W : WienerLaw) (B : Ω → Driver),
77
+ IsWiener W ∧ ProbabilityTheory.HasLaw B W P ∧
78
+ ∀ᵐ ω ∂P, ∀ t : ℝ, 0 ≤ t → γ ω t = trace κ (B ω) t
79
+
80
+ end SLEExactGauge.Target
81
+
82
+ namespace SLEExactGauge.QuadraticEnvelope
83
+
84
+ variable {ι : Type*}
85
+
86
+ def profile (b R : ι → ℝ) (d : ℝ) (i : ι) (r : ℝ) : ℝ :=
87
+ b i * R i ^ d * max 1 ((r / R i) ^ 2)
88
+
89
+ def full (b R : ι → ℝ) (d : ℝ) (r : ℝ) : ℝ :=
90
+ if r ≤ 0 then 0 else sInf (range (fun i => profile b R d i r))
91
+
92
+ variable {b R : ι → ℝ} {d : ℝ}
93
+
94
+ lemma profile_nonneg (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
95
+ (i : ι) (r : ℝ) : 0 ≤ profile b R d i r := by
96
+ unfold profile
97
+ exact mul_nonneg (mul_nonneg (hb i) (Real.rpow_nonneg (hR i).le d))
98
+ (le_trans zero_le_one (le_max_left _ _))
99
+
100
+ lemma base_le_profile (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
101
+ (i : ι) (r : ℝ) : b i * R i ^ d ≤ profile b R d i r := by
102
+ unfold profile
103
+ exact le_mul_of_one_le_right
104
+ (mul_nonneg (hb i) (Real.rpow_nonneg (hR i).le d)) (le_max_left _ _)
105
+
106
+ lemma profile_mono (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
107
+ (i : ι) {r s : ℝ} (hr : 0 ≤ r) (hrs : r ≤ s) :
108
+ profile b R d i r ≤ profile b R d i s := by
109
+ apply mul_le_mul_of_nonneg_left _
110
+ (mul_nonneg (hb i) (Real.rpow_nonneg (hR i).le d))
111
+ exact max_le_max_left _ <| pow_le_pow_left₀ (div_nonneg hr (hR i).le)
112
+ (div_le_div_of_nonneg_right hrs (hR i).le) 2
113
+
114
+ lemma profile_scale_le (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
115
+ (i : ι) {C : ℝ} (hC : 1 ≤ C) (r : ℝ) :
116
+ profile b R d i (C * r) ≤ C ^ 2 * profile b R d i r := by
117
+ have hC2 : 1 ≤ C ^ 2 := by nlinarith
118
+ have hmax : max 1 (((C * r) / R i) ^ 2) ≤
119
+ C ^ 2 * max 1 ((r / R i) ^ 2) := by
120
+ apply max_le
121
+ · exact hC2.trans <| le_mul_of_one_le_right (sq_nonneg C) (le_max_left _ _)
122
+ · calc
123
+ (((C * r) / R i) ^ 2) = C ^ 2 * (r / R i) ^ 2 := by ring
124
+ _ ≤ C ^ 2 * max 1 ((r / R i) ^ 2) :=
125
+ mul_le_mul_of_nonneg_left (le_max_right _ _) (sq_nonneg C)
126
+ unfold profile
127
+ calc
128
+ _ ≤ b i * R i ^ d * (C ^ 2 * max 1 ((r / R i) ^ 2)) :=
129
+ mul_le_mul_of_nonneg_left hmax
130
+ (mul_nonneg (hb i) (Real.rpow_nonneg (hR i).le d))
131
+ _ = _ := by ring
132
+
133
+ @[simp] lemma full_zero : full b R d 0 = 0 := by simp [full]
134
+
135
+ lemma full_of_nonpos {r : ℝ} (hr : r ≤ 0) : full b R d r = 0 := by
136
+ simp [full, hr]
137
+
138
+ lemma full_of_pos {r : ℝ} (hr : 0 < r) :
139
+ full b R d r = sInf (range (fun i => profile b R d i r)) := by
140
+ simp [full, hr.not_ge]
141
+
142
+ lemma profiles_bddBelow (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
143
+ (r : ℝ) : BddBelow (range (fun i => profile b R d i r)) := by
144
+ refine ⟨0, ?_⟩
145
+ rintro _ ⟨i, rfl⟩
146
+ exact profile_nonneg hb hR i r
147
+
148
+ variable [Nonempty ι]
149
+
150
+ lemma le_full {r v : ℝ} (hr : 0 < r)
151
+ (hv : ∀ i, v ≤ profile b R d i r) : v ≤ full b R d r := by
152
+ rw [full_of_pos hr]
153
+ exact le_csInf (range_nonempty _) (by rintro _ ⟨i, rfl⟩; exact hv i)
154
+
155
+ lemma full_nonneg (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
156
+ (r : ℝ) : 0 ≤ full b R d r := by
157
+ by_cases hr : r ≤ 0
158
+ · rw [full_of_nonpos hr]
159
+ · exact le_full (lt_of_not_ge hr) (fun i => profile_nonneg hb hR i r)
160
+
161
+ omit [Nonempty ι] in
162
+ lemma full_le_profile (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
163
+ (i : ι) (r : ℝ) : full b R d r ≤ profile b R d i r := by
164
+ by_cases hr : r ≤ 0
165
+ · rw [full_of_nonpos hr]
166
+ exact profile_nonneg hb hR i r
167
+ · rw [full_of_pos (lt_of_not_ge hr)]
168
+ exact csInf_le (profiles_bddBelow hb hR r) (mem_range_self i)
169
+
170
+ lemma full_monoOn (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i) :
171
+ MonotoneOn (full b R d) (Ici 0) := by
172
+ intro r hr s hs hrs
173
+ by_cases hr0 : r ≤ 0
174
+ · rw [full_of_nonpos hr0]
175
+ exact full_nonneg hb hR s
176
+ · have hrpos := lt_of_not_ge hr0
177
+ apply le_full (hrpos.trans_le hrs)
178
+ intro i
179
+ exact (full_le_profile hb hR i r).trans (profile_mono hb hR i hr hrs)
180
+
181
+ theorem full_scale_le (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
182
+ {C r : ℝ} (hC : 1 ≤ C) (hr : 0 ≤ r) :
183
+ full b R d (C * r) ≤ C ^ 2 * full b R d r := by
184
+ obtain rfl | hrpos := hr.eq_or_lt
185
+ · simp
186
+ have hCpos : 0 < C := zero_lt_one.trans_le hC
187
+ have hC2 : 0 < C ^ 2 := sq_pos_of_pos hCpos
188
+ have h : full b R d (C * r) / C ^ 2 ≤ full b R d r := by
189
+ apply le_full hrpos
190
+ intro i
191
+ apply (div_le_iff₀ hC2).2
192
+ calc
193
+ full b R d (C * r) ≤ profile b R d i (C * r) := full_le_profile hb hR i _
194
+ _ ≤ C ^ 2 * profile b R d i r := profile_scale_le hb hR i hC r
195
+ _ = profile b R d i r * C ^ 2 := mul_comm _ _
196
+ simpa [mul_comm] using (div_le_iff₀ hC2).1 h
197
+
198
+ lemma power_lower_bound {c r : ℝ} (hc : 0 < c) (hb : ∀ i, c ≤ b i)
199
+ (hR : ∀ i, 0 < R i) (hd0 : 0 ≤ d) (hd2 : d ≤ 2) (hr : 0 < r) :
200
+ c * r ^ d ≤ full b R d r := by
201
+ apply le_full hr
202
+ intro i
203
+ have hshape : r ^ d ≤ R i ^ d * max 1 ((r / R i) ^ 2) := by
204
+ rcases le_total r (R i) with hsmall | hlarge
205
+ · exact (Real.rpow_le_rpow hr.le hsmall hd0).trans <|
206
+ le_mul_of_one_le_right (Real.rpow_nonneg (hR i).le d) (le_max_left _ _)
207
+ · have hratio : 1 ≤ r / R i := (le_div_iff₀ (hR i)).2 (by simpa using hlarge)
208
+ have hp : (r / R i) ^ d ≤ (r / R i) ^ 2 := by
209
+ exact_mod_cast Real.rpow_le_rpow_of_exponent_le hratio hd2
210
+ calc
211
+ r ^ d = R i ^ d * (r / R i) ^ d := by
212
+ rw [← Real.mul_rpow (hR i).le (div_nonneg hr.le (hR i).le)]
213
+ congr 1
214
+ field_simp [(hR i).ne']
215
+ _ ≤ R i ^ d * (r / R i) ^ 2 :=
216
+ mul_le_mul_of_nonneg_left hp (Real.rpow_nonneg (hR i).le d)
217
+ _ ≤ R i ^ d * max 1 ((r / R i) ^ 2) :=
218
+ mul_le_mul_of_nonneg_left (le_max_right _ _) (Real.rpow_nonneg (hR i).le d)
219
+ calc
220
+ c * r ^ d ≤ b i * r ^ d := mul_le_mul_of_nonneg_right (hb i) (Real.rpow_nonneg hr.le d)
221
+ _ ≤ b i * (R i ^ d * max 1 ((r / R i) ^ 2)) :=
222
+ mul_le_mul_of_nonneg_left hshape (hc.le.trans (hb i))
223
+ _ = profile b R d i r := by rw [profile]; ring
224
+
225
+ lemma full_pos {c r : ℝ} (hc : 0 < c) (hb : ∀ i, c ≤ b i)
226
+ (hR : ∀ i, 0 < R i) (hd0 : 0 ≤ d) (hd2 : d ≤ 2) (hr : 0 < r) :
227
+ 0 < full b R d r :=
228
+ (mul_pos hc (Real.rpow_pos_of_pos hr d)).trans_le
229
+ (power_lower_bound hc hb hR hd0 hd2 hr)
230
+
231
+ lemma ratio_bounds (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
232
+ {r s : ℝ} (hr : 0 < r) (hs : 0 < s) :
233
+ min 1 ((s / r) ^ 2) * full b R d r ≤ full b R d s ∧
234
+ full b R d s ≤ max 1 ((s / r) ^ 2) * full b R d r := by
235
+ have hmono := full_monoOn (d := d) hb hR
236
+ have hnonneg := full_nonneg (d := d) hb hR r
237
+ constructor
238
+ · rcases le_total r s with hrs | hsr
239
+ · calc
240
+ _ ≤ 1 * full b R d r := mul_le_mul_of_nonneg_right (min_le_left _ _) hnonneg
241
+ _ = full b R d r := one_mul _
242
+ _ ≤ full b R d s := hmono hr.le hs.le hrs
243
+ · have hC : 1 ≤ r / s := (le_div_iff₀ hs).2 (by simpa using hsr)
244
+ have hscale := full_scale_le (d := d) hb hR hC hs.le
245
+ rw [div_mul_cancel₀ r hs.ne'] at hscale
246
+ calc
247
+ _ ≤ (s / r) ^ 2 * full b R d r :=
248
+ mul_le_mul_of_nonneg_right (min_le_right _ _) hnonneg
249
+ _ ≤ (s / r) ^ 2 * ((r / s) ^ 2 * full b R d s) :=
250
+ mul_le_mul_of_nonneg_left hscale (sq_nonneg _)
251
+ _ = full b R d s := by field_simp
252
+ · rcases le_total s r with hsr | hrs
253
+ · exact (hmono hs.le hr.le hsr).trans <| by
254
+ simpa using mul_le_mul_of_nonneg_right (le_max_left 1 ((s / r) ^ 2)) hnonneg
255
+ · have hC : 1 ≤ s / r := (le_div_iff₀ hr).2 (by simpa using hrs)
256
+ have hscale := full_scale_le (d := d) hb hR hC hr.le
257
+ rw [div_mul_cancel₀ s hr.ne'] at hscale
258
+ exact hscale.trans <| mul_le_mul_of_nonneg_right (le_max_right _ _) hnonneg
259
+
260
+ lemma continuousAt_pos (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
261
+ {r : ℝ} (hr : 0 < r) : ContinuousAt (full b R d) r := by
262
+ have hlow : ContinuousAt (fun s : ℝ => min 1 ((s / r) ^ 2) * full b R d r) r := by
263
+ fun_prop
264
+ have hupp : ContinuousAt (fun s : ℝ => max 1 ((s / r) ^ 2) * full b R d r) r := by
265
+ fun_prop
266
+ apply tendsto_of_tendsto_of_tendsto_of_le_of_le'
267
+ (by simpa [hr.ne'] using hlow.tendsto)
268
+ (by simpa [hr.ne'] using hupp.tendsto)
269
+ · filter_upwards [Ioi_mem_nhds hr] with s hs
270
+ exact (ratio_bounds hb hR hr hs).1
271
+ · filter_upwards [Ioi_mem_nhds hr] with s hs
272
+ exact (ratio_bounds hb hR hr hs).2
273
+
274
+ lemma continuousAt_zero (hb : ∀ i, 0 ≤ b i) (hR : ∀ i, 0 < R i)
275
+ (hsmall : ∀ ε > 0, ∃ i, b i * R i ^ d < ε) :
276
+ ContinuousAt (full b R d) 0 := by
277
+ rw [Metric.continuousAt_iff]
278
+ intro ε hε
279
+ obtain ⟨i, hi⟩ := hsmall ε hε
280
+ refine ⟨R i, hR i, ?_⟩
281
+ intro x hx
282
+ rw [full_zero, Real.dist_eq, sub_zero, abs_of_nonneg (full_nonneg hb hR x)]
283
+ by_cases hx0 : x ≤ 0
284
+ · rw [full_of_nonpos hx0]
285
+ exact hε
286
+ · have hxpos : 0 < x := lt_of_not_ge hx0
287
+ have hxr : x < R i := by
288
+ simpa [Real.dist_eq, abs_of_pos hxpos] using hx
289
+ have hratio : 0 ≤ x / R i := div_nonneg hxpos.le (hR i).le
290
+ have hratio1 : x / R i ≤ 1 := (div_le_one (hR i)).2 hxr.le
291
+ have hp : (x / R i) ^ 2 ≤ 1 := by
292
+ simpa using (pow_le_pow_left₀ hratio hratio1 2)
293
+ calc
294
+ full b R d x ≤ profile b R d i x := full_le_profile hb hR i x
295
+ _ = b i * R i ^ d := by simp [profile, max_eq_left hp]
296
+ _ < ε := hi
297
+
298
+ theorem isHausdorffGauge {c : ℝ} (hc : 0 < c) (hb : ∀ i, c ≤ b i)
299
+ (hR : ∀ i, 0 < R i) (hd0 : 0 ≤ d) (hd2 : d ≤ 2)
300
+ (hsmall : ∀ ε > 0, ∃ i, b i * R i ^ d < ε) :
301
+ SLEExactGauge.Target.IsHausdorffGauge (full b R d) := by
302
+ have hb0 : ∀ i, 0 ≤ b i := fun i => hc.le.trans (hb i)
303
+ refine ⟨?_, full_monoOn hb0 hR, full_zero, fun r hr => full_pos hc hb hR hd0 hd2 hr⟩
304
+ intro r hr
305
+ obtain rfl | hrpos := (show 0 ≤ r from hr).eq_or_lt
306
+ · exact (continuousAt_zero hb0 hR hsmall).continuousWithinAt
307
+ · exact (continuousAt_pos hb0 hR hrpos).continuousWithinAt
308
+
309
+ theorem restore_finite (hb : ∀ i, 0 < b i) (hR : ∀ i, 0 < R i)
310
+ (discarded : Finset ι) (F : ℝ → ℝ) {M C : ℝ} (hM : 0 ≤ M)
311
+ (hbound : ∀ r > 0, F r ≤ M)
312
+ (htail : ∀ i, i ∉ discarded → ∀ r > 0, F r ≤ C * profile b R d i r) :
313
+ ∃ C' : ℝ, 0 < C' ∧ ∀ r > 0, F r ≤ C' * full b R d r := by
314
+ let C' := max C 0 + 1 + ∑ i ∈ discarded, M / (b i * R i ^ d)
315
+ have hbase : ∀ i, 0 < b i * R i ^ d :=
316
+ fun i => mul_pos (hb i) (Real.rpow_pos_of_pos (hR i) d)
317
+ have hterm : ∀ i, 0 ≤ M / (b i * R i ^ d) :=
318
+ fun i => div_nonneg hM (hbase i).le
319
+ have hsum : 0 ≤ ∑ i ∈ discarded, M / (b i * R i ^ d) :=
320
+ Finset.sum_nonneg (fun i _ => hterm i)
321
+ have hC' : 0 < C' := by
322
+ dsimp [C']
323
+ linarith [le_max_right C 0]
324
+ have hCC' : C ≤ C' := by
325
+ dsimp [C']
326
+ linarith [le_max_left C 0]
327
+ have hall : ∀ r > 0, ∀ i, F r ≤ C' * profile b R d i r := by
328
+ intro r hr i
329
+ by_cases hi : i ∈ discarded
330
+ · have hi_le : M / (b i * R i ^ d) ≤ C' := by
331
+ have hh := Finset.single_le_sum (fun i (_ : i ∈ discarded) => hterm i) hi
332
+ dsimp [C']
333
+ linarith [le_max_right C 0]
334
+ calc
335
+ F r ≤ M := hbound r hr
336
+ _ ≤ C' * (b i * R i ^ d) := (div_le_iff₀ (hbase i)).1 hi_le
337
+ _ ≤ C' * profile b R d i r := mul_le_mul_of_nonneg_left
338
+ (base_le_profile (fun i => (hb i).le) hR i r) hC'.le
339
+ · exact (htail i hi r hr).trans <| mul_le_mul_of_nonneg_right hCC'
340
+ (profile_nonneg (fun i => (hb i).le) hR i r)
341
+ refine ⟨C', hC', fun r hr => ?_⟩
342
+ have h : F r / C' ≤ full b R d r := by
343
+ apply le_full hr
344
+ intro i
345
+ exact (div_le_iff₀ hC').2 (by simpa [mul_comm] using hall r hr i)
346
+ simpa [mul_comm] using (div_le_iff₀ hC').1 h
347
+
348
+ end SLEExactGauge.QuadraticEnvelope
349
+
350
+ namespace SLEExactGauge.Target
351
+
352
+ def diskMap (θ : ℝ) (z : ℂ) : ℂ :=
353
+ (z - Complex.exp (θ * Complex.I)) / (z - Complex.exp (-θ * Complex.I))
354
+
355
+ def diskMapInv (θ : ℝ) (x : ℂ) : ℂ :=
356
+ (Complex.exp (θ * Complex.I) - x * Complex.exp (-θ * Complex.I)) / (1 - x)
357
+
358
+ def centeredFlow (κ : ℝ) (b : Driver) (z : ℂ) (t : ℝ) : ℂ :=
359
+ flow κ b z t - driverValue b t
360
+
361
+ def clock (κ θ : ℝ) (b : Driver) (x : ℂ) (t : ℝ) : ℝ :=
362
+ ∫ u in Icc (0 : ℝ) t,
363
+ (flow κ b (diskMapInv θ x) u).im ^ 2 /
364
+ ‖centeredFlow κ b (diskMapInv θ x) u‖ ^ 4
365
+
366
+ def initialRadius (θ : ℝ) (x : ℂ) : ℝ :=
367
+ 2 * (diskMapInv θ x).im * ‖deriv (diskMap θ) (diskMapInv θ x)‖
368
+
369
+ def radius (κ θ : ℝ) (b : Driver) (x : ℂ) (t : ℝ) : ℝ :=
370
+ initialRadius θ x * Real.exp (-2 * a κ * clock κ θ b x t)
371
+
372
+ def angle (κ θ : ℝ) (b : Driver) (x : ℂ) (t : ℝ) : ℝ :=
373
+ Complex.arg (centeredFlow κ b (diskMapInv θ x) t)
374
+
375
+ def green (κ θ : ℝ) (b : Driver) (x : ℂ) (t : ℝ) : ℝ :=
376
+ if Surviving κ b (diskMapInv θ x) t then
377
+ radius κ θ b x t ^ (-α κ) * Real.sin (angle κ θ b x t) ^ p κ
378
+ else 0
379
+
380
+ def levelTime (κ θ : ℝ) (b : Driver) (ℓ : ℝ) : ℝ≥0∞ :=
381
+ sInf {t | ∃ q : ℚ, 0 < q ∧ t = ENNReal.ofReal (q : ℝ) ∧
382
+ Surviving κ b (diskMapInv θ 0) q ∧ ℓ < clock κ θ b 0 q}
383
+
384
+ def diskK : Set ℂ := closedBall 0 (1 / 4)
385
+
386
+ def potential (κ θ : ℝ) (b : Driver) (t : ℝ) : ℝ≥0∞ :=
387
+ ∫⁻ x in diskK, ENNReal.ofReal (green κ θ b x t)
388
+
389
+ def concat (b c : Driver) (t : ℝ) : Driver where
390
+ toFun u := if u ≤ t.toNNReal then b u else b t.toNNReal + c (u - t.toNNReal)
391
+ continuous_toFun := by
392
+ apply Continuous.if_le (map_continuous b)
393
+ (continuous_const.add ((map_continuous c).comp (continuous_id.sub continuous_const)))
394
+ continuous_id continuous_const
395
+ intro u hu
396
+ change u = t.toNNReal at hu
397
+ subst u
398
+ simp
399
+ map_zero' := by simp
400
+
401
+ def potentialDifference (κ θ : ℝ) (W : WienerLaw) (b : Driver) (h i : ℕ) : ℝ :=
402
+ let t := (i : ℝ) * mesh h
403
+ let v := potential κ θ b t
404
+ let w := ∫⁻ c, potential κ θ (concat b c t) (((i : ℝ) + 1) * mesh h) ∂W
405
+ if v < ∞ ∧ w < ∞ then v.toReal - w.toReal else 0
406
+
407
+ def discreteMass (κ θ : ℝ) (W : WienerLaw) (b : Driver) (ℓ : ℝ) (h : ℕ) : ℝ :=
408
+ ∑ i ∈ Finset.range (h * 2 ^ h),
409
+ if ENNReal.ofReal (((i : ℝ) + 1) * mesh h) ≤ levelTime κ θ b ℓ
410
+ then potentialDifference κ θ W b h i else 0
411
+
412
+ def levelDensity (κ θ : ℝ) (b : Driver) (ℓ : ℝ) : ℝ :=
413
+ let τ := levelTime κ θ b ℓ
414
+ if τ < ∞ then Real.exp (2 * a κ * α κ * ℓ) *
415
+ Real.sin (angle κ θ b 0 τ.toReal) ^ p κ / Real.sin θ ^ p κ else 0
416
+
417
+ def angleLaw (κ : ℝ) : Measure ℝ :=
418
+ let unnormalized := (volume.restrict (Ioo (0 : ℝ) Real.pi)).withDensity
419
+ (fun θ => ENNReal.ofReal (Real.sin θ ^ (4 * a κ)))
420
+ (unnormalized Set.univ)⁻¹ • unnormalized
421
+
422
+ def clip (u x : ℝ) : ℝ := min (max x 0) u
423
+
424
+ def finiteMoment (κ : ℝ) (W : WienerLaw) (n : ℕ) (ℓ : ℝ) : ℝ :=
425
+ limUnder atTop (fun u : ℕ => limUnder atTop (fun h : ℕ =>
426
+ ∫ θ, ∫ b, levelDensity κ θ b ℓ *
427
+ (clip u (discreteMass κ θ W b ℓ h)) ^ n ∂W ∂angleLaw κ))
428
+
429
+ def moment (κ : ℝ) (W : WienerLaw) (n : ℕ) : ℝ :=
430
+ limUnder atTop (fun ℓ : ℕ => finiteMoment κ W n ℓ)
431
+
432
+ def batchLevel (κ : ℝ) (W : WienerLaw) (n : ℕ) : ℕ :=
433
+ 1 + Nat.card {j : ℕ // 1 ≤ j ∧ finiteMoment κ W n j ≤ 3 * moment κ W n / 4}
434
+
435
+ def threshold (κ : ℝ) (W : WienerLaw) (n : ℕ) : ℝ :=
436
+ 4 * moment κ W (n + 1) / moment κ W n
437
+
438
+ def multiplicity (κ : ℝ) (W : WienerLaw) (n : ℕ) (k : ℤ) : ℕ :=
439
+ if (2 : ℝ) ^ k ≤ threshold κ W n then
440
+ ⌊(4 : ℝ) ^ n * ((2 : ℝ) ^ k) ^ n / moment κ W n⌋₊ else 0
441
+
442
+ abbrev Entry := ℕ × Option (ℤ × ℕ)
443
+
444
+ def ValidEntry (κ : ℝ) (W : WienerLaw) (e : Entry) : Prop :=
445
+ 1 ≤ e.1 ∧ match e.2 with
446
+ | none => True
447
+ | some (k,j) => j < multiplicity κ W e.1 k
448
+
449
+ def entryValue (e : Entry) : ℝ :=
450
+ match e.2 with
451
+ | none => e.1
452
+ | some (k,_) => (2 : ℝ) ^ k
453
+
454
+ def entryPosition (κ : ℝ) (W : WienerLaw) (e : Entry) : ℕ :=
455
+ match e.2 with
456
+ | none => ∑' k : ℤ, multiplicity κ W e.1 k
457
+ | some (k,j) => (∑' l : ℤ, if l < k then multiplicity κ W e.1 l else 0) + j
458
+
459
+ def entryRadius (κ : ℝ) (W : WienerLaw) (e : Entry) : ℝ :=
460
+ Real.exp (-(e.1 : ℝ) ^ 2 - 2 * a κ * (entryPosition κ W e : ℝ) *
461
+ ((batchLevel κ W e.1 : ℝ) + (e.1 : ℝ)))
462
+
463
+ def entryCost (κ : ℝ) (W : WienerLaw) (e : Entry) (r : ℝ) : ℝ :=
464
+ entryValue e * entryRadius κ W e ^ d κ * max 1 ((r / entryRadius κ W e) ^ 2)
465
+
466
+ def gauge (κ : ℝ) (W : WienerLaw) (r : ℝ) : ℝ :=
467
+ if r ≤ 0 then 0 else sInf {v | ∃ e : Entry, ValidEntry κ W e ∧ v = entryCost κ W e r}
468
+
469
+ end SLEExactGauge.Target
470
+
471
+ namespace SLEExactGauge.Intervals
472
+
473
+ theorem all_real_of_all_rational {X : Type*} (μ : OuterMeasure X) (γ : ℝ → X)
474
+ (h : ∀ q r : ℚ, 0 < q → q < r →
475
+ 0 < μ (γ '' Icc (q : ℝ) (r : ℝ)) ∧ μ (γ '' Icc (q : ℝ) (r : ℝ)) < ∞) :
476
+ ∀ s t : ℝ, 0 < s → s < t →
477
+ 0 < μ (γ '' Icc s t) ∧ μ (γ '' Icc s t) < ∞ := by
478
+ intro s t hs hst
479
+ obtain ⟨q, hsq, hqt⟩ := exists_rat_btwn hst
480
+ obtain ⟨r, hqr, hrt⟩ := exists_rat_btwn hqt
481
+ have hq0 : 0 < q := by exact_mod_cast hs.trans hsq
482
+ have hqr' : q < r := by exact_mod_cast hqr
483
+ have hpos := (h q r hq0 hqr').1
484
+ have hlower : γ '' Icc (q : ℝ) (r : ℝ) ⊆ γ '' Icc s t :=
485
+ image_mono (Icc_subset_Icc hsq.le hrt.le)
486
+ obtain ⟨u, hu0, hus⟩ := exists_rat_btwn hs
487
+ obtain ⟨v, htv⟩ := exists_rat_gt t
488
+ have hu0' : 0 < u := by exact_mod_cast hu0
489
+ have huv : u < v := by exact_mod_cast hus.trans (hst.trans htv)
490
+ have hfinite := (h u v hu0' huv).2
491
+ have hupper : γ '' Icc s t ⊆ γ '' Icc (u : ℝ) (v : ℝ) :=
492
+ image_mono (Icc_subset_Icc hus.le htv.le)
493
+ exact ⟨hpos.trans_le (μ.mono hlower), (μ.mono hupper).trans_lt hfinite⟩
494
+
495
+ theorem ae_all_real_of_ae_rational {Ω X : Type*} [MeasurableSpace Ω]
496
+ (P : Measure Ω) (μ : OuterMeasure X) (γ : Ω → ℝ → X)
497
+ (h : ∀ q r : ℚ, 0 < q → q < r →
498
+ ∀ᵐ ω ∂P, 0 < μ (γ ω '' Icc (q : ℝ) (r : ℝ)) ∧
499
+ μ (γ ω '' Icc (q : ℝ) (r : ℝ)) < ∞) :
500
+ ∀ᵐ ω ∂P, ∀ s t : ℝ, 0 < s → s < t →
501
+ 0 < μ (γ ω '' Icc s t) ∧ μ (γ ω '' Icc s t) < ∞ := by
502
+ have hall : ∀ᵐ ω ∂P, ∀ q r : ℚ, 0 < q → q < r →
503
+ 0 < μ (γ ω '' Icc (q : ℝ) (r : ℝ)) ∧
504
+ μ (γ ω '' Icc (q : ℝ) (r : ℝ)) < ∞ := by
505
+ simpa only [ae_all_iff] using h
506
+ exact hall.mono (fun ω hω => all_real_of_all_rational μ (γ ω) hω)
507
+
508
+ end SLEExactGauge.Intervals
509
+
510
+ namespace SLEExactGauge.Target
511
+
512
+ abbrev GaugeIndex (κ : ℝ) (W : WienerLaw) := {e : Entry // ValidEntry κ W e}
513
+
514
+ def cleanupIndex (κ : ℝ) (W : WienerLaw) (n : ℕ) (hn : 1 ≤ n) : GaugeIndex κ W :=
515
+ ⟨(n, none), hn, trivial⟩
516
+
517
+ instance (κ : ℝ) (W : WienerLaw) : Nonempty (GaugeIndex κ W) :=
518
+ ⟨cleanupIndex κ W 1 le_rfl⟩
519
+
520
+ abbrev weights (κ : ℝ) (W : WienerLaw) (i : GaugeIndex κ W) : ℝ := entryValue i.val
521
+ abbrev radii (κ : ℝ) (W : WienerLaw) (i : GaugeIndex κ W) : ℝ := entryRadius κ W i.val
522
+
523
+ lemma weights_pos (κ : ℝ) (W : WienerLaw) (i : GaugeIndex κ W) : 0 < weights κ W i := by
524
+ rcases i with ⟨⟨n, o⟩, hn, _⟩
525
+ cases o with
526
+ | none =>
527
+ change (0 : ℝ) < (n : ℝ)
528
+ exact Nat.cast_pos.mpr (Nat.succ_le_iff.mp hn)
529
+ | some kj =>
530
+ rcases kj with ⟨k, j⟩
531
+ exact zpow_pos (by norm_num : (0 : ℝ) < 2) k
532
+
533
+ lemma radii_pos (κ : ℝ) (W : WienerLaw) (i : GaugeIndex κ W) : 0 < radii κ W i :=
534
+ Real.exp_pos _
535
+
536
+ lemma gauge_eq_full (κ : ℝ) (W : WienerLaw) :
537
+ gauge κ W = QuadraticEnvelope.full (weights κ W) (radii κ W) (d κ) := by
538
+ funext r
539
+ unfold gauge QuadraticEnvelope.full
540
+ split_ifs with hr
541
+ · rfl
542
+ · congr 1
543
+ ext v
544
+ constructor
545
+ · rintro ⟨e, he, hv⟩
546
+ exact ⟨⟨e, he⟩, hv.symm⟩
547
+ · rintro ⟨⟨e, he⟩, hv⟩
548
+ exact ⟨e, he, hv.symm⟩
549
+
550
+ lemma internal_a_pos {κ : ℝ} (hκ : 0 < κ) : 0 < a κ := div_pos (by norm_num) hκ
551
+
552
+ lemma dimension_pos {κ : ℝ} (hκ : 0 < κ) : 0 < d κ := by
553
+ have ha := internal_a_pos hκ
554
+ unfold d
555
+ positivity
556
+
557
+ lemma cleanup_radius_le {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw) (n : ℕ) (hn : 1 ≤ n) :
558
+ radii κ W (cleanupIndex κ W n hn) ≤ Real.exp (-(n : ℝ) ^ 2) := by
559
+ unfold radii cleanupIndex entryRadius
560
+ apply Real.exp_le_exp.mpr
561
+ dsimp only
562
+ have ha := internal_a_pos hκ
563
+ have hnonneg : 0 ≤ 2 * a κ * (entryPosition κ W (n, none) : ℝ) *
564
+ ((batchLevel κ W n : ℝ) + (n : ℝ)) := by positivity
565
+ linarith
566
+
567
+ lemma cleanup_base_le {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw) (n : ℕ) (hn : 1 ≤ n) :
568
+ weights κ W (cleanupIndex κ W n hn) * radii κ W (cleanupIndex κ W n hn) ^ d κ ≤
569
+ (n : ℝ) * Real.exp (-d κ * (n : ℝ) ^ 2) := by
570
+ have hd := dimension_pos hκ
571
+ change (n : ℝ) * radii κ W (cleanupIndex κ W n hn) ^ d κ ≤ _
572
+ calc
573
+ _ ≤ (n : ℝ) * Real.exp (-(n : ℝ) ^ 2) ^ d κ := by
574
+ apply mul_le_mul_of_nonneg_left _ (Nat.cast_nonneg n)
575
+ exact Real.rpow_le_rpow (radii_pos κ W _).le (cleanup_radius_le hκ W n hn) hd.le
576
+ _ = _ := by rw [← Real.exp_mul]; congr 2; ring
577
+
578
+ lemma cleanup_small {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw) :
579
+ ∀ ε > 0, ∃ i : GaugeIndex κ W, weights κ W i * radii κ W i ^ d κ < ε := by
580
+ have hd := dimension_pos hκ
581
+ have hlim : Tendsto (fun n : ℕ => (n : ℝ) * Real.exp (-d κ * (n : ℝ))) atTop (𝓝 0) := by
582
+ convert (tendsto_rpow_mul_exp_neg_mul_atTop_nhds_zero 1 (d κ) hd).comp
583
+ (tendsto_natCast_atTop_atTop : Tendsto (fun n : ℕ => (n : ℝ)) atTop atTop) using 1
584
+ ext n
585
+ simp only [Function.comp_apply, Real.rpow_one]
586
+ intro ε hε
587
+ obtain ⟨n, hnε, hn⟩ :=
588
+ ((hlim.eventually (gt_mem_nhds hε)).and (eventually_ge_atTop 1)).exists
589
+ refine ⟨cleanupIndex κ W n hn, lt_of_le_of_lt ?_ hnε⟩
590
+ have hnreal : 1 ≤ (n : ℝ) := by exact_mod_cast hn
591
+ have hsq : (n : ℝ) ≤ (n : ℝ) ^ 2 := by nlinarith
592
+ calc
593
+ _ ≤ (n : ℝ) * Real.exp (-d κ * (n : ℝ) ^ 2) := cleanup_base_le hκ W n hn
594
+ _ ≤ (n : ℝ) * Real.exp (-d κ * (n : ℝ)) := by
595
+ apply mul_le_mul_of_nonneg_left _ (Nat.cast_nonneg n)
596
+ exact Real.exp_le_exp.mpr (mul_le_mul_of_nonpos_left hsq (neg_nonpos.mpr hd.le))
597
+
598
+ theorem gauge_basic_properties {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw) :
599
+ ContinuousOn (gauge κ W) (Ici 0) ∧
600
+ MonotoneOn (gauge κ W) (Ici 0) ∧
601
+ gauge κ W 0 = 0 ∧
602
+ (∀ r : ℝ, 0 ≤ gauge κ W r) ∧
603
+ ∀ C ≥ 1, ∀ r ≥ 0, gauge κ W (C * r) ≤ C ^ 2 * gauge κ W r := by
604
+ rw [gauge_eq_full]
605
+ have hb : ∀ i, 0 ≤ weights κ W i := fun i => (weights_pos κ W i).le
606
+ have hR := radii_pos κ W
607
+ refine ⟨?_, QuadraticEnvelope.full_monoOn hb hR, QuadraticEnvelope.full_zero,
608
+ QuadraticEnvelope.full_nonneg hb hR, fun _ hC _ hr => QuadraticEnvelope.full_scale_le hb hR hC hr⟩
609
+ intro r hr
610
+ obtain rfl | hrpos := (show 0 ≤ r from hr).eq_or_lt
611
+ · exact (QuadraticEnvelope.continuousAt_zero hb hR (cleanup_small hκ W)).continuousWithinAt
612
+ · exact (QuadraticEnvelope.continuousAt_pos hb hR hrpos).continuousWithinAt
613
+
614
+
615
+
616
+ theorem hausdorff_arbitrary_covers (h : ℝ → ℝ) (h0 : h 0 = 0) (E : Set ℂ) :
617
+ hausdorff h E =
618
+ ⨆ (δ : ℝ≥0∞) (_ : 0 < δ),
619
+ ⨅ (U : ℕ → Set ℂ) (_ : E ⊆ ⋃ j, U j) (_ : ∀ j, Metric.ediam (U j) ≤ δ),
620
+ ∑' j, if Metric.ediam (U j) = ∞ then ∞
621
+ else ENNReal.ofReal (h (Metric.ediam (U j)).toReal) := by
622
+ let m : ℝ≥0∞ → ℝ≥0∞ := fun r => if r = ∞ then ∞ else ENNReal.ofReal (h r.toReal)
623
+ have hm0 : m 0 = 0 := by simp [m, h0]
624
+ have hnonempty (U : Set ℂ) : (⨆ _ : U.Nonempty, m (Metric.ediam U)) = m (Metric.ediam U) := by
625
+ by_cases hU : U.Nonempty
626
+ · simp [hU]
627
+ · rw [not_nonempty_iff_eq_empty.mp hU]
628
+ simp [hm0]
629
+ change OuterMeasure.mkMetric m E = _
630
+ rw [OuterMeasure.coe_mkMetric, Measure.mkMetric_apply]
631
+ simp only [hnonempty]
632
+ rfl
633
+
634
+
635
+
636
+ lemma trace_isChordalSLE (κ : ℝ) {W : WienerLaw} (hW : IsWiener W) :
637
+ IsChordalSLE κ (trace κ) W := by
638
+ refine ⟨W, id, hW, ProbabilityTheory.HasLaw.id, ?_⟩
639
+ exact ae_of_all _ (fun _ _ _ => rfl)
640
+
641
+ theorem transfer_interval_estimates {κ : ℝ} {h : ℝ → ℝ}
642
+ (hcanonical : ∀ W : WienerLaw, IsWiener W →
643
+ ∀ᵐ b ∂W, ∀ s t : ℝ, 0 < s → s < t →
644
+ 0 < hausdorff h (trace κ b '' Icc s t) ∧
645
+ hausdorff h (trace κ b '' Icc s t) < ∞)
646
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) (γ : Ω → ℝ → ℂ)
647
+ (hγ : IsChordalSLE κ γ P) :
648
+ ∀ᵐ ω ∂P, ∀ s t : ℝ, 0 < s → s < t →
649
+ 0 < hausdorff h (γ ω '' Icc s t) ∧
650
+ hausdorff h (γ ω '' Icc s t) < ∞ := by
651
+ obtain ⟨W, B, hW, hB, htrace⟩ := hγ
652
+ have hmap := hcanonical W hW
653
+ rw [← hB.map_eq] at hmap
654
+ have hpull := ae_of_ae_map hB.aemeasurable hmap
655
+ filter_upwards [hpull, htrace] with ω hω htr
656
+ intro s t hs hst
657
+ have heq : γ ω '' Icc s t = trace κ (B ω) '' Icc s t := by
658
+ apply Set.image_congr
659
+ intro v hv
660
+ exact htr v (hs.le.trans hv.1)
661
+ rw [heq]
662
+ exact hω s t hs hst
663
+
664
+
665
+
666
+ lemma dimension_eq (κ : ℝ) : d κ = 1 + κ / 8 := by
667
+ unfold d a
668
+ field_simp
669
+ ring
670
+
671
+ lemma dimension_lt_two {κ : ℝ} (hκ8 : κ < 8) : d κ < 2 := by
672
+ rw [dimension_eq κ]
673
+ linarith
674
+
675
+ lemma multiplicity_positive_bounds (κ : ℝ) (W : WienerLaw) {n : ℕ}
676
+ (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
677
+ (hJ : moment κ W 1 ^ n ≤ moment κ W n) {k : ℤ}
678
+ (hNk : 0 < multiplicity κ W n k) :
679
+ moment κ W 1 / 4 ≤ (2 : ℝ) ^ k ∧ (2 : ℝ) ^ k ≤ threshold κ W n := by
680
+ have hcut : (2 : ℝ) ^ k ≤ threshold κ W n := by
681
+ by_contra hcut
682
+ simp [multiplicity, hcut] at hNk
683
+ have hmn : 0 < moment κ W n := (pow_pos hm1 n).trans_le hJ
684
+ have hfloor : 0 < ⌊(4 : ℝ) ^ n * ((2 : ℝ) ^ k) ^ n / moment κ W n⌋₊ := by
685
+ simpa [multiplicity, hcut] using hNk
686
+ have hw := Nat.floor_pos.mp hfloor
687
+ have hnum : moment κ W n ≤ ((4 : ℝ) * 2 ^ k) ^ n := by
688
+ simpa only [one_mul, mul_pow] using (le_div_iff₀ hmn).1 hw
689
+ have hb : moment κ W 1 ≤ (4 : ℝ) * 2 ^ k :=
690
+ le_of_pow_le_pow_left₀ (by omega) (by positivity) (hJ.trans hnum)
691
+ exact ⟨(div_le_iff₀ (by norm_num : (0 : ℝ) < 4)).2 (by linarith), hcut⟩
692
+
693
+ lemma weights_lower_of_moment_inequalities (κ : ℝ) (W : WienerLaw)
694
+ (hm1 : 0 < moment κ W 1)
695
+ (hJ : ∀ n : ℕ, 1 ≤ n → moment κ W 1 ^ n ≤ moment κ W n)
696
+ (i : GaugeIndex κ W) : min 1 (moment κ W 1 / 4) ≤ weights κ W i := by
697
+ rcases i with ⟨⟨n, o⟩, hn, ho⟩
698
+ cases o with
699
+ | none =>
700
+ change min 1 (moment κ W 1 / 4) ≤ (n : ℝ)
701
+ exact (min_le_left _ _).trans (by exact_mod_cast hn)
702
+ | some kj =>
703
+ rcases kj with ⟨k, j⟩
704
+ change j < multiplicity κ W n k at ho
705
+ change min 1 (moment κ W 1 / 4) ≤ (2 : ℝ) ^ k
706
+ exact (min_le_right _ _).trans
707
+ (multiplicity_positive_bounds κ W hn hm1 (hJ n hn)
708
+ ((Nat.zero_le j).trans_lt ho)).1
709
+
710
+ theorem gauge_admissible_of_moment_inequalities {κ : ℝ}
711
+ (hκ0 : 0 < κ) (hκ8 : κ < 8) (W : WienerLaw)
712
+ (hm1 : 0 < moment κ W 1)
713
+ (hJ : ∀ n : ℕ, 1 ≤ n → moment κ W 1 ^ n ≤ moment κ W n) :
714
+ IsHausdorffGauge (gauge κ W) := by
715
+ rw [gauge_eq_full]
716
+ exact QuadraticEnvelope.isHausdorffGauge
717
+ (c := min 1 (moment κ W 1 / 4))
718
+ (lt_min zero_lt_one (div_pos hm1 (by norm_num)))
719
+ (weights_lower_of_moment_inequalities κ W hm1 hJ)
720
+ (radii_pos κ W) (dimension_pos hκ0).le (dimension_lt_two hκ8).le
721
+ (cleanup_small hκ0 W)
722
+
723
+ lemma multiplicity_support_finite (κ : ℝ) (W : WienerLaw) {n : ℕ}
724
+ (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
725
+ (hJ : moment κ W 1 ^ n ≤ moment κ W n) :
726
+ Set.Finite {k : ℤ | 0 < multiplicity κ W n k} := by
727
+ have hlog : 0 < Real.log 2 := Real.log_pos (by norm_num)
728
+ apply (Set.finite_Icc (⌈Real.log (moment κ W 1 / 4) / Real.log 2⌉ : ℤ)
729
+ (⌊Real.log (threshold κ W n) / Real.log 2⌋ : ℤ)).subset
730
+ intro k hk
731
+ obtain ⟨hlo, hhi⟩ := multiplicity_positive_bounds κ W hn hm1 hJ hk
732
+ constructor
733
+ · apply Int.ceil_le.mpr
734
+ apply (div_le_iff₀ hlog).2
735
+ exact (Real.le_zpow_iff_log_le (div_pos hm1 (by norm_num))
736
+ (by norm_num : (0 : ℝ) < 2)).1 hlo
737
+ · apply Int.le_floor.mpr
738
+ apply (le_div_iff₀ hlog).2
739
+ exact Real.le_log_of_zpow_le (by norm_num : (0 : ℝ) < 2) hhi
740
+
741
+ lemma repeated_entries_finite (κ : ℝ) (W : WienerLaw) {n : ℕ}
742
+ (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
743
+ (hJ : moment κ W 1 ^ n ≤ moment κ W n) :
744
+ Set.Finite {kj : ℤ × ℕ | kj.2 < multiplicity κ W n kj.1} := by
745
+ have hfin := (multiplicity_support_finite κ W hn hm1 hJ).biUnion
746
+ (fun k _ => (Set.finite_Iio (multiplicity κ W n k)).image (fun j : ℕ => (k, j)))
747
+ apply hfin.subset
748
+ rintro ⟨k, j⟩ hj
749
+ exact mem_iUnion.2 ⟨k, mem_iUnion.2 ⟨(Nat.zero_le j).trans_lt hj, j, hj, rfl⟩⟩
750
+
751
+ lemma batch_entries_finite (κ : ℝ) (W : WienerLaw) {n : ℕ}
752
+ (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
753
+ (hJ : moment κ W 1 ^ n ≤ moment κ W n) :
754
+ Set.Finite {e : Entry | e.1 = n ∧ ValidEntry κ W e} := by
755
+ have hfin := ((repeated_entries_finite κ W hn hm1 hJ).image
756
+ (fun kj : ℤ × ℕ => (n, (some kj : Option (ℤ × ℕ))))).insert (n, none)
757
+ apply hfin.subset
758
+ rintro ⟨m, o⟩ ⟨heq, hm, ho⟩
759
+ dsimp at heq
760
+ subst m
761
+ cases o with
762
+ | none => exact Or.inl rfl
763
+ | some kj => exact Or.inr ⟨kj, ho, rfl⟩
764
+
765
+ lemma early_entries_finite (κ : ℝ) (W : WienerLaw)
766
+ (hm1 : 0 < moment κ W 1)
767
+ (hJ : ∀ n : ℕ, 1 ≤ n → moment κ W 1 ^ n ≤ moment κ W n)
768
+ (n₀ : ℕ) : Set.Finite {e : Entry | ValidEntry κ W e ∧ e.1 < n₀} := by
769
+ have hfin := (Set.finite_Ico 1 n₀).biUnion (fun n hn =>
770
+ batch_entries_finite κ W hn.1 hm1 (hJ n hn.1))
771
+ apply hfin.subset
772
+ intro e he
773
+ exact mem_iUnion.2 ⟨e.1, mem_iUnion.2 ⟨⟨he.1.1, he.2⟩, rfl, he.1⟩⟩
774
+
775
+ theorem gauge_restore_early_batches (κ : ℝ) (W : WienerLaw)
776
+ (hm1 : 0 < moment κ W 1)
777
+ (hJ : ∀ n : ℕ, 1 ≤ n → moment κ W 1 ^ n ≤ moment κ W n)
778
+ (n₀ : ℕ) (F : ℝ → ℝ) {M C : ℝ} (hM : 0 ≤ M)
779
+ (hbound : ∀ r > 0, F r ≤ M)
780
+ (htail : ∀ e : Entry, ValidEntry κ W e → n₀ ≤ e.1 →
781
+ ∀ r > 0, F r ≤ C * entryCost κ W e r) :
782
+ ∃ C' : ℝ, 0 < C' ∧ ∀ r > 0, F r ≤ C' * gauge κ W r := by
783
+ classical
784
+ have hfin : Set.Finite {i : GaugeIndex κ W | i.val.1 < n₀} := by
785
+ apply ((early_entries_finite κ W hm1 hJ n₀).preimage
786
+ (f := fun i : GaugeIndex κ W => i.val) Subtype.val_injective.injOn).subset
787
+ intro i hi
788
+ exact ⟨i.property, hi⟩
789
+ rw [gauge_eq_full]
790
+ apply QuadraticEnvelope.restore_finite (weights_pos κ W) (radii_pos κ W)
791
+ hfin.toFinset F hM hbound
792
+ intro i hi r hr
793
+ have hn : n₀ ≤ i.val.1 := by
794
+ have hnot : ¬ i.val.1 < n₀ := by simpa using hi
795
+ exact le_of_not_gt hnot
796
+ exact htail i.val i.property hn r hr
797
+
798
+ end SLEExactGauge.Target
799
+
800
+ end
801
+
802
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointAbsorption.lean CHANGED
@@ -1,70 +1,70 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointYoung
2
-
3
- namespace OAI
4
-
5
- /-! Summation of the pairwise Young bounds. The active index set may
6
- change at the individual activation and completion times. -/
7
-
8
- noncomputable section
9
- open scoped BigOperators
10
-
11
- namespace SLEExactGauge.Multipoint
12
-
13
- lemma offDiag_vertex_cost_le {ι : Type*} [DecidableEq ι]
14
- (s : Finset ι) (A : ι → ℝ) (hA : ∀ i ∈ s, 0 ≤ A i) :
15
- (∑ ij ∈ s.offDiag, (A ij.1 + A ij.2)) ≤
16
- 2 * (s.card : ℝ) * ∑ i ∈ s, A i := by
17
- calc
18
- _ ≤ ∑ ij ∈ s ×ˢ s, (A ij.1 + A ij.2) := by
19
- apply Finset.sum_le_sum_of_subset_of_nonneg
20
- · intro ij hij
21
- obtain ⟨hi, hj, _⟩ := Finset.mem_offDiag.mp hij
22
- exact Finset.mem_product.mpr ⟨hi, hj⟩
23
- · intro ij hij _
24
- obtain ⟨hi, hj⟩ := Finset.mem_product.mp hij
25
- exact add_nonneg (hA _ hi) (hA _ hj)
26
- _ = _ := by
27
- rw [Finset.sum_product]
28
- simp only [Finset.sum_add_distrib, Finset.sum_const, nsmul_eq_mul,
29
- ← Finset.mul_sum]
30
- ring
31
-
32
- /-- Negative one-point drift absorbs every pair contribution. We bound
33
- the off-diagonal vertex count by the full square; this only changes the
34
- order-dependent choice of epsilon. -/
35
- theorem sum_drift_absorption {ι : Type*} [DecidableEq ι]
36
- (s : Finset ι) (D A H : ι → ℝ) (cross weight : ι × ι → ℝ)
37
- (C k ε L : ℝ) (hε : 0 ≤ ε) (hA : ∀ i ∈ s, 0 ≤ A i)
38
- (hbudget : 2*ε*(s.card : ℝ) ≤ k)
39
- (hD : ∀ i ∈ s, D i ≤ C*H i-k*A i)
40
- (hcross : ∀ ij ∈ s.offDiag, cross ij ≤ ε*(A ij.1+A ij.2)+L*weight ij) :
41
- (∑ i ∈ s, D i) + (∑ ij ∈ s.offDiag, cross ij) ≤
42
- C*(∑ i ∈ s, H i) + L*(∑ ij ∈ s.offDiag, weight ij) := by
43
- have hsumD := Finset.sum_le_sum hD
44
- simp only [Finset.sum_sub_distrib, ← Finset.mul_sum] at hsumD
45
- have hsumcross := Finset.sum_le_sum hcross
46
- simp only [Finset.sum_add_distrib, ← Finset.mul_sum] at hsumcross
47
- have hvertices := mul_le_mul_of_nonneg_left (offDiag_vertex_cost_le s A hA) hε
48
- rw [Finset.sum_add_distrib] at hvertices
49
- have hsumA : 0 ≤ ∑ i ∈ s, A i := Finset.sum_nonneg hA
50
- have htotal := mul_le_mul_of_nonneg_right hbudget hsumA
51
- nlinarith
52
-
53
- lemma absorption_epsilon_pos {k : ℝ} (hk : 0 < k) (m : ℕ) :
54
- 0 < k/(4*((m : ℝ)+1)) := by positivity
55
-
56
- lemma absorption_epsilon_budget {k : ℝ} (hk : 0 ≤ k) (m : ℕ) :
57
- 2*(k/(4*((m : ℝ)+1)))*(m : ℝ) ≤ k := by
58
- have hm : (0 : ℝ) ≤ m := Nat.cast_nonneg m
59
- have hden : 0 < 4*((m : ℝ)+1) := by positivity
60
- have he : 2*(k/(4*((m : ℝ)+1)))*(m : ℝ) =
61
- (2*k*(m : ℝ))/(4*((m : ℝ)+1)) := by ring
62
- rw [he]
63
- apply (div_le_iff₀ hden).mpr
64
- nlinarith
65
-
66
- end SLEExactGauge.Multipoint
67
-
68
- end
69
-
70
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointYoung
2
+
3
+ namespace OAI
4
+
5
+ /-! Summation of the pairwise Young bounds. The active index set may
6
+ change at the individual activation and completion times. -/
7
+
8
+ noncomputable section
9
+ open scoped BigOperators
10
+
11
+ namespace SLEExactGauge.Multipoint
12
+
13
+ lemma offDiag_vertex_cost_le {ι : Type*} [DecidableEq ι]
14
+ (s : Finset ι) (A : ι → ℝ) (hA : ∀ i ∈ s, 0 ≤ A i) :
15
+ (∑ ij ∈ s.offDiag, (A ij.1 + A ij.2)) ≤
16
+ 2 * (s.card : ℝ) * ∑ i ∈ s, A i := by
17
+ calc
18
+ _ ≤ ∑ ij ∈ s ×ˢ s, (A ij.1 + A ij.2) := by
19
+ apply Finset.sum_le_sum_of_subset_of_nonneg
20
+ · intro ij hij
21
+ obtain ⟨hi, hj, _⟩ := Finset.mem_offDiag.mp hij
22
+ exact Finset.mem_product.mpr ⟨hi, hj⟩
23
+ · intro ij hij _
24
+ obtain ⟨hi, hj⟩ := Finset.mem_product.mp hij
25
+ exact add_nonneg (hA _ hi) (hA _ hj)
26
+ _ = _ := by
27
+ rw [Finset.sum_product]
28
+ simp only [Finset.sum_add_distrib, Finset.sum_const, nsmul_eq_mul,
29
+ ← Finset.mul_sum]
30
+ ring
31
+
32
+ /-- Negative one-point drift absorbs every pair contribution. We bound
33
+ the off-diagonal vertex count by the full square; this only changes the
34
+ order-dependent choice of epsilon. -/
35
+ theorem sum_drift_absorption {ι : Type*} [DecidableEq ι]
36
+ (s : Finset ι) (D A H : ι → ℝ) (cross weight : ι × ι → ℝ)
37
+ (C k ε L : ℝ) (hε : 0 ≤ ε) (hA : ∀ i ∈ s, 0 ≤ A i)
38
+ (hbudget : 2*ε*(s.card : ℝ) ≤ k)
39
+ (hD : ∀ i ∈ s, D i ≤ C*H i-k*A i)
40
+ (hcross : ∀ ij ∈ s.offDiag, cross ij ≤ ε*(A ij.1+A ij.2)+L*weight ij) :
41
+ (∑ i ∈ s, D i) + (∑ ij ∈ s.offDiag, cross ij) ≤
42
+ C*(∑ i ∈ s, H i) + L*(∑ ij ∈ s.offDiag, weight ij) := by
43
+ have hsumD := Finset.sum_le_sum hD
44
+ simp only [Finset.sum_sub_distrib, ← Finset.mul_sum] at hsumD
45
+ have hsumcross := Finset.sum_le_sum hcross
46
+ simp only [Finset.sum_add_distrib, ← Finset.mul_sum] at hsumcross
47
+ have hvertices := mul_le_mul_of_nonneg_left (offDiag_vertex_cost_le s A hA) hε
48
+ rw [Finset.sum_add_distrib] at hvertices
49
+ have hsumA : 0 ≤ ∑ i ∈ s, A i := Finset.sum_nonneg hA
50
+ have htotal := mul_le_mul_of_nonneg_right hbudget hsumA
51
+ nlinarith
52
+
53
+ lemma absorption_epsilon_pos {k : ℝ} (hk : 0 < k) (m : ℕ) :
54
+ 0 < k/(4*((m : ℝ)+1)) := by positivity
55
+
56
+ lemma absorption_epsilon_budget {k : ℝ} (hk : 0 ≤ k) (m : ℕ) :
57
+ 2*(k/(4*((m : ℝ)+1)))*(m : ℝ) ≤ k := by
58
+ have hm : (0 : ℝ) ≤ m := Nat.cast_nonneg m
59
+ have hden : 0 < 4*((m : ℝ)+1) := by positivity
60
+ have he : 2*(k/(4*((m : ℝ)+1)))*(m : ℝ) =
61
+ (2*k*(m : ℝ))/(4*((m : ℝ)+1)) := by ring
62
+ rw [he]
63
+ apply (div_le_iff₀ hden).mpr
64
+ nlinarith
65
+
66
+ end SLEExactGauge.Multipoint
67
+
68
+ end
69
+
70
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointActiveCosts.lean CHANGED
@@ -1,117 +1,117 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointLogClockTransport
2
- import OAI.Probability.SLE.Multipoint.MultipointGlobalDiscount
3
-
4
- namespace OAI
5
-
6
- /-! The raw active costs and their bounds on individual completion
7
- intervals. Disjoint active intervals contribute zero pair cost. -/
8
-
9
- noncomputable section
10
- open Set MeasureTheory
11
- open scoped NNReal
12
-
13
- namespace SLEExactGauge.Multipoint
14
-
15
- def actualSingleCost (κ β a U : ℝ) (B : ℝ≥0 → ℝ)
16
- (G : ℝ≥0 → ℂ → ℂ) (z : ℂ) (t : ℝ) : ℝ :=
17
- regulator β U (logFactorClock κ (logLoewnerCoordinates G z t)-a)*
18
- logVelocity κ (logLoewnerCoordinates G z t) (B t.toNNReal)^2
19
-
20
- def actualPairCost (κ β az aw Uz Uw : ℝ) (B : ℝ≥0 → ℝ)
21
- (G : ℝ≥0 → ℂ → ℂ) (z w : ℂ) (t : ℝ) : ℝ :=
22
- (regulator β Uz (logFactorClock κ (logLoewnerCoordinates G z t)-az)*
23
- regulator β Uw (logFactorClock κ (logLoewnerCoordinates G w t)-aw))^(-exponent (greenExponent κ))*
24
- (logVelocity κ (logLoewnerCoordinates G z t) (B t.toNNReal)*
25
- logVelocity κ (logLoewnerCoordinates G w t) (B t.toNNReal))
26
-
27
- lemma actualSingleCost_nonneg (κ β a U : ℝ) (B : ℝ≥0 → ℝ)
28
- (G : ℝ≥0 → ℂ → ℂ) (z : ℂ) (t : ℝ) : 0 ≤ actualSingleCost κ β a U B G z t :=
29
- mul_nonneg (regulator_pos _ _ _).le (sq_nonneg _)
30
-
31
- lemma actualPairCost_nonneg (κ β az aw Uz Uw : ℝ) (B : ℝ≥0 → ℝ)
32
- (G : ℝ≥0 → ℂ → ℂ) (z w : ℂ) (t : ℝ) :
33
- 0 ≤ actualPairCost κ β az aw Uz Uw B G z w t :=
34
- mul_nonneg (Real.rpow_nonneg (mul_pos (regulator_pos _ _ _) (regulator_pos _ _ _)).le _)
35
- (mul_pos (logVelocity_pos _ _ _) (logVelocity_pos _ _ _)).le
36
-
37
- theorem actualSingleCost_bound
38
- {κ : ℝ} (hκ : 0 < κ) {B : ℝ≥0 → ℝ} (hB : Continuous B)
39
- {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
40
- (hw : IsCapacityTwoWitness (fun t => Real.sqrt κ*B t) γ G F)
41
- (σ T : ℝ≥0) (hσT : σ ≤ T) (z : ℂ) (hz : z ∈ survivingDomain γ T)
42
- (β a U : ℝ) (hβ : 0 < β) (hU : 0 ≤ U)
43
- (hstart : σ < T → logFactorClock κ (logLoewnerCoordinates G z σ) = a)
44
- (hend : σ < T → logFactorClock κ (logLoewnerCoordinates G z T)-a ≤ U) :
45
- IntervalIntegrable (actualSingleCost κ β a U B G z) volume (σ : ℝ) (T : ℝ) ∧
46
- (∫ t in (σ : ℝ)..(T : ℝ), actualSingleCost κ β a U B G z t) ≤ 2/(κ*β) := by
47
- rcases lt_or_eq_of_le hσT with hlt | rfl
48
- · have he : actualSingleCost κ β a U B G z = fun t =>
49
- regulator β U (logFactorClock κ (logLoewnerCoordinates G z t)-
50
- logFactorClock κ (logLoewnerCoordinates G z σ))*
51
- logVelocity κ (logLoewnerCoordinates G z t) (B t.toNNReal)^2 := by
52
- funext t
53
- rw [actualSingleCost, hstart hlt]
54
- rw [he]
55
- refine ⟨hw.logFactor_single_intervalIntegrable hB σ T hσT z hz β U,
56
- hw.logFactor_single_regulator_integral_le hκ hB σ T hσT z hz hβ hU ?_⟩
57
- simpa only [hstart hlt] using hend hlt
58
- · exact ⟨by simp, by simp only [intervalIntegral.integral_same]; positivity⟩
59
-
60
- def overlapStart (σz σw : ℝ≥0) : ℝ≥0 := max σz σw
61
-
62
- def overlapEnd (σz σw Tz Tw : ℝ≥0) : ℝ≥0 := max (overlapStart σz σw) (min Tz Tw)
63
-
64
- theorem actualPairCost_bound
65
- {κ : ℝ} (hκ : 0 < κ) {B : ℝ≥0 → ℝ} (hB : Continuous B)
66
- {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
67
- (hw : IsCapacityTwoWitness (fun t => Real.sqrt κ*B t) γ G F)
68
- (hgrowth : PublishedDiskUnivalentGrowth) (J : ℂ → ℂ)
69
- (hJ : DifferentiableOn ℂ J upperHalfPlane) (hJinj : InjOn J upperHalfPlane)
70
- (σz σw Tz Tw : ℝ≥0) (z w : ℂ)
71
- (hz : z ∈ survivingDomain γ Tz) (hw' : w ∈ survivingDomain γ Tw) (hne : z ≠ w)
72
- (β az aw Uz Uw : ℝ) (hβ : 0 ≤ β) (hM : 0 ≤ exponent (greenExponent κ))
73
- (hdecay : 2*(exponent (greenExponent κ)*β) < 2/κ)
74
- (hstartz : σz < Tz → logFactorClock κ (logLoewnerCoordinates G z σz) = az)
75
- (hstartw : σw < Tw → logFactorClock κ (logLoewnerCoordinates G w σw) = aw)
76
- (hgeoz : σz < Tz → σw < Tw → physicalConformalRadius J G σz z ≤ dist (J z) (J w))
77
- (hgeow : σz < Tz → σw < Tw → physicalConformalRadius J G σw w ≤ dist (J z) (J w)) :
78
- IntervalIntegrable (actualPairCost κ β az aw Uz Uw B G z w) volume
79
- (overlapStart σz σw : ℝ) (overlapEnd σz σw Tz Tw : ℝ) ∧
80
- (∫ t in (overlapStart σz σw : ℝ)..(overlapEnd σz σw Tz Tw : ℝ),
81
- actualPairCost κ β az aw Uz Uw B G z w t) ≤
82
- interactionBudget 2 (exponent (greenExponent κ)*(κ*β)) := by
83
- have hadm : 2*(exponent (greenExponent κ)*(κ*β)) < 2 := by
84
- have hh := (source_pair_exponent_admissible (c := exponent (greenExponent κ)*β) hκ).mpr hdecay
85
- convert hh using 1
86
- ring
87
- by_cases ht : overlapStart σz σw < min Tz Tw
88
- · have hzt : σz < Tz := (le_max_left σz σw).trans_lt (ht.trans_le (min_le_left _ _))
89
- have hwt : σw < Tw := (le_max_right σz σw).trans_lt (ht.trans_le (min_le_right _ _))
90
- have he : actualPairCost κ β az aw Uz Uw B G z w = fun t =>
91
- (regulator β Uz (logFactorClock κ (logLoewnerCoordinates G z t)-
92
- logFactorClock κ (logLoewnerCoordinates G z σz))*
93
- regulator β Uw (logFactorClock κ (logLoewnerCoordinates G w t)-
94
- logFactorClock κ (logLoewnerCoordinates G w σw)))^(-exponent (greenExponent κ))*
95
- (logVelocity κ (logLoewnerCoordinates G z t) (B t.toNNReal)*
96
- logVelocity κ (logLoewnerCoordinates G w t) (B t.toNNReal)) := by
97
- funext t
98
- rw [actualPairCost, hstartz hzt, hstartw hwt]
99
- rw [he, overlapEnd, max_eq_right ht.le]
100
- have hzl := survivingDomain_antitone γ (min_le_left Tz Tw) hz
101
- have hwl := survivingDomain_antitone γ (min_le_right Tz Tw) hw'
102
- exact ⟨hw.logFactor_pair_intervalIntegrable hB σz σw (overlapStart σz σw) (min Tz Tw)
103
- (le_max_left _ _) (le_max_right _ _) ht.le z w hzl hwl β _ Uz Uw,
104
- hw.logFactor_pair_regulator_integral_le hκ hB hgrowth J hJ hJinj σz σw
105
- (overlapStart σz σw) (min Tz Tw) (le_max_left _ _) (le_max_right _ _) ht.le
106
- z w hzl hwl hne (hgeoz hzt hwt) (hgeow hzt hwt) hβ hM hdecay Uz Uw⟩
107
- · have he : overlapEnd σz σw Tz Tw = overlapStart σz σw :=
108
- max_eq_left (le_of_not_gt ht)
109
- rw [he]
110
- exact ⟨by simp, by simpa only [intervalIntegral.integral_same] using
111
- (interactionBudget_pos (by norm_num : (0 : ℝ) < 2) hadm).le⟩
112
-
113
- end SLEExactGauge.Multipoint
114
-
115
- end
116
-
117
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointLogClockTransport
2
+ import OAI.Probability.SLE.Multipoint.MultipointGlobalDiscount
3
+
4
+ namespace OAI
5
+
6
+ /-! The raw active costs and their bounds on individual completion
7
+ intervals. Disjoint active intervals contribute zero pair cost. -/
8
+
9
+ noncomputable section
10
+ open Set MeasureTheory
11
+ open scoped NNReal
12
+
13
+ namespace SLEExactGauge.Multipoint
14
+
15
+ def actualSingleCost (κ β a U : ℝ) (B : ℝ≥0 → ℝ)
16
+ (G : ℝ≥0 → ℂ → ℂ) (z : ℂ) (t : ℝ) : ℝ :=
17
+ regulator β U (logFactorClock κ (logLoewnerCoordinates G z t)-a)*
18
+ logVelocity κ (logLoewnerCoordinates G z t) (B t.toNNReal)^2
19
+
20
+ def actualPairCost (κ β az aw Uz Uw : ℝ) (B : ℝ≥0 → ℝ)
21
+ (G : ℝ≥0 → ℂ → ℂ) (z w : ℂ) (t : ℝ) : ℝ :=
22
+ (regulator β Uz (logFactorClock κ (logLoewnerCoordinates G z t)-az)*
23
+ regulator β Uw (logFactorClock κ (logLoewnerCoordinates G w t)-aw))^(-exponent (greenExponent κ))*
24
+ (logVelocity κ (logLoewnerCoordinates G z t) (B t.toNNReal)*
25
+ logVelocity κ (logLoewnerCoordinates G w t) (B t.toNNReal))
26
+
27
+ lemma actualSingleCost_nonneg (κ β a U : ℝ) (B : ℝ≥0 → ℝ)
28
+ (G : ℝ≥0 → ℂ → ℂ) (z : ℂ) (t : ℝ) : 0 ≤ actualSingleCost κ β a U B G z t :=
29
+ mul_nonneg (regulator_pos _ _ _).le (sq_nonneg _)
30
+
31
+ lemma actualPairCost_nonneg (κ β az aw Uz Uw : ℝ) (B : ℝ≥0 → ℝ)
32
+ (G : ℝ≥0 → ℂ → ℂ) (z w : ℂ) (t : ℝ) :
33
+ 0 ≤ actualPairCost κ β az aw Uz Uw B G z w t :=
34
+ mul_nonneg (Real.rpow_nonneg (mul_pos (regulator_pos _ _ _) (regulator_pos _ _ _)).le _)
35
+ (mul_pos (logVelocity_pos _ _ _) (logVelocity_pos _ _ _)).le
36
+
37
+ theorem actualSingleCost_bound
38
+ {κ : ℝ} (hκ : 0 < κ) {B : ℝ≥0 → ℝ} (hB : Continuous B)
39
+ {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
40
+ (hw : IsCapacityTwoWitness (fun t => Real.sqrt κ*B t) γ G F)
41
+ (σ T : ℝ≥0) (hσT : σ ≤ T) (z : ℂ) (hz : z ∈ survivingDomain γ T)
42
+ (β a U : ℝ) (hβ : 0 < β) (hU : 0 ≤ U)
43
+ (hstart : σ < T → logFactorClock κ (logLoewnerCoordinates G z σ) = a)
44
+ (hend : σ < T → logFactorClock κ (logLoewnerCoordinates G z T)-a ≤ U) :
45
+ IntervalIntegrable (actualSingleCost κ β a U B G z) volume (σ : ℝ) (T : ℝ) ∧
46
+ (∫ t in (σ : ℝ)..(T : ℝ), actualSingleCost κ β a U B G z t) ≤ 2/(κ*β) := by
47
+ rcases lt_or_eq_of_le hσT with hlt | rfl
48
+ · have he : actualSingleCost κ β a U B G z = fun t =>
49
+ regulator β U (logFactorClock κ (logLoewnerCoordinates G z t)-
50
+ logFactorClock κ (logLoewnerCoordinates G z σ))*
51
+ logVelocity κ (logLoewnerCoordinates G z t) (B t.toNNReal)^2 := by
52
+ funext t
53
+ rw [actualSingleCost, hstart hlt]
54
+ rw [he]
55
+ refine ⟨hw.logFactor_single_intervalIntegrable hB σ T hσT z hz β U,
56
+ hw.logFactor_single_regulator_integral_le hκ hB σ T hσT z hz hβ hU ?_⟩
57
+ simpa only [hstart hlt] using hend hlt
58
+ · exact ⟨by simp, by simp only [intervalIntegral.integral_same]; positivity⟩
59
+
60
+ def overlapStart (σz σw : ℝ≥0) : ℝ≥0 := max σz σw
61
+
62
+ def overlapEnd (σz σw Tz Tw : ℝ≥0) : ℝ≥0 := max (overlapStart σz σw) (min Tz Tw)
63
+
64
+ theorem actualPairCost_bound
65
+ {κ : ℝ} (hκ : 0 < κ) {B : ℝ≥0 → ℝ} (hB : Continuous B)
66
+ {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
67
+ (hw : IsCapacityTwoWitness (fun t => Real.sqrt κ*B t) γ G F)
68
+ (hgrowth : PublishedDiskUnivalentGrowth) (J : ℂ → ℂ)
69
+ (hJ : DifferentiableOn ℂ J upperHalfPlane) (hJinj : InjOn J upperHalfPlane)
70
+ (σz σw Tz Tw : ℝ≥0) (z w : ℂ)
71
+ (hz : z ∈ survivingDomain γ Tz) (hw' : w ∈ survivingDomain γ Tw) (hne : z ≠ w)
72
+ (β az aw Uz Uw : ℝ) (hβ : 0 ≤ β) (hM : 0 ≤ exponent (greenExponent κ))
73
+ (hdecay : 2*(exponent (greenExponent κ)*β) < 2/κ)
74
+ (hstartz : σz < Tz → logFactorClock κ (logLoewnerCoordinates G z σz) = az)
75
+ (hstartw : σw < Tw → logFactorClock κ (logLoewnerCoordinates G w σw) = aw)
76
+ (hgeoz : σz < Tz → σw < Tw → physicalConformalRadius J G σz z ≤ dist (J z) (J w))
77
+ (hgeow : σz < Tz → σw < Tw → physicalConformalRadius J G σw w ≤ dist (J z) (J w)) :
78
+ IntervalIntegrable (actualPairCost κ β az aw Uz Uw B G z w) volume
79
+ (overlapStart σz σw : ℝ) (overlapEnd σz σw Tz Tw : ℝ) ∧
80
+ (∫ t in (overlapStart σz σw : ℝ)..(overlapEnd σz σw Tz Tw : ℝ),
81
+ actualPairCost κ β az aw Uz Uw B G z w t) ≤
82
+ interactionBudget 2 (exponent (greenExponent κ)*(κ*β)) := by
83
+ have hadm : 2*(exponent (greenExponent κ)*(κ*β)) < 2 := by
84
+ have hh := (source_pair_exponent_admissible (c := exponent (greenExponent κ)*β) hκ).mpr hdecay
85
+ convert hh using 1
86
+ ring
87
+ by_cases ht : overlapStart σz σw < min Tz Tw
88
+ · have hzt : σz < Tz := (le_max_left σz σw).trans_lt (ht.trans_le (min_le_left _ _))
89
+ have hwt : σw < Tw := (le_max_right σz σw).trans_lt (ht.trans_le (min_le_right _ _))
90
+ have he : actualPairCost κ β az aw Uz Uw B G z w = fun t =>
91
+ (regulator β Uz (logFactorClock κ (logLoewnerCoordinates G z t)-
92
+ logFactorClock κ (logLoewnerCoordinates G z σz))*
93
+ regulator β Uw (logFactorClock κ (logLoewnerCoordinates G w t)-
94
+ logFactorClock κ (logLoewnerCoordinates G w σw)))^(-exponent (greenExponent κ))*
95
+ (logVelocity κ (logLoewnerCoordinates G z t) (B t.toNNReal)*
96
+ logVelocity κ (logLoewnerCoordinates G w t) (B t.toNNReal)) := by
97
+ funext t
98
+ rw [actualPairCost, hstartz hzt, hstartw hwt]
99
+ rw [he, overlapEnd, max_eq_right ht.le]
100
+ have hzl := survivingDomain_antitone γ (min_le_left Tz Tw) hz
101
+ have hwl := survivingDomain_antitone γ (min_le_right Tz Tw) hw'
102
+ exact ⟨hw.logFactor_pair_intervalIntegrable hB σz σw (overlapStart σz σw) (min Tz Tw)
103
+ (le_max_left _ _) (le_max_right _ _) ht.le z w hzl hwl β _ Uz Uw,
104
+ hw.logFactor_pair_regulator_integral_le hκ hB hgrowth J hJ hJinj σz σw
105
+ (overlapStart σz σw) (min Tz Tw) (le_max_left _ _) (le_max_right _ _) ht.le
106
+ z w hzl hwl hne (hgeoz hzt hwt) (hgeow hzt hwt) hβ hM hdecay Uz Uw⟩
107
+ · have he : overlapEnd σz σw Tz Tw = overlapStart σz σw :=
108
+ max_eq_left (le_of_not_gt ht)
109
+ rw [he]
110
+ exact ⟨by simp, by simpa only [intervalIntegral.integral_same] using
111
+ (interactionBudget_pos (by norm_num : (0 : ℝ) < 2) hadm).le⟩
112
+
113
+ end SLEExactGauge.Multipoint
114
+
115
+ end
116
+
117
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointActualBudget.lean CHANGED
@@ -1,146 +1,146 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointActualExpectation
2
- import OAI.Probability.SLE.Multipoint.MultipointCostAssembly
3
- import OAI.Probability.SLE.Multipoint.MultipointInitialParameters
4
-
5
- namespace OAI
6
-
7
- /-! The uniform discount budget for the actual, individually stopped
8
- Loewner coordinates in an arbitrary conformal image. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory ProbabilityTheory
12
- open scoped NNReal
13
-
14
- namespace SLEExactGauge.Multipoint
15
-
16
- theorem actual_localized_discount_le
17
- {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι] [DecidableEq ι]
18
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
19
- (hBc : ∀ ω, Continuous (fun t => B t ω))
20
- {κ β lo hi M : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8) (hβ : 0 < β)
21
- (hdecay : 2*(exponent (greenExponent κ)*β) < 2/κ)
22
- {H : ℝ≥0} (z : ι → ℂ) (hne : Function.Injective z)
23
- (u₀ u₂ : ι → ℝ) (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i)
24
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
25
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
26
- (S : LocalizedState B hm κ lo hi M H z
27
- (fun i => actualFactorStops γ G z u₀ u₂ H (i,2)) γ G)
28
- (horder : ∀ ω i, Monotone (fun k => actualFactorStops γ G z u₀ u₂ H (i,k) ω))
29
- (hgrowth : PublishedDiskUnivalentGrowth) (J : ℂ → ℂ)
30
- (hJ : DifferentiableOn ℂ J upperHalfPlane) (hJinj : InjOn J upperHalfPlane)
31
- (R b : ι → ℝ) (hR : ∀ i, 0 < R i) (hb : ∀ i, 0 < b i)
32
- (hRdef : ∀ i, R i = 2*(z i).im*‖deriv J (z i)‖)
33
- (hu₀ : ∀ i, u₀ i = Real.log (R i/b i))
34
- (hsep : ∀ i j, i ≠ j → b i ≤ dist (J (z i)) (J (z j)))
35
- (r : ℝ≥0 → Ω → ℝ) (C : ℝ≥0)
36
- (hrm : Measurable (Function.uncurry r)) (hrb : ∀ t ω, |r t ω| ≤ C)
37
- (hcost : ∀ ω t, t < S.χ ω → r t ω =
38
- productDriftCost (patternActiveSet (phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω)) κ
39
- (fun i => phaseRegulatorScale β (sourceClockLevel κ (z i) (u₀ i))
40
- (κ/4*(u₂ i-u₀ i)) (phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω i))
41
- (fun i => phaseRegulatorSlope β (phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω i))
42
- (S.Q t ω) (B t ω)) (ω : Ω) :
43
- discountClock r (S.χ ω) ω ≤ uniformDiscountBudget κ β (Finset.univ : Finset ι) := by
44
- classical
45
- let ρ := actualFactorStops γ G z u₀ u₂ H
46
- let a := fun i => sourceClockLevel κ (z i) (u₀ i)
47
- let U := fun i => κ/4*(u₂ i-u₀ i)
48
- let σ := fun i => min (ρ (i,0) ω) (S.χ ω)
49
- let T := fun i => min (ρ (i,2) ω) (S.χ ω)
50
- have hσT (i : ι) : σ i ≤ T i := min_le_min (horder ω i (by decide : (0 : Fin 3) ≤ 2)) le_rfl
51
- have hTH (i : ι) : T i ≤ S.χ ω := min_le_right _ _
52
- have hlive (i : ι) : z i ∈ survivingDomain (γ ω) (T i) := (S.actual ω i).1
53
- have hσeq (i : ι) (hlt : σ i < T i) : σ i = ρ (i,0) ω := by
54
- apply min_eq_left
55
- by_contra h
56
- have he : σ i = S.χ ω := min_eq_right (le_of_not_ge h)
57
- exact (not_lt_of_ge (hTH i)) (he ▸ hlt)
58
- have hσχ (i : ι) : σ i ≤ S.χ ω := min_le_right _ _
59
- have hστ (i : ι) : σ i ≤ ρ (i,2) ω :=
60
- (min_le_left _ _).trans (horder ω i (by decide : (0 : Fin 3) ≤ 2))
61
- have hstart (i : ι) (hlt : σ i < T i) :
62
- logFactorClock κ (logLoewnerCoordinates (G ω) (z i) (σ i)) = a i := by
63
- have he := (S.actual_at ω i (σ i) (hσχ i) (hστ i)).2
64
- have hs : actualFactorStops γ G z u₀ u₂ H (i,0) ω = σ i := (hσeq i hlt).symm
65
- have hc := actual_phase_switch_clock hBc hκ hw S horder ω i 0
66
- (by rw [hs]; exact hσχ i)
67
- rw [hs, he] at hc
68
- exact sub_eq_zero.mp (by simpa only [ite_true] using hc)
69
- have hend (i : ι) :
70
- logFactorClock κ (logLoewnerCoordinates (G ω) (z i) (T i))-a i ≤ U i := by
71
- have hc := cutoff_radius_strictly_reached_iff (continuous_const.mul (hBc ω))
72
- (hw ω) hκ (z i) (u₂ i) ((h₀ i).trans (hu i)) H (T i)
73
- ((hTH i).trans (S.bounded ω)) (hlive i) ω
74
- have hle : logFactorClock κ (logLoewnerCoordinates (G ω) (z i) (T i)) ≤
75
- sourceClockLevel κ (z i) (u₂ i) := by
76
- apply le_of_not_gt
77
- intro h
78
- have ht : ρ (i,2) ω < T i := by
79
- simpa only [ρ, actualFactorStops, factorRadiusLevel, Fin.reduceEq, ite_false, cutoffStop] using hc.mpr h
80
- exact (not_lt_of_ge (min_le_left _ _)) ht
81
- have he : sourceClockLevel κ (z i) (u₂ i) = a i+U i := by
82
- dsimp [a,U,sourceClockLevel]
83
- ring
84
- rw [he] at hle
85
- linarith
86
- have hgeo (i j : ι) (hij : i ≠ j) (hlt : σ i < T i) :
87
- physicalConformalRadius J (G ω) (σ i) (z i) ≤ dist (J (z i)) (J (z j)) := by
88
- have hc := hstart i hlt
89
- rw [logFactorClock_eq_logRadiusClock κ (Real.log (z i).im)] at hc
90
- have he : logRadiusClock (Real.log (z i).im)
91
- (logLoewnerCoordinates (G ω) (z i) (σ i)) = Real.log (R i/b i) := by
92
- dsimp [a,sourceClockLevel] at hc
93
- rw [← hu₀ i]
94
- nlinarith [hκ]
95
- rw [(hw ω).physical_radius_at_activation (continuous_const.mul (hBc ω)) J
96
- (z i) (R i) (b i) (hR i) (hb i) (hRdef i) (σ i)
97
- (S.actual_at ω i (σ i) (hσχ i) (hστ i)).1 he]
98
- exact hsep i j hij
99
- have hactive (t : ℝ) (ht : t ∈ Ico 0 (S.χ ω : ℝ)) (i : ι)
100
- (hi : i ∈ patternActiveSet (phaseAt ρ t.toNNReal ω)) :
101
- (σ i : ℝ) ≤ t ∧ t ≤ (T i : ℝ) := by
102
- have ha := (phaseAt_active_iff ρ ω i (horder ω i) t.toNNReal).mp
103
- (Finset.mem_filter.mp hi).2
104
- have htχ : t.toNNReal ≤ S.χ ω := Real.toNNReal_le_iff_le_coe.mpr ht.2.le
105
- constructor
106
- · have hh := (min_le_left (ρ (i,0) ω) (S.χ ω)).trans ha.1
107
- simpa only [Real.coe_toNNReal t ht.1] using (NNReal.coe_le_coe.mpr hh)
108
- · have hh : t.toNNReal ≤ T i := le_min ha.2.le htχ
109
- simpa only [Real.coe_toNNReal t ht.1] using (NNReal.coe_le_coe.mpr hh)
110
- have hQ (t : ℝ) (ht : t ∈ Ico 0 (S.χ ω : ℝ)) (i : ι)
111
- (hi : i ∈ patternActiveSet (phaseAt ρ t.toNNReal ω)) :
112
- S.Q t ω i = logLoewnerCoordinates (G ω) (z i) t := by
113
- have ha := (phaseAt_active_iff ρ ω i (horder ω i) t.toNNReal).mp
114
- (Finset.mem_filter.mp hi).2
115
- have hh := (S.actual_at ω i t.toNNReal (Real.toNNReal_le_iff_le_coe.mpr ht.2.le) ha.2.le).2
116
- simpa only [Real.coe_toNNReal t ht.1] using hh
117
- have hrt : ∀ ω, Measurable (fun t => r t ω) :=
118
- fun ω => hrm.comp (measurable_id.prodMk measurable_const)
119
- have hri : IntervalIntegrable (fun t : ℝ => r t.toNNReal ω) volume 0 (S.χ ω : ℝ) :=
120
- ((bounded_rate_locallyIntegrable r hrt C hrb ω).integrableOn_isCompact isCompact_uIcc).intervalIntegrable
121
- have hbound := actual_phase_cost_integral_le hκ hκ8 (hBc ω) (hw ω) hgrowth J hJ hJinj
122
- (Finset.univ : Finset ι) z (fun _ _ _ _ he => hne he) β hβ hdecay a U
123
- (fun i _ => mul_nonneg (div_nonneg hκ.le (by norm_num)) (sub_nonneg.mpr (hu i)))
124
- σ T (S.χ ω) (fun i _ => hσT i) (fun i _ => hTH i) (fun i _ => hlive i)
125
- (fun i _ => hstart i) (fun i _ _ => hend i)
126
- (fun i _ j _ hij hi _ => hgeo i j hij hi)
127
- (fun t => S.Q t ω) (fun t => phaseAt ρ t.toNNReal ω)
128
- (fun _ _ => Finset.subset_univ _) hactive hQ
129
- (fun t ht i hi => by
130
- have hh := (actual_phase_regulator hBc hκ hβ.le h₀ hu hw S horder ω t.toNNReal
131
- (Real.toNNReal_le_iff_le_coe.mpr ht.2.le) i (Finset.mem_filter.mp hi).2).1
132
- simpa only [Real.coe_toNNReal t ht.1,hQ t ht i hi] using hh)
133
- (fun t : ℝ => r t.toNNReal ω) hri
134
- (fun t ht => by
135
- have htχ : t.toNNReal < S.χ ω := by
136
- apply NNReal.coe_lt_coe.mp
137
- simpa only [Real.coe_toNNReal t ht.1] using ht.2
138
- have hh := hcost ω t.toNNReal htχ
139
- simpa only [Real.coe_toNNReal t ht.1] using hh)
140
- simpa only [discountClock,Real.toNNReal_coe] using hbound
141
-
142
- end SLEExactGauge.Multipoint
143
-
144
- end
145
-
146
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointActualExpectation
2
+ import OAI.Probability.SLE.Multipoint.MultipointCostAssembly
3
+ import OAI.Probability.SLE.Multipoint.MultipointInitialParameters
4
+
5
+ namespace OAI
6
+
7
+ /-! The uniform discount budget for the actual, individually stopped
8
+ Loewner coordinates in an arbitrary conformal image. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory ProbabilityTheory
12
+ open scoped NNReal
13
+
14
+ namespace SLEExactGauge.Multipoint
15
+
16
+ theorem actual_localized_discount_le
17
+ {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι] [DecidableEq ι]
18
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
19
+ (hBc : ∀ ω, Continuous (fun t => B t ω))
20
+ {κ β lo hi M : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8) (hβ : 0 < β)
21
+ (hdecay : 2*(exponent (greenExponent κ)*β) < 2/κ)
22
+ {H : ℝ≥0} (z : ι → ℂ) (hne : Function.Injective z)
23
+ (u₀ u₂ : ι → ℝ) (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i)
24
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
25
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
26
+ (S : LocalizedState B hm κ lo hi M H z
27
+ (fun i => actualFactorStops γ G z u₀ u₂ H (i,2)) γ G)
28
+ (horder : ∀ ω i, Monotone (fun k => actualFactorStops γ G z u₀ u₂ H (i,k) ω))
29
+ (hgrowth : PublishedDiskUnivalentGrowth) (J : ℂ → ℂ)
30
+ (hJ : DifferentiableOn ℂ J upperHalfPlane) (hJinj : InjOn J upperHalfPlane)
31
+ (R b : ι → ℝ) (hR : ∀ i, 0 < R i) (hb : ∀ i, 0 < b i)
32
+ (hRdef : ∀ i, R i = 2*(z i).im*‖deriv J (z i)‖)
33
+ (hu₀ : ∀ i, u₀ i = Real.log (R i/b i))
34
+ (hsep : ∀ i j, i ≠ j → b i ≤ dist (J (z i)) (J (z j)))
35
+ (r : ℝ≥0 → Ω → ℝ) (C : ℝ≥0)
36
+ (hrm : Measurable (Function.uncurry r)) (hrb : ∀ t ω, |r t ω| ≤ C)
37
+ (hcost : ∀ ω t, t < S.χ ω → r t ω =
38
+ productDriftCost (patternActiveSet (phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω)) κ
39
+ (fun i => phaseRegulatorScale β (sourceClockLevel κ (z i) (u₀ i))
40
+ (κ/4*(u₂ i-u₀ i)) (phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω i))
41
+ (fun i => phaseRegulatorSlope β (phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω i))
42
+ (S.Q t ω) (B t ω)) (ω : Ω) :
43
+ discountClock r (S.χ ω) ω ≤ uniformDiscountBudget κ β (Finset.univ : Finset ι) := by
44
+ classical
45
+ let ρ := actualFactorStops γ G z u₀ u₂ H
46
+ let a := fun i => sourceClockLevel κ (z i) (u₀ i)
47
+ let U := fun i => κ/4*(u₂ i-u₀ i)
48
+ let σ := fun i => min (ρ (i,0) ω) (S.χ ω)
49
+ let T := fun i => min (ρ (i,2) ω) (S.χ ω)
50
+ have hσT (i : ι) : σ i ≤ T i := min_le_min (horder ω i (by decide : (0 : Fin 3) ≤ 2)) le_rfl
51
+ have hTH (i : ι) : T i ≤ S.χ ω := min_le_right _ _
52
+ have hlive (i : ι) : z i ∈ survivingDomain (γ ω) (T i) := (S.actual ω i).1
53
+ have hσeq (i : ι) (hlt : σ i < T i) : σ i = ρ (i,0) ω := by
54
+ apply min_eq_left
55
+ by_contra h
56
+ have he : σ i = S.χ ω := min_eq_right (le_of_not_ge h)
57
+ exact (not_lt_of_ge (hTH i)) (he ▸ hlt)
58
+ have hσχ (i : ι) : σ i ≤ S.χ ω := min_le_right _ _
59
+ have hστ (i : ι) : σ i ≤ ρ (i,2) ω :=
60
+ (min_le_left _ _).trans (horder ω i (by decide : (0 : Fin 3) ≤ 2))
61
+ have hstart (i : ι) (hlt : σ i < T i) :
62
+ logFactorClock κ (logLoewnerCoordinates (G ω) (z i) (σ i)) = a i := by
63
+ have he := (S.actual_at ω i (σ i) (hσχ i) (hστ i)).2
64
+ have hs : actualFactorStops γ G z u₀ u₂ H (i,0) ω = σ i := (hσeq i hlt).symm
65
+ have hc := actual_phase_switch_clock hBc hκ hw S horder ω i 0
66
+ (by rw [hs]; exact hσχ i)
67
+ rw [hs, he] at hc
68
+ exact sub_eq_zero.mp (by simpa only [ite_true] using hc)
69
+ have hend (i : ι) :
70
+ logFactorClock κ (logLoewnerCoordinates (G ω) (z i) (T i))-a i ≤ U i := by
71
+ have hc := cutoff_radius_strictly_reached_iff (continuous_const.mul (hBc ω))
72
+ (hw ω) hκ (z i) (u₂ i) ((h₀ i).trans (hu i)) H (T i)
73
+ ((hTH i).trans (S.bounded ω)) (hlive i) ω
74
+ have hle : logFactorClock κ (logLoewnerCoordinates (G ω) (z i) (T i)) ≤
75
+ sourceClockLevel κ (z i) (u₂ i) := by
76
+ apply le_of_not_gt
77
+ intro h
78
+ have ht : ρ (i,2) ω < T i := by
79
+ simpa only [ρ, actualFactorStops, factorRadiusLevel, Fin.reduceEq, ite_false, cutoffStop] using hc.mpr h
80
+ exact (not_lt_of_ge (min_le_left _ _)) ht
81
+ have he : sourceClockLevel κ (z i) (u₂ i) = a i+U i := by
82
+ dsimp [a,U,sourceClockLevel]
83
+ ring
84
+ rw [he] at hle
85
+ linarith
86
+ have hgeo (i j : ι) (hij : i ≠ j) (hlt : σ i < T i) :
87
+ physicalConformalRadius J (G ω) (σ i) (z i) ≤ dist (J (z i)) (J (z j)) := by
88
+ have hc := hstart i hlt
89
+ rw [logFactorClock_eq_logRadiusClock κ (Real.log (z i).im)] at hc
90
+ have he : logRadiusClock (Real.log (z i).im)
91
+ (logLoewnerCoordinates (G ω) (z i) (σ i)) = Real.log (R i/b i) := by
92
+ dsimp [a,sourceClockLevel] at hc
93
+ rw [← hu₀ i]
94
+ nlinarith [hκ]
95
+ rw [(hw ω).physical_radius_at_activation (continuous_const.mul (hBc ω)) J
96
+ (z i) (R i) (b i) (hR i) (hb i) (hRdef i) (σ i)
97
+ (S.actual_at ω i (σ i) (hσχ i) (hστ i)).1 he]
98
+ exact hsep i j hij
99
+ have hactive (t : ℝ) (ht : t ∈ Ico 0 (S.χ ω : ℝ)) (i : ι)
100
+ (hi : i ∈ patternActiveSet (phaseAt ρ t.toNNReal ω)) :
101
+ (σ i : ℝ) ≤ t ∧ t ≤ (T i : ℝ) := by
102
+ have ha := (phaseAt_active_iff ρ ω i (horder ω i) t.toNNReal).mp
103
+ (Finset.mem_filter.mp hi).2
104
+ have htχ : t.toNNReal ≤ S.χ ω := Real.toNNReal_le_iff_le_coe.mpr ht.2.le
105
+ constructor
106
+ · have hh := (min_le_left (ρ (i,0) ω) (S.χ ω)).trans ha.1
107
+ simpa only [Real.coe_toNNReal t ht.1] using (NNReal.coe_le_coe.mpr hh)
108
+ · have hh : t.toNNReal ≤ T i := le_min ha.2.le htχ
109
+ simpa only [Real.coe_toNNReal t ht.1] using (NNReal.coe_le_coe.mpr hh)
110
+ have hQ (t : ℝ) (ht : t ∈ Ico 0 (S.χ ω : ℝ)) (i : ι)
111
+ (hi : i ∈ patternActiveSet (phaseAt ρ t.toNNReal ω)) :
112
+ S.Q t ω i = logLoewnerCoordinates (G ω) (z i) t := by
113
+ have ha := (phaseAt_active_iff ρ ω i (horder ω i) t.toNNReal).mp
114
+ (Finset.mem_filter.mp hi).2
115
+ have hh := (S.actual_at ω i t.toNNReal (Real.toNNReal_le_iff_le_coe.mpr ht.2.le) ha.2.le).2
116
+ simpa only [Real.coe_toNNReal t ht.1] using hh
117
+ have hrt : ∀ ω, Measurable (fun t => r t ω) :=
118
+ fun ω => hrm.comp (measurable_id.prodMk measurable_const)
119
+ have hri : IntervalIntegrable (fun t : ℝ => r t.toNNReal ω) volume 0 (S.χ ω : ℝ) :=
120
+ ((bounded_rate_locallyIntegrable r hrt C hrb ω).integrableOn_isCompact isCompact_uIcc).intervalIntegrable
121
+ have hbound := actual_phase_cost_integral_le hκ hκ8 (hBc ω) (hw ω) hgrowth J hJ hJinj
122
+ (Finset.univ : Finset ι) z (fun _ _ _ _ he => hne he) β hβ hdecay a U
123
+ (fun i _ => mul_nonneg (div_nonneg hκ.le (by norm_num)) (sub_nonneg.mpr (hu i)))
124
+ σ T (S.χ ω) (fun i _ => hσT i) (fun i _ => hTH i) (fun i _ => hlive i)
125
+ (fun i _ => hstart i) (fun i _ _ => hend i)
126
+ (fun i _ j _ hij hi _ => hgeo i j hij hi)
127
+ (fun t => S.Q t ω) (fun t => phaseAt ρ t.toNNReal ω)
128
+ (fun _ _ => Finset.subset_univ _) hactive hQ
129
+ (fun t ht i hi => by
130
+ have hh := (actual_phase_regulator hBc hκ hβ.le h₀ hu hw S horder ω t.toNNReal
131
+ (Real.toNNReal_le_iff_le_coe.mpr ht.2.le) i (Finset.mem_filter.mp hi).2).1
132
+ simpa only [Real.coe_toNNReal t ht.1,hQ t ht i hi] using hh)
133
+ (fun t : ℝ => r t.toNNReal ω) hri
134
+ (fun t ht => by
135
+ have htχ : t.toNNReal < S.χ ω := by
136
+ apply NNReal.coe_lt_coe.mp
137
+ simpa only [Real.coe_toNNReal t ht.1] using ht.2
138
+ have hh := hcost ω t.toNNReal htχ
139
+ simpa only [Real.coe_toNNReal t ht.1] using hh)
140
+ simpa only [discountClock,Real.toNNReal_coe] using hbound
141
+
142
+ end SLEExactGauge.Multipoint
143
+
144
+ end
145
+
146
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointActualCutoffs.lean CHANGED
@@ -1,57 +1,57 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointActualPhases
2
-
3
- namespace OAI
4
-
5
- /-! A countable family of concrete localizations, with the original
6
- radius stops capped beyond each integration horizon. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory ProbabilityTheory
10
- open scoped NNReal
11
-
12
- namespace SLEExactGauge.Multipoint
13
-
14
- theorem exists_actual_localizations
15
- {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι]
16
- {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
17
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
18
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
19
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
20
- (z : ι → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane)
21
- (u₀ u₂ : ι → ℝ) (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i)
22
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
23
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
24
- (A : ℝ) (hA : 0 ≤ A) (hzA : ∀ i, |Real.log (z i).im| ≤ A) :
25
- Nonempty (∀ n : ℕ, LocalizedState B hm κ (-(A+n+1)) (A+n+1) (A+n+1)
26
- ((n : ℝ≥0)+1) z
27
- (fun i => actualFactorStops γ G z u₀ u₂ ((n : ℝ≥0)+1) (i,2)) γ G) := by
28
- classical
29
- have hn (n : ℕ) : 0 ≤ A+(n : ℝ)+1 := by positivity
30
- have hex (n : ℕ) : Nonempty (LocalizedState B hm κ (-(A+n+1)) (A+n+1) (A+n+1)
31
- ((n : ℝ≥0)+1) z
32
- (fun i => actualFactorStops γ G z u₀ u₂ ((n : ℝ≥0)+1) (i,2)) γ G) := by
33
- have ht := (actualFactorStops_regular hB hm hBm hBc hB0 κ hκ hκ8 γ G F hw
34
- z hz u₀ u₂ h₀ hu ((n : ℝ≥0)+1)).1
35
- apply exists_localizedState B hm hBm hBc κ (-(A+n+1)) (A+n+1) (A+n+1)
36
- (by linarith [hn n]) ((n : ℝ≥0)+1) z hz
37
- · intro i
38
- have hi := (abs_le.mp (hzA i)).1
39
- linarith [Nat.cast_nonneg (α := ℝ) n]
40
- · intro i
41
- have hi := (abs_le.mp (hzA i)).2
42
- linarith [Nat.cast_nonneg (α := ℝ) n]
43
- · intro ω
44
- simpa only [hB0 ω,abs_zero] using hn n
45
- · exact fun i => ht (i,2)
46
- · exact hw
47
- exact ⟨fun n => Classical.choice (hex n)⟩
48
-
49
- lemma initial_log_height_bound {ι : Type*} [Fintype ι] (z : ι → ℂ) (i : ι) :
50
- |Real.log (z i).im| ≤ ‖fun j => Real.log (z j).im‖ := by
51
- simpa only [Real.norm_eq_abs] using norm_le_pi_norm (fun j => Real.log (z j).im) i
52
-
53
- end SLEExactGauge.Multipoint
54
-
55
- end
56
-
57
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointActualPhases
2
+
3
+ namespace OAI
4
+
5
+ /-! A countable family of concrete localizations, with the original
6
+ radius stops capped beyond each integration horizon. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory ProbabilityTheory
10
+ open scoped NNReal
11
+
12
+ namespace SLEExactGauge.Multipoint
13
+
14
+ theorem exists_actual_localizations
15
+ {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι]
16
+ {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
17
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
18
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
19
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
20
+ (z : ι → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane)
21
+ (u₀ u₂ : ι → ℝ) (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i)
22
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
23
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
24
+ (A : ℝ) (hA : 0 ≤ A) (hzA : ∀ i, |Real.log (z i).im| ≤ A) :
25
+ Nonempty (∀ n : ℕ, LocalizedState B hm κ (-(A+n+1)) (A+n+1) (A+n+1)
26
+ ((n : ℝ≥0)+1) z
27
+ (fun i => actualFactorStops γ G z u₀ u₂ ((n : ℝ≥0)+1) (i,2)) γ G) := by
28
+ classical
29
+ have hn (n : ℕ) : 0 ≤ A+(n : ℝ)+1 := by positivity
30
+ have hex (n : ℕ) : Nonempty (LocalizedState B hm κ (-(A+n+1)) (A+n+1) (A+n+1)
31
+ ((n : ℝ≥0)+1) z
32
+ (fun i => actualFactorStops γ G z u₀ u₂ ((n : ℝ≥0)+1) (i,2)) γ G) := by
33
+ have ht := (actualFactorStops_regular hB hm hBm hBc hB0 κ hκ hκ8 γ G F hw
34
+ z hz u₀ u₂ h₀ hu ((n : ℝ≥0)+1)).1
35
+ apply exists_localizedState B hm hBm hBc κ (-(A+n+1)) (A+n+1) (A+n+1)
36
+ (by linarith [hn n]) ((n : ℝ≥0)+1) z hz
37
+ · intro i
38
+ have hi := (abs_le.mp (hzA i)).1
39
+ linarith [Nat.cast_nonneg (α := ℝ) n]
40
+ · intro i
41
+ have hi := (abs_le.mp (hzA i)).2
42
+ linarith [Nat.cast_nonneg (α := ℝ) n]
43
+ · intro ω
44
+ simpa only [hB0 ω,abs_zero] using hn n
45
+ · exact fun i => ht (i,2)
46
+ · exact hw
47
+ exact ⟨fun n => Classical.choice (hex n)⟩
48
+
49
+ lemma initial_log_height_bound {ι : Type*} [Fintype ι] (z : ι → ℂ) (i : ι) :
50
+ |Real.log (z i).im| ≤ ‖fun j => Real.log (z j).im‖ := by
51
+ simpa only [Real.norm_eq_abs] using norm_le_pi_norm (fun j => Real.log (z j).im) i
52
+
53
+ end SLEExactGauge.Multipoint
54
+
55
+ end
56
+
57
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointActualExpectation.lean CHANGED
@@ -1,124 +1,124 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointActualPhases
2
- import OAI.Probability.SLE.Multipoint.MultipointLocalizedExpectation
3
- import OAI.Probability.SLE.Multipoint.MultipointSelectedRate
4
- import OAI.Probability.SLE.Multipoint.MultipointStateBounds
5
- import OAI.Probability.SLE.Multipoint.MultipointTerminalProbability
6
-
7
- namespace OAI
8
-
9
- /-! The actual localized multipoint product has expectation at most one.
10
- The bounded discount process is constructed, not supplied as an input. -/
11
-
12
- noncomputable section
13
- open Set Filter MeasureTheory ProbabilityTheory
14
- open scoped NNReal
15
-
16
- namespace SLEExactGauge.Multipoint
17
-
18
- theorem actual_localized_product_expectation
19
- {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι] [DecidableEq ι]
20
- {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
21
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
22
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
23
- {κ β lo hi M : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8) (hβ : 0 ≤ β) (hβ1 : β ≤ 1)
24
- {H : ℝ≥0} (z : ι → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane)
25
- (u₀ u₂ : ι → ℝ) (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i)
26
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
27
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
28
- (S : LocalizedState B hm κ lo hi M H z
29
- (fun i => actualFactorStops γ G z u₀ u₂ H (i,2)) γ G) :
30
- let ρ := actualFactorStops γ G z u₀ u₂ H
31
- let a := fun i => sourceClockLevel κ (z i) (u₀ i)
32
- let U := fun i => κ/4*(u₂ i-u₀ i)
33
- ∃ (r : ℝ≥0 → Ω → ℝ) (C : ℝ≥0),
34
- Measurable (Function.uncurry r) ∧
35
- IsProgressive (Filtration.natural B (fun t => (hm t).stronglyMeasurable)) r ∧
36
- (∀ t ω, 0 ≤ r t ω ∧ |r t ω| ≤ C) ∧
37
- (∀ ω t, t < S.χ ω → r t ω =
38
- productDriftCost (patternActiveSet (phaseAt ρ t ω)) κ
39
- (fun i => phaseRegulatorScale β (a i) (U i) (phaseAt ρ t ω i))
40
- (fun i => phaseRegulatorSlope β (phaseAt ρ t ω i)) (S.Q t ω) (B t ω)) ∧
41
- Integrable (fun ω => discountedPatternProduct κ β a U (phaseAt ρ (S.χ ω) ω)
42
- (S.Q (S.χ ω) ω,discountClock r (S.χ ω) ω) (B (S.χ ω) ω)) P ∧
43
- (∫ ω, discountedPatternProduct κ β a U (phaseAt ρ (S.χ ω) ω)
44
- (S.Q (S.χ ω) ω,discountClock r (S.χ ω) ω) (B (S.χ ω) ω) ∂P) ≤ 1 := by
45
- classical
46
- let : IsProbabilityMeasure P := hB.isGaussianProcess.isProbabilityMeasure
47
- dsimp only
48
- let ρ := actualFactorStops γ G z u₀ u₂ H
49
- let a := fun i => sourceClockLevel κ (z i) (u₀ i)
50
- let U := fun i => κ/4*(u₂ i-u₀ i)
51
- let l := factorSwitchList ρ
52
- obtain ⟨hρstop,horder,hρbound⟩ := actualFactorStops_regular hB hm hBm hBc hB0
53
- κ hκ hκ8 γ G F hw z hz u₀ u₂ h₀ hu H
54
- have hlstop := factorSwitchList_forall ρ
55
- (fun τ => IsStoppingTime (Filtration.natural B (fun t => (hm t).stronglyMeasurable))
56
- (fun ω => (τ ω : WithTop ℝ≥0)))
57
- (by
58
- simpa only [WithTop.coe_zero] using
59
- (isStoppingTime_const (Filtration.natural B (fun t => (hm t).stronglyMeasurable))
60
- (0 : ℝ≥0))) hρstop
61
- have hlbound := factorSwitchList_forall ρ (fun τ => ∀ ω, τ ω ≤ H+1)
62
- (fun _ => bot_le) hρbound
63
- have hU (i : ι) : 0 ≤ U i := mul_nonneg (div_nonneg hκ.le (by norm_num)) (sub_nonneg.mpr (hu i))
64
- let q₀ := fun i => initialLogCoordinates (z i)
65
- have hQ0 (ω : Ω) : S.Q 0 ω = q₀ := funext (S.initial ω)
66
- let Qbound := ‖q₀‖+(S.L : ℝ)*(H : ℝ)
67
- have hQbound (ω : Ω) (t : ℝ≥0) (ht : t ≤ S.χ ω) : ‖S.Q t ω‖ ≤ Qbound := by
68
- have hh := lipschitz_state_norm_le (fun u => S.Q u ω) S.L (S.lipschitz ω)
69
- H t t.coe_nonneg (by exact_mod_cast ht.trans (S.bounded ω))
70
- simpa only [hQ0 ω] using hh
71
- let R₀ := max Qbound M
72
- have hR₀ : 0 ≤ R₀ := (by positivity : (0 : ℝ) ≤ Qbound).trans (le_max_left _ _)
73
- have hnorm₀ (ω : Ω) (t : ℝ≥0) (ht : t ≤ S.χ ω) : ‖(S.Q t ω,B t ω)‖ ≤ R₀ := by
74
- rw [Prod.norm_def,Real.norm_eq_abs]
75
- exact max_le_max (hQbound ω t ht) (S.driver_bound ω t ht)
76
- obtain ⟨r,C,hrm,hrp,hrb,hcost⟩ := exists_localized_discount_rate B hm hBm hBc
77
- S.Q S.measurable S.adapted (fun ω => (S.lipschitz ω).continuous) κ β hκ hκ8 a U
78
- ρ l H hlstop hlbound (factorSwitchList_mem ρ) (factorSwitchList_zero ρ)
79
- S.χ S.stopping S.bounded R₀ hR₀ hnorm₀
80
- have hrt (ω : Ω) : Measurable (fun t => r t ω) :=
81
- hrm.comp (measurable_id.prodMk measurable_const)
82
- let R := max (max Qbound ((C : ℝ)*(H : ℝ))) M
83
- have hR : 0 ≤ R := (by positivity : (0 : ℝ) ≤ Qbound).trans
84
- ((le_max_left _ _).trans (le_max_left _ _))
85
- have hnorm (ω : Ω) (t : ℝ) (ht : 0 ≤ t) (htχ : t ≤ (S.χ ω : ℝ)) :
86
- ‖((S.Q t ω,discountClock r t ω),B t.toNNReal ω)‖ ≤ R :=
87
- discounted_state_norm_bound S.Q S.L S.lipschitz q₀ hQ0 r hrt C
88
- (fun t ω => (hrb t ω).2) B S.χ H S.bounded M
89
- (fun ω t ht => by simpa only [Real.norm_eq_abs] using S.driver_bound ω t ht) ω t ht htχ
90
- have hclock (ω : Ω) (i : ι) (k : Fin 3) (hk : ρ (i,k) ω ≤ S.χ ω) :
91
- logFactorClock κ (S.Q (ρ (i,k) ω) ω i)-a i =
92
- if k = 0 then 0 else if k = 1 then U i/2 else U i :=
93
- actual_phase_switch_clock hBc hκ hw S horder ω i k hk
94
- obtain ⟨hI,hmean⟩ := localized_pattern_expectation_le hB hm hBm hBc S.Q S.V S.L
95
- S.measurable S.adapted S.lipschitz S.velocity_measurable S.velocity_bound S.derivative
96
- r hrm hrp C (fun t ω => (hrb t ω).2) κ β hκ hκ8 hβ hβ1 a U hU ρ l H
97
- hlstop hlbound (factorSwitchList_mem ρ) horder (factorSwitchList_zero ρ)
98
- S.χ S.stopping S.bounded R hR hnorm
99
- (fun ω t ht i hi => (actual_phase_regulator hBc hκ hβ h₀ hu hw S horder ω t ht.le i
100
- (Finset.mem_filter.mp hi).2).2)
101
- (fun ω t ht i hi => S.physical_velocity ω t ht i
102
- ((phaseAt_active_iff ρ ω i (horder ω i) t).mp (Finset.mem_filter.mp hi).2).2)
103
- hcost hclock
104
- refine ⟨r,C,hrm,hrp,hrb,hcost,hI,hmean.trans ?_⟩
105
- have hinit (ω : Ω) : discountedPatternProduct κ β a U (phaseAt ρ 0 ω)
106
- (S.Q 0 ω,discountClock r 0 ω) (B 0 ω) ≤ 1 := by
107
- simp only [discountedPatternProduct, discountClock_initial, neg_zero, Real.exp_zero, one_mul]
108
- apply initial_phase_product_le_one κ β hκ hκ8 a U hU ρ ω (horder ω) (S.Q 0 ω) (B 0 ω)
109
- intro i k hk
110
- have hh := hclock ω i k (by rw [hk]; exact bot_le)
111
- simpa only [hk, NNReal.coe_zero] using hh
112
- have hnonneg (ω : Ω) : 0 ≤ discountedPatternProduct κ β a U (phaseAt ρ 0 ω)
113
- (S.Q 0 ω,discountClock r 0 ω) (B 0 ω) :=
114
- mul_nonneg (Real.exp_pos _).le (Finset.prod_nonneg (fun i _ =>
115
- (phaseFactor_pos κ β (a i) (U i) (phaseAt ρ 0 ω i) (S.Q 0 ω i) (B 0 ω)).le))
116
- simpa only [integral_const,probReal_univ,one_smul] using
117
- integral_mono_of_nonneg (μ := P) (ae_of_all P hnonneg)
118
- (integrable_const (1 : ℝ)) (ae_of_all P hinit)
119
-
120
- end SLEExactGauge.Multipoint
121
-
122
- end
123
-
124
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointActualPhases
2
+ import OAI.Probability.SLE.Multipoint.MultipointLocalizedExpectation
3
+ import OAI.Probability.SLE.Multipoint.MultipointSelectedRate
4
+ import OAI.Probability.SLE.Multipoint.MultipointStateBounds
5
+ import OAI.Probability.SLE.Multipoint.MultipointTerminalProbability
6
+
7
+ namespace OAI
8
+
9
+ /-! The actual localized multipoint product has expectation at most one.
10
+ The bounded discount process is constructed, not supplied as an input. -/
11
+
12
+ noncomputable section
13
+ open Set Filter MeasureTheory ProbabilityTheory
14
+ open scoped NNReal
15
+
16
+ namespace SLEExactGauge.Multipoint
17
+
18
+ theorem actual_localized_product_expectation
19
+ {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι] [DecidableEq ι]
20
+ {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
21
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
22
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
23
+ {κ β lo hi M : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8) (hβ : 0 ≤ β) (hβ1 : β ≤ 1)
24
+ {H : ℝ≥0} (z : ι → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane)
25
+ (u₀ u₂ : ι → ℝ) (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i)
26
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
27
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
28
+ (S : LocalizedState B hm κ lo hi M H z
29
+ (fun i => actualFactorStops γ G z u₀ u₂ H (i,2)) γ G) :
30
+ let ρ := actualFactorStops γ G z u₀ u₂ H
31
+ let a := fun i => sourceClockLevel κ (z i) (u₀ i)
32
+ let U := fun i => κ/4*(u₂ i-u₀ i)
33
+ ∃ (r : ℝ≥0 → Ω → ℝ) (C : ℝ≥0),
34
+ Measurable (Function.uncurry r) ∧
35
+ IsProgressive (Filtration.natural B (fun t => (hm t).stronglyMeasurable)) r ∧
36
+ (∀ t ω, 0 ≤ r t ω ∧ |r t ω| ≤ C) ∧
37
+ (∀ ω t, t < S.χ ω → r t ω =
38
+ productDriftCost (patternActiveSet (phaseAt ρ t ω)) κ
39
+ (fun i => phaseRegulatorScale β (a i) (U i) (phaseAt ρ t ω i))
40
+ (fun i => phaseRegulatorSlope β (phaseAt ρ t ω i)) (S.Q t ω) (B t ω)) ∧
41
+ Integrable (fun ω => discountedPatternProduct κ β a U (phaseAt ρ (S.χ ω) ω)
42
+ (S.Q (S.χ ω) ω,discountClock r (S.χ ω) ω) (B (S.χ ω) ω)) P ∧
43
+ (∫ ω, discountedPatternProduct κ β a U (phaseAt ρ (S.χ ω) ω)
44
+ (S.Q (S.χ ω) ω,discountClock r (S.χ ω) ω) (B (S.χ ω) ω) ∂P) ≤ 1 := by
45
+ classical
46
+ let : IsProbabilityMeasure P := hB.isGaussianProcess.isProbabilityMeasure
47
+ dsimp only
48
+ let ρ := actualFactorStops γ G z u₀ u₂ H
49
+ let a := fun i => sourceClockLevel κ (z i) (u₀ i)
50
+ let U := fun i => κ/4*(u₂ i-u₀ i)
51
+ let l := factorSwitchList ρ
52
+ obtain ⟨hρstop,horder,hρbound⟩ := actualFactorStops_regular hB hm hBm hBc hB0
53
+ κ hκ hκ8 γ G F hw z hz u₀ u₂ h₀ hu H
54
+ have hlstop := factorSwitchList_forall ρ
55
+ (fun τ => IsStoppingTime (Filtration.natural B (fun t => (hm t).stronglyMeasurable))
56
+ (fun ω => (τ ω : WithTop ℝ≥0)))
57
+ (by
58
+ simpa only [WithTop.coe_zero] using
59
+ (isStoppingTime_const (Filtration.natural B (fun t => (hm t).stronglyMeasurable))
60
+ (0 : ℝ≥0))) hρstop
61
+ have hlbound := factorSwitchList_forall ρ (fun τ => ∀ ω, τ ω ≤ H+1)
62
+ (fun _ => bot_le) hρbound
63
+ have hU (i : ι) : 0 ≤ U i := mul_nonneg (div_nonneg hκ.le (by norm_num)) (sub_nonneg.mpr (hu i))
64
+ let q₀ := fun i => initialLogCoordinates (z i)
65
+ have hQ0 (ω : Ω) : S.Q 0 ω = q₀ := funext (S.initial ω)
66
+ let Qbound := ‖q₀‖+(S.L : ℝ)*(H : ℝ)
67
+ have hQbound (ω : Ω) (t : ℝ≥0) (ht : t ≤ S.χ ω) : ‖S.Q t ω‖ ≤ Qbound := by
68
+ have hh := lipschitz_state_norm_le (fun u => S.Q u ω) S.L (S.lipschitz ω)
69
+ H t t.coe_nonneg (by exact_mod_cast ht.trans (S.bounded ω))
70
+ simpa only [hQ0 ω] using hh
71
+ let R₀ := max Qbound M
72
+ have hR₀ : 0 ≤ R₀ := (by positivity : (0 : ℝ) ≤ Qbound).trans (le_max_left _ _)
73
+ have hnorm₀ (ω : Ω) (t : ℝ≥0) (ht : t ≤ S.χ ω) : ‖(S.Q t ω,B t ω)‖ ≤ R₀ := by
74
+ rw [Prod.norm_def,Real.norm_eq_abs]
75
+ exact max_le_max (hQbound ω t ht) (S.driver_bound ω t ht)
76
+ obtain ⟨r,C,hrm,hrp,hrb,hcost⟩ := exists_localized_discount_rate B hm hBm hBc
77
+ S.Q S.measurable S.adapted (fun ω => (S.lipschitz ω).continuous) κ β hκ hκ8 a U
78
+ ρ l H hlstop hlbound (factorSwitchList_mem ρ) (factorSwitchList_zero ρ)
79
+ S.χ S.stopping S.bounded R₀ hR₀ hnorm₀
80
+ have hrt (ω : Ω) : Measurable (fun t => r t ω) :=
81
+ hrm.comp (measurable_id.prodMk measurable_const)
82
+ let R := max (max Qbound ((C : ℝ)*(H : ℝ))) M
83
+ have hR : 0 ≤ R := (by positivity : (0 : ℝ) ≤ Qbound).trans
84
+ ((le_max_left _ _).trans (le_max_left _ _))
85
+ have hnorm (ω : Ω) (t : ℝ) (ht : 0 ≤ t) (htχ : t ≤ (S.χ ω : ℝ)) :
86
+ ‖((S.Q t ω,discountClock r t ω),B t.toNNReal ω)‖ ≤ R :=
87
+ discounted_state_norm_bound S.Q S.L S.lipschitz q₀ hQ0 r hrt C
88
+ (fun t ω => (hrb t ω).2) B S.χ H S.bounded M
89
+ (fun ω t ht => by simpa only [Real.norm_eq_abs] using S.driver_bound ω t ht) ω t ht htχ
90
+ have hclock (ω : Ω) (i : ι) (k : Fin 3) (hk : ρ (i,k) ω ≤ S.χ ω) :
91
+ logFactorClock κ (S.Q (ρ (i,k) ω) ω i)-a i =
92
+ if k = 0 then 0 else if k = 1 then U i/2 else U i :=
93
+ actual_phase_switch_clock hBc hκ hw S horder ω i k hk
94
+ obtain ⟨hI,hmean⟩ := localized_pattern_expectation_le hB hm hBm hBc S.Q S.V S.L
95
+ S.measurable S.adapted S.lipschitz S.velocity_measurable S.velocity_bound S.derivative
96
+ r hrm hrp C (fun t ω => (hrb t ω).2) κ β hκ hκ8 hβ hβ1 a U hU ρ l H
97
+ hlstop hlbound (factorSwitchList_mem ρ) horder (factorSwitchList_zero ρ)
98
+ S.χ S.stopping S.bounded R hR hnorm
99
+ (fun ω t ht i hi => (actual_phase_regulator hBc hκ hβ h₀ hu hw S horder ω t ht.le i
100
+ (Finset.mem_filter.mp hi).2).2)
101
+ (fun ω t ht i hi => S.physical_velocity ω t ht i
102
+ ((phaseAt_active_iff ρ ω i (horder ω i) t).mp (Finset.mem_filter.mp hi).2).2)
103
+ hcost hclock
104
+ refine ⟨r,C,hrm,hrp,hrb,hcost,hI,hmean.trans ?_⟩
105
+ have hinit (ω : Ω) : discountedPatternProduct κ β a U (phaseAt ρ 0 ω)
106
+ (S.Q 0 ω,discountClock r 0 ω) (B 0 ω) ≤ 1 := by
107
+ simp only [discountedPatternProduct, discountClock_initial, neg_zero, Real.exp_zero, one_mul]
108
+ apply initial_phase_product_le_one κ β hκ hκ8 a U hU ρ ω (horder ω) (S.Q 0 ω) (B 0 ω)
109
+ intro i k hk
110
+ have hh := hclock ω i k (by rw [hk]; exact bot_le)
111
+ simpa only [hk, NNReal.coe_zero] using hh
112
+ have hnonneg (ω : Ω) : 0 ≤ discountedPatternProduct κ β a U (phaseAt ρ 0 ω)
113
+ (S.Q 0 ω,discountClock r 0 ω) (B 0 ω) :=
114
+ mul_nonneg (Real.exp_pos _).le (Finset.prod_nonneg (fun i _ =>
115
+ (phaseFactor_pos κ β (a i) (U i) (phaseAt ρ 0 ω i) (S.Q 0 ω i) (B 0 ω)).le))
116
+ simpa only [integral_const,probReal_univ,one_smul] using
117
+ integral_mono_of_nonneg (μ := P) (ae_of_all P hnonneg)
118
+ (integrable_const (1 : ℝ)) (ae_of_all P hinit)
119
+
120
+ end SLEExactGauge.Multipoint
121
+
122
+ end
123
+
124
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointActualPhases.lean CHANGED
@@ -1,163 +1,163 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointLocalizedState
2
- import OAI.Probability.SLE.Multipoint.MultipointRadiusStatus
3
- import OAI.Probability.SLE.Multipoint.MultipointPhaseRegulator
4
-
5
- namespace OAI
6
-
7
- /-! The three actual radius stops and their phase identities along the
8
- constructed localized state. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory ProbabilityTheory
12
- open scoped NNReal
13
-
14
- namespace SLEExactGauge.Multipoint
15
-
16
- def factorRadiusLevel (u₀ u₂ : ℝ) (k : Fin 3) : ℝ :=
17
- if k = 0 then u₀ else if k = 1 then (u₀+u₂)/2 else u₂
18
-
19
- lemma factorRadiusLevel_nonneg {u₀ u₂ : ℝ} (h₀ : 0 ≤ u₀) (h₂ : 0 ≤ u₂) (k : Fin 3) :
20
- 0 ≤ factorRadiusLevel u₀ u₂ k := by
21
- fin_cases k <;> norm_num [factorRadiusLevel] <;> positivity
22
-
23
- lemma factorRadiusLevel_monotone {u₀ u₂ : ℝ} (hu : u₀ ≤ u₂) :
24
- Monotone (factorRadiusLevel u₀ u₂) := by
25
- intro i j hij
26
- fin_cases i <;> fin_cases j <;> norm_num [factorRadiusLevel] at * <;> linarith
27
-
28
- def actualFactorStops {Ω ι : Type*} (γ : Ω → ℝ≥0 → ℂ)
29
- (G : Ω → ℝ≥0 → ℂ → ℂ) (z : ι → ℂ) (u₀ u₂ : ι → ℝ) (H : ℝ≥0)
30
- (k : ι × Fin 3) : Ω → ℝ≥0 :=
31
- cutoffStop (fun ω => radiusLevelTime (γ ω) (G ω) (z k.1)
32
- (factorRadiusLevel (u₀ k.1) (u₂ k.1) k.2)) (H+1)
33
-
34
- def factorSwitchList {Ω ι : Type*} [Fintype ι]
35
- (ρ : (ι × Fin 3) → Ω → ℝ≥0) : List (Ω → ℝ≥0) :=
36
- (fun _ => 0) :: (Finset.univ.toList.map ρ)
37
-
38
- lemma factorSwitchList_zero {Ω ι : Type*} [Fintype ι]
39
- (ρ : (ι × Fin 3) → Ω → ℝ≥0) : (fun _ : Ω => (0 : ℝ≥0)) ∈ factorSwitchList ρ := by
40
- simp only [factorSwitchList, List.mem_cons, true_or]
41
-
42
- lemma factorSwitchList_mem {Ω ι : Type*} [Fintype ι]
43
- (ρ : (ι × Fin 3) → Ω → ℝ≥0) (k : ι × Fin 3) : ρ k ∈ factorSwitchList ρ := by
44
- exact List.mem_cons_of_mem _ (List.mem_map.mpr ⟨k,Finset.mem_toList.mpr (Finset.mem_univ _),rfl⟩)
45
-
46
- lemma factorSwitchList_forall {Ω ι : Type*} [Fintype ι]
47
- (ρ : (ι × Fin 3) → Ω → ℝ≥0) (P : (Ω → ℝ≥0) → Prop)
48
- (hzero : P (fun _ => 0)) (hρ : ∀ k, P (ρ k)) : ∀ τ ∈ factorSwitchList ρ, P τ := by
49
- intro τ hτ
50
- rcases List.mem_cons.mp hτ with rfl | hτ
51
- · exact hzero
52
- · obtain ⟨k,_,rfl⟩ := List.mem_map.mp hτ
53
- exact hρ k
54
-
55
- theorem actualFactorStops_regular {Ω ι : Type*} [mΩ : MeasurableSpace Ω]
56
- {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
57
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
58
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
59
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
60
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
61
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
62
- (z : ι → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane) (u₀ u₂ : ι → ℝ)
63
- (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i) (H : ℝ≥0) :
64
- (∀ k, IsStoppingTime (Filtration.natural B (fun t => (hm t).stronglyMeasurable))
65
- (fun ω => (actualFactorStops γ G z u₀ u₂ H k ω : WithTop ℝ≥0))) ∧
66
- (∀ ω i, Monotone (fun k => actualFactorStops γ G z u₀ u₂ H (i,k) ω)) ∧
67
- (∀ k ω, actualFactorStops γ G z u₀ u₂ H k ω ≤ H+1) := by
68
- refine ⟨?_,?_,?_⟩
69
- · intro k
70
- exact cutoffStop_stopping _ _ (actual_radiusLevelTime_stopping hB hm hBm hBc hB0 κ hκ hκ8
71
- γ G F hw (z k.1) (hz k.1) _ (factorRadiusLevel_nonneg (h₀ k.1) ((h₀ k.1).trans (hu k.1)) k.2)) (H+1)
72
- · intro ω i j k hjk
73
- apply cutoffStop_mono _ (H+1) ω
74
- intro ω'
75
- exact radiusLevelTime_mono (continuous_const.mul (hBc ω')) (hw ω') (z i)
76
- (factorRadiusLevel_nonneg (h₀ i) ((h₀ i).trans (hu i)) j)
77
- (factorRadiusLevel_monotone (hu i) hjk)
78
- · exact fun k ω => cutoffStop_le_horizon _ _ ω
79
-
80
- lemma LocalizedState.actual_at {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι]
81
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
82
- {κ lo hi M : ℝ} {H : ℝ≥0} {z : ι → ℂ} {τ : ι → Ω → ℝ≥0}
83
- {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
84
- (S : LocalizedState B hm κ lo hi M H z τ γ G)
85
- (ω : Ω) (i : ι) (t : ℝ≥0) (htχ : t ≤ S.χ ω) (htτ : t ≤ τ i ω) :
86
- z i ∈ survivingDomain (γ ω) t ∧ S.Q t ω i = logLoewnerCoordinates (G ω) (z i) t := by
87
- have ht : t ≤ min (τ i ω) (S.χ ω) := le_min htτ htχ
88
- exact ⟨survivingDomain_antitone (γ ω) ht (S.actual ω i).1,
89
- (S.actual ω i).2 ⟨t.coe_nonneg, by exact_mod_cast ht⟩⟩
90
-
91
- theorem actual_phase_regulator
92
- {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι]
93
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
94
- (hBc : ∀ ω, Continuous (fun t => B t ω))
95
- {κ lo hi M β : ℝ} (hκ : 0 < κ) (hβ : 0 ��� β) {H : ℝ≥0}
96
- {z : ι → ℂ} {u₀ u₂ : ι → ℝ} (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i)
97
- {γ : Ω → ℝ≥0 → ℂ} {G F : Ω → ℝ≥0 → ℂ → ℂ}
98
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
99
- (S : LocalizedState B hm κ lo hi M H z
100
- (fun i => actualFactorStops γ G z u₀ u₂ H (i,2)) γ G)
101
- (horder : ∀ ω i, Monotone (fun k => actualFactorStops γ G z u₀ u₂ H (i,k) ω))
102
- (ω : Ω) (t : ℝ≥0) (htχ : t ≤ S.χ ω) (i : ι)
103
- (hactive : phaseActive (phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω i)) :
104
- let a := sourceClockLevel κ (z i) (u₀ i)
105
- let U := κ/4*(u₂ i-u₀ i)
106
- let j := phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω i
107
- branchRegulator κ (phaseRegulatorScale β a U j) (phaseRegulatorSlope β j) (S.Q t ω i) =
108
- regulator β U (logFactorClock κ (S.Q t ω i)-a) ∧
109
- branchRegulator κ (phaseRegulatorScale β a U j) (phaseRegulatorSlope β j) (S.Q t ω i) ≤ 1 := by
110
- have htt := ((phaseAt_active_iff _ ω i (horder ω i) t).mp hactive).2.le
111
- obtain ⟨hlive,he⟩ := S.actual_at ω i t htχ htt
112
- have hh := cutoff_radius_factor_thresholds (continuous_const.mul (hBc ω)) (hw ω) hκ
113
- (z i) (u₀ i) (u₂ i) (h₀ i) ((h₀ i).trans (hu i)) H t
114
- (htχ.trans (S.bounded ω)) hlive ω
115
- dsimp only at hh ⊢
116
- apply phaseAt_regulator_eq_and_le_one _ ω i (horder ω i) t κ β
117
- (sourceClockLevel κ (z i) (u₀ i)) (κ/4*(u₂ i-u₀ i)) hβ (S.Q t ω i) hactive
118
- · intro ht
119
- rw [he]
120
- exact hh.1.mp ht
121
- · intro ht
122
- rw [he]
123
- apply le_of_not_gt
124
- intro h
125
- exact (not_le_of_gt ht) (hh.2.1.mpr h.le)
126
- · intro ht
127
- rw [he]
128
- exact hh.2.1.mp ht
129
- · intro ht
130
- rw [he]
131
- apply le_of_not_gt
132
- intro h
133
- exact (not_le_of_gt ht) (hh.2.2.1.mpr h.le)
134
-
135
- theorem actual_phase_switch_clock
136
- {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι]
137
- {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
138
- (hBc : ∀ ω, Continuous (fun t => B t ω))
139
- {κ lo hi M : ℝ} (hκ : 0 < κ) {H : ℝ≥0}
140
- {z : ι → ℂ} {u₀ u₂ : ι → ℝ}
141
- {γ : Ω → ℝ≥0 → ℂ} {G F : Ω → ℝ≥0 → ℂ → ℂ}
142
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
143
- (S : LocalizedState B hm κ lo hi M H z
144
- (fun i => actualFactorStops γ G z u₀ u₂ H (i,2)) γ G)
145
- (horder : ∀ ω i, Monotone (fun k => actualFactorStops γ G z u₀ u₂ H (i,k) ω))
146
- (ω : Ω) (i : ι) (k : Fin 3)
147
- (hk : actualFactorStops γ G z u₀ u₂ H (i,k) ω ≤ S.χ ω) :
148
- logFactorClock κ (S.Q (actualFactorStops γ G z u₀ u₂ H (i,k) ω) ω i)-
149
- sourceClockLevel κ (z i) (u₀ i) =
150
- if k = 0 then 0 else if k = 1 then (κ/4*(u₂ i-u₀ i))/2 else κ/4*(u₂ i-u₀ i) := by
151
- let t := actualFactorStops γ G z u₀ u₂ H (i,k) ω
152
- have htτ : t ≤ actualFactorStops γ G z u₀ u₂ H (i,2) ω := horder ω i (Fin.le_last k)
153
- obtain ⟨hlive,he⟩ := S.actual_at ω i t hk htτ
154
- have hclock := (cutoff_radius_eq_iff (continuous_const.mul (hBc ω)) (hw ω) hκ
155
- (z i) (factorRadiusLevel (u₀ i) (u₂ i) k) H t (hk.trans (S.bounded ω)) hlive ω).mp rfl
156
- rw [he,hclock]
157
- fin_cases k <;> norm_num [factorRadiusLevel, sourceClockLevel] <;> ring
158
-
159
- end SLEExactGauge.Multipoint
160
-
161
- end
162
-
163
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointLocalizedState
2
+ import OAI.Probability.SLE.Multipoint.MultipointRadiusStatus
3
+ import OAI.Probability.SLE.Multipoint.MultipointPhaseRegulator
4
+
5
+ namespace OAI
6
+
7
+ /-! The three actual radius stops and their phase identities along the
8
+ constructed localized state. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory ProbabilityTheory
12
+ open scoped NNReal
13
+
14
+ namespace SLEExactGauge.Multipoint
15
+
16
+ def factorRadiusLevel (u₀ u₂ : ℝ) (k : Fin 3) : ℝ :=
17
+ if k = 0 then u₀ else if k = 1 then (u₀+u₂)/2 else u₂
18
+
19
+ lemma factorRadiusLevel_nonneg {u₀ u₂ : ℝ} (h₀ : 0 ≤ u₀) (h₂ : 0 ≤ u₂) (k : Fin 3) :
20
+ 0 ≤ factorRadiusLevel u₀ u₂ k := by
21
+ fin_cases k <;> norm_num [factorRadiusLevel] <;> positivity
22
+
23
+ lemma factorRadiusLevel_monotone {u₀ u₂ : ℝ} (hu : u₀ ≤ u₂) :
24
+ Monotone (factorRadiusLevel u₀ u₂) := by
25
+ intro i j hij
26
+ fin_cases i <;> fin_cases j <;> norm_num [factorRadiusLevel] at * <;> linarith
27
+
28
+ def actualFactorStops {Ω ι : Type*} (γ : Ω → ℝ≥0 → ℂ)
29
+ (G : Ω → ℝ≥0 → ℂ → ℂ) (z : ι → ℂ) (u₀ u₂ : ι → ℝ) (H : ℝ≥0)
30
+ (k : ι × Fin 3) : Ω → ℝ≥0 :=
31
+ cutoffStop (fun ω => radiusLevelTime (γ ω) (G ω) (z k.1)
32
+ (factorRadiusLevel (u₀ k.1) (u₂ k.1) k.2)) (H+1)
33
+
34
+ def factorSwitchList {Ω ι : Type*} [Fintype ι]
35
+ (ρ : (ι × Fin 3) → Ω → ℝ≥0) : List (Ω → ℝ≥0) :=
36
+ (fun _ => 0) :: (Finset.univ.toList.map ρ)
37
+
38
+ lemma factorSwitchList_zero {Ω ι : Type*} [Fintype ι]
39
+ (ρ : (ι × Fin 3) → Ω → ℝ≥0) : (fun _ : Ω => (0 : ℝ≥0)) ∈ factorSwitchList ρ := by
40
+ simp only [factorSwitchList, List.mem_cons, true_or]
41
+
42
+ lemma factorSwitchList_mem {Ω ι : Type*} [Fintype ι]
43
+ (ρ : (ι × Fin 3) → Ω → ℝ≥0) (k : ι × Fin 3) : ρ k ∈ factorSwitchList ρ := by
44
+ exact List.mem_cons_of_mem _ (List.mem_map.mpr ⟨k,Finset.mem_toList.mpr (Finset.mem_univ _),rfl⟩)
45
+
46
+ lemma factorSwitchList_forall {Ω ι : Type*} [Fintype ι]
47
+ (ρ : (ι × Fin 3) → Ω → ℝ≥0) (P : (Ω → ℝ≥0) → Prop)
48
+ (hzero : P (fun _ => 0)) (hρ : ∀ k, P (ρ k)) : ∀ τ ∈ factorSwitchList ρ, P τ := by
49
+ intro τ hτ
50
+ rcases List.mem_cons.mp hτ with rfl | hτ
51
+ · exact hzero
52
+ · obtain ⟨k,_,rfl⟩ := List.mem_map.mp hτ
53
+ exact hρ k
54
+
55
+ theorem actualFactorStops_regular {Ω ι : Type*} [mΩ : MeasurableSpace Ω]
56
+ {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
57
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
58
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
59
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
60
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
61
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
62
+ (z : ι → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane) (u₀ u₂ : ι → ℝ)
63
+ (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i) (H : ℝ≥0) :
64
+ (∀ k, IsStoppingTime (Filtration.natural B (fun t => (hm t).stronglyMeasurable))
65
+ (fun ω => (actualFactorStops γ G z u₀ u₂ H k ω : WithTop ℝ≥0))) ∧
66
+ (∀ ω i, Monotone (fun k => actualFactorStops γ G z u₀ u₂ H (i,k) ω)) ∧
67
+ (∀ k ω, actualFactorStops γ G z u₀ u₂ H k ω ≤ H+1) := by
68
+ refine ⟨?_,?_,?_⟩
69
+ · intro k
70
+ exact cutoffStop_stopping _ _ (actual_radiusLevelTime_stopping hB hm hBm hBc hB0 κ hκ hκ8
71
+ γ G F hw (z k.1) (hz k.1) _ (factorRadiusLevel_nonneg (h₀ k.1) ((h₀ k.1).trans (hu k.1)) k.2)) (H+1)
72
+ · intro ω i j k hjk
73
+ apply cutoffStop_mono _ (H+1) ω
74
+ intro ω'
75
+ exact radiusLevelTime_mono (continuous_const.mul (hBc ω')) (hw ω') (z i)
76
+ (factorRadiusLevel_nonneg (h₀ i) ((h₀ i).trans (hu i)) j)
77
+ (factorRadiusLevel_monotone (hu i) hjk)
78
+ · exact fun k ω => cutoffStop_le_horizon _ _ ω
79
+
80
+ lemma LocalizedState.actual_at {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι]
81
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
82
+ {κ lo hi M : ℝ} {H : ℝ≥0} {z : ι → ℂ} {τ : ι → Ω → ℝ≥0}
83
+ {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
84
+ (S : LocalizedState B hm κ lo hi M H z τ γ G)
85
+ (ω : Ω) (i : ι) (t : ℝ≥0) (htχ : t ≤ S.χ ω) (htτ : t ≤ τ i ω) :
86
+ z i ∈ survivingDomain (γ ω) t ∧ S.Q t ω i = logLoewnerCoordinates (G ω) (z i) t := by
87
+ have ht : t ≤ min (τ i ω) (S.χ ω) := le_min htτ htχ
88
+ exact ⟨survivingDomain_antitone (γ ω) ht (S.actual ω i).1,
89
+ (S.actual ω i).2 ⟨t.coe_nonneg, by exact_mod_cast ht⟩⟩
90
+
91
+ theorem actual_phase_regulator
92
+ {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι]
93
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
94
+ (hBc : ∀ ω, Continuous (fun t => B t ω))
95
+ {κ lo hi M β : ℝ} (hκ : 0 < κ) (hβ : 0 ≤ β) {H : ℝ≥0}
96
+ {z : ι → ℂ} {u₀ u₂ : ι → ℝ} (h₀ : ∀ i, 0 ≤ u₀ i) (hu : ∀ i, u₀ i ≤ u₂ i)
97
+ {γ : Ω → ℝ≥0 → ℂ} {G F : Ω → ℝ≥0 → ℂ → ℂ}
98
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
99
+ (S : LocalizedState B hm κ lo hi M H z
100
+ (fun i => actualFactorStops γ G z u₀ u₂ H (i,2)) γ G)
101
+ (horder : ∀ ω i, Monotone (fun k => actualFactorStops γ G z u₀ u₂ H (i,k) ω))
102
+ (ω : Ω) (t : ℝ≥0) (htχ : t ≤ S.χ ω) (i : ι)
103
+ (hactive : phaseActive (phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω i)) :
104
+ let a := sourceClockLevel κ (z i) (u₀ i)
105
+ let U := κ/4*(u₂ i-u₀ i)
106
+ let j := phaseAt (actualFactorStops γ G z u₀ u₂ H) t ω i
107
+ branchRegulator κ (phaseRegulatorScale β a U j) (phaseRegulatorSlope β j) (S.Q t ω i) =
108
+ regulator β U (logFactorClock κ (S.Q t ω i)-a) ∧
109
+ branchRegulator κ (phaseRegulatorScale β a U j) (phaseRegulatorSlope β j) (S.Q t ω i) ≤ 1 := by
110
+ have htt := ((phaseAt_active_iff _ ω i (horder ω i) t).mp hactive).2.le
111
+ obtain ⟨hlive,he⟩ := S.actual_at ω i t htχ htt
112
+ have hh := cutoff_radius_factor_thresholds (continuous_const.mul (hBc ω)) (hw ω) hκ
113
+ (z i) (u₀ i) (u₂ i) (h₀ i) ((h₀ i).trans (hu i)) H t
114
+ (htχ.trans (S.bounded ω)) hlive ω
115
+ dsimp only at hh ⊢
116
+ apply phaseAt_regulator_eq_and_le_one _ ω i (horder ω i) t κ β
117
+ (sourceClockLevel κ (z i) (u₀ i)) (κ/4*(u₂ i-u₀ i)) hβ (S.Q t ω i) hactive
118
+ · intro ht
119
+ rw [he]
120
+ exact hh.1.mp ht
121
+ · intro ht
122
+ rw [he]
123
+ apply le_of_not_gt
124
+ intro h
125
+ exact (not_le_of_gt ht) (hh.2.1.mpr h.le)
126
+ · intro ht
127
+ rw [he]
128
+ exact hh.2.1.mp ht
129
+ · intro ht
130
+ rw [he]
131
+ apply le_of_not_gt
132
+ intro h
133
+ exact (not_le_of_gt ht) (hh.2.2.1.mpr h.le)
134
+
135
+ theorem actual_phase_switch_clock
136
+ {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι]
137
+ {B : ℝ≥0 → Ω → ℝ} {hm : ∀ t, Measurable (B t)}
138
+ (hBc : ∀ ω, Continuous (fun t => B t ω))
139
+ {κ lo hi M : ℝ} (hκ : 0 < κ) {H : ℝ≥0}
140
+ {z : ι → ℂ} {u₀ u₂ : ι → ℝ}
141
+ {γ : Ω → ℝ≥0 → ℂ} {G F : Ω → ℝ≥0 → ℂ → ℂ}
142
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
143
+ (S : LocalizedState B hm κ lo hi M H z
144
+ (fun i => actualFactorStops γ G z u₀ u₂ H (i,2)) γ G)
145
+ (horder : ∀ ω i, Monotone (fun k => actualFactorStops γ G z u₀ u₂ H (i,k) ω))
146
+ (ω : Ω) (i : ι) (k : Fin 3)
147
+ (hk : actualFactorStops γ G z u₀ u₂ H (i,k) ω ≤ S.χ ω) :
148
+ logFactorClock κ (S.Q (actualFactorStops γ G z u₀ u₂ H (i,k) ω) ω i)-
149
+ sourceClockLevel κ (z i) (u₀ i) =
150
+ if k = 0 then 0 else if k = 1 then (κ/4*(u₂ i-u₀ i))/2 else κ/4*(u₂ i-u₀ i) := by
151
+ let t := actualFactorStops γ G z u₀ u₂ H (i,k) ω
152
+ have htτ : t ≤ actualFactorStops γ G z u₀ u₂ H (i,2) ω := horder ω i (Fin.le_last k)
153
+ obtain ⟨hlive,he⟩ := S.actual_at ω i t hk htτ
154
+ have hclock := (cutoff_radius_eq_iff (continuous_const.mul (hBc ω)) (hw ω) hκ
155
+ (z i) (factorRadiusLevel (u₀ i) (u₂ i) k) H t (hk.trans (S.bounded ω)) hlive ω).mp rfl
156
+ rw [he,hclock]
157
+ fin_cases k <;> norm_num [factorRadiusLevel, sourceClockLevel] <;> ring
158
+
159
+ end SLEExactGauge.Multipoint
160
+
161
+ end
162
+
163
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointActualProbability.lean CHANGED
@@ -1,86 +1,86 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointActualBudget
2
- import OAI.Probability.SLE.Multipoint.MultipointActualCutoffs
3
- import OAI.Probability.SLE.Multipoint.MultipointCompletionExhaustion
4
-
5
- namespace OAI
6
-
7
- /-! The fixed-order radius estimate in an arbitrary conformal image.
8
- The only analytic input not proved here is the stated disk growth bound. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory ProbabilityTheory
12
- open scoped NNReal ENNReal
13
-
14
- namespace SLEExactGauge.Multipoint
15
-
16
- theorem actual_radius_multipoint_bound
17
- {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι] [DecidableEq ι]
18
- {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
19
- (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
20
- (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
21
- {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
22
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
23
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
24
- (hgrowth : PublishedDiskUnivalentGrowth) (J : ℂ → ℂ)
25
- (hJ : DifferentiableOn ℂ J upperHalfPlane) (hJinj : InjOn J upperHalfPlane)
26
- (z : ι → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane) (hne : Function.Injective z)
27
- (R b e : ι → ℝ) (he : ∀ i, 0 < e i) (heb : ∀ i, e i ≤ b i)
28
- (hbR : ∀ i, b i ≤ R i) (hRdef : ∀ i, R i = 2*(z i).im*‖deriv J (z i)‖)
29
- (hsep : ∀ i j, i ≠ j → b i ≤ dist (J (z i)) (J (z j))) :
30
- P {ω | ∀ i, radiusLevelTime (γ ω) (G ω) (z i) (Real.log (R i/e i)) < ⊤} ≤
31
- ENNReal.ofReal ((3 : ℝ)^(Fintype.card ι) *
32
- Real.exp (uniformDiscountBudget κ (sourceBeta κ) (Finset.univ : Finset ι)) *
33
- ∏ i, (e i/b i)^(1-κ/8)) := by
34
- classical
35
- let u₀ := fun i => Real.log (R i/b i)
36
- let u₂ := fun i => Real.log (R i/e i)
37
- let a := fun i => sourceClockLevel κ (z i) (u₀ i)
38
- let U := fun i => κ/4*(u₂ i-u₀ i)
39
- let A := ‖fun i => Real.log (z i).im‖
40
- let K := uniformDiscountBudget κ (sourceBeta κ) (Finset.univ : Finset ι)
41
- have hb (i : ι) : 0 < b i := (he i).trans_le (heb i)
42
- have hR (i : ι) : 0 < R i := (hb i).trans_le (hbR i)
43
- have hparams (i : ι) := physical_radius_level_parameters hκ (z i)
44
- (R i) (b i) (e i) (he i) (heb i) (hbR i)
45
- have h₀ (i : ι) : 0 ≤ u₀ i := (hparams i).1
46
- have hu (i : ι) : u₀ i ≤ u₂ i := (hparams i).2.1
47
- have hU (i : ι) : U i = sourceTarget κ (b i) (e i) := by
48
- have hh := (hparams i).2.2.2.1
49
- dsimp [U,u₀,u₂,sourceClockLevel] at *
50
- linarith
51
- obtain ⟨_,hβ,hβ1,hdecay,_⟩ := source_parameters hκ hκ8
52
- obtain ⟨S⟩ := exists_actual_localizations hB hm hBm hBc hB0 hκ hκ8 z hz u₀ u₂ h₀ hu
53
- γ G F hw A (norm_nonneg _) (initial_log_height_bound z)
54
- let ρ := fun n : ℕ => actualFactorStops γ G z u₀ u₂ ((n : ℝ≥0)+1)
55
- have horder (n : ℕ) := (actualFactorStops_regular hB hm hBm hBc hB0 κ hκ hκ8
56
- γ G F hw z hz u₀ u₂ h₀ hu ((n : ℝ≥0)+1)).2.1
57
- have hex (n : ℕ) := actual_localized_product_expectation hB hm hBm hBc hB0 hκ hκ8
58
- hβ.le hβ1 z hz u₀ u₂ h₀ hu γ G F hw (S n)
59
- choose r C hrm hrp hrb hcost hI hmean using hex
60
- let E := {ω | ∀ i, radiusLevelTime (γ ω) (G ω) (z i) (u₂ i) < ⊤}
61
- let cutoff := fun n => {ω | phaseAt (ρ n) ((S n).χ ω) ω = fun _ => 3}
62
- have hcover : ∀ ω ∈ E, ∀ᶠ n : ℕ in atTop, ω ∈ cutoff n := by
63
- intro ω hω
64
- filter_upwards [eventually_all_completed_of_finite_radius_levels B hm hBc κ A
65
- (norm_nonneg _) z u₀ u₂ γ G F hw S ω hω] with n hn
66
- exact hn.2
67
- have hbudget (n : ℕ) (ω : Ω) : discountClock (r n) ((S n).χ ω) ω ≤ K :=
68
- actual_localized_discount_le hBc hκ hκ8 hβ hdecay z hne u₀ u₂ h₀ hu γ G F hw
69
- (S n) (horder n) hgrowth J hJ hJinj R b hR hb hRdef (fun _ => rfl) hsep
70
- (r n) (C n) (hrm n) (fun t ω => (hrb n t ω).2) (hcost n) ω
71
- have hbound := measure_le_of_completed_phase_products P E cutoff κ (sourceBeta κ) a U K
72
- (fun n ω => phaseAt (ρ n) ((S n).χ ω) ω)
73
- (fun n ω => (S n).Q ((S n).χ ω) ω)
74
- (fun n ω => discountClock (r n) ((S n).χ ω) ω)
75
- (fun n ω => B ((S n).χ ω) ω)
76
- hcover hI hmean (fun _ _ h => h) (fun n ω _ => hbudget n ω)
77
- have hexp := source_radius_targets_exponential (Finset.univ : Finset ι) hκ b e
78
- (fun i _ => hb i) (fun i _ => he i)
79
- simpa only [E,u₂,K,show U = (fun i => sourceTarget κ (b i) (e i)) from funext hU,
80
- hexp] using hbound
81
-
82
- end SLEExactGauge.Multipoint
83
-
84
- end
85
-
86
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointActualBudget
2
+ import OAI.Probability.SLE.Multipoint.MultipointActualCutoffs
3
+ import OAI.Probability.SLE.Multipoint.MultipointCompletionExhaustion
4
+
5
+ namespace OAI
6
+
7
+ /-! The fixed-order radius estimate in an arbitrary conformal image.
8
+ The only analytic input not proved here is the stated disk growth bound. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory ProbabilityTheory
12
+ open scoped NNReal ENNReal
13
+
14
+ namespace SLEExactGauge.Multipoint
15
+
16
+ theorem actual_radius_multipoint_bound
17
+ {Ω ι : Type*} [mΩ : MeasurableSpace Ω] [Fintype ι] [DecidableEq ι]
18
+ {P : Measure Ω} {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
19
+ (hm : ∀ t, Measurable (B t)) (hBm : Measurable (Function.uncurry B))
20
+ (hBc : ∀ ω, Continuous (fun t => B t ω)) (hB0 : ∀ ω, B 0 ω = 0)
21
+ {κ : ℝ} (hκ : 0 < κ) (hκ8 : κ < 8)
22
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
23
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
24
+ (hgrowth : PublishedDiskUnivalentGrowth) (J : ℂ → ℂ)
25
+ (hJ : DifferentiableOn ℂ J upperHalfPlane) (hJinj : InjOn J upperHalfPlane)
26
+ (z : ι → ℂ) (hz : ∀ i, z i ∈ upperHalfPlane) (hne : Function.Injective z)
27
+ (R b e : ι → ℝ) (he : ∀ i, 0 < e i) (heb : ∀ i, e i ≤ b i)
28
+ (hbR : ∀ i, b i ≤ R i) (hRdef : ∀ i, R i = 2*(z i).im*‖deriv J (z i)‖)
29
+ (hsep : ∀ i j, i ≠ j → b i ≤ dist (J (z i)) (J (z j))) :
30
+ P {ω | ∀ i, radiusLevelTime (γ ω) (G ω) (z i) (Real.log (R i/e i)) < ⊤} ≤
31
+ ENNReal.ofReal ((3 : ℝ)^(Fintype.card ι) *
32
+ Real.exp (uniformDiscountBudget κ (sourceBeta κ) (Finset.univ : Finset ι)) *
33
+ ∏ i, (e i/b i)^(1-κ/8)) := by
34
+ classical
35
+ let u₀ := fun i => Real.log (R i/b i)
36
+ let u₂ := fun i => Real.log (R i/e i)
37
+ let a := fun i => sourceClockLevel κ (z i) (u₀ i)
38
+ let U := fun i => κ/4*(u₂ i-u₀ i)
39
+ let A := ‖fun i => Real.log (z i).im‖
40
+ let K := uniformDiscountBudget κ (sourceBeta κ) (Finset.univ : Finset ι)
41
+ have hb (i : ι) : 0 < b i := (he i).trans_le (heb i)
42
+ have hR (i : ι) : 0 < R i := (hb i).trans_le (hbR i)
43
+ have hparams (i : ι) := physical_radius_level_parameters hκ (z i)
44
+ (R i) (b i) (e i) (he i) (heb i) (hbR i)
45
+ have h₀ (i : ι) : 0 ≤ u₀ i := (hparams i).1
46
+ have hu (i : ι) : u₀ i ≤ u₂ i := (hparams i).2.1
47
+ have hU (i : ι) : U i = sourceTarget κ (b i) (e i) := by
48
+ have hh := (hparams i).2.2.2.1
49
+ dsimp [U,u₀,u₂,sourceClockLevel] at *
50
+ linarith
51
+ obtain ⟨_,hβ,hβ1,hdecay,_⟩ := source_parameters hκ hκ8
52
+ obtain ⟨S⟩ := exists_actual_localizations hB hm hBm hBc hB0 hκ hκ8 z hz u₀ u₂ h₀ hu
53
+ γ G F hw A (norm_nonneg _) (initial_log_height_bound z)
54
+ let ρ := fun n : ℕ => actualFactorStops γ G z u₀ u₂ ((n : ℝ≥0)+1)
55
+ have horder (n : ℕ) := (actualFactorStops_regular hB hm hBm hBc hB0 κ hκ hκ8
56
+ γ G F hw z hz u₀ u₂ h₀ hu ((n : ℝ≥0)+1)).2.1
57
+ have hex (n : ℕ) := actual_localized_product_expectation hB hm hBm hBc hB0 hκ hκ8
58
+ hβ.le hβ1 z hz u₀ u₂ h₀ hu γ G F hw (S n)
59
+ choose r C hrm hrp hrb hcost hI hmean using hex
60
+ let E := {ω | ∀ i, radiusLevelTime (γ ω) (G ω) (z i) (u₂ i) < ⊤}
61
+ let cutoff := fun n => {ω | phaseAt (ρ n) ((S n).χ ω) ω = fun _ => 3}
62
+ have hcover : ∀ ω ∈ E, ∀ᶠ n : ℕ in atTop, ω ∈ cutoff n := by
63
+ intro ω hω
64
+ filter_upwards [eventually_all_completed_of_finite_radius_levels B hm hBc κ A
65
+ (norm_nonneg _) z u₀ u₂ γ G F hw S ω hω] with n hn
66
+ exact hn.2
67
+ have hbudget (n : ℕ) (ω : Ω) : discountClock (r n) ((S n).χ ω) ω ≤ K :=
68
+ actual_localized_discount_le hBc hκ hκ8 hβ hdecay z hne u₀ u₂ h₀ hu γ G F hw
69
+ (S n) (horder n) hgrowth J hJ hJinj R b hR hb hRdef (fun _ => rfl) hsep
70
+ (r n) (C n) (hrm n) (fun t ω => (hrb n t ω).2) (hcost n) ω
71
+ have hbound := measure_le_of_completed_phase_products P E cutoff κ (sourceBeta κ) a U K
72
+ (fun n ω => phaseAt (ρ n) ((S n).χ ω) ω)
73
+ (fun n ω => (S n).Q ((S n).χ ω) ω)
74
+ (fun n ω => discountClock (r n) ((S n).χ ω) ω)
75
+ (fun n ω => B ((S n).χ ω) ω)
76
+ hcover hI hmean (fun _ _ h => h) (fun n ω _ => hbudget n ω)
77
+ have hexp := source_radius_targets_exponential (Finset.univ : Finset ι) hκ b e
78
+ (fun i _ => hb i) (fun i _ => he i)
79
+ simpa only [E,u₂,K,show U = (fun i => sourceTarget κ (b i) (e i)) from funext hU,
80
+ hexp] using hbound
81
+
82
+ end SLEExactGauge.Multipoint
83
+
84
+ end
85
+
86
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointAngular.lean CHANGED
@@ -1,289 +1,289 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointRegularizer
2
-
3
- namespace OAI
4
-
5
- /-! The angular generator calculation for the regularized factors of the
6
- fixed-order multipoint radius estimate. The angular clock has generator
7
- `(1/2)∂² + ((1-p)/2) cot(θ) ∂`, with `p = 4a-1`. -/
8
-
9
- noncomputable section
10
- open Set
11
-
12
- namespace SLEExactGauge.Multipoint
13
-
14
- def sinePower (r θ : ℝ) : ℝ := Real.sin θ ^ r
15
-
16
- def sinePowerFirst (r θ : ℝ) : ℝ := r * Real.sin θ ^ (r-1) * Real.cos θ
17
-
18
- def sinePowerSecond (r θ : ℝ) : ℝ :=
19
- r * (r-1) * Real.sin θ ^ (r-2) * Real.cos θ ^ 2 - r * Real.sin θ ^ r
20
-
21
- lemma sinePower_hasDerivAt {r θ : ℝ} (hθ : Real.sin θ ≠ 0) :
22
- HasDerivAt (sinePower r) (sinePowerFirst r θ) θ := by
23
- apply ((Real.hasDerivAt_sin θ).rpow_const (p := r) (Or.inl hθ)).congr_deriv
24
- unfold sinePowerFirst
25
- ring
26
-
27
- lemma sinePowerFirst_hasDerivAt {r θ : ℝ} (hθ : Real.sin θ ≠ 0) :
28
- HasDerivAt (sinePowerFirst r) (sinePowerSecond r θ) θ := by
29
- have hd := (((Real.hasDerivAt_sin θ).rpow_const (p := r-1) (Or.inl hθ)).const_mul r).mul
30
- (Real.hasDerivAt_cos θ)
31
- apply hd.congr_deriv
32
- dsimp only [sinePowerSecond]
33
- rw [show r-1-1 = r-2 by ring]
34
- have hs : Real.sin θ ^ (r-1) * Real.sin θ = Real.sin θ ^ r := by
35
- rw [← Real.rpow_add_one hθ]
36
- congr 1
37
- ring
38
- calc
39
- _ = r * (r-1) * Real.sin θ ^ (r-2) * Real.cos θ ^ 2 -
40
- r * (Real.sin θ ^ (r-1) * Real.sin θ) := by ring
41
- _ = _ := by rw [hs]
42
-
43
- def sineGenerator (p r θ : ℝ) : ℝ :=
44
- sinePowerSecond r θ / 2 + (1-p)/2 * (Real.cos θ/Real.sin θ) * sinePowerFirst r θ
45
-
46
- lemma sineGenerator_eq {p r θ : ℝ} (hθ : 0 < Real.sin θ) :
47
- sineGenerator p r θ = r*(r-p)/2 * Real.sin θ ^ (r-2) -
48
- r*(r+1-p)/2 * Real.sin θ ^ r := by
49
- unfold sineGenerator sinePowerSecond sinePowerFirst
50
- rw [Real.rpow_sub hθ, Real.rpow_sub hθ, Real.rpow_two, Real.rpow_one]
51
- have hcos : Real.cos θ ^ 2 = 1 - Real.sin θ ^ 2 := by
52
- nlinarith [Real.sin_sq_add_cos_sq θ]
53
- rw [hcos]
54
- field_simp [hθ.ne']
55
- ring_nf
56
- rw [hcos]
57
- ring
58
-
59
- lemma sineGenerator_eigen {p θ : ℝ} (hθ : 0 < Real.sin θ) :
60
- sineGenerator p p θ + p/2 * sinePower p θ = 0 := by
61
- rw [sineGenerator_eq hθ]
62
- unfold sinePower
63
- ring
64
-
65
- def angularFactor (p δ θ : ℝ) : ℝ := sinePower p θ + δ*(1+sinePower (q p) θ)
66
-
67
- def damping (p δ θ : ℝ) : ℝ := δ / angularFactor p δ θ * sinePower (q p-2) θ
68
-
69
- def negativeDrift (p : ℝ) : ℝ := q p * (p-q p)/2
70
-
71
- def driftAllowance (p : ℝ) : ℝ := p/2 + (p-q p)*(1+q p)/2 + 2
72
-
73
- lemma negativeDrift_pos {p : ℝ} (hp : 0 < p) : 0 < negativeDrift p := by
74
- exact div_pos (mul_pos (q_pos hp) (sub_pos.mpr (q_lt_p hp))) (by norm_num)
75
-
76
- lemma driftAllowance_pos {p : ℝ} (hp : 0 < p) : 0 < driftAllowance p := by
77
- have hq := q_pos hp
78
- have hqp := q_lt_p hp
79
- dsimp [driftAllowance]
80
- positivity
81
-
82
- lemma angularFactor_pos {p δ θ : ℝ} (hδ : 0 < δ) (hθ : 0 < Real.sin θ) :
83
- 0 < angularFactor p δ θ := by
84
- unfold angularFactor sinePower
85
- positivity
86
-
87
- /-- Exact algebraic drift before estimating its negative singular term. -/
88
- lemma regularized_generator {p δ σ θ : ℝ} (hθ : 0 < Real.sin θ) :
89
- sineGenerator p p θ + δ*sineGenerator p (q p) θ +
90
- (p/2)*angularFactor p δ θ + δ*σ*(1+sinePower (q p) θ) =
91
- δ*(p/2 + (p-q p)*(1+q p)/2*sinePower (q p) θ -
92
- negativeDrift p*sinePower (q p-2) θ + σ*(1+sinePower (q p) θ)) := by
93
- rw [sineGenerator_eq hθ, sineGenerator_eq hθ]
94
- unfold angularFactor sinePower negativeDrift
95
- ring
96
-
97
- lemma regularized_bracket_le {p σ θ : ℝ} (hp : 0 < p)
98
- (hσ : σ ≤ 1) (hθ : 0 ≤ Real.sin θ) (hθ1 : Real.sin θ ≤ 1) :
99
- p/2 + (p-q p)*(1+q p)/2*sinePower (q p) θ -
100
- negativeDrift p*sinePower (q p-2) θ + σ*(1+sinePower (q p) θ) ≤
101
- driftAllowance p - negativeDrift p*sinePower (q p-2) θ := by
102
- have hs0 : 0 ≤ sinePower (q p) θ := Real.rpow_nonneg hθ _
103
- have hs1 : sinePower (q p) θ ≤ 1 := Real.rpow_le_one hθ hθ1 (q_pos hp).le
104
- have hk : 0 ≤ (p-q p)*(1+q p)/2 := by
105
- have := q_lt_p hp
106
- have := q_pos hp
107
- positivity
108
- have h1 := mul_le_mul_of_nonneg_left hs1 hk
109
- have h2 := mul_le_mul_of_nonneg_right hσ (by linarith : 0 ≤ 1+sinePower (q p) θ)
110
- unfold driftAllowance
111
- nlinarith
112
-
113
- lemma angularFactor_ge_delta {p δ θ : ℝ} (hδ : 0 ≤ δ) (hθ : 0 ≤ Real.sin θ) :
114
- δ ≤ angularFactor p δ θ := by
115
- unfold angularFactor sinePower
116
- have hp := Real.rpow_nonneg hθ p
117
- have hq := Real.rpow_nonneg hθ (q p)
118
- nlinarith
119
-
120
- lemma angularFactor_le_three {p δ θ : ℝ} (hp : 0 < p)
121
- (hδ : 0 ≤ δ) (hδ1 : δ ≤ 1) (hθ : 0 ≤ Real.sin θ) :
122
- angularFactor p δ θ ≤ 3 := by
123
- have hp1 : sinePower p θ ≤ 1 := Real.rpow_le_one hθ (Real.sin_le_one θ) hp.le
124
- have hq1 : sinePower (q p) θ ≤ 1 := Real.rpow_le_one hθ (Real.sin_le_one θ) (q_pos hp).le
125
- have hq0 : 0 ≤ sinePower (q p) θ := Real.rpow_nonneg hθ _
126
- unfold angularFactor
127
- nlinarith
128
-
129
- lemma angularFactor_endpoint_bounds {p θ : ℝ} (hp : 0 < p) (hθ : 0 ≤ Real.sin θ) :
130
- 1 ≤ angularFactor p 1 θ ∧ angularFactor p 1 θ ≤ 3 :=
131
- ⟨angularFactor_ge_delta zero_le_one hθ,
132
- angularFactor_le_three hp zero_le_one le_rfl hθ⟩
133
-
134
- def angularFactorFirst (p δ θ : ℝ) : ℝ :=
135
- sinePowerFirst p θ + δ*sinePowerFirst (q p) θ
136
-
137
- lemma angularFactor_hasDerivAt {p δ θ : ℝ} (hθ : Real.sin θ ≠ 0) :
138
- HasDerivAt (angularFactor p δ) (angularFactorFirst p δ θ) θ := by
139
- apply ((sinePower_hasDerivAt (r := p) hθ).add
140
- (((hasDerivAt_const θ 1).add (sinePower_hasDerivAt (r := q p) hθ)).const_mul δ)).congr_deriv
141
- simp only [angularFactorFirst, zero_add]
142
-
143
- lemma angularFactorFirst_bound {p δ θ : ℝ} (hp : 0 < p)
144
- (hδ : 0 ≤ δ) (hδ1 : δ ≤ 1) (hθ : 0 < Real.sin θ) :
145
- |angularFactorFirst p δ θ| ≤ (p+q p)*Real.sin θ ^ (q p-1) := by
146
- have hpq : Real.sin θ ^ (p-1) ≤ Real.sin θ ^ (q p-1) :=
147
- Real.rpow_le_rpow_of_exponent_ge hθ (Real.sin_le_one θ) (by linarith [q_lt_p hp])
148
- have hq := (q_pos hp).le
149
- have hpow : 0 ≤ Real.sin θ ^ (q p-1) := Real.rpow_nonneg hθ.le _
150
- have hcos : |Real.cos θ| ≤ 1 := abs_le.mpr ⟨Real.neg_one_le_cos θ, Real.cos_le_one θ⟩
151
- have hfirst (r : ℝ) (hr : 0 ≤ r) : |sinePowerFirst r θ| ≤ r * Real.sin θ ^ (r-1) := by
152
- unfold sinePowerFirst
153
- rw [abs_mul, abs_of_nonneg (mul_nonneg hr (Real.rpow_nonneg hθ.le _))]
154
- exact mul_le_of_le_one_right (mul_nonneg hr (Real.rpow_nonneg hθ.le _)) hcos
155
- calc
156
- _ ≤ |sinePowerFirst p θ| + |δ*sinePowerFirst (q p) θ| := abs_add_le _ _
157
- _ = |sinePowerFirst p θ| + δ*|sinePowerFirst (q p) θ| := by
158
- rw [abs_mul, abs_of_nonneg hδ]
159
- _ ≤ p*Real.sin θ ^ (p-1) + δ*(q p*Real.sin θ ^ (q p-1)) :=
160
- add_le_add (hfirst p hp.le) (mul_le_mul_of_nonneg_left (hfirst (q p) hq) hδ)
161
- _ ≤ p*Real.sin θ ^ (q p-1) + q p*Real.sin θ ^ (q p-1) :=
162
- add_le_add (mul_le_mul_of_nonneg_left hpq hp.le)
163
- (mul_le_of_le_one_left (mul_nonneg hq hpow) hδ1)
164
- _ = _ := by ring
165
-
166
- /-- The singular angular derivative is controlled by the damping term.
167
- The exponent is chosen so that `eta * (q - 2) = q - 1`. -/
168
- lemma normalized_angularFactorFirst_bound {p δ θ : ℝ} (hp : 0 < p)
169
- (hδ : 0 < δ) (hδ1 : δ ≤ 1) (hθ : 0 < Real.sin θ) :
170
- |angularFactorFirst p δ θ| / angularFactor p δ θ ≤
171
- (p+q p)*3^(eta p)*δ^(-1-eta p)*(damping p δ θ)^(eta p) := by
172
- let f := angularFactor p δ θ
173
- let e := eta p
174
- have hf : 0 < f := angularFactor_pos hδ hθ
175
- have hdf : δ ≤ f := angularFactor_ge_delta hδ.le hθ.le
176
- have hf3 : f ≤ 3 := angularFactor_le_three hp hδ.le hδ1 hθ.le
177
- have he : 0 < e := eta_pos
178
- have hD : 0 < damping p δ θ :=
179
- mul_pos (div_pos hδ hf) (Real.rpow_pos_of_pos hθ _)
180
- have hidentity : Real.sin θ ^ (q p-1) = (f/δ)^e * (damping p δ θ)^e := by
181
- rw [← Real.mul_rpow (div_pos hf hδ).le hD.le]
182
- have hcancel : f/δ*damping p δ θ = Real.sin θ ^ (q p-2) := by
183
- dsimp [damping, sinePower, f]
184
- field_simp [hδ.ne', (angularFactor_pos hδ hθ).ne']
185
- rw [hcancel, ← Real.rpow_mul hθ.le]
186
- congr 1
187
- exact ((mul_comm _ _).trans (eta_identity p)).symm
188
- have hpq : 0 ≤ p+q p := add_nonneg hp.le (q_pos hp).le
189
- calc
190
- _ ≤ ((p+q p)*Real.sin θ ^ (q p-1))/f :=
191
- div_le_div_of_nonneg_right (angularFactorFirst_bound hp hδ.le hδ1 hθ) hf.le
192
- _ ≤ ((p+q p)*Real.sin θ ^ (q p-1))/δ :=
193
- div_le_div_of_nonneg_left (mul_nonneg hpq (Real.rpow_nonneg hθ.le _)) hδ hdf
194
- _ = (p+q p)/δ * (f/δ)^e * (damping p δ θ)^e := by rw [hidentity]; ring
195
- _ ≤ (p+q p)/δ * (3/δ)^e * (damping p δ θ)^e := by
196
- apply mul_le_mul_of_nonneg_right _ (Real.rpow_nonneg hD.le _)
197
- apply mul_le_mul_of_nonneg_left _ (div_nonneg hpq hδ.le)
198
- exact Real.rpow_le_rpow (div_pos hf hδ).le
199
- (div_le_div_of_nonneg_right hf3 hδ.le) he.le
200
- _ = _ := by
201
- rw [Real.div_rpow (by norm_num : (0:ℝ) ≤ 3) hδ.le,
202
- Real.rpow_sub hδ, Real.rpow_neg_one]
203
- ring
204
-
205
- def driftThreshold (p : ℝ) : ℝ :=
206
- (negativeDrift p / (2*driftAllowance p)) ^ (1/(2-q p))
207
-
208
- lemma driftThreshold_pos {p : ℝ} (hp : 0 < p) : 0 < driftThreshold p := by
209
- exact Real.rpow_pos_of_pos (div_pos (negativeDrift_pos hp)
210
- (mul_pos (by norm_num) (driftAllowance_pos hp))) _
211
-
212
- lemma driftThreshold_lt_one {p : ℝ} (hp : 0 < p) : driftThreshold p < 1 := by
213
- have hq := q_pos hp
214
- have hq1 := q_lt_one (p := p)
215
- have hqp := q_lt_p hp
216
- have hk := negativeDrift_pos hp
217
- have hA := driftAllowance_pos hp
218
- have hden : 0 < 2-q p := by linarith
219
- have hsmall : negativeDrift p < 2*driftAllowance p := by
220
- unfold negativeDrift driftAllowance
221
- nlinarith [mul_nonneg (sub_nonneg.mpr hq1.le) (sub_nonneg.mpr hqp.le)]
222
- exact Real.rpow_lt_one (div_pos hk (by positivity)).le
223
- ((div_lt_one (by positivity)).mpr hsmall) (by positivity : 0 < 1/(2-q p))
224
-
225
- lemma driftThreshold_identity {p : ℝ} (hp : 0 < p) :
226
- negativeDrift p * driftThreshold p ^ (q p-2) = 2*driftAllowance p := by
227
- have hk := negativeDrift_pos hp
228
- have hA := driftAllowance_pos hp
229
- have hq2 : 2-q p ≠ 0 := ne_of_gt (by linarith [q_lt_one (p := p)])
230
- unfold driftThreshold
231
- rw [← Real.rpow_mul (div_pos hk (by positivity)).le]
232
- have he : (1/(2-q p))*(q p-2) = -1 := by field_simp; ring
233
- rw [he, Real.rpow_neg_one]
234
- field_simp
235
-
236
- /-- The negative singular part absorbs the bounded drift at small angles;
237
- away from the endpoints the denominator supplies a fixed lower bound. -/
238
- lemma regularized_drift_bound {p δ σ θ : ℝ} (hp : 0 < p)
239
- (hδ : 0 < δ) (hσ : σ ≤ 1) (hθ : 0 < Real.sin θ) :
240
- δ / angularFactor p δ θ *
241
- (p/2 + (p-q p)*(1+q p)/2*sinePower (q p) θ -
242
- negativeDrift p*sinePower (q p-2) θ + σ*(1+sinePower (q p) θ)) ≤
243
- (driftAllowance p * driftThreshold p ^ (-p))*δ -
244
- (negativeDrift p/2)*damping p δ θ := by
245
- let f := angularFactor p δ θ
246
- let S := sinePower (q p-2) θ
247
- let A := driftAllowance p
248
- let k := negativeDrift p
249
- let h := driftThreshold p
250
- have hf : 0 < f := angularFactor_pos hδ hθ
251
- have hA : 0 < A := driftAllowance_pos hp
252
- have hk : 0 < k := negativeDrift_pos hp
253
- have hh : 0 < h := driftThreshold_pos hp
254
- have hbr := regularized_bracket_le hp hσ hθ.le (Real.sin_le_one θ)
255
- have hstart := mul_le_mul_of_nonneg_left hbr (div_pos hδ hf).le
256
- change δ/f * _ ≤ A*h^(-p)*δ - (k/2)*(δ/f*S)
257
- apply hstart.trans
258
- change δ/f * (A-k*S) ≤ A*h^(-p)*δ - (k/2)*(δ/f*S)
259
- by_cases hsmall : Real.sin θ ≤ h
260
- · have hS : h^(q p-2) ≤ S :=
261
- Real.rpow_le_rpow_of_nonpos hθ hsmall (by linarith [q_lt_one (p := p)])
262
- have hcancel : A ≤ k/2*S := by
263
- have he := driftThreshold_identity hp
264
- change k*h^(q p-2) = 2*A at he
265
- nlinarith [mul_le_mul_of_nonneg_left hS hk.le]
266
- have hnonneg : 0 ≤ A*h^(-p)*δ := by positivity
267
- have hneg := mul_nonpos_of_nonneg_of_nonpos (div_pos hδ hf).le
268
- (sub_nonpos.mpr hcancel)
269
- nlinarith
270
- · have hsp : h^p ≤ Real.sin θ ^ p :=
271
- Real.rpow_le_rpow hh.le (le_of_not_ge hsmall) hp.le
272
- have hsf : Real.sin θ ^ p ≤ f := by
273
- dsimp [f, angularFactor, sinePower]
274
- exact le_add_of_nonneg_right (by positivity)
275
- have hhpow : 0 < h^p := Real.rpow_pos_of_pos hh _
276
- have hquot : δ/f ≤ δ/(h^p) := div_le_div_of_nonneg_left hδ.le hhpow (hsp.trans hsf)
277
- have hmain := mul_le_mul_of_nonneg_left hquot hA.le
278
- have hS0 : 0 ≤ S := Real.rpow_nonneg hθ.le _
279
- have hnonneg : 0 ≤ (k/2)*(δ/f*S) := mul_nonneg (by positivity)
280
- (mul_nonneg (div_pos hδ hf).le hS0)
281
- rw [Real.rpow_neg hh.le]
282
- change A*(δ/f) ≤ A*(δ*(h^p)⁻¹) at hmain
283
- nlinarith
284
-
285
- end SLEExactGauge.Multipoint
286
-
287
- end
288
-
289
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointRegularizer
2
+
3
+ namespace OAI
4
+
5
+ /-! The angular generator calculation for the regularized factors of the
6
+ fixed-order multipoint radius estimate. The angular clock has generator
7
+ `(1/2)∂² + ((1-p)/2) cot(θ) ∂`, with `p = 4a-1`. -/
8
+
9
+ noncomputable section
10
+ open Set
11
+
12
+ namespace SLEExactGauge.Multipoint
13
+
14
+ def sinePower (r θ : ℝ) : ℝ := Real.sin θ ^ r
15
+
16
+ def sinePowerFirst (r θ : ℝ) : ℝ := r * Real.sin θ ^ (r-1) * Real.cos θ
17
+
18
+ def sinePowerSecond (r θ : ℝ) : ℝ :=
19
+ r * (r-1) * Real.sin θ ^ (r-2) * Real.cos θ ^ 2 - r * Real.sin θ ^ r
20
+
21
+ lemma sinePower_hasDerivAt {r θ : ℝ} (hθ : Real.sin θ ≠ 0) :
22
+ HasDerivAt (sinePower r) (sinePowerFirst r θ) θ := by
23
+ apply ((Real.hasDerivAt_sin θ).rpow_const (p := r) (Or.inl hθ)).congr_deriv
24
+ unfold sinePowerFirst
25
+ ring
26
+
27
+ lemma sinePowerFirst_hasDerivAt {r θ : ℝ} (hθ : Real.sin θ ≠ 0) :
28
+ HasDerivAt (sinePowerFirst r) (sinePowerSecond r θ) θ := by
29
+ have hd := (((Real.hasDerivAt_sin θ).rpow_const (p := r-1) (Or.inl hθ)).const_mul r).mul
30
+ (Real.hasDerivAt_cos θ)
31
+ apply hd.congr_deriv
32
+ dsimp only [sinePowerSecond]
33
+ rw [show r-1-1 = r-2 by ring]
34
+ have hs : Real.sin θ ^ (r-1) * Real.sin θ = Real.sin θ ^ r := by
35
+ rw [← Real.rpow_add_one hθ]
36
+ congr 1
37
+ ring
38
+ calc
39
+ _ = r * (r-1) * Real.sin θ ^ (r-2) * Real.cos θ ^ 2 -
40
+ r * (Real.sin θ ^ (r-1) * Real.sin θ) := by ring
41
+ _ = _ := by rw [hs]
42
+
43
+ def sineGenerator (p r θ : ℝ) : ℝ :=
44
+ sinePowerSecond r θ / 2 + (1-p)/2 * (Real.cos θ/Real.sin θ) * sinePowerFirst r θ
45
+
46
+ lemma sineGenerator_eq {p r θ : ℝ} (hθ : 0 < Real.sin θ) :
47
+ sineGenerator p r θ = r*(r-p)/2 * Real.sin θ ^ (r-2) -
48
+ r*(r+1-p)/2 * Real.sin θ ^ r := by
49
+ unfold sineGenerator sinePowerSecond sinePowerFirst
50
+ rw [Real.rpow_sub hθ, Real.rpow_sub hθ, Real.rpow_two, Real.rpow_one]
51
+ have hcos : Real.cos θ ^ 2 = 1 - Real.sin θ ^ 2 := by
52
+ nlinarith [Real.sin_sq_add_cos_sq θ]
53
+ rw [hcos]
54
+ field_simp [hθ.ne']
55
+ ring_nf
56
+ rw [hcos]
57
+ ring
58
+
59
+ lemma sineGenerator_eigen {p θ : ℝ} (hθ : 0 < Real.sin θ) :
60
+ sineGenerator p p θ + p/2 * sinePower p θ = 0 := by
61
+ rw [sineGenerator_eq hθ]
62
+ unfold sinePower
63
+ ring
64
+
65
+ def angularFactor (p δ θ : ℝ) : ℝ := sinePower p θ + δ*(1+sinePower (q p) θ)
66
+
67
+ def damping (p δ θ : ℝ) : ℝ := δ / angularFactor p δ θ * sinePower (q p-2) θ
68
+
69
+ def negativeDrift (p : ℝ) : ℝ := q p * (p-q p)/2
70
+
71
+ def driftAllowance (p : ℝ) : ℝ := p/2 + (p-q p)*(1+q p)/2 + 2
72
+
73
+ lemma negativeDrift_pos {p : ℝ} (hp : 0 < p) : 0 < negativeDrift p := by
74
+ exact div_pos (mul_pos (q_pos hp) (sub_pos.mpr (q_lt_p hp))) (by norm_num)
75
+
76
+ lemma driftAllowance_pos {p : ℝ} (hp : 0 < p) : 0 < driftAllowance p := by
77
+ have hq := q_pos hp
78
+ have hqp := q_lt_p hp
79
+ dsimp [driftAllowance]
80
+ positivity
81
+
82
+ lemma angularFactor_pos {p δ θ : ℝ} (hδ : 0 < δ) (hθ : 0 < Real.sin θ) :
83
+ 0 < angularFactor p δ θ := by
84
+ unfold angularFactor sinePower
85
+ positivity
86
+
87
+ /-- Exact algebraic drift before estimating its negative singular term. -/
88
+ lemma regularized_generator {p δ σ θ : ℝ} (hθ : 0 < Real.sin θ) :
89
+ sineGenerator p p θ + δ*sineGenerator p (q p) θ +
90
+ (p/2)*angularFactor p δ θ + δ*σ*(1+sinePower (q p) θ) =
91
+ δ*(p/2 + (p-q p)*(1+q p)/2*sinePower (q p) θ -
92
+ negativeDrift p*sinePower (q p-2) θ + σ*(1+sinePower (q p) θ)) := by
93
+ rw [sineGenerator_eq hθ, sineGenerator_eq hθ]
94
+ unfold angularFactor sinePower negativeDrift
95
+ ring
96
+
97
+ lemma regularized_bracket_le {p σ θ : ℝ} (hp : 0 < p)
98
+ (hσ : σ ≤ 1) (hθ : 0 ≤ Real.sin θ) (hθ1 : Real.sin θ ≤ 1) :
99
+ p/2 + (p-q p)*(1+q p)/2*sinePower (q p) θ -
100
+ negativeDrift p*sinePower (q p-2) θ + σ*(1+sinePower (q p) θ) ≤
101
+ driftAllowance p - negativeDrift p*sinePower (q p-2) θ := by
102
+ have hs0 : 0 ≤ sinePower (q p) θ := Real.rpow_nonneg hθ _
103
+ have hs1 : sinePower (q p) θ ≤ 1 := Real.rpow_le_one hθ hθ1 (q_pos hp).le
104
+ have hk : 0 ≤ (p-q p)*(1+q p)/2 := by
105
+ have := q_lt_p hp
106
+ have := q_pos hp
107
+ positivity
108
+ have h1 := mul_le_mul_of_nonneg_left hs1 hk
109
+ have h2 := mul_le_mul_of_nonneg_right hσ (by linarith : 0 ≤ 1+sinePower (q p) θ)
110
+ unfold driftAllowance
111
+ nlinarith
112
+
113
+ lemma angularFactor_ge_delta {p δ θ : ℝ} (hδ : 0 ≤ δ) (hθ : 0 ≤ Real.sin θ) :
114
+ δ ≤ angularFactor p δ θ := by
115
+ unfold angularFactor sinePower
116
+ have hp := Real.rpow_nonneg hθ p
117
+ have hq := Real.rpow_nonneg hθ (q p)
118
+ nlinarith
119
+
120
+ lemma angularFactor_le_three {p δ θ : ℝ} (hp : 0 < p)
121
+ (hδ : 0 ≤ δ) (hδ1 : δ ≤ 1) (hθ : 0 ≤ Real.sin θ) :
122
+ angularFactor p δ θ ≤ 3 := by
123
+ have hp1 : sinePower p θ ≤ 1 := Real.rpow_le_one hθ (Real.sin_le_one θ) hp.le
124
+ have hq1 : sinePower (q p) θ ≤ 1 := Real.rpow_le_one hθ (Real.sin_le_one θ) (q_pos hp).le
125
+ have hq0 : 0 ≤ sinePower (q p) θ := Real.rpow_nonneg hθ _
126
+ unfold angularFactor
127
+ nlinarith
128
+
129
+ lemma angularFactor_endpoint_bounds {p θ : ℝ} (hp : 0 < p) (hθ : 0 ≤ Real.sin θ) :
130
+ 1 ≤ angularFactor p 1 θ ∧ angularFactor p 1 θ ≤ 3 :=
131
+ ⟨angularFactor_ge_delta zero_le_one hθ,
132
+ angularFactor_le_three hp zero_le_one le_rfl hθ⟩
133
+
134
+ def angularFactorFirst (p δ θ : ℝ) : ℝ :=
135
+ sinePowerFirst p θ + δ*sinePowerFirst (q p) θ
136
+
137
+ lemma angularFactor_hasDerivAt {p δ θ : ℝ} (hθ : Real.sin θ ≠ 0) :
138
+ HasDerivAt (angularFactor p δ) (angularFactorFirst p δ θ) θ := by
139
+ apply ((sinePower_hasDerivAt (r := p) hθ).add
140
+ (((hasDerivAt_const θ 1).add (sinePower_hasDerivAt (r := q p) hθ)).const_mul δ)).congr_deriv
141
+ simp only [angularFactorFirst, zero_add]
142
+
143
+ lemma angularFactorFirst_bound {p δ θ : ℝ} (hp : 0 < p)
144
+ (hδ : 0 ≤ δ) (hδ1 : δ ≤ 1) (hθ : 0 < Real.sin θ) :
145
+ |angularFactorFirst p δ θ| ≤ (p+q p)*Real.sin θ ^ (q p-1) := by
146
+ have hpq : Real.sin θ ^ (p-1) ≤ Real.sin θ ^ (q p-1) :=
147
+ Real.rpow_le_rpow_of_exponent_ge hθ (Real.sin_le_one θ) (by linarith [q_lt_p hp])
148
+ have hq := (q_pos hp).le
149
+ have hpow : 0 ≤ Real.sin θ ^ (q p-1) := Real.rpow_nonneg hθ.le _
150
+ have hcos : |Real.cos θ| ≤ 1 := abs_le.mpr ⟨Real.neg_one_le_cos θ, Real.cos_le_one θ⟩
151
+ have hfirst (r : ℝ) (hr : 0 ≤ r) : |sinePowerFirst r θ| ≤ r * Real.sin θ ^ (r-1) := by
152
+ unfold sinePowerFirst
153
+ rw [abs_mul, abs_of_nonneg (mul_nonneg hr (Real.rpow_nonneg hθ.le _))]
154
+ exact mul_le_of_le_one_right (mul_nonneg hr (Real.rpow_nonneg hθ.le _)) hcos
155
+ calc
156
+ _ ≤ |sinePowerFirst p θ| + |δ*sinePowerFirst (q p) θ| := abs_add_le _ _
157
+ _ = |sinePowerFirst p θ| + δ*|sinePowerFirst (q p) θ| := by
158
+ rw [abs_mul, abs_of_nonneg hδ]
159
+ _ ≤ p*Real.sin θ ^ (p-1) + δ*(q p*Real.sin θ ^ (q p-1)) :=
160
+ add_le_add (hfirst p hp.le) (mul_le_mul_of_nonneg_left (hfirst (q p) hq) hδ)
161
+ _ ≤ p*Real.sin θ ^ (q p-1) + q p*Real.sin θ ^ (q p-1) :=
162
+ add_le_add (mul_le_mul_of_nonneg_left hpq hp.le)
163
+ (mul_le_of_le_one_left (mul_nonneg hq hpow) hδ1)
164
+ _ = _ := by ring
165
+
166
+ /-- The singular angular derivative is controlled by the damping term.
167
+ The exponent is chosen so that `eta * (q - 2) = q - 1`. -/
168
+ lemma normalized_angularFactorFirst_bound {p δ θ : ℝ} (hp : 0 < p)
169
+ (hδ : 0 < δ) (hδ1 : δ ≤ 1) (hθ : 0 < Real.sin θ) :
170
+ |angularFactorFirst p δ θ| / angularFactor p δ θ ≤
171
+ (p+q p)*3^(eta p)*δ^(-1-eta p)*(damping p δ θ)^(eta p) := by
172
+ let f := angularFactor p δ θ
173
+ let e := eta p
174
+ have hf : 0 < f := angularFactor_pos hδ hθ
175
+ have hdf : δ ≤ f := angularFactor_ge_delta hδ.le hθ.le
176
+ have hf3 : f ≤ 3 := angularFactor_le_three hp hδ.le hδ1 hθ.le
177
+ have he : 0 < e := eta_pos
178
+ have hD : 0 < damping p δ θ :=
179
+ mul_pos (div_pos hδ hf) (Real.rpow_pos_of_pos hθ _)
180
+ have hidentity : Real.sin θ ^ (q p-1) = (f/δ)^e * (damping p δ θ)^e := by
181
+ rw [← Real.mul_rpow (div_pos hf hδ).le hD.le]
182
+ have hcancel : f/δ*damping p δ θ = Real.sin θ ^ (q p-2) := by
183
+ dsimp [damping, sinePower, f]
184
+ field_simp [hδ.ne', (angularFactor_pos hδ hθ).ne']
185
+ rw [hcancel, ← Real.rpow_mul hθ.le]
186
+ congr 1
187
+ exact ((mul_comm _ _).trans (eta_identity p)).symm
188
+ have hpq : 0 ≤ p+q p := add_nonneg hp.le (q_pos hp).le
189
+ calc
190
+ _ ≤ ((p+q p)*Real.sin θ ^ (q p-1))/f :=
191
+ div_le_div_of_nonneg_right (angularFactorFirst_bound hp hδ.le hδ1 hθ) hf.le
192
+ _ ≤ ((p+q p)*Real.sin θ ^ (q p-1))/δ :=
193
+ div_le_div_of_nonneg_left (mul_nonneg hpq (Real.rpow_nonneg hθ.le _)) hδ hdf
194
+ _ = (p+q p)/δ * (f/δ)^e * (damping p δ θ)^e := by rw [hidentity]; ring
195
+ _ ≤ (p+q p)/δ * (3/δ)^e * (damping p δ θ)^e := by
196
+ apply mul_le_mul_of_nonneg_right _ (Real.rpow_nonneg hD.le _)
197
+ apply mul_le_mul_of_nonneg_left _ (div_nonneg hpq hδ.le)
198
+ exact Real.rpow_le_rpow (div_pos hf hδ).le
199
+ (div_le_div_of_nonneg_right hf3 hδ.le) he.le
200
+ _ = _ := by
201
+ rw [Real.div_rpow (by norm_num : (0:ℝ) ≤ 3) hδ.le,
202
+ Real.rpow_sub hδ, Real.rpow_neg_one]
203
+ ring
204
+
205
+ def driftThreshold (p : ℝ) : ℝ :=
206
+ (negativeDrift p / (2*driftAllowance p)) ^ (1/(2-q p))
207
+
208
+ lemma driftThreshold_pos {p : ℝ} (hp : 0 < p) : 0 < driftThreshold p := by
209
+ exact Real.rpow_pos_of_pos (div_pos (negativeDrift_pos hp)
210
+ (mul_pos (by norm_num) (driftAllowance_pos hp))) _
211
+
212
+ lemma driftThreshold_lt_one {p : ℝ} (hp : 0 < p) : driftThreshold p < 1 := by
213
+ have hq := q_pos hp
214
+ have hq1 := q_lt_one (p := p)
215
+ have hqp := q_lt_p hp
216
+ have hk := negativeDrift_pos hp
217
+ have hA := driftAllowance_pos hp
218
+ have hden : 0 < 2-q p := by linarith
219
+ have hsmall : negativeDrift p < 2*driftAllowance p := by
220
+ unfold negativeDrift driftAllowance
221
+ nlinarith [mul_nonneg (sub_nonneg.mpr hq1.le) (sub_nonneg.mpr hqp.le)]
222
+ exact Real.rpow_lt_one (div_pos hk (by positivity)).le
223
+ ((div_lt_one (by positivity)).mpr hsmall) (by positivity : 0 < 1/(2-q p))
224
+
225
+ lemma driftThreshold_identity {p : ℝ} (hp : 0 < p) :
226
+ negativeDrift p * driftThreshold p ^ (q p-2) = 2*driftAllowance p := by
227
+ have hk := negativeDrift_pos hp
228
+ have hA := driftAllowance_pos hp
229
+ have hq2 : 2-q p ≠ 0 := ne_of_gt (by linarith [q_lt_one (p := p)])
230
+ unfold driftThreshold
231
+ rw [← Real.rpow_mul (div_pos hk (by positivity)).le]
232
+ have he : (1/(2-q p))*(q p-2) = -1 := by field_simp; ring
233
+ rw [he, Real.rpow_neg_one]
234
+ field_simp
235
+
236
+ /-- The negative singular part absorbs the bounded drift at small angles;
237
+ away from the endpoints the denominator supplies a fixed lower bound. -/
238
+ lemma regularized_drift_bound {p δ σ θ : ℝ} (hp : 0 < p)
239
+ (hδ : 0 < δ) (hσ : σ ≤ 1) (hθ : 0 < Real.sin θ) :
240
+ δ / angularFactor p δ θ *
241
+ (p/2 + (p-q p)*(1+q p)/2*sinePower (q p) θ -
242
+ negativeDrift p*sinePower (q p-2) θ + σ*(1+sinePower (q p) θ)) ≤
243
+ (driftAllowance p * driftThreshold p ^ (-p))*δ -
244
+ (negativeDrift p/2)*damping p δ θ := by
245
+ let f := angularFactor p δ θ
246
+ let S := sinePower (q p-2) θ
247
+ let A := driftAllowance p
248
+ let k := negativeDrift p
249
+ let h := driftThreshold p
250
+ have hf : 0 < f := angularFactor_pos hδ hθ
251
+ have hA : 0 < A := driftAllowance_pos hp
252
+ have hk : 0 < k := negativeDrift_pos hp
253
+ have hh : 0 < h := driftThreshold_pos hp
254
+ have hbr := regularized_bracket_le hp hσ hθ.le (Real.sin_le_one θ)
255
+ have hstart := mul_le_mul_of_nonneg_left hbr (div_pos hδ hf).le
256
+ change δ/f * _ ≤ A*h^(-p)*δ - (k/2)*(δ/f*S)
257
+ apply hstart.trans
258
+ change δ/f * (A-k*S) ≤ A*h^(-p)*δ - (k/2)*(δ/f*S)
259
+ by_cases hsmall : Real.sin θ ≤ h
260
+ · have hS : h^(q p-2) ≤ S :=
261
+ Real.rpow_le_rpow_of_nonpos hθ hsmall (by linarith [q_lt_one (p := p)])
262
+ have hcancel : A ≤ k/2*S := by
263
+ have he := driftThreshold_identity hp
264
+ change k*h^(q p-2) = 2*A at he
265
+ nlinarith [mul_le_mul_of_nonneg_left hS hk.le]
266
+ have hnonneg : 0 ≤ A*h^(-p)*δ := by positivity
267
+ have hneg := mul_nonpos_of_nonneg_of_nonpos (div_pos hδ hf).le
268
+ (sub_nonpos.mpr hcancel)
269
+ nlinarith
270
+ · have hsp : h^p ≤ Real.sin θ ^ p :=
271
+ Real.rpow_le_rpow hh.le (le_of_not_ge hsmall) hp.le
272
+ have hsf : Real.sin θ ^ p ≤ f := by
273
+ dsimp [f, angularFactor, sinePower]
274
+ exact le_add_of_nonneg_right (by positivity)
275
+ have hhpow : 0 < h^p := Real.rpow_pos_of_pos hh _
276
+ have hquot : δ/f ≤ δ/(h^p) := div_le_div_of_nonneg_left hδ.le hhpow (hsp.trans hsf)
277
+ have hmain := mul_le_mul_of_nonneg_left hquot hA.le
278
+ have hS0 : 0 ≤ S := Real.rpow_nonneg hθ.le _
279
+ have hnonneg : 0 ≤ (k/2)*(δ/f*S) := mul_nonneg (by positivity)
280
+ (mul_nonneg (div_pos hδ hf).le hS0)
281
+ rw [Real.rpow_neg hh.le]
282
+ change A*(δ/f) ≤ A*(δ*(h^p)⁻¹) at hmain
283
+ nlinarith
284
+
285
+ end SLEExactGauge.Multipoint
286
+
287
+ end
288
+
289
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointBrownianCoefficient.lean CHANGED
@@ -1,81 +1,81 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointAngular
2
- import OAI.Probability.SLE.Multipoint.MultipointYoung
3
-
4
- namespace OAI
5
-
6
- /-! The Brownian cross coefficient in the regularized multipoint product,
7
- including the singular powers when `p < 1`. -/
8
-
9
- noncomputable section
10
-
11
- namespace SLEExactGauge.Multipoint
12
-
13
- def angularCoefficientConstant (p : ℝ) : ℝ := (p+q p)*3^(eta p)
14
-
15
- lemma angularCoefficientConstant_pos {p : ℝ} (hp : 0 < p) :
16
- 0 < angularCoefficientConstant p := by
17
- unfold angularCoefficientConstant
18
- exact mul_pos (add_pos hp (q_pos hp)) (Real.rpow_pos_of_pos (by norm_num) _)
19
-
20
- lemma velocity_power_identity {D v e : ℝ} (hD : 0 ≤ D) (hv : 0 < v) :
21
- (D*v^2)^e * v^(1-2*e) = D^e*v := by
22
- rw [Real.mul_rpow hD (sq_nonneg v), ← Real.rpow_natCast v 2,
23
- ← Real.rpow_mul hv.le, mul_assoc, ← Real.rpow_add hv]
24
- norm_num
25
-
26
- lemma pair_velocity_power_identity {Di Dj vi vj e : ℝ}
27
- (hDi : 0 ≤ Di) (hDj : 0 ≤ Dj) (hvi : 0 < vi) (hvj : 0 < vj) :
28
- (Di*vi^2)^e*(Dj*vj^2)^e*(vi*vj)^(1-2*e) = Di^e*Dj^e*vi*vj := by
29
- rw [Real.mul_rpow hvi.le hvj.le]
30
- calc
31
- _ = ((Di*vi^2)^e*vi^(1-2*e))*((Dj*vj^2)^e*vj^(1-2*e)) := by ring
32
- _ = _ := by rw [velocity_power_identity hDi hvi, velocity_power_identity hDj hvj]; ring
33
-
34
- /-- The magnitude of one Brownian cross term is absorbed at its two
35
- endpoints, leaving exactly the inverse-regulator interaction cost. -/
36
- theorem angular_pair_absorption {p δi δj θi θj vi vj ε : ℝ}
37
- (hp : 0 < p) (hδi : 0 < δi) (hδi1 : δi ≤ 1)
38
- (hδj : 0 < δj) (hδj1 : δj ≤ 1)
39
- (hθi : 0 < Real.sin θi) (hθj : 0 < Real.sin θj)
40
- (hvi : 0 < vi) (hvj : 0 < vj) (hε : 0 < ε) :
41
- (|angularFactorFirst p δi θi| / angularFactor p δi θi * vi) *
42
- (|angularFactorFirst p δj θj| / angularFactor p δj θj * vj) ≤
43
- ε*(damping p δi θi*vi^2+damping p δj θj*vj^2) +
44
- youngConstant p (angularCoefficientConstant p ^ 2) ε *
45
- (δi*δj)^(-exponent p)*(vi*vj) := by
46
- let Di := damping p δi θi
47
- let Dj := damping p δj θj
48
- let C := angularCoefficientConstant p
49
- have hDi : 0 < Di := mul_pos (div_pos hδi (angularFactor_pos hδi hθi))
50
- (Real.rpow_pos_of_pos hθi _)
51
- have hDj : 0 < Dj := mul_pos (div_pos hδj (angularFactor_pos hδj hθj))
52
- (Real.rpow_pos_of_pos hθj _)
53
- have hC : 0 < C := angularCoefficientConstant_pos hp
54
- have hi := normalized_angularFactorFirst_bound hp hδi hδi1 hθi
55
- have hj := normalized_angularFactorFirst_bound hp hδj hδj1 hθj
56
- change _ ≤ C*δi^(-1-eta p)*Di^(eta p) at hi
57
- change _ ≤ C*δj^(-1-eta p)*Dj^(eta p) at hj
58
- have hmul := mul_le_mul hi hj (div_nonneg (abs_nonneg _) (angularFactor_pos hδj hθj).le)
59
- (by positivity : 0 ≤ C*δi^(-1-eta p)*Di^(eta p))
60
- have hmulv := mul_le_mul_of_nonneg_right hmul (mul_pos hvi hvj).le
61
- calc
62
- _ ≤ C^2*(δi*δj)^(-1-eta p)*Di^(eta p)*Dj^(eta p)*vi*vj := by
63
- rw [Real.mul_rpow hδi.le hδj.le]
64
- convert hmulv using 1 <;> ring
65
- _ = C^2*(δi*δj)^(-1-eta p)*(Di*vi^2)^(eta p)*
66
- (Dj*vj^2)^(eta p)*(vi*vj)^(1-2*eta p) := by
67
- calc
68
- _ = C^2*(δi*δj)^(-1-eta p)*(Di^(eta p)*Dj^(eta p)*vi*vj) := by ring
69
- _ = C^2*(δi*δj)^(-1-eta p)*
70
- ((Di*vi^2)^(eta p)*(Dj*vj^2)^(eta p)*(vi*vj)^(1-2*eta p)) := by
71
- rw [pair_velocity_power_identity hDi.le hDj.le hvi hvj]
72
- _ = _ := by ring
73
- _ ≤ _ := weighted_pair_absorption hp (sq_pos_of_pos hC) hε (mul_pos hδi hδj)
74
- (mul_nonneg hDi.le (sq_nonneg vi)) (mul_nonneg hDj.le (sq_nonneg vj))
75
- (mul_pos hvi hvj).le
76
-
77
- end SLEExactGauge.Multipoint
78
-
79
- end
80
-
81
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointAngular
2
+ import OAI.Probability.SLE.Multipoint.MultipointYoung
3
+
4
+ namespace OAI
5
+
6
+ /-! The Brownian cross coefficient in the regularized multipoint product,
7
+ including the singular powers when `p < 1`. -/
8
+
9
+ noncomputable section
10
+
11
+ namespace SLEExactGauge.Multipoint
12
+
13
+ def angularCoefficientConstant (p : ℝ) : ℝ := (p+q p)*3^(eta p)
14
+
15
+ lemma angularCoefficientConstant_pos {p : ℝ} (hp : 0 < p) :
16
+ 0 < angularCoefficientConstant p := by
17
+ unfold angularCoefficientConstant
18
+ exact mul_pos (add_pos hp (q_pos hp)) (Real.rpow_pos_of_pos (by norm_num) _)
19
+
20
+ lemma velocity_power_identity {D v e : ℝ} (hD : 0 ≤ D) (hv : 0 < v) :
21
+ (D*v^2)^e * v^(1-2*e) = D^e*v := by
22
+ rw [Real.mul_rpow hD (sq_nonneg v), ← Real.rpow_natCast v 2,
23
+ ← Real.rpow_mul hv.le, mul_assoc, ← Real.rpow_add hv]
24
+ norm_num
25
+
26
+ lemma pair_velocity_power_identity {Di Dj vi vj e : ℝ}
27
+ (hDi : 0 ≤ Di) (hDj : 0 ≤ Dj) (hvi : 0 < vi) (hvj : 0 < vj) :
28
+ (Di*vi^2)^e*(Dj*vj^2)^e*(vi*vj)^(1-2*e) = Di^e*Dj^e*vi*vj := by
29
+ rw [Real.mul_rpow hvi.le hvj.le]
30
+ calc
31
+ _ = ((Di*vi^2)^e*vi^(1-2*e))*((Dj*vj^2)^e*vj^(1-2*e)) := by ring
32
+ _ = _ := by rw [velocity_power_identity hDi hvi, velocity_power_identity hDj hvj]; ring
33
+
34
+ /-- The magnitude of one Brownian cross term is absorbed at its two
35
+ endpoints, leaving exactly the inverse-regulator interaction cost. -/
36
+ theorem angular_pair_absorption {p δi δj θi θj vi vj ε : ℝ}
37
+ (hp : 0 < p) (hδi : 0 < δi) (hδi1 : δi ≤ 1)
38
+ (hδj : 0 < δj) (hδj1 : δj ≤ 1)
39
+ (hθi : 0 < Real.sin θi) (hθj : 0 < Real.sin θj)
40
+ (hvi : 0 < vi) (hvj : 0 < vj) (hε : 0 < ε) :
41
+ (|angularFactorFirst p δi θi| / angularFactor p δi θi * vi) *
42
+ (|angularFactorFirst p δj θj| / angularFactor p δj θj * vj) ≤
43
+ ε*(damping p δi θi*vi^2+damping p δj θj*vj^2) +
44
+ youngConstant p (angularCoefficientConstant p ^ 2) ε *
45
+ (δi*δj)^(-exponent p)*(vi*vj) := by
46
+ let Di := damping p δi θi
47
+ let Dj := damping p δj θj
48
+ let C := angularCoefficientConstant p
49
+ have hDi : 0 < Di := mul_pos (div_pos hδi (angularFactor_pos hδi hθi))
50
+ (Real.rpow_pos_of_pos hθi _)
51
+ have hDj : 0 < Dj := mul_pos (div_pos hδj (angularFactor_pos hδj hθj))
52
+ (Real.rpow_pos_of_pos hθj _)
53
+ have hC : 0 < C := angularCoefficientConstant_pos hp
54
+ have hi := normalized_angularFactorFirst_bound hp hδi hδi1 hθi
55
+ have hj := normalized_angularFactorFirst_bound hp hδj hδj1 hθj
56
+ change _ ≤ C*δi^(-1-eta p)*Di^(eta p) at hi
57
+ change _ ≤ C*δj^(-1-eta p)*Dj^(eta p) at hj
58
+ have hmul := mul_le_mul hi hj (div_nonneg (abs_nonneg _) (angularFactor_pos hδj hθj).le)
59
+ (by positivity : 0 ≤ C*δi^(-1-eta p)*Di^(eta p))
60
+ have hmulv := mul_le_mul_of_nonneg_right hmul (mul_pos hvi hvj).le
61
+ calc
62
+ _ ≤ C^2*(δi*δj)^(-1-eta p)*Di^(eta p)*Dj^(eta p)*vi*vj := by
63
+ rw [Real.mul_rpow hδi.le hδj.le]
64
+ convert hmulv using 1 <;> ring
65
+ _ = C^2*(δi*δj)^(-1-eta p)*(Di*vi^2)^(eta p)*
66
+ (Dj*vj^2)^(eta p)*(vi*vj)^(1-2*eta p) := by
67
+ calc
68
+ _ = C^2*(δi*δj)^(-1-eta p)*(Di^(eta p)*Dj^(eta p)*vi*vj) := by ring
69
+ _ = C^2*(δi*δj)^(-1-eta p)*
70
+ ((Di*vi^2)^(eta p)*(Dj*vj^2)^(eta p)*(vi*vj)^(1-2*eta p)) := by
71
+ rw [pair_velocity_power_identity hDi.le hDj.le hvi hvj]
72
+ _ = _ := by ring
73
+ _ ≤ _ := weighted_pair_absorption hp (sq_pos_of_pos hC) hε (mul_pos hδi hδj)
74
+ (mul_nonneg hDi.le (sq_nonneg vi)) (mul_nonneg hDj.le (sq_nonneg vj))
75
+ (mul_pos hvi hvj).le
76
+
77
+ end SLEExactGauge.Multipoint
78
+
79
+ end
80
+
81
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointBudgetMonotone.lean CHANGED
@@ -1,58 +1,58 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointGlobalDiscount
2
- import OAI.Probability.SLE.Multipoint.MultipointInitialParameters
3
-
4
- namespace OAI
5
-
6
- /-! The fixed-order constant remains valid after discarding constraints
7
- whose targets already exceed their caps. -/
8
-
9
- noncomputable section
10
- open Set
11
- open scoped BigOperators
12
-
13
- namespace SLEExactGauge.Multipoint
14
-
15
- lemma allPatternYoungConstant_mono {ι : Type*} [DecidableEq ι] {κ : ℝ}
16
- (hκ : 0 < κ) (hκ8 : κ < 8) {I J : Finset ι} (hIJ : I ⊆ J) :
17
- allPatternYoungConstant κ I ≤ allPatternYoungConstant κ J := by
18
- apply Finset.sum_le_sum_of_subset_of_nonneg (Finset.powerset_mono.mpr hIJ)
19
- exact fun s _ _ => (patternYoungConstant_pos hκ hκ8 s).le
20
-
21
- lemma allPatternYoungConstant_map {ι ν : Type*} [DecidableEq ι] [DecidableEq ν]
22
- (κ : ℝ) (f : ι ↪ ν) (I : Finset ι) :
23
- allPatternYoungConstant κ (I.map f) = allPatternYoungConstant κ I := by
24
- classical
25
- unfold allPatternYoungConstant
26
- rw [Finset.map_eq_image,Finset.powerset_image,Finset.sum_image]
27
- · apply Finset.sum_congr rfl
28
- intro s _
29
- simp only [patternYoungConstant,Finset.card_image_of_injective s f.injective]
30
- · exact Finset.image_injOn_powerset_of_injOn (fun _ _ _ _ h => f.injective h)
31
-
32
- lemma uniformDiscountBudget_map {ι ν : Type*} [DecidableEq ι] [DecidableEq ν]
33
- (κ β : ℝ) (f : ι ↪ ν) (I : Finset ι) :
34
- uniformDiscountBudget κ β (I.map f) = uniformDiscountBudget κ β I := by
35
- simp only [uniformDiscountBudget,allPatternYoungConstant_map,Finset.offDiag_card,Finset.card_map]
36
-
37
- lemma uniformDiscountBudget_mono {ι : Type*} [DecidableEq ι] {κ : ℝ}
38
- (hκ : 0 < κ) (hκ8 : κ < 8) {I J : Finset ι} (hIJ : I ⊆ J) :
39
- uniformDiscountBudget κ (sourceBeta κ) I ≤ uniformDiscountBudget κ (sourceBeta κ) J := by
40
- obtain ⟨_,hβ,_,_,hdecay⟩ := source_parameters hκ hκ8
41
- have hpair := (interactionBudget_pos (by norm_num : (0 : ℝ) < 2) hdecay).le
42
- have hcard : (I.card : ℝ) ≤ J.card := by exact_mod_cast Finset.card_le_card hIJ
43
- have hoff : (I.offDiag.card : ℝ) ≤ J.offDiag.card := by
44
- exact_mod_cast Finset.card_le_card (Finset.offDiag_mono hIJ)
45
- unfold uniformDiscountBudget
46
- apply mul_le_mul_of_nonneg_left _ hκ.le
47
- apply add_le_add
48
- · exact mul_le_mul_of_nonneg_left
49
- (mul_le_mul_of_nonneg_right hcard (by positivity)) (singleDriftConstant_pos hκ hκ8).le
50
- · exact mul_le_mul (allPatternYoungConstant_mono hκ hκ8 hIJ)
51
- (mul_le_mul_of_nonneg_right hoff hpair) (mul_nonneg (Nat.cast_nonneg _) hpair)
52
- (allPatternYoungConstant_pos hκ hκ8 J).le
53
-
54
- end SLEExactGauge.Multipoint
55
-
56
- end
57
-
58
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointGlobalDiscount
2
+ import OAI.Probability.SLE.Multipoint.MultipointInitialParameters
3
+
4
+ namespace OAI
5
+
6
+ /-! The fixed-order constant remains valid after discarding constraints
7
+ whose targets already exceed their caps. -/
8
+
9
+ noncomputable section
10
+ open Set
11
+ open scoped BigOperators
12
+
13
+ namespace SLEExactGauge.Multipoint
14
+
15
+ lemma allPatternYoungConstant_mono {ι : Type*} [DecidableEq ι] {κ : ℝ}
16
+ (hκ : 0 < κ) (hκ8 : κ < 8) {I J : Finset ι} (hIJ : I ⊆ J) :
17
+ allPatternYoungConstant κ I ≤ allPatternYoungConstant κ J := by
18
+ apply Finset.sum_le_sum_of_subset_of_nonneg (Finset.powerset_mono.mpr hIJ)
19
+ exact fun s _ _ => (patternYoungConstant_pos hκ hκ8 s).le
20
+
21
+ lemma allPatternYoungConstant_map {ι ν : Type*} [DecidableEq ι] [DecidableEq ν]
22
+ (κ : ℝ) (f : ι ↪ ν) (I : Finset ι) :
23
+ allPatternYoungConstant κ (I.map f) = allPatternYoungConstant κ I := by
24
+ classical
25
+ unfold allPatternYoungConstant
26
+ rw [Finset.map_eq_image,Finset.powerset_image,Finset.sum_image]
27
+ · apply Finset.sum_congr rfl
28
+ intro s _
29
+ simp only [patternYoungConstant,Finset.card_image_of_injective s f.injective]
30
+ · exact Finset.image_injOn_powerset_of_injOn (fun _ _ _ _ h => f.injective h)
31
+
32
+ lemma uniformDiscountBudget_map {ι ν : Type*} [DecidableEq ι] [DecidableEq ν]
33
+ (κ β : ℝ) (f : ι ↪ ν) (I : Finset ι) :
34
+ uniformDiscountBudget κ β (I.map f) = uniformDiscountBudget κ β I := by
35
+ simp only [uniformDiscountBudget,allPatternYoungConstant_map,Finset.offDiag_card,Finset.card_map]
36
+
37
+ lemma uniformDiscountBudget_mono {ι : Type*} [DecidableEq ι] {κ : ℝ}
38
+ (hκ : 0 < κ) (hκ8 : κ < 8) {I J : Finset ι} (hIJ : I ⊆ J) :
39
+ uniformDiscountBudget κ (sourceBeta κ) I ≤ uniformDiscountBudget κ (sourceBeta κ) J := by
40
+ obtain ⟨_,hβ,_,_,hdecay⟩ := source_parameters hκ hκ8
41
+ have hpair := (interactionBudget_pos (by norm_num : (0 : ℝ) < 2) hdecay).le
42
+ have hcard : (I.card : ℝ) ≤ J.card := by exact_mod_cast Finset.card_le_card hIJ
43
+ have hoff : (I.offDiag.card : ℝ) ≤ J.offDiag.card := by
44
+ exact_mod_cast Finset.card_le_card (Finset.offDiag_mono hIJ)
45
+ unfold uniformDiscountBudget
46
+ apply mul_le_mul_of_nonneg_left _ hκ.le
47
+ apply add_le_add
48
+ · exact mul_le_mul_of_nonneg_left
49
+ (mul_le_mul_of_nonneg_right hcard (by positivity)) (singleDriftConstant_pos hκ hκ8).le
50
+ · exact mul_le_mul (allPatternYoungConstant_mono hκ hκ8 hIJ)
51
+ (mul_le_mul_of_nonneg_right hoff hpair) (mul_nonneg (Nat.cast_nonneg _) hpair)
52
+ (allPatternYoungConstant_pos hκ hκ8 J).le
53
+
54
+ end SLEExactGauge.Multipoint
55
+
56
+ end
57
+
58
+ end OAI
lean/OAI/Probability/SLE/Multipoint/MultipointCappedKernel.lean CHANGED
@@ -1,101 +1,101 @@
1
- import OAI.Probability.SLE.Multipoint.MultipointKernelGraph
2
- import OAI.Probability.SLE.Multipoint.MultipointTupleNull
3
-
4
- namespace OAI
5
-
6
- /-! The exact fixed-cap, nearest-neighbor distance kernel from
7
- `mp:kernel-integral`, and its expansion into finite graph terms. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory
11
- open scoped ENNReal
12
-
13
- namespace SLEExactGauge.Multipoint
14
-
15
- def capEntry {ι : Type*} [DecidableEq ι] (b : ℝ) (x : ι → ℂ) (i : ι) : Option ι → ℝ
16
- | none => b
17
- | some j => if j=i then b else dist (x i) (x j)
18
-
19
- def cappedDistance {ι : Type*} [Fintype ι] [DecidableEq ι]
20
- (b : ℝ) (x : ι → ℂ) (i : ι) : ℝ :=
21
- Finset.univ.inf' Finset.univ_nonempty (capEntry b x i)
22
-
23
- theorem cap_pos {ι : Type*} [Fintype ι] [DecidableEq ι]
24
- {b : ℝ} (hb : 0 < b) {x : ι → ℂ} (hx : Function.Injective x) (i : ι) :
25
- 0 < cappedDistance b x i := by
26
- obtain ⟨o,_,ho⟩ := Finset.exists_mem_eq_inf' Finset.univ_nonempty (capEntry b x i)
27
- change 0 < Finset.univ.inf' Finset.univ_nonempty (capEntry b x i)
28
- rw [ho]
29
- cases o with
30
- | none => exact hb
31
- | some j =>
32
- dsimp only [capEntry]
33
- split_ifs with hji
34
- · exact hb
35
- · exact dist_pos.mpr (fun h => hji (hx h.symm))
36
-
37
- theorem cap_le_fixed {ι : Type*} [Fintype ι] [DecidableEq ι]
38
- (b : ℝ) (x : ι → ℂ) (i : ι) : cappedDistance b x i ≤ b := by
39
- exact Finset.inf'_le (capEntry b x i) (Finset.mem_univ none)
40
-
41
- theorem cap_le_dist {ι : Type*} [Fintype ι] [DecidableEq ι]
42
- (b : ℝ) (x : ι → ℂ) (i j : ι) (hij : i≠j) :
43
- cappedDistance b x i ≤ dist (x i) (x j) := by
44
- change Finset.univ.inf' Finset.univ_nonempty (capEntry b x i) ≤ _
45
- have h := Finset.inf'_le (capEntry b x i) (Finset.mem_univ (some j))
46
- simpa only [capEntry,ite_eq_right hij.symm] using h
47
-
48
- theorem continuous_cappedDistance {ι : Type*} [Fintype ι] [DecidableEq ι]
49
- (b : ℝ) (i : ι) : Continuous (fun x : ι → ℂ => cappedDistance b x i) := by
50
- apply Continuous.finset_inf'_apply Finset.univ_nonempty
51
- intro o _
52
- cases o with
53
- | none => exact continuous_const
54
- | some j =>
55
- dsimp only [capEntry]
56
- split_ifs
57
- · exact continuous_const
58
- · fun_prop
59
-
60
- def cappedDistanceKernel {ι : Type*} [Fintype ι] [DecidableEq ι]
61
- (α b : ℝ) (x : ι → ℂ) : ℝ≥0∞ :=
62
- ∏ i, ENNReal.ofReal (cappedDistance b x i ^ (-α))
63
-
64
- lemma measurable_cappedDistanceKernel {ι : Type*} [Fintype ι] [DecidableEq ι]
65
- (α b : ℝ) : Measurable (cappedDistanceKernel (ι := ι) α b) := by
66
- apply Finset.measurable_prod
67
- intro i _
68
- exact (((continuous_cappedDistance b i).measurable.pow_const (-α)).ennreal_ofReal)
69
-
70
- def rowChoice {ι : Type*} [DecidableEq ι] (α b : ℝ) (x : ι → ℂ) (i : ι) : Option ι → ℝ≥0∞
71
- | none => ENNReal.ofReal (b^(-α))
72
- | some j => if j=i then 0 else distanceKernel α (x i) (x j)
73
-
74
- lemma cap_reciprocal_le_row {ι : Type*} [Fintype ι] [DecidableEq ι]
75
- (α b : ℝ) (x : ι → ℂ) (i : ι) :
76
- ENNReal.ofReal (cappedDistance b x i ^ (-α)) ≤ ∑ o, rowChoice α b x i o := by
77
- obtain ⟨o,_,ho⟩ := Finset.exists_mem_eq_inf' Finset.univ_nonempty (capEntry b x i)
78
- change ENNReal.ofReal ((Finset.univ.inf' Finset.univ_nonempty (capEntry b x i))^(-α)) ≤ _
79
- rw [ho]
80
- cases o with
81
- | none =>
82
- exact Finset.single_le_sum (f := rowChoice α b x i)
83
- (fun _ _ => bot_le) (Finset.mem_univ none)
84
- | some j =>
85
- by_cases hji : j=i
86
- · simpa only [capEntry,ite_eq_left hji,rowChoice] using
87
- (Finset.single_le_sum (f := rowChoice α b x i) (fun _ _ => bot_le) (Finset.mem_univ none))
88
- · simpa only [capEntry,ite_eq_right hji,rowChoice,distanceKernel] using
89
- (Finset.single_le_sum (f := rowChoice α b x i) (fun _ _ => bot_le) (Finset.mem_univ (some j)))
90
-
91
- lemma cappedDistanceKernel_le_expansion {ι : Type*} [Fintype ι] [DecidableEq ι]
92
- (α b : ℝ) (x : ι → ℂ) :
93
- cappedDistanceKernel α b x ≤ ∑ f : ι → Option ι, ∏ i, rowChoice α b x i (f i) := by
94
- rw [← Fintype.prod_sum]
95
- exact Finset.prod_le_prod (fun i _ => cap_reciprocal_le_row α b x i)
96
-
97
- end SLEExactGauge.Multipoint
98
-
99
- end
100
-
101
- end OAI
 
1
+ import OAI.Probability.SLE.Multipoint.MultipointKernelGraph
2
+ import OAI.Probability.SLE.Multipoint.MultipointTupleNull
3
+
4
+ namespace OAI
5
+
6
+ /-! The exact fixed-cap, nearest-neighbor distance kernel from
7
+ `mp:kernel-integral`, and its expansion into finite graph terms. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory
11
+ open scoped ENNReal
12
+
13
+ namespace SLEExactGauge.Multipoint
14
+
15
+ def capEntry {ι : Type*} [DecidableEq ι] (b : ℝ) (x : ι → ℂ) (i : ι) : Option ι → ℝ
16
+ | none => b
17
+ | some j => if j=i then b else dist (x i) (x j)
18
+
19
+ def cappedDistance {ι : Type*} [Fintype ι] [DecidableEq ι]
20
+ (b : ℝ) (x : ι → ℂ) (i : ι) : ℝ :=
21
+ Finset.univ.inf' Finset.univ_nonempty (capEntry b x i)
22
+
23
+ theorem cap_pos {ι : Type*} [Fintype ι] [DecidableEq ι]
24
+ {b : ℝ} (hb : 0 < b) {x : ι → ℂ} (hx : Function.Injective x) (i : ι) :
25
+ 0 < cappedDistance b x i := by
26
+ obtain ⟨o,_,ho⟩ := Finset.exists_mem_eq_inf' Finset.univ_nonempty (capEntry b x i)
27
+ change 0 < Finset.univ.inf' Finset.univ_nonempty (capEntry b x i)
28
+ rw [ho]
29
+ cases o with
30
+ | none => exact hb
31
+ | some j =>
32
+ dsimp only [capEntry]
33
+ split_ifs with hji
34
+ · exact hb
35
+ · exact dist_pos.mpr (fun h => hji (hx h.symm))
36
+
37
+ theorem cap_le_fixed {ι : Type*} [Fintype ι] [DecidableEq ι]
38
+ (b : ℝ) (x : ι → ℂ) (i : ι) : cappedDistance b x i ≤ b := by
39
+ exact Finset.inf'_le (capEntry b x i) (Finset.mem_univ none)
40
+
41
+ theorem cap_le_dist {ι : Type*} [Fintype ι] [DecidableEq ι]
42
+ (b : ℝ) (x : ι → ℂ) (i j : ι) (hij : i≠j) :
43
+ cappedDistance b x i ≤ dist (x i) (x j) := by
44
+ change Finset.univ.inf' Finset.univ_nonempty (capEntry b x i) ≤ _
45
+ have h := Finset.inf'_le (capEntry b x i) (Finset.mem_univ (some j))
46
+ simpa only [capEntry,ite_eq_right hij.symm] using h
47
+
48
+ theorem continuous_cappedDistance {ι : Type*} [Fintype ι] [DecidableEq ι]
49
+ (b : ℝ) (i : ι) : Continuous (fun x : ι → ℂ => cappedDistance b x i) := by
50
+ apply Continuous.finset_inf'_apply Finset.univ_nonempty
51
+ intro o _
52
+ cases o with
53
+ | none => exact continuous_const
54
+ | some j =>
55
+ dsimp only [capEntry]
56
+ split_ifs
57
+ · exact continuous_const
58
+ · fun_prop
59
+
60
+ def cappedDistanceKernel {ι : Type*} [Fintype ι] [DecidableEq ι]
61
+ (α b : ℝ) (x : ι → ℂ) : ℝ≥0∞ :=
62
+ ∏ i, ENNReal.ofReal (cappedDistance b x i ^ (-α))
63
+
64
+ lemma measurable_cappedDistanceKernel {ι : Type*} [Fintype ι] [DecidableEq ι]
65
+ (α b : ℝ) : Measurable (cappedDistanceKernel (ι := ι) α b) := by
66
+ apply Finset.measurable_prod
67
+ intro i _
68
+ exact (((continuous_cappedDistance b i).measurable.pow_const (-α)).ennreal_ofReal)
69
+
70
+ def rowChoice {ι : Type*} [DecidableEq ι] (α b : ℝ) (x : ι → ℂ) (i : ι) : Option ι → ℝ≥0∞
71
+ | none => ENNReal.ofReal (b^(-α))
72
+ | some j => if j=i then 0 else distanceKernel α (x i) (x j)
73
+
74
+ lemma cap_reciprocal_le_row {ι : Type*} [Fintype ι] [DecidableEq ι]
75
+ (α b : ℝ) (x : ι → ℂ) (i : ι) :
76
+ ENNReal.ofReal (cappedDistance b x i ^ (-α)) ≤ ∑ o, rowChoice α b x i o := by
77
+ obtain ⟨o,_,ho⟩ := Finset.exists_mem_eq_inf' Finset.univ_nonempty (capEntry b x i)
78
+ change ENNReal.ofReal ((Finset.univ.inf' Finset.univ_nonempty (capEntry b x i))^(-α)) ≤ _
79
+ rw [ho]
80
+ cases o with
81
+ | none =>
82
+ exact Finset.single_le_sum (f := rowChoice α b x i)
83
+ (fun _ _ => bot_le) (Finset.mem_univ none)
84
+ | some j =>
85
+ by_cases hji : j=i
86
+ · simpa only [capEntry,ite_eq_left hji,rowChoice] using
87
+ (Finset.single_le_sum (f := rowChoice α b x i) (fun _ _ => bot_le) (Finset.mem_univ none))
88
+ · simpa only [capEntry,ite_eq_right hji,rowChoice,distanceKernel] using
89
+ (Finset.single_le_sum (f := rowChoice α b x i) (fun _ _ => bot_le) (Finset.mem_univ (some j)))
90
+
91
+ lemma cappedDistanceKernel_le_expansion {ι : Type*} [Fintype ι] [DecidableEq ι]
92
+ (α b : ℝ) (x : ι → ℂ) :
93
+ cappedDistanceKernel α b x ≤ ∑ f : ι → Option ι, ∏ i, rowChoice α b x i (f i) := by
94
+ rw [← Fintype.prod_sum]
95
+ exact Finset.prod_le_prod (fun i _ => cap_reciprocal_le_row α b x i)
96
+
97
+ end SLEExactGauge.Multipoint
98
+
99
+ end
100
+
101
+ end OAI