roseking commited on
Commit
1944f25
·
verified ·
1 Parent(s): cb8bdd6

Sync from openai/math@faee2cf485a8 (part 16)

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/Gauge/PrescribedOrdinaryTransfer.lean +80 -80
  2. lean/OAI/Probability/SLE/Gauge/PrescribedPublishedMain.lean +55 -55
  3. lean/OAI/Probability/SLE/Gauge/PrescribedRadiusFinalLaw.lean +92 -92
  4. lean/OAI/Probability/SLE/Gauge/PrescribedRadiusLevels.lean +82 -82
  5. lean/OAI/Probability/SLE/Gauge/PrescribedRadiusTest.lean +121 -121
  6. lean/OAI/Probability/SLE/Gauge/PrescribedRowSum.lean +58 -58
  7. lean/OAI/Probability/SLE/Gauge/PrescribedTestPast.lean +93 -93
  8. lean/OAI/Probability/SLE/Gauge/PrescribedUniformGeometry.lean +54 -54
  9. lean/OAI/Probability/SLE/Gauge/PrescribedUpperAngle.lean +76 -76
  10. lean/OAI/Probability/SLE/Gauge/PrescribedVisitBound.lean +57 -57
  11. lean/OAI/Probability/SLE/Gauge/ProperRibbonCoordinates.lean +118 -118
  12. lean/OAI/Probability/SLE/Gauge/PublishedRibbonIteration.lean +82 -82
  13. lean/OAI/Probability/SLE/Gauge/RandomBadGrid.lean +121 -121
  14. lean/OAI/Probability/SLE/Gauge/RandomPassageBounds.lean +136 -136
  15. lean/OAI/Probability/SLE/Gauge/RecenteredRibbonPassage.lean +193 -193
  16. lean/OAI/Probability/SLE/Gauge/RestartDenseWeight.lean +83 -83
  17. lean/OAI/Probability/SLE/Gauge/RestrictedConformalSausage.lean +72 -72
  18. lean/OAI/Probability/SLE/Gauge/RetainedPassageExtraction.lean +88 -88
  19. lean/OAI/Probability/SLE/Gauge/RetainedRegionMargins.lean +191 -191
  20. lean/OAI/Probability/SLE/Gauge/RetainedTubeSausage.lean +416 -416
  21. lean/OAI/Probability/SLE/Gauge/RibbonAccessGuide.lean +82 -82
  22. lean/OAI/Probability/SLE/Gauge/RibbonConcatenation.lean +101 -101
  23. lean/OAI/Probability/SLE/Gauge/RibbonCoordinateCompactness.lean +350 -350
  24. lean/OAI/Probability/SLE/Gauge/RibbonCoordinateGeometry.lean +348 -348
  25. lean/OAI/Probability/SLE/Gauge/RibbonCoordinateLimit.lean +138 -138
  26. lean/OAI/Probability/SLE/Gauge/RibbonExperimentAssembly.lean +100 -100
  27. lean/OAI/Probability/SLE/Gauge/RibbonFrontFreshness.lean +71 -71
  28. lean/OAI/Probability/SLE/Gauge/RibbonFrontStops.lean +90 -90
  29. lean/OAI/Probability/SLE/Gauge/RibbonGoodPrefix.lean +129 -129
  30. lean/OAI/Probability/SLE/Gauge/RibbonHistoryAdvance.lean +263 -263
  31. lean/OAI/Probability/SLE/Gauge/RibbonLimitPassageGeometry.lean +199 -199
  32. lean/OAI/Probability/SLE/Gauge/RibbonLimitSplice.lean +92 -92
  33. lean/OAI/Probability/SLE/Gauge/RibbonMiddleMass.lean +151 -151
  34. lean/OAI/Probability/SLE/Gauge/RibbonPassageMass.lean +119 -119
  35. lean/OAI/Probability/SLE/Gauge/RibbonPassageNeighborhood.lean +96 -96
  36. lean/OAI/Probability/SLE/Gauge/RibbonPassageScaling.lean +173 -173
  37. lean/OAI/Probability/SLE/Gauge/RibbonPrefixTransport.lean +67 -67
  38. lean/OAI/Probability/SLE/Gauge/RibbonRouteLifting.lean +116 -116
  39. lean/OAI/Probability/SLE/Gauge/RibbonSequenceCompactness.lean +142 -142
  40. lean/OAI/Probability/SLE/Gauge/RibbonSideCorridors.lean +76 -76
  41. lean/OAI/Probability/SLE/Gauge/RibbonStepPatch.lean +90 -90
  42. lean/OAI/Probability/SLE/Gauge/RibbonStepSuccess.lean +85 -85
  43. lean/OAI/Probability/SLE/Gauge/RibbonStepTranslation.lean +134 -134
  44. lean/OAI/Probability/SLE/Gauge/RibbonStoppedMassLaw.lean +46 -46
  45. lean/OAI/Probability/SLE/Gauge/RibbonStoppedMassTransport.lean +105 -105
  46. lean/OAI/Probability/SLE/Gauge/RibbonSurvival.lean +81 -81
  47. lean/OAI/Probability/SLE/Gauge/SequencePassage.lean +124 -124
  48. lean/OAI/Probability/SLE/Gauge/SequencePassageRegions.lean +253 -253
  49. lean/OAI/Probability/SLE/Gauge/SequencePassageSuccess.lean +256 -256
  50. lean/OAI/Probability/SLE/Gauge/SerpentineActualAngle.lean +103 -103
lean/OAI/Probability/SLE/Gauge/PrescribedOrdinaryTransfer.lean CHANGED
@@ -1,80 +1,80 @@
1
- import OAI.Probability.SLE.Gauge.PrescribedAngleMain
2
- import OAI.Probability.SLE.Geometry.ActualExplicitTransfer
3
-
4
- namespace OAI
5
-
6
- /-! Transfer of the exact prescribed-gauge criterion from a regular
7
- Brownian presentation to the original ordinary SLE probability space. -/
8
- noncomputable section
9
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
10
- open scoped Topology NNReal ENNReal
11
-
12
- namespace SLEExactGauge
13
- local instance prescribedTransferMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
14
- local instance prescribedTransferBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
15
-
16
- theorem RegularSLEPresentation.prescribed_main_of_canonical_angle_bounds
17
- {Ω : Type} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
18
- {κ : ℝ} {γ : Ω → ℝ≥0 → ℂ} (a : RegularSLEPresentation P κ γ)
19
- (hκ : 0<κ) (hκ8 : κ<8) (hγ : ∀ t, Measurable (fun ω => γ ω t))
20
- (hgrowth : PublishedDiskUnivalentGrowth)
21
- (htrace : PublishedTraceGeneration
22
- ((P.comap (Subtype.val : a.samples → Ω)).map (sourceDriverPath a.B a.continuous_B))
23
- κ (fun t p => p t))
24
- (W : Target.WienerLaw) (hW : Target.IsWiener W)
25
- (δ : ℝ) (hδ : 0<δ)
26
- (hangle : ∀ v : ℝ, δ≤v → ∀ f : ℝ → ℝ≥0∞, Measurable f →
27
- ∀ θ∈Ioo (0:ℝ) Real.pi,
28
- (∫⁻ φ, f φ ∂Target.angleLaw κ)/2 ≤
29
- canonicalAngleAverage
30
- ((P.comap (Subtype.val : a.samples → Ω)).map (sourceDriverPath a.B a.continuous_B))
31
- κ v f θ ∧
32
- canonicalAngleAverage
33
- ((P.comap (Subtype.val : a.samples → Ω)).map (sourceDriverPath a.B a.continuous_B))
34
- κ v f θ ≤ 2*(∫⁻ φ, f φ ∂Target.angleLaw κ)) :
35
- MainConclusion P (Target.gauge κ W) γ := by
36
- let Q := P.comap (Subtype.val : a.samples → Ω)
37
- let : IsProbabilityMeasure Q := a.probability
38
- have hBm : Measurable (Function.uncurry a.B) :=
39
- measurable_uncurry_of_continuous_of_measurable a.continuous_B a.measurable_B
40
- obtain ⟨C⟩ := Multipoint.exists_canonicalMass a.brownian hBm a.continuous_B a.zero_B
41
- hκ hκ8 (fun ω => γ ω) a.G a.F a.witness hgrowth
42
- have hmain := C.prescribed_main_of_canonical_angle_bounds a.brownian a.continuous_B
43
- a.zero_B hκ hκ8 a.F a.witness (fun t => (hγ t).comp measurable_subtype_coe)
44
- hgrowth htrace W hW δ hδ hangle
45
- have hemb : MeasurableEmbedding (Subtype.val : a.samples → Ω) :=
46
- MeasurableEmbedding.subtype_coe a.measurable_samples
47
- constructor
48
- · rw [← a.measurePreserving_val.map_eq,hemb.ae_map_iff]
49
- exact hmain.1
50
- · intro L hL
51
- obtain ⟨hm,M,hM⟩ := hmain.2 L hL
52
- refine ⟨(a.measurePreserving_val.aemeasurable_comp_iff hemb).mp hm,M,?_⟩
53
- have he := a.measurePreserving_val.lintegral_comp_emb hemb
54
- (fun ω => hausdorffGauge (Target.gauge κ W) (wholeTrace (γ ω)∩Metric.closedBall 0 L))
55
- rw [← he]
56
- exact hM
57
-
58
- theorem ordinary_prescribed_main_of_canonical_angle_bounds
59
- {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
60
- (κ : ℝ) (hκ : 0<κ) (hκ8 : κ<8)
61
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
62
- (hgrowth : PublishedDiskUnivalentGrowth)
63
- (htrace : PublishedTraceGeneration (ordinaryRegularDriverLaw hSLE) κ (fun t p => p t))
64
- (W : Target.WienerLaw) (hW : Target.IsWiener W)
65
- (δ : ℝ) (hδ : 0<δ)
66
- (hangle : ∀ v : ℝ, δ≤v → ∀ f : ℝ → ℝ≥0∞, Measurable f →
67
- ∀ θ∈Ioo (0:ℝ) Real.pi,
68
- (∫⁻ φ, f φ ∂Target.angleLaw κ)/2 ≤
69
- canonicalAngleAverage (ordinaryRegularDriverLaw hSLE) κ v f θ ∧
70
- canonicalAngleAverage (ordinaryRegularDriverLaw hSLE) κ v f θ ≤
71
- 2*(∫⁻ φ, f φ ∂Target.angleLaw κ)) :
72
- MainConclusion P (Target.gauge κ W) γ :=
73
- (ordinaryRegularPresentation hSLE).prescribed_main_of_canonical_angle_bounds
74
- hκ hκ8 hSLE.1 hgrowth htrace W hW δ hδ hangle
75
-
76
- end SLEExactGauge
77
-
78
- end
79
-
80
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.PrescribedAngleMain
2
+ import OAI.Probability.SLE.Geometry.ActualExplicitTransfer
3
+
4
+ namespace OAI
5
+
6
+ /-! Transfer of the exact prescribed-gauge criterion from a regular
7
+ Brownian presentation to the original ordinary SLE probability space. -/
8
+ noncomputable section
9
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
10
+ open scoped Topology NNReal ENNReal
11
+
12
+ namespace SLEExactGauge
13
+ local instance prescribedTransferMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
14
+ local instance prescribedTransferBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
15
+
16
+ theorem RegularSLEPresentation.prescribed_main_of_canonical_angle_bounds
17
+ {Ω : Type} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
18
+ {κ : ℝ} {γ : Ω → ℝ≥0 → ℂ} (a : RegularSLEPresentation P κ γ)
19
+ (hκ : 0<κ) (hκ8 : κ<8) (hγ : ∀ t, Measurable (fun ω => γ ω t))
20
+ (hgrowth : PublishedDiskUnivalentGrowth)
21
+ (htrace : PublishedTraceGeneration
22
+ ((P.comap (Subtype.val : a.samples → Ω)).map (sourceDriverPath a.B a.continuous_B))
23
+ κ (fun t p => p t))
24
+ (W : Target.WienerLaw) (hW : Target.IsWiener W)
25
+ (δ : ℝ) (hδ : 0<δ)
26
+ (hangle : ∀ v : ℝ, δ≤v → ∀ f : ℝ → ℝ≥0∞, Measurable f →
27
+ ∀ θ∈Ioo (0:ℝ) Real.pi,
28
+ (∫⁻ φ, f φ ∂Target.angleLaw κ)/2 ≤
29
+ canonicalAngleAverage
30
+ ((P.comap (Subtype.val : a.samples → Ω)).map (sourceDriverPath a.B a.continuous_B))
31
+ κ v f θ ∧
32
+ canonicalAngleAverage
33
+ ((P.comap (Subtype.val : a.samples → Ω)).map (sourceDriverPath a.B a.continuous_B))
34
+ κ v f θ ≤ 2*(∫⁻ φ, f φ ∂Target.angleLaw κ)) :
35
+ MainConclusion P (Target.gauge κ W) γ := by
36
+ let Q := P.comap (Subtype.val : a.samples → Ω)
37
+ let : IsProbabilityMeasure Q := a.probability
38
+ have hBm : Measurable (Function.uncurry a.B) :=
39
+ measurable_uncurry_of_continuous_of_measurable a.continuous_B a.measurable_B
40
+ obtain ⟨C⟩ := Multipoint.exists_canonicalMass a.brownian hBm a.continuous_B a.zero_B
41
+ hκ hκ8 (fun ω => γ ω) a.G a.F a.witness hgrowth
42
+ have hmain := C.prescribed_main_of_canonical_angle_bounds a.brownian a.continuous_B
43
+ a.zero_B hκ hκ8 a.F a.witness (fun t => (hγ t).comp measurable_subtype_coe)
44
+ hgrowth htrace W hW δ hδ hangle
45
+ have hemb : MeasurableEmbedding (Subtype.val : a.samples → Ω) :=
46
+ MeasurableEmbedding.subtype_coe a.measurable_samples
47
+ constructor
48
+ · rw [← a.measurePreserving_val.map_eq,hemb.ae_map_iff]
49
+ exact hmain.1
50
+ · intro L hL
51
+ obtain ⟨hm,M,hM⟩ := hmain.2 L hL
52
+ refine ⟨(a.measurePreserving_val.aemeasurable_comp_iff hemb).mp hm,M,?_⟩
53
+ have he := a.measurePreserving_val.lintegral_comp_emb hemb
54
+ (fun ω => hausdorffGauge (Target.gauge κ W) (wholeTrace (γ ω)∩Metric.closedBall 0 L))
55
+ rw [← he]
56
+ exact hM
57
+
58
+ theorem ordinary_prescribed_main_of_canonical_angle_bounds
59
+ {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
60
+ (κ : ℝ) (hκ : 0<κ) (hκ8 : κ<8)
61
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
62
+ (hgrowth : PublishedDiskUnivalentGrowth)
63
+ (htrace : PublishedTraceGeneration (ordinaryRegularDriverLaw hSLE) κ (fun t p => p t))
64
+ (W : Target.WienerLaw) (hW : Target.IsWiener W)
65
+ (δ : ℝ) (hδ : 0<δ)
66
+ (hangle : ∀ v : ℝ, δ≤v → ∀ f : ℝ → ℝ≥0∞, Measurable f →
67
+ ∀ θ∈Ioo (0:ℝ) Real.pi,
68
+ (∫⁻ φ, f φ ∂Target.angleLaw κ)/2 ≤
69
+ canonicalAngleAverage (ordinaryRegularDriverLaw hSLE) κ v f θ ∧
70
+ canonicalAngleAverage (ordinaryRegularDriverLaw hSLE) κ v f θ ≤
71
+ 2*(∫⁻ φ, f φ ∂Target.angleLaw κ)) :
72
+ MainConclusion P (Target.gauge κ W) γ :=
73
+ (ordinaryRegularPresentation hSLE).prescribed_main_of_canonical_angle_bounds
74
+ hκ hκ8 hSLE.1 hgrowth htrace W hW δ hδ hangle
75
+
76
+ end SLEExactGauge
77
+
78
+ end
79
+
80
+ end OAI
lean/OAI/Probability/SLE/Gauge/PrescribedPublishedMain.lean CHANGED
@@ -1,55 +1,55 @@
1
- import OAI.Probability.SLE.Angle.CanonicalAngleMixing
2
- import OAI.Probability.SLE.Gauge.PrescribedOrdinaryTransfer
3
-
4
- namespace OAI
5
-
6
- /-! The first paper's prescribed moment gauge, from precisely named
7
- published inputs. The angular mixing estimate is proved internally. -/
8
- noncomputable section
9
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
10
- open scoped Topology NNReal ENNReal
11
-
12
- namespace SLEExactGauge
13
- local instance prescribedPublishedMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
14
- local instance prescribedPublishedBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
15
-
16
- /-- The exact prescribed gauge gives positive finite mass to every positive-time
17
- compact trace segment and finite expected mass of the whole trace in bounded disks.
18
- Published inputs: Duren (1983), section 2.3 (the disk univalent-growth estimate),
19
- and Rohde--Schramm (2005), Theorem 5.1 (trace generation under the driver law). -/
20
- theorem RegularSLEPresentation.prescribed_main_of_published_inputs
21
- {Ω : Type} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
22
- {κ : ℝ} {γ : Ω → ℝ≥0 → ℂ} (a : RegularSLEPresentation P κ γ)
23
- (hκ : 0<κ) (hκ8 : κ<8) (hγ : ∀ t, Measurable (fun ω => γ ω t))
24
- (hgrowth : PublishedDiskUnivalentGrowth)
25
- (htrace : PublishedTraceGeneration
26
- ((P.comap (Subtype.val : a.samples → Ω)).map (sourceDriverPath a.B a.continuous_B))
27
- κ (fun t p => p t))
28
- (W : Target.WienerLaw) (hW : Target.IsWiener W) :
29
- MainConclusion P (Target.gauge κ W) γ := by
30
- have : IsProbabilityMeasure (P.comap (Subtype.val : a.samples → Ω)) := a.probability
31
- have hBm : Measurable (Function.uncurry a.B) :=
32
- measurable_uncurry_of_continuous_of_measurable a.continuous_B a.measurable_B
33
- apply a.prescribed_main_of_canonical_angle_bounds hκ hκ8 hγ hgrowth htrace W hW
34
- (angleSpectralMixingTime κ) (angleSpectralMixingTime_pos hκ)
35
- exact canonicalAngleAverage_uniform_bounds a.brownian hBm a.continuous_B a.zero_B
36
- hκ hκ8 (fun ω => γ ω) a.G a.F a.witness
37
-
38
- /-- The first paper's full prescribed-gauge Hausdorff conclusion for ordinary
39
- chordal SLE, with only the cited published conformal and trace inputs. -/
40
- theorem ordinary_prescribed_mainConclusion_of_published_inputs
41
- {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
42
- (κ : ℝ) (hκ : 0<κ) (hκ8 : κ<8)
43
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
44
- (hgrowth : PublishedDiskUnivalentGrowth)
45
- (htrace : PublishedTraceGeneration (ordinaryRegularDriverLaw hSLE) κ (fun t p => p t))
46
- (W : Target.WienerLaw) (hW : Target.IsWiener W) :
47
- MainConclusion P (Target.gauge κ W) γ :=
48
- (ordinaryRegularPresentation hSLE).prescribed_main_of_published_inputs
49
- hκ hκ8 hSLE.1 hgrowth htrace W hW
50
-
51
- end SLEExactGauge
52
-
53
- end
54
-
55
- end OAI
 
1
+ import OAI.Probability.SLE.Angle.CanonicalAngleMixing
2
+ import OAI.Probability.SLE.Gauge.PrescribedOrdinaryTransfer
3
+
4
+ namespace OAI
5
+
6
+ /-! The first paper's prescribed moment gauge, from precisely named
7
+ published inputs. The angular mixing estimate is proved internally. -/
8
+ noncomputable section
9
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory
10
+ open scoped Topology NNReal ENNReal
11
+
12
+ namespace SLEExactGauge
13
+ local instance prescribedPublishedMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
14
+ local instance prescribedPublishedBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
15
+
16
+ /-- The exact prescribed gauge gives positive finite mass to every positive-time
17
+ compact trace segment and finite expected mass of the whole trace in bounded disks.
18
+ Published inputs: Duren (1983), section 2.3 (the disk univalent-growth estimate),
19
+ and Rohde--Schramm (2005), Theorem 5.1 (trace generation under the driver law). -/
20
+ theorem RegularSLEPresentation.prescribed_main_of_published_inputs
21
+ {Ω : Type} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
22
+ {κ : ℝ} {γ : Ω → ℝ≥0 → ℂ} (a : RegularSLEPresentation P κ γ)
23
+ (hκ : 0<κ) (hκ8 : κ<8) (hγ : ∀ t, Measurable (fun ω => γ ω t))
24
+ (hgrowth : PublishedDiskUnivalentGrowth)
25
+ (htrace : PublishedTraceGeneration
26
+ ((P.comap (Subtype.val : a.samples → Ω)).map (sourceDriverPath a.B a.continuous_B))
27
+ κ (fun t p => p t))
28
+ (W : Target.WienerLaw) (hW : Target.IsWiener W) :
29
+ MainConclusion P (Target.gauge κ W) γ := by
30
+ have : IsProbabilityMeasure (P.comap (Subtype.val : a.samples → Ω)) := a.probability
31
+ have hBm : Measurable (Function.uncurry a.B) :=
32
+ measurable_uncurry_of_continuous_of_measurable a.continuous_B a.measurable_B
33
+ apply a.prescribed_main_of_canonical_angle_bounds hκ hκ8 hγ hgrowth htrace W hW
34
+ (angleSpectralMixingTime κ) (angleSpectralMixingTime_pos hκ)
35
+ exact canonicalAngleAverage_uniform_bounds a.brownian hBm a.continuous_B a.zero_B
36
+ hκ hκ8 (fun ω => γ ω) a.G a.F a.witness
37
+
38
+ /-- The first paper's full prescribed-gauge Hausdorff conclusion for ordinary
39
+ chordal SLE, with only the cited published conformal and trace inputs. -/
40
+ theorem ordinary_prescribed_mainConclusion_of_published_inputs
41
+ {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
42
+ (κ : ℝ) (hκ : 0<κ) (hκ8 : κ<8)
43
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
44
+ (hgrowth : PublishedDiskUnivalentGrowth)
45
+ (htrace : PublishedTraceGeneration (ordinaryRegularDriverLaw hSLE) κ (fun t p => p t))
46
+ (W : Target.WienerLaw) (hW : Target.IsWiener W) :
47
+ MainConclusion P (Target.gauge κ W) γ :=
48
+ (ordinaryRegularPresentation hSLE).prescribed_main_of_published_inputs
49
+ hκ hκ8 hSLE.1 hgrowth htrace W hW
50
+
51
+ end SLEExactGauge
52
+
53
+ end
54
+
55
+ end OAI
lean/OAI/Probability/SLE/Gauge/PrescribedRadiusFinalLaw.lean CHANGED
@@ -1,92 +1,92 @@
1
- import OAI.Probability.SLE.Gauge.PrescribedRadiusTest
2
-
3
- namespace OAI
4
-
5
- /-! A stopped disk test has the same kernel bound under every later finite
6
- centered law. The terminal cover is not used in this change of measure. -/
7
- noncomputable section
8
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory Metric
9
- open scoped Topology NNReal ENNReal
10
-
11
- namespace SLEExactGauge.Multipoint
12
- local instance finalTestMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
13
- local instance finalTestBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
14
-
15
- theorem CanonicalMass.prescribed_disk_test_under_final_law
16
- {Ω : Type} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
17
- {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
18
- {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
19
- (C : CanonicalMass P κ B hBm γ G)
20
- (hB : IsBrownianReal B P) (hc : ∀ ω, Continuous (fun t => B t ω))
21
- (h0 : ∀ ω, B 0 ω=0) (hκ : 0 < κ) (hκ8 : κ < 8)
22
- (F : Ω → ℝ≥0 → ℂ → ℂ)
23
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
24
- (R : RawCanonicalMass)
25
- (he : ∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
26
- R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω)
27
- (D : Set C(ℝ≥0,ℝ)) (hD : MeasurableSet D)
28
- (hDf : ∀ᵐ p ∂P.map (sourceDriverPath B hc), p∈D)
29
- (hDp : ∀ p∈D, PositiveMassPaths (fun t => R.process t p) (R.terminal p))
30
- (hgrowth : PublishedDiskUnivalentGrowth)
31
- (hpublished : PublishedTraceGeneration (P.map (sourceDriverPath B hc)) κ (fun t p => p t))
32
- (z : ℂ) (hz : z ∈ upperHalfPlane) (u v r b V : ℝ)
33
- (hu : 0 ≤ u) (hv : 0 < v) (hr : 0 < r)
34
- (hR : (2*z.im)*Real.exp (-u)=(2048*Real.pi)*r) (hV : u+v ≤ V) :
35
- ∀ A : Set Ω, MeasurableSet[(actual_radiusLevelTime_stopping hB
36
- (fun t => (hBm.of_uncurry_left : Measurable (B t))) hBm hc h0
37
- κ hκ hκ8 γ G F hw z hz u hu).measurableSpace] A →
38
- (∫⁻ ω in A, R.angleDiskTail (P.map (sourceDriverPath B hc)) κ b v
39
- (extendedMarkedAngle κ B γ G (fun ω => radiusLevelTime (γ ω) (G ω) z u) z ω)
40
- ∂finiteCenteredLaw P κ B γ G z V) ≤
41
- finiteCenteredLaw P κ B γ G z V
42
- (A∩C.prescribedBallTest (fun ω => radiusLevelTime (γ ω) (G ω) z (u+v))
43
- z ((4096*Real.pi)*r)
44
- (ENNReal.ofReal (((128*Real.pi)*r)^dimension κ)*ENNReal.ofReal b)) := by
45
- have hm (t : ℝ≥0) : Measurable (B t) := hBm.of_uncurry_left
46
- let ℱ := Filtration.natural B (fun t => (hm t).stronglyMeasurable)
47
- let σ : Ω → WithTop ℝ≥0 := fun ω => radiusLevelTime (γ ω) (G ω) z u
48
- let T : Ω → WithTop ℝ≥0 := fun ω => radiusLevelTime (γ ω) (G ω) z (u+v)
49
- have hσ : IsStoppingTime ℱ σ :=
50
- actual_radiusLevelTime_stopping hB hm hBm hc h0 κ hκ hκ8 γ G F hw z hz u hu
51
- have huv : 0 ≤ u+v := add_nonneg hu hv.le
52
- have hT : IsStoppingTime ℱ T :=
53
- actual_radiusLevelTime_stopping hB hm hBm hc h0 κ hκ hκ8 γ G F hw z hz (u+v) huv
54
- have hσT (ω : Ω) : σ ω ≤ T ω :=
55
- radiusLevelTime_mono ((hc ω).const_mul _) (hw ω) z hu (by linarith)
56
- let f := fun ω => R.angleDiskTail (P.map (sourceDriverPath B hc)) κ b v
57
- (extendedMarkedAngle κ B γ G σ z ω)
58
- let test := C.prescribedBallTest T z ((4096*Real.pi)*r)
59
- (ENNReal.ofReal (((128*Real.pi)*r)^dimension κ)*ENNReal.ofReal b)
60
- let Q := finiteCenteredLaw P κ B γ G z (u+v)
61
- let QV := finiteCenteredLaw P κ B γ G z V
62
- let : IsProbabilityMeasure (P.map (sourceDriverPath B hc)) :=
63
- (Measure.isProbabilityMeasure_map_iff (source_path_measurable _ hm).aemeasurable).mpr inferInstance
64
- have hfm : Measurable[hσ.measurableSpace] f :=
65
- (R.angleDiskTail_measurable _ κ b v).comp
66
- (extendedMarkedAngle_measurable B hm hc κ γ G F hw σ hσ z)
67
- intro A hA
68
- have hleft : (∫⁻ ω in A, f ω ∂QV)=(∫⁻ ω in A, f ω ∂Q) := by
69
- have h := @lintegral_eq_of_stopped_events Ω mΩ QV Q hσ.measurableSpace
70
- hσ.measurableSpace_le (fun E hE =>
71
- finiteCenteredLaw_consistent_at_extended_stop hB hBm hc h0 κ hκ hκ8 γ G F
72
- (Eventually.of_forall hw) z hz (u+v) V huv hV σ hσ
73
- (Eventually.of_forall hσT) E hE) (A.indicator f) (hfm.indicator hA)
74
- simpa only [lintegral_indicator (hσ.measurableSpace_le _ hA)] using h
75
- have hAm : MeasurableSet[hT.measurableSpace] A :=
76
- hσ.measurableSpace_mono hT hσT A hA
77
- have htest : MeasurableSet[hT.measurableSpace] test :=
78
- C.prescribedBallTest_measurable T hT _ _ _
79
- have hright : QV (A∩test)=Q (A∩test) :=
80
- finiteCenteredLaw_consistent_at_radius_stop hB hBm hc h0 κ hκ hκ8 γ G F
81
- (Eventually.of_forall hw) z hz (u+v) V huv hV T hT
82
- (Eventually.of_forall fun _ => rfl) (A∩test) (hAm.inter htest)
83
- change (∫⁻ ω in A, f ω ∂QV) ≤ QV (A∩test)
84
- rw [hleft,hright]
85
- exact C.prescribed_disk_test_at_radius hB hc h0 hκ hκ8 F hw R he D hD hDf hDp
86
- hgrowth hpublished z hz u v r b hu hv hr hR A hA
87
-
88
- end SLEExactGauge.Multipoint
89
-
90
- end
91
-
92
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.PrescribedRadiusTest
2
+
3
+ namespace OAI
4
+
5
+ /-! A stopped disk test has the same kernel bound under every later finite
6
+ centered law. The terminal cover is not used in this change of measure. -/
7
+ noncomputable section
8
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory Metric
9
+ open scoped Topology NNReal ENNReal
10
+
11
+ namespace SLEExactGauge.Multipoint
12
+ local instance finalTestMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
13
+ local instance finalTestBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
14
+
15
+ theorem CanonicalMass.prescribed_disk_test_under_final_law
16
+ {Ω : Type} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
17
+ {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
18
+ {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
19
+ (C : CanonicalMass P κ B hBm γ G)
20
+ (hB : IsBrownianReal B P) (hc : ∀ ω, Continuous (fun t => B t ω))
21
+ (h0 : ∀ ω, B 0 ω=0) (hκ : 0 < κ) (hκ8 : κ < 8)
22
+ (F : Ω → ℝ≥0 → ℂ → ℂ)
23
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
24
+ (R : RawCanonicalMass)
25
+ (he : ∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
26
+ R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω)
27
+ (D : Set C(ℝ≥0,ℝ)) (hD : MeasurableSet D)
28
+ (hDf : ∀ᵐ p ∂P.map (sourceDriverPath B hc), p∈D)
29
+ (hDp : ∀ p∈D, PositiveMassPaths (fun t => R.process t p) (R.terminal p))
30
+ (hgrowth : PublishedDiskUnivalentGrowth)
31
+ (hpublished : PublishedTraceGeneration (P.map (sourceDriverPath B hc)) κ (fun t p => p t))
32
+ (z : ℂ) (hz : z ∈ upperHalfPlane) (u v r b V : ℝ)
33
+ (hu : 0 ≤ u) (hv : 0 < v) (hr : 0 < r)
34
+ (hR : (2*z.im)*Real.exp (-u)=(2048*Real.pi)*r) (hV : u+v ≤ V) :
35
+ ∀ A : Set Ω, MeasurableSet[(actual_radiusLevelTime_stopping hB
36
+ (fun t => (hBm.of_uncurry_left : Measurable (B t))) hBm hc h0
37
+ κ hκ hκ8 γ G F hw z hz u hu).measurableSpace] A →
38
+ (∫⁻ ω in A, R.angleDiskTail (P.map (sourceDriverPath B hc)) κ b v
39
+ (extendedMarkedAngle κ B γ G (fun ω => radiusLevelTime (γ ω) (G ω) z u) z ω)
40
+ ∂finiteCenteredLaw P κ B γ G z V) ≤
41
+ finiteCenteredLaw P κ B γ G z V
42
+ (A∩C.prescribedBallTest (fun ω => radiusLevelTime (γ ω) (G ω) z (u+v))
43
+ z ((4096*Real.pi)*r)
44
+ (ENNReal.ofReal (((128*Real.pi)*r)^dimension κ)*ENNReal.ofReal b)) := by
45
+ have hm (t : ℝ≥0) : Measurable (B t) := hBm.of_uncurry_left
46
+ let ℱ := Filtration.natural B (fun t => (hm t).stronglyMeasurable)
47
+ let σ : Ω → WithTop ℝ≥0 := fun ω => radiusLevelTime (γ ω) (G ω) z u
48
+ let T : Ω → WithTop ℝ≥0 := fun ω => radiusLevelTime (γ ω) (G ω) z (u+v)
49
+ have hσ : IsStoppingTime ℱ σ :=
50
+ actual_radiusLevelTime_stopping hB hm hBm hc h0 κ hκ hκ8 γ G F hw z hz u hu
51
+ have huv : 0 ≤ u+v := add_nonneg hu hv.le
52
+ have hT : IsStoppingTime ℱ T :=
53
+ actual_radiusLevelTime_stopping hB hm hBm hc h0 κ hκ hκ8 γ G F hw z hz (u+v) huv
54
+ have hσT (ω : Ω) : σ ω ≤ T ω :=
55
+ radiusLevelTime_mono ((hc ω).const_mul _) (hw ω) z hu (by linarith)
56
+ let f := fun ω => R.angleDiskTail (P.map (sourceDriverPath B hc)) κ b v
57
+ (extendedMarkedAngle κ B γ G σ z ω)
58
+ let test := C.prescribedBallTest T z ((4096*Real.pi)*r)
59
+ (ENNReal.ofReal (((128*Real.pi)*r)^dimension κ)*ENNReal.ofReal b)
60
+ let Q := finiteCenteredLaw P κ B γ G z (u+v)
61
+ let QV := finiteCenteredLaw P κ B γ G z V
62
+ let : IsProbabilityMeasure (P.map (sourceDriverPath B hc)) :=
63
+ (Measure.isProbabilityMeasure_map_iff (source_path_measurable _ hm).aemeasurable).mpr inferInstance
64
+ have hfm : Measurable[hσ.measurableSpace] f :=
65
+ (R.angleDiskTail_measurable _ κ b v).comp
66
+ (extendedMarkedAngle_measurable B hm hc κ γ G F hw σ hσ z)
67
+ intro A hA
68
+ have hleft : (∫⁻ ω in A, f ω ∂QV)=(∫⁻ ω in A, f ω ∂Q) := by
69
+ have h := @lintegral_eq_of_stopped_events Ω mΩ QV Q hσ.measurableSpace
70
+ hσ.measurableSpace_le (fun E hE =>
71
+ finiteCenteredLaw_consistent_at_extended_stop hB hBm hc h0 κ hκ hκ8 γ G F
72
+ (Eventually.of_forall hw) z hz (u+v) V huv hV σ hσ
73
+ (Eventually.of_forall hσT) E hE) (A.indicator f) (hfm.indicator hA)
74
+ simpa only [lintegral_indicator (hσ.measurableSpace_le _ hA)] using h
75
+ have hAm : MeasurableSet[hT.measurableSpace] A :=
76
+ hσ.measurableSpace_mono hT hσT A hA
77
+ have htest : MeasurableSet[hT.measurableSpace] test :=
78
+ C.prescribedBallTest_measurable T hT _ _ _
79
+ have hright : QV (A∩test)=Q (A∩test) :=
80
+ finiteCenteredLaw_consistent_at_radius_stop hB hBm hc h0 κ hκ hκ8 γ G F
81
+ (Eventually.of_forall hw) z hz (u+v) V huv hV T hT
82
+ (Eventually.of_forall fun _ => rfl) (A∩test) (hAm.inter htest)
83
+ change (∫⁻ ω in A, f ω ∂QV) ≤ QV (A∩test)
84
+ rw [hleft,hright]
85
+ exact C.prescribed_disk_test_at_radius hB hc h0 hκ hκ8 F hw R he D hD hDf hDp
86
+ hgrowth hpublished z hz u v r b hu hv hr hR A hA
87
+
88
+ end SLEExactGauge.Multipoint
89
+
90
+ end
91
+
92
+ end OAI
lean/OAI/Probability/SLE/Gauge/PrescribedRadiusLevels.lean CHANGED
@@ -1,82 +1,82 @@
1
- import OAI.Probability.SLE.Gauge.BatchRadiusGaps
2
- import OAI.Probability.SLE.Gauge.GaugeEntrySmallness
3
-
4
- namespace OAI
5
-
6
- /-! Physical logarithmic levels for the exact prescribed radii. Uniformity
7
- includes moving centers down to height exp(-n). -/
8
- noncomputable section
9
- open Set Filter
10
- open scoped Topology
11
-
12
- namespace SLEExactGauge.Target
13
-
14
- def entryPhysicalLevel (κ : ℝ) (W : WienerLaw) (e : Entry) (A : ℝ) (z : ℂ) : ℝ :=
15
- Real.log ((2*z.im)/A) + (e.1:ℝ)^2 +
16
- 2*a κ*(entryPosition κ W e:ℝ)*((batchLevel κ W e.1:ℝ)+(e.1:ℝ))
17
-
18
- lemma entryPhysicalLevel_radius (κ : ℝ) (W : WienerLaw) (e : Entry)
19
- {A : ℝ} (hA : 0<A) {z : ℂ} (hz : 0<z.im) :
20
- (2*z.im)*Real.exp (-entryPhysicalLevel κ W e A z)=A*entryRadius κ W e := by
21
- have hp : 0<(2*z.im)/A := by positivity
22
- unfold entryPhysicalLevel entryRadius
23
- rw [show -(Real.log ((2*z.im)/A)+(e.1:ℝ)^2+
24
- 2*a κ*(entryPosition κ W e:ℝ)*((batchLevel κ W e.1:ℝ)+(e.1:ℝ))) =
25
- -Real.log ((2*z.im)/A)+(-(e.1:ℝ)^2-
26
- 2*a κ*(entryPosition κ W e:ℝ)*((batchLevel κ W e.1:ℝ)+(e.1:ℝ))) by ring,
27
- Real.exp_add,Real.exp_neg,Real.exp_log hp]
28
- field_simp
29
-
30
- lemma entryPhysicalLevel_gap {κ : ℝ} (hκ : 0<κ) (W : WienerLaw)
31
- {n : ℕ} (hn : 1≤n) {o o' : Option (ℤ×ℕ)}
32
- (hpos : entryPosition κ W (n,o)<entryPosition κ W (n,o')) (A : ℝ) (z : ℂ) :
33
- entryPhysicalLevel κ W (n,o) A z+2*a κ*((batchLevel κ W n:ℝ)+(n:ℝ)) ≤
34
- entryPhysicalLevel κ W (n,o') A z := by
35
- have hpN : entryPosition κ W (n,o)+1 ≤ entryPosition κ W (n,o') := hpos
36
- have hp : (entryPosition κ W (n,o):ℝ)+1 ≤ entryPosition κ W (n,o') := by exact_mod_cast hpN
37
- have hcoef : 0 ≤ 2*a κ*((batchLevel κ W n:ℝ)+(n:ℝ)) := by
38
- have ha := internal_a_pos hκ
39
- positivity
40
- have hh := mul_le_mul_of_nonneg_left hp hcoef
41
- dsimp only [entryPhysicalLevel]
42
- have hnR : (0:ℝ)<n := by exact_mod_cast (Nat.zero_lt_of_lt hn)
43
- nlinarith
44
-
45
- lemma entryPhysicalLevel_cleanup_gap {κ : ℝ} (hκ : 0<κ) (W : WienerLaw)
46
- {n : ℕ} (hn : 1≤n) (hm1 : 0 < moment κ W 1)
47
- (hJ : moment κ W 1^n ≤ moment κ W n) {k : ℤ} {j : ℕ}
48
- (hj : j < multiplicity κ W n k) (A : ℝ) (z : ℂ) :
49
- entryPhysicalLevel κ W (n,some (k,j)) A z +
50
- 2*a κ*(batchLevel κ W n:ℝ)+2*a κ*(n:ℝ) ≤
51
- entryPhysicalLevel κ W (n,none) A z := by
52
- have hh := entryPhysicalLevel_gap hκ W hn (entryPosition_lt_cleanup κ W hn hm1 hJ hj) A z
53
- linarith
54
-
55
- lemma eventually_entryPhysicalLevel_large {κ : ℝ} (hκ : 0<κ) (W : WienerLaw)
56
- {A : ℝ} (hA : 0<A) (L : ℝ) :
57
- ∀ᶠ n : ℕ in atTop, ∀ (o : Option (ℤ×ℕ)) (z : ℂ),
58
- Real.exp (-(n:ℝ)) ≤ z.im → L<entryPhysicalLevel κ W (n,o) A z := by
59
- obtain ⟨N,hN⟩ := exists_nat_gt (max 2 (L-Real.log (2/A)))
60
- filter_upwards [eventually_ge_atTop N] with n hn
61
- intro o z hz
62
- have hnR : (N:ℝ) ≤ n := by exact_mod_cast hn
63
- have hn2 : (2:ℝ)<n := (lt_of_le_of_lt (le_max_left _ _) hN).trans_le hnR
64
- have hnL : L-Real.log (2/A)<(n:ℝ) := (lt_of_le_of_lt (le_max_right _ _) hN).trans_le hnR
65
- have hlog : Real.log (2/A)-(n:ℝ) ≤ Real.log ((2*z.im)/A) := by
66
- have hp : 0<2/A := by positivity
67
- have hh := Real.log_le_log (mul_pos hp (Real.exp_pos (-(n:ℝ))))
68
- (mul_le_mul_of_nonneg_left hz hp.le)
69
- rw [Real.log_mul hp.ne' (Real.exp_ne_zero _),Real.log_exp] at hh
70
- simpa only [sub_eq_add_neg,div_mul_eq_mul_div] using hh
71
- have hterm : 0 ≤ 2*a κ*(entryPosition κ W (n,o):ℝ)*
72
- ((batchLevel κ W n:ℝ)+(n:ℝ)) := by
73
- have ha := internal_a_pos hκ
74
- positivity
75
- dsimp only [entryPhysicalLevel]
76
- nlinarith
77
-
78
- end SLEExactGauge.Target
79
-
80
- end
81
-
82
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.BatchRadiusGaps
2
+ import OAI.Probability.SLE.Gauge.GaugeEntrySmallness
3
+
4
+ namespace OAI
5
+
6
+ /-! Physical logarithmic levels for the exact prescribed radii. Uniformity
7
+ includes moving centers down to height exp(-n). -/
8
+ noncomputable section
9
+ open Set Filter
10
+ open scoped Topology
11
+
12
+ namespace SLEExactGauge.Target
13
+
14
+ def entryPhysicalLevel (κ : ℝ) (W : WienerLaw) (e : Entry) (A : ℝ) (z : ℂ) : ℝ :=
15
+ Real.log ((2*z.im)/A) + (e.1:ℝ)^2 +
16
+ 2*a κ*(entryPosition κ W e:ℝ)*((batchLevel κ W e.1:ℝ)+(e.1:ℝ))
17
+
18
+ lemma entryPhysicalLevel_radius (κ : ℝ) (W : WienerLaw) (e : Entry)
19
+ {A : ℝ} (hA : 0<A) {z : ℂ} (hz : 0<z.im) :
20
+ (2*z.im)*Real.exp (-entryPhysicalLevel κ W e A z)=A*entryRadius κ W e := by
21
+ have hp : 0<(2*z.im)/A := by positivity
22
+ unfold entryPhysicalLevel entryRadius
23
+ rw [show -(Real.log ((2*z.im)/A)+(e.1:ℝ)^2+
24
+ 2*a κ*(entryPosition κ W e:ℝ)*((batchLevel κ W e.1:ℝ)+(e.1:ℝ))) =
25
+ -Real.log ((2*z.im)/A)+(-(e.1:ℝ)^2-
26
+ 2*a κ*(entryPosition κ W e:ℝ)*((batchLevel κ W e.1:ℝ)+(e.1:ℝ))) by ring,
27
+ Real.exp_add,Real.exp_neg,Real.exp_log hp]
28
+ field_simp
29
+
30
+ lemma entryPhysicalLevel_gap {κ : ℝ} (hκ : 0<κ) (W : WienerLaw)
31
+ {n : ℕ} (hn : 1≤n) {o o' : Option (ℤ×ℕ)}
32
+ (hpos : entryPosition κ W (n,o)<entryPosition κ W (n,o')) (A : ℝ) (z : ℂ) :
33
+ entryPhysicalLevel κ W (n,o) A z+2*a κ*((batchLevel κ W n:ℝ)+(n:ℝ)) ≤
34
+ entryPhysicalLevel κ W (n,o') A z := by
35
+ have hpN : entryPosition κ W (n,o)+1 ≤ entryPosition κ W (n,o') := hpos
36
+ have hp : (entryPosition κ W (n,o):ℝ)+1 ≤ entryPosition κ W (n,o') := by exact_mod_cast hpN
37
+ have hcoef : 0 ≤ 2*a κ*((batchLevel κ W n:ℝ)+(n:ℝ)) := by
38
+ have ha := internal_a_pos hκ
39
+ positivity
40
+ have hh := mul_le_mul_of_nonneg_left hp hcoef
41
+ dsimp only [entryPhysicalLevel]
42
+ have hnR : (0:ℝ)<n := by exact_mod_cast (Nat.zero_lt_of_lt hn)
43
+ nlinarith
44
+
45
+ lemma entryPhysicalLevel_cleanup_gap {κ : ℝ} (hκ : 0<κ) (W : WienerLaw)
46
+ {n : ℕ} (hn : 1≤n) (hm1 : 0 < moment κ W 1)
47
+ (hJ : moment κ W 1^n ≤ moment κ W n) {k : ℤ} {j : ℕ}
48
+ (hj : j < multiplicity κ W n k) (A : ℝ) (z : ℂ) :
49
+ entryPhysicalLevel κ W (n,some (k,j)) A z +
50
+ 2*a κ*(batchLevel κ W n:ℝ)+2*a κ*(n:ℝ) ≤
51
+ entryPhysicalLevel κ W (n,none) A z := by
52
+ have hh := entryPhysicalLevel_gap hκ W hn (entryPosition_lt_cleanup κ W hn hm1 hJ hj) A z
53
+ linarith
54
+
55
+ lemma eventually_entryPhysicalLevel_large {κ : ℝ} (hκ : 0<κ) (W : WienerLaw)
56
+ {A : ℝ} (hA : 0<A) (L : ℝ) :
57
+ ∀ᶠ n : ℕ in atTop, ∀ (o : Option (ℤ×ℕ)) (z : ℂ),
58
+ Real.exp (-(n:ℝ)) ≤ z.im → L<entryPhysicalLevel κ W (n,o) A z := by
59
+ obtain ⟨N,hN⟩ := exists_nat_gt (max 2 (L-Real.log (2/A)))
60
+ filter_upwards [eventually_ge_atTop N] with n hn
61
+ intro o z hz
62
+ have hnR : (N:ℝ) ≤ n := by exact_mod_cast hn
63
+ have hn2 : (2:ℝ)<n := (lt_of_le_of_lt (le_max_left _ _) hN).trans_le hnR
64
+ have hnL : L-Real.log (2/A)<(n:ℝ) := (lt_of_le_of_lt (le_max_right _ _) hN).trans_le hnR
65
+ have hlog : Real.log (2/A)-(n:ℝ) ≤ Real.log ((2*z.im)/A) := by
66
+ have hp : 0<2/A := by positivity
67
+ have hh := Real.log_le_log (mul_pos hp (Real.exp_pos (-(n:ℝ))))
68
+ (mul_le_mul_of_nonneg_left hz hp.le)
69
+ rw [Real.log_mul hp.ne' (Real.exp_ne_zero _),Real.log_exp] at hh
70
+ simpa only [sub_eq_add_neg,div_mul_eq_mul_div] using hh
71
+ have hterm : 0 ≤ 2*a κ*(entryPosition κ W (n,o):ℝ)*
72
+ ((batchLevel κ W n:ℝ)+(n:ℝ)) := by
73
+ have ha := internal_a_pos hκ
74
+ positivity
75
+ dsimp only [entryPhysicalLevel]
76
+ nlinarith
77
+
78
+ end SLEExactGauge.Target
79
+
80
+ end
81
+
82
+ end OAI
lean/OAI/Probability/SLE/Gauge/PrescribedRadiusTest.lean CHANGED
@@ -1,121 +1,121 @@
1
- import OAI.Probability.SLE.Gauge.PrescribedDiskConditional
2
- import OAI.Probability.SLE.Geometry.ExtendedDiskAngle
3
-
4
- namespace OAI
5
-
6
- /-! The prescribed disk success kernel at the literal radius stop. Finite
7
- cutoffs exhaust that stop under the actual finite centered law. -/
8
- noncomputable section
9
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory Metric
10
- open scoped Topology NNReal ENNReal
11
-
12
- namespace SLEExactGauge.Multipoint
13
- local instance radiusTestMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
14
- local instance radiusTestBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
15
-
16
- theorem CanonicalMass.prescribed_disk_test_at_radius
17
- {Ω : Type} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
18
- {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
19
- {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
20
- (C : CanonicalMass P κ B hBm γ G)
21
- (hB : IsBrownianReal B P) (hc : ∀ ω, Continuous (fun t => B t ω))
22
- (h0 : ∀ ω, B 0 ω=0) (hκ : 0 < κ) (hκ8 : κ < 8)
23
- (F : Ω → ℝ≥0 → ℂ → ℂ)
24
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
25
- (R : RawCanonicalMass)
26
- (he : ∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
27
- R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω)
28
- (D : Set C(ℝ≥0,ℝ)) (hD : MeasurableSet D)
29
- (hDf : ∀ᵐ p ∂P.map (sourceDriverPath B hc), p∈D)
30
- (hDp : ∀ p∈D, PositiveMassPaths (fun t => R.process t p) (R.terminal p))
31
- (hgrowth : PublishedDiskUnivalentGrowth)
32
- (hpublished : PublishedTraceGeneration (P.map (sourceDriverPath B hc)) κ (fun t p => p t))
33
- (z : ℂ) (hz : z ∈ upperHalfPlane) (u v r b : ℝ)
34
- (hu : 0 ≤ u) (hv : 0 < v) (hr : 0 < r)
35
- (hR : (2*z.im)*Real.exp (-u)=(2048*Real.pi)*r) :
36
- ∀ A : Set Ω, MeasurableSet[(actual_radiusLevelTime_stopping hB
37
- (fun t => (hBm.of_uncurry_left : Measurable (B t))) hBm hc h0
38
- κ hκ hκ8 γ G F hw z hz u hu).measurableSpace] A →
39
- (∫⁻ ω in A, R.angleDiskTail (P.map (sourceDriverPath B hc)) κ b v
40
- (extendedMarkedAngle κ B γ G (fun ω => radiusLevelTime (γ ω) (G ω) z u) z ω)
41
- ∂finiteCenteredLaw P κ B γ G z (u+v)) ≤
42
- finiteCenteredLaw P κ B γ G z (u+v)
43
- (A∩C.prescribedBallTest (fun ω => radiusLevelTime (γ ω) (G ω) z (u+v))
44
- z ((4096*Real.pi)*r)
45
- (ENNReal.ofReal (((128*Real.pi)*r)^dimension κ)*ENNReal.ofReal b)) := by
46
- classical
47
- have hm (t : ℝ≥0) : Measurable (B t) := hBm.of_uncurry_left
48
- let ℱ := Filtration.natural B (fun t => (hm t).stronglyMeasurable)
49
- let σ : Ω → WithTop ℝ≥0 := fun ω => radiusLevelTime (γ ω) (G ω) z u
50
- have hσ : IsStoppingTime ℱ σ :=
51
- actual_radiusLevelTime_stopping hB hm hBm hc h0 κ hκ hκ8 γ G F hw z hz u hu
52
- let Q := finiteCenteredLaw P κ B γ G z (u+v)
53
- let f := fun ω => R.angleDiskTail (P.map (sourceDriverPath B hc)) κ b v
54
- (extendedMarkedAngle κ B γ G σ z ω)
55
- let test := C.prescribedBallTest (fun ω => radiusLevelTime (γ ω) (G ω) z (u+v))
56
- z ((4096*Real.pi)*r) (ENNReal.ofReal (((128*Real.pi)*r)^dimension κ)*ENNReal.ofReal b)
57
- intro A hA
58
- let E := fun n : ℕ => A∩{ω | σ ω≤((n:ℝ≥0):WithTop ℝ≥0)}
59
- have hEm (n : ℕ) : MeasurableSet (E n) :=
60
- hσ.measurableSpace_le _ (hA.inter (hσ.measurableSet_le' n))
61
- have hmono : Monotone E := by
62
- intro n k hnk ω hω
63
- change ω∈A ∧ σ ω≤((n:ℝ≥0):WithTop ℝ≥0) at hω
64
- change ω∈A ∧ σ ω≤((k:ℝ≥0):WithTop ℝ≥0)
65
- exact ⟨hω.1,hω.2.trans (WithTop.coe_le_coe.mpr (by exact_mod_cast hnk))⟩
66
- have hfinite : ∀ᵐ ω ∂Q, σ ω≠⊤ :=
67
- finiteCenteredLaw_earlier_stop_ae_finite hB hc κ hκ hκ8 γ G F (Eventually.of_forall hw)
68
- z hz u (u+v) hu (by linarith) σ (Eventually.of_forall fun _ => le_rfl)
69
- have hbound (n : ℕ) : (∫⁻ ω in E n, f ω ∂Q) ≤ Q (A∩test) := by
70
- let τ := cutoffStop σ n
71
- have hτ := cutoffStop_stopping ℱ σ hσ (n:ℝ≥0)
72
- have hEn : MeasurableSet[hτ.measurableSpace] (E n) :=
73
- cutoffStop_success_measurable ℱ σ hσ n A hA
74
- have hstate (ω : Ω) (hω : ω∈E n) :
75
- z ∈ survivingDomain (γ ω) (τ ω) ∧
76
- fullRadius (G ω) (τ ω) z=(2*z.im)*Real.exp (-u) := by
77
- rw [show τ ω=(σ ω).untopD 0 from cutoffStop_eq_on_success σ n ω hω.2]
78
- exact actual_radius_level_finite_state (hw ω) ((hc ω).const_mul _) z u
79
- (ne_top_of_le_ne_top WithTop.coe_ne_top hω.2)
80
- have hh := C.prescribed_disk_conditional_bound hB hc h0 hκ hκ8 F hw R he
81
- D hD hDf hDp hgrowth hpublished τ hτ z hz u v r b hu hv hr (E n) hEn
82
- (fun ω hω => (hstate ω hω).1) (fun ω hω => (hstate ω hω).2)
83
- (fun ω hω => (hstate ω hω).2.trans hR) univ MeasurableSet.univ
84
- simp only [univ_inter] at hh
85
- have hid (ω : Ω) (hω : ω∈E n) : f ω=R.angleDiskTail
86
- (P.map (sourceDriverPath B hc)) κ b v (stoppedMarkedCenter κ B γ G τ z ω).arg := by
87
- dsimp only [f,extendedMarkedAngle]
88
- rw [ite_eq_right (ne_top_of_le_ne_top WithTop.coe_ne_top hω.2)]
89
- congr 2
90
- exact (stoppedMarkedCenter_time_congr κ B γ G τ
91
- (fun ω => (σ ω).untopD 0) z ω (cutoffStop_eq_on_success σ n ω hω.2)).symm
92
- rw [setLIntegral_congr_fun (hEm n) hid]
93
- exact hh.trans (measure_mono (inter_subset_inter inter_subset_left subset_rfl))
94
- have hcover : A =ᵐ[Q] ⋃ n, E n := by
95
- filter_upwards [hfinite] with ω hω
96
- apply propext
97
- constructor
98
- · intro hAω
99
- lift σ ω to ℝ≥0 using hω with t ht
100
- obtain ⟨n,hn⟩ := exists_nat_ge (t:ℝ)
101
- exact mem_iUnion.mpr ⟨n,hAω,by
102
- change σ ω≤((n:ℝ≥0):WithTop ℝ≥0)
103
- rw [← ht]
104
- exact WithTop.coe_le_coe.mpr (by exact_mod_cast hn)⟩
105
- · intro hωE
106
- obtain ⟨n,hn⟩ := mem_iUnion.mp hωE
107
- exact hn.1
108
- have habs : (Q.withDensity f).AbsolutelyContinuous Q := withDensity_absolutelyContinuous Q f
109
- calc
110
- (∫⁻ ω in A, f ω ∂Q) = Q.withDensity f A := (withDensity_apply _ (hσ.measurableSpace_le _ hA)).symm
111
- _ = Q.withDensity f (⋃ n, E n) := measure_congr (habs.ae_le hcover)
112
- _ = ⨆ n, Q.withDensity f (E n) := hmono.measure_iUnion
113
- _ ≤ Q (A∩test) := iSup_le fun n => by
114
- rw [withDensity_apply _ (hEm n)]
115
- exact hbound n
116
-
117
- end SLEExactGauge.Multipoint
118
-
119
- end
120
-
121
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.PrescribedDiskConditional
2
+ import OAI.Probability.SLE.Geometry.ExtendedDiskAngle
3
+
4
+ namespace OAI
5
+
6
+ /-! The prescribed disk success kernel at the literal radius stop. Finite
7
+ cutoffs exhaust that stop under the actual finite centered law. -/
8
+ noncomputable section
9
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory Metric
10
+ open scoped Topology NNReal ENNReal
11
+
12
+ namespace SLEExactGauge.Multipoint
13
+ local instance radiusTestMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
14
+ local instance radiusTestBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
15
+
16
+ theorem CanonicalMass.prescribed_disk_test_at_radius
17
+ {Ω : Type} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
18
+ {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
19
+ {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
20
+ (C : CanonicalMass P κ B hBm γ G)
21
+ (hB : IsBrownianReal B P) (hc : ∀ ω, Continuous (fun t => B t ω))
22
+ (h0 : ∀ ω, B 0 ω=0) (hκ : 0 < κ) (hκ8 : κ < 8)
23
+ (F : Ω → ℝ≥0 → ℂ → ℂ)
24
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
25
+ (R : RawCanonicalMass)
26
+ (he : ∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
27
+ R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω)
28
+ (D : Set C(ℝ≥0,ℝ)) (hD : MeasurableSet D)
29
+ (hDf : ∀ᵐ p ∂P.map (sourceDriverPath B hc), p∈D)
30
+ (hDp : ∀ p∈D, PositiveMassPaths (fun t => R.process t p) (R.terminal p))
31
+ (hgrowth : PublishedDiskUnivalentGrowth)
32
+ (hpublished : PublishedTraceGeneration (P.map (sourceDriverPath B hc)) κ (fun t p => p t))
33
+ (z : ℂ) (hz : z ∈ upperHalfPlane) (u v r b : ℝ)
34
+ (hu : 0 ≤ u) (hv : 0 < v) (hr : 0 < r)
35
+ (hR : (2*z.im)*Real.exp (-u)=(2048*Real.pi)*r) :
36
+ ∀ A : Set Ω, MeasurableSet[(actual_radiusLevelTime_stopping hB
37
+ (fun t => (hBm.of_uncurry_left : Measurable (B t))) hBm hc h0
38
+ κ hκ hκ8 γ G F hw z hz u hu).measurableSpace] A →
39
+ (∫⁻ ω in A, R.angleDiskTail (P.map (sourceDriverPath B hc)) κ b v
40
+ (extendedMarkedAngle κ B γ G (fun ω => radiusLevelTime (γ ω) (G ω) z u) z ω)
41
+ ∂finiteCenteredLaw P κ B γ G z (u+v)) ≤
42
+ finiteCenteredLaw P κ B γ G z (u+v)
43
+ (A∩C.prescribedBallTest (fun ω => radiusLevelTime (γ ω) (G ω) z (u+v))
44
+ z ((4096*Real.pi)*r)
45
+ (ENNReal.ofReal (((128*Real.pi)*r)^dimension κ)*ENNReal.ofReal b)) := by
46
+ classical
47
+ have hm (t : ℝ≥0) : Measurable (B t) := hBm.of_uncurry_left
48
+ let ℱ := Filtration.natural B (fun t => (hm t).stronglyMeasurable)
49
+ let σ : Ω → WithTop ℝ≥0 := fun ω => radiusLevelTime (γ ω) (G ω) z u
50
+ have hσ : IsStoppingTime ℱ σ :=
51
+ actual_radiusLevelTime_stopping hB hm hBm hc h0 κ hκ hκ8 γ G F hw z hz u hu
52
+ let Q := finiteCenteredLaw P κ B γ G z (u+v)
53
+ let f := fun ω => R.angleDiskTail (P.map (sourceDriverPath B hc)) κ b v
54
+ (extendedMarkedAngle κ B γ G σ z ω)
55
+ let test := C.prescribedBallTest (fun ω => radiusLevelTime (γ ω) (G ω) z (u+v))
56
+ z ((4096*Real.pi)*r) (ENNReal.ofReal (((128*Real.pi)*r)^dimension κ)*ENNReal.ofReal b)
57
+ intro A hA
58
+ let E := fun n : ℕ => A∩{ω | σ ω≤((n:ℝ≥0):WithTop ℝ≥0)}
59
+ have hEm (n : ℕ) : MeasurableSet (E n) :=
60
+ hσ.measurableSpace_le _ (hA.inter (hσ.measurableSet_le' n))
61
+ have hmono : Monotone E := by
62
+ intro n k hnk ω hω
63
+ change ω∈A ∧ σ ω≤((n:ℝ≥0):WithTop ℝ≥0) at hω
64
+ change ω∈A ∧ σ ω≤((k:ℝ≥0):WithTop ℝ≥0)
65
+ exact ⟨hω.1,hω.2.trans (WithTop.coe_le_coe.mpr (by exact_mod_cast hnk))⟩
66
+ have hfinite : ∀ᵐ ω ∂Q, σ ω≠⊤ :=
67
+ finiteCenteredLaw_earlier_stop_ae_finite hB hc κ hκ hκ8 γ G F (Eventually.of_forall hw)
68
+ z hz u (u+v) hu (by linarith) σ (Eventually.of_forall fun _ => le_rfl)
69
+ have hbound (n : ℕ) : (∫⁻ ω in E n, f ω ∂Q) ≤ Q (A∩test) := by
70
+ let τ := cutoffStop σ n
71
+ have hτ := cutoffStop_stopping ℱ σ hσ (n:ℝ≥0)
72
+ have hEn : MeasurableSet[hτ.measurableSpace] (E n) :=
73
+ cutoffStop_success_measurable ℱ σ hσ n A hA
74
+ have hstate (ω : Ω) (hω : ω∈E n) :
75
+ z ∈ survivingDomain (γ ω) (τ ω) ∧
76
+ fullRadius (G ω) (τ ω) z=(2*z.im)*Real.exp (-u) := by
77
+ rw [show τ ω=(σ ω).untopD 0 from cutoffStop_eq_on_success σ n ω hω.2]
78
+ exact actual_radius_level_finite_state (hw ω) ((hc ω).const_mul _) z u
79
+ (ne_top_of_le_ne_top WithTop.coe_ne_top hω.2)
80
+ have hh := C.prescribed_disk_conditional_bound hB hc h0 hκ hκ8 F hw R he
81
+ D hD hDf hDp hgrowth hpublished τ hτ z hz u v r b hu hv hr (E n) hEn
82
+ (fun ω hω => (hstate ω hω).1) (fun ω hω => (hstate ω hω).2)
83
+ (fun ω hω => (hstate ω hω).2.trans hR) univ MeasurableSet.univ
84
+ simp only [univ_inter] at hh
85
+ have hid (ω : Ω) (hω : ω∈E n) : f ω=R.angleDiskTail
86
+ (P.map (sourceDriverPath B hc)) κ b v (stoppedMarkedCenter κ B γ G τ z ω).arg := by
87
+ dsimp only [f,extendedMarkedAngle]
88
+ rw [ite_eq_right (ne_top_of_le_ne_top WithTop.coe_ne_top hω.2)]
89
+ congr 2
90
+ exact (stoppedMarkedCenter_time_congr κ B γ G τ
91
+ (fun ω => (σ ω).untopD 0) z ω (cutoffStop_eq_on_success σ n ω hω.2)).symm
92
+ rw [setLIntegral_congr_fun (hEm n) hid]
93
+ exact hh.trans (measure_mono (inter_subset_inter inter_subset_left subset_rfl))
94
+ have hcover : A =ᵐ[Q] ⋃ n, E n := by
95
+ filter_upwards [hfinite] with ω hω
96
+ apply propext
97
+ constructor
98
+ · intro hAω
99
+ lift σ ω to ℝ≥0 using hω with t ht
100
+ obtain ⟨n,hn⟩ := exists_nat_ge (t:ℝ)
101
+ exact mem_iUnion.mpr ⟨n,hAω,by
102
+ change σ ω≤((n:ℝ≥0):WithTop ℝ≥0)
103
+ rw [← ht]
104
+ exact WithTop.coe_le_coe.mpr (by exact_mod_cast hn)⟩
105
+ · intro hωE
106
+ obtain ⟨n,hn⟩ := mem_iUnion.mp hωE
107
+ exact hn.1
108
+ have habs : (Q.withDensity f).AbsolutelyContinuous Q := withDensity_absolutelyContinuous Q f
109
+ calc
110
+ (∫⁻ ω in A, f ω ∂Q) = Q.withDensity f A := (withDensity_apply _ (hσ.measurableSpace_le _ hA)).symm
111
+ _ = Q.withDensity f (⋃ n, E n) := measure_congr (habs.ae_le hcover)
112
+ _ = ⨆ n, Q.withDensity f (E n) := hmono.measure_iUnion
113
+ _ ≤ Q (A∩test) := iSup_le fun n => by
114
+ rw [withDensity_apply _ (hEm n)]
115
+ exact hbound n
116
+
117
+ end SLEExactGauge.Multipoint
118
+
119
+ end
120
+
121
+ end OAI
lean/OAI/Probability/SLE/Gauge/PrescribedRowSum.lean CHANGED
@@ -1,58 +1,58 @@
1
- import OAI.Probability.SLE.SimpleTails
2
- import Mathlib.Analysis.SumIntegralComparisons
3
-
4
- namespace OAI
5
-
6
- /-! The half-integer row heights have an integrable boundary singularity.
7
- This is the row sum used in the prescribed cover's missed-cell estimate. -/
8
- noncomputable section
9
- open Set Filter MeasureTheory
10
- open scoped Topology
11
-
12
- namespace SLEExactGauge
13
-
14
- lemma half_integer_row_sum_bound (α : ℝ) (hα0 : 0 ≤ α) (hα1 : α<1) (N : ℕ) :
15
- (∑ j∈Finset.range N, ((j:ℝ)+1/2)^(-α)) ≤
16
- (2:ℝ)^α/(1-α)*(N:ℝ)^(1-α) := by
17
- have hq : 0<1-α := by linarith
18
- have hfi : IntegrableOn (fun x : ℝ => x^(-α)) (Icc 0 (N:ℝ)) := by
19
- have ha := (integrableOn_abs_heightPower α (N:ℝ) hα1).mono_set
20
- (show Icc (0:ℝ) N ⊆ Icc (-(N:ℝ)) N by
21
- intro x hx
22
- exact ⟨(neg_nonpos.mpr (Nat.cast_nonneg N)).trans hx.1,hx.2⟩)
23
- apply ha.congr_fun _ measurableSet_Icc
24
- intro x hx
25
- dsimp only
26
- rw [abs_of_nonneg hx.1]
27
- have hanti : AntitoneOn (fun x : ℝ => x^(-α)) (Ioc 0 (N:ℝ)) := by
28
- intro x hx y _ hxy
29
- exact Real.rpow_le_rpow_of_nonpos hx.1 hxy (neg_nonpos.mpr hα0)
30
- have hsum : (∑ j∈Finset.range N, ((j:ℝ)+1)^(-α)) ≤
31
- ∫ x in (0:ℝ)..(N:ℝ), x^(-α) := by
32
- have ha : AntitoneOn (fun x : ℝ => x^(-α)) (Ioc 0 (0+(N:ℝ))) := by
33
- simpa only [zero_add] using hanti
34
- simpa only [zero_add,Nat.cast_add,Nat.cast_one] using
35
- ha.sum_le_integral_of_integrableOn (x₀ := 0) (a := N) (by simpa only [zero_add] using hfi)
36
- have hint : (∫ x in (0:ℝ)..(N:ℝ), x^(-α)) = (N:ℝ)^(1-α)/(1-α) := by
37
- rw [integral_rpow (Or.inl (by linarith : -1 < -α))]
38
- rw [show -α+1=1-α by ring,Real.zero_rpow hq.ne',sub_zero]
39
- have hhalf (j : ℕ) : ((j:ℝ)+1/2)^(-α) ≤ (2:ℝ)^α*((j:ℝ)+1)^(-α) := by
40
- have h := Real.rpow_le_rpow_of_nonpos
41
- (show (0:ℝ)<((j:ℝ)+1)/2 by positivity)
42
- (show ((j:ℝ)+1)/2 ≤ (j:ℝ)+1/2 by nlinarith [Nat.cast_nonneg (α := ℝ) j])
43
- (neg_nonpos.mpr hα0)
44
- refine h.trans_eq ?_
45
- rw [Real.div_rpow (by positivity) (by norm_num),Real.rpow_neg (by norm_num : (0:ℝ) ≤ 2),div_inv_eq_mul]
46
- ring
47
- calc
48
- _ ≤ ∑ j∈Finset.range N, (2:ℝ)^α*((j:ℝ)+1)^(-α) := Finset.sum_le_sum (fun j _ => hhalf j)
49
- _ = (2:ℝ)^α*∑ j∈Finset.range N, ((j:ℝ)+1)^(-α) := (Finset.mul_sum ..).symm
50
- _ ≤ (2:ℝ)^α*(∫ x in (0:ℝ)..(N:ℝ), x^(-α)) :=
51
- mul_le_mul_of_nonneg_left hsum (Real.rpow_nonneg (by norm_num) _)
52
- _ = _ := by rw [hint]; ring
53
-
54
- end SLEExactGauge
55
-
56
- end
57
-
58
- end OAI
 
1
+ import OAI.Probability.SLE.SimpleTails
2
+ import Mathlib.Analysis.SumIntegralComparisons
3
+
4
+ namespace OAI
5
+
6
+ /-! The half-integer row heights have an integrable boundary singularity.
7
+ This is the row sum used in the prescribed cover's missed-cell estimate. -/
8
+ noncomputable section
9
+ open Set Filter MeasureTheory
10
+ open scoped Topology
11
+
12
+ namespace SLEExactGauge
13
+
14
+ lemma half_integer_row_sum_bound (α : ℝ) (hα0 : 0 ≤ α) (hα1 : α<1) (N : ℕ) :
15
+ (∑ j∈Finset.range N, ((j:ℝ)+1/2)^(-α)) ≤
16
+ (2:ℝ)^α/(1-α)*(N:ℝ)^(1-α) := by
17
+ have hq : 0<1-α := by linarith
18
+ have hfi : IntegrableOn (fun x : ℝ => x^(-α)) (Icc 0 (N:ℝ)) := by
19
+ have ha := (integrableOn_abs_heightPower α (N:ℝ) hα1).mono_set
20
+ (show Icc (0:ℝ) N ⊆ Icc (-(N:ℝ)) N by
21
+ intro x hx
22
+ exact ⟨(neg_nonpos.mpr (Nat.cast_nonneg N)).trans hx.1,hx.2⟩)
23
+ apply ha.congr_fun _ measurableSet_Icc
24
+ intro x hx
25
+ dsimp only
26
+ rw [abs_of_nonneg hx.1]
27
+ have hanti : AntitoneOn (fun x : ℝ => x^(-α)) (Ioc 0 (N:ℝ)) := by
28
+ intro x hx y _ hxy
29
+ exact Real.rpow_le_rpow_of_nonpos hx.1 hxy (neg_nonpos.mpr hα0)
30
+ have hsum : (∑ j∈Finset.range N, ((j:ℝ)+1)^(-α)) ≤
31
+ ∫ x in (0:ℝ)..(N:ℝ), x^(-α) := by
32
+ have ha : AntitoneOn (fun x : ℝ => x^(-α)) (Ioc 0 (0+(N:ℝ))) := by
33
+ simpa only [zero_add] using hanti
34
+ simpa only [zero_add,Nat.cast_add,Nat.cast_one] using
35
+ ha.sum_le_integral_of_integrableOn (x₀ := 0) (a := N) (by simpa only [zero_add] using hfi)
36
+ have hint : (∫ x in (0:ℝ)..(N:ℝ), x^(-α)) = (N:ℝ)^(1-α)/(1-α) := by
37
+ rw [integral_rpow (Or.inl (by linarith : -1 < -α))]
38
+ rw [show -α+1=1-α by ring,Real.zero_rpow hq.ne',sub_zero]
39
+ have hhalf (j : ℕ) : ((j:ℝ)+1/2)^(-α) ≤ (2:ℝ)^α*((j:ℝ)+1)^(-α) := by
40
+ have h := Real.rpow_le_rpow_of_nonpos
41
+ (show (0:ℝ)<((j:ℝ)+1)/2 by positivity)
42
+ (show ((j:ℝ)+1)/2 ≤ (j:ℝ)+1/2 by nlinarith [Nat.cast_nonneg (α := ℝ) j])
43
+ (neg_nonpos.mpr hα0)
44
+ refine h.trans_eq ?_
45
+ rw [Real.div_rpow (by positivity) (by norm_num),Real.rpow_neg (by norm_num : (0:ℝ) ≤ 2),div_inv_eq_mul]
46
+ ring
47
+ calc
48
+ _ ≤ ∑ j∈Finset.range N, (2:ℝ)^α*((j:ℝ)+1)^(-α) := Finset.sum_le_sum (fun j _ => hhalf j)
49
+ _ = (2:ℝ)^α*∑ j∈Finset.range N, ((j:ℝ)+1)^(-α) := (Finset.mul_sum ..).symm
50
+ _ ≤ (2:ℝ)^α*(∫ x in (0:ℝ)..(N:���), x^(-α)) :=
51
+ mul_le_mul_of_nonneg_left hsum (Real.rpow_nonneg (by norm_num) _)
52
+ _ = _ := by rw [hint]; ring
53
+
54
+ end SLEExactGauge
55
+
56
+ end
57
+
58
+ end OAI
lean/OAI/Probability/SLE/Gauge/PrescribedTestPast.lean CHANGED
@@ -1,93 +1,93 @@
1
- import OAI.Probability.SLE.Gauge.PrescribedBatchClock
2
-
3
- namespace OAI
4
-
5
- /-! The history before each test is taken at the preceding test endpoint.
6
- The intervening radius gap is reserved for angular mixing. -/
7
- noncomputable section
8
- open Set Filter
9
-
10
- namespace SLEExactGauge.Target
11
-
12
- def prescribedTestPastLevel {J : ℕ} (κ : ℝ) (W : WienerLaw) (n : ℕ)
13
- (e : Fin J → ℤ×ℕ) (A : ℝ) (z : ℂ) (i : ℕ) : ℝ :=
14
- if i=0 then 0 else prescribedBatchLevel κ W n e A z (i-1)+
15
- 2*a κ*(batchLevel κ W n:ℝ)
16
-
17
- lemma prescribedTestPastLevel_nonneg {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw)
18
- (n : ℕ) {J : ℕ} (e : Fin J → ℤ×ℕ) (A : ℝ) (z : ℂ)
19
- (hl : ∀ o, 0 ≤ entryPhysicalLevel κ W (n,o) A z) (i : ℕ) :
20
- 0 ≤ prescribedTestPastLevel κ W n e A z i := by
21
- have ha := internal_a_pos hκ
22
- unfold prescribedTestPastLevel prescribedBatchLevel
23
- split_ifs
24
- · exact le_rfl
25
- · exact add_nonneg (hl _) (by positivity)
26
- · exact add_nonneg (hl _) (by positivity)
27
-
28
- lemma prescribedTestPastLevel_succ {κ : ℝ} (W : WienerLaw) (n : ℕ)
29
- {J : ℕ} (e : Fin J → ℤ×ℕ) (A : ℝ) (z : ℂ) (i : Fin J) :
30
- prescribedTestPastLevel κ W n e A z (i.val+1)=
31
- entryPhysicalLevel κ W (n,some (e i)) A z+2*a κ*(batchLevel κ W n:ℝ) := by
32
- simp only [prescribedTestPastLevel,Nat.add_one_ne_zero,ite_false,Nat.add_sub_cancel,
33
- prescribedBatchLevel,dite_eq_left i.isLt,Fin.eta]
34
-
35
- lemma prescribedTestPastLevel_monotone {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw)
36
- {n J : ℕ} (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
37
- (hJ : moment κ W 1^n ≤ moment κ W n) (e : Fin J → ℤ×ℕ)
38
- (he : ∀ i, (e i).2 < multiplicity κ W n (e i).1)
39
- (horder : StrictMono (fun i => entryPosition κ W (n,some (e i))))
40
- (A : ℝ) (z : ℂ) (hl : ∀ o, 0 ≤ entryPhysicalLevel κ W (n,o) A z) :
41
- Monotone (prescribedTestPastLevel κ W n e A z) := by
42
- intro i j hij
43
- by_cases hi : i=0
44
- · subst i
45
- simpa only [prescribedTestPastLevel,ite_true] using
46
- prescribedTestPastLevel_nonneg hκ W n e A z hl j
47
- · have hj : j ≠ 0 := by omega
48
- simp only [prescribedTestPastLevel,ite_eq_right hi,ite_eq_right hj]
49
- exact add_le_add
50
- (prescribedBatchLevel_monotone hκ W hn hm1 hJ e he horder A z
51
- (Nat.sub_le_sub_right hij 1)) le_rfl
52
-
53
- lemma prescribedTestPastLevel_gap {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw)
54
- {n J : ℕ} (hn : 1 ≤ n) (e : Fin J → ℤ×ℕ)
55
- (horder : StrictMono (fun i => entryPosition κ W (n,some (e i))))
56
- (A : ℝ) (z : ℂ) (δ : ℝ)
57
- (hfirst : ∀ i, δ ≤ entryPhysicalLevel κ W (n,some (e i)) A z)
58
- (hδ : δ ≤ 2*a κ*(n:ℝ)) (i : Fin J) :
59
- prescribedTestPastLevel κ W n e A z i.val+δ ≤
60
- entryPhysicalLevel κ W (n,some (e i)) A z := by
61
- by_cases hi : i.val=0
62
- · simpa only [prescribedTestPastLevel,hi,ite_true,zero_add] using hfirst i
63
- · let j : Fin J := ⟨i.val-1,by omega⟩
64
- have heq : i.val=j.val+1 := by dsimp only [j]; omega
65
- rw [heq,prescribedTestPastLevel_succ W n e A z j]
66
- have hpos := horder (show j < i from by
67
- dsimp only [j]
68
- exact Nat.sub_lt (Nat.pos_of_ne_zero hi) (by decide))
69
- have hh := entryPhysicalLevel_gap hκ W hn hpos A z
70
- linarith
71
-
72
- lemma eventually_prescribedTestPastLevel_gap {κ : ℝ} (hκ : 0 < κ)
73
- (W : WienerLaw) {A : ℝ} (hA : 0 < A) (δ : ℝ) :
74
- ∀ᶠ n : ℕ in Filter.atTop, ∀ (J : ℕ) (e : Fin J → ℤ×ℕ),
75
- StrictMono (fun i => entryPosition κ W (n,some (e i))) →
76
- ∀ z : ℂ, Real.exp (-(n:ℝ)) ≤ z.im → ∀ i : Fin J,
77
- prescribedTestPastLevel κ W n e A z i.val+δ ≤
78
- entryPhysicalLevel κ W (n,some (e i)) A z := by
79
- have ha : 0 < 2*a κ := mul_pos (by norm_num) (internal_a_pos hκ)
80
- have hn : ∀ᶠ n : ℕ in Filter.atTop, δ/(2*a κ) ≤ (n:ℝ) :=
81
- tendsto_natCast_atTop_atTop.eventually (eventually_ge_atTop _)
82
- filter_upwards [eventually_entryPhysicalLevel_large hκ W hA δ,hn,
83
- Filter.eventually_ge_atTop 1] with n hlevel hδ hn1
84
- intro J e horder z hz i
85
- apply prescribedTestPastLevel_gap hκ W hn1 e horder A z δ
86
- (fun j => (hlevel (some (e j)) z hz).le) _ i
87
- simpa only [mul_comm] using (div_le_iff₀ ha).mp hδ
88
-
89
- end SLEExactGauge.Target
90
-
91
- end
92
-
93
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.PrescribedBatchClock
2
+
3
+ namespace OAI
4
+
5
+ /-! The history before each test is taken at the preceding test endpoint.
6
+ The intervening radius gap is reserved for angular mixing. -/
7
+ noncomputable section
8
+ open Set Filter
9
+
10
+ namespace SLEExactGauge.Target
11
+
12
+ def prescribedTestPastLevel {J : ℕ} (κ : ℝ) (W : WienerLaw) (n : ℕ)
13
+ (e : Fin J → ℤ×ℕ) (A : ℝ) (z : ℂ) (i : ℕ) : ℝ :=
14
+ if i=0 then 0 else prescribedBatchLevel κ W n e A z (i-1)+
15
+ 2*a κ*(batchLevel κ W n:ℝ)
16
+
17
+ lemma prescribedTestPastLevel_nonneg {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw)
18
+ (n : ℕ) {J : ℕ} (e : Fin J → ℤ×ℕ) (A : ℝ) (z : ℂ)
19
+ (hl : ∀ o, 0 ≤ entryPhysicalLevel κ W (n,o) A z) (i : ℕ) :
20
+ 0 ≤ prescribedTestPastLevel κ W n e A z i := by
21
+ have ha := internal_a_pos hκ
22
+ unfold prescribedTestPastLevel prescribedBatchLevel
23
+ split_ifs
24
+ · exact le_rfl
25
+ · exact add_nonneg (hl _) (by positivity)
26
+ · exact add_nonneg (hl _) (by positivity)
27
+
28
+ lemma prescribedTestPastLevel_succ {κ : ℝ} (W : WienerLaw) (n : ℕ)
29
+ {J : ℕ} (e : Fin J → ℤ×ℕ) (A : ℝ) (z : ℂ) (i : Fin J) :
30
+ prescribedTestPastLevel κ W n e A z (i.val+1)=
31
+ entryPhysicalLevel κ W (n,some (e i)) A z+2*a κ*(batchLevel κ W n:ℝ) := by
32
+ simp only [prescribedTestPastLevel,Nat.add_one_ne_zero,ite_false,Nat.add_sub_cancel,
33
+ prescribedBatchLevel,dite_eq_left i.isLt,Fin.eta]
34
+
35
+ lemma prescribedTestPastLevel_monotone {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw)
36
+ {n J : ℕ} (hn : 1 ≤ n) (hm1 : 0 < moment κ W 1)
37
+ (hJ : moment κ W 1^n ≤ moment κ W n) (e : Fin J → ℤ×ℕ)
38
+ (he : ∀ i, (e i).2 < multiplicity κ W n (e i).1)
39
+ (horder : StrictMono (fun i => entryPosition κ W (n,some (e i))))
40
+ (A : ℝ) (z : ℂ) (hl : ∀ o, 0 ≤ entryPhysicalLevel κ W (n,o) A z) :
41
+ Monotone (prescribedTestPastLevel κ W n e A z) := by
42
+ intro i j hij
43
+ by_cases hi : i=0
44
+ · subst i
45
+ simpa only [prescribedTestPastLevel,ite_true] using
46
+ prescribedTestPastLevel_nonneg hκ W n e A z hl j
47
+ · have hj : j ≠ 0 := by omega
48
+ simp only [prescribedTestPastLevel,ite_eq_right hi,ite_eq_right hj]
49
+ exact add_le_add
50
+ (prescribedBatchLevel_monotone hκ W hn hm1 hJ e he horder A z
51
+ (Nat.sub_le_sub_right hij 1)) le_rfl
52
+
53
+ lemma prescribedTestPastLevel_gap {κ : ℝ} (hκ : 0 < κ) (W : WienerLaw)
54
+ {n J : ℕ} (hn : 1 ≤ n) (e : Fin J → ℤ×ℕ)
55
+ (horder : StrictMono (fun i => entryPosition κ W (n,some (e i))))
56
+ (A : ℝ) (z : ℂ) (δ : ℝ)
57
+ (hfirst : ∀ i, δ ≤ entryPhysicalLevel κ W (n,some (e i)) A z)
58
+ (hδ : δ ≤ 2*a κ*(n:ℝ)) (i : Fin J) :
59
+ prescribedTestPastLevel κ W n e A z i.val+δ ≤
60
+ entryPhysicalLevel κ W (n,some (e i)) A z := by
61
+ by_cases hi : i.val=0
62
+ · simpa only [prescribedTestPastLevel,hi,ite_true,zero_add] using hfirst i
63
+ · let j : Fin J := ⟨i.val-1,by omega⟩
64
+ have heq : i.val=j.val+1 := by dsimp only [j]; omega
65
+ rw [heq,prescribedTestPastLevel_succ W n e A z j]
66
+ have hpos := horder (show j < i from by
67
+ dsimp only [j]
68
+ exact Nat.sub_lt (Nat.pos_of_ne_zero hi) (by decide))
69
+ have hh := entryPhysicalLevel_gap hκ W hn hpos A z
70
+ linarith
71
+
72
+ lemma eventually_prescribedTestPastLevel_gap {κ : ℝ} (hκ : 0 < κ)
73
+ (W : WienerLaw) {A : ℝ} (hA : 0 < A) (δ : ℝ) :
74
+ ∀ᶠ n : ℕ in Filter.atTop, ∀ (J : ℕ) (e : Fin J → ℤ×ℕ),
75
+ StrictMono (fun i => entryPosition κ W (n,some (e i))) →
76
+ ∀ z : ℂ, Real.exp (-(n:ℝ)) ≤ z.im → ∀ i : Fin J,
77
+ prescribedTestPastLevel κ W n e A z i.val+δ ≤
78
+ entryPhysicalLevel κ W (n,some (e i)) A z := by
79
+ have ha : 0 < 2*a κ := mul_pos (by norm_num) (internal_a_pos hκ)
80
+ have hn : ∀ᶠ n : ℕ in Filter.atTop, δ/(2*a κ) ≤ (n:ℝ) :=
81
+ tendsto_natCast_atTop_atTop.eventually (eventually_ge_atTop _)
82
+ filter_upwards [eventually_entryPhysicalLevel_large hκ W hA δ,hn,
83
+ Filter.eventually_ge_atTop 1] with n hlevel hδ hn1
84
+ intro J e horder z hz i
85
+ apply prescribedTestPastLevel_gap hκ W hn1 e horder A z δ
86
+ (fun j => (hlevel (some (e j)) z hz).le) _ i
87
+ simpa only [mul_comm] using (div_le_iff₀ ha).mp hδ
88
+
89
+ end SLEExactGauge.Target
90
+
91
+ end
92
+
93
+ end OAI
lean/OAI/Probability/SLE/Gauge/PrescribedUniformGeometry.lean CHANGED
@@ -1,54 +1,54 @@
1
- import OAI.Probability.SLE.Gauge.PrescribedBatchClock
2
-
3
- namespace OAI
4
-
5
- /-! One late-batch cutoff supplies all clock and visit geometry, uniformly
6
- over every center above the shrinking boundary strip. -/
7
- noncomputable section
8
- open Set Filter
9
- open scoped Topology
10
-
11
- namespace SLEExactGauge.Target
12
-
13
- theorem eventually_prescribed_uniform_geometry {κ : ℝ} (hκ : 0<κ) (W : WienerLaw)
14
- (hm1 : 0 < moment κ W 1)
15
- (hJ : ∀ n, 1≤n → moment κ W 1^n ≤ moment κ W n) :
16
- ∀ᶠ n : ℕ in atTop, ∀ z : ℂ, Real.exp (-(n:ℝ)) ≤ z.im →
17
- (∀ o, 0 ≤ entryPhysicalLevel κ W (n,o) (2048*Real.pi) z) ∧
18
- 4*entryRadius κ W (n,none) ≤ z.im ∧
19
- ∀ (k : ℤ) (j : ℕ), j < multiplicity κ W n k →
20
- entryPhysicalLevel κ W (n,some (k,j)) (2048*Real.pi) z+
21
- 2*a κ*(batchLevel κ W n:ℝ)+1 ≤
22
- entryPhysicalLevel κ W (n,none) (2048*Real.pi) z := by
23
- have ha : 0<2*a κ := mul_pos (by norm_num) (internal_a_pos hκ)
24
- have hlarge : ∀ᶠ n : ℕ in atTop, 1/(2*a κ) ≤ (n:ℝ) :=
25
- tendsto_natCast_atTop_atTop.eventually (eventually_ge_atTop _)
26
- filter_upwards [eventually_entryPhysicalLevel_large hκ W (by positivity : 0<2048*Real.pi) 0,
27
- hlarge,eventually_ge_atTop 3] with n hl hn hn3
28
- intro z hz
29
- have hn1 : 1≤n := by omega
30
- have hnR : (3:ℝ) ≤ n := by exact_mod_cast hn3
31
- have hunit : 1 ≤ 2*a κ*(n:ℝ) := by
32
- have hh := (div_le_iff₀ ha).mp hn
33
- linarith
34
- refine ⟨fun o => (hl o z hz).le,?_,?_⟩
35
- · apply le_trans _ hz
36
- calc
37
- _ ≤ 4*Real.exp (-(n:ℝ)^2) :=
38
- mul_le_mul_of_nonneg_left (entryRadius_le_batch_exp hκ W (n,none)) (by norm_num)
39
- _ ≤ Real.exp (-(n:ℝ)) := by
40
- rw [show (4:ℝ)=Real.exp (Real.log 4) by rw [Real.exp_log (by norm_num)],← Real.exp_add]
41
- apply Real.exp_le_exp.mpr
42
- have hh : Real.log 4 ≤ 3 := by
43
- have hl4 := Real.log_le_sub_one_of_pos (by norm_num : (0:ℝ)<4)
44
- linarith
45
- nlinarith
46
- · intro k j hj
47
- have hh := entryPhysicalLevel_cleanup_gap hκ W hn1 hm1 (hJ n hn1) hj (2048*Real.pi) z
48
- linarith
49
-
50
- end SLEExactGauge.Target
51
-
52
- end
53
-
54
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.PrescribedBatchClock
2
+
3
+ namespace OAI
4
+
5
+ /-! One late-batch cutoff supplies all clock and visit geometry, uniformly
6
+ over every center above the shrinking boundary strip. -/
7
+ noncomputable section
8
+ open Set Filter
9
+ open scoped Topology
10
+
11
+ namespace SLEExactGauge.Target
12
+
13
+ theorem eventually_prescribed_uniform_geometry {κ : ℝ} (hκ : 0<κ) (W : WienerLaw)
14
+ (hm1 : 0 < moment κ W 1)
15
+ (hJ : ∀ n, 1≤n → moment κ W 1^n ≤ moment κ W n) :
16
+ ∀ᶠ n : ℕ in atTop, ∀ z : ℂ, Real.exp (-(n:ℝ)) ≤ z.im →
17
+ (∀ o, 0 ≤ entryPhysicalLevel κ W (n,o) (2048*Real.pi) z) ∧
18
+ 4*entryRadius κ W (n,none) ≤ z.im ∧
19
+ ∀ (k : ℤ) (j : ℕ), j < multiplicity κ W n k →
20
+ entryPhysicalLevel κ W (n,some (k,j)) (2048*Real.pi) z+
21
+ 2*a κ*(batchLevel κ W n:ℝ)+1 ≤
22
+ entryPhysicalLevel κ W (n,none) (2048*Real.pi) z := by
23
+ have ha : 0<2*a κ := mul_pos (by norm_num) (internal_a_pos hκ)
24
+ have hlarge : ∀ᶠ n : ℕ in atTop, 1/(2*a κ) ≤ (n:ℝ) :=
25
+ tendsto_natCast_atTop_atTop.eventually (eventually_ge_atTop _)
26
+ filter_upwards [eventually_entryPhysicalLevel_large hκ W (by positivity : 0<2048*Real.pi) 0,
27
+ hlarge,eventually_ge_atTop 3] with n hl hn hn3
28
+ intro z hz
29
+ have hn1 : 1≤n := by omega
30
+ have hnR : (3:ℝ) ≤ n := by exact_mod_cast hn3
31
+ have hunit : 1 ≤ 2*a κ*(n:ℝ) := by
32
+ have hh := (div_le_iff₀ ha).mp hn
33
+ linarith
34
+ refine ⟨fun o => (hl o z hz).le,?_,?_⟩
35
+ · apply le_trans _ hz
36
+ calc
37
+ _ ≤ 4*Real.exp (-(n:ℝ)^2) :=
38
+ mul_le_mul_of_nonneg_left (entryRadius_le_batch_exp hκ W (n,none)) (by norm_num)
39
+ _ ≤ Real.exp (-(n:ℝ)) := by
40
+ rw [show (4:ℝ)=Real.exp (Real.log 4) by rw [Real.exp_log (by norm_num)],← Real.exp_add]
41
+ apply Real.exp_le_exp.mpr
42
+ have hh : Real.log 4 ≤ 3 := by
43
+ have hl4 := Real.log_le_sub_one_of_pos (by norm_num : (0:ℝ)<4)
44
+ linarith
45
+ nlinarith
46
+ · intro k j hj
47
+ have hh := entryPhysicalLevel_cleanup_gap hκ W hn1 hm1 (hJ n hn1) hj (2048*Real.pi) z
48
+ linarith
49
+
50
+ end SLEExactGauge.Target
51
+
52
+ end
53
+
54
+ end OAI
lean/OAI/Probability/SLE/Gauge/PrescribedUpperAngle.lean CHANGED
@@ -1,76 +1,76 @@
1
- import OAI.Probability.SLE.Gauge.PrescribedCanonicalMixing
2
- import OAI.Probability.SLE.Gauge.CanonicalPrescribedUpper
3
-
4
- namespace OAI
5
-
6
- /-! A uniform canonical angle transition bound implies the prescribed-gauge
7
- upper cover estimate. -/
8
- noncomputable section
9
- open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory Metric
10
- open scoped Topology NNReal ENNReal
11
-
12
- namespace SLEExactGauge.Multipoint
13
- local instance upperAngleMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
14
- local instance upperAngleBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
15
-
16
- theorem CanonicalMass.prescribed_expectation_of_canonical_angle_bound
17
- {Ω : Type} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
18
- {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
19
- {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
20
- (C : CanonicalMass P κ B hBm γ G)
21
- (hB : IsBrownianReal B P) (hc : ∀ ω, Continuous (fun t => B t ω))
22
- (h0 : ∀ ω, B 0 ω=0) (hκ : 0 < κ) (hκ8 : κ < 8)
23
- (F : Ω → ℝ≥0 → ℂ → ℂ)
24
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
25
- (R : RawCanonicalMass)
26
- (he : ∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
27
- R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω)
28
- (D : Set C(ℝ≥0,ℝ)) (hD : MeasurableSet D)
29
- (hDf : ∀ᵐ p ∂P.map (sourceDriverPath B hc), p∈D)
30
- (hDp : ∀ p∈D, PositiveMassPaths (fun t => R.process t p) (R.terminal p))
31
- (hgrowth : PublishedDiskUnivalentGrowth)
32
- (hpublished : PublishedTraceGeneration (P.map (sourceDriverPath B hc)) κ (fun t p => p t))
33
- (W : Target.WienerLaw) (hW : Target.IsWiener W)
34
- (hγ : ∀ t, Measurable (fun ω => γ ω t))
35
- (δ : ℝ) (hδ : 0<δ)
36
- (hangle : ∀ (v : ℝ), δ≤v → ∀ (f : ℝ → ℝ≥0∞), Measurable f →
37
- ∀ θ∈Ioo (0:ℝ) Real.pi, (∫⁻ φ, f φ ∂Target.angleLaw κ)/2 ≤
38
- canonicalAngleAverage (P.map (sourceDriverPath B hc)) κ v f θ)
39
- (L : ℝ) (hL : 0≤L) (K : Set ℂ) (hK : IsClosed K)
40
- (hKL : K⊆closedBall 0 L) (hH : ∀ z∈K, 0≤z.im) :
41
- (∫⁻ ω, Target.hausdorff (Target.gauge κ W) (range (γ ω)∩K) ∂P)<∞ := by
42
- classical
43
- have hm1 := C.moment_positive hB hc h0 hκ hκ8 F hw hpublished hgrowth W hW 1
44
- have hJn (n : ℕ) := C.moment_jensen hB hc h0 hκ hκ8 F hw hgrowth W hW n
45
- have hdata (n : ℕ) : ∃ (J : ℕ) (e : Fin J → ℤ×ℕ),
46
- (∀ i, (e i).2<Target.multiplicity κ W n (e i).1) ∧
47
- (3≤n → Function.Injective e ∧
48
- (∀ kj, kj∈range e ↔ kj.2<Target.multiplicity κ W n kj.1) ∧
49
- StrictMono (fun i => Target.entryPosition κ W (n,some (e i)))) := by
50
- by_cases hn : 3≤n
51
- · obtain ⟨J,e,hi,he,ho⟩ := Target.ordered_repeated_batch κ W (by omega) hm1 (hJn n)
52
- exact ⟨J,e,fun i => (he _).mp ⟨i,rfl⟩,fun _ => ⟨hi,he,ho⟩⟩
53
- · refine ⟨0,Fin.elim0,?_,?_⟩
54
- · exact fun i => Fin.elim0 i
55
- · exact fun h => False.elim (hn h)
56
- choose J e hentries horder using hdata
57
- apply C.prescribed_expectation_of_finite_failures hB hc h0 hκ hκ8 F hw hγ hpublished
58
- hgrowth W hW J e hentries (4096*Real.pi) ((128*Real.pi)^dimension κ) L
59
- (by have hp := Real.pi_gt_three; linarith) (Real.rpow_pos_of_pos (by positivity) _) hL K hK hKL hH
60
- filter_upwards [Target.eventually_prescribedTestPastLevel_gap hκ W
61
- (by positivity : 0<2048*Real.pi) δ,
62
- Target.eventually_entryPhysicalLevel_large hκ W (by positivity : 0<2048*Real.pi) 0,
63
- eventually_ge_atTop 3] with n hgap hlevel hn
64
- intro ij _hij hy
65
- let z := prescribedGridCenter (Target.entryRadius κ W (n,none)) ij
66
- have hz : z∈upperHalfPlane := lt_of_lt_of_le (Real.exp_pos _) hy
67
- obtain ⟨hi,he',ho⟩ := horder n hn
68
- exact C.prescribed_batch_failure_of_canonical_angle_bound hB hc h0 hκ hκ8 F hw R he
69
- D hD hDf hDp hgrowth hpublished W hW hn (e n) hi he' ho z hz
70
- (fun o => (hlevel o z hy).le) δ hδ (hgap (J n) (e n) ho z hy) hangle
71
-
72
- end SLEExactGauge.Multipoint
73
-
74
- end
75
-
76
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.PrescribedCanonicalMixing
2
+ import OAI.Probability.SLE.Gauge.CanonicalPrescribedUpper
3
+
4
+ namespace OAI
5
+
6
+ /-! A uniform canonical angle transition bound implies the prescribed-gauge
7
+ upper cover estimate. -/
8
+ noncomputable section
9
+ open Set Filter _root_.MeasureTheory _root_.OAI.MeasureTheory ProbabilityTheory Metric
10
+ open scoped Topology NNReal ENNReal
11
+
12
+ namespace SLEExactGauge.Multipoint
13
+ local instance upperAngleMeasurable : MeasurableSpace C(ℝ≥0,ℝ) := borel _
14
+ local instance upperAngleBorel : BorelSpace C(ℝ≥0,ℝ) := ⟨rfl⟩
15
+
16
+ theorem CanonicalMass.prescribed_expectation_of_canonical_angle_bound
17
+ {Ω : Type} [mΩ : MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
18
+ {κ : ℝ} {B : ℝ≥0 → Ω → ℝ} {hBm : Measurable (Function.uncurry B)}
19
+ {γ : Ω → ℝ≥0 → ℂ} {G : Ω → ℝ≥0 → ℂ → ℂ}
20
+ (C : CanonicalMass P κ B hBm γ G)
21
+ (hB : IsBrownianReal B P) (hc : ∀ ω, Continuous (fun t => B t ω))
22
+ (h0 : ∀ ω, B 0 ω=0) (hκ : 0 < κ) (hκ8 : κ < 8)
23
+ (F : Ω → ℝ≥0 → ℂ → ℂ)
24
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
25
+ (R : RawCanonicalMass)
26
+ (he : ∀ᵐ ω ∂P, (∀ t, R.process t (sourceDriverPath B hc ω)=C.process t ω) ∧
27
+ R.terminal (sourceDriverPath B hc ω)=C.rational.terminal ω)
28
+ (D : Set C(ℝ≥0,ℝ)) (hD : MeasurableSet D)
29
+ (hDf : ∀ᵐ p ∂P.map (sourceDriverPath B hc), p∈D)
30
+ (hDp : ∀ p∈D, PositiveMassPaths (fun t => R.process t p) (R.terminal p))
31
+ (hgrowth : PublishedDiskUnivalentGrowth)
32
+ (hpublished : PublishedTraceGeneration (P.map (sourceDriverPath B hc)) κ (fun t p => p t))
33
+ (W : Target.WienerLaw) (hW : Target.IsWiener W)
34
+ (hγ : ∀ t, Measurable (fun ω => γ ω t))
35
+ (δ : ℝ) (hδ : 0<δ)
36
+ (hangle : ∀ (v : ℝ), δ≤v → ∀ (f : ℝ → ℝ≥0∞), Measurable f →
37
+ ∀ θ∈Ioo (0:ℝ) Real.pi, (∫⁻ φ, f φ ∂Target.angleLaw κ)/2 ≤
38
+ canonicalAngleAverage (P.map (sourceDriverPath B hc)) κ v f θ)
39
+ (L : ℝ) (hL : 0≤L) (K : Set ℂ) (hK : IsClosed K)
40
+ (hKL : K⊆closedBall 0 L) (hH : ∀ z∈K, 0≤z.im) :
41
+ (∫⁻ ω, Target.hausdorff (Target.gauge κ W) (range (γ ω)∩K) ∂P)<∞ := by
42
+ classical
43
+ have hm1 := C.moment_positive hB hc h0 hκ hκ8 F hw hpublished hgrowth W hW 1
44
+ have hJn (n : ℕ) := C.moment_jensen hB hc h0 hκ hκ8 F hw hgrowth W hW n
45
+ have hdata (n : ℕ) : ∃ (J : ℕ) (e : Fin J → ℤ×ℕ),
46
+ (∀ i, (e i).2<Target.multiplicity κ W n (e i).1) ∧
47
+ (3≤n → Function.Injective e ∧
48
+ (∀ kj, kj∈range e ↔ kj.2<Target.multiplicity κ W n kj.1) ∧
49
+ StrictMono (fun i => Target.entryPosition κ W (n,some (e i)))) := by
50
+ by_cases hn : 3≤n
51
+ · obtain ⟨J,e,hi,he,ho⟩ := Target.ordered_repeated_batch κ W (by omega) hm1 (hJn n)
52
+ exact ⟨J,e,fun i => (he _).mp ⟨i,rfl⟩,fun _ => ⟨hi,he,ho⟩⟩
53
+ · refine ⟨0,Fin.elim0,?_,?_⟩
54
+ · exact fun i => Fin.elim0 i
55
+ · exact fun h => False.elim (hn h)
56
+ choose J e hentries horder using hdata
57
+ apply C.prescribed_expectation_of_finite_failures hB hc h0 hκ hκ8 F hw hγ hpublished
58
+ hgrowth W hW J e hentries (4096*Real.pi) ((128*Real.pi)^dimension κ) L
59
+ (by have hp := Real.pi_gt_three; linarith) (Real.rpow_pos_of_pos (by positivity) _) hL K hK hKL hH
60
+ filter_upwards [Target.eventually_prescribedTestPastLevel_gap hκ W
61
+ (by positivity : 0<2048*Real.pi) δ,
62
+ Target.eventually_entryPhysicalLevel_large hκ W (by positivity : 0<2048*Real.pi) 0,
63
+ eventually_ge_atTop 3] with n hgap hlevel hn
64
+ intro ij _hij hy
65
+ let z := prescribedGridCenter (Target.entryRadius κ W (n,none)) ij
66
+ have hz : z∈upperHalfPlane := lt_of_lt_of_le (Real.exp_pos _) hy
67
+ obtain ⟨hi,he',ho⟩ := horder n hn
68
+ exact C.prescribed_batch_failure_of_canonical_angle_bound hB hc h0 hκ hκ8 F hw R he
69
+ D hD hDf hDp hgrowth hpublished W hW hn (e n) hi he' ho z hz
70
+ (fun o => (hlevel o z hy).le) δ hδ (hgap (J n) (e n) ho z hy) hangle
71
+
72
+ end SLEExactGauge.Multipoint
73
+
74
+ end
75
+
76
+ end OAI
lean/OAI/Probability/SLE/Gauge/PrescribedVisitBound.lean CHANGED
@@ -1,57 +1,57 @@
1
- import OAI.Probability.SLE.Gauge.PrescribedCandidateCover
2
- import OAI.Probability.SLE.SausagePointBound
3
-
4
- namespace OAI
5
-
6
- /-! The ordinary one-point estimate bounds every actual missed cell,
7
- including the bottom half-row of the shifted grid. -/
8
- noncomputable section
9
- open Set Filter MeasureTheory ProbabilityTheory Metric
10
- open scoped Topology NNReal ENNReal
11
-
12
- namespace SLEExactGauge
13
-
14
- theorem prescribed_missed_cell_visit_bound
15
- {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
16
- {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
17
- {κ : ℝ} (hκ : 0<κ) (hκ8 : κ<8)
18
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
19
- (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
20
- (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
21
- (ν : Ω → Measure ℂ) (W : Target.WienerLaw) (n : ℕ)
22
- {J : ℕ} (e : Fin J → ℤ×ℕ) (C c R : ℝ) (K : Set ℂ)
23
- (ij : ℤ×ℤ) (hij : ij∈prescribedGridIndex R (Target.entryRadius κ W (n,none)) K) :
24
- P {ω | ij∈prescribedMissedIndices κ W n e C c R K (range (γ ω)∩K) (ν ω)} ≤
25
- ENNReal.ofReal ((sausagePointConstant κ*(4:ℝ)^codimension κ)*
26
- (Target.entryRadius κ W (n,none))^codimension κ*
27
- (prescribedGridCenter (Target.entryRadius κ W (n,none)) ij).im^(-codimension κ)) := by
28
- classical
29
- let r := Target.entryRadius κ W (n,none)
30
- let z := prescribedGridCenter r ij
31
- have hr : 0<r := Real.exp_pos _
32
- have hz : 0<z.im := (prescribedGrid_center_height hr hij).2
33
- have hsub : {ω | ij∈prescribedMissedIndices κ W n e C c R K (range (γ ω)∩K) (ν ω)} ⊆
34
- {ω | ∃ t : ℝ≥0, dist (γ ω t) z < 4*r} := by
35
- intro ω hω
36
- obtain ⟨x,⟨⟨t,rfl⟩,_⟩,ht⟩ := (Finset.mem_filter.mp hω).2.1
37
- refine ⟨t,?_⟩
38
- change dist (γ ω t) z ≤ 3*r at ht
39
- linarith
40
- have hb := normalized_visit_bound hB κ hκ hκ8 γ G F hw z hz.ne' (4*r) (by positivity)
41
- have hmul := mul_le_mul_of_nonneg_left hb
42
- (Real.rpow_nonneg (by positivity : 0 ≤ 4*r) (codimension κ))
43
- rw [← mul_assoc,← Real.rpow_add (by positivity : 0<4*r),add_neg_cancel,
44
- Real.rpow_zero,one_mul,abs_of_pos hz,
45
- Real.mul_rpow (by norm_num : (0:ℝ) ≤ 4) hr.le] at hmul
46
- have hbound : (P {ω | ∃ t : ℝ≥0, dist (γ ω t) z < 4*r}).toReal ≤
47
- (sausagePointConstant κ*(4:ℝ)^codimension κ)*r^codimension κ*z.im^(-codimension κ) := by
48
- convert hmul using 1
49
- ring
50
- exact (measure_mono hsub).trans ((ENNReal.le_ofReal_iff_toReal_le (measure_ne_top _ _)
51
- (by have hC := sausagePointConstant_pos κ hκ hκ8; positivity)).mpr hbound)
52
-
53
- end SLEExactGauge
54
-
55
- end
56
-
57
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.PrescribedCandidateCover
2
+ import OAI.Probability.SLE.SausagePointBound
3
+
4
+ namespace OAI
5
+
6
+ /-! The ordinary one-point estimate bounds every actual missed cell,
7
+ including the bottom half-row of the shifted grid. -/
8
+ noncomputable section
9
+ open Set Filter MeasureTheory ProbabilityTheory Metric
10
+ open scoped Topology NNReal ENNReal
11
+
12
+ namespace SLEExactGauge
13
+
14
+ theorem prescribed_missed_cell_visit_bound
15
+ {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω} [IsProbabilityMeasure P]
16
+ {B : ℝ≥0 → Ω → ℝ} (hB : IsBrownianReal B P)
17
+ {κ : ℝ} (hκ : 0<κ) (hκ8 : κ<8)
18
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
19
+ (hw : ∀ᵐ ω ∂P, IsCapacityTwoWitness
20
+ (fun t => Real.sqrt κ*B t ω) (γ ω) (G ω) (F ω))
21
+ (ν : Ω → Measure ℂ) (W : Target.WienerLaw) (n : ℕ)
22
+ {J : ℕ} (e : Fin J → ℤ×ℕ) (C c R : ℝ) (K : Set ℂ)
23
+ (ij : ℤ×ℤ) (hij : ij∈prescribedGridIndex R (Target.entryRadius κ W (n,none)) K) :
24
+ P {ω | ij∈prescribedMissedIndices κ W n e C c R K (range (γ ω)∩K) (ν ω)} ≤
25
+ ENNReal.ofReal ((sausagePointConstant κ*(4:ℝ)^codimension κ)*
26
+ (Target.entryRadius κ W (n,none))^codimension κ*
27
+ (prescribedGridCenter (Target.entryRadius κ W (n,none)) ij).im^(-codimension κ)) := by
28
+ classical
29
+ let r := Target.entryRadius κ W (n,none)
30
+ let z := prescribedGridCenter r ij
31
+ have hr : 0<r := Real.exp_pos _
32
+ have hz : 0<z.im := (prescribedGrid_center_height hr hij).2
33
+ have hsub : {ω | ij∈prescribedMissedIndices κ W n e C c R K (range (γ ω)∩K) (ν ω)} ⊆
34
+ {ω | ∃ t : ℝ≥0, dist (γ ω t) z < 4*r} := by
35
+ intro ω hω
36
+ obtain ⟨x,⟨⟨t,rfl⟩,_⟩,ht⟩ := (Finset.mem_filter.mp hω).2.1
37
+ refine ⟨t,?_⟩
38
+ change dist (γ ω t) z ≤ 3*r at ht
39
+ linarith
40
+ have hb := normalized_visit_bound hB κ hκ hκ8 γ G F hw z hz.ne' (4*r) (by positivity)
41
+ have hmul := mul_le_mul_of_nonneg_left hb
42
+ (Real.rpow_nonneg (by positivity : 0 ≤ 4*r) (codimension κ))
43
+ rw [← mul_assoc,← Real.rpow_add (by positivity : 0<4*r),add_neg_cancel,
44
+ Real.rpow_zero,one_mul,abs_of_pos hz,
45
+ Real.mul_rpow (by norm_num : (0:ℝ) ≤ 4) hr.le] at hmul
46
+ have hbound : (P {ω | ∃ t : ℝ≥0, dist (γ ω t) z < 4*r}).toReal ≤
47
+ (sausagePointConstant κ*(4:ℝ)^codimension κ)*r^codimension κ*z.im^(-codimension κ) := by
48
+ convert hmul using 1
49
+ ring
50
+ exact (measure_mono hsub).trans ((ENNReal.le_ofReal_iff_toReal_le (measure_ne_top _ _)
51
+ (by have hC := sausagePointConstant_pos κ hκ hκ8; positivity)).mpr hbound)
52
+
53
+ end SLEExactGauge
54
+
55
+ end
56
+
57
+ end OAI
lean/OAI/Probability/SLE/Gauge/ProperRibbonCoordinates.lean CHANGED
@@ -1,118 +1,118 @@
1
- import OAI.Probability.SLE.Gauge.RibbonHistoryAdvance
2
- import Mathlib.Topology.Maps.Proper.CompactlyGenerated
3
-
4
- namespace OAI
5
-
6
- /-! An escaping terminal straight piece makes the complete normal ribbon
7
- proper. Its inverse coordinates therefore extend continuously to the
8
- ambient plane, supplying one actual adapted front process for iteration. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory Metric
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge.RibbonCoordinates
15
-
16
- lemma closedRibbon_isClosed : IsClosed closedRibbon :=
17
- (isClosed_le continuous_const Complex.continuous_re).inter
18
- (isClosed_le Complex.continuous_im.abs continuous_const)
19
-
20
- lemma ribbon_coordinate_norm_bound
21
- (P : ℂ → ℂ) (σ : ℝ → ℂ) (T : ℝ) (_hT : 0 ≤ T) (a : ℂ)
22
- (htail : ∀ t : ℝ, T ≤ t → σ t = a + ((t - T : ℝ) : ℂ) * Complex.I)
23
- (hwidth : ∀ z ∈ closedRibbon, ‖P z - σ z.re‖ ≤ 1)
24
- (z : ℂ) (hz : z ∈ closedRibbon) :
25
- ‖z‖ ≤ T + |a.im| + ‖P z‖ + 2 := by
26
- have hre : z.re ≤ T + |a.im| + ‖P z‖ + 1 := by
27
- by_cases hzt : z.re ≤ T
28
- · linarith [abs_nonneg a.im, norm_nonneg (P z)]
29
- · have him : z.re - T + a.im = (σ z.re).im := by
30
- rw [htail z.re (le_of_not_ge hzt)]
31
- simp only [Complex.add_im, Complex.mul_im, Complex.ofReal_re,
32
- Complex.I_im, mul_one, Complex.ofReal_im, Complex.I_re, mul_zero, add_zero]
33
- ring
34
- have hσ : ‖σ z.re‖ ≤ ‖P z‖ + 1 := by
35
- calc
36
- _ ≤ ‖P z‖ + ‖σ z.re - P z‖ := norm_le_insert' _ _
37
- _ ≤ _ := add_le_add le_rfl (by simpa only [norm_sub_rev] using hwidth z hz)
38
- have hh := Complex.im_le_norm (σ z.re)
39
- rw [← him] at hh
40
- linarith [neg_abs_le a.im]
41
- have hn := Complex.norm_le_abs_re_add_abs_im z
42
- rw [abs_of_nonneg hz.1] at hn
43
- linarith [hz.2, abs_nonneg a.im, norm_nonneg (P z)]
44
-
45
- theorem ribbon_closedEmbedding_of_linear_tail
46
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
47
- (σ : ℝ → ℂ) (T : ℝ) (hT : 0 ≤ T) (a : ℂ)
48
- (htail : ∀ t : ℝ, T ≤ t → σ t = a + ((t - T : ℝ) : ℂ) * Complex.I)
49
- (hwidth : ∀ z ∈ closedRibbon, ‖P z - σ z.re‖ ≤ 1) :
50
- Topology.IsClosedEmbedding (fun z : closedRibbon => P z) := by
51
- have hc : Continuous (fun z : closedRibbon => P z) := hP.domRestrict
52
- have hinj : Function.Injective (fun z : closedRibbon => P z) := by
53
- intro z w he
54
- exact Subtype.ext (hi z.2 w.2 he)
55
- have hproper : IsProperMap (fun z : closedRibbon => P z) := by
56
- apply isProperMap_iff_isCompact_preimage.mpr
57
- refine ⟨hc, fun K hK => ?_⟩
58
- obtain ⟨R, hR⟩ := hK.isBounded.exists_norm_le
59
- have hclosed : IsClosed (closedRibbon ∩ P ⁻¹' K) :=
60
- hP.preimage_isClosed_of_isClosed closedRibbon_isClosed hK.isClosed
61
- have hbounded : Bornology.IsBounded (closedRibbon ∩ P ⁻¹' K) := by
62
- apply isBounded_iff_forall_norm_le.mpr
63
- refine ⟨T + |a.im| + R + 2, fun z hz => ?_⟩
64
- exact (ribbon_coordinate_norm_bound P σ T hT a htail hwidth z hz.1).trans
65
- (by linarith [hR (P z) hz.2])
66
- apply Subtype.isCompact_iff.mpr
67
- have he : (Subtype.val '' ((fun z : closedRibbon => P z) ⁻¹' K)) =
68
- closedRibbon ∩ P ⁻¹' K := by
69
- ext z
70
- simp only [mem_image, mem_preimage, mem_inter_iff]
71
- constructor
72
- · rintro ⟨w, hw, rfl⟩
73
- exact ⟨w.2, hw⟩
74
- · rintro ⟨hz, hPz⟩
75
- exact ⟨⟨z, hz⟩, hPz, rfl⟩
76
- rw [he]
77
- exact (isCompact_iff_isClosed_bounded).mpr ⟨hclosed, hbounded⟩
78
- exact .of_continuous_injective_isClosedMap hc hinj hproper.isClosedMap
79
-
80
- lemma coordinateInverse_continuousOn_of_embedding
81
- (P : ℂ → ℂ) (he : Topology.IsEmbedding (fun z : closedRibbon => P z)) :
82
- ContinuousOn (coordinateInverse P closedRibbon) (P '' closedRibbon) := by
83
- let q : (P '' closedRibbon) → closedRibbon := fun z =>
84
- ⟨coordinateInverse P closedRibbon z, coordinateInverse_mem z.2⟩
85
- have hq : Continuous q := by
86
- apply he.continuous_iff.mpr
87
- have hf : (fun z : closedRibbon => P z) ∘ q = Subtype.val := by
88
- funext z
89
- exact coordinateInverse_right z.2
90
- rw [hf]
91
- exact continuous_subtype_val
92
- exact continuousOn_iff_continuous_domRestrict.mpr (continuous_subtype_val.comp hq)
93
-
94
- theorem exists_global_ribbon_progress
95
- (P : ℂ → ℂ) (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z)) :
96
- ∃ g : C(ℂ, ℝ), ∀ z ∈ closedRibbon, g (P z) = z.re := by
97
- have hclosed : IsClosed (P '' closedRibbon) := by
98
- have hr : range (fun z : closedRibbon => P z) = P '' closedRibbon := by
99
- ext z
100
- simp
101
- exact hr ▸ he.isClosed_range
102
- have hp : ContinuousOn (longitudinalCoordinate P closedRibbon 0) (P '' closedRibbon) := by
103
- exact (Complex.continuous_re.comp_continuousOn
104
- (coordinateInverse_continuousOn_of_embedding P he.isEmbedding)).sub continuousOn_const
105
- obtain ⟨g, hg⟩ := FrontSuccessMeasurability.exists_continuous_progress_extension
106
- (longitudinalCoordinate P closedRibbon 0) (P '' closedRibbon) hclosed hp
107
- have hi : InjOn P closedRibbon := by
108
- intro z hz w hw heq
109
- exact congrArg Subtype.val (he.injective (show P (⟨z, hz⟩ : closedRibbon) =
110
- P (⟨w, hw⟩ : closedRibbon) from heq))
111
- refine ⟨g, fun z hz => ?_⟩
112
- rw [← hg (mem_image_of_mem P hz), longitudinalCoordinate, coordinateInverse_left hi hz, sub_zero]
113
-
114
- end SLEExactGauge.RibbonCoordinates
115
-
116
- end
117
-
118
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonHistoryAdvance
2
+ import Mathlib.Topology.Maps.Proper.CompactlyGenerated
3
+
4
+ namespace OAI
5
+
6
+ /-! An escaping terminal straight piece makes the complete normal ribbon
7
+ proper. Its inverse coordinates therefore extend continuously to the
8
+ ambient plane, supplying one actual adapted front process for iteration. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory Metric
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge.RibbonCoordinates
15
+
16
+ lemma closedRibbon_isClosed : IsClosed closedRibbon :=
17
+ (isClosed_le continuous_const Complex.continuous_re).inter
18
+ (isClosed_le Complex.continuous_im.abs continuous_const)
19
+
20
+ lemma ribbon_coordinate_norm_bound
21
+ (P : ℂ → ℂ) (σ : ℝ → ℂ) (T : ℝ) (_hT : 0 ≤ T) (a : ℂ)
22
+ (htail : ∀ t : ℝ, T ≤ t → σ t = a + ((t - T : ℝ) : ℂ) * Complex.I)
23
+ (hwidth : ∀ z ∈ closedRibbon, ‖P z - σ z.re‖ ≤ 1)
24
+ (z : ℂ) (hz : z ∈ closedRibbon) :
25
+ ‖z‖ ≤ T + |a.im| + ‖P z‖ + 2 := by
26
+ have hre : z.re ≤ T + |a.im| + ‖P z‖ + 1 := by
27
+ by_cases hzt : z.re ≤ T
28
+ · linarith [abs_nonneg a.im, norm_nonneg (P z)]
29
+ · have him : z.re - T + a.im = (σ z.re).im := by
30
+ rw [htail z.re (le_of_not_ge hzt)]
31
+ simp only [Complex.add_im, Complex.mul_im, Complex.ofReal_re,
32
+ Complex.I_im, mul_one, Complex.ofReal_im, Complex.I_re, mul_zero, add_zero]
33
+ ring
34
+ have hσ : ‖σ z.re‖ ≤ ‖P z‖ + 1 := by
35
+ calc
36
+ _ ≤ ‖P z‖ + ‖σ z.re - P z‖ := norm_le_insert' _ _
37
+ _ ≤ _ := add_le_add le_rfl (by simpa only [norm_sub_rev] using hwidth z hz)
38
+ have hh := Complex.im_le_norm (σ z.re)
39
+ rw [← him] at hh
40
+ linarith [neg_abs_le a.im]
41
+ have hn := Complex.norm_le_abs_re_add_abs_im z
42
+ rw [abs_of_nonneg hz.1] at hn
43
+ linarith [hz.2, abs_nonneg a.im, norm_nonneg (P z)]
44
+
45
+ theorem ribbon_closedEmbedding_of_linear_tail
46
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
47
+ (σ : ℝ → ℂ) (T : ℝ) (hT : 0 ≤ T) (a : ℂ)
48
+ (htail : ∀ t : ℝ, T ≤ t → σ t = a + ((t - T : ℝ) : ℂ) * Complex.I)
49
+ (hwidth : ∀ z ∈ closedRibbon, ‖P z - σ z.re‖ ≤ 1) :
50
+ Topology.IsClosedEmbedding (fun z : closedRibbon => P z) := by
51
+ have hc : Continuous (fun z : closedRibbon => P z) := hP.domRestrict
52
+ have hinj : Function.Injective (fun z : closedRibbon => P z) := by
53
+ intro z w he
54
+ exact Subtype.ext (hi z.2 w.2 he)
55
+ have hproper : IsProperMap (fun z : closedRibbon => P z) := by
56
+ apply isProperMap_iff_isCompact_preimage.mpr
57
+ refine ⟨hc, fun K hK => ?_⟩
58
+ obtain ⟨R, hR⟩ := hK.isBounded.exists_norm_le
59
+ have hclosed : IsClosed (closedRibbon ∩ P ⁻¹' K) :=
60
+ hP.preimage_isClosed_of_isClosed closedRibbon_isClosed hK.isClosed
61
+ have hbounded : Bornology.IsBounded (closedRibbon ∩ P ⁻¹' K) := by
62
+ apply isBounded_iff_forall_norm_le.mpr
63
+ refine ⟨T + |a.im| + R + 2, fun z hz => ?_⟩
64
+ exact (ribbon_coordinate_norm_bound P σ T hT a htail hwidth z hz.1).trans
65
+ (by linarith [hR (P z) hz.2])
66
+ apply Subtype.isCompact_iff.mpr
67
+ have he : (Subtype.val '' ((fun z : closedRibbon => P z) ⁻¹' K)) =
68
+ closedRibbon ∩ P ⁻¹' K := by
69
+ ext z
70
+ simp only [mem_image, mem_preimage, mem_inter_iff]
71
+ constructor
72
+ · rintro ⟨w, hw, rfl⟩
73
+ exact ⟨w.2, hw⟩
74
+ · rintro ⟨hz, hPz⟩
75
+ exact ⟨⟨z, hz⟩, hPz, rfl⟩
76
+ rw [he]
77
+ exact (isCompact_iff_isClosed_bounded).mpr ⟨hclosed, hbounded⟩
78
+ exact .of_continuous_injective_isClosedMap hc hinj hproper.isClosedMap
79
+
80
+ lemma coordinateInverse_continuousOn_of_embedding
81
+ (P : ℂ → ℂ) (he : Topology.IsEmbedding (fun z : closedRibbon => P z)) :
82
+ ContinuousOn (coordinateInverse P closedRibbon) (P '' closedRibbon) := by
83
+ let q : (P '' closedRibbon) → closedRibbon := fun z =>
84
+ ⟨coordinateInverse P closedRibbon z, coordinateInverse_mem z.2⟩
85
+ have hq : Continuous q := by
86
+ apply he.continuous_iff.mpr
87
+ have hf : (fun z : closedRibbon => P z) ∘ q = Subtype.val := by
88
+ funext z
89
+ exact coordinateInverse_right z.2
90
+ rw [hf]
91
+ exact continuous_subtype_val
92
+ exact continuousOn_iff_continuous_domRestrict.mpr (continuous_subtype_val.comp hq)
93
+
94
+ theorem exists_global_ribbon_progress
95
+ (P : ℂ → ℂ) (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z)) :
96
+ ∃ g : C(ℂ, ℝ), ∀ z ∈ closedRibbon, g (P z) = z.re := by
97
+ have hclosed : IsClosed (P '' closedRibbon) := by
98
+ have hr : range (fun z : closedRibbon => P z) = P '' closedRibbon := by
99
+ ext z
100
+ simp
101
+ exact hr ▸ he.isClosed_range
102
+ have hp : ContinuousOn (longitudinalCoordinate P closedRibbon 0) (P '' closedRibbon) := by
103
+ exact (Complex.continuous_re.comp_continuousOn
104
+ (coordinateInverse_continuousOn_of_embedding P he.isEmbedding)).sub continuousOn_const
105
+ obtain ⟨g, hg⟩ := FrontSuccessMeasurability.exists_continuous_progress_extension
106
+ (longitudinalCoordinate P closedRibbon 0) (P '' closedRibbon) hclosed hp
107
+ have hi : InjOn P closedRibbon := by
108
+ intro z hz w hw heq
109
+ exact congrArg Subtype.val (he.injective (show P (⟨z, hz⟩ : closedRibbon) =
110
+ P (⟨w, hw⟩ : closedRibbon) from heq))
111
+ refine ⟨g, fun z hz => ?_⟩
112
+ rw [← hg (mem_image_of_mem P hz), longitudinalCoordinate, coordinateInverse_left hi hz, sub_zero]
113
+
114
+ end SLEExactGauge.RibbonCoordinates
115
+
116
+ end
117
+
118
+ end OAI
lean/OAI/Probability/SLE/Gauge/PublishedRibbonIteration.lean CHANGED
@@ -1,82 +1,82 @@
1
- import OAI.Probability.SLE.Gauge.ActualRibbonIteration
2
-
3
- namespace OAI
4
-
5
- /-! Uniform iteration of actual front-and-mass passages from explicit
6
- analytic inputs, for any chart and number of steps satisfying the
7
- deterministic ribbon bounds. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory ProbabilityTheory
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge
14
- open RibbonCoordinates Target
15
-
16
- local instance publishedIterationPathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
- local instance publishedIterationPathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
-
19
- theorem uniform_actual_ribbon_iteration
20
- {Ω : Type} [mΩ : MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
21
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
22
- (B : ℝ≥0 → Ω → ℝ) (hB : IsBrownianReal B μ)
23
- (hm : ∀ t, Measurable (B t)) (hc : ∀ ω, Continuous (fun t => B t ω))
24
- (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
25
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω)
26
- (γ ω) (G ω) (F ω))
27
- (hcompact : PublishedHalfPlaneUnivalentCompactness)
28
- (hboundary : PublishedFiniteLoewnerBoundaryExtension)
29
- (hsupport : PublishedGeometricTubeSupport μ γ)
30
- (hplanar : PublishedPlanarDiskOpenness)
31
- (hstraight : PublishedHalfPlaneCrosscutStraightening)
32
- (hexit : PublishedHalfPlaneConformalExitLaw)
33
- (hwiener : PublishedPlanarWienerUnitSupport)
34
- (W : WienerLaw) (hW : IsWiener W)
35
- (C L : ℝ≥0) (hC : 0 < C) (hL : 0 < L)
36
- (ε : ℝ) (hε : 0 < ε) (hεsmall : ε ≤ 1 / 8) :
37
- ∃ q c v₀ : ℝ, 0 < q ∧ q ≤ 1 ∧ 0 < c ∧ 0 < v₀ ∧
38
- ∀ (v : ℝ), 0 < v → v < v₀ → ∀ (P : ℂ → ℂ),
39
- Topology.IsClosedEmbedding (fun z : closedRibbon => P z) →
40
- ContinuousOn P closedRibbon → InjOn P closedRibbon → P 0 = 0 →
41
- (∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane) →
42
- Tendsto (fun t : ℝ => ‖P (t : ℂ)‖) atTop atTop →
43
- (∀ k : ℝ, LipschitzOnWith C P (ribbonStepPatch k)) →
44
- (∀ k : ℝ, ∀ z ∈ ribbonStepPatch k, ∀ w ∈ ribbonStepPatch k,
45
- dist z w ≤ L * dist (P z) (P w)) →
46
- ∀ (g : C(ℂ, ℝ)), (∀ z ∈ closedRibbon, g (P z) = z.re) → ∀ N : ℕ,
47
- (ENNReal.ofReal q) ^ N * μ (GoodRibbonPrefix γ (ribbonIntegerFront g γ 0) P ε) ≤
48
- μ (GoodRibbonPrefix γ (ribbonIntegerFront g γ 0) P ε ∩
49
- ⋂ n ∈ Finset.range N, actualRibbonSuccess γ g P ε κ v c n) := by
50
- obtain ⟨q, c, v₀, hq, hcm, hv₀, hstep⟩ :=
51
- uniform_conditional_actual_ribbon_step_extended μ κ hκ hκ8 B hB hm hc γ G F hw
52
- hcompact hboundary hsupport hplanar hstraight hexit hwiener W hW
53
- C L hC hL ε hε hεsmall
54
- refine ⟨min q 1, c, v₀, lt_min hq (by norm_num), min_le_right _ _, hcm, hv₀, ?_⟩
55
- intro v hv hvcut P hemb hP hi hP0 hH hescape hu hl g hg N
56
- let ℱ := Filtration.natural B (fun t => (hm t).stronglyMeasurable)
57
- have ha : Adapted ℱ (fun t ω => γ ω t) := brownian_capacity_trace_adapted B hm hc κ γ G F hw
58
- have hγc : ∀ ω, Continuous (γ ω) := fun ω => (hw ω).1
59
- have hg0 (ω : Ω) : g (γ ω 0) = 0 := by
60
- rw [(hw ω).2.1, ← hP0]
61
- exact hg 0 (by constructor <;> norm_num)
62
- apply le_trans (mul_le_mul' (pow_le_pow_left'
63
- (ENNReal.ofReal_le_ofReal (min_le_left q 1)) N) le_rfl)
64
- apply actual_ribbon_successes_lower_bound μ ℱ γ ha hγc g hg0 P hemb ε κ v c
65
- (ENNReal.ofReal q) ?_ N
66
- intro n A hA hAE
67
- let k : ℝ := (n : ℝ) + 1
68
- have hk : 1 ≤ k := by dsimp only [k]; linarith [Nat.cast_nonneg (α := ℝ) n]
69
- have hτ := ribbonFrontStop_stopping ℱ g γ ha hγc k
70
- have hS := ribbonPathStep_measurable P C L ε k κ v c hplanar hεsmall hk hemb hP (hl k)
71
- have hb := actual_ribbon_step_on_good_prefix μ ℱ (fun ω t => Real.sqrt κ * B t ω)
72
- γ G F (fun ω => continuous_const.mul (hc ω)) hw C L hL ε κ v c hεsmall
73
- (ENNReal.ofReal q) P hemb hP hi hH hescape g hg hg0 k hk
74
- (fun j _ => hu j) (fun j _ => hl j) hτ
75
- (hstep v hv hvcut _ hτ _ hS) A hA hAE
76
- simpa only [actualRibbonSuccess, ribbonIntegerFront, k, Nat.cast_add, Nat.cast_one] using hb
77
-
78
- end SLEExactGauge
79
-
80
- end
81
-
82
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.ActualRibbonIteration
2
+
3
+ namespace OAI
4
+
5
+ /-! Uniform iteration of actual front-and-mass passages from explicit
6
+ analytic inputs, for any chart and number of steps satisfying the
7
+ deterministic ribbon bounds. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory ProbabilityTheory
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge
14
+ open RibbonCoordinates Target
15
+
16
+ local instance publishedIterationPathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
+ local instance publishedIterationPathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
+
19
+ theorem uniform_actual_ribbon_iteration
20
+ {Ω : Type} [mΩ : MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
21
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
22
+ (B : ℝ≥0 → Ω → ℝ) (hB : IsBrownianReal B μ)
23
+ (hm : ∀ t, Measurable (B t)) (hc : ∀ ω, Continuous (fun t => B t ω))
24
+ (γ : Ω → ℝ≥0 → ℂ) (G F : Ω → ℝ≥0 → ℂ → ℂ)
25
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B t ω)
26
+ (γ ω) (G ω) (F ω))
27
+ (hcompact : PublishedHalfPlaneUnivalentCompactness)
28
+ (hboundary : PublishedFiniteLoewnerBoundaryExtension)
29
+ (hsupport : PublishedGeometricTubeSupport μ γ)
30
+ (hplanar : PublishedPlanarDiskOpenness)
31
+ (hstraight : PublishedHalfPlaneCrosscutStraightening)
32
+ (hexit : PublishedHalfPlaneConformalExitLaw)
33
+ (hwiener : PublishedPlanarWienerUnitSupport)
34
+ (W : WienerLaw) (hW : IsWiener W)
35
+ (C L : ℝ≥0) (hC : 0 < C) (hL : 0 < L)
36
+ (ε : ℝ) (hε : 0 < ε) (hεsmall : ε ≤ 1 / 8) :
37
+ ∃ q c v₀ : ℝ, 0 < q ∧ q ≤ 1 ∧ 0 < c ∧ 0 < v₀ ∧
38
+ ∀ (v : ℝ), 0 < v → v < v₀ → ∀ (P : ℂ → ℂ),
39
+ Topology.IsClosedEmbedding (fun z : closedRibbon => P z) →
40
+ ContinuousOn P closedRibbon → InjOn P closedRibbon → P 0 = 0 →
41
+ (∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane) →
42
+ Tendsto (fun t : ℝ => ‖P (t : ℂ)‖) atTop atTop →
43
+ (∀ k : ℝ, LipschitzOnWith C P (ribbonStepPatch k)) →
44
+ (∀ k : ℝ, ∀ z ∈ ribbonStepPatch k, ∀ w ∈ ribbonStepPatch k,
45
+ dist z w ≤ L * dist (P z) (P w)) →
46
+ ∀ (g : C(ℂ, ℝ)), (∀ z ∈ closedRibbon, g (P z) = z.re) → ∀ N : ℕ,
47
+ (ENNReal.ofReal q) ^ N * μ (GoodRibbonPrefix γ (ribbonIntegerFront g γ 0) P ε) ≤
48
+ μ (GoodRibbonPrefix γ (ribbonIntegerFront g γ 0) P ε ∩
49
+ ⋂ n ∈ Finset.range N, actualRibbonSuccess γ g P ε κ v c n) := by
50
+ obtain ⟨q, c, v₀, hq, hcm, hv₀, hstep⟩ :=
51
+ uniform_conditional_actual_ribbon_step_extended μ κ hκ hκ8 B hB hm hc γ G F hw
52
+ hcompact hboundary hsupport hplanar hstraight hexit hwiener W hW
53
+ C L hC hL ε hε hεsmall
54
+ refine ⟨min q 1, c, v₀, lt_min hq (by norm_num), min_le_right _ _, hcm, hv₀, ?_⟩
55
+ intro v hv hvcut P hemb hP hi hP0 hH hescape hu hl g hg N
56
+ let ℱ := Filtration.natural B (fun t => (hm t).stronglyMeasurable)
57
+ have ha : Adapted ℱ (fun t ω => γ ω t) := brownian_capacity_trace_adapted B hm hc κ γ G F hw
58
+ have hγc : ∀ ω, Continuous (γ ω) := fun ω => (hw ω).1
59
+ have hg0 (ω : Ω) : g (γ ω 0) = 0 := by
60
+ rw [(hw ω).2.1, ← hP0]
61
+ exact hg 0 (by constructor <;> norm_num)
62
+ apply le_trans (mul_le_mul' (pow_le_pow_left'
63
+ (ENNReal.ofReal_le_ofReal (min_le_left q 1)) N) le_rfl)
64
+ apply actual_ribbon_successes_lower_bound μ ℱ γ ha hγc g hg0 P hemb ε κ v c
65
+ (ENNReal.ofReal q) ?_ N
66
+ intro n A hA hAE
67
+ let k : ℝ := (n : ℝ) + 1
68
+ have hk : 1 ≤ k := by dsimp only [k]; linarith [Nat.cast_nonneg (α := ℝ) n]
69
+ have hτ := ribbonFrontStop_stopping ℱ g γ ha hγc k
70
+ have hS := ribbonPathStep_measurable P C L ε k κ v c hplanar hεsmall hk hemb hP (hl k)
71
+ have hb := actual_ribbon_step_on_good_prefix μ ℱ (fun ω t => Real.sqrt κ * B t ω)
72
+ γ G F (fun ω => continuous_const.mul (hc ω)) hw C L hL ε κ v c hεsmall
73
+ (ENNReal.ofReal q) P hemb hP hi hH hescape g hg hg0 k hk
74
+ (fun j _ => hu j) (fun j _ => hl j) hτ
75
+ (hstep v hv hvcut _ hτ _ hS) A hA hAE
76
+ simpa only [actualRibbonSuccess, ribbonIntegerFront, k, Nat.cast_add, Nat.cast_one] using hb
77
+
78
+ end SLEExactGauge
79
+
80
+ end
81
+
82
+ end OAI
lean/OAI/Probability/SLE/Gauge/RandomBadGrid.lean CHANGED
@@ -1,121 +1,121 @@
1
- import OAI.Probability.SLE.Gauge.GoodGridRestriction
2
-
3
- namespace OAI
4
-
5
- /-! Measurability and almost-sure finiteness of the bad-grid mass sum.
6
- Only expectations of the actual cell masses occur in the criterion. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory ProbabilityTheory Metric
10
- open scoped Topology NNReal ENNReal
11
-
12
- namespace SLEExactGauge
13
-
14
- lemma measurableSet_random_badGridCells
15
- {Ω : Type*} [MeasurableSpace Ω] (μ : Ω → Measure ℂ) (hμ : Measurable μ)
16
- (r H : ℝ) : MeasurableSet {p : Ω × ℂ | p.2 ∈ badGridCells (μ p.1) r H} := by
17
- classical
18
- let Q := fun i : ℤ × ℤ => closedBall (coverGridCenter r i) (2*r)
19
- have he : {p : Ω × ℂ | p.2 ∈ badGridCells (μ p.1) r H} =
20
- ⋃ i : ℤ × ℤ, {ω | ENNReal.ofReal H < μ ω (Q i)} ×ˢ Q i := by
21
- ext p
22
- constructor
23
- · intro hp
24
- obtain ⟨i,hi⟩ := mem_iUnion.mp hp
25
- change p.2 ∈ if ENNReal.ofReal H < μ p.1 (Q i) then Q i else ∅ at hi
26
- by_cases h : ENNReal.ofReal H < μ p.1 (Q i)
27
- · rw [ite_eq_left h] at hi
28
- exact mem_iUnion.mpr ⟨i,h,hi⟩
29
- · rw [ite_eq_right h] at hi
30
- exact hi.elim
31
- · intro hp
32
- obtain ⟨i,hi⟩ := mem_iUnion.mp hp
33
- apply mem_iUnion.mpr
34
- refine ⟨i,?_⟩
35
- change p.2 ∈ if ENNReal.ofReal H < μ p.1 (Q i) then Q i else ∅
36
- rw [ite_eq_left (show ENNReal.ofReal H < μ p.1 (Q i) from hi.1)]
37
- exact hi.2
38
- rw [he]
39
- apply MeasurableSet.iUnion
40
- intro i
41
- exact (measurableSet_lt measurable_const
42
- ((Measure.measurable_coe measurableSet_closedBall).comp hμ)).prod measurableSet_closedBall
43
-
44
- lemma random_badGrid_mass_measurable
45
- {Ω : Type*} [MeasurableSpace Ω] (μ : Ω → Measure ℂ) (hμ : Measurable μ)
46
- (hfin : ∀ ω, IsFiniteMeasure (μ ω)) (r H : ℝ) :
47
- Measurable (fun ω => μ ω (badGridCells (μ ω) r H)) := by
48
- let K : Kernel Ω ℂ := ⟨μ,hμ⟩
49
- exact Kernel.measurable_kernel_prodMk_left_of_finite (κ:=K)
50
- (measurableSet_random_badGridCells μ hμ r H) hfin
51
-
52
- lemma badGrid_mass_le_sum (μ : Measure ℂ) (r H : ℝ) :
53
- μ (badGridCells μ r H) ≤ ∑' i : ℤ × ℤ,
54
- if ENNReal.ofReal H < μ (closedBall (coverGridCenter r i) (2*r)) then
55
- μ (closedBall (coverGridCenter r i) (2*r)) else 0 := by
56
- classical
57
- calc
58
- _ ≤ ∑' i : ℤ × ℤ, μ (if ENNReal.ofReal H < μ (closedBall (coverGridCenter r i) (2*r)) then
59
- closedBall (coverGridCenter r i) (2*r) else ∅) := measure_iUnion_le _
60
- _ = _ := by
61
- apply tsum_congr
62
- intro i
63
- split_ifs <;> simp
64
-
65
- lemma expected_badGrid_mass_le_sum
66
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
67
- (μ : Ω → Measure ℂ) (hμ : Measurable μ) (r H : ℝ) :
68
- (∫⁻ ω, μ ω (badGridCells (μ ω) r H) ∂P) ≤ ∑' i : ℤ × ℤ,
69
- ∫⁻ ω, if ENNReal.ofReal H < μ ω (closedBall (coverGridCenter r i) (2*r)) then
70
- μ ω (closedBall (coverGridCenter r i) (2*r)) else 0 ∂P := by
71
- classical
72
- calc
73
- _ ≤ ∫⁻ ω, ∑' i : ℤ × ℤ,
74
- if ENNReal.ofReal H < μ ω (closedBall (coverGridCenter r i) (2*r)) then
75
- μ ω (closedBall (coverGridCenter r i) (2*r)) else 0 ∂P :=
76
- lintegral_mono (fun ω => badGrid_mass_le_sum (μ ω) r H)
77
- _ = _ := by
78
- apply lintegral_tsum
79
- intro i
80
- exact (Measurable.ite (measurableSet_lt measurable_const
81
- ((Measure.measurable_coe measurableSet_closedBall).comp hμ))
82
- ((Measure.measurable_coe measurableSet_closedBall).comp hμ) measurable_const).aemeasurable
83
-
84
- lemma ae_prescribedBadGrid_sum_finite
85
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
86
- (μ : Ω → Measure ℂ) (hμ : Measurable μ) (hfin : ∀ ω, IsFiniteMeasure (μ ω))
87
- (κ : ℝ) (W : Target.WienerLaw) (D : ℝ)
88
- (hsum : (∑' e : Target.GaugeIndex κ W,
89
- ∫⁻ ω, μ ω (prescribedBadGrid (μ ω) κ W D e) ∂P) ≠ ∞) :
90
- ∀ᵐ ω ∂P, (∑' e : Target.GaugeIndex κ W, μ ω (prescribedBadGrid (μ ω) κ W D e)) ≠ ∞ := by
91
- have hm (e : Target.GaugeIndex κ W) :
92
- Measurable (fun ω => μ ω (prescribedBadGrid (μ ω) κ W D e)) :=
93
- random_badGrid_mass_measurable μ hμ hfin _ _
94
- have hi : (∫⁻ ω, ∑' e : Target.GaugeIndex κ W,
95
- μ ω (prescribedBadGrid (μ ω) κ W D e) ∂P) ≠ ∞ := by
96
- rw [lintegral_tsum (fun e => (hm e).aemeasurable)]
97
- exact hsum
98
- exact (ae_lt_top (Measurable.tsum hm) hi).mono (fun _ h => h.ne)
99
-
100
- lemma ae_positive_prescribed_hausdorff_of_bad_mass
101
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
102
- (μ : Ω → Measure ℂ) (hμ : Measurable μ) (hfin : ∀ ω, IsFiniteMeasure (μ ω))
103
- (κ : ℝ) (W : Target.WienerLaw)
104
- (hg : Target.IsHausdorffGauge (Target.gauge κ W))
105
- (hm1 : 0 < Target.moment κ W 1)
106
- (hJ : ∀ n : ℕ, 1 ≤ n → Target.moment κ W 1^n ≤ Target.moment κ W n)
107
- (D : ℝ) (hD : 0 ≤ D)
108
- (hsum : (∑' e : Target.GaugeIndex κ W,
109
- ∫⁻ ω, μ ω (prescribedBadGrid (μ ω) κ W D e) ∂P) ≠ ∞) :
110
- ∀ᵐ ω ∂P, ∀ E : Set ℂ, MeasurableSet E → 0 < μ ω E →
111
- 0 < Target.hausdorff (Target.gauge κ W) E := by
112
- filter_upwards [ae_prescribedBadGrid_sum_finite P μ hμ hfin κ W D hsum] with ω hω
113
- let := hfin ω
114
- exact fun E hE hp => positive_prescribed_hausdorff_of_summable_bad_mass
115
- (μ ω) κ W hg hm1 hJ D hD hω E hE hp
116
-
117
- end SLEExactGauge
118
-
119
- end
120
-
121
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.GoodGridRestriction
2
+
3
+ namespace OAI
4
+
5
+ /-! Measurability and almost-sure finiteness of the bad-grid mass sum.
6
+ Only expectations of the actual cell masses occur in the criterion. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory ProbabilityTheory Metric
10
+ open scoped Topology NNReal ENNReal
11
+
12
+ namespace SLEExactGauge
13
+
14
+ lemma measurableSet_random_badGridCells
15
+ {Ω : Type*} [MeasurableSpace Ω] (μ : Ω → Measure ℂ) (hμ : Measurable μ)
16
+ (r H : ℝ) : MeasurableSet {p : Ω × ℂ | p.2 ∈ badGridCells (μ p.1) r H} := by
17
+ classical
18
+ let Q := fun i : ℤ × ℤ => closedBall (coverGridCenter r i) (2*r)
19
+ have he : {p : Ω × ℂ | p.2 ∈ badGridCells (μ p.1) r H} =
20
+ ⋃ i : ℤ × ℤ, {ω | ENNReal.ofReal H < μ ω (Q i)} ×ˢ Q i := by
21
+ ext p
22
+ constructor
23
+ · intro hp
24
+ obtain ⟨i,hi⟩ := mem_iUnion.mp hp
25
+ change p.2 ∈ if ENNReal.ofReal H < μ p.1 (Q i) then Q i else ∅ at hi
26
+ by_cases h : ENNReal.ofReal H < μ p.1 (Q i)
27
+ · rw [ite_eq_left h] at hi
28
+ exact mem_iUnion.mpr ⟨i,h,hi⟩
29
+ · rw [ite_eq_right h] at hi
30
+ exact hi.elim
31
+ · intro hp
32
+ obtain ⟨i,hi⟩ := mem_iUnion.mp hp
33
+ apply mem_iUnion.mpr
34
+ refine ⟨i,?_⟩
35
+ change p.2 ∈ if ENNReal.ofReal H < μ p.1 (Q i) then Q i else ∅
36
+ rw [ite_eq_left (show ENNReal.ofReal H < μ p.1 (Q i) from hi.1)]
37
+ exact hi.2
38
+ rw [he]
39
+ apply MeasurableSet.iUnion
40
+ intro i
41
+ exact (measurableSet_lt measurable_const
42
+ ((Measure.measurable_coe measurableSet_closedBall).comp hμ)).prod measurableSet_closedBall
43
+
44
+ lemma random_badGrid_mass_measurable
45
+ {Ω : Type*} [MeasurableSpace Ω] (μ : Ω → Measure ℂ) (hμ : Measurable μ)
46
+ (hfin : ∀ ω, IsFiniteMeasure (μ ω)) (r H : ℝ) :
47
+ Measurable (fun ω => μ ω (badGridCells (μ ω) r H)) := by
48
+ let K : Kernel Ω ℂ := ⟨μ,hμ⟩
49
+ exact Kernel.measurable_kernel_prodMk_left_of_finite (κ:=K)
50
+ (measurableSet_random_badGridCells μ hμ r H) hfin
51
+
52
+ lemma badGrid_mass_le_sum (μ : Measure ℂ) (r H : ℝ) :
53
+ μ (badGridCells μ r H) ≤ ∑' i : ℤ × ℤ,
54
+ if ENNReal.ofReal H < μ (closedBall (coverGridCenter r i) (2*r)) then
55
+ μ (closedBall (coverGridCenter r i) (2*r)) else 0 := by
56
+ classical
57
+ calc
58
+ _ ≤ ∑' i : ℤ × ℤ, μ (if ENNReal.ofReal H < μ (closedBall (coverGridCenter r i) (2*r)) then
59
+ closedBall (coverGridCenter r i) (2*r) else ∅) := measure_iUnion_le _
60
+ _ = _ := by
61
+ apply tsum_congr
62
+ intro i
63
+ split_ifs <;> simp
64
+
65
+ lemma expected_badGrid_mass_le_sum
66
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
67
+ (μ : Ω → Measure ℂ) (hμ : Measurable μ) (r H : ℝ) :
68
+ (∫⁻ ω, μ ω (badGridCells (μ ω) r H) ∂P) ≤ ∑' i : ℤ × ℤ,
69
+ ∫⁻ ω, if ENNReal.ofReal H < μ ω (closedBall (coverGridCenter r i) (2*r)) then
70
+ μ ω (closedBall (coverGridCenter r i) (2*r)) else 0 ∂P := by
71
+ classical
72
+ calc
73
+ _ ≤ ∫⁻ ω, ∑' i : ℤ × ℤ,
74
+ if ENNReal.ofReal H < μ ω (closedBall (coverGridCenter r i) (2*r)) then
75
+ μ ω (closedBall (coverGridCenter r i) (2*r)) else 0 ∂P :=
76
+ lintegral_mono (fun ω => badGrid_mass_le_sum (μ ω) r H)
77
+ _ = _ := by
78
+ apply lintegral_tsum
79
+ intro i
80
+ exact (Measurable.ite (measurableSet_lt measurable_const
81
+ ((Measure.measurable_coe measurableSet_closedBall).comp hμ))
82
+ ((Measure.measurable_coe measurableSet_closedBall).comp hμ) measurable_const).aemeasurable
83
+
84
+ lemma ae_prescribedBadGrid_sum_finite
85
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
86
+ (μ : Ω → Measure ℂ) (hμ : Measurable μ) (hfin : ∀ ω, IsFiniteMeasure (μ ω))
87
+ (κ : ℝ) (W : Target.WienerLaw) (D : ℝ)
88
+ (hsum : (∑' e : Target.GaugeIndex κ W,
89
+ ∫⁻ ω, μ ω (prescribedBadGrid (μ ω) κ W D e) ∂P) ≠ ∞) :
90
+ ∀ᵐ ω ∂P, (∑' e : Target.GaugeIndex κ W, μ ω (prescribedBadGrid (μ ω) κ W D e)) ≠ ∞ := by
91
+ have hm (e : Target.GaugeIndex κ W) :
92
+ Measurable (fun ω => μ ω (prescribedBadGrid (μ ω) κ W D e)) :=
93
+ random_badGrid_mass_measurable μ hμ hfin _ _
94
+ have hi : (∫⁻ ω, ∑' e : Target.GaugeIndex κ W,
95
+ μ ω (prescribedBadGrid (μ ω) κ W D e) ∂P) ≠ ∞ := by
96
+ rw [lintegral_tsum (fun e => (hm e).aemeasurable)]
97
+ exact hsum
98
+ exact (ae_lt_top (Measurable.tsum hm) hi).mono (fun _ h => h.ne)
99
+
100
+ lemma ae_positive_prescribed_hausdorff_of_bad_mass
101
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
102
+ (μ : Ω → Measure ℂ) (hμ : Measurable μ) (hfin : ∀ ω, IsFiniteMeasure (μ ω))
103
+ (κ : ℝ) (W : Target.WienerLaw)
104
+ (hg : Target.IsHausdorffGauge (Target.gauge κ W))
105
+ (hm1 : 0 < Target.moment κ W 1)
106
+ (hJ : ∀ n : ℕ, 1 ≤ n → Target.moment κ W 1^n ≤ Target.moment κ W n)
107
+ (D : ℝ) (hD : 0 ≤ D)
108
+ (hsum : (∑' e : Target.GaugeIndex κ W,
109
+ ∫⁻ ω, μ ω (prescribedBadGrid (μ ω) κ W D e) ∂P) ≠ ∞) :
110
+ ∀ᵐ ω ∂P, ∀ E : Set ℂ, MeasurableSet E → 0 < μ ω E →
111
+ 0 < Target.hausdorff (Target.gauge κ W) E := by
112
+ filter_upwards [ae_prescribedBadGrid_sum_finite P μ hμ hfin κ W D hsum] with ω hω
113
+ let := hfin ω
114
+ exact fun E hE hp => positive_prescribed_hausdorff_of_summable_bad_mass
115
+ (μ ω) κ W hg hm1 hJ D hD hω E hE hp
116
+
117
+ end SLEExactGauge
118
+
119
+ end
120
+
121
+ end OAI
lean/OAI/Probability/SLE/Gauge/RandomPassageBounds.lean CHANGED
@@ -1,136 +1,136 @@
1
- import OAI.Probability.SLE.Geometry.FiniteBoundaryRestart
2
- import OAI.Probability.SLE.Geometry.BoundaryScaleLaw
3
- import OAI.Probability.SLE.Gauge.CoverChangeOfLaw
4
- import Mathlib.MeasureTheory.Function.ConditionalExpectation.LebesgueBochner
5
-
6
- namespace OAI
7
-
8
- /-! Quantitative passage bounds for measurable random stopped charts and
9
- finite stopped changes of measure. These are integration identities, with
10
- the actual section estimates supplied by the ribbon proof. -/
11
-
12
- noncomputable section
13
- open Set Filter MeasureTheory ProbabilityTheory
14
- open scoped Topology NNReal ENNReal
15
-
16
- namespace SLEExactGauge
17
- open BoundaryScaleLaw
18
-
19
- local instance : LocallyCompactSpace closedHalfPlane :=
20
- isClosed_closedHalfPlane.locallyCompactSpace
21
- local instance randomPassagePathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
22
- local instance randomPassagePathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
23
- local instance randomPassageClosedMeasurable : MeasurableSpace C(ℝ≥0, closedHalfPlane) := borel _
24
- local instance randomPassageClosedBorel : BorelSpace C(ℝ≥0, closedHalfPlane) := ⟨rfl⟩
25
-
26
- lemma measurable_random_finiteBoundaryPath
27
- {Ω : Type*} [MeasurableSpace Ω]
28
- (Fb : Ω → C(closedHalfPlane, ℂ)) (hFb : Measurable Fb) :
29
- Measurable (fun x : Ω × C(ℝ≥0, ℂ) => finiteBoundaryPath (Fb x.1) x.2) := by
30
- have hc : Continuous (fun x : C(ℝ≥0, closedHalfPlane) × C(closedHalfPlane, ℂ) =>
31
- x.2.comp x.1) := ContinuousMap.continuous_comp'
32
- exact hc.measurable.comp
33
- ((measurable_liftClosedPath.comp measurable_snd).prodMk (hFb.comp measurable_fst))
34
-
35
- lemma measurableSet_random_finite_frontMassEvent
36
- {Ω : Type*} [MeasurableSpace Ω]
37
- (Fb : Ω → C(closedHalfPlane, ℂ)) (hFb : Measurable Fb)
38
- (p : ℂ → ℝ) (V : Set ℂ) (a : ℂ) (ε κ v c : ℝ) (R K : Set ℂ)
39
- (hK : IsClosed K) (hp : ContinuousOn p K) (hV : IsOpen V) (hVK : V ⊆ K) :
40
- MeasurableSet {x : Ω × C(ℝ≥0, ℂ) |
41
- finiteBoundaryPath (Fb x.1) x.2 ∈ frontMassEvent p V a ε κ v c R} :=
42
- (measurableSet_frontMassEvent p V a ε κ v c R K hK hp hV hVK).preimage
43
- (measurable_random_finiteBoundaryPath Fb hFb)
44
-
45
- lemma restart_condLExp_event_sections
46
- {Ω X : Type*} [mΩ : MeasurableSpace Ω] [mX : MeasurableSpace X]
47
- (P : Measure Ω) [IsFiniteMeasure P] (ν : Measure X) [IsFiniteMeasure ν]
48
- (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
49
- (Y : Ω → X) (hY : Measurable[mΩ] Y)
50
- (hlaw : ∀ A : Set Ω, MeasurableSet[m] A →
51
- @Measure.map Ω X mΩ mX Y (P.restrict A) = P A • ν)
52
- (C : Set (Ω × X)) (hC : @MeasurableSet (Ω × X) (m.prod mX) C) :
53
- (fun ω => ν {x | (ω, x) ∈ C}) =ᵐ[P]
54
- P⁻[({ω | (ω, Y ω) ∈ C}).indicator (fun _ => 1) | m] := by
55
- have hf : @Measurable (Ω × X) ℝ≥0∞ (m.prod mX) _ (C.indicator (fun _ => 1)) := by
56
- let : MeasurableSpace (Ω × X) := m.prod mX
57
- exact measurable_const.indicator hC
58
- let : MeasurableSpace Ω := mΩ
59
- have he := @restart_condLExp_random_test Ω X mΩ mX P inferInstance ν inferInstance m hm Y hY hlaw
60
- (C.indicator (fun _ => 1)) hf
61
- have hs (ω : Ω) : (∫⁻ x, C.indicator (fun _ => (1 : ℝ≥0∞)) (ω, x) ∂ν) =
62
- ν {x | (ω, x) ∈ C} := by
63
- change (∫⁻ x, ({x | (ω, x) ∈ C}).indicator (fun _ => (1 : ℝ≥0∞)) x ∂ν) = _
64
- have hsec : MeasurableSet {x | (ω, x) ∈ C} :=
65
- hC.preimage measurable_prodMk_left
66
- rw [lintegral_indicator hsec, setLIntegral_const, one_mul]
67
- have hind : (fun ω => C.indicator (fun _ => (1 : ℝ≥0∞)) (ω, Y ω)) =
68
- ({ω | (ω, Y ω) ∈ C}).indicator (fun _ => 1) := by
69
- funext ω
70
- by_cases h : (ω, Y ω) ∈ C <;> simp [h]
71
- simpa only [hs, hind] using he
72
-
73
- /-- Uniform section bounds integrate on every event in the stopped past.
74
- No countable list of possible pasts and no independence of steps is used. -/
75
- theorem restart_event_lower_bound
76
- {Ω X : Type*} [mΩ : MeasurableSpace Ω] [mX : MeasurableSpace X]
77
- (P : Measure Ω) [IsFiniteMeasure P] (ν : Measure X) [IsFiniteMeasure ν]
78
- (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
79
- (Y : Ω → X) (hY : Measurable[mΩ] Y)
80
- (hlaw : ∀ A : Set Ω, MeasurableSet[m] A →
81
- @Measure.map Ω X mΩ mX Y (P.restrict A) = P A • ν)
82
- (C : Set (Ω × X)) (hC : @MeasurableSet (Ω × X) (m.prod mX) C)
83
- (E : Set Ω) (q : ℝ≥0∞)
84
- (hsections : ∀ᵐ ω ∂P, ω ∈ E → q ≤ ν {x | (ω, x) ∈ C})
85
- (A : Set Ω) (hA : MeasurableSet[m] A) (hAE : A ⊆ E) :
86
- q * P A ≤ P (A ∩ {ω | (ω, Y ω) ∈ C}) := by
87
- let : MeasurableSpace Ω := mΩ
88
- have he := @restart_condLExp_event_sections Ω X mΩ mX P inferInstance ν inferInstance m hm Y hY hlaw C hC
89
- have hactual : MeasurableSet[mΩ] {ω | (ω, Y ω) ∈ C} :=
90
- hC.preimage ((measurable_id'' hm).prodMk hY)
91
- calc
92
- _ = ∫⁻ ω in A, q ∂P := (setLIntegral_const A q).symm
93
- _ ≤ ∫⁻ ω in A, P⁻[({ω | (ω, Y ω) ∈ C}).indicator (fun _ => 1) | m] ω ∂P := by
94
- apply lintegral_mono_ae
95
- apply (ae_restrict_iff' (hm A hA)).mpr
96
- filter_upwards [he, hsections] with ω hω hsec hωA
97
- exact hω ▸ hsec (hAE hωA)
98
- _ = ∫⁻ ω in A, ({ω | (ω, Y ω) ∈ C}).indicator (fun _ => (1 : ℝ≥0∞)) ω ∂P :=
99
- setLIntegral_condLExp hm P _ hA
100
- _ = P (A ∩ {ω | (ω, Y ω) ∈ C}) := by
101
- rw [setLIntegral_indicator hactual, setLIntegral_const, one_mul, inter_comm]
102
-
103
- /-- A lower bound on the density at a finite stop transfers any event
104
- observable there to the terminal tilted law. -/
105
- theorem normalizedDensity_event_lower_bound_of_condExp
106
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω) [IsFiniteMeasure P]
107
- (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
108
- (Z M : Ω → ℝ) (hZ : Integrable Z P) (hZpos : 0 ≤ᵐ[P] Z)
109
- (hM : M =ᵐ[P] P[Z | m])
110
- (a c : ℝ) (ha : 0 < a) (hc : 0 ≤ c)
111
- (E : Set Ω) (hE : MeasurableSet[m] E)
112
- (hbound : ∀ᵐ ω ∂P, ω ∈ E → c * a ≤ M ω) :
113
- ENNReal.ofReal c * P E ≤
114
- P.withDensity (fun ω => ENNReal.ofReal (Z ω / a)) E := by
115
- let : MeasurableSpace Ω := mΩ
116
- have hcond := condLExp_ofReal m hZ hZpos
117
- have hmass : ENNReal.ofReal (c * a) * P E ≤ ∫⁻ ω in E, ENNReal.ofReal (Z ω) ∂P := by
118
- calc
119
- _ = ∫⁻ ω in E, ENNReal.ofReal (c * a) ∂P := (setLIntegral_const E _).symm
120
- _ ≤ ∫⁻ ω in E, P⁻[(fun ω => ENNReal.ofReal (Z ω)) | m] ω ∂P := by
121
- apply lintegral_mono_ae
122
- apply (ae_restrict_iff' (hm E hE)).mpr
123
- filter_upwards [hcond, hM, hbound] with ω hω hMω hb hωE
124
- rw [hω, ← hMω]
125
- exact ENNReal.ofReal_le_ofReal (hb hωE)
126
- _ = _ := setLIntegral_condLExp hm P _ hE
127
- rw [setLIntegral_eq_mul_normalizedDensity P Z ha (hm E hE),
128
- ENNReal.ofReal_mul hc, mul_comm (ENNReal.ofReal c), mul_assoc] at hmass
129
- exact (ENNReal.mul_le_mul_iff_right (ENNReal.ofReal_ne_zero_iff.mpr ha)
130
- ENNReal.ofReal_ne_top).mp (by simpa only [mul_comm (ENNReal.ofReal a)] using hmass)
131
-
132
- end SLEExactGauge
133
-
134
- end
135
-
136
- end OAI
 
1
+ import OAI.Probability.SLE.Geometry.FiniteBoundaryRestart
2
+ import OAI.Probability.SLE.Geometry.BoundaryScaleLaw
3
+ import OAI.Probability.SLE.Gauge.CoverChangeOfLaw
4
+ import Mathlib.MeasureTheory.Function.ConditionalExpectation.LebesgueBochner
5
+
6
+ namespace OAI
7
+
8
+ /-! Quantitative passage bounds for measurable random stopped charts and
9
+ finite stopped changes of measure. These are integration identities, with
10
+ the actual section estimates supplied by the ribbon proof. -/
11
+
12
+ noncomputable section
13
+ open Set Filter MeasureTheory ProbabilityTheory
14
+ open scoped Topology NNReal ENNReal
15
+
16
+ namespace SLEExactGauge
17
+ open BoundaryScaleLaw
18
+
19
+ local instance : LocallyCompactSpace closedHalfPlane :=
20
+ isClosed_closedHalfPlane.locallyCompactSpace
21
+ local instance randomPassagePathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
22
+ local instance randomPassagePathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
23
+ local instance randomPassageClosedMeasurable : MeasurableSpace C(ℝ≥0, closedHalfPlane) := borel _
24
+ local instance randomPassageClosedBorel : BorelSpace C(ℝ≥0, closedHalfPlane) := ⟨rfl⟩
25
+
26
+ lemma measurable_random_finiteBoundaryPath
27
+ {Ω : Type*} [MeasurableSpace Ω]
28
+ (Fb : Ω → C(closedHalfPlane, ℂ)) (hFb : Measurable Fb) :
29
+ Measurable (fun x : Ω × C(ℝ≥0, ℂ) => finiteBoundaryPath (Fb x.1) x.2) := by
30
+ have hc : Continuous (fun x : C(ℝ≥0, closedHalfPlane) × C(closedHalfPlane, ℂ) =>
31
+ x.2.comp x.1) := ContinuousMap.continuous_comp'
32
+ exact hc.measurable.comp
33
+ ((measurable_liftClosedPath.comp measurable_snd).prodMk (hFb.comp measurable_fst))
34
+
35
+ lemma measurableSet_random_finite_frontMassEvent
36
+ {Ω : Type*} [MeasurableSpace Ω]
37
+ (Fb : Ω → C(closedHalfPlane, ℂ)) (hFb : Measurable Fb)
38
+ (p : ℂ → ℝ) (V : Set ℂ) (a : ℂ) (ε κ v c : ℝ) (R K : Set ℂ)
39
+ (hK : IsClosed K) (hp : ContinuousOn p K) (hV : IsOpen V) (hVK : V ⊆ K) :
40
+ MeasurableSet {x : Ω × C(ℝ≥0, ℂ) |
41
+ finiteBoundaryPath (Fb x.1) x.2 ∈ frontMassEvent p V a ε κ v c R} :=
42
+ (measurableSet_frontMassEvent p V a ε κ v c R K hK hp hV hVK).preimage
43
+ (measurable_random_finiteBoundaryPath Fb hFb)
44
+
45
+ lemma restart_condLExp_event_sections
46
+ {Ω X : Type*} [mΩ : MeasurableSpace Ω] [mX : MeasurableSpace X]
47
+ (P : Measure Ω) [IsFiniteMeasure P] (ν : Measure X) [IsFiniteMeasure ν]
48
+ (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
49
+ (Y : Ω → X) (hY : Measurable[mΩ] Y)
50
+ (hlaw : ∀ A : Set Ω, MeasurableSet[m] A →
51
+ @Measure.map Ω X mΩ mX Y (P.restrict A) = P A • ν)
52
+ (C : Set (Ω × X)) (hC : @MeasurableSet (Ω × X) (m.prod mX) C) :
53
+ (fun ω => ν {x | (ω, x) ∈ C}) =ᵐ[P]
54
+ P⁻[({ω | (ω, Y ω) ∈ C}).indicator (fun _ => 1) | m] := by
55
+ have hf : @Measurable (Ω × X) ℝ≥0∞ (m.prod mX) _ (C.indicator (fun _ => 1)) := by
56
+ let : MeasurableSpace (Ω × X) := m.prod mX
57
+ exact measurable_const.indicator hC
58
+ let : MeasurableSpace Ω := mΩ
59
+ have he := @restart_condLExp_random_test Ω X mΩ mX P inferInstance ν inferInstance m hm Y hY hlaw
60
+ (C.indicator (fun _ => 1)) hf
61
+ have hs (ω : Ω) : (∫⁻ x, C.indicator (fun _ => (1 : ℝ≥0∞)) (ω, x) ∂ν) =
62
+ ν {x | (ω, x) ∈ C} := by
63
+ change (∫⁻ x, ({x | (ω, x) ∈ C}).indicator (fun _ => (1 : ℝ≥0∞)) x ∂ν) = _
64
+ have hsec : MeasurableSet {x | (ω, x) ∈ C} :=
65
+ hC.preimage measurable_prodMk_left
66
+ rw [lintegral_indicator hsec, setLIntegral_const, one_mul]
67
+ have hind : (fun ω => C.indicator (fun _ => (1 : ℝ≥0∞)) (ω, Y ω)) =
68
+ ({ω | (ω, Y ω) ∈ C}).indicator (fun _ => 1) := by
69
+ funext ω
70
+ by_cases h : (ω, Y ω) ∈ C <;> simp [h]
71
+ simpa only [hs, hind] using he
72
+
73
+ /-- Uniform section bounds integrate on every event in the stopped past.
74
+ No countable list of possible pasts and no independence of steps is used. -/
75
+ theorem restart_event_lower_bound
76
+ {Ω X : Type*} [mΩ : MeasurableSpace Ω] [mX : MeasurableSpace X]
77
+ (P : Measure Ω) [IsFiniteMeasure P] (ν : Measure X) [IsFiniteMeasure ν]
78
+ (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
79
+ (Y : Ω → X) (hY : Measurable[mΩ] Y)
80
+ (hlaw : ∀ A : Set Ω, MeasurableSet[m] A →
81
+ @Measure.map Ω X mΩ mX Y (P.restrict A) = P A • ν)
82
+ (C : Set (Ω × X)) (hC : @MeasurableSet (Ω × X) (m.prod mX) C)
83
+ (E : Set Ω) (q : ℝ≥0∞)
84
+ (hsections : ∀ᵐ ω ∂P, ω ∈ E → q ≤ ν {x | (ω, x) ∈ C})
85
+ (A : Set Ω) (hA : MeasurableSet[m] A) (hAE : A ⊆ E) :
86
+ q * P A ≤ P (A ∩ {ω | (ω, Y ω) ∈ C}) := by
87
+ let : MeasurableSpace Ω := mΩ
88
+ have he := @restart_condLExp_event_sections Ω X mΩ mX P inferInstance ν inferInstance m hm Y hY hlaw C hC
89
+ have hactual : MeasurableSet[mΩ] {ω | (ω, Y ω) ∈ C} :=
90
+ hC.preimage ((measurable_id'' hm).prodMk hY)
91
+ calc
92
+ _ = ∫⁻ ω in A, q ∂P := (setLIntegral_const A q).symm
93
+ _ ≤ ∫⁻ ω in A, P⁻[({ω | (ω, Y ω) ∈ C}).indicator (fun _ => 1) | m] ω ∂P := by
94
+ apply lintegral_mono_ae
95
+ apply (ae_restrict_iff' (hm A hA)).mpr
96
+ filter_upwards [he, hsections] with ω hω hsec hωA
97
+ exact hω ▸ hsec (hAE hωA)
98
+ _ = ∫⁻ ω in A, ({ω | (ω, Y ω) ∈ C}).indicator (fun _ => (1 : ℝ≥0∞)) ω ∂P :=
99
+ setLIntegral_condLExp hm P _ hA
100
+ _ = P (A ∩ {ω | (ω, Y ω) ∈ C}) := by
101
+ rw [setLIntegral_indicator hactual, setLIntegral_const, one_mul, inter_comm]
102
+
103
+ /-- A lower bound on the density at a finite stop transfers any event
104
+ observable there to the terminal tilted law. -/
105
+ theorem normalizedDensity_event_lower_bound_of_condExp
106
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω) [IsFiniteMeasure P]
107
+ (m : MeasurableSpace Ω) (hm : m ≤ mΩ)
108
+ (Z M : Ω → ℝ) (hZ : Integrable Z P) (hZpos : 0 ≤ᵐ[P] Z)
109
+ (hM : M =ᵐ[P] P[Z | m])
110
+ (a c : ℝ) (ha : 0 < a) (hc : 0 ≤ c)
111
+ (E : Set Ω) (hE : MeasurableSet[m] E)
112
+ (hbound : ∀ᵐ ω ∂P, ω ∈ E → c * a ≤ M ω) :
113
+ ENNReal.ofReal c * P E ≤
114
+ P.withDensity (fun ω => ENNReal.ofReal (Z ω / a)) E := by
115
+ let : MeasurableSpace Ω := mΩ
116
+ have hcond := condLExp_ofReal m hZ hZpos
117
+ have hmass : ENNReal.ofReal (c * a) * P E ≤ ∫⁻ ω in E, ENNReal.ofReal (Z ω) ∂P := by
118
+ calc
119
+ _ = ∫⁻ ω in E, ENNReal.ofReal (c * a) ∂P := (setLIntegral_const E _).symm
120
+ _ ≤ ∫⁻ ω in E, P⁻[(fun ω => ENNReal.ofReal (Z ω)) | m] ω ∂P := by
121
+ apply lintegral_mono_ae
122
+ apply (ae_restrict_iff' (hm E hE)).mpr
123
+ filter_upwards [hcond, hM, hbound] with ω hω hMω hb hωE
124
+ rw [hω, ← hMω]
125
+ exact ENNReal.ofReal_le_ofReal (hb hωE)
126
+ _ = _ := setLIntegral_condLExp hm P _ hE
127
+ rw [setLIntegral_eq_mul_normalizedDensity P Z ha (hm E hE),
128
+ ENNReal.ofReal_mul hc, mul_comm (ENNReal.ofReal c), mul_assoc] at hmass
129
+ exact (ENNReal.mul_le_mul_iff_right (ENNReal.ofReal_ne_zero_iff.mpr ha)
130
+ ENNReal.ofReal_ne_top).mp (by simpa only [mul_comm (ENNReal.ofReal a)] using hmass)
131
+
132
+ end SLEExactGauge
133
+
134
+ end
135
+
136
+ end OAI
lean/OAI/Probability/SLE/Gauge/RecenteredRibbonPassage.lean CHANGED
@@ -1,193 +1,193 @@
1
- import OAI.Probability.SLE.Geometry.RecenteredGuideCompactness
2
- import OAI.Probability.SLE.Stochastic.PlanarCoordinatePassage
3
- import OAI.Probability.SLE.Gauge.RibbonSequenceCompactness
4
-
5
- namespace OAI
6
-
7
- /-! Actual passage along a recentered conformal subsequence, with its
8
- finite physical realization constructed from the boundary chart. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory ProbabilityTheory Metric
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge
15
- open RibbonCoordinates SequencePassage PassageSuccess FirstFrontPassage
16
-
17
- theorem recentered_ribbon_subsequence_passage
18
- {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
19
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
20
- (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
21
- (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
22
- (γ : Ω → ℝ≥0 → ℂ) (Gbase Fbase : Ω → ℝ≥0 → ℂ → ℂ)
23
- (hwbase : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
24
- (γ ω) (Gbase ω) (Fbase ω))
25
- (hcompact : PublishedHalfPlaneUnivalentCompactness)
26
- (hboundary : PublishedFiniteLoewnerBoundaryExtension)
27
- (hsupport : PublishedGeometricTubeSupport P γ)
28
- (hplanar : PublishedPlanarDiskOpenness)
29
- (U : ℕ → ℝ≥0 → ℝ) (γₙ : ℕ → ℝ≥0 → ℂ)
30
- (G F₀ : ℕ → ℝ≥0 → ℂ → ℂ)
31
- (hU : ∀ n, Continuous (U n))
32
- (hw : ∀ n, IsCapacityTwoWitness (U n) (γₙ n) (G n) (F₀ n))
33
- (T : ℕ → ℝ≥0) (hT : ∀ n, 0 < T n)
34
- (hfresh : ∀ n s, s < T n → γₙ n (T n) ∈ survivingDomain (γₙ n) s)
35
- (αₙ : ℕ → ℝ → ℂ) (Cg : ℝ≥0) (s c : ℝ)
36
- (hCg : 0 < (Cg : ℝ)) (hs : 0 < s) (hcpos : 0 < c)
37
- (hαL : ∀ n, LipschitzOnWith Cg (αₙ n) (Icc 0 2))
38
- (hα0 : ∀ n, αₙ n 0 = γₙ n (T n))
39
- (hchord : ∀ n u, u ∈ Icc (0 : ℝ) 2 → ∀ v, v ∈ Icc (0 : ℝ) 2 →
40
- c * |u - v| ≤ dist (αₙ n u) (αₙ n v))
41
- (hαD : ∀ n, MapsTo (αₙ n) (Ioc 0 2) (survivingDomain (γₙ n) (T n)))
42
- (hclear : ∀ δ : ℝ, 0 < δ → δ ≤ 2 → ∃ r : ℝ, 0 < r ∧
43
- ∀ n t, t ∈ Icc δ 2 → ball (αₙ n t) r ⊆ survivingDomain (γₙ n) (T n))
44
- (Qₙ : ℕ → ℂ → ℂ) (K : Set ℂ) (hK : IsCompact K)
45
- (x₀ : ℂ) (hx₀ : x₀ ∈ K) (C Lq : ℝ≥0) (Rq : ℝ)
46
- (hC : 0 < C) (hLq : 0 < Lq)
47
- (hQupper : ∀ n, LipschitzOnWith C (Qₙ n) K)
48
- (hQlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ Lq * dist (Qₙ n x) (Qₙ n y))
49
- (hQtip : ∀ n, ‖Qₙ n x₀‖ ≤ Rq)
50
- (xₙ : ℕ → ℝ) (ε : ℝ) (hε : 0 < ε)
51
- (hxₙ : ∀ n, |xₙ n| ≤ ε / 4)
52
- (hcore : {z : ℂ | 0 ≤ z.re ∧ z.re ≤ 2 ∧ |z.im| ≤ ε / 4} ⊆ interior K)
53
- (hshape : ∀ n, EqOn (fun t => αₙ n t - γₙ n (T n))
54
- (fun t => Qₙ n (guideCoordinate 0 (xₙ n) t)) (Icc 0 2))
55
- (hangle : ∀ n, s ≤ (G n (T n) (αₙ n (1 / 2)) - (U n (T n) : ℂ)).im /
56
- ‖G n (T n) (αₙ n (1 / 2)) - (U n (T n) : ℂ)‖)
57
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0)) :
58
- ∃ (φ : ℕ → ℕ) (b : ℕ → ℝ) (Fb : ℕ → C(closedHalfPlane, ℂ)),
59
- StrictMono φ ∧ (∀ n, 0 < b n) ∧
60
- (∀ n (z : closedHalfPlane), z.1 ∈ upperHalfPlane → Fb n z =
61
- normalizedInverse (F₀ (φ n) (T (φ n))) (U (φ n) (T (φ n))) (b n) z -
62
- γₙ (φ n) (T (φ n))) ∧
63
- let η := fun n ω => (finiteBoundaryPath (Fb n)
64
- (sourceTracePath γ (fun ω => (hwbase ω).1) ω) : ℝ≥0 → ℂ)
65
- ∃ c₁ q : ℝ, 0 < c₁ ∧ 0 < q ∧ ∀ᶠ n in atTop,
66
- ENNReal.ofReal q ≤ P {ω |
67
- ω ∈ FrontSuccess η (fun n => longitudinalCoordinate (Qₙ (φ n)) K 0)
68
- (fun _ => 0) (fun n => physicalPassageRegion (Qₙ (φ n)) K C ε (ε / Lq))
69
- (fun n => Qₙ (φ n) 1) (ε / Lq) n ∧
70
- ENNReal.ofReal c₁ ≤ segmentSausageCharge κ (η n ω) 0
71
- (frontTime (fun t => longitudinalCoordinate (Qₙ (φ n)) K 0 (η n ω t)) 1)
72
- (v (φ n)) (physicalMiddleRegion (Qₙ (φ n)) K 0 ε)} := by
73
- let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
74
- have hadapt := brownian_capacity_trace_adapted B₀ hm hc κ γ Gbase Fbase hwbase
75
- have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) :=
76
- (hadapt t).mono (ℱ.le t) le_rfl
77
- have hSLE : IsOrdinaryChordalSLE κ γ P :=
78
- ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨Gbase ω, Fbase ω, hwbase ω⟩)⟩
79
- have hxin : ∀ n, xₙ n ∈ Icc (-ε / 4) (ε / 4) := by
80
- intro n
81
- have hh := abs_le.mp (hxₙ n)
82
- constructor <;> linarith [hh.1, hh.2]
83
- obtain ⟨x, hx, ψ, hψ, hxlim⟩ := isCompact_Icc.tendsto_subseq hxin
84
- have hxabs : |x| ≤ ε / 4 := abs_le.mpr ⟨by linarith [hx.1], hx.2⟩
85
- obtain ⟨Q, χ, hχ, hQconv, hQu, hQl, _⟩ := exists_bilip_uniform_subsequence
86
- (fun n => Qₙ (ψ n)) K hK x₀ hx₀ C Lq Rq (fun n => hQupper (ψ n))
87
- (fun n => hQlower (ψ n)) (fun n => hQtip (ψ n))
88
- let ρ := ψ ∘ χ
89
- obtain ⟨b, Fb, βₙ, θ, F, α, β, hb, hext, hβc, hβ0, hβHn, hbarα,
90
- hθ, hF, hiF, hFne, homit, hFconv, hαconv, hβconv, _, _, hαclim, _,
91
- hβlim0, hβlimc, hβlimi, hβlimH, hrel⟩ :=
92
- recentered_actual_guide_compactness P κ hκ hκ8 γ hSLE hcompact hboundary
93
- (fun n => U (ρ n)) (fun n => γₙ (ρ n)) (fun n => G (ρ n)) (fun n => F₀ (ρ n))
94
- (fun n => hU (ρ n)) (fun n => hw (ρ n)) (fun n => T (ρ n)) (fun n => hT (ρ n))
95
- (fun n => hfresh (ρ n)) (fun n => αₙ (ρ n)) Cg s c hCg hs hcpos
96
- (fun n => hαL (ρ n)) (fun n => hα0 (ρ n))
97
- (fun n => hchord (ρ n)) (fun n => hαD (ρ n))
98
- (fun δ hδ hδ2 => by
99
- obtain ⟨r, hr, hh⟩ := hclear δ hδ hδ2
100
- exact ⟨r, hr, fun n => hh (ρ n)⟩)
101
- (fun n => hangle (ρ n))
102
- let φ := ρ ∘ θ
103
- let b' := fun n => b (θ n)
104
- let Fb' := fun n => Fb (θ n)
105
- let Fn := fun n z => normalizedInverse (F₀ (φ n) (T (φ n)))
106
- (U (φ n) (T (φ n))) (b' n) z - γₙ (φ n) (T (φ n))
107
- let α' := fun n t => αₙ (φ n) t - γₙ (φ n) (T (φ n))
108
- have hφ : StrictMono φ := (hψ.comp hχ).comp hθ
109
- have hQconv' : TendstoUniformlyOn (fun n => Qₙ (φ n)) Q atTop K := by
110
- intro u hu
111
- exact hθ.tendsto_atTop.eventually (hQconv u hu)
112
- have hguideK n t (ht : t ∈ Icc (0 : ℝ) 2) : guideCoordinate 0 (xₙ (φ n)) t ∈ K := by
113
- apply interior_subset
114
- apply hcore
115
- exact ⟨by simpa using ht.1, by simpa using ht.2,
116
- (guideCoordinate_im_bound ht.1).trans (hxₙ (φ n))⟩
117
- have hshapeLim : EqOn α (fun t => Q (guideCoordinate 0 x t)) (Icc 0 2) :=
118
- coordinate_guide_limit_identity (fun n => Qₙ (φ n)) Q K hK.isClosed hQu.continuousOn
119
- hQconv' (fun n => xₙ (φ n)) x
120
- (hxlim.comp (hχ.comp hθ).tendsto_atTop) α' α hαconv hguideK
121
- (fun n => hshape (φ n))
122
- have hmem t (ht : t ∈ Icc (0 : ℝ) (3 / 2)) : guideCoordinate 0 x t ∈ interior K := by
123
- apply hcore
124
- exact ⟨by simpa using ht.1, by simpa using ht.2.trans (by norm_num : (3 / 2 : ℝ) ≤ 2),
125
- (guideCoordinate_im_bound ht.1).trans hxabs⟩
126
- have hbase : (1 : ℂ) ∈ K := by
127
- apply interior_subset
128
- apply hcore
129
- refine ⟨by norm_num, by norm_num, ?_⟩
130
- simpa only [Complex.one_im, abs_zero] using (show 0 ≤ ε / 4 by positivity)
131
- let Fbar := fun n z => if hz : z ∈ closedHalfPlane then (Fb' n ⟨z, hz⟩ : OnePoint ℂ)
132
- else OnePoint.infty
133
- have hbar n : ContinuousOn (Fbar n) closedHalfPlane := by
134
- rw [continuousOn_iff_continuous_domRestrict]
135
- convert OnePoint.continuous_coe.comp (Fb' n).continuous using 1
136
- funext z
137
- change (if hz : (z : ℂ) ∈ closedHalfPlane then (Fb' n ⟨z, hz⟩ : OnePoint ℂ)
138
- else OnePoint.infty) = (Fb' n z : OnePoint ℂ)
139
- rw [dite_eq_left z.2]
140
- have hbarext n z (hz : z ∈ upperHalfPlane) : Fbar n z = (Fn n z : OnePoint ℂ) := by
141
- have hz' : z ∈ closedHalfPlane := (show 0 < z.im from hz).le
142
- dsimp only [Fbar]
143
- rw [dite_eq_left hz']
144
- exact congrArg (fun z : ℂ => (z : OnePoint ℂ)) (hext (θ n) ⟨z, hz'⟩ hz)
145
- have hbarα' n t (ht : t ∈ Icc (0 : ℝ) 2) : Fbar n (βₙ (θ n) t) = (α' n t : OnePoint ℂ) := by
146
- dsimp only [Fbar]
147
- rw [dite_eq_left (show βₙ (θ n) t ∈ closedHalfPlane from hβHn (θ n) t ht)]
148
- exact congrArg (fun z : ℂ => (z : OnePoint ℂ)) (hbarα (θ n) t ht _)
149
- let gp := sourceTracePath γ (fun ω => (hwbase ω).1)
150
- let η := fun n ω => (finiteBoundaryPath (Fb' n) (gp ω) : ℝ≥0 → ℂ)
151
- have hηc n : ∀ᵐ ω ∂P, Continuous (η n ω) :=
152
- Eventually.of_forall (fun ω => (finiteBoundaryPath (Fb' n) (gp ω)).continuous)
153
- have hηbar n : ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ) := by
154
- apply Eventually.of_forall
155
- intro ω t
156
- have hh : ClosedPathProperty (gp ω) := fun t => (hwbase ω).2.2.1 t
157
- dsimp only [η]
158
- rw [finiteBoundaryPath_apply _ _ hh]
159
- dsimp only [Fbar]
160
- rw [dite_eq_left (show γ ω t ∈ closedHalfPlane from (hwbase ω).2.2.1 t)]
161
- rfl
162
- have hαL' n : LipschitzOnWith Cg (α' n) (Icc 0 2) := by
163
- apply lipschitzOnWith_iff_dist_le_mul.mpr
164
- intro u hu w hw'
165
- simpa only [α', dist_sub_right] using (hαL (φ n)).dist_le_mul u hu w hw'
166
- have hnorm n := normalized_capacity_charts (hw (φ n)) (T (φ n)) (b' n) (hb (θ n))
167
- have hFn n : DifferentiableOn ℂ (Fn n) upperHalfPlane := (hnorm n).1.sub_const _
168
- have hiFn n : InjOn (Fn n) upperHalfPlane := by
169
- intro z hz w hw' he
170
- exact (hnorm n).2.1 hz hw' (sub_left_inj.mp he)
171
- obtain ⟨B, _, Tc, _, c₁, q, hc₁, hq, hprob⟩ := planar_coordinate_limit_passage
172
- κ hκ hκ8 B₀ hB₀ hm hc γ Gbase Fbase hwbase hboundary.to_onePoint hsupport hplanar
173
- (fun n => Qₙ (φ n)) Q K C Lq hC hLq (fun n => hQupper (φ n))
174
- (fun n => hQlower (φ n)) hQconv' hQu.continuousOn hbase
175
- Fn Fbar F hFn hiFn hbar hbarext hF hiF hFne hFconv
176
- α' (fun n => βₙ (θ n)) α β Cg hαL' hαconv hαclim
177
- (fun n => hβc (θ n)) (fun n => hβ0 (θ n)) (fun n => hβHn (θ n))
178
- hbarα' hβconv hβlimc hβlim0 hβlimi hβlimH hrel homit x ε (ε / Lq)
179
- (by linarith) (div_pos hε hLq) hshapeLim hmem
180
- (fun n => v (φ n)) (fun n => hv (φ n)) (hlim.comp hφ.tendsto_atTop) η hηc hηbar
181
- refine ⟨φ, b', Fb', hφ, (fun n => hb (θ n)), (fun n => hext (θ n)),
182
- c₁, q, hc₁, hq, ?_⟩
183
- filter_upwards [hprob] with n hn
184
- apply hn.trans (measure_mono ?_)
185
- rintro ω ⟨⟨hfinite, hhit, hbefore, hpath, hterminal⟩, hmass⟩
186
- exact ⟨⟨hfinite, hhit, bot_le.trans_lt hbefore, hpath, hterminal⟩,
187
- hmass.trans (segmentSausageCharge_mono κ (η n ω) bot_le le_rfl (v (φ n)) Subset.rfl)⟩
188
-
189
- end SLEExactGauge
190
-
191
- end
192
-
193
- end OAI
 
1
+ import OAI.Probability.SLE.Geometry.RecenteredGuideCompactness
2
+ import OAI.Probability.SLE.Stochastic.PlanarCoordinatePassage
3
+ import OAI.Probability.SLE.Gauge.RibbonSequenceCompactness
4
+
5
+ namespace OAI
6
+
7
+ /-! Actual passage along a recentered conformal subsequence, with its
8
+ finite physical realization constructed from the boundary chart. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory ProbabilityTheory Metric
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge
15
+ open RibbonCoordinates SequencePassage PassageSuccess FirstFrontPassage
16
+
17
+ theorem recentered_ribbon_subsequence_passage
18
+ {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
19
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
20
+ (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
21
+ (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
22
+ (γ : Ω → ℝ≥0 → ℂ) (Gbase Fbase : Ω → ℝ≥0 → ℂ → ℂ)
23
+ (hwbase : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
24
+ (γ ω) (Gbase ω) (Fbase ω))
25
+ (hcompact : PublishedHalfPlaneUnivalentCompactness)
26
+ (hboundary : PublishedFiniteLoewnerBoundaryExtension)
27
+ (hsupport : PublishedGeometricTubeSupport P γ)
28
+ (hplanar : PublishedPlanarDiskOpenness)
29
+ (U : ℕ → ℝ≥0 → ℝ) (γₙ : ℕ → ℝ≥0 → ℂ)
30
+ (G F₀ : ℕ → ℝ≥0 → ℂ → ℂ)
31
+ (hU : ∀ n, Continuous (U n))
32
+ (hw : ∀ n, IsCapacityTwoWitness (U n) (γₙ n) (G n) (F₀ n))
33
+ (T : ℕ → ℝ≥0) (hT : ∀ n, 0 < T n)
34
+ (hfresh : ∀ n s, s < T n → γₙ n (T n) ∈ survivingDomain (γₙ n) s)
35
+ (αₙ : ℕ → ℝ → ℂ) (Cg : ℝ≥0) (s c : ℝ)
36
+ (hCg : 0 < (Cg : ℝ)) (hs : 0 < s) (hcpos : 0 < c)
37
+ (hαL : ∀ n, LipschitzOnWith Cg (αₙ n) (Icc 0 2))
38
+ (hα0 : ∀ n, αₙ n 0 = γₙ n (T n))
39
+ (hchord : ∀ n u, u ∈ Icc (0 : ℝ) 2 → ∀ v, v ∈ Icc (0 : ℝ) 2 →
40
+ c * |u - v| ≤ dist (αₙ n u) (αₙ n v))
41
+ (hαD : ∀ n, MapsTo (αₙ n) (Ioc 0 2) (survivingDomain (γₙ n) (T n)))
42
+ (hclear : ∀ δ : ℝ, 0 < δ → δ ≤ 2 → ∃ r : ℝ, 0 < r ∧
43
+ ∀ n t, t ∈ Icc δ 2 → ball (αₙ n t) r ⊆ survivingDomain (γₙ n) (T n))
44
+ (Qₙ : ℕ → ℂ → ℂ) (K : Set ℂ) (hK : IsCompact K)
45
+ (x₀ : ℂ) (hx₀ : x₀ ∈ K) (C Lq : ℝ≥0) (Rq : ℝ)
46
+ (hC : 0 < C) (hLq : 0 < Lq)
47
+ (hQupper : ∀ n, LipschitzOnWith C (Qₙ n) K)
48
+ (hQlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ Lq * dist (Qₙ n x) (Qₙ n y))
49
+ (hQtip : ∀ n, ‖Qₙ n x₀‖ ≤ Rq)
50
+ (xₙ : ℕ → ℝ) (ε : ℝ) (hε : 0 < ε)
51
+ (hxₙ : ∀ n, |xₙ n| ≤ ε / 4)
52
+ (hcore : {z : ℂ | 0 ≤ z.re ∧ z.re ≤ 2 ∧ |z.im| ≤ ε / 4} ⊆ interior K)
53
+ (hshape : ∀ n, EqOn (fun t => αₙ n t - γₙ n (T n))
54
+ (fun t => Qₙ n (guideCoordinate 0 (xₙ n) t)) (Icc 0 2))
55
+ (hangle : ∀ n, s ≤ (G n (T n) (αₙ n (1 / 2)) - (U n (T n) : ℂ)).im /
56
+ ‖G n (T n) (αₙ n (1 / 2)) - (U n (T n) : ℂ)‖)
57
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0)) :
58
+ ∃ (φ : ℕ → ℕ) (b : ℕ → ℝ) (Fb : ℕ → C(closedHalfPlane, ℂ)),
59
+ StrictMono φ ∧ (∀ n, 0 < b n) ∧
60
+ (∀ n (z : closedHalfPlane), z.1 ∈ upperHalfPlane → Fb n z =
61
+ normalizedInverse (F₀ (φ n) (T (φ n))) (U (φ n) (T (φ n))) (b n) z -
62
+ γₙ (φ n) (T (φ n))) ∧
63
+ let η := fun n ω => (finiteBoundaryPath (Fb n)
64
+ (sourceTracePath γ (fun ω => (hwbase ω).1) ω) : ℝ≥0 → ℂ)
65
+ ∃ c₁ q : ℝ, 0 < c₁ ∧ 0 < q ∧ ∀ᶠ n in atTop,
66
+ ENNReal.ofReal q ≤ P {ω |
67
+ ω ∈ FrontSuccess η (fun n => longitudinalCoordinate (Qₙ (φ n)) K 0)
68
+ (fun _ => 0) (fun n => physicalPassageRegion (Qₙ (φ n)) K C ε (ε / Lq))
69
+ (fun n => Qₙ (φ n) 1) (ε / Lq) n ∧
70
+ ENNReal.ofReal c₁ ≤ segmentSausageCharge κ (η n ω) 0
71
+ (frontTime (fun t => longitudinalCoordinate (Qₙ (φ n)) K 0 (η n ω t)) 1)
72
+ (v (φ n)) (physicalMiddleRegion (Qₙ (φ n)) K 0 ε)} := by
73
+ let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
74
+ have hadapt := brownian_capacity_trace_adapted B₀ hm hc κ γ Gbase Fbase hwbase
75
+ have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) :=
76
+ (hadapt t).mono (ℱ.le t) le_rfl
77
+ have hSLE : IsOrdinaryChordalSLE κ γ P :=
78
+ ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨Gbase ω, Fbase ω, hwbase ω⟩)⟩
79
+ have hxin : ∀ n, xₙ n ∈ Icc (-ε / 4) (ε / 4) := by
80
+ intro n
81
+ have hh := abs_le.mp (hxₙ n)
82
+ constructor <;> linarith [hh.1, hh.2]
83
+ obtain ⟨x, hx, ψ, hψ, hxlim⟩ := isCompact_Icc.tendsto_subseq hxin
84
+ have hxabs : |x| ≤ ε / 4 := abs_le.mpr ⟨by linarith [hx.1], hx.2⟩
85
+ obtain ⟨Q, χ, hχ, hQconv, hQu, hQl, _⟩ := exists_bilip_uniform_subsequence
86
+ (fun n => Qₙ (ψ n)) K hK x₀ hx₀ C Lq Rq (fun n => hQupper (ψ n))
87
+ (fun n => hQlower (ψ n)) (fun n => hQtip (ψ n))
88
+ let ρ := ψ ∘ χ
89
+ obtain ⟨b, Fb, βₙ, θ, F, α, β, hb, hext, hβc, hβ0, hβHn, hbarα,
90
+ hθ, hF, hiF, hFne, homit, hFconv, hαconv, hβconv, _, _, hαclim, _,
91
+ hβlim0, hβlimc, hβlimi, hβlimH, hrel⟩ :=
92
+ recentered_actual_guide_compactness P κ hκ hκ8 γ hSLE hcompact hboundary
93
+ (fun n => U (ρ n)) (fun n => γₙ (ρ n)) (fun n => G (ρ n)) (fun n => F₀ (ρ n))
94
+ (fun n => hU (ρ n)) (fun n => hw (ρ n)) (fun n => T (ρ n)) (fun n => hT (ρ n))
95
+ (fun n => hfresh (ρ n)) (fun n => αₙ (ρ n)) Cg s c hCg hs hcpos
96
+ (fun n => hαL (ρ n)) (fun n => hα0 (ρ n))
97
+ (fun n => hchord (ρ n)) (fun n => hαD (ρ n))
98
+ (fun δ hδ hδ2 => by
99
+ obtain ⟨r, hr, hh⟩ := hclear δ hδ hδ2
100
+ exact ⟨r, hr, fun n => hh (ρ n)⟩)
101
+ (fun n => hangle (ρ n))
102
+ let φ := ρ ∘ θ
103
+ let b' := fun n => b (θ n)
104
+ let Fb' := fun n => Fb (θ n)
105
+ let Fn := fun n z => normalizedInverse (F₀ (φ n) (T (φ n)))
106
+ (U (φ n) (T (φ n))) (b' n) z - γₙ (φ n) (T (φ n))
107
+ let α' := fun n t => αₙ (φ n) t - γₙ (φ n) (T (φ n))
108
+ have hφ : StrictMono φ := (hψ.comp hχ).comp hθ
109
+ have hQconv' : TendstoUniformlyOn (fun n => Qₙ (φ n)) Q atTop K := by
110
+ intro u hu
111
+ exact hθ.tendsto_atTop.eventually (hQconv u hu)
112
+ have hguideK n t (ht : t ∈ Icc (0 : ℝ) 2) : guideCoordinate 0 (xₙ (φ n)) t ∈ K := by
113
+ apply interior_subset
114
+ apply hcore
115
+ exact ⟨by simpa using ht.1, by simpa using ht.2,
116
+ (guideCoordinate_im_bound ht.1).trans (hxₙ (φ n))⟩
117
+ have hshapeLim : EqOn α (fun t => Q (guideCoordinate 0 x t)) (Icc 0 2) :=
118
+ coordinate_guide_limit_identity (fun n => Qₙ (φ n)) Q K hK.isClosed hQu.continuousOn
119
+ hQconv' (fun n => xₙ (φ n)) x
120
+ (hxlim.comp (hχ.comp hθ).tendsto_atTop) α' α hαconv hguideK
121
+ (fun n => hshape (φ n))
122
+ have hmem t (ht : t ∈ Icc (0 : ℝ) (3 / 2)) : guideCoordinate 0 x t ∈ interior K := by
123
+ apply hcore
124
+ exact ⟨by simpa using ht.1, by simpa using ht.2.trans (by norm_num : (3 / 2 : ℝ) ≤ 2),
125
+ (guideCoordinate_im_bound ht.1).trans hxabs⟩
126
+ have hbase : (1 : ℂ) ∈ K := by
127
+ apply interior_subset
128
+ apply hcore
129
+ refine ⟨by norm_num, by norm_num, ?_⟩
130
+ simpa only [Complex.one_im, abs_zero] using (show 0 ≤ ε / 4 by positivity)
131
+ let Fbar := fun n z => if hz : z ∈ closedHalfPlane then (Fb' n ⟨z, hz⟩ : OnePoint ℂ)
132
+ else OnePoint.infty
133
+ have hbar n : ContinuousOn (Fbar n) closedHalfPlane := by
134
+ rw [continuousOn_iff_continuous_domRestrict]
135
+ convert OnePoint.continuous_coe.comp (Fb' n).continuous using 1
136
+ funext z
137
+ change (if hz : (z : ℂ) ∈ closedHalfPlane then (Fb' n ⟨z, hz⟩ : OnePoint ℂ)
138
+ else OnePoint.infty) = (Fb' n z : OnePoint ℂ)
139
+ rw [dite_eq_left z.2]
140
+ have hbarext n z (hz : z ∈ upperHalfPlane) : Fbar n z = (Fn n z : OnePoint ℂ) := by
141
+ have hz' : z ∈ closedHalfPlane := (show 0 < z.im from hz).le
142
+ dsimp only [Fbar]
143
+ rw [dite_eq_left hz']
144
+ exact congrArg (fun z : ℂ => (z : OnePoint ℂ)) (hext (θ n) ⟨z, hz'⟩ hz)
145
+ have hbarα' n t (ht : t ∈ Icc (0 : ℝ) 2) : Fbar n (βₙ (θ n) t) = (α' n t : OnePoint ℂ) := by
146
+ dsimp only [Fbar]
147
+ rw [dite_eq_left (show βₙ (θ n) t ∈ closedHalfPlane from hβHn (θ n) t ht)]
148
+ exact congrArg (fun z : ℂ => (z : OnePoint ℂ)) (hbarα (θ n) t ht _)
149
+ let gp := sourceTracePath γ (fun ω => (hwbase ω).1)
150
+ let η := fun n ω => (finiteBoundaryPath (Fb' n) (gp ω) : ℝ≥0 → ℂ)
151
+ have hηc n : ∀ᵐ ω ∂P, Continuous (η n ω) :=
152
+ Eventually.of_forall (fun ω => (finiteBoundaryPath (Fb' n) (gp ω)).continuous)
153
+ have hηbar n : ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ) := by
154
+ apply Eventually.of_forall
155
+ intro ω t
156
+ have hh : ClosedPathProperty (gp ω) := fun t => (hwbase ω).2.2.1 t
157
+ dsimp only [η]
158
+ rw [finiteBoundaryPath_apply _ _ hh]
159
+ dsimp only [Fbar]
160
+ rw [dite_eq_left (show γ ω t ∈ closedHalfPlane from (hwbase ω).2.2.1 t)]
161
+ rfl
162
+ have hαL' n : LipschitzOnWith Cg (α' n) (Icc 0 2) := by
163
+ apply lipschitzOnWith_iff_dist_le_mul.mpr
164
+ intro u hu w hw'
165
+ simpa only [α', dist_sub_right] using (hαL (φ n)).dist_le_mul u hu w hw'
166
+ have hnorm n := normalized_capacity_charts (hw (φ n)) (T (φ n)) (b' n) (hb (θ n))
167
+ have hFn n : DifferentiableOn ℂ (Fn n) upperHalfPlane := (hnorm n).1.sub_const _
168
+ have hiFn n : InjOn (Fn n) upperHalfPlane := by
169
+ intro z hz w hw' he
170
+ exact (hnorm n).2.1 hz hw' (sub_left_inj.mp he)
171
+ obtain ⟨B, _, Tc, _, c₁, q, hc₁, hq, hprob⟩ := planar_coordinate_limit_passage
172
+ κ hκ hκ8 B₀ hB₀ hm hc γ Gbase Fbase hwbase hboundary.to_onePoint hsupport hplanar
173
+ (fun n => Qₙ (φ n)) Q K C Lq hC hLq (fun n => hQupper (φ n))
174
+ (fun n => hQlower (φ n)) hQconv' hQu.continuousOn hbase
175
+ Fn Fbar F hFn hiFn hbar hbarext hF hiF hFne hFconv
176
+ α' (fun n => βₙ (θ n)) α β Cg hαL' hαconv hαclim
177
+ (fun n => hβc (θ n)) (fun n => hβ0 (θ n)) (fun n => hβHn (θ n))
178
+ hbarα' hβconv hβlimc hβlim0 hβlimi hβlimH hrel homit x ε (ε / Lq)
179
+ (by linarith) (div_pos hε hLq) hshapeLim hmem
180
+ (fun n => v (φ n)) (fun n => hv (φ n)) (hlim.comp hφ.tendsto_atTop) η hηc hηbar
181
+ refine ⟨φ, b', Fb', hφ, (fun n => hb (θ n)), (fun n => hext (θ n)),
182
+ c₁, q, hc₁, hq, ?_⟩
183
+ filter_upwards [hprob] with n hn
184
+ apply hn.trans (measure_mono ?_)
185
+ rintro ω ⟨⟨hfinite, hhit, hbefore, hpath, hterminal⟩, hmass⟩
186
+ exact ⟨⟨hfinite, hhit, bot_le.trans_lt hbefore, hpath, hterminal⟩,
187
+ hmass.trans (segmentSausageCharge_mono κ (η n ω) bot_le le_rfl (v (φ n)) Subset.rfl)⟩
188
+
189
+ end SLEExactGauge
190
+
191
+ end
192
+
193
+ end OAI
lean/OAI/Probability/SLE/Gauge/RestartDenseWeight.lean CHANGED
@@ -1,83 +1,83 @@
1
- import OAI.Probability.SLE.Mass.RestartStoppedMass
2
- import OAI.Probability.SLE.Gauge.CanonicalDenseSections
3
-
4
- namespace OAI
5
-
6
- /-! A successful canonical dense section, multiplied by its exact centered
7
- weight, contributes to the actual physical stopped-mass event. This proves
8
- the pointwise density domination needed in conditional section integration. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory ProbabilityTheory Metric
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge
15
- open FrontSuccessMeasurability
16
-
17
- local instance denseWeightRealMeasurable : MeasurableSpace C(ℝ≥0, ℝ) := borel _
18
- local instance denseWeightRealBorel : BorelSpace C(ℝ≥0, ℝ) := ⟨rfl⟩
19
- local instance denseWeightComplexMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
20
- local instance denseWeightComplexBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
21
-
22
- lemma IsCapacityTwoWitness.normalized_restart_dense_weight_le
23
- {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F G' F' : ℝ≥0 → ℂ → ℂ}
24
- (hw : IsCapacityTwoWitness U γ G F) (hU : Continuous U) (T a : ℝ≥0) (ha : 0 < a)
25
- (κ : ℝ) (Φ : C(ℝ≥0, ℝ) → C(ℝ≥0, ℂ)) (p : C(ℝ≥0, ℝ))
26
- (hb : IsCapacityTwoWitness (normalizedRestartDriver U T a) (Φ p) G' F')
27
- (hdriver : (fun t => Real.sqrt κ * p t) = normalizedRestartDriver U T a)
28
- (w : ℂ) (hwH : w ∈ upperHalfPlane) (u q : ℝ) (hq : 0 ≤ q)
29
- (hbase : fullRadius G T (F T ((a : ℂ) * w + (U T : ℂ))) =
30
- (2 * (F T ((a : ℂ) * w + (U T : ℂ))).im) * Real.exp (-u))
31
- (Fb : C(closedHalfPlane, ℂ))
32
- (hpath : ∀ t, finiteBoundaryPath Fb (Φ p) t = γ (T + a ^ 2 * t))
33
- (b r v : ℝ) (m : ℕ) :
34
- (canonicalDenseEvent κ Φ Fb q w b r m v (F T ((a : ℂ) * w + (U T : ℂ)))).indicator
35
- (fun p => ENNReal.ofReal
36
- (greenDensity κ U γ G T (F T ((a : ℂ) * w + (U T : ℂ))) /
37
- initialGreen κ (F T ((a : ℂ) * w + (U T : ℂ)))) *
38
- canonicalFiniteDensity κ (q, w, p)) p ≤
39
- if ENNReal.ofReal (b * r ^ dimension κ * (m : ℝ) ^ codimension κ) ≤
40
- stoppedWholeSausageCharge κ ⟨γ, hw.1⟩
41
- (radiusLevelTime γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + q)) v
42
- (closedBall (F T ((a : ℂ) * w + (U T : ℂ))) r) then
43
- ENNReal.ofReal (stoppedGreen κ U γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + q) /
44
- initialGreen κ (F T ((a : ℂ) * w + (U T : ℂ))))
45
- else 0 := by
46
- classical
47
- have hb' : IsCapacityTwoWitness (fun t => Real.sqrt κ * p t) (Φ p) G' F' := hdriver ▸ hb
48
- have hzH : (a : ℂ) * w + (U T : ℂ) ∈ upperHalfPlane := by
49
- change 0 < ((a : ℂ) * w + (U T : ℂ)).im
50
- simpa only [Complex.add_im, Complex.ofReal_im, add_zero, Complex.mul_im,
51
- Complex.ofReal_re, zero_mul] using mul_pos (show 0 < (a : ℝ) from ha) hwH
52
- have hphysH := (hw.2.2.2.2.2.2.1 T hzH).1.1
53
- by_cases hC : p ∈ canonicalDenseEvent κ Φ Fb q w b r m v (F T ((a : ℂ) * w + (U T : ℂ)))
54
- · rw [indicator_of_mem hC, canonicalFiniteDensity_eq κ p hb' q hq w]
55
- by_cases hfinite : radiusLevelTime (Φ p) G' w q < ∞
56
- · have hmass := hw.normalized_restart_stopped_mass_le hU T a ha hb w u q hbase
57
- (finiteBoundaryPath Fb (Φ p)) hpath hfinite κ v
58
- (closedBall (F T ((a : ℂ) * w + (U T : ℂ))) r)
59
- have hcanon := canonicalRadiusLevel_eq κ p hb' q hq w
60
- have hC' : ENNReal.ofReal (b * r ^ dimension κ * (m : ℝ) ^ codimension κ) ≤
61
- stoppedWholeSausageCharge κ (finiteBoundaryPath Fb (Φ p))
62
- (radiusLevelTime (Φ p) G' w q) v (closedBall (F T ((a : ℂ) * w + (U T : ℂ))) r) := by
63
- simpa only [canonicalDenseEvent, mem_ofPred_eq, hcanon] using hC
64
- rw [ite_eq_left (hC'.trans hmass)]
65
- rw [hdriver, ← ENNReal.ofReal_mul
66
- (div_nonneg (greenDensity_nonneg hw κ T _) (initialGreen_pos κ _ hphysH).le)]
67
- apply ENNReal.ofReal_le_ofReal
68
- have hbound := hw.normalized_restart_stopped_green_lower hU T a ha hb κ w hwH u q hbase
69
- calc
70
- _ = (greenDensity κ U γ G T (F T ((a : ℂ) * w + (U T : ℂ))) *
71
- (stoppedGreen κ (normalizedRestartDriver U T a) (Φ p) G' w q / initialGreen κ w)) /
72
- initialGreen κ (F T ((a : ℂ) * w + (U T : ℂ))) := by ring
73
- _ ≤ _ := div_le_div_of_nonneg_right hbound (initialGreen_pos κ _ hphysH).le
74
- · rw [hdriver, stoppedGreen, ite_eq_right hfinite, zero_div, ENNReal.ofReal_zero, mul_zero]
75
- exact bot_le
76
- · rw [indicator_of_notMem hC]
77
- exact bot_le
78
-
79
- end SLEExactGauge
80
-
81
- end
82
-
83
- end OAI
 
1
+ import OAI.Probability.SLE.Mass.RestartStoppedMass
2
+ import OAI.Probability.SLE.Gauge.CanonicalDenseSections
3
+
4
+ namespace OAI
5
+
6
+ /-! A successful canonical dense section, multiplied by its exact centered
7
+ weight, contributes to the actual physical stopped-mass event. This proves
8
+ the pointwise density domination needed in conditional section integration. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory ProbabilityTheory Metric
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge
15
+ open FrontSuccessMeasurability
16
+
17
+ local instance denseWeightRealMeasurable : MeasurableSpace C(ℝ≥0, ℝ) := borel _
18
+ local instance denseWeightRealBorel : BorelSpace C(ℝ≥0, ℝ) := ⟨rfl⟩
19
+ local instance denseWeightComplexMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
20
+ local instance denseWeightComplexBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
21
+
22
+ lemma IsCapacityTwoWitness.normalized_restart_dense_weight_le
23
+ {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F G' F' : ℝ≥0 → ℂ → ℂ}
24
+ (hw : IsCapacityTwoWitness U γ G F) (hU : Continuous U) (T a : ℝ≥0) (ha : 0 < a)
25
+ (κ : ℝ) (Φ : C(ℝ≥0, ℝ) → C(ℝ≥0, ℂ)) (p : C(ℝ≥0, ℝ))
26
+ (hb : IsCapacityTwoWitness (normalizedRestartDriver U T a) (Φ p) G' F')
27
+ (hdriver : (fun t => Real.sqrt κ * p t) = normalizedRestartDriver U T a)
28
+ (w : ℂ) (hwH : w ∈ upperHalfPlane) (u q : ℝ) (hq : 0 ≤ q)
29
+ (hbase : fullRadius G T (F T ((a : ℂ) * w + (U T : ℂ))) =
30
+ (2 * (F T ((a : ℂ) * w + (U T : ℂ))).im) * Real.exp (-u))
31
+ (Fb : C(closedHalfPlane, ℂ))
32
+ (hpath : ∀ t, finiteBoundaryPath Fb (Φ p) t = γ (T + a ^ 2 * t))
33
+ (b r v : ℝ) (m : ℕ) :
34
+ (canonicalDenseEvent κ Φ Fb q w b r m v (F T ((a : ℂ) * w + (U T : ℂ)))).indicator
35
+ (fun p => ENNReal.ofReal
36
+ (greenDensity κ U γ G T (F T ((a : ℂ) * w + (U T : ℂ))) /
37
+ initialGreen κ (F T ((a : ℂ) * w + (U T : ℂ)))) *
38
+ canonicalFiniteDensity κ (q, w, p)) p ≤
39
+ if ENNReal.ofReal (b * r ^ dimension κ * (m : ℝ) ^ codimension κ) ≤
40
+ stoppedWholeSausageCharge κ ⟨γ, hw.1⟩
41
+ (radiusLevelTime γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + q)) v
42
+ (closedBall (F T ((a : ℂ) * w + (U T : ℂ))) r) then
43
+ ENNReal.ofReal (stoppedGreen κ U γ G (F T ((a : ℂ) * w + (U T : ℂ))) (u + q) /
44
+ initialGreen κ (F T ((a : ℂ) * w + (U T : ℂ))))
45
+ else 0 := by
46
+ classical
47
+ have hb' : IsCapacityTwoWitness (fun t => Real.sqrt κ * p t) (Φ p) G' F' := hdriver ▸ hb
48
+ have hzH : (a : ℂ) * w + (U T : ℂ) ∈ upperHalfPlane := by
49
+ change 0 < ((a : ℂ) * w + (U T : ℂ)).im
50
+ simpa only [Complex.add_im, Complex.ofReal_im, add_zero, Complex.mul_im,
51
+ Complex.ofReal_re, zero_mul] using mul_pos (show 0 < (a : ℝ) from ha) hwH
52
+ have hphysH := (hw.2.2.2.2.2.2.1 T hzH).1.1
53
+ by_cases hC : p ∈ canonicalDenseEvent κ Φ Fb q w b r m v (F T ((a : ℂ) * w + (U T : ℂ)))
54
+ · rw [indicator_of_mem hC, canonicalFiniteDensity_eq κ p hb' q hq w]
55
+ by_cases hfinite : radiusLevelTime (Φ p) G' w q < ∞
56
+ · have hmass := hw.normalized_restart_stopped_mass_le hU T a ha hb w u q hbase
57
+ (finiteBoundaryPath Fb (Φ p)) hpath hfinite κ v
58
+ (closedBall (F T ((a : ℂ) * w + (U T : ℂ))) r)
59
+ have hcanon := canonicalRadiusLevel_eq κ p hb' q hq w
60
+ have hC' : ENNReal.ofReal (b * r ^ dimension κ * (m : ℝ) ^ codimension κ) ≤
61
+ stoppedWholeSausageCharge κ (finiteBoundaryPath Fb (Φ p))
62
+ (radiusLevelTime (Φ p) G' w q) v (closedBall (F T ((a : ℂ) * w + (U T : ℂ))) r) := by
63
+ simpa only [canonicalDenseEvent, mem_ofPred_eq, hcanon] using hC
64
+ rw [ite_eq_left (hC'.trans hmass)]
65
+ rw [hdriver, ← ENNReal.ofReal_mul
66
+ (div_nonneg (greenDensity_nonneg hw κ T _) (initialGreen_pos κ _ hphysH).le)]
67
+ apply ENNReal.ofReal_le_ofReal
68
+ have hbound := hw.normalized_restart_stopped_green_lower hU T a ha hb κ w hwH u q hbase
69
+ calc
70
+ _ = (greenDensity κ U γ G T (F T ((a : ℂ) * w + (U T : ℂ))) *
71
+ (stoppedGreen κ (normalizedRestartDriver U T a) (Φ p) G' w q / initialGreen κ w)) /
72
+ initialGreen κ (F T ((a : ℂ) * w + (U T : ℂ))) := by ring
73
+ _ ≤ _ := div_le_div_of_nonneg_right hbound (initialGreen_pos κ _ hphysH).le
74
+ · rw [hdriver, stoppedGreen, ite_eq_right hfinite, zero_div, ENNReal.ofReal_zero, mul_zero]
75
+ exact bot_le
76
+ · rw [indicator_of_notMem hC]
77
+ exact bot_le
78
+
79
+ end SLEExactGauge
80
+
81
+ end
82
+
83
+ end OAI
lean/OAI/Probability/SLE/Gauge/RestrictedConformalSausage.lean CHANGED
@@ -1,72 +1,72 @@
1
- import OAI.Probability.SLE.Gauge.ConformalSausageTransfer
2
- import OAI.Probability.SLE.Mass.StoppedConformalPassageMass
3
-
4
- namespace OAI
5
-
6
- /-! Area transport of the part of a stopped sausage in a prescribed
7
- region. Agreement of the physical trace with the conformal image is only
8
- needed at the nearby interior witnesses. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory Metric
12
- open scoped Topology ENNReal NNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- theorem restricted_segment_sausage_conformal_transfer
17
- (κ : ℝ) (F F' : ℂ → ℂ) (γ η : ℝ≥0 → ℂ) (s t : ℝ≥0)
18
- (D K R : Set ℂ) (hD : MeasurableSet D) (hDK : D ⊆ K) (hK : Convex ℝ K)
19
- (hinj : InjOn F K) (hF : ∀ z ∈ K, HasDerivAt F (F' z) z)
20
- {c v ell : ℝ} (hc : 0 ≤ c) (hv : 0 < v) (hell : 0 < ell)
21
- (hlo : ∀ z ∈ D, c ≤ ‖F' z‖)
22
- (C : ℝ≥0) (hup : ∀ z ∈ K, ‖F' z‖₊ ≤ C)
23
- (hscale : (C : ℝ) * ell ≤ 1)
24
- (hnear : ∀ z ∈ D, ∀ y : ℂ, dist z y < ell * v → y ∈ K)
25
- (heq : ∀ u ∈ Icc s t, γ u ∈ K → η u = F (γ u))
26
- (himage : F '' D ⊆ R) :
27
- ENNReal.ofReal (c ^ 2 * ell ^ codimension κ) *
28
- segmentSausageCharge κ γ s t (ell * v) D ≤
29
- segmentSausageCharge κ η s t v R := by
30
- have hLip : LipschitzOnWith C F K :=
31
- hK.lipschitzOnWith_of_nnnorm_hasDerivWithin_le
32
- (fun z hz => (hF z hz).hasDerivWithinAt) hup
33
- apply normalized_conformal_area_lower
34
- (hD.inter (source_sausage_isOpen γ s t (ell * v)).measurableSet)
35
- (hinj.mono (inter_subset_left.trans hDK))
36
- (fun z hz => hF z (hDK hz.1)) hc hv hell (fun z hz => hlo z hz.1)
37
- rintro _ ⟨z, ⟨hzD, u, hu, hd⟩, rfl⟩
38
- refine ⟨himage (mem_image_of_mem F hzD), u, hu, ?_⟩
39
- have huK : γ u ∈ K := hnear z hzD (γ u) hd
40
- rw [heq u hu huK]
41
- have hdist := hLip.dist_le_mul z (hDK hzD) (γ u) huK
42
- by_cases hC : C = 0
43
- · have hdist0 : dist (F z) (F (γ u)) ≤ 0 := by
44
- simpa only [hC, NNReal.coe_zero, zero_mul] using hdist
45
- exact hdist0.trans_lt hv
46
- · have hCp : 0 < (C : ℝ) := by exact_mod_cast (pos_iff_ne_zero.mpr hC)
47
- calc
48
- dist (F z) (F (γ u)) ≤ (C : ℝ) * dist z (γ u) := hdist
49
- _ < (C : ℝ) * (ell * v) := mul_lt_mul_of_pos_left hd hCp
50
- _ ≤ v := by nlinarith [mul_le_mul_of_nonneg_right hscale hv.le]
51
-
52
- lemma conformal_transfer_coefficient
53
- (κ : ℝ) {c C a : ℝ} (hC : 0 < C) (ha : 0 < a) :
54
- (c * a) ^ 2 * (1 / (C * a)) ^ codimension κ =
55
- (c ^ 2 * (1 / C) ^ codimension κ) * a ^ dimension κ := by
56
- have he : (1 / (C * a)) = (1 / C) * (1 / a) := by ring
57
- rw [he, Real.mul_rpow (by positivity) (by positivity),
58
- Real.div_rpow zero_le_one ha.le, Real.one_rpow]
59
- calc
60
- _ = (c ^ 2 * (1 / C) ^ codimension κ) * (a ^ 2 / a ^ codimension κ) := by ring
61
- _ = _ := by
62
- congr 1
63
- rw [← Real.rpow_two, ← Real.rpow_sub ha]
64
- congr 1
65
- unfold codimension
66
- ring
67
-
68
- end SLEExactGauge
69
-
70
- end
71
-
72
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.ConformalSausageTransfer
2
+ import OAI.Probability.SLE.Mass.StoppedConformalPassageMass
3
+
4
+ namespace OAI
5
+
6
+ /-! Area transport of the part of a stopped sausage in a prescribed
7
+ region. Agreement of the physical trace with the conformal image is only
8
+ needed at the nearby interior witnesses. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory Metric
12
+ open scoped Topology ENNReal NNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ theorem restricted_segment_sausage_conformal_transfer
17
+ (κ : ℝ) (F F' : ℂ → ℂ) (γ η : ℝ≥0 → ℂ) (s t : ℝ≥0)
18
+ (D K R : Set ℂ) (hD : MeasurableSet D) (hDK : D ⊆ K) (hK : Convex ℝ K)
19
+ (hinj : InjOn F K) (hF : ∀ z ∈ K, HasDerivAt F (F' z) z)
20
+ {c v ell : ℝ} (hc : 0 ≤ c) (hv : 0 < v) (hell : 0 < ell)
21
+ (hlo : ∀ z ∈ D, c ≤ ‖F' z‖)
22
+ (C : ℝ≥0) (hup : ∀ z ∈ K, ‖F' z‖₊ ≤ C)
23
+ (hscale : (C : ℝ) * ell ≤ 1)
24
+ (hnear : ∀ z ∈ D, ∀ y : ℂ, dist z y < ell * v → y ∈ K)
25
+ (heq : ∀ u ∈ Icc s t, γ u ∈ K → η u = F (γ u))
26
+ (himage : F '' D ⊆ R) :
27
+ ENNReal.ofReal (c ^ 2 * ell ^ codimension κ) *
28
+ segmentSausageCharge κ γ s t (ell * v) D ≤
29
+ segmentSausageCharge κ η s t v R := by
30
+ have hLip : LipschitzOnWith C F K :=
31
+ hK.lipschitzOnWith_of_nnnorm_hasDerivWithin_le
32
+ (fun z hz => (hF z hz).hasDerivWithinAt) hup
33
+ apply normalized_conformal_area_lower
34
+ (hD.inter (source_sausage_isOpen γ s t (ell * v)).measurableSet)
35
+ (hinj.mono (inter_subset_left.trans hDK))
36
+ (fun z hz => hF z (hDK hz.1)) hc hv hell (fun z hz => hlo z hz.1)
37
+ rintro _ ⟨z, ⟨hzD, u, hu, hd⟩, rfl⟩
38
+ refine ⟨himage (mem_image_of_mem F hzD), u, hu, ?_⟩
39
+ have huK : γ u ∈ K := hnear z hzD (γ u) hd
40
+ rw [heq u hu huK]
41
+ have hdist := hLip.dist_le_mul z (hDK hzD) (γ u) huK
42
+ by_cases hC : C = 0
43
+ · have hdist0 : dist (F z) (F (γ u)) ≤ 0 := by
44
+ simpa only [hC, NNReal.coe_zero, zero_mul] using hdist
45
+ exact hdist0.trans_lt hv
46
+ · have hCp : 0 < (C : ℝ) := by exact_mod_cast (pos_iff_ne_zero.mpr hC)
47
+ calc
48
+ dist (F z) (F (γ u)) ≤ (C : ℝ) * dist z (γ u) := hdist
49
+ _ < (C : ℝ) * (ell * v) := mul_lt_mul_of_pos_left hd hCp
50
+ _ ≤ v := by nlinarith [mul_le_mul_of_nonneg_right hscale hv.le]
51
+
52
+ lemma conformal_transfer_coefficient
53
+ (κ : ℝ) {c C a : ℝ} (hC : 0 < C) (ha : 0 < a) :
54
+ (c * a) ^ 2 * (1 / (C * a)) ^ codimension κ =
55
+ (c ^ 2 * (1 / C) ^ codimension κ) * a ^ dimension κ := by
56
+ have he : (1 / (C * a)) = (1 / C) * (1 / a) := by ring
57
+ rw [he, Real.mul_rpow (by positivity) (by positivity),
58
+ Real.div_rpow zero_le_one ha.le, Real.one_rpow]
59
+ calc
60
+ _ = (c ^ 2 * (1 / C) ^ codimension κ) * (a ^ 2 / a ^ codimension κ) := by ring
61
+ _ = _ := by
62
+ congr 1
63
+ rw [← Real.rpow_two, ← Real.rpow_sub ha]
64
+ congr 1
65
+ unfold codimension
66
+ ring
67
+
68
+ end SLEExactGauge
69
+
70
+ end
71
+
72
+ end OAI
lean/OAI/Probability/SLE/Gauge/RetainedPassageExtraction.lean CHANGED
@@ -1,88 +1,88 @@
1
- import OAI.Probability.SLE.Gauge.RibbonPassageMass
2
- import OAI.Probability.SLE.Gauge.ConformalCompactSausage
3
-
4
- namespace OAI
5
-
6
- /-! Countable-to-finite retention in the ribbon passage argument. The loss
7
- is bounded for every varying early-containment event by the same discarded
8
- set. Sausage exceptions are subtracted unconditionally. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory
12
- open scoped Topology ENNReal NNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- theorem finite_retention_of_countable_cover
17
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsFiniteMeasure P]
18
- (E : Set Ω) (D : ℕ → Set Ω)
19
- (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
20
- (hcover : P (E \ ⋃ i, D i) = 0)
21
- (ε : ℝ≥0∞) (hε : 0 < ε) :
22
- ∃ N : ℕ, P (E \ ⋃ i ∈ Finset.range N, D i) < ε := by
23
- let S : ℕ → Set Ω := fun n => E \ ⋃ i ∈ Finset.range n, D i
24
- have hSm : ∀ n, MeasurableSet (S n) := fun n =>
25
- hE.diff ((Finset.range n).measurableSet_biUnion (fun i _ => hD i))
26
- have hSa : Antitone S := by
27
- intro n k hnk ω hω
28
- refine ⟨hω.1, ?_⟩
29
- intro hn
30
- obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hn
31
- exact hω.2 (mem_iUnion₂.mpr ⟨i, Finset.range_mono hnk hi, hDi⟩)
32
- have hi : ⋂ n, S n = E \ ⋃ i, D i := by
33
- ext ω
34
- constructor
35
- · intro h
36
- refine ⟨(mem_iInter.mp h 0).1, ?_⟩
37
- intro hω
38
- obtain ⟨i, hi⟩ := mem_iUnion.mp hω
39
- exact (mem_iInter.mp h (i + 1)).2
40
- (mem_iUnion₂.mpr ⟨i, Finset.mem_range.mpr (Nat.lt_succ_self i), hi⟩)
41
- · rintro ⟨hEω, hω⟩
42
- apply mem_iInter.mpr
43
- intro n
44
- refine ⟨hEω, ?_⟩
45
- intro hn
46
- obtain ⟨i, _, hi⟩ := mem_iUnion₂.mp hn
47
- exact hω (mem_iUnion.mpr ⟨i, hi⟩)
48
- have ht : Tendsto (fun n => P (S n)) atTop (𝓝 0) := by
49
- simpa only [Function.comp_def, hi, hcover] using
50
- tendsto_measure_iInter_atTop (fun n => (hSm n).nullMeasurableSet)
51
- hSa ⟨0, measure_ne_top P _⟩
52
- exact (ht.eventually (gt_mem_nhds hε)).exists
53
-
54
- /-- Discarding one small set preserves a fixed fraction of every member
55
- of a varying family; no independence is involved. -/
56
- theorem varying_events_after_finite_retention
57
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsFiniteMeasure P]
58
- (E : Set Ω) (D : ℕ → Set Ω) (G : ℕ → Set Ω)
59
- (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
60
- (hcover : P (E \ ⋃ i, D i) = 0)
61
- (q : ℝ) (hq : 0 < q)
62
- (hG : ∀ n, ENNReal.ofReal q ≤ P (G n ∩ E)) :
63
- ∃ N : ℕ, ∀ n, ENNReal.ofReal (q / 2) ≤
64
- P (G n ∩ E ∩ ⋃ i ∈ Finset.range N, D i) := by
65
- obtain ⟨N, hN⟩ := finite_retention_of_countable_cover P E D hE hD hcover
66
- (ENNReal.ofReal (q / 2)) (ENNReal.ofReal_pos.mpr (by positivity))
67
- refine ⟨N, fun n => ?_⟩
68
- let R := ⋃ i ∈ Finset.range N, D i
69
- have hsub : G n ∩ E ⊆ (G n ∩ E ∩ R) ∪ (E \ R) := by
70
- intro ω hω
71
- by_cases hR : ω ∈ R
72
- · exact Or.inl ⟨hω, hR⟩
73
- · exact Or.inr ⟨hω.2, hR⟩
74
- have hbound : ENNReal.ofReal q ≤ P (G n ∩ E ∩ R) + P (E \ R) :=
75
- (hG n).trans ((measure_mono hsub).trans (measure_union_le _ _))
76
- by_contra h
77
- have hhalf : ENNReal.ofReal (q / 2) + ENNReal.ofReal (q / 2) =
78
- ENNReal.ofReal q := by
79
- rw [← ENNReal.ofReal_add (by positivity) (by positivity)]
80
- congr 1
81
- ring
82
- exact (not_lt_of_ge hbound) (hhalf ▸ ENNReal.add_lt_add (lt_of_not_ge h) hN)
83
-
84
- end SLEExactGauge
85
-
86
- end
87
-
88
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonPassageMass
2
+ import OAI.Probability.SLE.Gauge.ConformalCompactSausage
3
+
4
+ namespace OAI
5
+
6
+ /-! Countable-to-finite retention in the ribbon passage argument. The loss
7
+ is bounded for every varying early-containment event by the same discarded
8
+ set. Sausage exceptions are subtracted unconditionally. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory
12
+ open scoped Topology ENNReal NNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ theorem finite_retention_of_countable_cover
17
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsFiniteMeasure P]
18
+ (E : Set Ω) (D : ℕ → Set Ω)
19
+ (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
20
+ (hcover : P (E \ ⋃ i, D i) = 0)
21
+ (ε : ℝ≥0∞) (hε : 0 < ε) :
22
+ ∃ N : ℕ, P (E \ ⋃ i ∈ Finset.range N, D i) < ε := by
23
+ let S : ℕ → Set Ω := fun n => E \ ⋃ i ∈ Finset.range n, D i
24
+ have hSm : ∀ n, MeasurableSet (S n) := fun n =>
25
+ hE.diff ((Finset.range n).measurableSet_biUnion (fun i _ => hD i))
26
+ have hSa : Antitone S := by
27
+ intro n k hnk ω hω
28
+ refine ⟨hω.1, ?_⟩
29
+ intro hn
30
+ obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hn
31
+ exact hω.2 (mem_iUnion₂.mpr ⟨i, Finset.range_mono hnk hi, hDi⟩)
32
+ have hi : ⋂ n, S n = E \ ⋃ i, D i := by
33
+ ext ω
34
+ constructor
35
+ · intro h
36
+ refine ⟨(mem_iInter.mp h 0).1, ?_⟩
37
+ intro hω
38
+ obtain ⟨i, hi⟩ := mem_iUnion.mp hω
39
+ exact (mem_iInter.mp h (i + 1)).2
40
+ (mem_iUnion₂.mpr ⟨i, Finset.mem_range.mpr (Nat.lt_succ_self i), hi⟩)
41
+ · rintro ⟨hEω, hω⟩
42
+ apply mem_iInter.mpr
43
+ intro n
44
+ refine ⟨hEω, ?_⟩
45
+ intro hn
46
+ obtain ⟨i, _, hi⟩ := mem_iUnion₂.mp hn
47
+ exact hω (mem_iUnion.mpr ⟨i, hi⟩)
48
+ have ht : Tendsto (fun n => P (S n)) atTop (𝓝 0) := by
49
+ simpa only [Function.comp_def, hi, hcover] using
50
+ tendsto_measure_iInter_atTop (fun n => (hSm n).nullMeasurableSet)
51
+ hSa ⟨0, measure_ne_top P _⟩
52
+ exact (ht.eventually (gt_mem_nhds hε)).exists
53
+
54
+ /-- Discarding one small set preserves a fixed fraction of every member
55
+ of a varying family; no independence is involved. -/
56
+ theorem varying_events_after_finite_retention
57
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsFiniteMeasure P]
58
+ (E : Set Ω) (D : ℕ → Set Ω) (G : ℕ → Set Ω)
59
+ (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
60
+ (hcover : P (E \ ⋃ i, D i) = 0)
61
+ (q : ℝ) (hq : 0 < q)
62
+ (hG : ∀ n, ENNReal.ofReal q ≤ P (G n ∩ E)) :
63
+ ∃ N : ℕ, ∀ n, ENNReal.ofReal (q / 2) ≤
64
+ P (G n ∩ E ∩ ⋃ i ∈ Finset.range N, D i) := by
65
+ obtain ⟨N, hN⟩ := finite_retention_of_countable_cover P E D hE hD hcover
66
+ (ENNReal.ofReal (q / 2)) (ENNReal.ofReal_pos.mpr (by positivity))
67
+ refine ⟨N, fun n => ?_⟩
68
+ let R := ⋃ i ∈ Finset.range N, D i
69
+ have hsub : G n ∩ E ⊆ (G n ∩ E ∩ R) ∪ (E \ R) := by
70
+ intro ω hω
71
+ by_cases hR : ω ∈ R
72
+ · exact Or.inl ⟨hω, hR⟩
73
+ · exact Or.inr ⟨hω.2, hR⟩
74
+ have hbound : ENNReal.ofReal q ≤ P (G n ∩ E ∩ R) + P (E \ R) :=
75
+ (hG n).trans ((measure_mono hsub).trans (measure_union_le _ _))
76
+ by_contra h
77
+ have hhalf : ENNReal.ofReal (q / 2) + ENNReal.ofReal (q / 2) =
78
+ ENNReal.ofReal q := by
79
+ rw [← ENNReal.ofReal_add (by positivity) (by positivity)]
80
+ congr 1
81
+ ring
82
+ exact (not_lt_of_ge hbound) (hhalf ▸ ENNReal.add_lt_add (lt_of_not_ge h) hN)
83
+
84
+ end SLEExactGauge
85
+
86
+ end
87
+
88
+ end OAI
lean/OAI/Probability/SLE/Gauge/RetainedRegionMargins.lean CHANGED
@@ -1,191 +1,191 @@
1
- import OAI.Probability.SLE.Gauge.RetainedTubeSausage
2
-
3
- namespace OAI
4
-
5
- /-! Physical middle-strip margins are chosen separately for each retained
6
- compact set. A finite probability retention then permits their finite union;
7
- no inclusion of the entire limiting open strip in every moving strip is used. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory Metric
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge.RetainedTubeSausage
14
-
15
- /-- Each compact subset of the limiting middle strip has one open physical
16
- neighborhood lying in every sufficiently late moving middle strip. -/
17
- theorem eventual_middle_neighborhood
18
- (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
19
- (hp : ContinuousOn p U) (hconv : TendstoLocallyUniformlyOn pₙ p atTop U)
20
- (K : Set ℂ) (hK : IsCompact K)
21
- (hband : K ⊆ U ∩ {z | (1 / 3 : ℝ) < p z ∧ p z < 2 / 3}) :
22
- ∃ R : Set ℂ, IsOpen R ∧ K ⊆ R ∧
23
- ∀ᶠ n in atTop, R ⊆ U ∩ {z | (1 / 3 : ℝ) < pₙ n z ∧ pₙ n z < 2 / 3} := by
24
- let V := U ∩ p ⁻¹' Ioo (1 / 3 : ℝ) (2 / 3)
25
- have hV : IsOpen V := hp.isOpen_inter_preimage hU isOpen_Ioo
26
- obtain ⟨δ, hδ, hthick⟩ := hK.exists_cthickening_subset_open hV hband
27
- let C := cthickening δ K
28
- let R := thickening δ K
29
- have hC : IsCompact C := hK.cthickening
30
- have hCU : C ⊆ U := hthick.trans inter_subset_left
31
- have hCR : R ⊆ C := thickening_subset_cthickening δ K
32
- have hpC : IsCompact (p '' C) := hC.image_of_continuousOn (hp.mono hCU)
33
- have hpband : p '' C ⊆ Ioo (1 / 3 : ℝ) (2 / 3) := by
34
- rintro _ ⟨z, hz, rfl⟩
35
- exact (hthick hz).2
36
- obtain ⟨ε, hε, heps⟩ := hpC.exists_thickening_subset_open isOpen_Ioo hpband
37
- have hu : TendstoUniformlyOn pₙ p atTop C :=
38
- (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact hC).mp (hconv.mono hCU)
39
- refine ⟨R, isOpen_thickening, self_subset_thickening hδ K, ?_⟩
40
- filter_upwards [hu _ (Metric.dist_mem_uniformity hε)] with n hn
41
- intro z hz
42
- have hzC := hCR hz
43
- refine ⟨hCU hzC, heps ?_⟩
44
- exact mem_thickening_iff.mpr ⟨p z, mem_image_of_mem p hzC,
45
- by simpa only [dist_comm] using hn z hzC⟩
46
-
47
- /-- Finite retention permits compact-dependent physical neighborhoods. -/
48
- theorem countable_stopped_mass_ae_window_compact_regions
49
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
50
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
51
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
52
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
53
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
54
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
55
- (hF : DifferentiableOn ℂ F upperHalfPlane)
56
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
57
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
58
- (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
59
- (R : ℕ → Set ℂ) (hR : ∀ i, IsOpen (R i)) (himage : ∀ i, F '' K i ⊆ R i)
60
- (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
61
- (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
62
- (hcover : P (E \ ⋃ i, D i) = 0)
63
- (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
64
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
65
- (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
66
- (hregion : ∀ i, ∀ᶠ n in atTop, R i ⊆ Rₙ n)
67
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
68
- (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n ∩ E))
69
- (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
70
- s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
71
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
72
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
73
- ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
74
- segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
75
- classical
76
- obtain ⟨N, hsmall⟩ := finite_retention_of_countable_cover P E D hE hD hcover
77
- (ENNReal.ofReal (q / 2)) (ENNReal.ofReal_pos.mpr (by positivity))
78
- have hN : ∀ᶠ n in atTop, ENNReal.ofReal (q / 2) ≤
79
- P (G n ∩ E ∩ ⋃ i ∈ Finset.range N, D i) := by
80
- filter_upwards [hG] with n hn
81
- let A := ⋃ i ∈ Finset.range N, D i
82
- have hsub : G n ∩ E ⊆ (G n ∩ E ∩ A) ∪ (E \ A) := by
83
- intro ω hω
84
- by_cases hA : ω ∈ A
85
- · exact Or.inl ⟨hω, hA⟩
86
- · exact Or.inr ⟨hω.2, hA⟩
87
- have hb := hn.trans ((measure_mono hsub).trans (measure_union_le _ _))
88
- by_contra h
89
- have he : ENNReal.ofReal (q / 2) + ENNReal.ofReal (q / 2) =
90
- ENNReal.ofReal q := by
91
- rw [← ENNReal.ofReal_add (by positivity) (by positivity)]
92
- congr 1
93
- ring
94
- exact (not_lt_of_ge hb) (he ▸ ENNReal.add_lt_add (lt_of_not_ge h) hsmall)
95
- let A := ⋃ i ∈ Finset.range N, D i
96
- let Q := ⋃ i ∈ Finset.range N, K i
97
- let H : ℕ → Set Ω := fun n => G n ∩ E ∩ A
98
- let R₀ : Set ℂ := ⋃ i ∈ Finset.range N, R i
99
- have hR₀ : IsOpen R₀ := isOpen_iUnion fun i => isOpen_iUnion fun _ => hR i
100
- have hregion₀ : ∀ᶠ n in atTop, R₀ ⊆ Rₙ n := by
101
- have hf := (Finset.eventually_all (Finset.range N)).mpr (fun i _ => hregion i)
102
- filter_upwards [hf] with n hn
103
- exact iUnion₂_subset (fun i hi => hn i hi)
104
- have hQ : IsCompact Q := (Finset.range N).isCompact_biUnion (fun i _ => hK i)
105
- have hQH : Q ⊆ upperHalfPlane := iUnion₂_subset (fun i _ => hKH i)
106
- have hQR : F '' Q ⊆ R₀ := by
107
- rintro w ⟨z, hz, rfl⟩
108
- obtain ⟨i, hiN, hi⟩ := mem_iUnion₂.mp hz
109
- exact mem_iUnion₂.mpr ⟨i, hiN, himage i (mem_image_of_mem F hi)⟩
110
- have hQn : Q.Nonempty := by
111
- obtain ⟨n, hn⟩ := hN.exists
112
- have hHpos : 0 < P (H n) :=
113
- (ENNReal.ofReal_pos.mpr (by positivity : 0 < q / 2)).trans_le hn
114
- obtain ⟨ω, hω⟩ := nonempty_of_measure_ne_zero hHpos.ne'
115
- obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
116
- exact ⟨γ ω (J i).1, mem_iUnion₂.mpr ⟨i, hi,
117
- hretain i ω hDi (mem_image_of_mem (γ ω) ⟨le_rfl, (hJ i).le⟩)⟩⟩
118
- let I := (Finset.range N).image J
119
- have hI : ∀ L ∈ I, L.1 < L.2 := by
120
- intro L hL
121
- obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hL
122
- exact hJ i
123
- have hwin : ∀ᶠ n in atTop, ∀ i ∈ Finset.range N, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
124
- s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
125
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2) :=
126
- (Finset.eventually_all _).mpr (fun i _ => hwindow i)
127
- have hr : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n →
128
- ∃ L ∈ I, γ ω '' Icc L.1 L.2 ⊆ Q ∧ s n ω ≤ L.1 ∧ L.2 ≤ t n ω ∧
129
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc L.1 L.2) := by
130
- filter_upwards [hwin] with n hn
131
- filter_upwards [(Finset.eventually_all _).mpr hn] with ω hω
132
- intro hH
133
- obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hH.2
134
- exact ⟨J i, Finset.mem_image.mpr ⟨i, hi, rfl⟩,
135
- (hretain i ω hDi).trans (subset_iUnion₂_of_subset i hi Subset.rfl),
136
- hω i hi ⟨hH.1, hDi⟩⟩
137
- obtain ⟨a, ha, hmass⟩ := compact_conformal_stopped_passage_mass_ae P κ hκ hκ8 γ hSLE
138
- Fₙ F hFn hinj hF hne hconv Q hQ hQn hQH R₀ hR₀ hQR I hI v hv hlim
139
- η s t Rₙ H (q / 2) (by positivity) hN hregion₀ hr
140
- refine ⟨a, ha, ?_⟩
141
- filter_upwards [hmass] with n hn
142
- have hqq : q / 2 / 2 = q / 4 := by ring
143
- rw [hqq] at hn
144
- exact hn.trans (measure_mono (fun _ hω => ⟨hω.1.1, hω.2⟩))
145
-
146
- /-- Local coordinate convergence supplies the compact-dependent physical
147
- margins needed by the retained stopped-mass theorem. -/
148
- theorem countable_stopped_mass_ae_window_middle_regions
149
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
150
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
151
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
152
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
153
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
154
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
155
- (hF : DifferentiableOn ℂ F upperHalfPlane)
156
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
157
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
158
- (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
159
- (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
160
- (hp : ContinuousOn p U) (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
161
- (himage : ∀ i, F '' K i ⊆ U ∩ {z | (1 / 3 : ℝ) < p z ∧ p z < 2 / 3})
162
- (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
163
- (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
164
- (hcover : P (E \ ⋃ i, D i) = 0)
165
- (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
166
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
167
- (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
168
- (hregion : ∀ᶠ n in atTop, U ∩ {z | (1 / 3 : ℝ) < pₙ n z ∧ pₙ n z < 2 / 3} ⊆ Rₙ n)
169
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
170
- (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n ∩ E))
171
- (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
172
- s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
173
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
174
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
175
- ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
176
- segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
177
- have hneighborhood (i : ℕ) := eventual_middle_neighborhood pₙ p U hU hp hpconv
178
- (F '' K i) ((hK i).image_of_continuousOn (hF.continuousOn.mono (hKH i))) (himage i)
179
- choose R hR himageR hRlate using hneighborhood
180
- apply countable_stopped_mass_ae_window_compact_regions P κ hκ hκ8 γ hSLE
181
- Fₙ F hFn hinj hF hne hconv K hK hKH R hR himageR J hJ E D hE hD hcover hretain
182
- v hv hlim η s t Rₙ ?_ G q hq hG hwindow
183
- intro i
184
- filter_upwards [hRlate i, hregion] with n hn htarget
185
- exact hn.trans htarget
186
-
187
- end SLEExactGauge.RetainedTubeSausage
188
-
189
- end
190
-
191
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RetainedTubeSausage
2
+
3
+ namespace OAI
4
+
5
+ /-! Physical middle-strip margins are chosen separately for each retained
6
+ compact set. A finite probability retention then permits their finite union;
7
+ no inclusion of the entire limiting open strip in every moving strip is used. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory Metric
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge.RetainedTubeSausage
14
+
15
+ /-- Each compact subset of the limiting middle strip has one open physical
16
+ neighborhood lying in every sufficiently late moving middle strip. -/
17
+ theorem eventual_middle_neighborhood
18
+ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
19
+ (hp : ContinuousOn p U) (hconv : TendstoLocallyUniformlyOn pₙ p atTop U)
20
+ (K : Set ℂ) (hK : IsCompact K)
21
+ (hband : K ⊆ U ∩ {z | (1 / 3 : ℝ) < p z ∧ p z < 2 / 3}) :
22
+ ∃ R : Set ℂ, IsOpen R ∧ K ⊆ R ∧
23
+ ∀ᶠ n in atTop, R ⊆ U ∩ {z | (1 / 3 : ℝ) < pₙ n z ∧ pₙ n z < 2 / 3} := by
24
+ let V := U ∩ p ⁻¹' Ioo (1 / 3 : ℝ) (2 / 3)
25
+ have hV : IsOpen V := hp.isOpen_inter_preimage hU isOpen_Ioo
26
+ obtain ⟨δ, hδ, hthick⟩ := hK.exists_cthickening_subset_open hV hband
27
+ let C := cthickening δ K
28
+ let R := thickening δ K
29
+ have hC : IsCompact C := hK.cthickening
30
+ have hCU : C ⊆ U := hthick.trans inter_subset_left
31
+ have hCR : R ⊆ C := thickening_subset_cthickening δ K
32
+ have hpC : IsCompact (p '' C) := hC.image_of_continuousOn (hp.mono hCU)
33
+ have hpband : p '' C ⊆ Ioo (1 / 3 : ℝ) (2 / 3) := by
34
+ rintro _ ⟨z, hz, rfl⟩
35
+ exact (hthick hz).2
36
+ obtain ⟨ε, hε, heps⟩ := hpC.exists_thickening_subset_open isOpen_Ioo hpband
37
+ have hu : TendstoUniformlyOn pₙ p atTop C :=
38
+ (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact hC).mp (hconv.mono hCU)
39
+ refine ⟨R, isOpen_thickening, self_subset_thickening hδ K, ?_⟩
40
+ filter_upwards [hu _ (Metric.dist_mem_uniformity hε)] with n hn
41
+ intro z hz
42
+ have hzC := hCR hz
43
+ refine ⟨hCU hzC, heps ?_⟩
44
+ exact mem_thickening_iff.mpr ⟨p z, mem_image_of_mem p hzC,
45
+ by simpa only [dist_comm] using hn z hzC⟩
46
+
47
+ /-- Finite retention permits compact-dependent physical neighborhoods. -/
48
+ theorem countable_stopped_mass_ae_window_compact_regions
49
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
50
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
51
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
52
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
53
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
54
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
55
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
56
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
57
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
58
+ (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
59
+ (R : ℕ → Set ℂ) (hR : ∀ i, IsOpen (R i)) (himage : ∀ i, F '' K i ⊆ R i)
60
+ (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
61
+ (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
62
+ (hcover : P (E \ ⋃ i, D i) = 0)
63
+ (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
64
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
65
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
66
+ (hregion : ∀ i, ∀ᶠ n in atTop, R i ⊆ Rₙ n)
67
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
68
+ (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n ∩ E))
69
+ (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
70
+ s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
71
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
72
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
73
+ ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
74
+ segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
75
+ classical
76
+ obtain ⟨N, hsmall⟩ := finite_retention_of_countable_cover P E D hE hD hcover
77
+ (ENNReal.ofReal (q / 2)) (ENNReal.ofReal_pos.mpr (by positivity))
78
+ have hN : ∀ᶠ n in atTop, ENNReal.ofReal (q / 2) ≤
79
+ P (G n ∩ E ∩ ⋃ i ∈ Finset.range N, D i) := by
80
+ filter_upwards [hG] with n hn
81
+ let A := ⋃ i ∈ Finset.range N, D i
82
+ have hsub : G n ∩ E ⊆ (G n ∩ E ∩ A) ∪ (E \ A) := by
83
+ intro ω hω
84
+ by_cases hA : ω ∈ A
85
+ · exact Or.inl ⟨hω, hA⟩
86
+ · exact Or.inr ⟨hω.2, hA⟩
87
+ have hb := hn.trans ((measure_mono hsub).trans (measure_union_le _ _))
88
+ by_contra h
89
+ have he : ENNReal.ofReal (q / 2) + ENNReal.ofReal (q / 2) =
90
+ ENNReal.ofReal q := by
91
+ rw [← ENNReal.ofReal_add (by positivity) (by positivity)]
92
+ congr 1
93
+ ring
94
+ exact (not_lt_of_ge hb) (he ▸ ENNReal.add_lt_add (lt_of_not_ge h) hsmall)
95
+ let A := ⋃ i ∈ Finset.range N, D i
96
+ let Q := ⋃ i ∈ Finset.range N, K i
97
+ let H : ℕ → Set Ω := fun n => G n ∩ E ∩ A
98
+ let R₀ : Set ℂ := ⋃ i ∈ Finset.range N, R i
99
+ have hR₀ : IsOpen R₀ := isOpen_iUnion fun i => isOpen_iUnion fun _ => hR i
100
+ have hregion₀ : ∀ᶠ n in atTop, R₀ ⊆ Rₙ n := by
101
+ have hf := (Finset.eventually_all (Finset.range N)).mpr (fun i _ => hregion i)
102
+ filter_upwards [hf] with n hn
103
+ exact iUnion₂_subset (fun i hi => hn i hi)
104
+ have hQ : IsCompact Q := (Finset.range N).isCompact_biUnion (fun i _ => hK i)
105
+ have hQH : Q ⊆ upperHalfPlane := iUnion₂_subset (fun i _ => hKH i)
106
+ have hQR : F '' Q ⊆ R₀ := by
107
+ rintro w ⟨z, hz, rfl⟩
108
+ obtain ⟨i, hiN, hi⟩ := mem_iUnion₂.mp hz
109
+ exact mem_iUnion₂.mpr ⟨i, hiN, himage i (mem_image_of_mem F hi)⟩
110
+ have hQn : Q.Nonempty := by
111
+ obtain ⟨n, hn⟩ := hN.exists
112
+ have hHpos : 0 < P (H n) :=
113
+ (ENNReal.ofReal_pos.mpr (by positivity : 0 < q / 2)).trans_le hn
114
+ obtain ⟨ω, hω⟩ := nonempty_of_measure_ne_zero hHpos.ne'
115
+ obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
116
+ exact ⟨γ ω (J i).1, mem_iUnion₂.mpr ⟨i, hi,
117
+ hretain i ω hDi (mem_image_of_mem (γ ω) ⟨le_rfl, (hJ i).le⟩)⟩⟩
118
+ let I := (Finset.range N).image J
119
+ have hI : ∀ L ∈ I, L.1 < L.2 := by
120
+ intro L hL
121
+ obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hL
122
+ exact hJ i
123
+ have hwin : ∀ᶠ n in atTop, ∀ i ∈ Finset.range N, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
124
+ s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
125
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2) :=
126
+ (Finset.eventually_all _).mpr (fun i _ => hwindow i)
127
+ have hr : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n →
128
+ ∃ L ∈ I, γ ω '' Icc L.1 L.2 ⊆ Q ∧ s n ω ≤ L.1 ∧ L.2 ≤ t n ω ∧
129
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc L.1 L.2) := by
130
+ filter_upwards [hwin] with n hn
131
+ filter_upwards [(Finset.eventually_all _).mpr hn] with ω hω
132
+ intro hH
133
+ obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hH.2
134
+ exact ⟨J i, Finset.mem_image.mpr ⟨i, hi, rfl⟩,
135
+ (hretain i ω hDi).trans (subset_iUnion₂_of_subset i hi Subset.rfl),
136
+ hω i hi ⟨hH.1, hDi⟩⟩
137
+ obtain ⟨a, ha, hmass⟩ := compact_conformal_stopped_passage_mass_ae P κ hκ hκ8 γ hSLE
138
+ Fₙ F hFn hinj hF hne hconv Q hQ hQn hQH R₀ hR₀ hQR I hI v hv hlim
139
+ η s t Rₙ H (q / 2) (by positivity) hN hregion₀ hr
140
+ refine ⟨a, ha, ?_⟩
141
+ filter_upwards [hmass] with n hn
142
+ have hqq : q / 2 / 2 = q / 4 := by ring
143
+ rw [hqq] at hn
144
+ exact hn.trans (measure_mono (fun _ hω => ⟨hω.1.1, hω.2⟩))
145
+
146
+ /-- Local coordinate convergence supplies the compact-dependent physical
147
+ margins needed by the retained stopped-mass theorem. -/
148
+ theorem countable_stopped_mass_ae_window_middle_regions
149
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
150
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
151
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
152
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
153
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
154
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
155
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
156
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
157
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
158
+ (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
159
+ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
160
+ (hp : ContinuousOn p U) (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
161
+ (himage : ∀ i, F '' K i ⊆ U ∩ {z | (1 / 3 : ℝ) < p z ∧ p z < 2 / 3})
162
+ (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
163
+ (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
164
+ (hcover : P (E \ ⋃ i, D i) = 0)
165
+ (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
166
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
167
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
168
+ (hregion : ∀ᶠ n in atTop, U ∩ {z | (1 / 3 : ℝ) < pₙ n z ∧ pₙ n z < 2 / 3} ⊆ Rₙ n)
169
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
170
+ (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n ∩ E))
171
+ (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
172
+ s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
173
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
174
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
175
+ ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
176
+ segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
177
+ have hneighborhood (i : ℕ) := eventual_middle_neighborhood pₙ p U hU hp hpconv
178
+ (F '' K i) ((hK i).image_of_continuousOn (hF.continuousOn.mono (hKH i))) (himage i)
179
+ choose R hR himageR hRlate using hneighborhood
180
+ apply countable_stopped_mass_ae_window_compact_regions P κ hκ hκ8 γ hSLE
181
+ Fₙ F hFn hinj hF hne hconv K hK hKH R hR himageR J hJ E D hE hD hcover hretain
182
+ v hv hlim η s t Rₙ ?_ G q hq hG hwindow
183
+ intro i
184
+ filter_upwards [hRlate i, hregion] with n hn htarget
185
+ exact hn.trans htarget
186
+
187
+ end SLEExactGauge.RetainedTubeSausage
188
+
189
+ end
190
+
191
+ end OAI
lean/OAI/Probability/SLE/Gauge/RetainedTubeSausage.lean CHANGED
@@ -1,416 +1,416 @@
1
- import OAI.Probability.SLE.Gauge.PassageRetention
2
- import OAI.Probability.SLE.Mass.StoppedConformalPassageMass
3
-
4
- namespace OAI
5
-
6
- /-! Actual open-tube passage certificates imply a positive stopped sausage
7
- mass. The retained time window is derived from the front coordinate, rather
8
- than supplied as a separate geometric hypothesis. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory Metric
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge.RetainedTubeSausage
15
- open PassageRetention
16
-
17
- /-- Uniformly convergent physical coordinates preserve a strict front bound
18
- on each compact retained parameter set. -/
19
- theorem eventually_front_lt_on_compact
20
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
21
- (hF : ContinuousOn F upperHalfPlane)
22
- (hFconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
23
- (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
24
- (hp : ContinuousOn p U) (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
25
- (K : Set ℂ) (hK : IsCompact K) (hKH : K ⊆ upperHalfPlane)
26
- (hKU : F '' K ⊆ U) (q : ℝ) (hbound : ∀ z ∈ K, p (F z) < q) :
27
- ∀ᶠ n in atTop, ∀ z ∈ K, pₙ n (Fₙ n z) < q := by
28
- by_cases hKn : K.Nonempty
29
- · let V := U ∩ p ⁻¹' Iio q
30
- have hV : IsOpen V := hp.isOpen_inter_preimage hU isOpen_Iio
31
- have hFK : IsCompact (F '' K) := hK.image_of_continuousOn (hF.mono hKH)
32
- have hFKV : F '' K ⊆ V := by
33
- rintro w ⟨z, hz, rfl⟩
34
- exact ⟨hKU (mem_image_of_mem F hz), hbound z hz⟩
35
- obtain ⟨δ, hδ, hthick⟩ := hFK.exists_cthickening_subset_open hV hFKV
36
- let L := cthickening (δ / 2) (F '' K)
37
- have hL : IsCompact L := hFK.cthickening
38
- have hLV : L ⊆ V := (cthickening_mono (by linarith) (F '' K)).trans hthick
39
- have hLn : L.Nonempty := (hKn.image F).mono (self_subset_cthickening _)
40
- have hpL : ContinuousOn p L := hp.mono (hLV.trans inter_subset_left)
41
- obtain ⟨z₀, hz₀, hmax⟩ := hL.exists_isMaxOn hLn hpL
42
- have hz₀q : p z₀ < q := (hLV hz₀).2
43
- have huF : TendstoUniformlyOn Fₙ F atTop K :=
44
- (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact hK).mp (hFconv.mono hKH)
45
- have huP : TendstoUniformlyOn pₙ p atTop L :=
46
- (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact hL).mp
47
- (hpconv.mono (hLV.trans inter_subset_left))
48
- filter_upwards [huF _ (Metric.dist_mem_uniformity (by positivity : 0 < δ / 2)),
49
- huP _ (Metric.dist_mem_uniformity (sub_pos.mpr hz₀q))] with n hnF hnP
50
- intro z hz
51
- have hzL : Fₙ n z ∈ L :=
52
- mem_cthickening_of_dist_le _ (F z) (δ / 2) (F '' K)
53
- (mem_image_of_mem F hz) (by simpa only [dist_comm] using (hnF z hz).le)
54
- have hdiff := hnP (Fₙ n z) hzL
55
- have hupper : p (Fₙ n z) ≤ p z₀ := hmax hzL
56
- rw [Real.dist_eq] at hdiff
57
- have hh := (abs_lt.mp hdiff).1
58
- linarith
59
- · have hKe : K = ∅ := not_nonempty_iff_eq_empty.mp hKn
60
- simp only [hKe, mem_empty_iff_false, IsEmpty.forall_iff, implies_true,
61
- eventually_true]
62
-
63
- /-- The countable stopped-mass reduction also permits almost-sure window
64
- and chart identities, as supplied by the actual boundary restart. -/
65
- theorem countable_stopped_mass_ae_window
66
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
67
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
68
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
69
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
70
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
71
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
72
- (hF : DifferentiableOn ℂ F upperHalfPlane)
73
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
74
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
75
- (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
76
- (R : Set ℂ) (hR : IsOpen R) (himage : ∀ i, F '' K i ⊆ R)
77
- (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
78
- (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
79
- (hcover : P (E \ ⋃ i, D i) = 0)
80
- (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
81
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
82
- (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
83
- (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
84
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
85
- (hG : ∀ n, ENNReal.ofReal q ≤ P (G n ∩ E))
86
- (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
87
- s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
88
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
89
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
90
- ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
91
- segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
92
- classical
93
- obtain ⟨N, hN⟩ := varying_events_after_finite_retention P E D G hE hD hcover q hq hG
94
- let A := ⋃ i ∈ Finset.range N, D i
95
- let Q := ⋃ i ∈ Finset.range N, K i
96
- let H : ℕ → Set Ω := fun n => G n ∩ E ∩ A
97
- have hQ : IsCompact Q := (Finset.range N).isCompact_biUnion (fun i _ => hK i)
98
- have hQH : Q ⊆ upperHalfPlane := iUnion₂_subset (fun i _ => hKH i)
99
- have hQR : F '' Q ⊆ R := by
100
- rintro w ⟨z, hz, rfl⟩
101
- obtain ⟨i, _, hi⟩ := mem_iUnion₂.mp hz
102
- exact himage i (mem_image_of_mem F hi)
103
- have hQn : Q.Nonempty := by
104
- have hHpos : 0 < P (H 0) := (ENNReal.ofReal_pos.mpr (by positivity : 0 < q / 2)).trans_le (hN 0)
105
- obtain ⟨ω, hω⟩ := nonempty_of_measure_ne_zero hHpos.ne'
106
- obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
107
- exact ⟨γ ω (J i).1, mem_iUnion₂.mpr ⟨i, hi,
108
- hretain i ω hDi (mem_image_of_mem (γ ω) ⟨le_rfl, (hJ i).le⟩)⟩⟩
109
- let I := (Finset.range N).image J
110
- have hI : ∀ L ∈ I, L.1 < L.2 := by
111
- intro L hL
112
- obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hL
113
- exact hJ i
114
- have hwin : ∀ᶠ n in atTop, ∀ i ∈ Finset.range N, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
115
- s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
116
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2) :=
117
- (Finset.eventually_all _).mpr (fun i _ => hwindow i)
118
- have hr : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n →
119
- ∃ L ∈ I, γ ω '' Icc L.1 L.2 ⊆ Q ∧ s n ω ≤ L.1 ∧ L.2 ≤ t n ω ∧
120
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc L.1 L.2) := by
121
- filter_upwards [hwin] with n hn
122
- filter_upwards [(Finset.eventually_all _).mpr hn] with ω hω
123
- intro hH
124
- obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hH.2
125
- exact ⟨J i, Finset.mem_image.mpr ⟨i, hi, rfl⟩,
126
- (hretain i ω hDi).trans (subset_iUnion₂_of_subset i hi Subset.rfl),
127
- hω i hi ⟨hH.1, hDi⟩⟩
128
- obtain ⟨a, ha, hmass⟩ := compact_conformal_stopped_passage_mass_ae P κ hκ hκ8 γ hSLE
129
- Fₙ F hFn hinj hF hne hconv Q hQ hQn hQH R hR hQR I hI v hv hlim
130
- η s t Rₙ H (q / 2) (by positivity) (Eventually.of_forall hN) hregion hr
131
- refine ⟨a, ha, ?_⟩
132
- filter_upwards [hmass] with n hn
133
- have hqq : q / 2 / 2 = q / 4 := by ring
134
- rw [hqq] at hn
135
- exact hn.trans (measure_mono (fun _ hω => ⟨hω.1.1, hω.2⟩))
136
-
137
- /-- The countable stopped-mass reduction also permits almost-sure window
138
- and chart identities, as supplied by the actual boundary restart. -/
139
- theorem countable_stopped_mass_ae_window_eventually
140
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
141
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
142
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
143
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
144
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
145
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
146
- (hF : DifferentiableOn ℂ F upperHalfPlane)
147
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
148
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
149
- (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
150
- (R : Set ℂ) (hR : IsOpen R) (himage : ∀ i, F '' K i ⊆ R)
151
- (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
152
- (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
153
- (hcover : P (E \ ⋃ i, D i) = 0)
154
- (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
155
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
156
- (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
157
- (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
158
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
159
- (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n ∩ E))
160
- (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
161
- s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
162
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
163
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
164
- ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
165
- segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
166
- classical
167
- obtain ⟨N, hsmall⟩ := finite_retention_of_countable_cover P E D hE hD hcover
168
- (ENNReal.ofReal (q / 2)) (ENNReal.ofReal_pos.mpr (by positivity))
169
- have hN : ∀ᶠ n in atTop, ENNReal.ofReal (q / 2) ≤
170
- P (G n ∩ E ∩ ⋃ i ∈ Finset.range N, D i) := by
171
- filter_upwards [hG] with n hn
172
- let A := ⋃ i ∈ Finset.range N, D i
173
- have hsub : G n ∩ E ⊆ (G n ∩ E ∩ A) ∪ (E \ A) := by
174
- intro ω hω
175
- by_cases hA : ω ∈ A
176
- · exact Or.inl ⟨hω, hA⟩
177
- · exact Or.inr ⟨hω.2, hA⟩
178
- have hb := hn.trans ((measure_mono hsub).trans (measure_union_le _ _))
179
- by_contra h
180
- have he : ENNReal.ofReal (q / 2) + ENNReal.ofReal (q / 2) =
181
- ENNReal.ofReal q := by
182
- rw [← ENNReal.ofReal_add (by positivity) (by positivity)]
183
- congr 1
184
- ring
185
- exact (not_lt_of_ge hb) (he ▸ ENNReal.add_lt_add (lt_of_not_ge h) hsmall)
186
- let A := ⋃ i ∈ Finset.range N, D i
187
- let Q := ⋃ i ∈ Finset.range N, K i
188
- let H : ℕ → Set Ω := fun n => G n ∩ E ∩ A
189
- have hQ : IsCompact Q := (Finset.range N).isCompact_biUnion (fun i _ => hK i)
190
- have hQH : Q ⊆ upperHalfPlane := iUnion₂_subset (fun i _ => hKH i)
191
- have hQR : F '' Q ⊆ R := by
192
- rintro w ⟨z, hz, rfl⟩
193
- obtain ⟨i, _, hi⟩ := mem_iUnion₂.mp hz
194
- exact himage i (mem_image_of_mem F hi)
195
- have hQn : Q.Nonempty := by
196
- obtain ⟨n, hn⟩ := hN.exists
197
- have hHpos : 0 < P (H n) :=
198
- (ENNReal.ofReal_pos.mpr (by positivity : 0 < q / 2)).trans_le hn
199
- obtain ⟨ω, hω⟩ := nonempty_of_measure_ne_zero hHpos.ne'
200
- obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
201
- exact ⟨γ ω (J i).1, mem_iUnion₂.mpr ⟨i, hi,
202
- hretain i ω hDi (mem_image_of_mem (γ ω) ⟨le_rfl, (hJ i).le⟩)⟩⟩
203
- let I := (Finset.range N).image J
204
- have hI : ∀ L ∈ I, L.1 < L.2 := by
205
- intro L hL
206
- obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hL
207
- exact hJ i
208
- have hwin : ∀ᶠ n in atTop, ∀ i ∈ Finset.range N, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
209
- s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
210
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2) :=
211
- (Finset.eventually_all _).mpr (fun i _ => hwindow i)
212
- have hr : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n →
213
- ∃ L ∈ I, γ ω '' Icc L.1 L.2 ⊆ Q ∧ s n ω ≤ L.1 ∧ L.2 ≤ t n ω ∧
214
- EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc L.1 L.2) := by
215
- filter_upwards [hwin] with n hn
216
- filter_upwards [(Finset.eventually_all _).mpr hn] with ω hω
217
- intro hH
218
- obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hH.2
219
- exact ⟨J i, Finset.mem_image.mpr ⟨i, hi, rfl⟩,
220
- (hretain i ω hDi).trans (subset_iUnion₂_of_subset i hi Subset.rfl),
221
- hω i hi ⟨hH.1, hDi⟩⟩
222
- obtain ⟨a, ha, hmass⟩ := compact_conformal_stopped_passage_mass_ae P κ hκ hκ8 γ hSLE
223
- Fₙ F hFn hinj hF hne hconv Q hQ hQn hQH R hR hQR I hI v hv hlim
224
- η s t Rₙ H (q / 2) (by positivity) hN hregion hr
225
- refine ⟨a, ha, ?_⟩
226
- filter_upwards [hmass] with n hn
227
- have hqq : q / 2 / 2 = q / 4 := by ring
228
- rw [hqq] at hn
229
- exact hn.trans (measure_mono (fun _ hω => ⟨hω.1.1, hω.2⟩))
230
-
231
- /-- Actual tube passages produce retained sausage mass before the varying
232
- front stop. Compact intervals and stop windows are both derived here. -/
233
- theorem retained_tube_stopped_sausage_mass
234
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
235
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
236
- (f : Ω → C(ℝ≥0, ℂ)) (hf : Measurable f)
237
- (hSLE : IsOrdinaryChordalSLE κ (fun ω => f ω) P)
238
- (σ : Ω → ℝ≥0) (hσ : Measurable σ)
239
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
240
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
241
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
242
- (hF : DifferentiableOn ℂ F upperHalfPlane)
243
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
244
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
245
- (O W : Set ℂ) (hO : IsOpen O) (hOH : O ⊆ upperHalfPlane)
246
- (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
247
- (hp : ContinuousOn p U) (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
248
- (hFOU : MapsTo F O U) (hW : W ⊆ {z | 1 < p (F z)})
249
- (E : Set Ω) (hE : MeasurableSet E)
250
- (htube : E ⊆ stoppedPhysicalTube (fun ω => f ω) σ O W)
251
- (hstart : ∀ ω ∈ E, p (F (f ω (σ ω))) < 1 / 3)
252
- (R : Set ℂ) (hR : IsOpen R)
253
- (hmiddle : ∀ z ∈ O, 1 / 3 < p (F z) → p (F z) < 2 / 3 → F z ∈ R)
254
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
255
- (η : ℕ → Ω → ℝ≥0 → ℂ) (τ : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
256
- (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
257
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
258
- (hG : ∀ n, ENNReal.ofReal q ≤ P (G n ∩ E))
259
- (hη : ∀ n, ∀ᵐ ω ∂P, ∀ t : ℝ≥0, σ ω ≤ t → f ω t ∈ upperHalfPlane →
260
- η n ω t = Fₙ n (f ω t))
261
- (hτ : ∀ n, ∀ᵐ ω ∂P, ω ∈ G n ∩ E →
262
- σ ω ≤ τ n ω ∧ 2 / 3 ≤ pₙ n (η n ω (τ n ω))) :
263
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
264
- ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
265
- segmentSausageCharge κ (η n ω) (σ ω) (τ n ω) (v n) (Rₙ n)} := by
266
- let progress := fun z => p (F z)
267
- have hprogress : ContinuousOn progress O :=
268
- hp.comp (hF.continuousOn.mono hOH) hFOU
269
- obtain ⟨K, M, L, N, hK, hM, hL, hN, hDm, hcover⟩ :=
270
- stopped_tube_retained_cover f hf σ hσ O W hO hOH progress hprogress hW E htube hstart
271
- let D : ℕ → Set Ω := fun i => retainedPassageCertificate f σ K M L N
272
- (beyondFrontRegion O progress) (enumerateRetainedPassage i)
273
- let Q : ℕ → Set ℂ := fun i => M (enumerateRetainedPassage i).1.2.2.1
274
- let J : ℕ → ℝ≥0 × ℝ≥0 := fun i =>
275
- (intervalStart (enumerateRetainedPassage i).1, intervalEnd (enumerateRetainedPassage i).1)
276
- have hQ : ∀ i, IsCompact (Q i) := fun i => (hM _).1
277
- have hQH : ∀ i, Q i ⊆ upperHalfPlane := fun i z hz => hOH ((hM _).2 hz).1
278
- have hQR : ∀ i, F '' Q i ⊆ R := by
279
- rintro i _ ⟨z, hz, rfl⟩
280
- have hh := (hM _).2 hz
281
- exact hmiddle z hh.1 hh.2.1 hh.2.2
282
- have hJ : ∀ i, (J i).1 < (J i).2 := fun i => intervalStart_lt_end _
283
- have hD : ∀ i, MeasurableSet (D i) := fun i => hDm _
284
- have hnull : P (E \ ⋃ i, D i) = 0 := by
285
- rw [sdiff_eq_empty.mpr (nat_retained_cover f σ K M L N _ E hcover), measure_empty]
286
- have hretain : ∀ i ω, ω ∈ D i →
287
- (fun t => f ω t) '' Icc (J i).1 (J i).2 ⊆ Q i := by
288
- intro i ω hω
289
- exact hω.1.2.2.2.1.image_subset
290
- have hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
291
- σ ω ≤ (J i).1 ∧ (J i).2 ≤ τ n ω ∧
292
- EqOn (η n ω) (fun u => Fₙ n (f ω u)) (Icc (J i).1 (J i).2) := by
293
- intro i
294
- let j := enumerateRetainedPassage i
295
- have hLH : L j.1.2.2.2 ⊆ upperHalfPlane := fun z hz => hOH ((hL _).2 hz).1
296
- have hLU : F '' L j.1.2.2.2 ⊆ U := by
297
- rintro _ ⟨z, hz, rfl⟩
298
- exact hFOU ((hL _).2 hz).1
299
- have hlt := eventually_front_lt_on_compact Fₙ F hF.continuousOn hconv pₙ p U hU hp hpconv
300
- (L j.1.2.2.2) (hL _).1 hLH hLU (2 / 3) (fun z hz => ((hL _).2 hz).2)
301
- filter_upwards [hlt] with n hn
302
- filter_upwards [hη n, hτ n] with ω hηω hτω
303
- intro hω
304
- have hDi : ω ∈ retainedPassageCertificate f σ K M L N
305
- (beyondFrontRegion O progress) j := hω.2
306
- obtain ⟨⟨hσs, _, _, hmid, hlow⟩, _⟩ := hDi
307
- have htau := hτω hω.1
308
- have hbefore : intervalEnd j.1 ≤ τ n ω := by
309
- by_contra hbad
310
- have hmem : f ω (τ n ω) ∈ L j.1.2.2.2 :=
311
- hlow.2 ⟨htau.1, (lt_of_not_ge hbad).le⟩
312
- have hh := hn _ hmem
313
- rw [← hηω (τ n ω) htau.1 (hLH hmem)] at hh
314
- exact (not_le_of_gt hh) htau.2
315
- refine ⟨hσs.le, hbefore, ?_⟩
316
- intro t ht
317
- exact hηω t (hσs.le.trans ht.1) (hOH ((hM _).2 (hmid ht)).1)
318
- exact countable_stopped_mass_ae_window P κ hκ hκ8 (fun ω => f ω) hSLE
319
- Fₙ F hFn hinj hF hne hconv Q hQ hQH R hR hQR J hJ E D hE hD hnull hretain
320
- v hv hlim η (fun _ => σ) τ Rₙ hregion G q hq hG hwindow
321
- /-- Actual tube passages produce retained sausage mass before the varying
322
- front stop. Compact intervals and stop windows are both derived here. -/
323
- theorem retained_tube_stopped_sausage_mass_eventually
324
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
325
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
326
- (f : Ω → C(ℝ≥0, ℂ)) (hf : Measurable f)
327
- (hSLE : IsOrdinaryChordalSLE κ (fun ω => f ω) P)
328
- (σ : Ω → ℝ≥0) (hσ : Measurable σ)
329
- (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
330
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
331
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
332
- (hF : DifferentiableOn ℂ F upperHalfPlane)
333
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
334
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
335
- (O W : Set ℂ) (hO : IsOpen O) (hOH : O ⊆ upperHalfPlane)
336
- (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
337
- (hp : ContinuousOn p U) (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
338
- (hFOU : MapsTo F O U) (hW : W ⊆ {z | 1 < p (F z)})
339
- (E : Set Ω) (hE : MeasurableSet E)
340
- (htube : E ⊆ stoppedPhysicalTube (fun ω => f ω) σ O W)
341
- (hstart : ∀ ω ∈ E, p (F (f ω (σ ω))) < 1 / 3)
342
- (R : Set ℂ) (hR : IsOpen R)
343
- (hmiddle : ∀ z ∈ O, 1 / 3 < p (F z) → p (F z) < 2 / 3 → F z ∈ R)
344
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
345
- (η : ℕ → Ω → ℝ≥0 → ℂ) (τ : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
346
- (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
347
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
348
- (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n ∩ E))
349
- (hη : ∀ n, ∀ᵐ ω ∂P, ∀ t : ℝ≥0, σ ω ≤ t → f ω t ∈ upperHalfPlane →
350
- η n ω t = Fₙ n (f ω t))
351
- (hτ : ∀ n, ∀ᵐ ω ∂P, ω ∈ G n ∩ E →
352
- σ ω ≤ τ n ω ∧ 2 / 3 ≤ pₙ n (η n ω (τ n ω))) :
353
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
354
- ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
355
- segmentSausageCharge κ (η n ω) (σ ω) (τ n ω) (v n) (Rₙ n)} := by
356
- let progress := fun z => p (F z)
357
- have hprogress : ContinuousOn progress O :=
358
- hp.comp (hF.continuousOn.mono hOH) hFOU
359
- obtain ⟨K, M, L, N, hK, hM, hL, hN, hDm, hcover⟩ :=
360
- stopped_tube_retained_cover f hf σ hσ O W hO hOH progress hprogress hW E htube hstart
361
- let D : ℕ → Set Ω := fun i => retainedPassageCertificate f σ K M L N
362
- (beyondFrontRegion O progress) (enumerateRetainedPassage i)
363
- let Q : ℕ → Set ℂ := fun i => M (enumerateRetainedPassage i).1.2.2.1
364
- let J : ℕ → ℝ≥0 × ℝ≥0 := fun i =>
365
- (intervalStart (enumerateRetainedPassage i).1, intervalEnd (enumerateRetainedPassage i).1)
366
- have hQ : ∀ i, IsCompact (Q i) := fun i => (hM _).1
367
- have hQH : ∀ i, Q i ⊆ upperHalfPlane := fun i z hz => hOH ((hM _).2 hz).1
368
- have hQR : ∀ i, F '' Q i ⊆ R := by
369
- rintro i _ ⟨z, hz, rfl⟩
370
- have hh := (hM _).2 hz
371
- exact hmiddle z hh.1 hh.2.1 hh.2.2
372
- have hJ : ∀ i, (J i).1 < (J i).2 := fun i => intervalStart_lt_end _
373
- have hD : ∀ i, MeasurableSet (D i) := fun i => hDm _
374
- have hnull : P (E \ ⋃ i, D i) = 0 := by
375
- rw [sdiff_eq_empty.mpr (nat_retained_cover f σ K M L N _ E hcover), measure_empty]
376
- have hretain : ∀ i ω, ω ∈ D i →
377
- (fun t => f ω t) '' Icc (J i).1 (J i).2 ⊆ Q i := by
378
- intro i ω hω
379
- exact hω.1.2.2.2.1.image_subset
380
- have hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
381
- σ ω ≤ (J i).1 ∧ (J i).2 ≤ τ n ω ∧
382
- EqOn (η n ω) (fun u => Fₙ n (f ω u)) (Icc (J i).1 (J i).2) := by
383
- intro i
384
- let j := enumerateRetainedPassage i
385
- have hLH : L j.1.2.2.2 ⊆ upperHalfPlane := fun z hz => hOH ((hL _).2 hz).1
386
- have hLU : F '' L j.1.2.2.2 ⊆ U := by
387
- rintro _ ⟨z, hz, rfl⟩
388
- exact hFOU ((hL _).2 hz).1
389
- have hlt := eventually_front_lt_on_compact Fₙ F hF.continuousOn hconv pₙ p U hU hp hpconv
390
- (L j.1.2.2.2) (hL _).1 hLH hLU (2 / 3) (fun z hz => ((hL _).2 hz).2)
391
- filter_upwards [hlt] with n hn
392
- filter_upwards [hη n, hτ n] with ω hηω hτω
393
- intro hω
394
- have hDi : ω ∈ retainedPassageCertificate f σ K M L N
395
- (beyondFrontRegion O progress) j := hω.2
396
- obtain ⟨⟨hσs, _, _, hmid, hlow⟩, _⟩ := hDi
397
- have htau := hτω hω.1
398
- have hbefore : intervalEnd j.1 ≤ τ n ω := by
399
- by_contra hbad
400
- have hmem : f ω (τ n ω) ∈ L j.1.2.2.2 :=
401
- hlow.2 ⟨htau.1, (lt_of_not_ge hbad).le⟩
402
- have hh := hn _ hmem
403
- rw [← hηω (τ n ω) htau.1 (hLH hmem)] at hh
404
- exact (not_le_of_gt hh) htau.2
405
- refine ⟨hσs.le, hbefore, ?_⟩
406
- intro t ht
407
- exact hηω t (hσs.le.trans ht.1) (hOH ((hM _).2 (hmid ht)).1)
408
- exact countable_stopped_mass_ae_window_eventually P κ hκ hκ8 (fun ω => f ω) hSLE
409
- Fₙ F hFn hinj hF hne hconv Q hQ hQH R hR hQR J hJ E D hE hD hnull hretain
410
- v hv hlim η (fun _ => σ) τ Rₙ hregion G q hq hG hwindow
411
-
412
- end SLEExactGauge.RetainedTubeSausage
413
-
414
- end
415
-
416
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.PassageRetention
2
+ import OAI.Probability.SLE.Mass.StoppedConformalPassageMass
3
+
4
+ namespace OAI
5
+
6
+ /-! Actual open-tube passage certificates imply a positive stopped sausage
7
+ mass. The retained time window is derived from the front coordinate, rather
8
+ than supplied as a separate geometric hypothesis. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory Metric
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge.RetainedTubeSausage
15
+ open PassageRetention
16
+
17
+ /-- Uniformly convergent physical coordinates preserve a strict front bound
18
+ on each compact retained parameter set. -/
19
+ theorem eventually_front_lt_on_compact
20
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
21
+ (hF : ContinuousOn F upperHalfPlane)
22
+ (hFconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
23
+ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
24
+ (hp : ContinuousOn p U) (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
25
+ (K : Set ℂ) (hK : IsCompact K) (hKH : K ⊆ upperHalfPlane)
26
+ (hKU : F '' K ⊆ U) (q : ℝ) (hbound : ∀ z ∈ K, p (F z) < q) :
27
+ ∀ᶠ n in atTop, ∀ z ∈ K, pₙ n (Fₙ n z) < q := by
28
+ by_cases hKn : K.Nonempty
29
+ · let V := U ∩ p ⁻¹' Iio q
30
+ have hV : IsOpen V := hp.isOpen_inter_preimage hU isOpen_Iio
31
+ have hFK : IsCompact (F '' K) := hK.image_of_continuousOn (hF.mono hKH)
32
+ have hFKV : F '' K ⊆ V := by
33
+ rintro w ⟨z, hz, rfl⟩
34
+ exact ⟨hKU (mem_image_of_mem F hz), hbound z hz⟩
35
+ obtain ⟨δ, hδ, hthick⟩ := hFK.exists_cthickening_subset_open hV hFKV
36
+ let L := cthickening (δ / 2) (F '' K)
37
+ have hL : IsCompact L := hFK.cthickening
38
+ have hLV : L ⊆ V := (cthickening_mono (by linarith) (F '' K)).trans hthick
39
+ have hLn : L.Nonempty := (hKn.image F).mono (self_subset_cthickening _)
40
+ have hpL : ContinuousOn p L := hp.mono (hLV.trans inter_subset_left)
41
+ obtain ⟨z₀, hz₀, hmax⟩ := hL.exists_isMaxOn hLn hpL
42
+ have hz₀q : p z₀ < q := (hLV hz₀).2
43
+ have huF : TendstoUniformlyOn Fₙ F atTop K :=
44
+ (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact hK).mp (hFconv.mono hKH)
45
+ have huP : TendstoUniformlyOn pₙ p atTop L :=
46
+ (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact hL).mp
47
+ (hpconv.mono (hLV.trans inter_subset_left))
48
+ filter_upwards [huF _ (Metric.dist_mem_uniformity (by positivity : 0 < δ / 2)),
49
+ huP _ (Metric.dist_mem_uniformity (sub_pos.mpr hz₀q))] with n hnF hnP
50
+ intro z hz
51
+ have hzL : Fₙ n z ∈ L :=
52
+ mem_cthickening_of_dist_le _ (F z) (δ / 2) (F '' K)
53
+ (mem_image_of_mem F hz) (by simpa only [dist_comm] using (hnF z hz).le)
54
+ have hdiff := hnP (Fₙ n z) hzL
55
+ have hupper : p (Fₙ n z) ≤ p z₀ := hmax hzL
56
+ rw [Real.dist_eq] at hdiff
57
+ have hh := (abs_lt.mp hdiff).1
58
+ linarith
59
+ · have hKe : K = ∅ := not_nonempty_iff_eq_empty.mp hKn
60
+ simp only [hKe, mem_empty_iff_false, IsEmpty.forall_iff, implies_true,
61
+ eventually_true]
62
+
63
+ /-- The countable stopped-mass reduction also permits almost-sure window
64
+ and chart identities, as supplied by the actual boundary restart. -/
65
+ theorem countable_stopped_mass_ae_window
66
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
67
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
68
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
69
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
70
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
71
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
72
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
73
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
74
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
75
+ (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
76
+ (R : Set ℂ) (hR : IsOpen R) (himage : ∀ i, F '' K i ⊆ R)
77
+ (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
78
+ (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
79
+ (hcover : P (E \ ⋃ i, D i) = 0)
80
+ (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
81
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
82
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
83
+ (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
84
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
85
+ (hG : ∀ n, ENNReal.ofReal q ≤ P (G n ∩ E))
86
+ (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
87
+ s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
88
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
89
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
90
+ ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
91
+ segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
92
+ classical
93
+ obtain ⟨N, hN⟩ := varying_events_after_finite_retention P E D G hE hD hcover q hq hG
94
+ let A := ⋃ i ∈ Finset.range N, D i
95
+ let Q := ⋃ i ∈ Finset.range N, K i
96
+ let H : ℕ → Set Ω := fun n => G n ∩ E ∩ A
97
+ have hQ : IsCompact Q := (Finset.range N).isCompact_biUnion (fun i _ => hK i)
98
+ have hQH : Q ⊆ upperHalfPlane := iUnion₂_subset (fun i _ => hKH i)
99
+ have hQR : F '' Q ⊆ R := by
100
+ rintro w ⟨z, hz, rfl⟩
101
+ obtain ⟨i, _, hi⟩ := mem_iUnion₂.mp hz
102
+ exact himage i (mem_image_of_mem F hi)
103
+ have hQn : Q.Nonempty := by
104
+ have hHpos : 0 < P (H 0) := (ENNReal.ofReal_pos.mpr (by positivity : 0 < q / 2)).trans_le (hN 0)
105
+ obtain ⟨ω, hω⟩ := nonempty_of_measure_ne_zero hHpos.ne'
106
+ obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
107
+ exact ⟨γ ω (J i).1, mem_iUnion₂.mpr ⟨i, hi,
108
+ hretain i ω hDi (mem_image_of_mem (γ ω) ⟨le_rfl, (hJ i).le⟩)⟩⟩
109
+ let I := (Finset.range N).image J
110
+ have hI : ∀ L ∈ I, L.1 < L.2 := by
111
+ intro L hL
112
+ obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hL
113
+ exact hJ i
114
+ have hwin : ∀ᶠ n in atTop, ∀ i ∈ Finset.range N, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
115
+ s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
116
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2) :=
117
+ (Finset.eventually_all _).mpr (fun i _ => hwindow i)
118
+ have hr : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n →
119
+ ∃ L ∈ I, γ ω '' Icc L.1 L.2 ⊆ Q ∧ s n ω ≤ L.1 ∧ L.2 ≤ t n ω ∧
120
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc L.1 L.2) := by
121
+ filter_upwards [hwin] with n hn
122
+ filter_upwards [(Finset.eventually_all _).mpr hn] with ω hω
123
+ intro hH
124
+ obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hH.2
125
+ exact ⟨J i, Finset.mem_image.mpr ⟨i, hi, rfl⟩,
126
+ (hretain i ω hDi).trans (subset_iUnion₂_of_subset i hi Subset.rfl),
127
+ hω i hi ⟨hH.1, hDi⟩⟩
128
+ obtain ⟨a, ha, hmass⟩ := compact_conformal_stopped_passage_mass_ae P κ hκ hκ8 γ hSLE
129
+ Fₙ F hFn hinj hF hne hconv Q hQ hQn hQH R hR hQR I hI v hv hlim
130
+ η s t Rₙ H (q / 2) (by positivity) (Eventually.of_forall hN) hregion hr
131
+ refine ���a, ha, ?_⟩
132
+ filter_upwards [hmass] with n hn
133
+ have hqq : q / 2 / 2 = q / 4 := by ring
134
+ rw [hqq] at hn
135
+ exact hn.trans (measure_mono (fun _ hω => ⟨hω.1.1, hω.2⟩))
136
+
137
+ /-- The countable stopped-mass reduction also permits almost-sure window
138
+ and chart identities, as supplied by the actual boundary restart. -/
139
+ theorem countable_stopped_mass_ae_window_eventually
140
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
141
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
142
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
143
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
144
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
145
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
146
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
147
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
148
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
149
+ (K : ℕ → Set ℂ) (hK : ∀ i, IsCompact (K i)) (hKH : ∀ i, K i ⊆ upperHalfPlane)
150
+ (R : Set ℂ) (hR : IsOpen R) (himage : ∀ i, F '' K i ⊆ R)
151
+ (J : ℕ → ℝ≥0 × ℝ≥0) (hJ : ∀ i, (J i).1 < (J i).2)
152
+ (E : Set Ω) (D : ℕ → Set Ω) (hE : MeasurableSet E) (hD : ∀ i, MeasurableSet (D i))
153
+ (hcover : P (E \ ⋃ i, D i) = 0)
154
+ (hretain : ∀ i ω, ω ∈ D i → γ ω '' Icc (J i).1 (J i).2 ⊆ K i)
155
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
156
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
157
+ (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
158
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
159
+ (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n ∩ E))
160
+ (hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
161
+ s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
162
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2)) :
163
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
164
+ ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
165
+ segmentSausageCharge κ (η n ω) (s n ω) (t n ω) (v n) (Rₙ n)} := by
166
+ classical
167
+ obtain ⟨N, hsmall⟩ := finite_retention_of_countable_cover P E D hE hD hcover
168
+ (ENNReal.ofReal (q / 2)) (ENNReal.ofReal_pos.mpr (by positivity))
169
+ have hN : ∀ᶠ n in atTop, ENNReal.ofReal (q / 2) ≤
170
+ P (G n ∩ E ∩ ⋃ i ∈ Finset.range N, D i) := by
171
+ filter_upwards [hG] with n hn
172
+ let A := ⋃ i ∈ Finset.range N, D i
173
+ have hsub : G n ∩ E ⊆ (G n ∩ E ∩ A) ∪ (E \ A) := by
174
+ intro ω hω
175
+ by_cases hA : ω ∈ A
176
+ · exact Or.inl ⟨hω, hA⟩
177
+ · exact Or.inr ⟨hω.2, hA⟩
178
+ have hb := hn.trans ((measure_mono hsub).trans (measure_union_le _ _))
179
+ by_contra h
180
+ have he : ENNReal.ofReal (q / 2) + ENNReal.ofReal (q / 2) =
181
+ ENNReal.ofReal q := by
182
+ rw [← ENNReal.ofReal_add (by positivity) (by positivity)]
183
+ congr 1
184
+ ring
185
+ exact (not_lt_of_ge hb) (he ▸ ENNReal.add_lt_add (lt_of_not_ge h) hsmall)
186
+ let A := ⋃ i ∈ Finset.range N, D i
187
+ let Q := ⋃ i ∈ Finset.range N, K i
188
+ let H : ℕ → Set Ω := fun n => G n ∩ E ∩ A
189
+ have hQ : IsCompact Q := (Finset.range N).isCompact_biUnion (fun i _ => hK i)
190
+ have hQH : Q ⊆ upperHalfPlane := iUnion₂_subset (fun i _ => hKH i)
191
+ have hQR : F '' Q ⊆ R := by
192
+ rintro w ⟨z, hz, rfl⟩
193
+ obtain ⟨i, _, hi⟩ := mem_iUnion₂.mp hz
194
+ exact himage i (mem_image_of_mem F hi)
195
+ have hQn : Q.Nonempty := by
196
+ obtain ⟨n, hn⟩ := hN.exists
197
+ have hHpos : 0 < P (H n) :=
198
+ (ENNReal.ofReal_pos.mpr (by positivity : 0 < q / 2)).trans_le hn
199
+ obtain ⟨ω, hω⟩ := nonempty_of_measure_ne_zero hHpos.ne'
200
+ obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hω.2
201
+ exact ⟨γ ω (J i).1, mem_iUnion₂.mpr ⟨i, hi,
202
+ hretain i ω hDi (mem_image_of_mem (γ ω) ⟨le_rfl, (hJ i).le⟩)⟩⟩
203
+ let I := (Finset.range N).image J
204
+ have hI : ∀ L ∈ I, L.1 < L.2 := by
205
+ intro L hL
206
+ obtain ⟨i, _, rfl⟩ := Finset.mem_image.mp hL
207
+ exact hJ i
208
+ have hwin : ∀ᶠ n in atTop, ∀ i ∈ Finset.range N, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
209
+ s n ω ≤ (J i).1 ∧ (J i).2 ≤ t n ω ∧
210
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc (J i).1 (J i).2) :=
211
+ (Finset.eventually_all _).mpr (fun i _ => hwindow i)
212
+ have hr : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n →
213
+ ∃ L ∈ I, γ ω '' Icc L.1 L.2 ⊆ Q ∧ s n ω ≤ L.1 ∧ L.2 ≤ t n ω ∧
214
+ EqOn (η n ω) (fun u => Fₙ n (γ ω u)) (Icc L.1 L.2) := by
215
+ filter_upwards [hwin] with n hn
216
+ filter_upwards [(Finset.eventually_all _).mpr hn] with ω hω
217
+ intro hH
218
+ obtain ⟨i, hi, hDi⟩ := mem_iUnion₂.mp hH.2
219
+ exact ⟨J i, Finset.mem_image.mpr ⟨i, hi, rfl⟩,
220
+ (hretain i ω hDi).trans (subset_iUnion₂_of_subset i hi Subset.rfl),
221
+ hω i hi ⟨hH.1, hDi⟩⟩
222
+ obtain ⟨a, ha, hmass⟩ := compact_conformal_stopped_passage_mass_ae P κ hκ hκ8 γ hSLE
223
+ Fₙ F hFn hinj hF hne hconv Q hQ hQn hQH R hR hQR I hI v hv hlim
224
+ η s t Rₙ H (q / 2) (by positivity) hN hregion hr
225
+ refine ⟨a, ha, ?_⟩
226
+ filter_upwards [hmass] with n hn
227
+ have hqq : q / 2 / 2 = q / 4 := by ring
228
+ rw [hqq] at hn
229
+ exact hn.trans (measure_mono (fun _ hω => ⟨hω.1.1, hω.2⟩))
230
+
231
+ /-- Actual tube passages produce retained sausage mass before the varying
232
+ front stop. Compact intervals and stop windows are both derived here. -/
233
+ theorem retained_tube_stopped_sausage_mass
234
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
235
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
236
+ (f : Ω → C(ℝ≥0, ℂ)) (hf : Measurable f)
237
+ (hSLE : IsOrdinaryChordalSLE κ (fun ω => f ω) P)
238
+ (σ : Ω → ℝ≥0) (hσ : Measurable σ)
239
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
240
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
241
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
242
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
243
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
244
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
245
+ (O W : Set ℂ) (hO : IsOpen O) (hOH : O ⊆ upperHalfPlane)
246
+ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
247
+ (hp : ContinuousOn p U) (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
248
+ (hFOU : MapsTo F O U) (hW : W ⊆ {z | 1 < p (F z)})
249
+ (E : Set Ω) (hE : MeasurableSet E)
250
+ (htube : E ⊆ stoppedPhysicalTube (fun ω => f ω) σ O W)
251
+ (hstart : ∀ ω ∈ E, p (F (f ω (σ ω))) < 1 / 3)
252
+ (R : Set ℂ) (hR : IsOpen R)
253
+ (hmiddle : ∀ z ∈ O, 1 / 3 < p (F z) → p (F z) < 2 / 3 → F z ∈ R)
254
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
255
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (τ : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
256
+ (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
257
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
258
+ (hG : ∀ n, ENNReal.ofReal q ≤ P (G n ∩ E))
259
+ (hη : ∀ n, ∀ᵐ ω ∂P, ∀ t : ℝ≥0, σ ω ≤ t → f ω t ∈ upperHalfPlane →
260
+ η n ω t = Fₙ n (f ω t))
261
+ (hτ : ∀ n, ∀ᵐ ω ∂P, ω ∈ G n ∩ E →
262
+ σ ω ≤ τ n ω ∧ 2 / 3 ≤ pₙ n (η n ω (τ n ω))) :
263
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
264
+ ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
265
+ segmentSausageCharge κ (η n ω) (σ ω) (τ n ω) (v n) (Rₙ n)} := by
266
+ let progress := fun z => p (F z)
267
+ have hprogress : ContinuousOn progress O :=
268
+ hp.comp (hF.continuousOn.mono hOH) hFOU
269
+ obtain ⟨K, M, L, N, hK, hM, hL, hN, hDm, hcover⟩ :=
270
+ stopped_tube_retained_cover f hf σ hσ O W hO hOH progress hprogress hW E htube hstart
271
+ let D : ℕ → Set Ω := fun i => retainedPassageCertificate f σ K M L N
272
+ (beyondFrontRegion O progress) (enumerateRetainedPassage i)
273
+ let Q : ℕ → Set ℂ := fun i => M (enumerateRetainedPassage i).1.2.2.1
274
+ let J : ℕ → ℝ≥0 × ℝ≥0 := fun i =>
275
+ (intervalStart (enumerateRetainedPassage i).1, intervalEnd (enumerateRetainedPassage i).1)
276
+ have hQ : ∀ i, IsCompact (Q i) := fun i => (hM _).1
277
+ have hQH : ∀ i, Q i ⊆ upperHalfPlane := fun i z hz => hOH ((hM _).2 hz).1
278
+ have hQR : ∀ i, F '' Q i ⊆ R := by
279
+ rintro i _ ⟨z, hz, rfl⟩
280
+ have hh := (hM _).2 hz
281
+ exact hmiddle z hh.1 hh.2.1 hh.2.2
282
+ have hJ : ∀ i, (J i).1 < (J i).2 := fun i => intervalStart_lt_end _
283
+ have hD : ∀ i, MeasurableSet (D i) := fun i => hDm _
284
+ have hnull : P (E \ ⋃ i, D i) = 0 := by
285
+ rw [sdiff_eq_empty.mpr (nat_retained_cover f σ K M L N _ E hcover), measure_empty]
286
+ have hretain : ∀ i ω, ω ∈ D i →
287
+ (fun t => f ω t) '' Icc (J i).1 (J i).2 ⊆ Q i := by
288
+ intro i ω hω
289
+ exact hω.1.2.2.2.1.image_subset
290
+ have hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
291
+ σ ω ≤ (J i).1 ∧ (J i).2 ≤ τ n ω ∧
292
+ EqOn (η n ω) (fun u => Fₙ n (f ω u)) (Icc (J i).1 (J i).2) := by
293
+ intro i
294
+ let j := enumerateRetainedPassage i
295
+ have hLH : L j.1.2.2.2 ⊆ upperHalfPlane := fun z hz => hOH ((hL _).2 hz).1
296
+ have hLU : F '' L j.1.2.2.2 ⊆ U := by
297
+ rintro _ ⟨z, hz, rfl⟩
298
+ exact hFOU ((hL _).2 hz).1
299
+ have hlt := eventually_front_lt_on_compact Fₙ F hF.continuousOn hconv pₙ p U hU hp hpconv
300
+ (L j.1.2.2.2) (hL _).1 hLH hLU (2 / 3) (fun z hz => ((hL _).2 hz).2)
301
+ filter_upwards [hlt] with n hn
302
+ filter_upwards [hη n, hτ n] with ω hηω hτω
303
+ intro hω
304
+ have hDi : ω ∈ retainedPassageCertificate f σ K M L N
305
+ (beyondFrontRegion O progress) j := hω.2
306
+ obtain ⟨⟨hσs, _, _, hmid, hlow⟩, _⟩ := hDi
307
+ have htau := hτω hω.1
308
+ have hbefore : intervalEnd j.1 ≤ τ n ω := by
309
+ by_contra hbad
310
+ have hmem : f ω (τ n ω) ∈ L j.1.2.2.2 :=
311
+ hlow.2 ⟨htau.1, (lt_of_not_ge hbad).le⟩
312
+ have hh := hn _ hmem
313
+ rw [← hηω (τ n ω) htau.1 (hLH hmem)] at hh
314
+ exact (not_le_of_gt hh) htau.2
315
+ refine ⟨hσs.le, hbefore, ?_⟩
316
+ intro t ht
317
+ exact hηω t (hσs.le.trans ht.1) (hOH ((hM _).2 (hmid ht)).1)
318
+ exact countable_stopped_mass_ae_window P κ hκ hκ8 (fun ω => f ω) hSLE
319
+ Fₙ F hFn hinj hF hne hconv Q hQ hQH R hR hQR J hJ E D hE hD hnull hretain
320
+ v hv hlim η (fun _ => σ) τ Rₙ hregion G q hq hG hwindow
321
+ /-- Actual tube passages produce retained sausage mass before the varying
322
+ front stop. Compact intervals and stop windows are both derived here. -/
323
+ theorem retained_tube_stopped_sausage_mass_eventually
324
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
325
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
326
+ (f : Ω → C(ℝ≥0, ℂ)) (hf : Measurable f)
327
+ (hSLE : IsOrdinaryChordalSLE κ (fun ω => f ω) P)
328
+ (σ : Ω → ℝ≥0) (hσ : Measurable σ)
329
+ (Fₙ : ℕ → ℂ → ℂ) (F : ℂ → ℂ)
330
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
331
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
332
+ (hF : DifferentiableOn ℂ F upperHalfPlane)
333
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
334
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
335
+ (O W : Set ℂ) (hO : IsOpen O) (hOH : O ⊆ upperHalfPlane)
336
+ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
337
+ (hp : ContinuousOn p U) (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
338
+ (hFOU : MapsTo F O U) (hW : W ⊆ {z | 1 < p (F z)})
339
+ (E : Set Ω) (hE : MeasurableSet E)
340
+ (htube : E ⊆ stoppedPhysicalTube (fun ω => f ω) σ O W)
341
+ (hstart : ∀ ω ∈ E, p (F (f ω (σ ω))) < 1 / 3)
342
+ (R : Set ℂ) (hR : IsOpen R)
343
+ (hmiddle : ∀ z ∈ O, 1 / 3 < p (F z) → p (F z) < 2 / 3 → F z ∈ R)
344
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
345
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (τ : ℕ → Ω → ℝ≥0) (Rₙ : ℕ → Set ℂ)
346
+ (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
347
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
348
+ (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n ∩ E))
349
+ (hη : ∀ n, ∀ᵐ ω ∂P, ∀ t : ℝ≥0, σ ω ≤ t → f ω t ∈ upperHalfPlane →
350
+ η n ω t = Fₙ n (f ω t))
351
+ (hτ : ∀ n, ∀ᵐ ω ∂P, ω ∈ G n ∩ E →
352
+ σ ω ≤ τ n ω ∧ 2 / 3 ≤ pₙ n (η n ω (τ n ω))) :
353
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
354
+ ENNReal.ofReal (q / 4) ≤ P {ω | ω ∈ G n ∩ E ∧ ENNReal.ofReal a ≤
355
+ segmentSausageCharge κ (η n ω) (σ ω) (τ n ω) (v n) (Rₙ n)} := by
356
+ let progress := fun z => p (F z)
357
+ have hprogress : ContinuousOn progress O :=
358
+ hp.comp (hF.continuousOn.mono hOH) hFOU
359
+ obtain ⟨K, M, L, N, hK, hM, hL, hN, hDm, hcover⟩ :=
360
+ stopped_tube_retained_cover f hf σ hσ O W hO hOH progress hprogress hW E htube hstart
361
+ let D : ℕ → Set Ω := fun i => retainedPassageCertificate f σ K M L N
362
+ (beyondFrontRegion O progress) (enumerateRetainedPassage i)
363
+ let Q : ℕ → Set ℂ := fun i => M (enumerateRetainedPassage i).1.2.2.1
364
+ let J : ℕ → ℝ≥0 × ℝ≥0 := fun i =>
365
+ (intervalStart (enumerateRetainedPassage i).1, intervalEnd (enumerateRetainedPassage i).1)
366
+ have hQ : ∀ i, IsCompact (Q i) := fun i => (hM _).1
367
+ have hQH : ∀ i, Q i ⊆ upperHalfPlane := fun i z hz => hOH ((hM _).2 hz).1
368
+ have hQR : ∀ i, F '' Q i ⊆ R := by
369
+ rintro i _ ⟨z, hz, rfl⟩
370
+ have hh := (hM _).2 hz
371
+ exact hmiddle z hh.1 hh.2.1 hh.2.2
372
+ have hJ : ∀ i, (J i).1 < (J i).2 := fun i => intervalStart_lt_end _
373
+ have hD : ∀ i, MeasurableSet (D i) := fun i => hDm _
374
+ have hnull : P (E \ ⋃ i, D i) = 0 := by
375
+ rw [sdiff_eq_empty.mpr (nat_retained_cover f σ K M L N _ E hcover), measure_empty]
376
+ have hretain : ∀ i ω, ω ∈ D i →
377
+ (fun t => f ω t) '' Icc (J i).1 (J i).2 ⊆ Q i := by
378
+ intro i ω hω
379
+ exact hω.1.2.2.2.1.image_subset
380
+ have hwindow : ∀ i, ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ G n ∩ E ∩ D i →
381
+ σ ω ≤ (J i).1 ∧ (J i).2 ≤ τ n ω ∧
382
+ EqOn (η n ω) (fun u => Fₙ n (f ω u)) (Icc (J i).1 (J i).2) := by
383
+ intro i
384
+ let j := enumerateRetainedPassage i
385
+ have hLH : L j.1.2.2.2 ⊆ upperHalfPlane := fun z hz => hOH ((hL _).2 hz).1
386
+ have hLU : F '' L j.1.2.2.2 ⊆ U := by
387
+ rintro _ ⟨z, hz, rfl⟩
388
+ exact hFOU ((hL _).2 hz).1
389
+ have hlt := eventually_front_lt_on_compact Fₙ F hF.continuousOn hconv pₙ p U hU hp hpconv
390
+ (L j.1.2.2.2) (hL _).1 hLH hLU (2 / 3) (fun z hz => ((hL _).2 hz).2)
391
+ filter_upwards [hlt] with n hn
392
+ filter_upwards [hη n, hτ n] with ω hηω hτω
393
+ intro hω
394
+ have hDi : ω ∈ retainedPassageCertificate f σ K M L N
395
+ (beyondFrontRegion O progress) j := hω.2
396
+ obtain ⟨⟨hσs, _, _, hmid, hlow⟩, _⟩ := hDi
397
+ have htau := hτω hω.1
398
+ have hbefore : intervalEnd j.1 ≤ τ n ω := by
399
+ by_contra hbad
400
+ have hmem : f ω (τ n ω) ∈ L j.1.2.2.2 :=
401
+ hlow.2 ⟨htau.1, (lt_of_not_ge hbad).le⟩
402
+ have hh := hn _ hmem
403
+ rw [← hηω (τ n ω) htau.1 (hLH hmem)] at hh
404
+ exact (not_le_of_gt hh) htau.2
405
+ refine ⟨hσs.le, hbefore, ?_⟩
406
+ intro t ht
407
+ exact hηω t (hσs.le.trans ht.1) (hOH ((hM _).2 (hmid ht)).1)
408
+ exact countable_stopped_mass_ae_window_eventually P κ hκ hκ8 (fun ω => f ω) hSLE
409
+ Fₙ F hFn hinj hF hne hconv Q hQ hQH R hR hQR J hJ E D hE hD hnull hretain
410
+ v hv hlim η (fun _ => σ) τ Rₙ hregion G q hq hG hwindow
411
+
412
+ end SLEExactGauge.RetainedTubeSausage
413
+
414
+ end
415
+
416
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonAccessGuide.lean CHANGED
@@ -1,82 +1,82 @@
1
- import OAI.Probability.SLE.Gauge.RibbonFrontFreshness
2
-
3
- namespace OAI
4
-
5
- /-! The physical ribbon guide supplies surviving-domain and compactness
6
- geometry under a two-sided waypoint angle hypothesis. -/
7
-
8
- noncomputable section
9
- open Set Filter Metric
10
- open scoped Topology NNReal
11
-
12
- namespace SLEExactGauge.RibbonCoordinates
13
-
14
- theorem ribbon_access_guide_geometry
15
- (hpublished : PublishedPlanarDiskOpenness)
16
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
17
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
18
- (hescape : Tendsto (fun s : ℝ => ‖P (s : ℂ)‖) atTop atTop)
19
- (γ xp : ℝ≥0 → ℂ) (T : ℝ≥0) (hxp : ContinuousOn xp (Icc 0 T))
20
- (hxp0 : (xp 0).re = 0) (hcoords : MapsTo xp (Icc 0 T) closedRibbon)
21
- (hγ : EqOn γ (P ∘ xp) (Icc 0 T))
22
- (k x : ℝ) (hk : 0 ≤ k) (hx : |x| ≤ 1 / 4)
23
- (htip : xp T = (k : ℂ) + (x : ℂ) * Complex.I)
24
- (hfront : ∀ t : ℝ≥0, t < T → (xp t).re < k)
25
- (C : ℝ≥0) (K : ℝ) (hK : 0 < K)
26
- (hL : LipschitzOnWith C P (guidePatch k))
27
- (hlower : ∀ u ∈ guidePatch k, ∀ v ∈ guidePatch k,
28
- dist u v ≤ K * dist (P u) (P v)) :
29
- let α := fun t => P (guideCoordinate k x t)
30
- ContinuousOn α (Icc 0 2) ∧ InjOn α (Icc 0 2) ∧ α 0 = γ T ∧
31
- MapsTo α (Ioc 0 2) (survivingDomain γ T) ∧
32
- (∀ s : ℝ≥0, s < T → γ T ∈ survivingDomain γ s) ∧
33
- LipschitzOnWith (2 * C) α (Icc 0 2) ∧
34
- (∀ u ∈ Icc (0 : ℝ) 2, ∀ v ∈ Icc (0 : ℝ) 2,
35
- (1 / K) * |u - v| ≤ dist (α u) (α v)) ∧
36
- (∀ δ : ℝ, 0 < δ → δ ≤ 2 → ∃ r : ℝ, 0 < r ∧
37
- ∀ t ∈ Icc δ 2, ball (α t) r ⊆ survivingDomain γ T) := by
38
- dsimp only
39
- have htipre : (xp T).re = k := by simp [htip]
40
- have htipim : (xp T).im = x := by simp [htip]
41
- have hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k} := by
42
- rintro z ⟨t, ht, rfl⟩
43
- refine ⟨xp t, ⟨hcoords ht, ?_⟩, (hγ ht).symm⟩
44
- by_cases he : t = T
45
- · simpa only [he, htipre] using le_rfl (a := k)
46
- · exact (hfront t (lt_of_le_of_ne ht.2 he)).le
47
- have hunbounded := futureRibbon_unbounded_of_centerline_escape P k hescape
48
- have hguidePatch : MapsTo (guideCoordinate k x) (Icc (0 : ℝ) 2) (guidePatch k) :=
49
- fun _ ht => guideCoordinate_mem_patch hx ht
50
- have hguideClosed := hguidePatch.mono_right (guidePatch_subset_closedRibbon hk)
51
- have hαcont : ContinuousOn (fun t => P (guideCoordinate k x t)) (Icc 0 2) :=
52
- hP.comp (guideCoordinate_continuous k x).continuousOn hguideClosed
53
- have hαinj : InjOn (fun t => P (guideCoordinate k x t)) (Icc 0 2) := by
54
- intro u hu v hv he
55
- have hc := hi (hguideClosed hu) (hguideClosed hv) he
56
- have hre := congrArg Complex.re hc
57
- simp only [guideCoordinate_re] at hre
58
- linarith
59
- have hα0 : P (guideCoordinate k x 0) = γ T := by
60
- rw [guideCoordinate_zero, ← htip]
61
- exact (hγ ⟨bot_le, le_rfl⟩).symm
62
- have hαD : MapsTo (fun t => P (guideCoordinate k x t)) (Ioc 0 2)
63
- (survivingDomain γ T) := by
64
- intro t ht
65
- apply futureRibbon_survives P hP hi hk hH γ T hpast hunbounded
66
- apply mem_image_of_mem
67
- change k < (guideCoordinate k x t).re ∧ |(guideCoordinate k x t).im| < 1
68
- exact ⟨by rw [guideCoordinate_re]; linarith [ht.1],
69
- (guideCoordinate_im_bound ht.1.le).trans_lt (hx.trans_lt (by norm_num))⟩
70
- have hfresh := ribbon_front_tip_survives_prior P hP hi hH hescape γ xp T hxp hxp0 hcoords hγ
71
- (fun t ht => by rw [htipre]; exact hfront t ht)
72
- (by rw [htipim]; exact hx.trans_lt (by norm_num))
73
- exact ⟨hαcont, hαinj, hα0, hαD, hfresh, physical_guide_lipschitz P C hx hL,
74
- physical_guide_lower_chord P hx hK hlower,
75
- fun δ hδ hδ2 => physical_guide_clearance_away hpublished P hP hi hk hx hK
76
- hH γ T hpast hunbounded hlower hδ hδ2⟩
77
-
78
- end SLEExactGauge.RibbonCoordinates
79
-
80
- end
81
-
82
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonFrontFreshness
2
+
3
+ namespace OAI
4
+
5
+ /-! The physical ribbon guide supplies surviving-domain and compactness
6
+ geometry under a two-sided waypoint angle hypothesis. -/
7
+
8
+ noncomputable section
9
+ open Set Filter Metric
10
+ open scoped Topology NNReal
11
+
12
+ namespace SLEExactGauge.RibbonCoordinates
13
+
14
+ theorem ribbon_access_guide_geometry
15
+ (hpublished : PublishedPlanarDiskOpenness)
16
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
17
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
18
+ (hescape : Tendsto (fun s : ℝ => ‖P (s : ℂ)‖) atTop atTop)
19
+ (γ xp : ℝ≥0 → ℂ) (T : ℝ≥0) (hxp : ContinuousOn xp (Icc 0 T))
20
+ (hxp0 : (xp 0).re = 0) (hcoords : MapsTo xp (Icc 0 T) closedRibbon)
21
+ (hγ : EqOn γ (P ∘ xp) (Icc 0 T))
22
+ (k x : ℝ) (hk : 0 ≤ k) (hx : |x| ≤ 1 / 4)
23
+ (htip : xp T = (k : ℂ) + (x : ℂ) * Complex.I)
24
+ (hfront : ∀ t : ℝ≥0, t < T → (xp t).re < k)
25
+ (C : ℝ≥0) (K : ℝ) (hK : 0 < K)
26
+ (hL : LipschitzOnWith C P (guidePatch k))
27
+ (hlower : ∀ u ∈ guidePatch k, ∀ v ∈ guidePatch k,
28
+ dist u v ≤ K * dist (P u) (P v)) :
29
+ let α := fun t => P (guideCoordinate k x t)
30
+ ContinuousOn α (Icc 0 2) ∧ InjOn α (Icc 0 2) ∧ α 0 = γ T ∧
31
+ MapsTo α (Ioc 0 2) (survivingDomain γ T) ∧
32
+ (∀ s : ℝ≥0, s < T → γ T ∈ survivingDomain γ s) ∧
33
+ LipschitzOnWith (2 * C) α (Icc 0 2) ∧
34
+ (∀ u ∈ Icc (0 : ℝ) 2, ∀ v ∈ Icc (0 : ℝ) 2,
35
+ (1 / K) * |u - v| ≤ dist (α u) (α v)) ∧
36
+ (∀ δ : ℝ, 0 < δ → δ ≤ 2 → ∃ r : ℝ, 0 < r ∧
37
+ ∀ t ∈ Icc δ 2, ball (α t) r ⊆ survivingDomain γ T) := by
38
+ dsimp only
39
+ have htipre : (xp T).re = k := by simp [htip]
40
+ have htipim : (xp T).im = x := by simp [htip]
41
+ have hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k} := by
42
+ rintro z ⟨t, ht, rfl⟩
43
+ refine ⟨xp t, ⟨hcoords ht, ?_⟩, (hγ ht).symm⟩
44
+ by_cases he : t = T
45
+ · simpa only [he, htipre] using le_rfl (a := k)
46
+ · exact (hfront t (lt_of_le_of_ne ht.2 he)).le
47
+ have hunbounded := futureRibbon_unbounded_of_centerline_escape P k hescape
48
+ have hguidePatch : MapsTo (guideCoordinate k x) (Icc (0 : ℝ) 2) (guidePatch k) :=
49
+ fun _ ht => guideCoordinate_mem_patch hx ht
50
+ have hguideClosed := hguidePatch.mono_right (guidePatch_subset_closedRibbon hk)
51
+ have hαcont : ContinuousOn (fun t => P (guideCoordinate k x t)) (Icc 0 2) :=
52
+ hP.comp (guideCoordinate_continuous k x).continuousOn hguideClosed
53
+ have hαinj : InjOn (fun t => P (guideCoordinate k x t)) (Icc 0 2) := by
54
+ intro u hu v hv he
55
+ have hc := hi (hguideClosed hu) (hguideClosed hv) he
56
+ have hre := congrArg Complex.re hc
57
+ simp only [guideCoordinate_re] at hre
58
+ linarith
59
+ have hα0 : P (guideCoordinate k x 0) = γ T := by
60
+ rw [guideCoordinate_zero, ← htip]
61
+ exact (hγ ⟨bot_le, le_rfl⟩).symm
62
+ have hαD : MapsTo (fun t => P (guideCoordinate k x t)) (Ioc 0 2)
63
+ (survivingDomain γ T) := by
64
+ intro t ht
65
+ apply futureRibbon_survives P hP hi hk hH γ T hpast hunbounded
66
+ apply mem_image_of_mem
67
+ change k < (guideCoordinate k x t).re ∧ |(guideCoordinate k x t).im| < 1
68
+ exact ⟨by rw [guideCoordinate_re]; linarith [ht.1],
69
+ (guideCoordinate_im_bound ht.1.le).trans_lt (hx.trans_lt (by norm_num))⟩
70
+ have hfresh := ribbon_front_tip_survives_prior P hP hi hH hescape γ xp T hxp hxp0 hcoords hγ
71
+ (fun t ht => by rw [htipre]; exact hfront t ht)
72
+ (by rw [htipim]; exact hx.trans_lt (by norm_num))
73
+ exact ⟨hαcont, hαinj, hα0, hαD, hfresh, physical_guide_lipschitz P C hx hL,
74
+ physical_guide_lower_chord P hx hK hlower,
75
+ fun δ hδ hδ2 => physical_guide_clearance_away hpublished P hP hi hk hx hK
76
+ hH γ T hpast hunbounded hlower hδ hδ2⟩
77
+
78
+ end SLEExactGauge.RibbonCoordinates
79
+
80
+ end
81
+
82
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonConcatenation.lean CHANGED
@@ -1,101 +1,101 @@
1
- import OAI.Probability.SLE.Gauge.DenseCoverCore
2
-
3
- namespace OAI
4
-
5
- /-! Adapted concatenation and the mass/probability scaling of a serpentine
6
- ribbon with a quadratic number of narrow steps. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory
10
- open scoped Topology ENNReal NNReal
11
-
12
- namespace SLEExactGauge
13
-
14
- /-- Success probabilities multiply as lower bounds under adapted restarts.
15
- The successive steps need not be independent. -/
16
- theorem adapted_successes_lower_bound
17
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω)
18
- (F : Filtration ℕ mΩ) (success : ℕ → Set Ω)
19
- (hmeas : ∀ n, MeasurableSet[F (n + 1)] (success n))
20
- (q : ℝ≥0∞)
21
- (hstep : ∀ n (B : Set Ω), MeasurableSet[F n] B →
22
- q * P B ≤ P (B ∩ success n)) :
23
- ∀ N : ℕ, q ^ N * P univ ≤ P (⋂ n ∈ Finset.range N, success n) := by
24
- intro N
25
- induction N with
26
- | zero => simp
27
- | succ N ih =>
28
- let B : Set Ω := ⋂ n ∈ Finset.range N, success n
29
- have hB : MeasurableSet[F N] B := by
30
- apply MeasurableSet.iInter
31
- intro n
32
- apply MeasurableSet.iInter
33
- intro hn
34
- exact (F.mono (Nat.succ_le_of_lt (Finset.mem_range.mp hn))) _ (hmeas n)
35
- have he : (⋂ n ∈ Finset.range (N + 1), success n) = B ∩ success N := by
36
- ext ω
37
- simp only [mem_iInter, Finset.mem_range, mem_inter_iff, B]
38
- constructor
39
- · intro hω
40
- exact ⟨fun n hn => hω n (Nat.lt_succ_of_lt hn), hω N (Nat.lt_succ_self N)⟩
41
- · rintro ⟨hω, hN⟩ n hn
42
- rcases Nat.lt_succ_iff_lt_or_eq.mp hn with hn | rfl
43
- · exact hω n hn
44
- · exact hN
45
- rw [he, pow_succ]
46
- calc
47
- q ^ N * q * P univ = q * (q ^ N * P univ) := by ac_rfl
48
- _ ≤ q * P B := mul_le_mul' le_rfl ih
49
- _ ≤ P (B ∩ success N) := hstep N B hB
50
-
51
- lemma ribbon_mass_power_cancellation (κ : ℝ) {m : ℝ} (hm : 0 < m) :
52
- m ^ 2 * (1 / m) ^ dimension κ = m ^ codimension κ := by
53
- rw [one_div, Real.inv_rpow hm.le, ← Real.rpow_neg hm.le,
54
- ← Real.rpow_two, ← Real.rpow_add hm]
55
- rfl
56
-
57
- /-- The disjoint middle strips of `m²` steps of width `1/m` carry mass of
58
- order `m^(2-d)`, with no dependence assumption in this deterministic sum. -/
59
- theorem ribbon_m_squared_mass_lower {ι : Type*} (I : Finset ι)
60
- (ν : Measure ℂ) (D : ι → Set ℂ)
61
- (hdisj : (I : Set ι).PairwiseDisjoint D)
62
- (hmeas : ∀ i ∈ I, MeasurableSet (D i))
63
- (κ : ℝ) (m : ℕ) (hm : 0 < m) (hcard : I.card = m ^ 2)
64
- (b : ℝ) (_hb : 0 ≤ b)
65
- (hmass : ∀ i ∈ I, ENNReal.ofReal (b * (1 / (m : ℝ)) ^ dimension κ) ≤ ν (D i)) :
66
- ENNReal.ofReal (b * (m : ℝ) ^ codimension κ) ≤ ν (⋃ i ∈ I, D i) := by
67
- have hmR : (0 : ℝ) < m := by exact_mod_cast hm
68
- rw [measure_biUnion_finset hdisj hmeas]
69
- calc
70
- _ = ∑ _i ∈ I, ENNReal.ofReal (b * (1 / (m : ℝ)) ^ dimension κ) := by
71
- rw [Finset.sum_const, nsmul_eq_mul, hcard,
72
- ← ENNReal.ofReal_natCast, ← ENNReal.ofReal_mul (Nat.cast_nonneg _)]
73
- congr 1
74
- rw [Nat.cast_pow]
75
- calc
76
- b * (m : ℝ) ^ codimension κ = b *
77
- ((m : ℝ) ^ 2 * (1 / (m : ℝ)) ^ dimension κ) := by
78
- rw [ribbon_mass_power_cancellation κ hmR]
79
- _ = _ := by ring
80
- _ ≤ _ := Finset.sum_le_sum hmass
81
-
82
- /-- A quadratic number of fixed-probability passages has the exponential
83
- cost used by the dense visit. -/
84
- theorem ribbon_quadratic_probability {q : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) :
85
- ∃ C : ℝ, 0 < C ∧ ∀ m : ℕ,
86
- Real.exp (-C * (m : ℝ) ^ 2) ≤ q ^ (m ^ 2) := by
87
- have hlog : Real.log q ≤ 0 := Real.log_nonpos hq.le hq1
88
- refine ⟨1 - Real.log q, by linarith, ?_⟩
89
- intro m
90
- calc
91
- _ ≤ Real.exp ((m ^ 2 : ℕ) * Real.log q) := by
92
- apply Real.exp_le_exp.mpr
93
- rw [Nat.cast_pow]
94
- nlinarith [sq_nonneg (m : ℝ)]
95
- _ = q ^ (m ^ 2) := by rw [Real.exp_nat_mul, Real.exp_log hq]
96
-
97
- end SLEExactGauge
98
-
99
- end
100
-
101
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.DenseCoverCore
2
+
3
+ namespace OAI
4
+
5
+ /-! Adapted concatenation and the mass/probability scaling of a serpentine
6
+ ribbon with a quadratic number of narrow steps. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory
10
+ open scoped Topology ENNReal NNReal
11
+
12
+ namespace SLEExactGauge
13
+
14
+ /-- Success probabilities multiply as lower bounds under adapted restarts.
15
+ The successive steps need not be independent. -/
16
+ theorem adapted_successes_lower_bound
17
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω)
18
+ (F : Filtration ℕ mΩ) (success : ℕ → Set Ω)
19
+ (hmeas : ∀ n, MeasurableSet[F (n + 1)] (success n))
20
+ (q : ℝ≥0∞)
21
+ (hstep : ∀ n (B : Set Ω), MeasurableSet[F n] B →
22
+ q * P B ≤ P (B ∩ success n)) :
23
+ ∀ N : ℕ, q ^ N * P univ ≤ P (⋂ n ∈ Finset.range N, success n) := by
24
+ intro N
25
+ induction N with
26
+ | zero => simp
27
+ | succ N ih =>
28
+ let B : Set Ω := ⋂ n ∈ Finset.range N, success n
29
+ have hB : MeasurableSet[F N] B := by
30
+ apply MeasurableSet.iInter
31
+ intro n
32
+ apply MeasurableSet.iInter
33
+ intro hn
34
+ exact (F.mono (Nat.succ_le_of_lt (Finset.mem_range.mp hn))) _ (hmeas n)
35
+ have he : (⋂ n ∈ Finset.range (N + 1), success n) = B ∩ success N := by
36
+ ext ω
37
+ simp only [mem_iInter, Finset.mem_range, mem_inter_iff, B]
38
+ constructor
39
+ · intro hω
40
+ exact ⟨fun n hn => hω n (Nat.lt_succ_of_lt hn), hω N (Nat.lt_succ_self N)⟩
41
+ · rintro ⟨hω, hN⟩ n hn
42
+ rcases Nat.lt_succ_iff_lt_or_eq.mp hn with hn | rfl
43
+ · exact hω n hn
44
+ · exact hN
45
+ rw [he, pow_succ]
46
+ calc
47
+ q ^ N * q * P univ = q * (q ^ N * P univ) := by ac_rfl
48
+ _ ≤ q * P B := mul_le_mul' le_rfl ih
49
+ _ ≤ P (B ∩ success N) := hstep N B hB
50
+
51
+ lemma ribbon_mass_power_cancellation (κ : ℝ) {m : ℝ} (hm : 0 < m) :
52
+ m ^ 2 * (1 / m) ^ dimension κ = m ^ codimension κ := by
53
+ rw [one_div, Real.inv_rpow hm.le, ← Real.rpow_neg hm.le,
54
+ ← Real.rpow_two, ← Real.rpow_add hm]
55
+ rfl
56
+
57
+ /-- The disjoint middle strips of `m²` steps of width `1/m` carry mass of
58
+ order `m^(2-d)`, with no dependence assumption in this deterministic sum. -/
59
+ theorem ribbon_m_squared_mass_lower {ι : Type*} (I : Finset ι)
60
+ (ν : Measure ℂ) (D : ι → Set ℂ)
61
+ (hdisj : (I : Set ι).PairwiseDisjoint D)
62
+ (hmeas : ∀ i ∈ I, MeasurableSet (D i))
63
+ (κ : ℝ) (m : ℕ) (hm : 0 < m) (hcard : I.card = m ^ 2)
64
+ (b : ℝ) (_hb : 0 ≤ b)
65
+ (hmass : ∀ i ∈ I, ENNReal.ofReal (b * (1 / (m : ℝ)) ^ dimension κ) ≤ ν (D i)) :
66
+ ENNReal.ofReal (b * (m : ℝ) ^ codimension κ) ≤ ν (⋃ i ∈ I, D i) := by
67
+ have hmR : (0 : ℝ) < m := by exact_mod_cast hm
68
+ rw [measure_biUnion_finset hdisj hmeas]
69
+ calc
70
+ _ = ∑ _i ∈ I, ENNReal.ofReal (b * (1 / (m : ℝ)) ^ dimension κ) := by
71
+ rw [Finset.sum_const, nsmul_eq_mul, hcard,
72
+ ← ENNReal.ofReal_natCast, ← ENNReal.ofReal_mul (Nat.cast_nonneg _)]
73
+ congr 1
74
+ rw [Nat.cast_pow]
75
+ calc
76
+ b * (m : ℝ) ^ codimension κ = b *
77
+ ((m : ℝ) ^ 2 * (1 / (m : ℝ)) ^ dimension κ) := by
78
+ rw [ribbon_mass_power_cancellation κ hmR]
79
+ _ = _ := by ring
80
+ _ ≤ _ := Finset.sum_le_sum hmass
81
+
82
+ /-- A quadratic number of fixed-probability passages has the exponential
83
+ cost used by the dense visit. -/
84
+ theorem ribbon_quadratic_probability {q : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) :
85
+ ∃ C : ℝ, 0 < C ∧ ∀ m : ℕ,
86
+ Real.exp (-C * (m : ℝ) ^ 2) ≤ q ^ (m ^ 2) := by
87
+ have hlog : Real.log q ≤ 0 := Real.log_nonpos hq.le hq1
88
+ refine ⟨1 - Real.log q, by linarith, ?_⟩
89
+ intro m
90
+ calc
91
+ _ ≤ Real.exp ((m ^ 2 : ℕ) * Real.log q) := by
92
+ apply Real.exp_le_exp.mpr
93
+ rw [Nat.cast_pow]
94
+ nlinarith [sq_nonneg (m : ℝ)]
95
+ _ = q ^ (m ^ 2) := by rw [Real.exp_nat_mul, Real.exp_log hq]
96
+
97
+ end SLEExactGauge
98
+
99
+ end
100
+
101
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonCoordinateCompactness.lean CHANGED
@@ -1,350 +1,350 @@
1
- import OAI.Probability.SLE.Gauge.RibbonCoordinateGeometry
2
- import Mathlib.Topology.ContinuousMap.Bounded.ArzelaAscoli
3
-
4
- namespace OAI
5
-
6
- /-! Common physical domains and convergence of inverse ribbon coordinates
7
- on a fixed compact coordinate patch. The uniform lower Lipschitz bound
8
- controls the inverse without requiring derivative convergence. -/
9
-
10
- noncomputable section
11
- open Set Filter Metric
12
- open scoped Topology NNReal BoundedContinuousFunction
13
-
14
- namespace SLEExactGauge.RibbonCoordinates
15
-
16
- def coordinateInverse (P : ℂ → ℂ) (K : Set ℂ) : ℂ → ℂ := Function.invFunOn P K
17
-
18
- theorem coordinateInverse_mem {P : ℂ → ℂ} {K : Set ℂ} {z : ℂ}
19
- (hz : z ∈ P '' K) : coordinateInverse P K z ∈ K :=
20
- Function.invFunOn_mem hz
21
-
22
- theorem coordinateInverse_right {P : ℂ → ℂ} {K : Set ℂ} {z : ℂ}
23
- (hz : z ∈ P '' K) : P (coordinateInverse P K z) = z :=
24
- Function.invFunOn_eq hz
25
-
26
- theorem coordinateInverse_left {P : ℂ → ℂ} {K : Set ℂ}
27
- (hi : InjOn P K) {z : ℂ} (hz : z ∈ K) :
28
- coordinateInverse P K (P z) = z :=
29
- hi.leftInvOn_invFunOn hz
30
-
31
- /-- Physical coordinate regions agree with inverse-coordinate membership. -/
32
- theorem coordinate_image_region_iff {P : ℂ → ℂ} {K A : Set ℂ}
33
- (hi : InjOn P K) (hA : A ⊆ K) {z : ℂ} :
34
- z ∈ P '' A ↔ z ∈ P '' K ∧ coordinateInverse P K z ∈ A := by
35
- constructor
36
- · rintro ⟨x, hx, rfl⟩
37
- exact ⟨mem_image_of_mem P (hA hx), by simpa only [coordinateInverse_left hi (hA hx)] using hx⟩
38
- · rintro ⟨hz, hAq⟩
39
- exact ⟨coordinateInverse P K z, hAq, coordinateInverse_right hz⟩
40
-
41
- theorem coordinateInverse_lipschitz
42
- (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0)
43
- (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) :
44
- LipschitzOnWith L (coordinateInverse P K) (P '' K) := by
45
- apply lipschitzOnWith_iff_dist_le_mul.mpr
46
- intro x hx y hy
47
- have hh := hlower _ (coordinateInverse_mem hx) _ (coordinateInverse_mem hy)
48
- simpa only [coordinateInverse_right hx, coordinateInverse_right hy] using hh
49
-
50
- theorem lower_lipschitz_uniform_limit
51
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0)
52
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
53
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y)) :
54
- ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y) := by
55
- intro x hx y hy
56
- exact ge_of_tendsto (tendsto_const_nhds.mul ((hconv.tendsto_at hx).dist (hconv.tendsto_at hy)))
57
- (Eventually.of_forall fun n => hlower n x hx y hy)
58
-
59
- /-- Common image containment converts uniform forward convergence into
60
- uniform inverse convergence on any retained physical set. -/
61
- theorem coordinateInverse_uniform_on
62
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K S : Set ℂ) (L : ℝ≥0)
63
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
64
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
65
- (hSP : S ⊆ P '' K) (hcover : ∀ᶠ n in atTop, S ⊆ Pₙ n '' K) :
66
- TendstoUniformlyOn (fun n => coordinateInverse (Pₙ n) K) (coordinateInverse P K) atTop S := by
67
- apply Metric.tendstoUniformlyOn_iff.mpr
68
- intro ε hε
69
- have hL : 0 < (L : ℝ) + 1 := by positivity
70
- have hη : 0 < ε / ((L : ℝ) + 1) := div_pos hε hL
71
- filter_upwards [hcover, Metric.tendstoUniformlyOn_iff.mp hconv _ hη] with n hn hclose
72
- intro z hz
73
- have hq : coordinateInverse P K z ∈ K := coordinateInverse_mem (hSP hz)
74
- have hqn : coordinateInverse (Pₙ n) K z ∈ K := coordinateInverse_mem (hn hz)
75
- have he := hlower n _ hqn _ hq
76
- rw [coordinateInverse_right (hn hz)] at he
77
- have hd := hclose _ hq
78
- rw [coordinateInverse_right (hSP hz)] at hd
79
- have he' : dist (coordinateInverse P K z) (coordinateInverse (Pₙ n) K z) ≤
80
- (L : ℝ) * dist z (Pₙ n (coordinateInverse P K z)) := by
81
- simpa only [dist_comm] using he
82
- calc
83
- _ ≤ (L : ℝ) * dist z (Pₙ n (coordinateInverse P K z)) := he'
84
- _ ≤ ((L : ℝ) + 1) * dist z (Pₙ n (coordinateInverse P K z)) :=
85
- mul_le_mul_of_nonneg_right (by linarith) dist_nonneg
86
- _ < ((L : ℝ) + 1) * (ε / ((L : ℝ) + 1)) := mul_lt_mul_of_pos_left hd hL
87
- _ = ε := mul_div_cancel₀ ε hL.ne'
88
-
89
- /-- The uniform inverse bound makes every coordinate chart injective. -/
90
- theorem lower_lipschitz_injOn
91
- (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0)
92
- (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) :
93
- InjOn P K := by
94
- intro x hx y hy he
95
- have hh := hlower x hx y hy
96
- rw [he, dist_self, mul_zero] at hh
97
- exact dist_eq_zero.mp (le_antisymm hh dist_nonneg)
98
-
99
- /-- The limiting coordinate image has an open interior physical domain. -/
100
- theorem isOpen_image_interior
101
- (hpublished : PublishedPlanarDiskOpenness)
102
- (P : ℂ → ℂ) (K : Set ℂ)
103
- (hP : ContinuousOn P K) (hi : InjOn P K) :
104
- IsOpen (P '' interior K) := by
105
- apply isOpen_iff_mem_nhds.mpr
106
- rintro z ⟨x, hx, rfl⟩
107
- obtain ⟨r, hr, hball⟩ := Metric.isOpen_iff.mp isOpen_interior x hx
108
- have hsub : ball x r ⊆ K := hball.trans interior_subset
109
- have hopen := hpublished P x r hr (hP.mono hsub) (hi.mono hsub)
110
- exact mem_of_superset
111
- (hopen.mem_nhds (mem_image_of_mem P (mem_ball_self hr)))
112
- (image_mono hball)
113
-
114
- /-- Compact physical subsets of the limiting interior image belong to
115
- all sufficiently late moving interior images. -/
116
- theorem eventual_compact_image_interior
117
- (hpublished : PublishedPlanarDiskOpenness)
118
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K S : Set ℂ) (L : ℝ≥0)
119
- (hL : 0 < L)
120
- (hPn : ∀ n, ContinuousOn (Pₙ n) K)
121
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
122
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
123
- (hS : IsCompact S) (hSP : S ⊆ P '' interior K) :
124
- ∀ᶠ n in atTop, S ⊆ Pₙ n '' interior K := by
125
- have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
126
- have hi := lower_lipschitz_injOn P K L hlim
127
- have hSK : S ⊆ P '' K := hSP.trans (image_mono interior_subset)
128
- let Q := coordinateInverse P K '' S
129
- have hQ : IsCompact Q := hS.image_of_continuousOn
130
- ((coordinateInverse_lipschitz P K L hlim).continuousOn.mono hSK)
131
- have hQK : Q ⊆ interior K := by
132
- rintro _ ⟨z, hz, rfl⟩
133
- obtain ⟨x, hx, he⟩ := hSP hz
134
- have hqx : coordinateInverse P K z = x := hi
135
- (coordinateInverse_mem (hSK hz)) (interior_subset hx)
136
- ((coordinateInverse_right (hSK hz)).trans he.symm)
137
- simpa only [hqx] using hx
138
- obtain ⟨ρ, hρ, hthick⟩ := hQ.exists_cthickening_subset_open isOpen_interior hQK
139
- have hLr : 0 < (L : ℝ) := hL
140
- filter_upwards [Metric.tendstoUniformlyOn_iff.mp hconv (ρ / L) (div_pos hρ hLr)] with n hn
141
- intro z hz
142
- let x := coordinateInverse P K z
143
- have hxQ : x ∈ Q := mem_image_of_mem _ hz
144
- have hxK : x ∈ K := interior_subset (hQK hxQ)
145
- have hball : closedBall x ρ ⊆ interior K := by
146
- intro y hy
147
- exact hthick (mem_cthickening_of_dist_le y x ρ Q hxQ hy)
148
- have hballK := hball.trans interior_subset
149
- have hiₙ := lower_lipschitz_injOn (Pₙ n) K L (hlower n)
150
- have hopen := hpublished (Pₙ n) x ρ hρ
151
- ((hPn n).mono (ball_subset_closedBall.trans hballK))
152
- (hiₙ.mono (ball_subset_closedBall.trans hballK))
153
- have hcontains := ball_subset_image_ball (Pₙ n) x hρ hLr
154
- ((hPn n).mono hballK) hopen
155
- (fun y hy => hlower n y (hballK hy) x hxK)
156
- apply (image_mono (ball_subset_closedBall.trans hball))
157
- apply hcontains
158
- have hh := hn x hxK
159
- rw [coordinateInverse_right (hSK hz)] at hh
160
- simpa only [mem_ball, dist_comm] using hh
161
-
162
- /-- The inverse ribbon charts converge locally uniformly on the full
163
- limiting interior image. Only compact subsets are eventually common. -/
164
- theorem coordinateInverse_locally_uniform
165
- (hpublished : PublishedPlanarDiskOpenness)
166
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0)
167
- (hL : 0 < L) (hP : ContinuousOn P K)
168
- (hPn : ∀ n, ContinuousOn (Pₙ n) K)
169
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
170
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y)) :
171
- TendstoLocallyUniformlyOn (fun n => coordinateInverse (Pₙ n) K)
172
- (coordinateInverse P K) atTop (P '' interior K) := by
173
- have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
174
- have hopen := isOpen_image_interior hpublished P K hP
175
- (lower_lipschitz_injOn P K L hlim)
176
- apply (tendstoLocallyUniformlyOn_iff_forall_isCompact hopen).mpr
177
- intro S hSP hS
178
- exact coordinateInverse_uniform_on Pₙ P K S L hconv hlower
179
- (hSP.trans (image_mono interior_subset))
180
- ((eventual_compact_image_interior hpublished Pₙ P K S L hL hPn hconv hlower hS hSP).mono
181
- (fun _ h => h.trans (image_mono interior_subset)))
182
-
183
- /-- A compact retained physical patch admits one common open neighborhood
184
- contained in every sufficiently late coordinate image. -/
185
- theorem common_physical_neighborhood
186
- (hpublished : PublishedPlanarDiskOpenness)
187
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K A : Set ℂ) (L : ℝ≥0)
188
- (hL : 0 < L) (hP : ContinuousOn P K)
189
- (hPn : ∀ n, ContinuousOn (Pₙ n) K)
190
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
191
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
192
- (hA : IsCompact A) (hAP : A ⊆ P '' interior K) :
193
- ∃ U : Set ℂ, IsOpen U ∧ A ⊆ U ∧ IsCompact (closure U) ∧
194
- closure U ⊆ P '' interior K ∧
195
- (∀ᶠ n in atTop, closure U ⊆ Pₙ n '' interior K) ∧
196
- TendstoUniformlyOn (fun n => coordinateInverse (Pₙ n) K)
197
- (coordinateInverse P K) atTop (closure U) := by
198
- have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
199
- have hopen := isOpen_image_interior hpublished P K hP
200
- (lower_lipschitz_injOn P K L hlim)
201
- obtain ⟨ρ, hρ, hthick⟩ := hA.exists_cthickening_subset_open hopen hAP
202
- let U := thickening ρ A
203
- have hclosure : closure U ⊆ cthickening ρ A := closure_thickening_subset_cthickening ρ A
204
- have hUc : IsCompact (closure U) := (hA.cthickening).of_isClosed_subset isClosed_closure hclosure
205
- have hUP : closure U ⊆ P '' interior K := hclosure.trans hthick
206
- have hlate := eventual_compact_image_interior hpublished Pₙ P K (closure U) L hL hPn
207
- hconv hlower hUc hUP
208
- exact ⟨U, isOpen_thickening, self_subset_thickening hρ A, hUc, hUP, hlate,
209
- coordinateInverse_uniform_on Pₙ P K (closure U) L hconv hlower
210
- (hUP.trans (image_mono interior_subset))
211
- (hlate.mono (fun _ h => h.trans (image_mono interior_subset)))⟩
212
-
213
- /-- The source longitudinal coordinate is the real part of the inverse
214
- ribbon chart, translated by the current front coordinate. -/
215
- def longitudinalCoordinate (P : ℂ → ℂ) (K : Set ℂ) (k : ℝ) (z : ℂ) : ℝ :=
216
- (coordinateInverse P K z).re - k
217
-
218
- theorem longitudinalCoordinate_locally_uniform
219
- (hpublished : PublishedPlanarDiskOpenness)
220
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0) (k : ℝ)
221
- (hL : 0 < L) (hP : ContinuousOn P K)
222
- (hPn : ∀ n, ContinuousOn (Pₙ n) K)
223
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
224
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y)) :
225
- TendstoLocallyUniformlyOn (fun n => longitudinalCoordinate (Pₙ n) K k)
226
- (longitudinalCoordinate P K k) atTop (P '' interior K) := by
227
- have hh := coordinateInverse_locally_uniform hpublished Pₙ P K L hL hP hPn hconv hlower
228
- have hu : UniformContinuous (fun z : ℂ => z.re - k) :=
229
- Complex.uniformContinuous_re.sub uniformContinuous_const
230
- exact hu.comp_tendstoLocallyUniformlyOn hh
231
-
232
- theorem longitudinalCoordinate_continuousOn
233
- (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0) (k : ℝ)
234
- (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) :
235
- ContinuousOn (longitudinalCoordinate P K k) (P '' K) := by
236
- exact (Complex.continuous_re.comp_continuousOn
237
- (coordinateInverse_lipschitz P K L hlower).continuousOn).sub continuousOn_const
238
-
239
- /-- A retained compact part of a ribbon has a common open physical chart
240
- on which the actual longitudinal coordinates are eventually continuous
241
- and converge locally uniformly. -/
242
- theorem common_longitudinal_chart
243
- (hpublished : PublishedPlanarDiskOpenness)
244
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K A : Set ℂ) (L : ℝ≥0) (k : ℝ)
245
- (hL : 0 < L) (hP : ContinuousOn P K)
246
- (hPn : ∀ n, ContinuousOn (Pₙ n) K)
247
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
248
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
249
- (hA : IsCompact A) (hAP : A ⊆ P '' interior K) :
250
- ∃ U : Set ℂ, IsOpen U ∧ A ⊆ U ∧ IsCompact (closure U) ∧
251
- closure U ⊆ P '' interior K ∧
252
- (∀ᶠ n in atTop, U ⊆ Pₙ n '' interior K) ∧
253
- ContinuousOn (longitudinalCoordinate P K k) U ∧
254
- (∀ᶠ n in atTop, ContinuousOn (longitudinalCoordinate (Pₙ n) K k) U) ∧
255
- TendstoLocallyUniformlyOn (fun n => longitudinalCoordinate (Pₙ n) K k)
256
- (longitudinalCoordinate P K k) atTop U := by
257
- obtain ⟨U, hU, hAU, hUc, hUP, hlate, _⟩ := common_physical_neighborhood
258
- hpublished Pₙ P K A L hL hP hPn hconv hlower hA hAP
259
- have hUImage : U ⊆ P '' interior K := subset_closure.trans hUP
260
- have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
261
- refine ⟨U, hU, hAU, hUc, hUP, hlate.mono (fun _ h => subset_closure.trans h),
262
- (longitudinalCoordinate_continuousOn P K L k hlim).mono
263
- (hUImage.trans (image_mono interior_subset)), ?_, ?_⟩
264
- · filter_upwards [hlate] with n hn
265
- exact (longitudinalCoordinate_continuousOn (Pₙ n) K L k (hlower n)).mono
266
- (subset_closure.trans (hn.trans (image_mono interior_subset)))
267
- · exact (longitudinalCoordinate_locally_uniform hpublished Pₙ P K L k hL hP hPn
268
- hconv hlower).mono hUImage
269
-
270
- /-- A compact set with limiting coordinates in an open coordinate region
271
- has its moving coordinates in that same region for all sufficiently late
272
- charts. This includes simultaneous longitudinal and transverse margins. -/
273
- theorem eventual_compact_coordinate_region
274
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K S A : Set ℂ) (L : ℝ≥0)
275
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
276
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
277
- (hS : IsCompact S) (hSP : S ⊆ P '' K)
278
- (hcover : ∀ᶠ n in atTop, S ⊆ Pₙ n '' K)
279
- (hA : IsOpen A) (hSA : coordinateInverse P K '' S ⊆ A) :
280
- ∀ᶠ n in atTop, S ⊆ Pₙ n '' (K ∩ A) := by
281
- have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
282
- have hcompact : IsCompact (coordinateInverse P K '' S) :=
283
- hS.image_of_continuousOn ((coordinateInverse_lipschitz P K L hlim).continuousOn.mono hSP)
284
- obtain ⟨ε, hε, heps⟩ := hcompact.exists_thickening_subset_open hA hSA
285
- have hu := coordinateInverse_uniform_on Pₙ P K S L hconv hlower hSP hcover
286
- filter_upwards [hcover, Metric.tendstoUniformlyOn_iff.mp hu ε hε] with n hn hclose
287
- intro z hz
288
- refine ⟨coordinateInverse (Pₙ n) K z, ⟨coordinateInverse_mem (hn hz), ?_⟩,
289
- coordinateInverse_right (hn hz)⟩
290
- exact heps (mem_thickening_iff.mpr ⟨coordinateInverse P K z, mem_image_of_mem _ hz,
291
- by simpa only [dist_comm] using hclose z hz⟩)
292
-
293
- /-- The admissible two-point patch bounds and a bounded marked point give
294
- an actual uniformly convergent subsequence of the coordinate maps. Both
295
- Lipschitz bounds pass to the limit, retaining an embedded limiting patch. -/
296
- theorem exists_bilip_uniform_subsequence
297
- (Pₙ : ℕ → ℂ → ℂ) (K : Set ℂ) (hK : IsCompact K)
298
- (x₀ : ℂ) (hx₀ : x₀ ∈ K) (C L : ℝ≥0) (R : ℝ)
299
- (hupper : ∀ n, LipschitzOnWith C (Pₙ n) K)
300
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
301
- (htip : ∀ n, ‖Pₙ n x₀‖ ≤ R) :
302
- ∃ P : ℂ → ℂ, ∃ φ : ℕ → ℕ, StrictMono φ ∧
303
- TendstoUniformlyOn (fun n => Pₙ (φ n)) P atTop K ∧
304
- LipschitzOnWith C P K ∧
305
- (∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) ∧
306
- InjOn P K := by
307
- classical
308
- let : CompactSpace K := isCompact_iff_compactSpace.mp hK
309
- let f : ℕ → K →ᵇ ℂ := fun n => BoundedContinuousFunction.mkOfCompact
310
- ⟨K.domRestrict (Pₙ n), (hupper n).continuousOn.domRestrict⟩
311
- obtain ⟨M, hM⟩ := hK.isBounded.subset_closedBall x₀
312
- have hbound n (x : K) : ‖f n x‖ ≤ R + C * M := by
313
- have hd := (hupper n).dist_le_mul x x.property x₀ hx₀
314
- have hh := norm_le_norm_add_const_of_dist_le hd
315
- exact hh.trans (add_le_add (htip n)
316
- (mul_le_mul_of_nonneg_left (hM x.property) C.coe_nonneg))
317
- have heq : Equicontinuous ((↑) : Set.range f → K → ℂ) := by
318
- apply (LipschitzWith.uniformEquicontinuous _ C ?_).equicontinuous
319
- rintro ⟨g, n, rfl⟩
320
- exact (hupper n).to_restrict
321
- have hcompact : IsCompact (closure (Set.range f)) :=
322
- BoundedContinuousFunction.arzela_ascoli (closedBall (0 : ℂ) (R + C * M))
323
- (isCompact_closedBall _ _) (Set.range f)
324
- (by rintro g x ⟨n, rfl⟩; simpa only [mem_closedBall, dist_zero_right] using hbound n x)
325
- heq
326
- obtain ⟨b, _, φ, hφ, hlim⟩ := hcompact.tendsto_subseq
327
- (fun n => subset_closure (mem_range_self n))
328
- have hb : TendstoUniformly (fun n => f (φ n)) b atTop :=
329
- BoundedContinuousFunction.tendsto_iff_tendstoUniformly.mp hlim
330
- let P : ℂ → ℂ := fun z => if hz : z ∈ K then b ⟨z, hz⟩ else 0
331
- have hu : TendstoUniformlyOn (fun n => Pₙ (φ n)) P atTop K := by
332
- apply Metric.tendstoUniformlyOn_iff.mpr
333
- intro ε hε
334
- filter_upwards [Metric.tendstoUniformly_iff.mp hb ε hε] with n hn
335
- intro z hz
336
- simpa [P, f, hz] using hn ⟨z, hz⟩
337
- have hPu : LipschitzOnWith C P K := by
338
- apply lipschitzOnWith_iff_dist_le_mul.mpr
339
- intro x hx y hy
340
- exact le_of_tendsto ((hu.tendsto_at hx).dist (hu.tendsto_at hy))
341
- (Eventually.of_forall fun n => (hupper (φ n)).dist_le_mul x hx y hy)
342
- have hPl := lower_lipschitz_uniform_limit (fun n => Pₙ (φ n)) P K L hu
343
- (fun n => hlower (φ n))
344
- exact ⟨P, φ, hφ, hu, hPu, hPl, lower_lipschitz_injOn P K L hPl⟩
345
-
346
- end SLEExactGauge.RibbonCoordinates
347
-
348
- end
349
-
350
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonCoordinateGeometry
2
+ import Mathlib.Topology.ContinuousMap.Bounded.ArzelaAscoli
3
+
4
+ namespace OAI
5
+
6
+ /-! Common physical domains and convergence of inverse ribbon coordinates
7
+ on a fixed compact coordinate patch. The uniform lower Lipschitz bound
8
+ controls the inverse without requiring derivative convergence. -/
9
+
10
+ noncomputable section
11
+ open Set Filter Metric
12
+ open scoped Topology NNReal BoundedContinuousFunction
13
+
14
+ namespace SLEExactGauge.RibbonCoordinates
15
+
16
+ def coordinateInverse (P : ℂ → ℂ) (K : Set ℂ) : ℂ → ℂ := Function.invFunOn P K
17
+
18
+ theorem coordinateInverse_mem {P : ℂ → ℂ} {K : Set ℂ} {z : ℂ}
19
+ (hz : z ∈ P '' K) : coordinateInverse P K z ∈ K :=
20
+ Function.invFunOn_mem hz
21
+
22
+ theorem coordinateInverse_right {P : ℂ → ℂ} {K : Set ℂ} {z : ℂ}
23
+ (hz : z ∈ P '' K) : P (coordinateInverse P K z) = z :=
24
+ Function.invFunOn_eq hz
25
+
26
+ theorem coordinateInverse_left {P : ℂ → ℂ} {K : Set ℂ}
27
+ (hi : InjOn P K) {z : ℂ} (hz : z ∈ K) :
28
+ coordinateInverse P K (P z) = z :=
29
+ hi.leftInvOn_invFunOn hz
30
+
31
+ /-- Physical coordinate regions agree with inverse-coordinate membership. -/
32
+ theorem coordinate_image_region_iff {P : ℂ → ℂ} {K A : Set ℂ}
33
+ (hi : InjOn P K) (hA : A ⊆ K) {z : ℂ} :
34
+ z ∈ P '' A ↔ z ∈ P '' K ∧ coordinateInverse P K z ∈ A := by
35
+ constructor
36
+ · rintro ⟨x, hx, rfl⟩
37
+ exact ⟨mem_image_of_mem P (hA hx), by simpa only [coordinateInverse_left hi (hA hx)] using hx⟩
38
+ · rintro ⟨hz, hAq⟩
39
+ exact ⟨coordinateInverse P K z, hAq, coordinateInverse_right hz⟩
40
+
41
+ theorem coordinateInverse_lipschitz
42
+ (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0)
43
+ (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) :
44
+ LipschitzOnWith L (coordinateInverse P K) (P '' K) := by
45
+ apply lipschitzOnWith_iff_dist_le_mul.mpr
46
+ intro x hx y hy
47
+ have hh := hlower _ (coordinateInverse_mem hx) _ (coordinateInverse_mem hy)
48
+ simpa only [coordinateInverse_right hx, coordinateInverse_right hy] using hh
49
+
50
+ theorem lower_lipschitz_uniform_limit
51
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0)
52
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
53
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y)) :
54
+ ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y) := by
55
+ intro x hx y hy
56
+ exact ge_of_tendsto (tendsto_const_nhds.mul ((hconv.tendsto_at hx).dist (hconv.tendsto_at hy)))
57
+ (Eventually.of_forall fun n => hlower n x hx y hy)
58
+
59
+ /-- Common image containment converts uniform forward convergence into
60
+ uniform inverse convergence on any retained physical set. -/
61
+ theorem coordinateInverse_uniform_on
62
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K S : Set ℂ) (L : ℝ≥0)
63
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
64
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
65
+ (hSP : S ⊆ P '' K) (hcover : ∀ᶠ n in atTop, S ⊆ Pₙ n '' K) :
66
+ TendstoUniformlyOn (fun n => coordinateInverse (Pₙ n) K) (coordinateInverse P K) atTop S := by
67
+ apply Metric.tendstoUniformlyOn_iff.mpr
68
+ intro ε hε
69
+ have hL : 0 < (L : ℝ) + 1 := by positivity
70
+ have hη : 0 < ε / ((L : ℝ) + 1) := div_pos hε hL
71
+ filter_upwards [hcover, Metric.tendstoUniformlyOn_iff.mp hconv _ hη] with n hn hclose
72
+ intro z hz
73
+ have hq : coordinateInverse P K z ∈ K := coordinateInverse_mem (hSP hz)
74
+ have hqn : coordinateInverse (Pₙ n) K z ∈ K := coordinateInverse_mem (hn hz)
75
+ have he := hlower n _ hqn _ hq
76
+ rw [coordinateInverse_right (hn hz)] at he
77
+ have hd := hclose _ hq
78
+ rw [coordinateInverse_right (hSP hz)] at hd
79
+ have he' : dist (coordinateInverse P K z) (coordinateInverse (Pₙ n) K z) ≤
80
+ (L : ℝ) * dist z (Pₙ n (coordinateInverse P K z)) := by
81
+ simpa only [dist_comm] using he
82
+ calc
83
+ _ ≤ (L : ℝ) * dist z (Pₙ n (coordinateInverse P K z)) := he'
84
+ _ ≤ ((L : ℝ) + 1) * dist z (Pₙ n (coordinateInverse P K z)) :=
85
+ mul_le_mul_of_nonneg_right (by linarith) dist_nonneg
86
+ _ < ((L : ℝ) + 1) * (ε / ((L : ℝ) + 1)) := mul_lt_mul_of_pos_left hd hL
87
+ _ = ε := mul_div_cancel₀ ε hL.ne'
88
+
89
+ /-- The uniform inverse bound makes every coordinate chart injective. -/
90
+ theorem lower_lipschitz_injOn
91
+ (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0)
92
+ (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) :
93
+ InjOn P K := by
94
+ intro x hx y hy he
95
+ have hh := hlower x hx y hy
96
+ rw [he, dist_self, mul_zero] at hh
97
+ exact dist_eq_zero.mp (le_antisymm hh dist_nonneg)
98
+
99
+ /-- The limiting coordinate image has an open interior physical domain. -/
100
+ theorem isOpen_image_interior
101
+ (hpublished : PublishedPlanarDiskOpenness)
102
+ (P : ℂ → ℂ) (K : Set ℂ)
103
+ (hP : ContinuousOn P K) (hi : InjOn P K) :
104
+ IsOpen (P '' interior K) := by
105
+ apply isOpen_iff_mem_nhds.mpr
106
+ rintro z ⟨x, hx, rfl⟩
107
+ obtain ⟨r, hr, hball⟩ := Metric.isOpen_iff.mp isOpen_interior x hx
108
+ have hsub : ball x r ⊆ K := hball.trans interior_subset
109
+ have hopen := hpublished P x r hr (hP.mono hsub) (hi.mono hsub)
110
+ exact mem_of_superset
111
+ (hopen.mem_nhds (mem_image_of_mem P (mem_ball_self hr)))
112
+ (image_mono hball)
113
+
114
+ /-- Compact physical subsets of the limiting interior image belong to
115
+ all sufficiently late moving interior images. -/
116
+ theorem eventual_compact_image_interior
117
+ (hpublished : PublishedPlanarDiskOpenness)
118
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K S : Set ℂ) (L : ℝ≥0)
119
+ (hL : 0 < L)
120
+ (hPn : ∀ n, ContinuousOn (Pₙ n) K)
121
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
122
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
123
+ (hS : IsCompact S) (hSP : S ⊆ P '' interior K) :
124
+ ∀ᶠ n in atTop, S ⊆ Pₙ n '' interior K := by
125
+ have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
126
+ have hi := lower_lipschitz_injOn P K L hlim
127
+ have hSK : S ⊆ P '' K := hSP.trans (image_mono interior_subset)
128
+ let Q := coordinateInverse P K '' S
129
+ have hQ : IsCompact Q := hS.image_of_continuousOn
130
+ ((coordinateInverse_lipschitz P K L hlim).continuousOn.mono hSK)
131
+ have hQK : Q ⊆ interior K := by
132
+ rintro _ ⟨z, hz, rfl⟩
133
+ obtain ⟨x, hx, he⟩ := hSP hz
134
+ have hqx : coordinateInverse P K z = x := hi
135
+ (coordinateInverse_mem (hSK hz)) (interior_subset hx)
136
+ ((coordinateInverse_right (hSK hz)).trans he.symm)
137
+ simpa only [hqx] using hx
138
+ obtain ⟨ρ, hρ, hthick⟩ := hQ.exists_cthickening_subset_open isOpen_interior hQK
139
+ have hLr : 0 < (L : ℝ) := hL
140
+ filter_upwards [Metric.tendstoUniformlyOn_iff.mp hconv (ρ / L) (div_pos hρ hLr)] with n hn
141
+ intro z hz
142
+ let x := coordinateInverse P K z
143
+ have hxQ : x ∈ Q := mem_image_of_mem _ hz
144
+ have hxK : x ∈ K := interior_subset (hQK hxQ)
145
+ have hball : closedBall x ρ ⊆ interior K := by
146
+ intro y hy
147
+ exact hthick (mem_cthickening_of_dist_le y x ρ Q hxQ hy)
148
+ have hballK := hball.trans interior_subset
149
+ have hiₙ := lower_lipschitz_injOn (Pₙ n) K L (hlower n)
150
+ have hopen := hpublished (Pₙ n) x ρ hρ
151
+ ((hPn n).mono (ball_subset_closedBall.trans hballK))
152
+ (hiₙ.mono (ball_subset_closedBall.trans hballK))
153
+ have hcontains := ball_subset_image_ball (Pₙ n) x hρ hLr
154
+ ((hPn n).mono hballK) hopen
155
+ (fun y hy => hlower n y (hballK hy) x hxK)
156
+ apply (image_mono (ball_subset_closedBall.trans hball))
157
+ apply hcontains
158
+ have hh := hn x hxK
159
+ rw [coordinateInverse_right (hSK hz)] at hh
160
+ simpa only [mem_ball, dist_comm] using hh
161
+
162
+ /-- The inverse ribbon charts converge locally uniformly on the full
163
+ limiting interior image. Only compact subsets are eventually common. -/
164
+ theorem coordinateInverse_locally_uniform
165
+ (hpublished : PublishedPlanarDiskOpenness)
166
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0)
167
+ (hL : 0 < L) (hP : ContinuousOn P K)
168
+ (hPn : ∀ n, ContinuousOn (Pₙ n) K)
169
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
170
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y)) :
171
+ TendstoLocallyUniformlyOn (fun n => coordinateInverse (Pₙ n) K)
172
+ (coordinateInverse P K) atTop (P '' interior K) := by
173
+ have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
174
+ have hopen := isOpen_image_interior hpublished P K hP
175
+ (lower_lipschitz_injOn P K L hlim)
176
+ apply (tendstoLocallyUniformlyOn_iff_forall_isCompact hopen).mpr
177
+ intro S hSP hS
178
+ exact coordinateInverse_uniform_on Pₙ P K S L hconv hlower
179
+ (hSP.trans (image_mono interior_subset))
180
+ ((eventual_compact_image_interior hpublished Pₙ P K S L hL hPn hconv hlower hS hSP).mono
181
+ (fun _ h => h.trans (image_mono interior_subset)))
182
+
183
+ /-- A compact retained physical patch admits one common open neighborhood
184
+ contained in every sufficiently late coordinate image. -/
185
+ theorem common_physical_neighborhood
186
+ (hpublished : PublishedPlanarDiskOpenness)
187
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K A : Set ℂ) (L : ℝ≥0)
188
+ (hL : 0 < L) (hP : ContinuousOn P K)
189
+ (hPn : ∀ n, ContinuousOn (Pₙ n) K)
190
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
191
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
192
+ (hA : IsCompact A) (hAP : A ⊆ P '' interior K) :
193
+ ∃ U : Set ℂ, IsOpen U ∧ A ⊆ U ∧ IsCompact (closure U) ∧
194
+ closure U ⊆ P '' interior K ∧
195
+ (∀ᶠ n in atTop, closure U ⊆ Pₙ n '' interior K) ∧
196
+ TendstoUniformlyOn (fun n => coordinateInverse (Pₙ n) K)
197
+ (coordinateInverse P K) atTop (closure U) := by
198
+ have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
199
+ have hopen := isOpen_image_interior hpublished P K hP
200
+ (lower_lipschitz_injOn P K L hlim)
201
+ obtain ⟨ρ, hρ, hthick⟩ := hA.exists_cthickening_subset_open hopen hAP
202
+ let U := thickening ρ A
203
+ have hclosure : closure U ⊆ cthickening ρ A := closure_thickening_subset_cthickening ρ A
204
+ have hUc : IsCompact (closure U) := (hA.cthickening).of_isClosed_subset isClosed_closure hclosure
205
+ have hUP : closure U ⊆ P '' interior K := hclosure.trans hthick
206
+ have hlate := eventual_compact_image_interior hpublished Pₙ P K (closure U) L hL hPn
207
+ hconv hlower hUc hUP
208
+ exact ⟨U, isOpen_thickening, self_subset_thickening hρ A, hUc, hUP, hlate,
209
+ coordinateInverse_uniform_on Pₙ P K (closure U) L hconv hlower
210
+ (hUP.trans (image_mono interior_subset))
211
+ (hlate.mono (fun _ h => h.trans (image_mono interior_subset)))⟩
212
+
213
+ /-- The source longitudinal coordinate is the real part of the inverse
214
+ ribbon chart, translated by the current front coordinate. -/
215
+ def longitudinalCoordinate (P : ℂ → ℂ) (K : Set ℂ) (k : ℝ) (z : ℂ) : ℝ :=
216
+ (coordinateInverse P K z).re - k
217
+
218
+ theorem longitudinalCoordinate_locally_uniform
219
+ (hpublished : PublishedPlanarDiskOpenness)
220
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0) (k : ℝ)
221
+ (hL : 0 < L) (hP : ContinuousOn P K)
222
+ (hPn : ∀ n, ContinuousOn (Pₙ n) K)
223
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
224
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y)) :
225
+ TendstoLocallyUniformlyOn (fun n => longitudinalCoordinate (Pₙ n) K k)
226
+ (longitudinalCoordinate P K k) atTop (P '' interior K) := by
227
+ have hh := coordinateInverse_locally_uniform hpublished Pₙ P K L hL hP hPn hconv hlower
228
+ have hu : UniformContinuous (fun z : ℂ => z.re - k) :=
229
+ Complex.uniformContinuous_re.sub uniformContinuous_const
230
+ exact hu.comp_tendstoLocallyUniformlyOn hh
231
+
232
+ theorem longitudinalCoordinate_continuousOn
233
+ (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0) (k : ℝ)
234
+ (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) :
235
+ ContinuousOn (longitudinalCoordinate P K k) (P '' K) := by
236
+ exact (Complex.continuous_re.comp_continuousOn
237
+ (coordinateInverse_lipschitz P K L hlower).continuousOn).sub continuousOn_const
238
+
239
+ /-- A retained compact part of a ribbon has a common open physical chart
240
+ on which the actual longitudinal coordinates are eventually continuous
241
+ and converge locally uniformly. -/
242
+ theorem common_longitudinal_chart
243
+ (hpublished : PublishedPlanarDiskOpenness)
244
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K A : Set ℂ) (L : ℝ≥0) (k : ℝ)
245
+ (hL : 0 < L) (hP : ContinuousOn P K)
246
+ (hPn : ∀ n, ContinuousOn (Pₙ n) K)
247
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
248
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
249
+ (hA : IsCompact A) (hAP : A ⊆ P '' interior K) :
250
+ ∃ U : Set ℂ, IsOpen U ∧ A ⊆ U ∧ IsCompact (closure U) ∧
251
+ closure U ⊆ P '' interior K ∧
252
+ (∀ᶠ n in atTop, U ⊆ Pₙ n '' interior K) ∧
253
+ ContinuousOn (longitudinalCoordinate P K k) U ∧
254
+ (∀ᶠ n in atTop, ContinuousOn (longitudinalCoordinate (Pₙ n) K k) U) ∧
255
+ TendstoLocallyUniformlyOn (fun n => longitudinalCoordinate (Pₙ n) K k)
256
+ (longitudinalCoordinate P K k) atTop U := by
257
+ obtain ⟨U, hU, hAU, hUc, hUP, hlate, _⟩ := common_physical_neighborhood
258
+ hpublished Pₙ P K A L hL hP hPn hconv hlower hA hAP
259
+ have hUImage : U ⊆ P '' interior K := subset_closure.trans hUP
260
+ have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
261
+ refine ⟨U, hU, hAU, hUc, hUP, hlate.mono (fun _ h => subset_closure.trans h),
262
+ (longitudinalCoordinate_continuousOn P K L k hlim).mono
263
+ (hUImage.trans (image_mono interior_subset)), ?_, ?_⟩
264
+ · filter_upwards [hlate] with n hn
265
+ exact (longitudinalCoordinate_continuousOn (Pₙ n) K L k (hlower n)).mono
266
+ (subset_closure.trans (hn.trans (image_mono interior_subset)))
267
+ · exact (longitudinalCoordinate_locally_uniform hpublished Pₙ P K L k hL hP hPn
268
+ hconv hlower).mono hUImage
269
+
270
+ /-- A compact set with limiting coordinates in an open coordinate region
271
+ has its moving coordinates in that same region for all sufficiently late
272
+ charts. This includes simultaneous longitudinal and transverse margins. -/
273
+ theorem eventual_compact_coordinate_region
274
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K S A : Set ℂ) (L : ℝ≥0)
275
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
276
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
277
+ (hS : IsCompact S) (hSP : S ⊆ P '' K)
278
+ (hcover : ∀ᶠ n in atTop, S ⊆ Pₙ n '' K)
279
+ (hA : IsOpen A) (hSA : coordinateInverse P K '' S ⊆ A) :
280
+ ∀ᶠ n in atTop, S ⊆ Pₙ n '' (K ∩ A) := by
281
+ have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
282
+ have hcompact : IsCompact (coordinateInverse P K '' S) :=
283
+ hS.image_of_continuousOn ((coordinateInverse_lipschitz P K L hlim).continuousOn.mono hSP)
284
+ obtain ⟨ε, hε, heps⟩ := hcompact.exists_thickening_subset_open hA hSA
285
+ have hu := coordinateInverse_uniform_on Pₙ P K S L hconv hlower hSP hcover
286
+ filter_upwards [hcover, Metric.tendstoUniformlyOn_iff.mp hu ε hε] with n hn hclose
287
+ intro z hz
288
+ refine ⟨coordinateInverse (Pₙ n) K z, ⟨coordinateInverse_mem (hn hz), ?_⟩,
289
+ coordinateInverse_right (hn hz)⟩
290
+ exact heps (mem_thickening_iff.mpr ⟨coordinateInverse P K z, mem_image_of_mem _ hz,
291
+ by simpa only [dist_comm] using hclose z hz⟩)
292
+
293
+ /-- The admissible two-point patch bounds and a bounded marked point give
294
+ an actual uniformly convergent subsequence of the coordinate maps. Both
295
+ Lipschitz bounds pass to the limit, retaining an embedded limiting patch. -/
296
+ theorem exists_bilip_uniform_subsequence
297
+ (Pₙ : ℕ → ℂ → ℂ) (K : Set ℂ) (hK : IsCompact K)
298
+ (x₀ : ℂ) (hx₀ : x₀ ∈ K) (C L : ℝ≥0) (R : ℝ)
299
+ (hupper : ∀ n, LipschitzOnWith C (Pₙ n) K)
300
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
301
+ (htip : ∀ n, ‖Pₙ n x₀‖ ≤ R) :
302
+ ∃ P : ℂ → ℂ, ∃ φ : ℕ → ℕ, StrictMono φ ∧
303
+ TendstoUniformlyOn (fun n => Pₙ (φ n)) P atTop K ∧
304
+ LipschitzOnWith C P K ∧
305
+ (∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) ∧
306
+ InjOn P K := by
307
+ classical
308
+ let : CompactSpace K := isCompact_iff_compactSpace.mp hK
309
+ let f : ℕ → K →ᵇ ℂ := fun n => BoundedContinuousFunction.mkOfCompact
310
+ ⟨K.domRestrict (Pₙ n), (hupper n).continuousOn.domRestrict⟩
311
+ obtain ⟨M, hM⟩ := hK.isBounded.subset_closedBall x₀
312
+ have hbound n (x : K) : ‖f n x‖ ≤ R + C * M := by
313
+ have hd := (hupper n).dist_le_mul x x.property x₀ hx��
314
+ have hh := norm_le_norm_add_const_of_dist_le hd
315
+ exact hh.trans (add_le_add (htip n)
316
+ (mul_le_mul_of_nonneg_left (hM x.property) C.coe_nonneg))
317
+ have heq : Equicontinuous ((↑) : Set.range f → K → ℂ) := by
318
+ apply (LipschitzWith.uniformEquicontinuous _ C ?_).equicontinuous
319
+ rintro ⟨g, n, rfl⟩
320
+ exact (hupper n).to_restrict
321
+ have hcompact : IsCompact (closure (Set.range f)) :=
322
+ BoundedContinuousFunction.arzela_ascoli (closedBall (0 : ℂ) (R + C * M))
323
+ (isCompact_closedBall _ _) (Set.range f)
324
+ (by rintro g x ⟨n, rfl⟩; simpa only [mem_closedBall, dist_zero_right] using hbound n x)
325
+ heq
326
+ obtain ⟨b, _, φ, hφ, hlim⟩ := hcompact.tendsto_subseq
327
+ (fun n => subset_closure (mem_range_self n))
328
+ have hb : TendstoUniformly (fun n => f (φ n)) b atTop :=
329
+ BoundedContinuousFunction.tendsto_iff_tendstoUniformly.mp hlim
330
+ let P : ℂ → ℂ := fun z => if hz : z ∈ K then b ⟨z, hz⟩ else 0
331
+ have hu : TendstoUniformlyOn (fun n => Pₙ (φ n)) P atTop K := by
332
+ apply Metric.tendstoUniformlyOn_iff.mpr
333
+ intro ε hε
334
+ filter_upwards [Metric.tendstoUniformly_iff.mp hb ε hε] with n hn
335
+ intro z hz
336
+ simpa [P, f, hz] using hn ⟨z, hz⟩
337
+ have hPu : LipschitzOnWith C P K := by
338
+ apply lipschitzOnWith_iff_dist_le_mul.mpr
339
+ intro x hx y hy
340
+ exact le_of_tendsto ((hu.tendsto_at hx).dist (hu.tendsto_at hy))
341
+ (Eventually.of_forall fun n => (hupper (φ n)).dist_le_mul x hx y hy)
342
+ have hPl := lower_lipschitz_uniform_limit (fun n => Pₙ (φ n)) P K L hu
343
+ (fun n => hlower (φ n))
344
+ exact ⟨P, φ, hφ, hu, hPu, hPl, lower_lipschitz_injOn P K L hPl⟩
345
+
346
+ end SLEExactGauge.RibbonCoordinates
347
+
348
+ end
349
+
350
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonCoordinateGeometry.lean CHANGED
@@ -1,348 +1,348 @@
1
- import OAI.Probability.SLE.Gauge.RibbonSurvival
2
- import OAI.Probability.SLE.Geometry.PublishedPlanarDiskOpenness
3
- import Mathlib.Analysis.Normed.Module.Connected
4
-
5
- namespace OAI
6
-
7
- /-! Coordinate balls in an embedded ribbon. These deterministic lemmas
8
- turn the local lower Lipschitz bound into physical clearance, and identify
9
- the future ribbon with part of the actual unbounded surviving component. -/
10
-
11
- noncomputable section
12
- open Set Filter Metric
13
- open scoped Topology NNReal
14
-
15
- namespace SLEExactGauge.RibbonCoordinates
16
-
17
- /-- An open coordinate disk whose inverse has Lipschitz constant `K`
18
- contains the physical disk of radius `r / K`. Compactness of the closed
19
- coordinate disk prevents an interior physical point from escaping its image. -/
20
- theorem ball_subset_image_ball
21
- (P : ℂ → ℂ) (x : ℂ) {r K : ℝ} (hr : 0 < r) (hK : 0 < K)
22
- (hP : ContinuousOn P (closedBall x r))
23
- (hopen : IsOpen (P '' ball x r))
24
- (hlower : ∀ y ∈ closedBall x r, dist y x ≤ K * dist (P y) (P x)) :
25
- ball (P x) (r / K) ⊆ P '' ball x r := by
26
- let A := P '' ball x r
27
- let Q := P '' closedBall x r
28
- have hQ : IsCompact Q := (isCompact_closedBall x r).image_of_continuousOn hP
29
- have hAQ : A ⊆ Q := image_mono ball_subset_closedBall
30
- have hsub : ball (P x) (r / K) ⊆ A ∪ Qᶜ := by
31
- intro z hz
32
- by_cases hzQ : z ∈ Q
33
- · left
34
- obtain ⟨y, hy, rfl⟩ := hzQ
35
- refine ⟨y, ?_, rfl⟩
36
- have hd := hlower y hy
37
- have hz' : dist (P y) (P x) < r / K := hz
38
- have hh := (lt_div_iff₀ hK).mp hz'
39
- exact lt_of_le_of_lt hd (by nlinarith [hh])
40
- · exact Or.inr hzQ
41
- apply IsPreconnected.subset_left_of_subset_union hopen hQ.isClosed.isOpen_compl
42
- (disjoint_compl_right.mono_left hAQ) hsub _ isPreconnected_ball
43
- exact ⟨P x, mem_ball_self (div_pos hr hK), mem_image_of_mem P (mem_ball_self hr)⟩
44
-
45
- def closedRibbon : Set ℂ := {z | 0 ≤ z.re ∧ |z.im| ≤ 1}
46
- def futureRibbon (k : ℝ) : Set ℂ := {z | k < z.re ∧ |z.im| < 1}
47
-
48
- theorem futureRibbon_subset_closedRibbon {k : ℝ} (hk : 0 ≤ k) :
49
- futureRibbon k ⊆ closedRibbon := by
50
- intro z hz
51
- exact ⟨hk.trans hz.1.le, hz.2.le⟩
52
-
53
- theorem futureRibbon_convex (k : ℝ) : Convex ℝ (futureRibbon k) := by
54
- have hre : Convex ℝ {z : ℂ | k < z.re} :=
55
- convex_halfSpace_gt Complex.reLm.isLinear k
56
- have him : Convex ℝ {z : ℂ | z.im ∈ Ioo (-1 : ℝ) 1} :=
57
- (convex_Ioo (-1 : ℝ) 1).is_linear_preimage Complex.imLm.isLinear
58
- simpa only [futureRibbon, abs_lt, mem_Ioo, ofPred_and] using hre.inter him
59
-
60
- /-- Any unbounded connected free set belongs to the unbounded component
61
- used in the actual Loewner surviving domain. -/
62
- theorem free_preconnected_subset_surviving
63
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0) (S : Set ℂ)
64
- (hS : IsPreconnected S) (hfree : S ⊆ upperHalfPlane \ (γ '' Icc 0 T))
65
- (hunbounded : ¬ Bornology.IsBounded S) : S ⊆ survivingDomain γ T := by
66
- intro z hz
67
- refine ⟨hfree hz, ?_⟩
68
- intro hbounded
69
- exact hunbounded (hbounded.subset (hS.subset_connectedComponentIn hz hfree))
70
-
71
- /-- Embedding excludes all nonlocal pieces of the stopped past from the
72
- future ribbon. Escape to infinity places the whole future ribbon in the
73
- surviving component, without assuming a filled-hull containment. -/
74
- theorem futureRibbon_survives
75
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
76
- (hi : InjOn P closedRibbon) {k : ℝ} (hk : 0 ≤ k)
77
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
78
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
79
- (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
80
- (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k)) :
81
- P '' futureRibbon k ⊆ survivingDomain γ T := by
82
- have hsub := futureRibbon_subset_closedRibbon hk
83
- apply free_preconnected_subset_surviving γ T _
84
- ((futureRibbon_convex k).isPreconnected.image P (hP.mono hsub)) _ hunbounded
85
- rintro z ⟨y, hy, rfl⟩
86
- refine ⟨hH y (hsub hy) (hk.trans_lt hy.1), ?_⟩
87
- intro hyPast
88
- obtain ⟨x, hx, he⟩ := hpast hyPast
89
- have hxy : x = y := hi hx.1 (hsub hy) he
90
- exact (not_le_of_gt hy.1) (hxy ▸ hx.2)
91
-
92
- /-- A coordinate disk strictly ahead of the front and away from the two
93
- ribbon edges gives a physical disk in the actual surviving domain. -/
94
- theorem coordinate_ball_clearance
95
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
96
- (hi : InjOn P closedRibbon) {k : ℝ} (hk : 0 ≤ k)
97
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
98
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
99
- (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
100
- (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
101
- (x : ℂ) {r K : ℝ} (hr : 0 < r) (hK : 0 < K)
102
- (hfront : k + r < x.re) (hedge : |x.im| + r < 1)
103
- (hopen : IsOpen (P '' ball x r))
104
- (hlower : ∀ y ∈ closedBall x r, dist y x ≤ K * dist (P y) (P x)) :
105
- ball (P x) (r / K) ⊆ survivingDomain γ T := by
106
- have hball : closedBall x r ⊆ futureRibbon k := by
107
- intro y hy
108
- have hd : ‖y - x‖ ≤ r := by simpa only [mem_closedBall, dist_eq_norm] using hy
109
- have hre := (Complex.abs_re_le_norm (y - x)).trans hd
110
- have him := (Complex.abs_im_le_norm (y - x)).trans hd
111
- simp only [Complex.sub_re, Complex.sub_im] at hre him
112
- refine ⟨by linarith [(abs_le.mp hre).1], ?_⟩
113
- have htri : |y.im| ≤ |y.im - x.im| + |x.im| := by
114
- simpa only [sub_add_cancel] using abs_add_le (y.im - x.im) x.im
115
- linarith
116
- exact (ball_subset_image_ball P x hr hK
117
- (hP.mono (hball.trans (futureRibbon_subset_closedRibbon hk))) hopen hlower).trans
118
- ((image_mono (ball_subset_closedBall.trans hball)).trans
119
- (futureRibbon_survives P hP hi hk hH γ T hpast hunbounded))
120
-
121
- /-- The paper's access guide, before applying the ribbon coordinate map. -/
122
- def guideCoordinate (k x t : ℝ) : ℂ :=
123
- ((k + t : ℝ) : ℂ) + ((x * max (1 - 4 * t) 0 : ℝ) : ℂ) * Complex.I
124
-
125
- @[simp] theorem guideCoordinate_re (k x t : ℝ) :
126
- (guideCoordinate k x t).re = k + t := by simp [guideCoordinate]
127
-
128
- @[simp] theorem guideCoordinate_im (k x t : ℝ) :
129
- (guideCoordinate k x t).im = x * max (1 - 4 * t) 0 := by simp [guideCoordinate]
130
-
131
- theorem guideCoordinate_continuous (k x : ℝ) : Continuous (guideCoordinate k x) := by
132
- unfold guideCoordinate
133
- fun_prop
134
-
135
- theorem guideCoordinate_im_bound {k x t : ℝ} (ht : 0 ≤ t) :
136
- |(guideCoordinate k x t).im| ≤ |x| := by
137
- rw [guideCoordinate_im, abs_mul, abs_of_nonneg (le_max_right (1 - 4 * t) 0)]
138
- exact mul_le_of_le_one_right (abs_nonneg x) (max_le (by linarith) (by norm_num))
139
-
140
- /-- The longitudinal coordinate gives the lower chord bound directly. -/
141
- theorem guideCoordinate_lower_chord (k x u v : ℝ) :
142
- |u - v| ≤ dist (guideCoordinate k x u) (guideCoordinate k x v) := by
143
- have hh := Complex.abs_re_le_norm (guideCoordinate k x u - guideCoordinate k x v)
144
- simpa only [Complex.sub_re, guideCoordinate_re, add_sub_add_left_eq_sub,
145
- dist_eq_norm] using hh
146
-
147
- theorem guideCoordinate_upper_chord (k x u v : ℝ) :
148
- dist (guideCoordinate k x u) (guideCoordinate k x v) ≤
149
- (1 + 4 * |x|) * |u - v| := by
150
- have hmax := abs_max_sub_max_le_abs (1 - 4 * u) (1 - 4 * v) 0
151
- have he : (1 - 4 * u) - (1 - 4 * v) = -4 * (u - v) := by ring
152
- rw [he, abs_mul] at hmax
153
- norm_num at hmax
154
- have him : |x * max (1 - 4 * u) 0 - x * max (1 - 4 * v) 0| ≤
155
- |x| * (4 * |u - v|) := by
156
- rw [← mul_sub, abs_mul]
157
- exact mul_le_mul_of_nonneg_left hmax (abs_nonneg x)
158
- have hh := Complex.norm_le_abs_re_add_abs_im
159
- (guideCoordinate k x u - guideCoordinate k x v)
160
- simp only [Complex.sub_re, Complex.sub_im, guideCoordinate_re, guideCoordinate_im,
161
- add_sub_add_left_eq_sub] at hh
162
- rw [dist_eq_norm]
163
- nlinarith
164
-
165
- def guideRadius (t : ℝ) : ℝ := min t 1 / 4
166
-
167
- theorem guideRadius_pos {t : ℝ} (ht : 0 < t) : 0 < guideRadius t :=
168
- div_pos (lt_min ht zero_lt_one) (by norm_num)
169
-
170
- /-- The guide is at most a quarter of the ribbon half-width from the
171
- centerline; its coordinate disks have radius proportional to `min(t,1)`. -/
172
- theorem guideCoordinate_disk_margins
173
- {k x t : ℝ} (hx : |x| ≤ 1 / 4) (ht : 0 < t) :
174
- k + guideRadius t < (guideCoordinate k x t).re ∧
175
- |(guideCoordinate k x t).im| + guideRadius t < 1 := by
176
- have hrt : guideRadius t ≤ t / 4 := div_le_div_of_nonneg_right (min_le_left _ _) (by norm_num)
177
- have hr1 : guideRadius t ≤ 1 / 4 := div_le_div_of_nonneg_right (min_le_right _ _) (by norm_num)
178
- have hi := (guideCoordinate_im_bound (k := k) (x := x) ht.le).trans hx
179
- rw [guideCoordinate_re]
180
- constructor <;> linarith
181
-
182
- /-- Applying the coordinate disk lemma proves the paper's guide clearance
183
- for every positive guide time, with the actual surviving domain. -/
184
- theorem physical_guide_clearance
185
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
186
- (hi : InjOn P closedRibbon) {k x K : ℝ} (hk : 0 ≤ k)
187
- (hx : |x| ≤ 1 / 4) (hK : 0 < K)
188
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
189
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
190
- (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
191
- (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
192
- (hopen : ∀ t ∈ Ioc (0 : ℝ) 2,
193
- IsOpen (P '' ball (guideCoordinate k x t) (guideRadius t)))
194
- (hlower : ∀ t ∈ Ioc (0 : ℝ) 2,
195
- ∀ y ∈ closedBall (guideCoordinate k x t) (guideRadius t),
196
- dist y (guideCoordinate k x t) ≤ K * dist (P y) (P (guideCoordinate k x t))) :
197
- ∀ t ∈ Ioc (0 : ℝ) 2,
198
- ball (P (guideCoordinate k x t)) (min t 1 / (4 * K)) ⊆ survivingDomain γ T := by
199
- intro t ht
200
- obtain ⟨hfront, hedge⟩ := guideCoordinate_disk_margins (k := k) hx ht.1
201
- have hh := coordinate_ball_clearance P hP hi hk hH γ T hpast hunbounded
202
- (guideCoordinate k x t) (guideRadius_pos ht.1) hK hfront hedge (hopen t ht) (hlower t ht)
203
- simpa only [guideRadius, div_div] using hh
204
-
205
- /-- The fixed length-four patch appearing in the admissible ribbon class. -/
206
- def guidePatch (k : ℝ) : Set ℂ := {z | k ≤ z.re ∧ z.re ≤ k + 3 ∧ |z.im| ≤ 1}
207
-
208
- theorem guideCoordinate_disk_subset_patch
209
- {k x t : ℝ} (hx : |x| ≤ 1 / 4) (ht : t ∈ Ioc (0 : ℝ) 2) :
210
- closedBall (guideCoordinate k x t) (guideRadius t) ⊆ guidePatch k := by
211
- intro y hy
212
- have hd : ‖y - guideCoordinate k x t‖ ≤ guideRadius t := by
213
- simpa only [mem_closedBall, dist_eq_norm] using hy
214
- have hre := (Complex.abs_re_le_norm (y - guideCoordinate k x t)).trans hd
215
- have him := (Complex.abs_im_le_norm (y - guideCoordinate k x t)).trans hd
216
- simp only [Complex.sub_re, Complex.sub_im, guideCoordinate_re, guideCoordinate_im] at hre him
217
- obtain ⟨hfront, hedge⟩ := guideCoordinate_disk_margins (k := k) hx ht.1
218
- have hr1 : guideRadius t ≤ 1 / 4 :=
219
- div_le_div_of_nonneg_right (min_le_right _ _) (by norm_num)
220
- have hi := (guideCoordinate_im_bound (k := k) (x := x) ht.1.le).trans hx
221
- have htri : |y.im| ≤ |y.im - (guideCoordinate k x t).im| +
222
- |(guideCoordinate k x t).im| := by
223
- simpa only [sub_add_cancel] using
224
- abs_add_le (y.im - (guideCoordinate k x t).im) (guideCoordinate k x t).im
225
- change k ≤ y.re ∧ y.re ≤ k + 3 ∧ |y.im| ≤ 1
226
- simp only [guideCoordinate_re] at hfront
227
- simp only [guideCoordinate_im] at htri hi
228
- exact ⟨by linarith [(abs_le.mp hre).1], by linarith [(abs_le.mp hre).2, ht.2],
229
- by linarith⟩
230
-
231
- theorem guidePatch_subset_closedRibbon {k : ℝ} (hk : 0 ≤ k) :
232
- guidePatch k ⊆ closedRibbon := by
233
- intro z hz
234
- exact ⟨hk.trans hz.1, hz.2.2⟩
235
-
236
- /-- The actual fixed patch inverse-Lipschitz bound suffices for all guide
237
- disks. The only topological parameter is the cited planar disk theorem. -/
238
- theorem physical_guide_clearance_of_patch
239
- (hpublished : PublishedPlanarDiskOpenness)
240
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
241
- (hi : InjOn P closedRibbon) {k x K : ℝ} (hk : 0 ≤ k)
242
- (hx : |x| ≤ 1 / 4) (hK : 0 < K)
243
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
244
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
245
- (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
246
- (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
247
- (hlower : ∀ u ∈ guidePatch k, ∀ v ∈ guidePatch k,
248
- dist u v ≤ K * dist (P u) (P v)) :
249
- ∀ t ∈ Ioc (0 : ℝ) 2,
250
- ball (P (guideCoordinate k x t)) (min t 1 / (4 * K)) ⊆ survivingDomain γ T := by
251
- apply physical_guide_clearance P hP hi hk hx hK hH γ T hpast hunbounded
252
- · intro t ht
253
- have hsub := (ball_subset_closedBall.trans (guideCoordinate_disk_subset_patch hx ht)).trans
254
- (guidePatch_subset_closedRibbon hk)
255
- exact hpublished P _ _ (guideRadius_pos ht.1) (hP.mono hsub) (hi.mono hsub)
256
- · intro t ht y hy
257
- have hsub := guideCoordinate_disk_subset_patch (k := k) hx ht
258
- exact hlower y (hsub hy) _ (hsub (mem_closedBall_self (guideRadius_pos ht.1).le))
259
-
260
- /-- Uniform clearance on every closed interval away from the tip is the
261
- form used by joint physical/conformal guide compactness. -/
262
- theorem physical_guide_clearance_away
263
- (hpublished : PublishedPlanarDiskOpenness)
264
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
265
- (hi : InjOn P closedRibbon) {k x K : ℝ} (hk : 0 ≤ k)
266
- (hx : |x| ≤ 1 / 4) (hK : 0 < K)
267
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
268
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
269
- (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
270
- (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
271
- (hlower : ∀ u ∈ guidePatch k, ∀ v ∈ guidePatch k,
272
- dist u v ≤ K * dist (P u) (P v))
273
- {δ : ℝ} (hδ : 0 < δ) (_hδ2 : δ ≤ 2) :
274
- ∃ r : ℝ, 0 < r ∧ ∀ t ∈ Icc δ 2,
275
- ball (P (guideCoordinate k x t)) r ⊆ survivingDomain γ T := by
276
- refine ⟨min δ 1 / (4 * K), div_pos (lt_min hδ zero_lt_one) (by positivity), ?_⟩
277
- intro t ht
278
- apply (ball_subset_ball ?_).trans (physical_guide_clearance_of_patch hpublished P hP hi
279
- hk hx hK hH γ T hpast hunbounded hlower t ⟨hδ.trans_le ht.1, ht.2⟩)
280
- exact div_le_div_of_nonneg_right (min_le_min_right 1 ht.1) (by positivity)
281
-
282
- theorem guideCoordinate_mem_patch {k x t : ℝ}
283
- (hx : |x| ≤ 1 / 4) (ht : t ∈ Icc (0 : ℝ) 2) :
284
- guideCoordinate k x t ∈ guidePatch k := by
285
- change k ≤ (guideCoordinate k x t).re ∧
286
- (guideCoordinate k x t).re ≤ k + 3 ∧ |(guideCoordinate k x t).im| ≤ 1
287
- rw [guideCoordinate_re]
288
- exact ⟨by linarith [ht.1], by linarith [ht.2],
289
- (guideCoordinate_im_bound ht.1).trans (hx.trans (by norm_num))⟩
290
-
291
- /-- The fixed coordinate patch speed bound gives the physical guide speed
292
- bound required by the compactness and access-localization arguments. -/
293
- theorem physical_guide_lipschitz
294
- (P : ℂ → ℂ) (C : ℝ≥0) {k x : ℝ} (hx : |x| ≤ 1 / 4)
295
- (hL : LipschitzOnWith C P (guidePatch k)) :
296
- LipschitzOnWith (2 * C) (fun t => P (guideCoordinate k x t)) (Icc (0 : ℝ) 2) := by
297
- apply lipschitzOnWith_iff_dist_le_mul.mpr
298
- intro u hu v hv
299
- have hp := hL.dist_le_mul _ (guideCoordinate_mem_patch hx hu) _
300
- (guideCoordinate_mem_patch hx hv)
301
- have hq := guideCoordinate_upper_chord k x u v
302
- have hcq : dist (guideCoordinate k x u) (guideCoordinate k x v) ≤ 2 * |u - v| := by
303
- exact hq.trans (mul_le_mul_of_nonneg_right (by linarith) (abs_nonneg _))
304
- have hh := mul_le_mul_of_nonneg_left hcq C.coe_nonneg
305
- simp only [NNReal.coe_mul, NNReal.coe_ofNat, Real.dist_eq]
306
- nlinarith
307
-
308
- /-- The lower patch Lipschitz bound makes the physical guide uniformly
309
- simple, including its initial boundary point. -/
310
- theorem physical_guide_lower_chord
311
- (P : ℂ → ℂ) {k x K : ℝ} (hx : |x| ≤ 1 / 4) (hK : 0 < K)
312
- (hlower : ∀ u ∈ guidePatch k, ∀ v ∈ guidePatch k,
313
- dist u v ≤ K * dist (P u) (P v)) :
314
- ∀ u ∈ Icc (0 : ℝ) 2, ∀ v ∈ Icc (0 : ℝ) 2,
315
- (1 / K) * |u - v| ≤ dist (P (guideCoordinate k x u)) (P (guideCoordinate k x v)) := by
316
- intro u hu v hv
317
- have hh := (guideCoordinate_lower_chord k x u v).trans
318
- (hlower _ (guideCoordinate_mem_patch hx hu) _ (guideCoordinate_mem_patch hx hv))
319
- rw [one_div_mul_eq_div, div_le_iff₀ hK]
320
- simpa only [mul_comm] using hh
321
-
322
- @[simp] theorem guideCoordinate_zero (k x : ℝ) :
323
- guideCoordinate k x 0 = (k : ℂ) + (x : ℂ) * Complex.I := by simp [guideCoordinate]
324
-
325
- @[simp] theorem guideCoordinate_waypoint (k x : ℝ) :
326
- guideCoordinate k x (1 / 2) = ((k + 1 / 2 : ℝ) : ℂ) := by
327
- norm_num [guideCoordinate]
328
-
329
- /-- The paper's escape condition on the centerline supplies the
330
- unboundedness used to select the actual surviving component. -/
331
- theorem futureRibbon_unbounded_of_centerline_escape
332
- (P : ℂ → ℂ) (k : ℝ)
333
- (hescape : Tendsto (fun s : ℝ => ‖P (s : ℂ)‖) atTop atTop) :
334
- ¬ Bornology.IsBounded (P '' futureRibbon k) := by
335
- intro hb
336
- obtain ⟨R, _, hR⟩ := hb.exists_pos_norm_lt
337
- obtain ⟨s, hs, hsR⟩ := ((eventually_gt_atTop k).and
338
- (hescape.eventually (eventually_gt_atTop R))).exists
339
- have hz : (s : ℂ) ∈ futureRibbon k := by
340
- change k < (s : ℂ).re ∧ |(s : ℂ).im| < 1
341
- simpa using And.intro hs (by norm_num : |(0 : ℝ)| < 1)
342
- exact (not_lt_of_ge hsR.le) (hR _ (mem_image_of_mem P hz))
343
-
344
- end SLEExactGauge.RibbonCoordinates
345
-
346
- end
347
-
348
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonSurvival
2
+ import OAI.Probability.SLE.Geometry.PublishedPlanarDiskOpenness
3
+ import Mathlib.Analysis.Normed.Module.Connected
4
+
5
+ namespace OAI
6
+
7
+ /-! Coordinate balls in an embedded ribbon. These deterministic lemmas
8
+ turn the local lower Lipschitz bound into physical clearance, and identify
9
+ the future ribbon with part of the actual unbounded surviving component. -/
10
+
11
+ noncomputable section
12
+ open Set Filter Metric
13
+ open scoped Topology NNReal
14
+
15
+ namespace SLEExactGauge.RibbonCoordinates
16
+
17
+ /-- An open coordinate disk whose inverse has Lipschitz constant `K`
18
+ contains the physical disk of radius `r / K`. Compactness of the closed
19
+ coordinate disk prevents an interior physical point from escaping its image. -/
20
+ theorem ball_subset_image_ball
21
+ (P : ℂ → ℂ) (x : ℂ) {r K : ℝ} (hr : 0 < r) (hK : 0 < K)
22
+ (hP : ContinuousOn P (closedBall x r))
23
+ (hopen : IsOpen (P '' ball x r))
24
+ (hlower : ∀ y ∈ closedBall x r, dist y x ≤ K * dist (P y) (P x)) :
25
+ ball (P x) (r / K) ⊆ P '' ball x r := by
26
+ let A := P '' ball x r
27
+ let Q := P '' closedBall x r
28
+ have hQ : IsCompact Q := (isCompact_closedBall x r).image_of_continuousOn hP
29
+ have hAQ : A ⊆ Q := image_mono ball_subset_closedBall
30
+ have hsub : ball (P x) (r / K) ⊆ A ∪ Qᶜ := by
31
+ intro z hz
32
+ by_cases hzQ : z ∈ Q
33
+ · left
34
+ obtain ⟨y, hy, rfl⟩ := hzQ
35
+ refine ⟨y, ?_, rfl⟩
36
+ have hd := hlower y hy
37
+ have hz' : dist (P y) (P x) < r / K := hz
38
+ have hh := (lt_div_iff₀ hK).mp hz'
39
+ exact lt_of_le_of_lt hd (by nlinarith [hh])
40
+ · exact Or.inr hzQ
41
+ apply IsPreconnected.subset_left_of_subset_union hopen hQ.isClosed.isOpen_compl
42
+ (disjoint_compl_right.mono_left hAQ) hsub _ isPreconnected_ball
43
+ exact ⟨P x, mem_ball_self (div_pos hr hK), mem_image_of_mem P (mem_ball_self hr)⟩
44
+
45
+ def closedRibbon : Set ℂ := {z | 0 ≤ z.re ∧ |z.im| ≤ 1}
46
+ def futureRibbon (k : ℝ) : Set ℂ := {z | k < z.re ∧ |z.im| < 1}
47
+
48
+ theorem futureRibbon_subset_closedRibbon {k : ℝ} (hk : 0 ≤ k) :
49
+ futureRibbon k ⊆ closedRibbon := by
50
+ intro z hz
51
+ exact ⟨hk.trans hz.1.le, hz.2.le⟩
52
+
53
+ theorem futureRibbon_convex (k : ℝ) : Convex ℝ (futureRibbon k) := by
54
+ have hre : Convex ℝ {z : ℂ | k < z.re} :=
55
+ convex_halfSpace_gt Complex.reLm.isLinear k
56
+ have him : Convex ℝ {z : ℂ | z.im ∈ Ioo (-1 : ℝ) 1} :=
57
+ (convex_Ioo (-1 : ℝ) 1).is_linear_preimage Complex.imLm.isLinear
58
+ simpa only [futureRibbon, abs_lt, mem_Ioo, ofPred_and] using hre.inter him
59
+
60
+ /-- Any unbounded connected free set belongs to the unbounded component
61
+ used in the actual Loewner surviving domain. -/
62
+ theorem free_preconnected_subset_surviving
63
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0) (S : Set ℂ)
64
+ (hS : IsPreconnected S) (hfree : S ⊆ upperHalfPlane \ (γ '' Icc 0 T))
65
+ (hunbounded : ¬ Bornology.IsBounded S) : S ⊆ survivingDomain γ T := by
66
+ intro z hz
67
+ refine ⟨hfree hz, ?_⟩
68
+ intro hbounded
69
+ exact hunbounded (hbounded.subset (hS.subset_connectedComponentIn hz hfree))
70
+
71
+ /-- Embedding excludes all nonlocal pieces of the stopped past from the
72
+ future ribbon. Escape to infinity places the whole future ribbon in the
73
+ surviving component, without assuming a filled-hull containment. -/
74
+ theorem futureRibbon_survives
75
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
76
+ (hi : InjOn P closedRibbon) {k : ℝ} (hk : 0 ≤ k)
77
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
78
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
79
+ (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
80
+ (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k)) :
81
+ P '' futureRibbon k ⊆ survivingDomain γ T := by
82
+ have hsub := futureRibbon_subset_closedRibbon hk
83
+ apply free_preconnected_subset_surviving γ T _
84
+ ((futureRibbon_convex k).isPreconnected.image P (hP.mono hsub)) _ hunbounded
85
+ rintro z ⟨y, hy, rfl⟩
86
+ refine ⟨hH y (hsub hy) (hk.trans_lt hy.1), ?_⟩
87
+ intro hyPast
88
+ obtain ⟨x, hx, he⟩ := hpast hyPast
89
+ have hxy : x = y := hi hx.1 (hsub hy) he
90
+ exact (not_le_of_gt hy.1) (hxy ▸ hx.2)
91
+
92
+ /-- A coordinate disk strictly ahead of the front and away from the two
93
+ ribbon edges gives a physical disk in the actual surviving domain. -/
94
+ theorem coordinate_ball_clearance
95
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
96
+ (hi : InjOn P closedRibbon) {k : ℝ} (hk : 0 ≤ k)
97
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
98
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
99
+ (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
100
+ (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
101
+ (x : ℂ) {r K : ℝ} (hr : 0 < r) (hK : 0 < K)
102
+ (hfront : k + r < x.re) (hedge : |x.im| + r < 1)
103
+ (hopen : IsOpen (P '' ball x r))
104
+ (hlower : ∀ y ∈ closedBall x r, dist y x ≤ K * dist (P y) (P x)) :
105
+ ball (P x) (r / K) ⊆ survivingDomain γ T := by
106
+ have hball : closedBall x r ⊆ futureRibbon k := by
107
+ intro y hy
108
+ have hd : ‖y - x‖ ≤ r := by simpa only [mem_closedBall, dist_eq_norm] using hy
109
+ have hre := (Complex.abs_re_le_norm (y - x)).trans hd
110
+ have him := (Complex.abs_im_le_norm (y - x)).trans hd
111
+ simp only [Complex.sub_re, Complex.sub_im] at hre him
112
+ refine ⟨by linarith [(abs_le.mp hre).1], ?_⟩
113
+ have htri : |y.im| ≤ |y.im - x.im| + |x.im| := by
114
+ simpa only [sub_add_cancel] using abs_add_le (y.im - x.im) x.im
115
+ linarith
116
+ exact (ball_subset_image_ball P x hr hK
117
+ (hP.mono (hball.trans (futureRibbon_subset_closedRibbon hk))) hopen hlower).trans
118
+ ((image_mono (ball_subset_closedBall.trans hball)).trans
119
+ (futureRibbon_survives P hP hi hk hH γ T hpast hunbounded))
120
+
121
+ /-- The paper's access guide, before applying the ribbon coordinate map. -/
122
+ def guideCoordinate (k x t : ℝ) : ℂ :=
123
+ ((k + t : ℝ) : ℂ) + ((x * max (1 - 4 * t) 0 : ℝ) : ℂ) * Complex.I
124
+
125
+ @[simp] theorem guideCoordinate_re (k x t : ℝ) :
126
+ (guideCoordinate k x t).re = k + t := by simp [guideCoordinate]
127
+
128
+ @[simp] theorem guideCoordinate_im (k x t : ℝ) :
129
+ (guideCoordinate k x t).im = x * max (1 - 4 * t) 0 := by simp [guideCoordinate]
130
+
131
+ theorem guideCoordinate_continuous (k x : ℝ) : Continuous (guideCoordinate k x) := by
132
+ unfold guideCoordinate
133
+ fun_prop
134
+
135
+ theorem guideCoordinate_im_bound {k x t : ℝ} (ht : 0 ≤ t) :
136
+ |(guideCoordinate k x t).im| ≤ |x| := by
137
+ rw [guideCoordinate_im, abs_mul, abs_of_nonneg (le_max_right (1 - 4 * t) 0)]
138
+ exact mul_le_of_le_one_right (abs_nonneg x) (max_le (by linarith) (by norm_num))
139
+
140
+ /-- The longitudinal coordinate gives the lower chord bound directly. -/
141
+ theorem guideCoordinate_lower_chord (k x u v : ℝ) :
142
+ |u - v| ≤ dist (guideCoordinate k x u) (guideCoordinate k x v) := by
143
+ have hh := Complex.abs_re_le_norm (guideCoordinate k x u - guideCoordinate k x v)
144
+ simpa only [Complex.sub_re, guideCoordinate_re, add_sub_add_left_eq_sub,
145
+ dist_eq_norm] using hh
146
+
147
+ theorem guideCoordinate_upper_chord (k x u v : ℝ) :
148
+ dist (guideCoordinate k x u) (guideCoordinate k x v) ≤
149
+ (1 + 4 * |x|) * |u - v| := by
150
+ have hmax := abs_max_sub_max_le_abs (1 - 4 * u) (1 - 4 * v) 0
151
+ have he : (1 - 4 * u) - (1 - 4 * v) = -4 * (u - v) := by ring
152
+ rw [he, abs_mul] at hmax
153
+ norm_num at hmax
154
+ have him : |x * max (1 - 4 * u) 0 - x * max (1 - 4 * v) 0| ≤
155
+ |x| * (4 * |u - v|) := by
156
+ rw [← mul_sub, abs_mul]
157
+ exact mul_le_mul_of_nonneg_left hmax (abs_nonneg x)
158
+ have hh := Complex.norm_le_abs_re_add_abs_im
159
+ (guideCoordinate k x u - guideCoordinate k x v)
160
+ simp only [Complex.sub_re, Complex.sub_im, guideCoordinate_re, guideCoordinate_im,
161
+ add_sub_add_left_eq_sub] at hh
162
+ rw [dist_eq_norm]
163
+ nlinarith
164
+
165
+ def guideRadius (t : ℝ) : ℝ := min t 1 / 4
166
+
167
+ theorem guideRadius_pos {t : ℝ} (ht : 0 < t) : 0 < guideRadius t :=
168
+ div_pos (lt_min ht zero_lt_one) (by norm_num)
169
+
170
+ /-- The guide is at most a quarter of the ribbon half-width from the
171
+ centerline; its coordinate disks have radius proportional to `min(t,1)`. -/
172
+ theorem guideCoordinate_disk_margins
173
+ {k x t : ℝ} (hx : |x| ≤ 1 / 4) (ht : 0 < t) :
174
+ k + guideRadius t < (guideCoordinate k x t).re ∧
175
+ |(guideCoordinate k x t).im| + guideRadius t < 1 := by
176
+ have hrt : guideRadius t ≤ t / 4 := div_le_div_of_nonneg_right (min_le_left _ _) (by norm_num)
177
+ have hr1 : guideRadius t ≤ 1 / 4 := div_le_div_of_nonneg_right (min_le_right _ _) (by norm_num)
178
+ have hi := (guideCoordinate_im_bound (k := k) (x := x) ht.le).trans hx
179
+ rw [guideCoordinate_re]
180
+ constructor <;> linarith
181
+
182
+ /-- Applying the coordinate disk lemma proves the paper's guide clearance
183
+ for every positive guide time, with the actual surviving domain. -/
184
+ theorem physical_guide_clearance
185
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
186
+ (hi : InjOn P closedRibbon) {k x K : ℝ} (hk : 0 ≤ k)
187
+ (hx : |x| ≤ 1 / 4) (hK : 0 < K)
188
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
189
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
190
+ (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
191
+ (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
192
+ (hopen : ∀ t ∈ Ioc (0 : ℝ) 2,
193
+ IsOpen (P '' ball (guideCoordinate k x t) (guideRadius t)))
194
+ (hlower : ∀ t ∈ Ioc (0 : ℝ) 2,
195
+ ∀ y ∈ closedBall (guideCoordinate k x t) (guideRadius t),
196
+ dist y (guideCoordinate k x t) ≤ K * dist (P y) (P (guideCoordinate k x t))) :
197
+ ∀ t ∈ Ioc (0 : ℝ) 2,
198
+ ball (P (guideCoordinate k x t)) (min t 1 / (4 * K)) ⊆ survivingDomain γ T := by
199
+ intro t ht
200
+ obtain ⟨hfront, hedge⟩ := guideCoordinate_disk_margins (k := k) hx ht.1
201
+ have hh := coordinate_ball_clearance P hP hi hk hH γ T hpast hunbounded
202
+ (guideCoordinate k x t) (guideRadius_pos ht.1) hK hfront hedge (hopen t ht) (hlower t ht)
203
+ simpa only [guideRadius, div_div] using hh
204
+
205
+ /-- The fixed length-four patch appearing in the admissible ribbon class. -/
206
+ def guidePatch (k : ℝ) : Set ℂ := {z | k ≤ z.re ∧ z.re ≤ k + 3 ∧ |z.im| ≤ 1}
207
+
208
+ theorem guideCoordinate_disk_subset_patch
209
+ {k x t : ℝ} (hx : |x| ≤ 1 / 4) (ht : t ∈ Ioc (0 : ℝ) 2) :
210
+ closedBall (guideCoordinate k x t) (guideRadius t) ⊆ guidePatch k := by
211
+ intro y hy
212
+ have hd : ‖y - guideCoordinate k x t‖ ≤ guideRadius t := by
213
+ simpa only [mem_closedBall, dist_eq_norm] using hy
214
+ have hre := (Complex.abs_re_le_norm (y - guideCoordinate k x t)).trans hd
215
+ have him := (Complex.abs_im_le_norm (y - guideCoordinate k x t)).trans hd
216
+ simp only [Complex.sub_re, Complex.sub_im, guideCoordinate_re, guideCoordinate_im] at hre him
217
+ obtain ⟨hfront, hedge⟩ := guideCoordinate_disk_margins (k := k) hx ht.1
218
+ have hr1 : guideRadius t ≤ 1 / 4 :=
219
+ div_le_div_of_nonneg_right (min_le_right _ _) (by norm_num)
220
+ have hi := (guideCoordinate_im_bound (k := k) (x := x) ht.1.le).trans hx
221
+ have htri : |y.im| ≤ |y.im - (guideCoordinate k x t).im| +
222
+ |(guideCoordinate k x t).im| := by
223
+ simpa only [sub_add_cancel] using
224
+ abs_add_le (y.im - (guideCoordinate k x t).im) (guideCoordinate k x t).im
225
+ change k ≤ y.re ∧ y.re ≤ k + 3 ∧ |y.im| ≤ 1
226
+ simp only [guideCoordinate_re] at hfront
227
+ simp only [guideCoordinate_im] at htri hi
228
+ exact ⟨by linarith [(abs_le.mp hre).1], by linarith [(abs_le.mp hre).2, ht.2],
229
+ by linarith⟩
230
+
231
+ theorem guidePatch_subset_closedRibbon {k : ℝ} (hk : 0 ≤ k) :
232
+ guidePatch k ⊆ closedRibbon := by
233
+ intro z hz
234
+ exact ⟨hk.trans hz.1, hz.2.2⟩
235
+
236
+ /-- The actual fixed patch inverse-Lipschitz bound suffices for all guide
237
+ disks. The only topological parameter is the cited planar disk theorem. -/
238
+ theorem physical_guide_clearance_of_patch
239
+ (hpublished : PublishedPlanarDiskOpenness)
240
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
241
+ (hi : InjOn P closedRibbon) {k x K : ℝ} (hk : 0 ≤ k)
242
+ (hx : |x| ≤ 1 / 4) (hK : 0 < K)
243
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
244
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
245
+ (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
246
+ (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
247
+ (hlower : ∀ u ∈ guidePatch k, ∀ v ∈ guidePatch k,
248
+ dist u v ≤ K * dist (P u) (P v)) :
249
+ ∀ t ∈ Ioc (0 : ℝ) 2,
250
+ ball (P (guideCoordinate k x t)) (min t 1 / (4 * K)) ⊆ survivingDomain γ T := by
251
+ apply physical_guide_clearance P hP hi hk hx hK hH γ T hpast hunbounded
252
+ · intro t ht
253
+ have hsub := (ball_subset_closedBall.trans (guideCoordinate_disk_subset_patch hx ht)).trans
254
+ (guidePatch_subset_closedRibbon hk)
255
+ exact hpublished P _ _ (guideRadius_pos ht.1) (hP.mono hsub) (hi.mono hsub)
256
+ · intro t ht y hy
257
+ have hsub := guideCoordinate_disk_subset_patch (k := k) hx ht
258
+ exact hlower y (hsub hy) _ (hsub (mem_closedBall_self (guideRadius_pos ht.1).le))
259
+
260
+ /-- Uniform clearance on every closed interval away from the tip is the
261
+ form used by joint physical/conformal guide compactness. -/
262
+ theorem physical_guide_clearance_away
263
+ (hpublished : PublishedPlanarDiskOpenness)
264
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon)
265
+ (hi : InjOn P closedRibbon) {k x K : ℝ} (hk : 0 ≤ k)
266
+ (hx : |x| ≤ 1 / 4) (hK : 0 < K)
267
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
268
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0)
269
+ (hpast : γ '' Icc 0 T ⊆ P '' {z ∈ closedRibbon | z.re ≤ k})
270
+ (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k))
271
+ (hlower : ∀ u ∈ guidePatch k, ∀ v ∈ guidePatch k,
272
+ dist u v ≤ K * dist (P u) (P v))
273
+ {δ : ℝ} (hδ : 0 < δ) (_hδ2 : δ ≤ 2) :
274
+ ∃ r : ℝ, 0 < r ∧ ∀ t ∈ Icc δ 2,
275
+ ball (P (guideCoordinate k x t)) r ⊆ survivingDomain γ T := by
276
+ refine ⟨min δ 1 / (4 * K), div_pos (lt_min hδ zero_lt_one) (by positivity), ?_⟩
277
+ intro t ht
278
+ apply (ball_subset_ball ?_).trans (physical_guide_clearance_of_patch hpublished P hP hi
279
+ hk hx hK hH γ T hpast hunbounded hlower t ⟨hδ.trans_le ht.1, ht.2⟩)
280
+ exact div_le_div_of_nonneg_right (min_le_min_right 1 ht.1) (by positivity)
281
+
282
+ theorem guideCoordinate_mem_patch {k x t : ℝ}
283
+ (hx : |x| ≤ 1 / 4) (ht : t ∈ Icc (0 : ℝ) 2) :
284
+ guideCoordinate k x t ∈ guidePatch k := by
285
+ change k ≤ (guideCoordinate k x t).re ∧
286
+ (guideCoordinate k x t).re ≤ k + 3 ∧ |(guideCoordinate k x t).im| ≤ 1
287
+ rw [guideCoordinate_re]
288
+ exact ⟨by linarith [ht.1], by linarith [ht.2],
289
+ (guideCoordinate_im_bound ht.1).trans (hx.trans (by norm_num))⟩
290
+
291
+ /-- The fixed coordinate patch speed bound gives the physical guide speed
292
+ bound required by the compactness and access-localization arguments. -/
293
+ theorem physical_guide_lipschitz
294
+ (P : ℂ → ℂ) (C : ℝ≥0) {k x : ℝ} (hx : |x| ≤ 1 / 4)
295
+ (hL : LipschitzOnWith C P (guidePatch k)) :
296
+ LipschitzOnWith (2 * C) (fun t => P (guideCoordinate k x t)) (Icc (0 : ℝ) 2) := by
297
+ apply lipschitzOnWith_iff_dist_le_mul.mpr
298
+ intro u hu v hv
299
+ have hp := hL.dist_le_mul _ (guideCoordinate_mem_patch hx hu) _
300
+ (guideCoordinate_mem_patch hx hv)
301
+ have hq := guideCoordinate_upper_chord k x u v
302
+ have hcq : dist (guideCoordinate k x u) (guideCoordinate k x v) ≤ 2 * |u - v| := by
303
+ exact hq.trans (mul_le_mul_of_nonneg_right (by linarith) (abs_nonneg _))
304
+ have hh := mul_le_mul_of_nonneg_left hcq C.coe_nonneg
305
+ simp only [NNReal.coe_mul, NNReal.coe_ofNat, Real.dist_eq]
306
+ nlinarith
307
+
308
+ /-- The lower patch Lipschitz bound makes the physical guide uniformly
309
+ simple, including its initial boundary point. -/
310
+ theorem physical_guide_lower_chord
311
+ (P : ℂ → ℂ) {k x K : ℝ} (hx : |x| ≤ 1 / 4) (hK : 0 < K)
312
+ (hlower : ∀ u ∈ guidePatch k, ∀ v ∈ guidePatch k,
313
+ dist u v ≤ K * dist (P u) (P v)) :
314
+ ∀ u ∈ Icc (0 : ℝ) 2, ∀ v ∈ Icc (0 : ℝ) 2,
315
+ (1 / K) * |u - v| ≤ dist (P (guideCoordinate k x u)) (P (guideCoordinate k x v)) := by
316
+ intro u hu v hv
317
+ have hh := (guideCoordinate_lower_chord k x u v).trans
318
+ (hlower _ (guideCoordinate_mem_patch hx hu) _ (guideCoordinate_mem_patch hx hv))
319
+ rw [one_div_mul_eq_div, div_le_iff₀ hK]
320
+ simpa only [mul_comm] using hh
321
+
322
+ @[simp] theorem guideCoordinate_zero (k x : ℝ) :
323
+ guideCoordinate k x 0 = (k : ℂ) + (x : ℂ) * Complex.I := by simp [guideCoordinate]
324
+
325
+ @[simp] theorem guideCoordinate_waypoint (k x : ℝ) :
326
+ guideCoordinate k x (1 / 2) = ((k + 1 / 2 : ℝ) : ℂ) := by
327
+ norm_num [guideCoordinate]
328
+
329
+ /-- The paper's escape condition on the centerline supplies the
330
+ unboundedness used to select the actual surviving component. -/
331
+ theorem futureRibbon_unbounded_of_centerline_escape
332
+ (P : ℂ → ℂ) (k : ℝ)
333
+ (hescape : Tendsto (fun s : ℝ => ‖P (s : ℂ)‖) atTop atTop) :
334
+ ¬ Bornology.IsBounded (P '' futureRibbon k) := by
335
+ intro hb
336
+ obtain ⟨R, _, hR⟩ := hb.exists_pos_norm_lt
337
+ obtain ⟨s, hs, hsR⟩ := ((eventually_gt_atTop k).and
338
+ (hescape.eventually (eventually_gt_atTop R))).exists
339
+ have hz : (s : ℂ) ∈ futureRibbon k := by
340
+ change k < (s : ℂ).re ∧ |(s : ℂ).im| < 1
341
+ simpa using And.intro hs (by norm_num : |(0 : ℝ)| < 1)
342
+ exact (not_lt_of_ge hsR.le) (hR _ (mem_image_of_mem P hz))
343
+
344
+ end SLEExactGauge.RibbonCoordinates
345
+
346
+ end
347
+
348
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonCoordinateLimit.lean CHANGED
@@ -1,138 +1,138 @@
1
- import OAI.Probability.SLE.Gauge.RibbonCoordinateCompactness
2
-
3
- namespace OAI
4
-
5
- /-! Strict half-plane location and actual moving ribbon regions for the
6
- compact coordinate limits. The middle region has the manuscript's fixed
7
- longitudinal interval `(1/3,2/3)` and transverse width. -/
8
-
9
- noncomputable section
10
- open Set Filter Metric
11
- open scoped Topology NNReal
12
-
13
- namespace SLEExactGauge.RibbonCoordinates
14
-
15
- /-- An open planar set in the closed upper half-plane cannot meet its
16
- boundary line. -/
17
- theorem open_nonnegative_height_subset_upperHalfPlane
18
- (U : Set ℂ) (hU : IsOpen U) (hheight : ∀ z ∈ U, 0 ≤ z.im) :
19
- U ⊆ upperHalfPlane := by
20
- intro z hz
21
- by_contra hn
22
- have hz0 : z.im = 0 := le_antisymm (le_of_not_gt hn) (hheight z hz)
23
- obtain ⟨ε, hε, hball⟩ := Metric.isOpen_iff.mp hU z hz
24
- let w : ℂ := z - ((ε / 2 : ℝ) : ℂ) * Complex.I
25
- have hwsub : w - z = -(((ε / 2 : ℝ) : ℂ) * Complex.I) := by dsimp [w]; ring
26
- have hdist : dist w z = ε / 2 := by
27
- rw [dist_eq_norm, hwsub, norm_neg, norm_mul, Complex.norm_I, mul_one]
28
- simp only [Complex.norm_real, Real.norm_eq_abs, abs_of_pos (half_pos hε)]
29
- have hw : w ∈ U := hball (by rw [mem_ball, hdist]; linarith)
30
- have him : w.im = z.im - ε / 2 := by simp [w]
31
- have hh := hheight w hw
32
- rw [him, hz0] at hh
33
- linarith
34
-
35
- /-- Uniform limits of admissible embedded ribbon patches still have
36
- strictly positive height at every interior coordinate point. -/
37
- theorem uniform_limit_interior_upperHalfPlane
38
- (hpublished : PublishedPlanarDiskOpenness)
39
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ)
40
- (hP : ContinuousOn P K) (hi : InjOn P K)
41
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
42
- (hheight : ∀ n z, z ∈ K → 0 ≤ (Pₙ n z).im) :
43
- MapsTo P (interior K) upperHalfPlane := by
44
- have hopen := isOpen_image_interior hpublished P K hP hi
45
- have hnonneg : ∀ z ∈ P '' interior K, 0 ≤ z.im := by
46
- rintro _ ⟨x, hx, rfl⟩
47
- exact ge_of_tendsto ((Complex.continuous_im.tendsto _).comp
48
- (hconv.tendsto_at (interior_subset hx)))
49
- (Eventually.of_forall (fun n => hheight n x (interior_subset hx)))
50
- intro x hx
51
- exact open_nonnegative_height_subset_upperHalfPlane _ hopen hnonneg
52
- (mem_image_of_mem P hx)
53
-
54
- /-- The compactness output needed for a local ribbon patch includes
55
- strict limiting height, without a separate positivity assumption. -/
56
- theorem exists_bilip_halfPlane_subsequence
57
- (hpublished : PublishedPlanarDiskOpenness)
58
- (Pₙ : ℕ → ℂ → ℂ) (K : Set ℂ) (hK : IsCompact K)
59
- (x₀ : ℂ) (hx₀ : x₀ ∈ K) (C L : ℝ≥0) (R : ℝ)
60
- (hupper : ∀ n, LipschitzOnWith C (Pₙ n) K)
61
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
62
- (htip : ∀ n, ‖Pₙ n x₀‖ ≤ R)
63
- (hheight : ∀ n z, z ∈ K → 0 ≤ (Pₙ n z).im) :
64
- ∃ P : ℂ → ℂ, ∃ φ : ℕ → ℕ, StrictMono φ ∧
65
- TendstoUniformlyOn (fun n => Pₙ (φ n)) P atTop K ∧
66
- LipschitzOnWith C P K ∧
67
- (∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) ∧
68
- InjOn P K ∧ MapsTo P (interior K) upperHalfPlane := by
69
- obtain ⟨P, φ, hφ, hconv, hPu, hPl, hi⟩ :=
70
- exists_bilip_uniform_subsequence Pₙ K hK x₀ hx₀ C L R hupper hlower htip
71
- exact ⟨P, φ, hφ, hconv, hPu, hPl, hi,
72
- uniform_limit_interior_upperHalfPlane hpublished (fun n => Pₙ (φ n)) P K
73
- hPu.continuousOn hi hconv (fun n => hheight (φ n))⟩
74
-
75
- /-- The actual physical middle strip in the source's local coordinates. -/
76
- def physicalMiddleRegion (P : ℂ → ℂ) (K : Set ℂ) (k ε : ℝ) : Set ℂ :=
77
- P '' {w ∈ K | (1 / 3 : ℝ) < w.re - k ∧ w.re - k < 2 / 3 ∧ |w.im| < ε}
78
-
79
- /-- Strict transverse margin on a compact common physical patch implies
80
- that its moving longitudinal band is in the actual moving middle strip. -/
81
- theorem eventual_middle_region_inclusion
82
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K U : Set ℂ) (L : ℝ≥0) (k ε : ℝ)
83
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
84
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
85
- (hU : IsCompact (closure U)) (hUP : closure U ⊆ P '' K)
86
- (hcover : ∀ᶠ n in atTop, closure U ⊆ Pₙ n '' K)
87
- (hwidth : ∀ z ∈ closure U, |(coordinateInverse P K z).im| < ε) :
88
- ∀ᶠ n in atTop,
89
- U ∩ {z | (1 / 3 : ℝ) < longitudinalCoordinate (Pₙ n) K k z ∧
90
- longitudinalCoordinate (Pₙ n) K k z < 2 / 3} ⊆
91
- physicalMiddleRegion (Pₙ n) K k ε := by
92
- have hopen : IsOpen {w : ℂ | |w.im| < ε} := isOpen_lt Complex.continuous_im.abs continuous_const
93
- have hcoord := eventual_compact_coordinate_region Pₙ P K (closure U)
94
- {w : ℂ | |w.im| < ε} L hconv hlower hU hUP hcover hopen
95
- (by rintro _ ⟨z, hz, rfl⟩; exact hwidth z hz)
96
- filter_upwards [hcoord] with n hn
97
- rintro z ⟨hz, hband⟩
98
- obtain ⟨x, hx, he⟩ := hn (subset_closure hz)
99
- have hi := lower_lipschitz_injOn (Pₙ n) K L (hlower n)
100
- have heq : coordinateInverse (Pₙ n) K z = x := by
101
- rw [← he]
102
- exact coordinateInverse_left hi hx.1
103
- refine ⟨x, ⟨hx.1, ?_, ?_, hx.2⟩, he⟩
104
- · simpa only [longitudinalCoordinate, heq] using hband.1
105
- · simpa only [longitudinalCoordinate, heq] using hband.2
106
-
107
- /-- Physical terminal control with the inverse patch constant gives the
108
- source's transverse coordinate bound at the attained front. -/
109
- theorem source_terminal_offset
110
- (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0) (k ε : ℝ) (z : ℂ)
111
- (hL : 0 < L)
112
- (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y))
113
- (hbase : ((k + 1 : ℝ) : ℂ) ∈ K) (hz : z ∈ P '' K)
114
- (hp : longitudinalCoordinate P K k z = 1)
115
- (hd : dist z (P ((k + 1 : ℝ) : ℂ)) < ε / (4 * (L : ℝ))) :
116
- (coordinateInverse P K z).re = k + 1 ∧
117
- |(coordinateInverse P K z).im| < ε / 4 := by
118
- constructor
119
- · dsimp [longitudinalCoordinate] at hp
120
- linarith
121
- · have hh := hlower _ (coordinateInverse_mem hz) _ hbase
122
- rw [coordinateInverse_right hz] at hh
123
- have him : |(coordinateInverse P K z).im| ≤
124
- dist (coordinateInverse P K z) ((k + 1 : ℝ) : ℂ) := by
125
- simpa only [dist_eq_norm, Complex.sub_im, Complex.ofReal_im, sub_zero]
126
- using Complex.abs_im_le_norm (coordinateInverse P K z - ((k + 1 : ℝ) : ℂ))
127
- have hLr : 0 < (L : ℝ) := hL
128
- have hden : 0 < 4 * (L : ℝ) := by positivity
129
- have hd' := (lt_div_iff₀ hden).mp hd
130
- have he : (L : ℝ) * dist z (P ((k + 1 : ℝ) : ℂ)) < ε / 4 := by
131
- linarith
132
- exact (him.trans hh).trans_lt he
133
-
134
- end SLEExactGauge.RibbonCoordinates
135
-
136
- end
137
-
138
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonCoordinateCompactness
2
+
3
+ namespace OAI
4
+
5
+ /-! Strict half-plane location and actual moving ribbon regions for the
6
+ compact coordinate limits. The middle region has the manuscript's fixed
7
+ longitudinal interval `(1/3,2/3)` and transverse width. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Metric
11
+ open scoped Topology NNReal
12
+
13
+ namespace SLEExactGauge.RibbonCoordinates
14
+
15
+ /-- An open planar set in the closed upper half-plane cannot meet its
16
+ boundary line. -/
17
+ theorem open_nonnegative_height_subset_upperHalfPlane
18
+ (U : Set ℂ) (hU : IsOpen U) (hheight : ∀ z ∈ U, 0 ≤ z.im) :
19
+ U ⊆ upperHalfPlane := by
20
+ intro z hz
21
+ by_contra hn
22
+ have hz0 : z.im = 0 := le_antisymm (le_of_not_gt hn) (hheight z hz)
23
+ obtain ⟨ε, hε, hball⟩ := Metric.isOpen_iff.mp hU z hz
24
+ let w : ℂ := z - ((ε / 2 : ℝ) : ℂ) * Complex.I
25
+ have hwsub : w - z = -(((ε / 2 : ℝ) : ℂ) * Complex.I) := by dsimp [w]; ring
26
+ have hdist : dist w z = ε / 2 := by
27
+ rw [dist_eq_norm, hwsub, norm_neg, norm_mul, Complex.norm_I, mul_one]
28
+ simp only [Complex.norm_real, Real.norm_eq_abs, abs_of_pos (half_pos hε)]
29
+ have hw : w ∈ U := hball (by rw [mem_ball, hdist]; linarith)
30
+ have him : w.im = z.im - ε / 2 := by simp [w]
31
+ have hh := hheight w hw
32
+ rw [him, hz0] at hh
33
+ linarith
34
+
35
+ /-- Uniform limits of admissible embedded ribbon patches still have
36
+ strictly positive height at every interior coordinate point. -/
37
+ theorem uniform_limit_interior_upperHalfPlane
38
+ (hpublished : PublishedPlanarDiskOpenness)
39
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ)
40
+ (hP : ContinuousOn P K) (hi : InjOn P K)
41
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
42
+ (hheight : ∀ n z, z ∈ K → 0 ≤ (Pₙ n z).im) :
43
+ MapsTo P (interior K) upperHalfPlane := by
44
+ have hopen := isOpen_image_interior hpublished P K hP hi
45
+ have hnonneg : ∀ z ∈ P '' interior K, 0 ≤ z.im := by
46
+ rintro _ ⟨x, hx, rfl⟩
47
+ exact ge_of_tendsto ((Complex.continuous_im.tendsto _).comp
48
+ (hconv.tendsto_at (interior_subset hx)))
49
+ (Eventually.of_forall (fun n => hheight n x (interior_subset hx)))
50
+ intro x hx
51
+ exact open_nonnegative_height_subset_upperHalfPlane _ hopen hnonneg
52
+ (mem_image_of_mem P hx)
53
+
54
+ /-- The compactness output needed for a local ribbon patch includes
55
+ strict limiting height, without a separate positivity assumption. -/
56
+ theorem exists_bilip_halfPlane_subsequence
57
+ (hpublished : PublishedPlanarDiskOpenness)
58
+ (Pₙ : ℕ → ℂ → ℂ) (K : Set ℂ) (hK : IsCompact K)
59
+ (x₀ : ℂ) (hx₀ : x₀ ∈ K) (C L : ℝ≥0) (R : ℝ)
60
+ (hupper : ∀ n, LipschitzOnWith C (Pₙ n) K)
61
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
62
+ (htip : ∀ n, ‖Pₙ n x₀‖ ≤ R)
63
+ (hheight : ∀ n z, z ∈ K → 0 ≤ (Pₙ n z).im) :
64
+ ∃ P : ℂ → ℂ, ∃ φ : ℕ → ℕ, StrictMono φ ∧
65
+ TendstoUniformlyOn (fun n => Pₙ (φ n)) P atTop K ∧
66
+ LipschitzOnWith C P K ∧
67
+ (∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y)) ∧
68
+ InjOn P K ∧ MapsTo P (interior K) upperHalfPlane := by
69
+ obtain ⟨P, φ, hφ, hconv, hPu, hPl, hi⟩ :=
70
+ exists_bilip_uniform_subsequence Pₙ K hK x₀ hx₀ C L R hupper hlower htip
71
+ exact ⟨P, φ, hφ, hconv, hPu, hPl, hi,
72
+ uniform_limit_interior_upperHalfPlane hpublished (fun n => Pₙ (φ n)) P K
73
+ hPu.continuousOn hi hconv (fun n => hheight (φ n))⟩
74
+
75
+ /-- The actual physical middle strip in the source's local coordinates. -/
76
+ def physicalMiddleRegion (P : ℂ → ℂ) (K : Set ℂ) (k ε : ℝ) : Set ℂ :=
77
+ P '' {w ∈ K | (1 / 3 : ℝ) < w.re - k ∧ w.re - k < 2 / 3 ∧ |w.im| < ε}
78
+
79
+ /-- Strict transverse margin on a compact common physical patch implies
80
+ that its moving longitudinal band is in the actual moving middle strip. -/
81
+ theorem eventual_middle_region_inclusion
82
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K U : Set ℂ) (L : ℝ≥0) (k ε : ℝ)
83
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
84
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
85
+ (hU : IsCompact (closure U)) (hUP : closure U ⊆ P '' K)
86
+ (hcover : ∀ᶠ n in atTop, closure U ⊆ Pₙ n '' K)
87
+ (hwidth : ∀ z ∈ closure U, |(coordinateInverse P K z).im| < ε) :
88
+ ∀ᶠ n in atTop,
89
+ U ∩ {z | (1 / 3 : ℝ) < longitudinalCoordinate (Pₙ n) K k z ∧
90
+ longitudinalCoordinate (Pₙ n) K k z < 2 / 3} ⊆
91
+ physicalMiddleRegion (Pₙ n) K k ε := by
92
+ have hopen : IsOpen {w : ℂ | |w.im| < ε} := isOpen_lt Complex.continuous_im.abs continuous_const
93
+ have hcoord := eventual_compact_coordinate_region Pₙ P K (closure U)
94
+ {w : ℂ | |w.im| < ε} L hconv hlower hU hUP hcover hopen
95
+ (by rintro _ ⟨z, hz, rfl⟩; exact hwidth z hz)
96
+ filter_upwards [hcoord] with n hn
97
+ rintro z ⟨hz, hband⟩
98
+ obtain ⟨x, hx, he⟩ := hn (subset_closure hz)
99
+ have hi := lower_lipschitz_injOn (Pₙ n) K L (hlower n)
100
+ have heq : coordinateInverse (Pₙ n) K z = x := by
101
+ rw [← he]
102
+ exact coordinateInverse_left hi hx.1
103
+ refine ⟨x, ⟨hx.1, ?_, ?_, hx.2⟩, he⟩
104
+ · simpa only [longitudinalCoordinate, heq] using hband.1
105
+ · simpa only [longitudinalCoordinate, heq] using hband.2
106
+
107
+ /-- Physical terminal control with the inverse patch constant gives the
108
+ source's transverse coordinate bound at the attained front. -/
109
+ theorem source_terminal_offset
110
+ (P : ℂ → ℂ) (K : Set ℂ) (L : ℝ≥0) (k ε : ℝ) (z : ℂ)
111
+ (hL : 0 < L)
112
+ (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y))
113
+ (hbase : ((k + 1 : ℝ) : ℂ) ∈ K) (hz : z ∈ P '' K)
114
+ (hp : longitudinalCoordinate P K k z = 1)
115
+ (hd : dist z (P ((k + 1 : ℝ) : ℂ)) < ε / (4 * (L : ℝ))) :
116
+ (coordinateInverse P K z).re = k + 1 ∧
117
+ |(coordinateInverse P K z).im| < ε / 4 := by
118
+ constructor
119
+ · dsimp [longitudinalCoordinate] at hp
120
+ linarith
121
+ · have hh := hlower _ (coordinateInverse_mem hz) _ hbase
122
+ rw [coordinateInverse_right hz] at hh
123
+ have him : |(coordinateInverse P K z).im| ≤
124
+ dist (coordinateInverse P K z) ((k + 1 : ℝ) : ℂ) := by
125
+ simpa only [dist_eq_norm, Complex.sub_im, Complex.ofReal_im, sub_zero]
126
+ using Complex.abs_im_le_norm (coordinateInverse P K z - ((k + 1 : ℝ) : ℂ))
127
+ have hLr : 0 < (L : ℝ) := hL
128
+ have hden : 0 < 4 * (L : ℝ) := by positivity
129
+ have hd' := (lt_div_iff₀ hden).mp hd
130
+ have he : (L : ℝ) * dist z (P ((k + 1 : ℝ) : ℂ)) < ε / 4 := by
131
+ linarith
132
+ exact (him.trans hh).trans_lt he
133
+
134
+ end SLEExactGauge.RibbonCoordinates
135
+
136
+ end
137
+
138
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonExperimentAssembly.lean CHANGED
@@ -1,100 +1,100 @@
1
- import OAI.Probability.SLE.Gauge.RibbonMiddleMass
2
- import OAI.Probability.SLE.Gauge.RandomPassageBounds
3
-
4
- namespace OAI
5
-
6
- /-! The dense experiment concatenates full passage-and-mass events only
7
- on histories where every previous passage has succeeded. Their spatial
8
- middle strips are then charged to one actual sausage. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge
15
- open RibbonCoordinates
16
-
17
- lemma adapted_successes_lower_bound_on_previous
18
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω)
19
- (ℱ : Filtration ℕ mΩ) (init : Set Ω) (hinit : MeasurableSet[ℱ 0] init)
20
- (success : ℕ → Set Ω) (hmeas : ∀ n, MeasurableSet[ℱ (n + 1)] (success n))
21
- (q : ℝ≥0∞)
22
- (hstep : ∀ n (A : Set Ω), MeasurableSet[ℱ n] A →
23
- A ⊆ init ∩ ⋂ j ∈ Finset.range n, success j → q * P A ≤ P (A ∩ success n)) :
24
- ∀ N : ℕ, q ^ N * P init ≤ P (init ∩ ⋂ n ∈ Finset.range N, success n) := by
25
- intro N
26
- induction N with
27
- | zero => simp
28
- | succ N ih =>
29
- let A := init ∩ ⋂ n ∈ Finset.range N, success n
30
- have hA : MeasurableSet[ℱ N] A := by
31
- apply ((ℱ.mono (Nat.zero_le N)) _ hinit).inter
32
- apply MeasurableSet.iInter
33
- intro n
34
- apply MeasurableSet.iInter
35
- intro hn
36
- exact (ℱ.mono (Nat.succ_le_of_lt (Finset.mem_range.mp hn))) _ (hmeas n)
37
- have he : (init ∩ ⋂ n ∈ Finset.range (N + 1), success n) = A ∩ success N := by
38
- ext ω
39
- simp only [A, mem_inter_iff, mem_iInter, Finset.mem_range]
40
- constructor
41
- · rintro ⟨hi, h⟩
42
- exact ⟨⟨hi, fun n hn => h n (Nat.lt_succ_of_lt hn)⟩, h N (Nat.lt_succ_self N)⟩
43
- · rintro ⟨⟨hi, h⟩, hN⟩
44
- refine ⟨hi, fun n hn => ?_⟩
45
- rcases Nat.lt_succ_iff_lt_or_eq.mp hn with hn | rfl
46
- · exact h n hn
47
- · exact hN
48
- rw [he, pow_succ]
49
- calc
50
- q ^ N * q * P init = q * (q ^ N * P init) := by ac_rfl
51
- _ ≤ q * P A := mul_le_mul' le_rfl ih
52
- _ ≤ P (A ∩ success N) := hstep N A hA Subset.rfl
53
-
54
- lemma ribbon_probability_of_quadratic_completion
55
- {q D : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) (hD : 0 ≤ D) :
56
- ∃ C : ℝ, 0 < C ∧ ∀ (m N : ℕ), (N : ℝ) ≤ D * (m : ℝ) ^ 2 →
57
- Real.exp (-C * (m : ℝ) ^ 2) ≤ q ^ N := by
58
- have hlog : Real.log q ≤ 0 := Real.log_nonpos hq.le hq1
59
- refine ⟨1 - D * Real.log q, by nlinarith, ?_⟩
60
- intro m N hN
61
- calc
62
- _ ≤ Real.exp ((N : ℝ) * Real.log q) := by
63
- apply Real.exp_le_exp.mpr
64
- have hh := mul_le_mul_of_nonpos_right hN hlog
65
- nlinarith [sq_nonneg (m : ℝ)]
66
- _ = q ^ N := by rw [Real.exp_nat_mul, Real.exp_log hq]
67
-
68
- /-- The genuine adapted successes force the desired whole-trace mass at
69
- one prescribed mesh, using only retained disjoint middle strips. -/
70
- theorem ribbon_experiment_mass_event_probability
71
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (μ : Measure Ω)
72
- (ℱ : Filtration ℕ mΩ) (init : Set Ω) (hinit : MeasurableSet[ℱ 0] init)
73
- (success : ℕ → Set Ω) (hmeas : ∀ n, MeasurableSet[ℱ (n + 1)] (success n))
74
- (q : ℝ≥0∞)
75
- (hstep : ∀ n (A : Set Ω), MeasurableSet[ℱ n] A →
76
- A ⊆ init ∩ ⋂ j ∈ Finset.range n, success j → q * μ A ≤ μ (A ∩ success n))
77
- (hpublished : PublishedPlanarDiskOpenness)
78
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hiP : InjOn P closedRibbon)
79
- {ε : ℝ} (hε : ε ≤ 1) (I : Finset ℕ) (N : ℕ)
80
- (κ : ℝ) (γ : Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (v c ell : ℝ)
81
- (hell : 0 < ell) (m : ℕ) (hm : 0 < m) (hcard : I.card = m ^ 2) (D : Set ℂ)
82
- (hregions : ∀ i ∈ I, physicalMiddleRegion P closedRibbon i ε ⊆ D)
83
- (hmass : ∀ ω ∈ init ∩ ⋂ n ∈ Finset.range N, success n, ∀ i ∈ I,
84
- ENNReal.ofReal (c * (ell / (m : ℝ)) ^ dimension κ) ≤
85
- segmentSausageCharge κ (γ ω) (s i ω) (t i ω) v
86
- (physicalMiddleRegion P closedRibbon i ε)) :
87
- q ^ N * μ init ≤ μ {ω |
88
- ENNReal.ofReal (c * ell ^ dimension κ * (m : ℝ) ^ codimension κ) ≤
89
- wholeSausageCharge κ (γ ω) v D} := by
90
- refine (adapted_successes_lower_bound_on_previous μ ℱ init hinit success hmeas q hstep N).trans
91
- (measure_mono ?_)
92
- intro ω hω
93
- exact dense_ribbon_mass_from_steps hpublished P hP hiP hε I κ (γ ω)
94
- (fun i => s i ω) (fun i => t i ω) v c ell hell m hm hcard D hregions (hmass ω hω)
95
-
96
- end SLEExactGauge
97
-
98
- end
99
-
100
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonMiddleMass
2
+ import OAI.Probability.SLE.Gauge.RandomPassageBounds
3
+
4
+ namespace OAI
5
+
6
+ /-! The dense experiment concatenates full passage-and-mass events only
7
+ on histories where every previous passage has succeeded. Their spatial
8
+ middle strips are then charged to one actual sausage. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge
15
+ open RibbonCoordinates
16
+
17
+ lemma adapted_successes_lower_bound_on_previous
18
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω)
19
+ (ℱ : Filtration ℕ mΩ) (init : Set Ω) (hinit : MeasurableSet[ℱ 0] init)
20
+ (success : ℕ → Set Ω) (hmeas : ∀ n, MeasurableSet[ℱ (n + 1)] (success n))
21
+ (q : ℝ≥0∞)
22
+ (hstep : ∀ n (A : Set Ω), MeasurableSet[ℱ n] A →
23
+ A ⊆ init ∩ ⋂ j ∈ Finset.range n, success j → q * P A ≤ P (A ∩ success n)) :
24
+ ∀ N : ℕ, q ^ N * P init ≤ P (init ∩ ⋂ n ∈ Finset.range N, success n) := by
25
+ intro N
26
+ induction N with
27
+ | zero => simp
28
+ | succ N ih =>
29
+ let A := init ∩ ⋂ n ∈ Finset.range N, success n
30
+ have hA : MeasurableSet[ℱ N] A := by
31
+ apply ((ℱ.mono (Nat.zero_le N)) _ hinit).inter
32
+ apply MeasurableSet.iInter
33
+ intro n
34
+ apply MeasurableSet.iInter
35
+ intro hn
36
+ exact (ℱ.mono (Nat.succ_le_of_lt (Finset.mem_range.mp hn))) _ (hmeas n)
37
+ have he : (init ∩ ⋂ n ∈ Finset.range (N + 1), success n) = A ∩ success N := by
38
+ ext ω
39
+ simp only [A, mem_inter_iff, mem_iInter, Finset.mem_range]
40
+ constructor
41
+ · rintro ⟨hi, h⟩
42
+ exact ⟨⟨hi, fun n hn => h n (Nat.lt_succ_of_lt hn)⟩, h N (Nat.lt_succ_self N)⟩
43
+ · rintro ⟨⟨hi, h⟩, hN⟩
44
+ refine ⟨hi, fun n hn => ?_⟩
45
+ rcases Nat.lt_succ_iff_lt_or_eq.mp hn with hn | rfl
46
+ · exact h n hn
47
+ · exact hN
48
+ rw [he, pow_succ]
49
+ calc
50
+ q ^ N * q * P init = q * (q ^ N * P init) := by ac_rfl
51
+ _ ≤ q * P A := mul_le_mul' le_rfl ih
52
+ _ ≤ P (A ∩ success N) := hstep N A hA Subset.rfl
53
+
54
+ lemma ribbon_probability_of_quadratic_completion
55
+ {q D : ℝ} (hq : 0 < q) (hq1 : q ≤ 1) (hD : 0 ≤ D) :
56
+ ∃ C : ℝ, 0 < C ∧ ∀ (m N : ℕ), (N : ℝ) ≤ D * (m : ℝ) ^ 2 →
57
+ Real.exp (-C * (m : ℝ) ^ 2) ≤ q ^ N := by
58
+ have hlog : Real.log q ≤ 0 := Real.log_nonpos hq.le hq1
59
+ refine ⟨1 - D * Real.log q, by nlinarith, ?_⟩
60
+ intro m N hN
61
+ calc
62
+ _ ≤ Real.exp ((N : ℝ) * Real.log q) := by
63
+ apply Real.exp_le_exp.mpr
64
+ have hh := mul_le_mul_of_nonpos_right hN hlog
65
+ nlinarith [sq_nonneg (m : ℝ)]
66
+ _ = q ^ N := by rw [Real.exp_nat_mul, Real.exp_log hq]
67
+
68
+ /-- The genuine adapted successes force the desired whole-trace mass at
69
+ one prescribed mesh, using only retained disjoint middle strips. -/
70
+ theorem ribbon_experiment_mass_event_probability
71
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (μ : Measure Ω)
72
+ (ℱ : Filtration ℕ mΩ) (init : Set Ω) (hinit : MeasurableSet[ℱ 0] init)
73
+ (success : ℕ → Set Ω) (hmeas : ∀ n, MeasurableSet[ℱ (n + 1)] (success n))
74
+ (q : ℝ≥0∞)
75
+ (hstep : ∀ n (A : Set Ω), MeasurableSet[ℱ n] A →
76
+ A ⊆ init ∩ ⋂ j ∈ Finset.range n, success j → q * μ A ≤ μ (A ∩ success n))
77
+ (hpublished : PublishedPlanarDiskOpenness)
78
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hiP : InjOn P closedRibbon)
79
+ {ε : ℝ} (hε : ε ≤ 1) (I : Finset ℕ) (N : ℕ)
80
+ (κ : ℝ) (γ : Ω → ℝ≥0 → ℂ) (s t : ℕ → Ω → ℝ≥0) (v c ell : ℝ)
81
+ (hell : 0 < ell) (m : ℕ) (hm : 0 < m) (hcard : I.card = m ^ 2) (D : Set ℂ)
82
+ (hregions : ∀ i ∈ I, physicalMiddleRegion P closedRibbon i ε ⊆ D)
83
+ (hmass : ∀ ω ∈ init ∩ ⋂ n ∈ Finset.range N, success n, ∀ i ∈ I,
84
+ ENNReal.ofReal (c * (ell / (m : ℝ)) ^ dimension κ) ≤
85
+ segmentSausageCharge κ (γ ω) (s i ω) (t i ω) v
86
+ (physicalMiddleRegion P closedRibbon i ε)) :
87
+ q ^ N * μ init ≤ μ {ω |
88
+ ENNReal.ofReal (c * ell ^ dimension κ * (m : ℝ) ^ codimension κ) ≤
89
+ wholeSausageCharge κ (γ ω) v D} := by
90
+ refine (adapted_successes_lower_bound_on_previous μ ℱ init hinit success hmeas q hstep N).trans
91
+ (measure_mono ?_)
92
+ intro ω hω
93
+ exact dense_ribbon_mass_from_steps hpublished P hP hiP hε I κ (γ ω)
94
+ (fun i => s i ω) (fun i => t i ω) v c ell hell m hm hcard D hregions (hmass ω hω)
95
+
96
+ end SLEExactGauge
97
+
98
+ end
99
+
100
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonFrontFreshness.lean CHANGED
@@ -1,71 +1,71 @@
1
- import OAI.Probability.SLE.Gauge.RibbonCoordinateGeometry
2
- import OAI.Probability.SLE.Loewner.FreshTipMapOut
3
-
4
- namespace OAI
5
-
6
- /-! First arrival at a ribbon front is fresh in the actual Loewner sense:
7
- the current tip survives every strictly earlier hull. This identifies the
8
- access prime end with the current driving point through the proved fresh-tip
9
- chart limit. -/
10
-
11
- noncomputable section
12
- open Set Filter Metric
13
- open scoped Topology NNReal
14
-
15
- namespace SLEExactGauge.RibbonCoordinates
16
-
17
- theorem ribbon_front_tip_survives_prior
18
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
19
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
20
- (hescape : Tendsto (fun s : ℝ => ‖P (s : ℂ)‖) atTop atTop)
21
- (γ x : ℝ≥0 → ℂ) (T : ℝ≥0) (hx : ContinuousOn x (Icc 0 T))
22
- (hx0 : (x 0).re = 0) (hcoords : MapsTo x (Icc 0 T) closedRibbon)
23
- (hγ : EqOn γ (P ∘ x) (Icc 0 T))
24
- (hfront : ∀ t : ℝ≥0, t < T → (x t).re < (x T).re)
25
- (hinterior : |(x T).im| < 1) :
26
- ∀ s : ℝ≥0, s < T → γ T ∈ survivingDomain γ s := by
27
- intro s hs
28
- have hxs := hx.mono (Icc_subset_Icc_right hs.le)
29
- have hrex : ContinuousOn (fun t => (x t).re) (Icc 0 s) :=
30
- Complex.continuous_re.comp_continuousOn hxs
31
- obtain ⟨t, ht, hmax⟩ := isCompact_Icc.exists_isMaxOn
32
- (nonempty_Icc.mpr (show (0 : ℝ≥0) ≤ s from bot_le)) hrex
33
- let k := (x t).re
34
- have hk : 0 ≤ k := by
35
- have hh := hmax (show (0 : ℝ≥0) ∈ Icc 0 s from ⟨le_rfl, bot_le⟩)
36
- change (x 0).re ≤ (x t).re at hh
37
- simpa only [hx0] using hh
38
- have hpast : γ '' Icc 0 s ⊆ P '' {z ∈ closedRibbon | z.re ≤ k} := by
39
- rintro z ⟨u, hu, rfl⟩
40
- refine ⟨x u, ⟨hcoords ⟨hu.1, hu.2.trans hs.le⟩, hmax hu⟩, ?_⟩
41
- exact (hγ ⟨hu.1, hu.2.trans hs.le⟩).symm
42
- have htip : x T ∈ futureRibbon k :=
43
- ⟨hfront t (ht.2.trans_lt hs), hinterior⟩
44
- have hsurv := futureRibbon_survives P hP hi hk hH γ s hpast
45
- (futureRibbon_unbounded_of_centerline_escape P k hescape)
46
- (mem_image_of_mem P htip)
47
- rw [hγ ⟨bot_le, le_rfl⟩]
48
- exact hsurv
49
-
50
- /-- The actual capacity chart tends to the current driver along the
51
- surviving domain at a first ribbon front. -/
52
- theorem IsCapacityTwoWitness.ribbon_front_chart_tendsto
53
- {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
54
- (hw : IsCapacityTwoWitness U γ G F) (hU : Continuous U)
55
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
56
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
57
- (hescape : Tendsto (fun s : ℝ => ‖P (s : ℂ)‖) atTop atTop)
58
- (x : ℝ≥0 → ℂ) (T : ℝ≥0) (hT : 0 < T) (hx : ContinuousOn x (Icc 0 T))
59
- (hx0 : (x 0).re = 0) (hcoords : MapsTo x (Icc 0 T) closedRibbon)
60
- (hγ : EqOn γ (P ∘ x) (Icc 0 T))
61
- (hfront : ∀ t : ℝ≥0, t < T → (x t).re < (x T).re)
62
- (hinterior : |(x T).im| < 1) :
63
- Tendsto (G T) (𝓝[survivingDomain γ T] (γ T)) (𝓝 (U T : ℂ)) := by
64
- exact hw.fresh_tip_chart_tendsto hU hT
65
- (ribbon_front_tip_survives_prior P hP hi hH hescape γ x T hx hx0 hcoords hγ hfront hinterior)
66
-
67
- end SLEExactGauge.RibbonCoordinates
68
-
69
- end
70
-
71
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonCoordinateGeometry
2
+ import OAI.Probability.SLE.Loewner.FreshTipMapOut
3
+
4
+ namespace OAI
5
+
6
+ /-! First arrival at a ribbon front is fresh in the actual Loewner sense:
7
+ the current tip survives every strictly earlier hull. This identifies the
8
+ access prime end with the current driving point through the proved fresh-tip
9
+ chart limit. -/
10
+
11
+ noncomputable section
12
+ open Set Filter Metric
13
+ open scoped Topology NNReal
14
+
15
+ namespace SLEExactGauge.RibbonCoordinates
16
+
17
+ theorem ribbon_front_tip_survives_prior
18
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
19
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
20
+ (hescape : Tendsto (fun s : ℝ => ‖P (s : ℂ)‖) atTop atTop)
21
+ (γ x : ℝ≥0 → ℂ) (T : ℝ≥0) (hx : ContinuousOn x (Icc 0 T))
22
+ (hx0 : (x 0).re = 0) (hcoords : MapsTo x (Icc 0 T) closedRibbon)
23
+ (hγ : EqOn γ (P ∘ x) (Icc 0 T))
24
+ (hfront : ∀ t : ℝ≥0, t < T → (x t).re < (x T).re)
25
+ (hinterior : |(x T).im| < 1) :
26
+ ∀ s : ℝ≥0, s < T → γ T ∈ survivingDomain γ s := by
27
+ intro s hs
28
+ have hxs := hx.mono (Icc_subset_Icc_right hs.le)
29
+ have hrex : ContinuousOn (fun t => (x t).re) (Icc 0 s) :=
30
+ Complex.continuous_re.comp_continuousOn hxs
31
+ obtain ⟨t, ht, hmax⟩ := isCompact_Icc.exists_isMaxOn
32
+ (nonempty_Icc.mpr (show (0 : ℝ≥0) ≤ s from bot_le)) hrex
33
+ let k := (x t).re
34
+ have hk : 0 ≤ k := by
35
+ have hh := hmax (show (0 : ℝ≥0) ∈ Icc 0 s from ⟨le_rfl, bot_le⟩)
36
+ change (x 0).re ≤ (x t).re at hh
37
+ simpa only [hx0] using hh
38
+ have hpast : γ '' Icc 0 s ⊆ P '' {z ∈ closedRibbon | z.re ≤ k} := by
39
+ rintro z ⟨u, hu, rfl⟩
40
+ refine ⟨x u, ⟨hcoords ⟨hu.1, hu.2.trans hs.le⟩, hmax hu⟩, ?_⟩
41
+ exact (hγ ⟨hu.1, hu.2.trans hs.le⟩).symm
42
+ have htip : x T ∈ futureRibbon k :=
43
+ ⟨hfront t (ht.2.trans_lt hs), hinterior⟩
44
+ have hsurv := futureRibbon_survives P hP hi hk hH γ s hpast
45
+ (futureRibbon_unbounded_of_centerline_escape P k hescape)
46
+ (mem_image_of_mem P htip)
47
+ rw [hγ ⟨bot_le, le_rfl⟩]
48
+ exact hsurv
49
+
50
+ /-- The actual capacity chart tends to the current driver along the
51
+ surviving domain at a first ribbon front. -/
52
+ theorem IsCapacityTwoWitness.ribbon_front_chart_tendsto
53
+ {U : ℝ≥0 → ℝ} {γ : ℝ≥0 → ℂ} {G F : ℝ≥0 → ℂ → ℂ}
54
+ (hw : IsCapacityTwoWitness U γ G F) (hU : Continuous U)
55
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
56
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
57
+ (hescape : Tendsto (fun s : ℝ => ‖P (s : ℂ)‖) atTop atTop)
58
+ (x : ℝ≥0 → ℂ) (T : ℝ≥0) (hT : 0 < T) (hx : ContinuousOn x (Icc 0 T))
59
+ (hx0 : (x 0).re = 0) (hcoords : MapsTo x (Icc 0 T) closedRibbon)
60
+ (hγ : EqOn γ (P ∘ x) (Icc 0 T))
61
+ (hfront : ∀ t : ℝ≥0, t < T → (x t).re < (x T).re)
62
+ (hinterior : |(x T).im| < 1) :
63
+ Tendsto (G T) (𝓝[survivingDomain γ T] (γ T)) (𝓝 (U T : ℂ)) := by
64
+ exact hw.fresh_tip_chart_tendsto hU hT
65
+ (ribbon_front_tip_survives_prior P hP hi hH hescape γ x T hx hx0 hcoords hγ hfront hinterior)
66
+
67
+ end SLEExactGauge.RibbonCoordinates
68
+
69
+ end
70
+
71
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonFrontStops.lean CHANGED
@@ -1,90 +1,90 @@
1
- import OAI.Probability.SLE.Gauge.ProperRibbonCoordinates
2
-
3
- namespace OAI
4
-
5
- /-! One globally continuous ribbon progress coordinate supplies all
6
- integer first-front stopping times. Their order is pathwise, including
7
- infinite failure times, and successful histories identify them exactly. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory ProbabilityTheory
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge
14
- open RibbonCoordinates FirstFrontPassage
15
-
16
- lemma firstFrontTime_mono_of_initial
17
- (x : ℝ≥0 → ℝ) (hx : Continuous x) {a b : ℝ} (h0 : x 0 ≤ a) (hab : a ≤ b) :
18
- firstFrontTime x a ≤ firstFrontTime x b := by
19
- by_cases hb : ∃ t : ℝ≥0, 0 ≤ t ∧ x t - b ∈ ({0} : Set ℝ)
20
- · have ha : ∃ t : ℝ≥0, 0 ≤ t ∧ x t - a ∈ ({0} : Set ℝ) := by
21
- obtain ⟨t, ht, htb⟩ := hb
22
- have he : x t = b := sub_eq_zero.mp htb
23
- obtain ⟨u, _, hue⟩ := intermediate_value_Icc ht hx.continuousOn
24
- ⟨h0, by rw [he]; exact hab⟩
25
- exact ⟨u, bot_le, by simp only [hue, sub_self, mem_singleton_iff]⟩
26
- unfold firstFrontTime hittingAfter
27
- rw [ite_eq_left ha, ite_eq_left hb, WithTop.coe_le_coe]
28
- apply le_csInf hb
29
- intro t ht
30
- have he : x t = b := sub_eq_zero.mp ht.2
31
- obtain ⟨u, hu, hue⟩ := intermediate_value_Icc ht.1 hx.continuousOn
32
- ⟨h0, by rw [he]; exact hab⟩
33
- have hle : sInf {t : ℝ≥0 | 0 ≤ t ∧ x t - a ∈ ({0} : Set ℝ)} ≤ u :=
34
- csInf_le (OrderBot.bddBelow _) ⟨bot_le, by simp only [hue, sub_self, mem_singleton_iff]⟩
35
- exact hle.trans hu.2
36
- · have he : firstFrontTime x b = ⊤ := by
37
- unfold firstFrontTime hittingAfter
38
- rw [ite_eq_right hb]
39
- rw [he]
40
- exact le_top
41
-
42
- def ribbonFrontStop {Ω : Type*} (g : C(ℂ, ℝ)) (γ : Ω → ℝ≥0 → ℂ)
43
- (k : ℝ) (ω : Ω) : WithTop ℝ≥0 := firstFrontTime (fun t => g (γ ω t)) k
44
-
45
- lemma ribbonFrontStop_stopping
46
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
47
- (g : C(ℂ, ℝ)) (γ : Ω → ℝ≥0 → ℂ)
48
- (ha : Adapted ℱ (fun t ω => γ ω t)) (hc : ∀ ω, Continuous (γ ω)) (k : ℝ) :
49
- IsStoppingTime ℱ (ribbonFrontStop g γ k) :=
50
- firstFrontTime_isStoppingTime ℱ (fun t ω => g (γ ω t))
51
- (fun t => g.continuous.measurable.comp (ha t)) (fun ω => g.continuous.comp (hc ω)) k
52
-
53
- lemma ribbonFrontStop_monotone
54
- {Ω : Type*} (g : C(ℂ, ℝ)) (γ : Ω → ℝ≥0 → ℂ)
55
- (hc : ∀ ω, Continuous (γ ω)) (h0 : ∀ ω, g (γ ω 0) = 0) :
56
- ∀ ω, Monotone (fun n : ℕ => ribbonFrontStop g γ (n : ℝ) ω) := by
57
- intro ω n k hnk
58
- exact firstFrontTime_mono_of_initial _ (g.continuous.comp (hc ω))
59
- (by change g (γ ω 0) ≤ (n : ℝ); rw [h0 ω]; positivity) (by exact_mod_cast hnk)
60
-
61
- /-- The global first front agrees with the actual time in a successful
62
- history, irrespective of the extension away from the physical ribbon. -/
63
- lemma RibbonHistory.global_frontStop_eq
64
- {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε) (g : C(ℂ, ℝ))
65
- (hg : ∀ z ∈ closedRibbon, g (d.chart z) = z.re) :
66
- firstFrontTime (fun t => g (d.trace t)) d.front = (d.time : WithTop ℝ≥0) := by
67
- have heq (t : ℝ≥0) (ht : t ∈ Icc 0 d.time) :
68
- g (d.trace t) = (d.coordinates t).re := by
69
- rw [d.trace_coordinates ht]
70
- exact hg _ (d.coordinates_ribbon ht)
71
- have hattain : g (d.trace d.time) = d.front := by
72
- rw [heq _ ⟨bot_le, le_rfl⟩, d.attained]
73
- simp
74
- have hleast : IsLeast {t : ℝ≥0 | 0 ≤ t ∧ g (d.trace t) - d.front ∈ ({0} : Set ℝ)}
75
- d.time := by
76
- refine ⟨⟨bot_le, by simp only [hattain, sub_self, mem_singleton_iff]⟩, ?_⟩
77
- intro t ht
78
- by_contra hn
79
- have hlt : t < d.time := lt_of_not_ge hn
80
- have hh := d.strict_past t hlt
81
- rw [← heq t ⟨bot_le, hlt.le⟩, sub_eq_zero.mp ht.2] at hh
82
- exact (lt_irrefl _ hh)
83
- unfold firstFrontTime hittingAfter
84
- rw [ite_eq_left ⟨d.time, hleast.1⟩, hleast.csInf_eq]
85
-
86
- end SLEExactGauge
87
-
88
- end
89
-
90
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.ProperRibbonCoordinates
2
+
3
+ namespace OAI
4
+
5
+ /-! One globally continuous ribbon progress coordinate supplies all
6
+ integer first-front stopping times. Their order is pathwise, including
7
+ infinite failure times, and successful histories identify them exactly. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory ProbabilityTheory
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge
14
+ open RibbonCoordinates FirstFrontPassage
15
+
16
+ lemma firstFrontTime_mono_of_initial
17
+ (x : ℝ≥0 → ℝ) (hx : Continuous x) {a b : ℝ} (h0 : x 0 ≤ a) (hab : a ≤ b) :
18
+ firstFrontTime x a ≤ firstFrontTime x b := by
19
+ by_cases hb : ∃ t : ℝ≥0, 0 ≤ t ∧ x t - b ∈ ({0} : Set ℝ)
20
+ · have ha : ∃ t : ℝ≥0, 0 ≤ t ∧ x t - a ∈ ({0} : Set ℝ) := by
21
+ obtain ⟨t, ht, htb⟩ := hb
22
+ have he : x t = b := sub_eq_zero.mp htb
23
+ obtain ⟨u, _, hue⟩ := intermediate_value_Icc ht hx.continuousOn
24
+ ⟨h0, by rw [he]; exact hab⟩
25
+ exact ⟨u, bot_le, by simp only [hue, sub_self, mem_singleton_iff]⟩
26
+ unfold firstFrontTime hittingAfter
27
+ rw [ite_eq_left ha, ite_eq_left hb, WithTop.coe_le_coe]
28
+ apply le_csInf hb
29
+ intro t ht
30
+ have he : x t = b := sub_eq_zero.mp ht.2
31
+ obtain ⟨u, hu, hue⟩ := intermediate_value_Icc ht.1 hx.continuousOn
32
+ ⟨h0, by rw [he]; exact hab⟩
33
+ have hle : sInf {t : ℝ≥0 | 0 ≤ t ∧ x t - a ∈ ({0} : Set ℝ)} ≤ u :=
34
+ csInf_le (OrderBot.bddBelow _) ⟨bot_le, by simp only [hue, sub_self, mem_singleton_iff]⟩
35
+ exact hle.trans hu.2
36
+ · have he : firstFrontTime x b = ⊤ := by
37
+ unfold firstFrontTime hittingAfter
38
+ rw [ite_eq_right hb]
39
+ rw [he]
40
+ exact le_top
41
+
42
+ def ribbonFrontStop {Ω : Type*} (g : C(ℂ, ℝ)) (γ : Ω → ℝ≥0 → ℂ)
43
+ (k : ℝ) (ω : Ω) : WithTop ℝ≥0 := firstFrontTime (fun t => g (γ ω t)) k
44
+
45
+ lemma ribbonFrontStop_stopping
46
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
47
+ (g : C(ℂ, ℝ)) (γ : Ω → ℝ≥0 → ℂ)
48
+ (ha : Adapted ℱ (fun t ω => γ ω t)) (hc : ∀ ω, Continuous (γ ω)) (k : ℝ) :
49
+ IsStoppingTime ℱ (ribbonFrontStop g γ k) :=
50
+ firstFrontTime_isStoppingTime ℱ (fun t ω => g (γ ω t))
51
+ (fun t => g.continuous.measurable.comp (ha t)) (fun ω => g.continuous.comp (hc ω)) k
52
+
53
+ lemma ribbonFrontStop_monotone
54
+ {Ω : Type*} (g : C(ℂ, ℝ)) (γ : Ω → ℝ≥0 → ℂ)
55
+ (hc : ∀ ω, Continuous (γ ω)) (h0 : ∀ ω, g (γ ω 0) = 0) :
56
+ ∀ ω, Monotone (fun n : ℕ => ribbonFrontStop g γ (n : ℝ) ω) := by
57
+ intro ω n k hnk
58
+ exact firstFrontTime_mono_of_initial _ (g.continuous.comp (hc ω))
59
+ (by change g (γ ω 0) ≤ (n : ℝ); rw [h0 ω]; positivity) (by exact_mod_cast hnk)
60
+
61
+ /-- The global first front agrees with the actual time in a successful
62
+ history, irrespective of the extension away from the physical ribbon. -/
63
+ lemma RibbonHistory.global_frontStop_eq
64
+ {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε) (g : C(ℂ, ℝ))
65
+ (hg : ∀ z ∈ closedRibbon, g (d.chart z) = z.re) :
66
+ firstFrontTime (fun t => g (d.trace t)) d.front = (d.time : WithTop ℝ≥0) := by
67
+ have heq (t : ℝ≥0) (ht : t ∈ Icc 0 d.time) :
68
+ g (d.trace t) = (d.coordinates t).re := by
69
+ rw [d.trace_coordinates ht]
70
+ exact hg _ (d.coordinates_ribbon ht)
71
+ have hattain : g (d.trace d.time) = d.front := by
72
+ rw [heq _ ⟨bot_le, le_rfl⟩, d.attained]
73
+ simp
74
+ have hleast : IsLeast {t : ℝ≥0 | 0 ≤ t ∧ g (d.trace t) - d.front ∈ ({0} : Set ℝ)}
75
+ d.time := by
76
+ refine ⟨⟨bot_le, by simp only [hattain, sub_self, mem_singleton_iff]⟩, ?_⟩
77
+ intro t ht
78
+ by_contra hn
79
+ have hlt : t < d.time := lt_of_not_ge hn
80
+ have hh := d.strict_past t hlt
81
+ rw [← heq t ⟨bot_le, hlt.le⟩, sub_eq_zero.mp ht.2] at hh
82
+ exact (lt_irrefl _ hh)
83
+ unfold firstFrontTime hittingAfter
84
+ rw [ite_eq_left ⟨d.time, hleast.1⟩, hleast.csInf_eq]
85
+
86
+ end SLEExactGauge
87
+
88
+ end
89
+
90
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonGoodPrefix.lean CHANGED
@@ -1,129 +1,129 @@
1
- import OAI.Probability.SLE.Gauge.ActualRibbonHistory
2
-
3
- namespace OAI
4
-
5
- /-! Narrow actual prefixes are measurable in the possibly infinite front
6
- past. They are exactly the physical information used to reconstruct the
7
- history at the next integer front. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory ProbabilityTheory Metric
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge
14
- open RibbonCoordinates FirstFrontPassage FrontSuccessMeasurability
15
-
16
- local instance goodPrefixPathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
- local instance goodPrefixPathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
-
19
- def ribbonCore (P : ℂ → ℂ) (ε : ℝ) : Set ℂ :=
20
- P '' {z ∈ closedRibbon | |z.im| ≤ ε}
21
-
22
- lemma ribbonCore_isClosed (P : ℂ → ℂ)
23
- (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z)) (ε : ℝ) :
24
- IsClosed (ribbonCore P ε) := by
25
- have hs : IsClosed {z : closedRibbon | |(z : ℂ).im| ≤ ε} :=
26
- isClosed_le (Complex.continuous_im.comp continuous_subtype_val).abs continuous_const
27
- have hh := he.isClosedMap _ hs
28
- have hset : (fun z : closedRibbon => P z) '' {z : closedRibbon | |(z : ℂ).im| ≤ ε} =
29
- ribbonCore P ε := by
30
- ext w
31
- constructor
32
- · rintro ⟨z, hz, rfl⟩
33
- exact ⟨z, ⟨z.2, hz⟩, rfl⟩
34
- · rintro ⟨z, ⟨hz, hi⟩, rfl⟩
35
- exact ⟨⟨z, hz⟩, hi, rfl⟩
36
- exact hset ▸ hh
37
-
38
- def GoodRibbonPrefix {Ω : Type*} (γ : Ω → ℝ≥0 → ℂ)
39
- (τ : Ω → WithTop ℝ≥0) (P : ℂ → ℂ) (ε : ℝ) : Set Ω :=
40
- {ω | τ ω ≠ ⊤ ∧ MapsTo (γ ω) (Icc 0 ((τ ω).untopD 0)) (ribbonCore P ε) ∧
41
- γ ω ((τ ω).untopD 0) ∈ ribbonCore P (ε / 4)}
42
-
43
- lemma stoppedAtPath_eval_time (f : C(ℝ≥0, ℂ)) (τ : WithTop ℝ≥0) :
44
- stoppedAtPath f τ (τ.untopD 0) = f (τ.untopD 0) := by
45
- cases τ with
46
- | top => simp only [stoppedAtPath, ite_true]
47
- | coe t => simp only [stoppedAtPath, WithTop.coe_ne_top, ite_false, WithTop.untopD_coe,
48
- clampedPath, ContinuousMap.comp_apply, ContinuousMap.coe_mk, min_self, zero_le,
49
- max_eq_right]
50
-
51
- lemma stoppedAtPath_range_iff (f : C(ℝ≥0, ℂ)) (t : ℝ≥0) (K : Set ℂ) :
52
- MapsTo (stoppedAtPath f (t : WithTop ℝ≥0)) univ K ↔ MapsTo f (Icc 0 t) K := by
53
- simp only [stoppedAtPath, WithTop.coe_ne_top, ite_false, WithTop.untopD_coe]
54
- constructor
55
- · intro h u hu
56
- have hh := h (mem_univ u)
57
- simpa only [clampedPath, ContinuousMap.comp_apply, ContinuousMap.coe_mk,
58
- min_eq_left hu.2, max_eq_right hu.1] using hh
59
- · intro h u _
60
- exact h ⟨le_max_left _ _, max_le bot_le (min_le_right _ _)⟩
61
-
62
- lemma measurableSet_path_range_closed
63
- {Ω : Type*} [MeasurableSpace Ω] (f : Ω → C(ℝ≥0, ℂ)) (hf : Measurable f)
64
- (K : Set ℂ) (hK : IsClosed K) :
65
- MeasurableSet {ω | MapsTo (f ω) univ K} := by
66
- have hclosed : IsClosed {p : C(ℝ≥0, ℂ) | MapsTo p univ K} := by
67
- have he : {p : C(ℝ≥0, ℂ) | MapsTo p univ K} =
68
- ⋂ t : ℝ≥0, (fun p : C(ℝ≥0, ℂ) => p t) ⁻¹' K := by
69
- ext p
70
- simp only [mem_ofPred_eq, MapsTo, mem_univ, forall_const, mem_iInter, mem_preimage]
71
- rw [he]
72
- exact isClosed_iInter fun t => hK.preimage (continuous_eval_const t)
73
- exact hclosed.measurableSet.preimage hf
74
-
75
- /-- The successful physical prefix belongs to the actual front past;
76
- failed samples need not have a finite front time. -/
77
- theorem goodRibbonPrefix_measurable
78
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
79
- (γ : Ω → ℝ≥0 → ℂ) (ha : Adapted ℱ (fun t ω => γ ω t))
80
- (hc : ∀ ω, Continuous (γ ω))
81
- (τ : Ω → WithTop ℝ≥0) (hτ : IsStoppingTime ℱ τ)
82
- (P : ℂ → ℂ) (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z)) (ε : ℝ) :
83
- MeasurableSet[hτ.measurableSpace] (GoodRibbonPrefix γ τ P ε) := by
84
- let f := fun ω => stoppedAtPath (sourceTracePath γ hc ω) (τ ω)
85
- have hfm : Measurable[hτ.measurableSpace] f := stoppedAtPath_measurable ℱ γ ha hc τ hτ
86
- have htm : Measurable[hτ.measurableSpace] (fun ω => (τ ω).untopD 0) := hτ.measurable.untopD 0
87
- have hem : Measurable[hτ.measurableSpace] (fun ω => f ω ((τ ω).untopD 0)) :=
88
- continuous_eval.measurable.comp (hfm.prodMk htm)
89
- let : MeasurableSpace Ω := hτ.measurableSpace
90
- have hm := (measurableSet_eq_fun hτ.measurable
91
- (measurable_const : Measurable (fun _ : Ω => (⊤ : WithTop ℝ≥0)))).compl.inter
92
- ((measurableSet_path_range_closed f hfm _ (ribbonCore_isClosed P he ε)).inter
93
- ((ribbonCore_isClosed P he (ε / 4)).measurableSet.preimage hem))
94
- convert hm using 1
95
- ext ω
96
- change (τ ω ≠ ⊤ ∧ MapsTo (γ ω) (Icc 0 ((τ ω).untopD 0)) (ribbonCore P ε) ∧
97
- γ ω ((τ ω).untopD 0) ∈ ribbonCore P (ε / 4)) ↔
98
- (τ ω ≠ ⊤ ∧ MapsTo (stoppedAtPath (sourceTracePath γ hc ω) (τ ω)) univ (ribbonCore P ε) ∧
99
- stoppedAtPath (sourceTracePath γ hc ω) (τ ω) ((τ ω).untopD 0) ∈ ribbonCore P (ε / 4))
100
- cases ht : τ ω with
101
- | top => simp only [ne_eq, not_true_eq_false, false_and]
102
- | coe t =>
103
- simp only [ne_eq, WithTop.coe_ne_top, not_false_eq_true, WithTop.untopD_coe, true_and]
104
- rw [stoppedAtPath_range_iff]
105
- have hv := stoppedAtPath_eval_time (sourceTracePath γ hc ω) (t : WithTop ℝ≥0)
106
- have hv' : stoppedAtPath (sourceTracePath γ hc ω) (t : WithTop ℝ≥0) t = γ ω t := by
107
- simpa only [WithTop.untopD_coe, sourceTracePath, ContinuousMap.coe_mk] using hv
108
- rw [hv']
109
- rfl
110
-
111
- lemma RibbonHistory.goodRibbonPrefix
112
- {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε) :
113
- () ∈ GoodRibbonPrefix (fun _ : Unit => d.trace) (fun _ => (d.time : WithTop ℝ≥0))
114
- d.chart ε := by
115
- refine ⟨WithTop.coe_ne_top, ?_, ?_⟩
116
- · intro t ht
117
- refine ⟨d.coordinates t, ⟨d.coordinates_ribbon ht, (d.past_core t ht).2⟩, ?_⟩
118
- exact (d.trace_coordinates ht).symm
119
- · refine ⟨d.coordinates d.time, ⟨d.coordinates_ribbon ⟨bot_le, le_rfl⟩, ?_⟩, ?_⟩
120
- · rw [d.attained]
121
- simpa only [Complex.add_im, Complex.ofReal_im, Complex.mul_im, Complex.ofReal_re,
122
- Complex.I_im, mul_one, Complex.I_re, mul_zero, add_zero, zero_add] using d.offset_bound
123
- · exact (d.trace_coordinates ⟨bot_le, le_rfl⟩).symm
124
-
125
- end SLEExactGauge
126
-
127
- end
128
-
129
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.ActualRibbonHistory
2
+
3
+ namespace OAI
4
+
5
+ /-! Narrow actual prefixes are measurable in the possibly infinite front
6
+ past. They are exactly the physical information used to reconstruct the
7
+ history at the next integer front. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory ProbabilityTheory Metric
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge
14
+ open RibbonCoordinates FirstFrontPassage FrontSuccessMeasurability
15
+
16
+ local instance goodPrefixPathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
+ local instance goodPrefixPathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
+
19
+ def ribbonCore (P : ℂ → ℂ) (ε : ℝ) : Set ℂ :=
20
+ P '' {z ∈ closedRibbon | |z.im| ≤ ε}
21
+
22
+ lemma ribbonCore_isClosed (P : ℂ → ℂ)
23
+ (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z)) (ε : ℝ) :
24
+ IsClosed (ribbonCore P ε) := by
25
+ have hs : IsClosed {z : closedRibbon | |(z : ℂ).im| ≤ ε} :=
26
+ isClosed_le (Complex.continuous_im.comp continuous_subtype_val).abs continuous_const
27
+ have hh := he.isClosedMap _ hs
28
+ have hset : (fun z : closedRibbon => P z) '' {z : closedRibbon | |(z : ℂ).im| ≤ ε} =
29
+ ribbonCore P ε := by
30
+ ext w
31
+ constructor
32
+ · rintro ⟨z, hz, rfl⟩
33
+ exact ⟨z, ⟨z.2, hz⟩, rfl⟩
34
+ · rintro ⟨z, ⟨hz, hi⟩, rfl⟩
35
+ exact ⟨⟨z, hz⟩, hi, rfl⟩
36
+ exact hset ▸ hh
37
+
38
+ def GoodRibbonPrefix {Ω : Type*} (γ : Ω → ℝ≥0 → ℂ)
39
+ (τ : Ω → WithTop ℝ≥0) (P : ℂ → ℂ) (ε : ℝ) : Set Ω :=
40
+ {ω | τ ω ≠ ⊤ ∧ MapsTo (γ ω) (Icc 0 ((τ ω).untopD 0)) (ribbonCore P ε) ∧
41
+ γ ω ((τ ω).untopD 0) ∈ ribbonCore P (ε / 4)}
42
+
43
+ lemma stoppedAtPath_eval_time (f : C(ℝ≥0, ℂ)) (τ : WithTop ℝ≥0) :
44
+ stoppedAtPath f τ (τ.untopD 0) = f (τ.untopD 0) := by
45
+ cases τ with
46
+ | top => simp only [stoppedAtPath, ite_true]
47
+ | coe t => simp only [stoppedAtPath, WithTop.coe_ne_top, ite_false, WithTop.untopD_coe,
48
+ clampedPath, ContinuousMap.comp_apply, ContinuousMap.coe_mk, min_self, zero_le,
49
+ max_eq_right]
50
+
51
+ lemma stoppedAtPath_range_iff (f : C(ℝ≥0, ℂ)) (t : ℝ≥0) (K : Set ℂ) :
52
+ MapsTo (stoppedAtPath f (t : WithTop ℝ≥0)) univ K ↔ MapsTo f (Icc 0 t) K := by
53
+ simp only [stoppedAtPath, WithTop.coe_ne_top, ite_false, WithTop.untopD_coe]
54
+ constructor
55
+ · intro h u hu
56
+ have hh := h (mem_univ u)
57
+ simpa only [clampedPath, ContinuousMap.comp_apply, ContinuousMap.coe_mk,
58
+ min_eq_left hu.2, max_eq_right hu.1] using hh
59
+ · intro h u _
60
+ exact h ⟨le_max_left _ _, max_le bot_le (min_le_right _ _)⟩
61
+
62
+ lemma measurableSet_path_range_closed
63
+ {Ω : Type*} [MeasurableSpace Ω] (f : Ω → C(ℝ≥0, ℂ)) (hf : Measurable f)
64
+ (K : Set ℂ) (hK : IsClosed K) :
65
+ MeasurableSet {ω | MapsTo (f ω) univ K} := by
66
+ have hclosed : IsClosed {p : C(ℝ≥0, ℂ) | MapsTo p univ K} := by
67
+ have he : {p : C(ℝ≥0, ℂ) | MapsTo p univ K} =
68
+ ⋂ t : ℝ≥0, (fun p : C(ℝ≥0, ℂ) => p t) ⁻¹' K := by
69
+ ext p
70
+ simp only [mem_ofPred_eq, MapsTo, mem_univ, forall_const, mem_iInter, mem_preimage]
71
+ rw [he]
72
+ exact isClosed_iInter fun t => hK.preimage (continuous_eval_const t)
73
+ exact hclosed.measurableSet.preimage hf
74
+
75
+ /-- The successful physical prefix belongs to the actual front past;
76
+ failed samples need not have a finite front time. -/
77
+ theorem goodRibbonPrefix_measurable
78
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
79
+ (γ : Ω → ℝ≥0 → ℂ) (ha : Adapted ℱ (fun t ω => γ ω t))
80
+ (hc : ∀ ω, Continuous (γ ω))
81
+ (τ : Ω → WithTop ℝ≥0) (hτ : IsStoppingTime ℱ τ)
82
+ (P : ℂ → ℂ) (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z)) (ε : ℝ) :
83
+ MeasurableSet[hτ.measurableSpace] (GoodRibbonPrefix γ τ P ε) := by
84
+ let f := fun ω => stoppedAtPath (sourceTracePath γ hc ω) (τ ω)
85
+ have hfm : Measurable[hτ.measurableSpace] f := stoppedAtPath_measurable ℱ γ ha hc τ hτ
86
+ have htm : Measurable[hτ.measurableSpace] (fun ω => (τ ω).untopD 0) := hτ.measurable.untopD 0
87
+ have hem : Measurable[hτ.measurableSpace] (fun ω => f ω ((τ ω).untopD 0)) :=
88
+ continuous_eval.measurable.comp (hfm.prodMk htm)
89
+ let : MeasurableSpace Ω := hτ.measurableSpace
90
+ have hm := (measurableSet_eq_fun hτ.measurable
91
+ (measurable_const : Measurable (fun _ : Ω => (⊤ : WithTop ℝ≥0)))).compl.inter
92
+ ((measurableSet_path_range_closed f hfm _ (ribbonCore_isClosed P he ε)).inter
93
+ ((ribbonCore_isClosed P he (ε / 4)).measurableSet.preimage hem))
94
+ convert hm using 1
95
+ ext ω
96
+ change (τ ω ≠ ⊤ ∧ MapsTo (γ ω) (Icc 0 ((τ ω).untopD 0)) (ribbonCore P ε) ∧
97
+ γ ω ((τ ω).untopD 0) ∈ ribbonCore P (ε / 4)) ↔
98
+ (τ ω ≠ ⊤ ∧ MapsTo (stoppedAtPath (sourceTracePath γ hc ω) (τ ω)) univ (ribbonCore P ε) ∧
99
+ stoppedAtPath (sourceTracePath γ hc ω) (τ ω) ((τ ω).untopD 0) ∈ ribbonCore P (ε / 4))
100
+ cases ht : τ ω with
101
+ | top => simp only [ne_eq, not_true_eq_false, false_and]
102
+ | coe t =>
103
+ simp only [ne_eq, WithTop.coe_ne_top, not_false_eq_true, WithTop.untopD_coe, true_and]
104
+ rw [stoppedAtPath_range_iff]
105
+ have hv := stoppedAtPath_eval_time (sourceTracePath γ hc ω) (t : WithTop ℝ≥0)
106
+ have hv' : stoppedAtPath (sourceTracePath γ hc ω) (t : WithTop ℝ≥0) t = γ ω t := by
107
+ simpa only [WithTop.untopD_coe, sourceTracePath, ContinuousMap.coe_mk] using hv
108
+ rw [hv']
109
+ rfl
110
+
111
+ lemma RibbonHistory.goodRibbonPrefix
112
+ {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε) :
113
+ () ∈ GoodRibbonPrefix (fun _ : Unit => d.trace) (fun _ => (d.time : WithTop ℝ≥0))
114
+ d.chart ε := by
115
+ refine ⟨WithTop.coe_ne_top, ?_, ?_⟩
116
+ · intro t ht
117
+ refine ⟨d.coordinates t, ⟨d.coordinates_ribbon ht, (d.past_core t ht).2⟩, ?_⟩
118
+ exact (d.trace_coordinates ht).symm
119
+ · refine ⟨d.coordinates d.time, ⟨d.coordinates_ribbon ⟨bot_le, le_rfl⟩, ?_⟩, ?_⟩
120
+ · rw [d.attained]
121
+ simpa only [Complex.add_im, Complex.ofReal_im, Complex.mul_im, Complex.ofReal_re,
122
+ Complex.I_im, mul_one, Complex.I_re, mul_zero, add_zero, zero_add] using d.offset_bound
123
+ · exact (d.trace_coordinates ⟨bot_le, le_rfl⟩).symm
124
+
125
+ end SLEExactGauge
126
+
127
+ end
128
+
129
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonHistoryAdvance.lean CHANGED
@@ -1,263 +1,263 @@
1
- import OAI.Probability.SLE.Gauge.UniformRibbonStep
2
-
3
- namespace OAI
4
-
5
- /-! An actual successful passage gives another admissible stopped ribbon
6
- history. Inverse coordinates are used only on the compact physical patch
7
- where the successful path is contained. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory Metric
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge
14
- open RibbonCoordinates BoundaryScaleLaw FirstFrontPassage PassageSuccess
15
-
16
- lemma strict_before_attained_front
17
- (x : ℝ≥0 → ℝ) (q : ℝ) (S : ℝ≥0)
18
- (hc : ContinuousOn x (Icc 0 S)) (h0 : x 0 < q)
19
- (hfirst : firstFrontTime x q = (S : WithTop ℝ≥0)) :
20
- ∀ t : ℝ≥0, t < S → x t < q := by
21
- intro t ht
22
- by_contra hn
23
- obtain ⟨u, hu, hue⟩ := intermediate_value_Icc (show (0 : ℝ≥0) ≤ t from bot_le)
24
- (hc.mono (Icc_subset_Icc_right ht.le)) ⟨h0.le, le_of_not_gt hn⟩
25
- have hh := hittingAfter_le_of_mem (u := fun t (_ : Unit) => x t - q)
26
- (ω := ()) (show (0 : ℝ≥0) ≤ u from bot_le)
27
- (show x u - q ∈ ({0} : Set ℝ) by simp only [hue, sub_self, mem_singleton_iff])
28
- change firstFrontTime x q ≤ (u : WithTop ℝ≥0) at hh
29
- rw [hfirst, WithTop.coe_le_coe] at hh
30
- exact (not_le_of_gt ht) (hh.trans hu.2)
31
-
32
- def RibbonHistory.futureCoordinates {C L : ℝ≥0} {ε : ℝ}
33
- (d : RibbonHistory C L ε) (t : ℝ≥0) : ℂ :=
34
- (d.front : ℂ) + coordinateInverse d.stepChart ribbonStepCompact (d.trace (d.time + t))
35
-
36
- def RibbonHistory.advanceCoordinates {C L : ℝ≥0} {ε : ℝ}
37
- (d : RibbonHistory C L ε) (t : ℝ≥0) : ℂ :=
38
- if t ≤ d.time then d.coordinates (min t d.time) else d.futureCoordinates (t - d.time)
39
-
40
- def RibbonHistory.futureTrace {C L : ℝ≥0} {ε : ℝ}
41
- (d : RibbonHistory C L ε) : C(ℝ≥0, ℂ) :=
42
- ⟨fun t => d.trace (d.time + t),
43
- d.witness.1.comp (continuous_const.add continuous_id)⟩
44
-
45
- lemma RibbonHistory.tip_in_stepCompact {C L : ℝ≥0} {ε : ℝ}
46
- (d : RibbonHistory C L ε) (hε : ε ≤ 1 / 8) :
47
- (d.offset : ℂ) * Complex.I ∈ ribbonStepCompact := by
48
- change -(1 / 2 : ℝ) ≤ ((d.offset : ℂ) * Complex.I).re ∧
49
- ((d.offset : ℂ) * Complex.I).re ≤ 5 / 2 ∧
50
- |((d.offset : ℂ) * Complex.I).im| ≤ 1 / 2
51
- simp only [Complex.mul_re, Complex.ofReal_re, Complex.I_re, mul_zero,
52
- Complex.ofReal_im, Complex.I_im, sub_self, Complex.mul_im, mul_one, add_zero]
53
- exact ⟨by norm_num, by norm_num, by linarith [d.offset_bound]⟩
54
-
55
- lemma RibbonHistory.futureCoordinates_zero {C L : ℝ≥0} {ε : ℝ}
56
- (d : RibbonHistory C L ε) (hε : ε ≤ 1 / 8) :
57
- d.futureCoordinates 0 = d.coordinates d.time := by
58
- have htip : d.trace d.time = d.stepChart ((d.offset : ℂ) * Complex.I) := by
59
- rw [RibbonHistory.stepChart, ← d.attained]
60
- exact d.trace_coordinates ⟨bot_le, le_rfl⟩
61
- simp only [RibbonHistory.futureCoordinates, add_zero, htip,
62
- coordinateInverse_left (lower_lipschitz_injOn _ _ L d.step_lower)
63
- (d.tip_in_stepCompact hε), d.attained]
64
-
65
- /-- The completed actual trace retains continuous ribbon coordinates,
66
- the narrow core, and the strict first-front property required for the
67
- next application of the uniform step theorem. -/
68
- theorem RibbonHistory.successful_continuation
69
- {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε)
70
- (hε : ε ≤ 1 / 8) (hL : 0 < L)
71
- (S : ℝ≥0)
72
- (hfirst : firstFrontTime
73
- (fun t => longitudinalCoordinate d.chart closedRibbon d.front
74
- (d.trace (d.time + t))) 1 = (S : WithTop ℝ≥0))
75
- (hhit : longitudinalCoordinate d.chart closedRibbon d.front
76
- (d.trace (d.time + S)) = 1)
77
- (hS : 0 < S)
78
- (hpath : MapsTo (fun t => d.trace (d.time + t)) (Icc 0 S)
79
- (physicalPassageRegion d.stepChart ribbonStepCompact C ε (ε / L)))
80
- (hoffset : ‖d.trace (d.time + S) - d.chart ((d.front : ℂ) + 1)‖ < (ε / L) / 4) :
81
- ContinuousOn d.advanceCoordinates (Icc 0 (d.time + S)) ∧
82
- EqOn d.trace (d.chart ∘ d.advanceCoordinates) (Icc 0 (d.time + S)) ∧
83
- (d.advanceCoordinates 0).re = 0 ∧
84
- d.advanceCoordinates (d.time + S) =
85
- ((d.front + 1 : ℝ) : ℂ) + ((d.futureCoordinates S).im : ℂ) * Complex.I ∧
86
- |(d.futureCoordinates S).im| ≤ ε / 4 ∧
87
- MapsTo d.advanceCoordinates (Icc 0 (d.time + S)) closedRibbon ∧
88
- (∀ t ∈ Icc 0 (d.time + S),
89
- (d.advanceCoordinates t).re ≤ d.front + 1 ∧ |(d.advanceCoordinates t).im| ≤ ε) ∧
90
- ∀ t : ℝ≥0, t < d.time + S → (d.advanceCoordinates t).re < d.front + 1 := by
91
- let p := longitudinalCoordinate d.chart closedRibbon d.front
92
- let η := fun t => d.trace (d.time + t)
93
- have hi := lower_lipschitz_injOn d.stepChart ribbonStepCompact L d.step_lower
94
- have hmap : MapsTo η (Icc 0 S) (d.stepChart '' ribbonStepCompact) := by
95
- intro t ht
96
- exact image_mono inter_subset_left (hpath ht)
97
- have hη : Continuous η := d.witness.1.comp (continuous_const.add continuous_id)
98
- have hq : ContinuousOn d.futureCoordinates (Icc 0 S) :=
99
- continuousOn_const.add ((coordinateInverse_lipschitz d.stepChart ribbonStepCompact L
100
- d.step_lower).continuousOn.comp hη.continuousOn hmap)
101
- have hqzero := d.futureCoordinates_zero hε
102
- have hpeq (t : ℝ≥0) (ht : t ∈ Icc 0 S) :
103
- p (η t) = (d.futureCoordinates t).re - d.front := by
104
- dsimp only [p]
105
- rw [d.global_progress_eq_step (hmap ht)]
106
- simp only [η, longitudinalCoordinate, RibbonHistory.futureCoordinates, Complex.add_re,
107
- Complex.ofReal_re, add_sub_cancel_left, sub_zero]
108
- have hp : ContinuousOn (fun t => p (η t)) (Icc 0 S) :=
109
- ((Complex.continuous_re.comp_continuousOn hq).sub continuousOn_const).congr
110
- (fun t ht => hpeq t ht)
111
- have hp0 : p (η 0) < 1 := by
112
- rw [hpeq 0 ⟨bot_le, bot_le⟩, hqzero, d.attained]
113
- simp
114
- have hprior := strict_before_attained_front _ 1 S hp hp0 hfirst
115
- have hqre : (d.futureCoordinates S).re = d.front + 1 := by
116
- have hh := (hpeq S ⟨bot_le, le_rfl⟩).symm.trans hhit
117
- linarith
118
- have hqcore (t : ℝ≥0) (ht : t ∈ Icc 0 S) :
119
- d.futureCoordinates t ∈ closedRibbon ∧ |(d.futureCoordinates t).im| ≤ ε := by
120
- obtain ⟨w, ⟨hwK, hwV⟩, he⟩ := hpath ht
121
- have hqw : d.futureCoordinates t = (d.front : ℂ) + w := by
122
- simp only [RibbonHistory.futureCoordinates, ← he, coordinateInverse_left hi hwK]
123
- rw [hqw]
124
- exact ⟨d.stepCompact_maps hwK, by
125
- simpa only [Complex.add_im, Complex.ofReal_im, zero_add] using hwV.2.2.1.le⟩
126
- have hqoffset : |(d.futureCoordinates S).im| ≤ ε / 4 := by
127
- have h1 : (1 : ℂ) ∈ ribbonStepCompact := by
128
- change -(1 / 2 : ℝ) ≤ 1 ∧ 1 ≤ 5 / 2 ∧ |(0 : ℝ)| ≤ 1 / 2
129
- norm_num
130
- have hd := d.step_lower _ (coordinateInverse_mem (hmap ⟨bot_le, le_rfl⟩)) 1 h1
131
- rw [coordinateInverse_right (hmap ⟨bot_le, le_rfl⟩)] at hd
132
- have habs : |(d.futureCoordinates S).im| ≤
133
- dist (coordinateInverse d.stepChart ribbonStepCompact (η S)) 1 := by
134
- simpa only [RibbonHistory.futureCoordinates, Complex.add_im, Complex.ofReal_im,
135
- zero_add, dist_eq_norm, Complex.sub_im, Complex.one_im, sub_zero] using
136
- Complex.abs_im_le_norm (coordinateInverse d.stepChart ribbonStepCompact (η S) - 1)
137
- have hnorm : dist (η S) (d.stepChart 1) < (ε / L) / 4 := by
138
- simpa only [dist_eq_norm, η, RibbonHistory.stepChart] using hoffset
139
- have hmul := mul_lt_mul_of_pos_left hnorm (show 0 < (L : ℝ) from hL)
140
- have he : (L : ℝ) * ((ε / L) / 4) = ε / 4 := by field_simp
141
- exact (habs.trans hd).trans (he ▸ hmul.le)
142
- have hsub (t : ℝ≥0) (ht : t ∈ Icc 0 (d.time + S)) : t - d.time ∈ Icc 0 S :=
143
- ⟨bot_le, (tsub_le_iff_right).mpr (by simpa only [add_comm] using ht.2)⟩
144
- have hleft : ContinuousOn (fun t => d.coordinates (min t d.time))
145
- (Icc 0 (d.time + S)) := d.coordinates_continuous.comp
146
- (continuous_id.min continuous_const).continuousOn (fun _ _ => ⟨bot_le, min_le_right _ _⟩)
147
- have hright : ContinuousOn (fun t => d.futureCoordinates (t - d.time))
148
- (Icc 0 (d.time + S)) := hq.comp
149
- (continuous_id.sub continuous_const).continuousOn hsub
150
- have hcont : ContinuousOn d.advanceCoordinates (Icc 0 (d.time + S)) := by
151
- unfold RibbonHistory.advanceCoordinates
152
- apply ContinuousOn.if ?_ (hleft.mono inter_subset_left) (hright.mono inter_subset_left)
153
- intro t ht
154
- have htT : t = d.time := by
155
- have hf : t ∈ frontier (Iic d.time) := ht.2
156
- simpa only [frontier_Iic, mem_singleton_iff] using hf
157
- simp only [htT, min_self, tsub_self, hqzero]
158
- have hold (t : ℝ≥0) (ht : t ≤ d.time) : d.advanceCoordinates t = d.coordinates t := by
159
- simp only [RibbonHistory.advanceCoordinates, ite_eq_left ht, min_eq_left ht]
160
- have hnew (t : ℝ≥0) (ht : d.time < t) :
161
- d.advanceCoordinates t = d.futureCoordinates (t - d.time) := by
162
- simp only [RibbonHistory.advanceCoordinates, ite_eq_right (not_le_of_gt ht)]
163
- have hTS : d.time < d.time + S := lt_add_of_pos_right _ hS
164
- refine ⟨hcont, ?_, ?_, ?_, hqoffset, ?_, ?_, ?_⟩
165
- · intro t ht
166
- by_cases htT : t ≤ d.time
167
- · rw [Function.comp_apply, hold t htT]
168
- exact d.trace_coordinates ⟨bot_le, htT⟩
169
- · rw [Function.comp_apply, hnew t (lt_of_not_ge htT), RibbonHistory.futureCoordinates]
170
- change d.trace t = d.stepChart (coordinateInverse d.stepChart ribbonStepCompact
171
- (η (t - d.time)))
172
- rw [coordinateInverse_right (hmap (hsub t ht))]
173
- simp only [η, add_tsub_cancel_of_le (le_of_not_ge htT)]
174
- · rw [hold 0 bot_le]
175
- exact d.initial_front
176
- · rw [hnew _ hTS, add_tsub_cancel_left]
177
- apply Complex.ext <;> simp [hqre]
178
- · intro t ht
179
- by_cases htT : t ≤ d.time
180
- · rw [hold t htT]
181
- exact d.coordinates_ribbon ⟨bot_le, htT⟩
182
- · rw [hnew t (lt_of_not_ge htT)]
183
- exact (hqcore _ (hsub t ht)).1
184
- · intro t ht
185
- by_cases htT : t ≤ d.time
186
- · rw [hold t htT]
187
- obtain ⟨hr, hi�� := d.past_core t ⟨bot_le, htT⟩
188
- exact ⟨by linarith, hi⟩
189
- · rw [hnew t (lt_of_not_ge htT)]
190
- refine ⟨?_, (hqcore _ (hsub t ht)).2⟩
191
- rcases (hsub t ht).2.eq_or_lt with he | hlt
192
- · rw [he, hqre]
193
- · have hh := hprior _ hlt
194
- rw [hpeq _ (hsub t ht)] at hh
195
- linarith
196
- · intro t ht
197
- by_cases htT : t ≤ d.time
198
- · rw [hold t htT]
199
- linarith [(d.past_core t ⟨bot_le, htT⟩).1]
200
- · rw [hnew t (lt_of_not_ge htT)]
201
- have hlt : t - d.time < S := by
202
- exact (tsub_lt_iff_left (le_of_not_ge htT)).mpr (by simpa only [add_comm] using ht)
203
- have hh := hprior _ hlt
204
- rw [hpeq _ ⟨bot_le, hlt.le⟩] at hh
205
- linarith
206
-
207
- /-- A successful full step produces the actual history at the next
208
- integer front, with the same driver, trace, and Loewner maps. The only
209
- new geometric data are the deterministic bounds on the next patch. -/
210
- theorem RibbonHistory.next_history_of_stepEvent
211
- {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε)
212
- (hε : ε ≤ 1 / 8) (hL : 0 < L) (κ v c : ℝ)
213
- (hstep : d.futureTrace ∈ d.stepEvent κ v c)
214
- (hupper : LipschitzOnWith C d.chart (ribbonStepPatch (d.front + 1)))
215
- (hlower : ∀ u ∈ ribbonStepPatch (d.front + 1),
216
- ∀ v ∈ ribbonStepPatch (d.front + 1), dist u v ≤ L * dist (d.chart u) (d.chart v)) :
217
- ∃ d' : RibbonHistory C L ε,
218
- d'.front = d.front + 1 ∧
219
- d'.time = d.time + frontTime
220
- (fun t => longitudinalCoordinate d.chart closedRibbon d.front (d.futureTrace t)) 1 ∧
221
- d'.chart = d.chart ∧ d'.U = d.U ∧ d'.trace = d.trace ∧
222
- d'.forward = d.forward ∧ d'.inverse = d.inverse ∧
223
- d'.coordinates = d.advanceCoordinates := by
224
- let S := frontTime
225
- (fun t => longitudinalCoordinate d.chart closedRibbon d.front (d.futureTrace t)) 1
226
- obtain ⟨hfirst, hhit, hS, hpath, hoffset⟩ := hstep.1
227
- obtain ⟨hcont, htrace, hzero, hattain, hoff, hribbon, hcore, hstrict⟩ :=
228
- d.successful_continuation hε hL S hfirst hhit hS hpath hoffset
229
- let d' : RibbonHistory C L ε := {
230
- U := d.U
231
- trace := d.trace
232
- forward := d.forward
233
- inverse := d.inverse
234
- driver_continuous := d.driver_continuous
235
- witness := d.witness
236
- chart := d.chart
237
- chart_continuous := d.chart_continuous
238
- chart_injective := d.chart_injective
239
- chart_upper := d.chart_upper
240
- chart_escape := d.chart_escape
241
- front := d.front + 1
242
- offset := (d.futureCoordinates S).im
243
- front_ge_one := by linarith [d.front_ge_one]
244
- offset_bound := hoff
245
- patch_upper := hupper
246
- patch_lower := hlower
247
- time := d.time + S
248
- time_pos := d.time_pos.trans_le (le_add_of_nonneg_right bot_le)
249
- coordinates := d.advanceCoordinates
250
- coordinates_continuous := hcont
251
- trace_coordinates := htrace
252
- initial_front := hzero
253
- attained := hattain
254
- coordinates_ribbon := hribbon
255
- past_core := hcore
256
- strict_past := hstrict }
257
- exact ⟨d', rfl, rfl, rfl, rfl, rfl, rfl, rfl, rfl⟩
258
-
259
- end SLEExactGauge
260
-
261
- end
262
-
263
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.UniformRibbonStep
2
+
3
+ namespace OAI
4
+
5
+ /-! An actual successful passage gives another admissible stopped ribbon
6
+ history. Inverse coordinates are used only on the compact physical patch
7
+ where the successful path is contained. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory Metric
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge
14
+ open RibbonCoordinates BoundaryScaleLaw FirstFrontPassage PassageSuccess
15
+
16
+ lemma strict_before_attained_front
17
+ (x : ℝ≥0 → ℝ) (q : ℝ) (S : ℝ≥0)
18
+ (hc : ContinuousOn x (Icc 0 S)) (h0 : x 0 < q)
19
+ (hfirst : firstFrontTime x q = (S : WithTop ℝ≥0)) :
20
+ ∀ t : ℝ≥0, t < S → x t < q := by
21
+ intro t ht
22
+ by_contra hn
23
+ obtain ⟨u, hu, hue⟩ := intermediate_value_Icc (show (0 : ℝ≥0) ≤ t from bot_le)
24
+ (hc.mono (Icc_subset_Icc_right ht.le)) ⟨h0.le, le_of_not_gt hn⟩
25
+ have hh := hittingAfter_le_of_mem (u := fun t (_ : Unit) => x t - q)
26
+ (ω := ()) (show (0 : ℝ≥0) ≤ u from bot_le)
27
+ (show x u - q ∈ ({0} : Set ℝ) by simp only [hue, sub_self, mem_singleton_iff])
28
+ change firstFrontTime x q ≤ (u : WithTop ℝ≥0) at hh
29
+ rw [hfirst, WithTop.coe_le_coe] at hh
30
+ exact (not_le_of_gt ht) (hh.trans hu.2)
31
+
32
+ def RibbonHistory.futureCoordinates {C L : ℝ≥0} {ε : ℝ}
33
+ (d : RibbonHistory C L ε) (t : ℝ≥0) : ℂ :=
34
+ (d.front : ℂ) + coordinateInverse d.stepChart ribbonStepCompact (d.trace (d.time + t))
35
+
36
+ def RibbonHistory.advanceCoordinates {C L : ℝ≥0} {ε : ℝ}
37
+ (d : RibbonHistory C L ε) (t : ℝ≥0) : ℂ :=
38
+ if t ≤ d.time then d.coordinates (min t d.time) else d.futureCoordinates (t - d.time)
39
+
40
+ def RibbonHistory.futureTrace {C L : ℝ≥0} {ε : ℝ}
41
+ (d : RibbonHistory C L ε) : C(ℝ≥0, ℂ) :=
42
+ ⟨fun t => d.trace (d.time + t),
43
+ d.witness.1.comp (continuous_const.add continuous_id)⟩
44
+
45
+ lemma RibbonHistory.tip_in_stepCompact {C L : ℝ≥0} {ε : ℝ}
46
+ (d : RibbonHistory C L ε) (hε : ε ≤ 1 / 8) :
47
+ (d.offset : ℂ) * Complex.I ∈ ribbonStepCompact := by
48
+ change -(1 / 2 : ℝ) ≤ ((d.offset : ℂ) * Complex.I).re ∧
49
+ ((d.offset : ℂ) * Complex.I).re ≤ 5 / 2 ∧
50
+ |((d.offset : ℂ) * Complex.I).im| ≤ 1 / 2
51
+ simp only [Complex.mul_re, Complex.ofReal_re, Complex.I_re, mul_zero,
52
+ Complex.ofReal_im, Complex.I_im, sub_self, Complex.mul_im, mul_one, add_zero]
53
+ exact ⟨by norm_num, by norm_num, by linarith [d.offset_bound]⟩
54
+
55
+ lemma RibbonHistory.futureCoordinates_zero {C L : ℝ≥0} {ε : ℝ}
56
+ (d : RibbonHistory C L ε) (hε : ε ≤ 1 / 8) :
57
+ d.futureCoordinates 0 = d.coordinates d.time := by
58
+ have htip : d.trace d.time = d.stepChart ((d.offset : ℂ) * Complex.I) := by
59
+ rw [RibbonHistory.stepChart, ← d.attained]
60
+ exact d.trace_coordinates ⟨bot_le, le_rfl⟩
61
+ simp only [RibbonHistory.futureCoordinates, add_zero, htip,
62
+ coordinateInverse_left (lower_lipschitz_injOn _ _ L d.step_lower)
63
+ (d.tip_in_stepCompact hε), d.attained]
64
+
65
+ /-- The completed actual trace retains continuous ribbon coordinates,
66
+ the narrow core, and the strict first-front property required for the
67
+ next application of the uniform step theorem. -/
68
+ theorem RibbonHistory.successful_continuation
69
+ {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε)
70
+ (hε : ε ≤ 1 / 8) (hL : 0 < L)
71
+ (S : ℝ≥0)
72
+ (hfirst : firstFrontTime
73
+ (fun t => longitudinalCoordinate d.chart closedRibbon d.front
74
+ (d.trace (d.time + t))) 1 = (S : WithTop ℝ≥0))
75
+ (hhit : longitudinalCoordinate d.chart closedRibbon d.front
76
+ (d.trace (d.time + S)) = 1)
77
+ (hS : 0 < S)
78
+ (hpath : MapsTo (fun t => d.trace (d.time + t)) (Icc 0 S)
79
+ (physicalPassageRegion d.stepChart ribbonStepCompact C ε (ε / L)))
80
+ (hoffset : ‖d.trace (d.time + S) - d.chart ((d.front : ℂ) + 1)‖ < (ε / L) / 4) :
81
+ ContinuousOn d.advanceCoordinates (Icc 0 (d.time + S)) ∧
82
+ EqOn d.trace (d.chart ∘ d.advanceCoordinates) (Icc 0 (d.time + S)) ∧
83
+ (d.advanceCoordinates 0).re = 0 ∧
84
+ d.advanceCoordinates (d.time + S) =
85
+ ((d.front + 1 : ℝ) : ℂ) + ((d.futureCoordinates S).im : ℂ) * Complex.I ∧
86
+ |(d.futureCoordinates S).im| ≤ ε / 4 ∧
87
+ MapsTo d.advanceCoordinates (Icc 0 (d.time + S)) closedRibbon ∧
88
+ (∀ t ∈ Icc 0 (d.time + S),
89
+ (d.advanceCoordinates t).re ≤ d.front + 1 ∧ |(d.advanceCoordinates t).im| ≤ ε) ∧
90
+ ∀ t : ℝ≥0, t < d.time + S → (d.advanceCoordinates t).re < d.front + 1 := by
91
+ let p := longitudinalCoordinate d.chart closedRibbon d.front
92
+ let η := fun t => d.trace (d.time + t)
93
+ have hi := lower_lipschitz_injOn d.stepChart ribbonStepCompact L d.step_lower
94
+ have hmap : MapsTo η (Icc 0 S) (d.stepChart '' ribbonStepCompact) := by
95
+ intro t ht
96
+ exact image_mono inter_subset_left (hpath ht)
97
+ have hη : Continuous η := d.witness.1.comp (continuous_const.add continuous_id)
98
+ have hq : ContinuousOn d.futureCoordinates (Icc 0 S) :=
99
+ continuousOn_const.add ((coordinateInverse_lipschitz d.stepChart ribbonStepCompact L
100
+ d.step_lower).continuousOn.comp hη.continuousOn hmap)
101
+ have hqzero := d.futureCoordinates_zero hε
102
+ have hpeq (t : ℝ≥0) (ht : t ∈ Icc 0 S) :
103
+ p (η t) = (d.futureCoordinates t).re - d.front := by
104
+ dsimp only [p]
105
+ rw [d.global_progress_eq_step (hmap ht)]
106
+ simp only [η, longitudinalCoordinate, RibbonHistory.futureCoordinates, Complex.add_re,
107
+ Complex.ofReal_re, add_sub_cancel_left, sub_zero]
108
+ have hp : ContinuousOn (fun t => p (η t)) (Icc 0 S) :=
109
+ ((Complex.continuous_re.comp_continuousOn hq).sub continuousOn_const).congr
110
+ (fun t ht => hpeq t ht)
111
+ have hp0 : p (η 0) < 1 := by
112
+ rw [hpeq 0 ⟨bot_le, bot_le⟩, hqzero, d.attained]
113
+ simp
114
+ have hprior := strict_before_attained_front _ 1 S hp hp0 hfirst
115
+ have hqre : (d.futureCoordinates S).re = d.front + 1 := by
116
+ have hh := (hpeq S ⟨bot_le, le_rfl⟩).symm.trans hhit
117
+ linarith
118
+ have hqcore (t : ℝ≥0) (ht : t ∈ Icc 0 S) :
119
+ d.futureCoordinates t ∈ closedRibbon ∧ |(d.futureCoordinates t).im| ≤ ε := by
120
+ obtain ⟨w, ⟨hwK, hwV⟩, he⟩ := hpath ht
121
+ have hqw : d.futureCoordinates t = (d.front : ℂ) + w := by
122
+ simp only [RibbonHistory.futureCoordinates, ← he, coordinateInverse_left hi hwK]
123
+ rw [hqw]
124
+ exact ⟨d.stepCompact_maps hwK, by
125
+ simpa only [Complex.add_im, Complex.ofReal_im, zero_add] using hwV.2.2.1.le⟩
126
+ have hqoffset : |(d.futureCoordinates S).im| ≤ ε / 4 := by
127
+ have h1 : (1 : ℂ) ∈ ribbonStepCompact := by
128
+ change -(1 / 2 : ℝ) ≤ 1 ∧ 1 ≤ 5 / 2 ∧ |(0 : ℝ)| ≤ 1 / 2
129
+ norm_num
130
+ have hd := d.step_lower _ (coordinateInverse_mem (hmap ⟨bot_le, le_rfl⟩)) 1 h1
131
+ rw [coordinateInverse_right (hmap ⟨bot_le, le_rfl⟩)] at hd
132
+ have habs : |(d.futureCoordinates S).im| ≤
133
+ dist (coordinateInverse d.stepChart ribbonStepCompact (η S)) 1 := by
134
+ simpa only [RibbonHistory.futureCoordinates, Complex.add_im, Complex.ofReal_im,
135
+ zero_add, dist_eq_norm, Complex.sub_im, Complex.one_im, sub_zero] using
136
+ Complex.abs_im_le_norm (coordinateInverse d.stepChart ribbonStepCompact (η S) - 1)
137
+ have hnorm : dist (η S) (d.stepChart 1) < (ε / L) / 4 := by
138
+ simpa only [dist_eq_norm, η, RibbonHistory.stepChart] using hoffset
139
+ have hmul := mul_lt_mul_of_pos_left hnorm (show 0 < (L : ℝ) from hL)
140
+ have he : (L : ℝ) * ((ε / L) / 4) = ε / 4 := by field_simp
141
+ exact (habs.trans hd).trans (he ▸ hmul.le)
142
+ have hsub (t : ℝ≥0) (ht : t ∈ Icc 0 (d.time + S)) : t - d.time ∈ Icc 0 S :=
143
+ ⟨bot_le, (tsub_le_iff_right).mpr (by simpa only [add_comm] using ht.2)⟩
144
+ have hleft : ContinuousOn (fun t => d.coordinates (min t d.time))
145
+ (Icc 0 (d.time + S)) := d.coordinates_continuous.comp
146
+ (continuous_id.min continuous_const).continuousOn (fun _ _ => ⟨bot_le, min_le_right _ _⟩)
147
+ have hright : ContinuousOn (fun t => d.futureCoordinates (t - d.time))
148
+ (Icc 0 (d.time + S)) := hq.comp
149
+ (continuous_id.sub continuous_const).continuousOn hsub
150
+ have hcont : ContinuousOn d.advanceCoordinates (Icc 0 (d.time + S)) := by
151
+ unfold RibbonHistory.advanceCoordinates
152
+ apply ContinuousOn.if ?_ (hleft.mono inter_subset_left) (hright.mono inter_subset_left)
153
+ intro t ht
154
+ have htT : t = d.time := by
155
+ have hf : t ∈ frontier (Iic d.time) := ht.2
156
+ simpa only [frontier_Iic, mem_singleton_iff] using hf
157
+ simp only [htT, min_self, tsub_self, hqzero]
158
+ have hold (t : ℝ≥0) (ht : t ≤ d.time) : d.advanceCoordinates t = d.coordinates t := by
159
+ simp only [RibbonHistory.advanceCoordinates, ite_eq_left ht, min_eq_left ht]
160
+ have hnew (t : ℝ≥0) (ht : d.time < t) :
161
+ d.advanceCoordinates t = d.futureCoordinates (t - d.time) := by
162
+ simp only [RibbonHistory.advanceCoordinates, ite_eq_right (not_le_of_gt ht)]
163
+ have hTS : d.time < d.time + S := lt_add_of_pos_right _ hS
164
+ refine ⟨hcont, ?_, ?_, ?_, hqoffset, ?_, ?_, ?_⟩
165
+ · intro t ht
166
+ by_cases htT : t ≤ d.time
167
+ · rw [Function.comp_apply, hold t htT]
168
+ exact d.trace_coordinates ⟨bot_le, htT⟩
169
+ · rw [Function.comp_apply, hnew t (lt_of_not_ge htT), RibbonHistory.futureCoordinates]
170
+ change d.trace t = d.stepChart (coordinateInverse d.stepChart ribbonStepCompact
171
+ (η (t - d.time)))
172
+ rw [coordinateInverse_right (hmap (hsub t ht))]
173
+ simp only [η, add_tsub_cancel_of_le (le_of_not_ge htT)]
174
+ · rw [hold 0 bot_le]
175
+ exact d.initial_front
176
+ · rw [hnew _ hTS, add_tsub_cancel_left]
177
+ apply Complex.ext <;> simp [hqre]
178
+ · intro t ht
179
+ by_cases htT : t ≤ d.time
180
+ · rw [hold t htT]
181
+ exact d.coordinates_ribbon ⟨bot_le, htT⟩
182
+ · rw [hnew t (lt_of_not_ge htT)]
183
+ exact (hqcore _ (hsub t ht)).1
184
+ · intro t ht
185
+ by_cases htT : t ≤ d.time
186
+ · rw [hold t htT]
187
+ obtain ⟨hr, hi⟩ := d.past_core t ⟨bot_le, htT⟩
188
+ exact ⟨by linarith, hi⟩
189
+ · rw [hnew t (lt_of_not_ge htT)]
190
+ refine ⟨?_, (hqcore _ (hsub t ht)).2⟩
191
+ rcases (hsub t ht).2.eq_or_lt with he | hlt
192
+ · rw [he, hqre]
193
+ · have hh := hprior _ hlt
194
+ rw [hpeq _ (hsub t ht)] at hh
195
+ linarith
196
+ · intro t ht
197
+ by_cases htT : t ≤ d.time
198
+ · rw [hold t htT]
199
+ linarith [(d.past_core t ⟨bot_le, htT⟩).1]
200
+ · rw [hnew t (lt_of_not_ge htT)]
201
+ have hlt : t - d.time < S := by
202
+ exact (tsub_lt_iff_left (le_of_not_ge htT)).mpr (by simpa only [add_comm] using ht)
203
+ have hh := hprior _ hlt
204
+ rw [hpeq _ ⟨bot_le, hlt.le⟩] at hh
205
+ linarith
206
+
207
+ /-- A successful full step produces the actual history at the next
208
+ integer front, with the same driver, trace, and Loewner maps. The only
209
+ new geometric data are the deterministic bounds on the next patch. -/
210
+ theorem RibbonHistory.next_history_of_stepEvent
211
+ {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε)
212
+ (hε : ε ≤ 1 / 8) (hL : 0 < L) (κ v c : ℝ)
213
+ (hstep : d.futureTrace ∈ d.stepEvent κ v c)
214
+ (hupper : LipschitzOnWith C d.chart (ribbonStepPatch (d.front + 1)))
215
+ (hlower : ∀ u ∈ ribbonStepPatch (d.front + 1),
216
+ ∀ v ∈ ribbonStepPatch (d.front + 1), dist u v ≤ L * dist (d.chart u) (d.chart v)) :
217
+ ∃ d' : RibbonHistory C L ε,
218
+ d'.front = d.front + 1 ∧
219
+ d'.time = d.time + frontTime
220
+ (fun t => longitudinalCoordinate d.chart closedRibbon d.front (d.futureTrace t)) 1 ∧
221
+ d'.chart = d.chart ∧ d'.U = d.U ∧ d'.trace = d.trace ∧
222
+ d'.forward = d.forward ∧ d'.inverse = d.inverse ∧
223
+ d'.coordinates = d.advanceCoordinates := by
224
+ let S := frontTime
225
+ (fun t => longitudinalCoordinate d.chart closedRibbon d.front (d.futureTrace t)) 1
226
+ obtain ⟨hfirst, hhit, hS, hpath, hoffset⟩ := hstep.1
227
+ obtain ⟨hcont, htrace, hzero, hattain, hoff, hribbon, hcore, hstrict⟩ :=
228
+ d.successful_continuation hε hL S hfirst hhit hS hpath hoffset
229
+ let d' : RibbonHistory C L ε := {
230
+ U := d.U
231
+ trace := d.trace
232
+ forward := d.forward
233
+ inverse := d.inverse
234
+ driver_continuous := d.driver_continuous
235
+ witness := d.witness
236
+ chart := d.chart
237
+ chart_continuous := d.chart_continuous
238
+ chart_injective := d.chart_injective
239
+ chart_upper := d.chart_upper
240
+ chart_escape := d.chart_escape
241
+ front := d.front + 1
242
+ offset := (d.futureCoordinates S).im
243
+ front_ge_one := by linarith [d.front_ge_one]
244
+ offset_bound := hoff
245
+ patch_upper := hupper
246
+ patch_lower := hlower
247
+ time := d.time + S
248
+ time_pos := d.time_pos.trans_le (le_add_of_nonneg_right bot_le)
249
+ coordinates := d.advanceCoordinates
250
+ coordinates_continuous := hcont
251
+ trace_coordinates := htrace
252
+ initial_front := hzero
253
+ attained := hattain
254
+ coordinates_ribbon := hribbon
255
+ past_core := hcore
256
+ strict_past := hstrict }
257
+ exact ⟨d', rfl, rfl, rfl, rfl, rfl, rfl, rfl, rfl⟩
258
+
259
+ end SLEExactGauge
260
+
261
+ end
262
+
263
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonLimitPassageGeometry.lean CHANGED
@@ -1,199 +1,199 @@
1
- import OAI.Probability.SLE.Gauge.RibbonPassageNeighborhood
2
-
3
- namespace OAI
4
-
5
- /-! Deterministic ribbon regions used by the limiting splice. The envelope
6
- extends beyond the attained front, while its front slice is narrowed to
7
- supply the prescribed physical terminal tolerance. -/
8
-
9
- noncomputable section
10
- open Set Filter Metric
11
- open scoped Topology NNReal
12
-
13
- namespace SLEExactGauge.RibbonCoordinates
14
-
15
- def passageCoordinateRegion (C : ℝ≥0) (ε η : ℝ) : Set ℂ :=
16
- {w | -(1 / 4 : ℝ) < w.re ∧ w.re < 2 ∧ |w.im| < ε ∧
17
- (w.re < 1 / 2 ∨ |w.im| < η / (4 * (C : ℝ)))}
18
-
19
- def physicalPassageRegion (P : ℂ → ℂ) (K : Set ℂ) (C : ℝ≥0) (ε η : ℝ) : Set ℂ :=
20
- P '' (K ∩ passageCoordinateRegion C ε η)
21
-
22
- theorem passageCoordinateRegion_isOpen (C : ℝ≥0) (ε η : ℝ) :
23
- IsOpen (passageCoordinateRegion C ε η) := by
24
- apply IsOpen.inter (isOpen_lt continuous_const Complex.continuous_re)
25
- apply IsOpen.inter (isOpen_lt Complex.continuous_re continuous_const)
26
- apply IsOpen.inter (isOpen_lt Complex.continuous_im.abs continuous_const)
27
- exact (isOpen_lt Complex.continuous_re continuous_const).union
28
- (isOpen_lt Complex.continuous_im.abs continuous_const)
29
-
30
- /-- The prescribed access guide stays in the envelope, with its entire
31
- late part on the centerline, independently of the terminal tolerance. -/
32
- theorem guideCoordinate_mem_passageRegion
33
- (C : ℝ≥0) (hC : 0 < C) {ε η x t : ℝ}
34
- (hx : |x| < ε) (hη : 0 < η) (ht : t ∈ Icc (0 : ℝ) (3 / 2)) :
35
- guideCoordinate 0 x t ∈ passageCoordinateRegion C ε η := by
36
- have him := (guideCoordinate_im_bound (k := 0) (x := x) ht.1).trans_lt hx
37
- refine ⟨by rw [guideCoordinate_re]; linarith [ht.1],
38
- by rw [guideCoordinate_re]; linarith [ht.2], him, ?_⟩
39
- by_cases hsmall : t < 1 / 2
40
- · left
41
- simpa only [guideCoordinate_re, zero_add] using hsmall
42
- · right
43
- have htlarge : 1 / 2 ≤ t := le_of_not_gt hsmall
44
- have him0 : (guideCoordinate 0 x t).im = 0 := by
45
- rw [guideCoordinate_im, max_eq_right (by linarith), mul_zero]
46
- rw [him0, abs_zero]
47
- exact div_pos hη (mul_pos (by norm_num) hC)
48
-
49
- /-- The thin front slice gives the terminal physical tolerance required by
50
- `FrontSuccess`, using the actual upper patch Lipschitz constant. -/
51
- theorem physicalPassageRegion_terminal
52
- (P : ℂ → ℂ) (K : Set ℂ) (C L : ℝ≥0) (ε η : ℝ)
53
- (hC : 0 < C) (hupper : LipschitzOnWith C P K)
54
- (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y))
55
- (hbase : (1 : ℂ) ∈ K) {z : ℂ}
56
- (hz : z ∈ physicalPassageRegion P K C ε η)
57
- (hp : longitudinalCoordinate P K 0 z = 1) :
58
- ‖z - P 1‖ < η / 4 := by
59
- obtain ⟨w, ⟨hwK, hwV⟩, rfl⟩ := hz
60
- have hi := lower_lipschitz_injOn P K L hlower
61
- have hwre : w.re = 1 := by
62
- simpa only [longitudinalCoordinate, coordinateInverse_left hi hwK, sub_zero] using hp
63
- have him : |w.im| < η / (4 * (C : ℝ)) := by
64
- rcases hwV.2.2.2 with hsmall | hthin
65
- · rw [hwre] at hsmall
66
- norm_num at hsmall
67
- · exact hthin
68
- have hd : dist w (1 : ℂ) = |w.im| := by
69
- have he : w - 1 = (w.im : ℂ) * Complex.I := by
70
- apply Complex.ext <;> simp [hwre]
71
- rw [dist_eq_norm, he, norm_mul, Complex.norm_I, mul_one, Complex.norm_real, Real.norm_eq_abs]
72
- have hbound := hupper.dist_le_mul w hwK 1 hbase
73
- rw [hd] at hbound
74
- have hCpos : 0 < (C : ℝ) := hC
75
- have hthin : (C : ℝ) * |w.im| < η / 4 := by
76
- have hh := (lt_div_iff₀ (mul_pos (by norm_num : (0 : ℝ) < 4) hCpos)).mp him
77
- linarith
78
- simpa only [dist_eq_norm] using hbound.trans_lt hthin
79
-
80
- /-- The actual limiting guide supplies a common physical neighborhood and
81
- all varying-region conditions used by the retained-mass passage theorem. -/
82
- theorem limiting_guide_passage_neighborhood
83
- (hpublished : PublishedPlanarDiskOpenness)
84
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ) (C L : ℝ≥0)
85
- (hC : 0 < C) (hL : 0 < L)
86
- (hupper : ∀ n, LipschitzOnWith C (Pₙ n) K)
87
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
88
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
89
- (hP : ContinuousOn P K) (hPH : MapsTo P (interior K) upperHalfPlane)
90
- (α : ℝ → ℂ) (hα : ContinuousOn α (Icc 0 2)) (x ε η : ℝ)
91
- (hx : |x| < ε) (hη : 0 < η)
92
- (hshape : EqOn α (fun t => P (guideCoordinate 0 x t)) (Icc 0 2))
93
- (hmem : ∀ t ∈ Icc (0 : ℝ) (3 / 2), guideCoordinate 0 x t ∈ interior K)
94
- (hbase : (1 : ℂ) ∈ K) :
95
- ∃ U : Set ℂ, IsOpen U ∧ α '' Icc (0 : ℝ) (3 / 2) ⊆ U ∧
96
- IsCompact (closure U) ∧ closure U ⊆ P '' interior K ∧
97
- U ⊆ upperHalfPlane ∧
98
- ContinuousOn (longitudinalCoordinate P K 0) U ∧
99
- (∀ᶠ n in atTop, ContinuousOn (longitudinalCoordinate (Pₙ n) K 0) U) ∧
100
- TendstoLocallyUniformlyOn (fun n => longitudinalCoordinate (Pₙ n) K 0)
101
- (longitudinalCoordinate P K 0) atTop U ∧
102
- (∀ᶠ n in atTop, U ⊆ physicalPassageRegion (Pₙ n) K C ε η) ∧
103
- (∀ n z, z ∈ physicalPassageRegion (Pₙ n) K C ε η →
104
- longitudinalCoordinate (Pₙ n) K 0 z = 1 → ‖z - Pₙ n 1‖ < η / 4) ∧
105
- (∀ᶠ n in atTop,
106
- U ∩ {z | (1 / 3 : ℝ) < longitudinalCoordinate (Pₙ n) K 0 z ∧
107
- longitudinalCoordinate (Pₙ n) K 0 z < 2 / 3} ⊆ physicalMiddleRegion (Pₙ n) K 0 ε) := by
108
- let V := passageCoordinateRegion C ε η
109
- let A := α '' Icc (0 : ℝ) (3 / 2)
110
- have hA : IsCompact A := isCompact_Icc.image_of_continuousOn
111
- (hα.mono (Icc_subset_Icc_right (by norm_num)))
112
- have hAV : A ⊆ P '' (interior K ∩ V) := by
113
- rintro _ ⟨t, ht, rfl⟩
114
- exact ⟨guideCoordinate 0 x t, ⟨hmem t ht,
115
- guideCoordinate_mem_passageRegion C hC hx hη ht⟩,
116
- (hshape ⟨ht.1, ht.2.trans (by norm_num)⟩).symm⟩
117
- obtain ⟨U, hU, hAU, hUc, hUPV, hVlate, hKlate, _⟩ :=
118
- common_coordinate_region_neighborhood hpublished Pₙ P K A V L hL hP
119
- (fun n => (hupper n).continuousOn) hconv hlower hA
120
- (passageCoordinateRegion_isOpen C ε η) hAV
121
- have hUP : closure U ⊆ P '' interior K := hUPV.trans (image_mono inter_subset_left)
122
- have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
123
- have hi := lower_lipschitz_injOn P K L hlim
124
- have hwidth : ∀ z ∈ closure U, |(coordinateInverse P K z).im| < ε := by
125
- intro z hz
126
- obtain ⟨w, hw, he⟩ := hUPV hz
127
- rw [← he, coordinateInverse_left hi (interior_subset hw.1)]
128
- exact hw.2.2.2.1
129
- refine ⟨U, hU, hAU, hUc, hUP, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩
130
- · exact (subset_closure.trans hUP).trans (image_subset_iff.mpr hPH)
131
- · exact (longitudinalCoordinate_continuousOn P K L 0 hlim).mono
132
- (subset_closure.trans (hUP.trans (image_mono interior_subset)))
133
- · filter_upwards [hKlate] with n hn
134
- exact (longitudinalCoordinate_continuousOn (Pₙ n) K L 0 (hlower n)).mono
135
- (subset_closure.trans (hn.trans (image_mono interior_subset)))
136
- · exact (longitudinalCoordinate_locally_uniform hpublished Pₙ P K L 0 hL hP
137
- (fun n => (hupper n).continuousOn) hconv hlower).mono (subset_closure.trans hUP)
138
- · exact hVlate.mono (fun _ hn => subset_closure.trans hn)
139
- · exact fun n z hz hp => physicalPassageRegion_terminal (Pₙ n) K C L ε η hC
140
- (hupper n) (hlower n) hbase hz hp
141
- · exact eventual_middle_region_inclusion Pₙ P K U L 0 ε hconv hlower hUc
142
- (hUP.trans (image_mono interior_subset))
143
- (hKlate.mono (fun _ hn => hn.trans (image_mono interior_subset))) hwidth
144
-
145
- /-- Local coordinate convergence and convergence of the starting tips
146
- supply the fixed early ball used by localization. -/
147
- theorem eventual_early_coordinate_ball
148
- (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
149
- (hp : ContinuousOn p U) (hconv : TendstoLocallyUniformlyOn pₙ p atTop U)
150
- (aₙ : ℕ → ℂ) (a : ℂ) (ha : a ∈ U) (hpa : p a = 0)
151
- (halim : Tendsto aₙ atTop (𝓝 a)) :
152
- ∃ r : ℝ, 0 < r ∧ ball a (r / 2) ⊆ U ∧
153
- (∀ z ∈ ball a (r / 4), p z < 1 / 3) ∧
154
- ∀ᶠ n in atTop, ball (aₙ n) r ⊆ U ∩ {z | pₙ n z < 1} := by
155
- let W := U ∩ p ⁻¹' Iio (1 / 6 : ℝ)
156
- have hW : IsOpen W := hp.isOpen_inter_preimage hU isOpen_Iio
157
- have haW : a ∈ W := ⟨ha, by simp only [mem_preimage, mem_Iio, hpa]; norm_num⟩
158
- obtain ⟨d, hd, hball⟩ := Metric.isOpen_iff.mp hW a haW
159
- let r := d / 4
160
- have hr : 0 < r := by dsimp [r]; positivity
161
- let C := closedBall a (d / 2)
162
- have hCW : C ⊆ W := by
163
- intro z hz
164
- have hz' : dist z a ≤ d / 2 := hz
165
- exact hball (hz'.trans_lt (by linarith))
166
- have hCU : C ⊆ U := hCW.trans inter_subset_left
167
- have hu : TendstoUniformlyOn pₙ p atTop C :=
168
- (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact
169
- (isCompact_closedBall a (d / 2))).mp (hconv.mono hCU)
170
- refine ⟨r, hr, ?_, ?_, ?_⟩
171
- · intro z hz
172
- have hrd : r / 2 < d := by dsimp only [r]; linarith
173
- exact (hball (lt_trans hz hrd)).1
174
- · intro z hz
175
- have hrd : r / 4 < d := by dsimp only [r]; linarith
176
- have hh := (hball (lt_trans hz hrd)).2
177
- exact hh.trans (by norm_num)
178
- · filter_upwards [halim.eventually (Metric.ball_mem_nhds a hr),
179
- Metric.tendstoUniformlyOn_iff.mp hu (1 / 6) (by norm_num)] with n hn hclose
180
- intro z hz
181
- have hza : dist z a < d / 2 := by
182
- have hh := (dist_triangle z (aₙ n) a).trans_lt (add_lt_add hz hn)
183
- dsimp [r] at hh
184
- linarith
185
- have hzC : z ∈ C := hza.le
186
- have hc := hclose z hzC
187
- rw [Real.dist_eq] at hc
188
- have hpz := (hCW hzC).2
189
- refine ⟨hCU hzC, ?_⟩
190
- have habs := (abs_lt.mp hc).1
191
- change p z < 1 / 6 at hpz
192
- change pₙ n z < 1
193
- linarith
194
-
195
- end SLEExactGauge.RibbonCoordinates
196
-
197
- end
198
-
199
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonPassageNeighborhood
2
+
3
+ namespace OAI
4
+
5
+ /-! Deterministic ribbon regions used by the limiting splice. The envelope
6
+ extends beyond the attained front, while its front slice is narrowed to
7
+ supply the prescribed physical terminal tolerance. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Metric
11
+ open scoped Topology NNReal
12
+
13
+ namespace SLEExactGauge.RibbonCoordinates
14
+
15
+ def passageCoordinateRegion (C : ℝ≥0) (ε η : ℝ) : Set ℂ :=
16
+ {w | -(1 / 4 : ℝ) < w.re ∧ w.re < 2 ∧ |w.im| < ε ∧
17
+ (w.re < 1 / 2 ∨ |w.im| < η / (4 * (C : ℝ)))}
18
+
19
+ def physicalPassageRegion (P : ℂ → ℂ) (K : Set ℂ) (C : ℝ≥0) (ε η : ℝ) : Set ℂ :=
20
+ P '' (K ∩ passageCoordinateRegion C ε η)
21
+
22
+ theorem passageCoordinateRegion_isOpen (C : ℝ≥0) (ε η : ℝ) :
23
+ IsOpen (passageCoordinateRegion C ε η) := by
24
+ apply IsOpen.inter (isOpen_lt continuous_const Complex.continuous_re)
25
+ apply IsOpen.inter (isOpen_lt Complex.continuous_re continuous_const)
26
+ apply IsOpen.inter (isOpen_lt Complex.continuous_im.abs continuous_const)
27
+ exact (isOpen_lt Complex.continuous_re continuous_const).union
28
+ (isOpen_lt Complex.continuous_im.abs continuous_const)
29
+
30
+ /-- The prescribed access guide stays in the envelope, with its entire
31
+ late part on the centerline, independently of the terminal tolerance. -/
32
+ theorem guideCoordinate_mem_passageRegion
33
+ (C : ℝ≥0) (hC : 0 < C) {ε η x t : ℝ}
34
+ (hx : |x| < ε) (hη : 0 < η) (ht : t ∈ Icc (0 : ℝ) (3 / 2)) :
35
+ guideCoordinate 0 x t ∈ passageCoordinateRegion C ε η := by
36
+ have him := (guideCoordinate_im_bound (k := 0) (x := x) ht.1).trans_lt hx
37
+ refine ⟨by rw [guideCoordinate_re]; linarith [ht.1],
38
+ by rw [guideCoordinate_re]; linarith [ht.2], him, ?_⟩
39
+ by_cases hsmall : t < 1 / 2
40
+ · left
41
+ simpa only [guideCoordinate_re, zero_add] using hsmall
42
+ · right
43
+ have htlarge : 1 / 2 ≤ t := le_of_not_gt hsmall
44
+ have him0 : (guideCoordinate 0 x t).im = 0 := by
45
+ rw [guideCoordinate_im, max_eq_right (by linarith), mul_zero]
46
+ rw [him0, abs_zero]
47
+ exact div_pos hη (mul_pos (by norm_num) hC)
48
+
49
+ /-- The thin front slice gives the terminal physical tolerance required by
50
+ `FrontSuccess`, using the actual upper patch Lipschitz constant. -/
51
+ theorem physicalPassageRegion_terminal
52
+ (P : ℂ → ℂ) (K : Set ℂ) (C L : ℝ≥0) (ε η : ℝ)
53
+ (hC : 0 < C) (hupper : LipschitzOnWith C P K)
54
+ (hlower : ∀ x ∈ K, ∀ y ∈ K, dist x y ≤ L * dist (P x) (P y))
55
+ (hbase : (1 : ℂ) ∈ K) {z : ℂ}
56
+ (hz : z ∈ physicalPassageRegion P K C ε η)
57
+ (hp : longitudinalCoordinate P K 0 z = 1) :
58
+ ‖z - P 1‖ < η / 4 := by
59
+ obtain ⟨w, ⟨hwK, hwV⟩, rfl⟩ := hz
60
+ have hi := lower_lipschitz_injOn P K L hlower
61
+ have hwre : w.re = 1 := by
62
+ simpa only [longitudinalCoordinate, coordinateInverse_left hi hwK, sub_zero] using hp
63
+ have him : |w.im| < η / (4 * (C : ℝ)) := by
64
+ rcases hwV.2.2.2 with hsmall | hthin
65
+ · rw [hwre] at hsmall
66
+ norm_num at hsmall
67
+ · exact hthin
68
+ have hd : dist w (1 : ℂ) = |w.im| := by
69
+ have he : w - 1 = (w.im : ℂ) * Complex.I := by
70
+ apply Complex.ext <;> simp [hwre]
71
+ rw [dist_eq_norm, he, norm_mul, Complex.norm_I, mul_one, Complex.norm_real, Real.norm_eq_abs]
72
+ have hbound := hupper.dist_le_mul w hwK 1 hbase
73
+ rw [hd] at hbound
74
+ have hCpos : 0 < (C : ℝ) := hC
75
+ have hthin : (C : ℝ) * |w.im| < η / 4 := by
76
+ have hh := (lt_div_iff₀ (mul_pos (by norm_num : (0 : ℝ) < 4) hCpos)).mp him
77
+ linarith
78
+ simpa only [dist_eq_norm] using hbound.trans_lt hthin
79
+
80
+ /-- The actual limiting guide supplies a common physical neighborhood and
81
+ all varying-region conditions used by the retained-mass passage theorem. -/
82
+ theorem limiting_guide_passage_neighborhood
83
+ (hpublished : PublishedPlanarDiskOpenness)
84
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K : Set ℂ) (C L : ℝ≥0)
85
+ (hC : 0 < C) (hL : 0 < L)
86
+ (hupper : ∀ n, LipschitzOnWith C (Pₙ n) K)
87
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
88
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
89
+ (hP : ContinuousOn P K) (hPH : MapsTo P (interior K) upperHalfPlane)
90
+ (α : ℝ → ℂ) (hα : ContinuousOn α (Icc 0 2)) (x ε η : ℝ)
91
+ (hx : |x| < ε) (hη : 0 < η)
92
+ (hshape : EqOn α (fun t => P (guideCoordinate 0 x t)) (Icc 0 2))
93
+ (hmem : ∀ t ∈ Icc (0 : ℝ) (3 / 2), guideCoordinate 0 x t ∈ interior K)
94
+ (hbase : (1 : ℂ) ∈ K) :
95
+ ∃ U : Set ℂ, IsOpen U ∧ α '' Icc (0 : ℝ) (3 / 2) ⊆ U ∧
96
+ IsCompact (closure U) ∧ closure U ⊆ P '' interior K ∧
97
+ U ⊆ upperHalfPlane ∧
98
+ ContinuousOn (longitudinalCoordinate P K 0) U ∧
99
+ (∀ᶠ n in atTop, ContinuousOn (longitudinalCoordinate (Pₙ n) K 0) U) ∧
100
+ TendstoLocallyUniformlyOn (fun n => longitudinalCoordinate (Pₙ n) K 0)
101
+ (longitudinalCoordinate P K 0) atTop U ∧
102
+ (∀ᶠ n in atTop, U ⊆ physicalPassageRegion (Pₙ n) K C ε η) ∧
103
+ (∀ n z, z ∈ physicalPassageRegion (Pₙ n) K C ε η →
104
+ longitudinalCoordinate (Pₙ n) K 0 z = 1 → ‖z - Pₙ n 1‖ < η / 4) ∧
105
+ (∀ᶠ n in atTop,
106
+ U ∩ {z | (1 / 3 : ℝ) < longitudinalCoordinate (Pₙ n) K 0 z ∧
107
+ longitudinalCoordinate (Pₙ n) K 0 z < 2 / 3} ⊆ physicalMiddleRegion (Pₙ n) K 0 ε) := by
108
+ let V := passageCoordinateRegion C ε η
109
+ let A := α '' Icc (0 : ℝ) (3 / 2)
110
+ have hA : IsCompact A := isCompact_Icc.image_of_continuousOn
111
+ (hα.mono (Icc_subset_Icc_right (by norm_num)))
112
+ have hAV : A ⊆ P '' (interior K ∩ V) := by
113
+ rintro _ ⟨t, ht, rfl⟩
114
+ exact ⟨guideCoordinate 0 x t, ⟨hmem t ht,
115
+ guideCoordinate_mem_passageRegion C hC hx hη ht⟩,
116
+ (hshape ⟨ht.1, ht.2.trans (by norm_num)⟩).symm⟩
117
+ obtain ⟨U, hU, hAU, hUc, hUPV, hVlate, hKlate, _⟩ :=
118
+ common_coordinate_region_neighborhood hpublished Pₙ P K A V L hL hP
119
+ (fun n => (hupper n).continuousOn) hconv hlower hA
120
+ (passageCoordinateRegion_isOpen C ε η) hAV
121
+ have hUP : closure U ⊆ P '' interior K := hUPV.trans (image_mono inter_subset_left)
122
+ have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
123
+ have hi := lower_lipschitz_injOn P K L hlim
124
+ have hwidth : ∀ z ∈ closure U, |(coordinateInverse P K z).im| < ε := by
125
+ intro z hz
126
+ obtain ⟨w, hw, he⟩ := hUPV hz
127
+ rw [← he, coordinateInverse_left hi (interior_subset hw.1)]
128
+ exact hw.2.2.2.1
129
+ refine ⟨U, hU, hAU, hUc, hUP, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩
130
+ · exact (subset_closure.trans hUP).trans (image_subset_iff.mpr hPH)
131
+ · exact (longitudinalCoordinate_continuousOn P K L 0 hlim).mono
132
+ (subset_closure.trans (hUP.trans (image_mono interior_subset)))
133
+ · filter_upwards [hKlate] with n hn
134
+ exact (longitudinalCoordinate_continuousOn (Pₙ n) K L 0 (hlower n)).mono
135
+ (subset_closure.trans (hn.trans (image_mono interior_subset)))
136
+ · exact (longitudinalCoordinate_locally_uniform hpublished Pₙ P K L 0 hL hP
137
+ (fun n => (hupper n).continuousOn) hconv hlower).mono (subset_closure.trans hUP)
138
+ · exact hVlate.mono (fun _ hn => subset_closure.trans hn)
139
+ · exact fun n z hz hp => physicalPassageRegion_terminal (Pₙ n) K C L ε η hC
140
+ (hupper n) (hlower n) hbase hz hp
141
+ · exact eventual_middle_region_inclusion Pₙ P K U L 0 ε hconv hlower hUc
142
+ (hUP.trans (image_mono interior_subset))
143
+ (hKlate.mono (fun _ hn => hn.trans (image_mono interior_subset))) hwidth
144
+
145
+ /-- Local coordinate convergence and convergence of the starting tips
146
+ supply the fixed early ball used by localization. -/
147
+ theorem eventual_early_coordinate_ball
148
+ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
149
+ (hp : ContinuousOn p U) (hconv : TendstoLocallyUniformlyOn pₙ p atTop U)
150
+ (aₙ : ℕ → ℂ) (a : ℂ) (ha : a ∈ U) (hpa : p a = 0)
151
+ (halim : Tendsto aₙ atTop (𝓝 a)) :
152
+ ∃ r : ℝ, 0 < r ∧ ball a (r / 2) ⊆ U ∧
153
+ (∀ z ∈ ball a (r / 4), p z < 1 / 3) ∧
154
+ ∀ᶠ n in atTop, ball (aₙ n) r ⊆ U ∩ {z | pₙ n z < 1} := by
155
+ let W := U ∩ p ⁻¹' Iio (1 / 6 : ℝ)
156
+ have hW : IsOpen W := hp.isOpen_inter_preimage hU isOpen_Iio
157
+ have haW : a ∈ W := ⟨ha, by simp only [mem_preimage, mem_Iio, hpa]; norm_num⟩
158
+ obtain ⟨d, hd, hball⟩ := Metric.isOpen_iff.mp hW a haW
159
+ let r := d / 4
160
+ have hr : 0 < r := by dsimp [r]; positivity
161
+ let C := closedBall a (d / 2)
162
+ have hCW : C ⊆ W := by
163
+ intro z hz
164
+ have hz' : dist z a ≤ d / 2 := hz
165
+ exact hball (hz'.trans_lt (by linarith))
166
+ have hCU : C ⊆ U := hCW.trans inter_subset_left
167
+ have hu : TendstoUniformlyOn pₙ p atTop C :=
168
+ (tendstoLocallyUniformlyOn_iff_tendstoUniformlyOn_of_compact
169
+ (isCompact_closedBall a (d / 2))).mp (hconv.mono hCU)
170
+ refine ⟨r, hr, ?_, ?_, ?_⟩
171
+ · intro z hz
172
+ have hrd : r / 2 < d := by dsimp only [r]; linarith
173
+ exact (hball (lt_trans hz hrd)).1
174
+ · intro z hz
175
+ have hrd : r / 4 < d := by dsimp only [r]; linarith
176
+ have hh := (hball (lt_trans hz hrd)).2
177
+ exact hh.trans (by norm_num)
178
+ · filter_upwards [halim.eventually (Metric.ball_mem_nhds a hr),
179
+ Metric.tendstoUniformlyOn_iff.mp hu (1 / 6) (by norm_num)] with n hn hclose
180
+ intro z hz
181
+ have hza : dist z a < d / 2 := by
182
+ have hh := (dist_triangle z (aₙ n) a).trans_lt (add_lt_add hz hn)
183
+ dsimp [r] at hh
184
+ linarith
185
+ have hzC : z ∈ C := hza.le
186
+ have hc := hclose z hzC
187
+ rw [Real.dist_eq] at hc
188
+ have hpz := (hCW hzC).2
189
+ refine ⟨hCU hzC, ?_⟩
190
+ have habs := (abs_lt.mp hc).1
191
+ change p z < 1 / 6 at hpz
192
+ change pₙ n z < 1
193
+ linarith
194
+
195
+ end SLEExactGauge.RibbonCoordinates
196
+
197
+ end
198
+
199
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonLimitSplice.lean CHANGED
@@ -1,92 +1,92 @@
1
- import OAI.Probability.SLE.Gauge.RibbonLimitPassageGeometry
2
- import OAI.Probability.SLE.Geometry.GuideSplice
3
-
4
- namespace OAI
5
-
6
- /-! The limiting coordinate guide supplies the actual small-circle splice,
7
- its open continuation region, and a target strictly beyond the next front. -/
8
-
9
- noncomputable section
10
- open Set Filter Metric
11
- open scoped Topology NNReal
12
-
13
- namespace SLEExactGauge.RibbonCoordinates
14
-
15
- def limitingFrontTarget (F : ℂ → ℂ) (p : ℂ → ℝ) (U : Set ℂ) : Set ℂ :=
16
- upperHalfPlane ∩ F ⁻¹' (U ∩ p ⁻¹' Ioi 1)
17
-
18
- theorem limitingFrontTarget_isOpen
19
- (F : ℂ → ℂ) (hF : ContinuousOn F upperHalfPlane)
20
- (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U) (hp : ContinuousOn p U) :
21
- IsOpen (limitingFrontTarget F p U) :=
22
- hF.isOpen_inter_preimage isOpen_upperHalfPlane (hp.isOpen_inter_preimage hU isOpen_Ioi)
23
-
24
- /-- No small-image or last-crossing hypothesis is needed for the limiting
25
- splice: both follow from the actual continuous inverse guide and its
26
- boundary value. -/
27
- theorem limiting_guide_splice_geometry
28
- (F : ℂ → ℂ) (hF : DifferentiableOn ℂ F upperHalfPlane)
29
- (hi : InjOn F upperHalfPlane) (α β : ℝ → ℂ)
30
- (hα : ContinuousOn α (Icc 0 (3 / 2 : ℝ)))
31
- (hβ : ContinuousOn β (Icc 0 (3 / 2 : ℝ))) (hβ0 : β 0 = 0)
32
- (hβH : MapsTo β (Ioc 0 (3 / 2 : ℝ)) upperHalfPlane)
33
- (hrel : EqOn (F ∘ β) α (Ioc 0 (3 / 2 : ℝ)))
34
- (homit : α 0 ∉ F '' upperHalfPlane)
35
- (U : Set ℂ) (hU : IsOpen U) (p : ℂ → ℝ) (hp : ContinuousOn p U)
36
- (hαU : α '' Icc (0 : ℝ) (3 / 2) ⊆ U)
37
- (hprogress : ∀ t ∈ Icc (0 : ℝ) (3 / 2), p (α t) = t)
38
- (r m : ℝ) (hr : 0 < r) (hm : 0 < m) :
39
- ∃ B tB : ℝ, 0 < B ∧ B / 2 ≤ m ∧ 0 < tB ∧ tB < 3 / 2 ∧
40
- ‖β tB‖ = B ∧ (∀ t ∈ Ioc tB (3 / 2 : ℝ), B < ‖β t‖) ∧
41
- (∀ θ ∈ Ioo 0 Real.pi,
42
- ‖F (GuideSplice.circlePoint B θ) - α 0‖ < r / 4) ∧
43
- (∀ z : ℂ, B / 8 ≤ ‖z‖ → ‖z‖ ≤ B → ‖z‖ / 2 ≤ z.im →
44
- ‖F z - α 0‖ < r / 4) ∧
45
- F '' (β '' Icc tB (3 / 2 : ℝ)) ⊆ U ∧
46
- IsOpen (limitingFrontTarget F p U) ∧
47
- β (3 / 2) ∈ limitingFrontTarget F p U ∧
48
- (∀ z ∈ limitingFrontTarget F p U, 1 < p (F z)) := by
49
- have hT : (0 : ℝ) < 3 / 2 := by norm_num
50
- have ha0 := hα 0 ⟨le_rfl, hT.le⟩
51
- have haIoc : Tendsto α (𝓝[Ioc (0 : ℝ) (3 / 2)] 0) (𝓝 (α 0)) :=
52
- ha0.mono_left (nhdsWithin_mono _ Ioc_subset_Icc_self)
53
- have heq : (F ∘ β) =ᶠ[𝓝[Ioc (0 : ℝ) (3 / 2)] 0] α :=
54
- eventually_mem_nhdsWithin.mono (fun _ ht => hrel ht)
55
- have hlimit : Tendsto (F ∘ β) (𝓝[>] 0) (𝓝 (α 0)) := by
56
- rw [← nhdsWithin_Ioc_eq_nhdsGT hT]
57
- exact haIoc.congr' heq.symm
58
- have homit' : ∀ z, 0 < z.im → F z ≠ α 0 := by
59
- intro z hz he
60
- exact homit ⟨z, hz, he⟩
61
- have hendH : 0 < (β (3 / 2)).im := hβH ⟨hT, le_rfl⟩
62
- have hnorm : 0 < ‖β (3 / 2)‖ :=
63
- (lt_of_lt_of_le hendH (Complex.im_le_norm _))
64
- have hbound : 0 < min (2 * m) ‖β (3 / 2)‖ := lt_min (by positivity) hnorm
65
- obtain ⟨B, hB, hcircle, hsector⟩ :=
66
- SmallImageSemicircle.access_guide_has_arbitrarily_small_quarter_image_sector hF hi homit'
67
- hr hT hβ hβ0 (fun t ht => hβH ht) hlimit _ hbound
68
- have hBend : B < ‖β (3 / 2)‖ := hB.2.trans_le (min_le_right _ _)
69
- obtain ⟨tB, htB, hcross, hafter⟩ := GuideSplice.exists_last_circle_crossing hB.1 hT le_rfl
70
- hβ hβ0 (fun t ht => by have he : t = 3 / 2 := le_antisymm ht.2 ht.1; simpa only [he] using hBend)
71
- refine ⟨B, tB, hB.1, ?_, htB.1, htB.2, hcross, hafter, hcircle, hsector, ?_,
72
- limitingFrontTarget_isOpen F hF.continuousOn p U hU hp, ?_, ?_⟩
73
- · have hh := hB.2.trans_le (min_le_left _ _)
74
- linarith
75
- · rintro _ ⟨z, ⟨t, ht, rfl⟩, rfl⟩
76
- rw [show F (β t) = α t from hrel ⟨htB.1.trans_le ht.1, ht.2⟩]
77
- exact hαU (mem_image_of_mem α ⟨htB.1.le.trans ht.1, ht.2⟩)
78
- · refine ⟨hendH, ?_, ?_⟩
79
- · rw [show F (β (3 / 2)) = α (3 / 2) from hrel ⟨hT, le_rfl⟩]
80
- exact hαU (mem_image_of_mem α ⟨hT.le, le_rfl⟩)
81
- · change 1 < p (F (β (3 / 2)))
82
- rw [show F (β (3 / 2)) = α (3 / 2) from hrel ⟨hT, le_rfl⟩,
83
- hprogress _ ⟨hT.le, le_rfl⟩]
84
- norm_num
85
- · intro z hz
86
- exact hz.2.2
87
-
88
- end SLEExactGauge.RibbonCoordinates
89
-
90
- end
91
-
92
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonLimitPassageGeometry
2
+ import OAI.Probability.SLE.Geometry.GuideSplice
3
+
4
+ namespace OAI
5
+
6
+ /-! The limiting coordinate guide supplies the actual small-circle splice,
7
+ its open continuation region, and a target strictly beyond the next front. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Metric
11
+ open scoped Topology NNReal
12
+
13
+ namespace SLEExactGauge.RibbonCoordinates
14
+
15
+ def limitingFrontTarget (F : ℂ → ℂ) (p : ℂ → ℝ) (U : Set ℂ) : Set ℂ :=
16
+ upperHalfPlane ∩ F ⁻¹' (U ∩ p ⁻¹' Ioi 1)
17
+
18
+ theorem limitingFrontTarget_isOpen
19
+ (F : ℂ → ℂ) (hF : ContinuousOn F upperHalfPlane)
20
+ (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U) (hp : ContinuousOn p U) :
21
+ IsOpen (limitingFrontTarget F p U) :=
22
+ hF.isOpen_inter_preimage isOpen_upperHalfPlane (hp.isOpen_inter_preimage hU isOpen_Ioi)
23
+
24
+ /-- No small-image or last-crossing hypothesis is needed for the limiting
25
+ splice: both follow from the actual continuous inverse guide and its
26
+ boundary value. -/
27
+ theorem limiting_guide_splice_geometry
28
+ (F : ℂ → ℂ) (hF : DifferentiableOn ℂ F upperHalfPlane)
29
+ (hi : InjOn F upperHalfPlane) (α β : ℝ → ℂ)
30
+ (hα : ContinuousOn α (Icc 0 (3 / 2 : ℝ)))
31
+ (hβ : ContinuousOn β (Icc 0 (3 / 2 : ℝ))) (hβ0 : β 0 = 0)
32
+ (hβH : MapsTo β (Ioc 0 (3 / 2 : ℝ)) upperHalfPlane)
33
+ (hrel : EqOn (F ∘ β) α (Ioc 0 (3 / 2 : ℝ)))
34
+ (homit : α 0 ∉ F '' upperHalfPlane)
35
+ (U : Set ℂ) (hU : IsOpen U) (p : ℂ → ℝ) (hp : ContinuousOn p U)
36
+ (hαU : α '' Icc (0 : ℝ) (3 / 2) ⊆ U)
37
+ (hprogress : ∀ t ∈ Icc (0 : ℝ) (3 / 2), p (α t) = t)
38
+ (r m : ℝ) (hr : 0 < r) (hm : 0 < m) :
39
+ ∃ B tB : ℝ, 0 < B ∧ B / 2 ≤ m ∧ 0 < tB ∧ tB < 3 / 2 ∧
40
+ ‖β tB‖ = B ∧ (∀ t ∈ Ioc tB (3 / 2 : ℝ), B < ‖β t‖) ∧
41
+ (∀ θ ∈ Ioo 0 Real.pi,
42
+ ‖F (GuideSplice.circlePoint B θ) - α 0‖ < r / 4) ∧
43
+ (∀ z : ℂ, B / 8 ≤ ‖z‖ → ‖z‖ ≤ B → ‖z‖ / 2 ≤ z.im →
44
+ ‖F z - α 0‖ < r / 4) ∧
45
+ F '' (β '' Icc tB (3 / 2 : ℝ)) ⊆ U ∧
46
+ IsOpen (limitingFrontTarget F p U) ∧
47
+ β (3 / 2) ∈ limitingFrontTarget F p U ∧
48
+ (∀ z ∈ limitingFrontTarget F p U, 1 < p (F z)) := by
49
+ have hT : (0 : ℝ) < 3 / 2 := by norm_num
50
+ have ha0 := hα 0 ⟨le_rfl, hT.le⟩
51
+ have haIoc : Tendsto α (𝓝[Ioc (0 : ℝ) (3 / 2)] 0) (𝓝 (α 0)) :=
52
+ ha0.mono_left (nhdsWithin_mono _ Ioc_subset_Icc_self)
53
+ have heq : (F ∘ β) =ᶠ[𝓝[Ioc (0 : ℝ) (3 / 2)] 0] α :=
54
+ eventually_mem_nhdsWithin.mono (fun _ ht => hrel ht)
55
+ have hlimit : Tendsto (F ∘ β) (𝓝[>] 0) (𝓝 (α 0)) := by
56
+ rw [← nhdsWithin_Ioc_eq_nhdsGT hT]
57
+ exact haIoc.congr' heq.symm
58
+ have homit' : ∀ z, 0 < z.im → F z ≠ α 0 := by
59
+ intro z hz he
60
+ exact homit ⟨z, hz, he⟩
61
+ have hendH : 0 < (β (3 / 2)).im := hβH ⟨hT, le_rfl⟩
62
+ have hnorm : 0 < ‖β (3 / 2)‖ :=
63
+ (lt_of_lt_of_le hendH (Complex.im_le_norm _))
64
+ have hbound : 0 < min (2 * m) ‖β (3 / 2)‖ := lt_min (by positivity) hnorm
65
+ obtain ⟨B, hB, hcircle, hsector⟩ :=
66
+ SmallImageSemicircle.access_guide_has_arbitrarily_small_quarter_image_sector hF hi homit'
67
+ hr hT hβ hβ0 (fun t ht => hβH ht) hlimit _ hbound
68
+ have hBend : B < ‖β (3 / 2)‖ := hB.2.trans_le (min_le_right _ _)
69
+ obtain ⟨tB, htB, hcross, hafter⟩ := GuideSplice.exists_last_circle_crossing hB.1 hT le_rfl
70
+ hβ hβ0 (fun t ht => by have he : t = 3 / 2 := le_antisymm ht.2 ht.1; simpa only [he] using hBend)
71
+ refine ⟨B, tB, hB.1, ?_, htB.1, htB.2, hcross, hafter, hcircle, hsector, ?_,
72
+ limitingFrontTarget_isOpen F hF.continuousOn p U hU hp, ?_, ?_⟩
73
+ · have hh := hB.2.trans_le (min_le_left _ _)
74
+ linarith
75
+ · rintro _ ⟨z, ⟨t, ht, rfl⟩, rfl⟩
76
+ rw [show F (β t) = α t from hrel ⟨htB.1.trans_le ht.1, ht.2⟩]
77
+ exact hαU (mem_image_of_mem α ⟨htB.1.le.trans ht.1, ht.2⟩)
78
+ · refine ⟨hendH, ?_, ?_⟩
79
+ · rw [show F (β (3 / 2)) = α (3 / 2) from hrel ⟨hT, le_rfl⟩]
80
+ exact hαU (mem_image_of_mem α ⟨hT.le, le_rfl⟩)
81
+ · change 1 < p (F (β (3 / 2)))
82
+ rw [show F (β (3 / 2)) = α (3 / 2) from hrel ⟨hT, le_rfl⟩,
83
+ hprogress _ ⟨hT.le, le_rfl⟩]
84
+ norm_num
85
+ · intro z hz
86
+ exact hz.2.2
87
+
88
+ end SLEExactGauge.RibbonCoordinates
89
+
90
+ end
91
+
92
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonMiddleMass.lean CHANGED
@@ -1,151 +1,151 @@
1
- import OAI.Probability.SLE.Gauge.RibbonConcatenation
2
- import OAI.Probability.SLE.Gauge.RibbonCoordinateLimit
3
- import OAI.Probability.SLE.Gauge.FiniteCoverAssembly
4
- import OAI.Probability.SLE.Mass.StoppedConformalPassageMass
5
-
6
- namespace OAI
7
-
8
- /-! The actual source middle strips of an embedded ribbon are disjoint,
9
- measurable spatial regions. Their stopped passage masses can therefore be
10
- charged to one whole-trace sausage at the common prescribed mesh. -/
11
-
12
- noncomputable section
13
- open Set Filter MeasureTheory Metric
14
- open scoped Topology NNReal ENNReal
15
-
16
- namespace SLEExactGauge.RibbonCoordinates
17
-
18
- def middleStrip (k ε : ℝ) : Set ℂ :=
19
- {z | (1 / 3 : ℝ) < z.re - k ∧ z.re - k < 2 / 3 ∧ |z.im| < ε}
20
-
21
- theorem middleStrip_open (k ε : ℝ) : IsOpen (middleStrip k ε) :=
22
- (isOpen_lt continuous_const (Complex.continuous_re.sub continuous_const)).inter
23
- ((isOpen_lt (Complex.continuous_re.sub continuous_const) continuous_const).inter
24
- (isOpen_lt Complex.continuous_im.abs continuous_const))
25
-
26
- theorem middleStrip_subset_closedRibbon {k ε : ℝ} (hk : 0 ≤ k) (hε : ε ≤ 1) :
27
- middleStrip k ε ⊆ closedRibbon := by
28
- intro z hz
29
- exact ⟨by linarith [hz.1], hz.2.2.le.trans hε⟩
30
-
31
- theorem physicalMiddleRegion_eq_image_middleStrip
32
- (P : ℂ → ℂ) {k ε : ℝ} (hk : 0 ≤ k) (hε : ε ≤ 1) :
33
- physicalMiddleRegion P closedRibbon k ε = P '' middleStrip k ε := by
34
- unfold physicalMiddleRegion
35
- apply congrArg (fun R : Set ℂ => P '' R)
36
- ext z
37
- exact ⟨fun hz => hz.2,
38
- fun hz => ⟨middleStrip_subset_closedRibbon hk hε hz, hz⟩⟩
39
-
40
- theorem middleStrip_pairwise_disjoint (ε : ℝ) :
41
- Pairwise (fun i j : ℕ => Disjoint (middleStrip i ε) (middleStrip j ε)) := by
42
- intro i j hij
43
- rw [disjoint_left]
44
- intro z hi hj
45
- have hh : (i : ℝ) < (j : ℝ) ∨ (j : ℝ) < (i : ℝ) := by
46
- exact_mod_cast lt_or_gt_of_ne hij
47
- rcases hh with hh | hh
48
- · have hn : i + 1 ≤ j := by exact_mod_cast hh
49
- have hnR : (i : ℝ) + 1 ≤ j := by exact_mod_cast hn
50
- linarith [hi.2.1, hj.1]
51
- · have hn : j + 1 ≤ i := by exact_mod_cast hh
52
- have hnR : (j : ℝ) + 1 ≤ i := by exact_mod_cast hn
53
- linarith [hi.1, hj.2.1]
54
-
55
- theorem physical_middle_regions_pairwise_disjoint
56
- (P : ℂ → ℂ) (hiP : InjOn P closedRibbon) {ε : ℝ} (hε : ε ≤ 1) :
57
- Pairwise (fun i j : ℕ => Disjoint
58
- (physicalMiddleRegion P closedRibbon i ε) (physicalMiddleRegion P closedRibbon j ε)) := by
59
- intro i j hij
60
- rw [physicalMiddleRegion_eq_image_middleStrip P (Nat.cast_nonneg _) hε,
61
- physicalMiddleRegion_eq_image_middleStrip P (Nat.cast_nonneg _) hε, disjoint_left]
62
- rintro z ⟨u, hu, he⟩ ⟨v, hv, hve⟩
63
- have huv : u = v := hiP
64
- (middleStrip_subset_closedRibbon (Nat.cast_nonneg _) hε hu)
65
- (middleStrip_subset_closedRibbon (Nat.cast_nonneg _) hε hv) (he.trans hve.symm)
66
- exact Set.disjoint_left.mp (middleStrip_pairwise_disjoint ε hij) hu (huv ▸ hv)
67
-
68
- theorem isOpen_embedded_middle_region
69
- (hpublished : PublishedPlanarDiskOpenness)
70
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hiP : InjOn P closedRibbon)
71
- {k ε : ℝ} (hk : 0 ≤ k) (hε : ε ≤ 1) :
72
- IsOpen (physicalMiddleRegion P closedRibbon k ε) := by
73
- rw [physicalMiddleRegion_eq_image_middleStrip P hk hε]
74
- apply isOpen_iff_mem_nhds.mpr
75
- rintro z ⟨u, hu, rfl⟩
76
- obtain ⟨r, hr, hball⟩ := Metric.isOpen_iff.mp (middleStrip_open k ε) u hu
77
- have hclosed := hball.trans (middleStrip_subset_closedRibbon hk hε)
78
- exact mem_of_superset
79
- ((hpublished P u r hr (hP.mono hclosed) (hiP.mono hclosed)).mem_nhds
80
- (mem_image_of_mem P (mem_ball_self hr))) (image_mono hball)
81
-
82
- theorem segmentSausageCharge_le_whole
83
- (κ : ℝ) (γ : ℝ≥0 → ℂ) (s t : ℝ≥0) (v : ℝ) (R : Set ℂ) :
84
- segmentSausageCharge κ γ s t v R ≤ wholeSausageCharge κ γ v R := by
85
- apply mul_le_mul' le_rfl
86
- apply measure_mono
87
- rintro z ⟨hz, u, _, hd⟩
88
- exact ⟨hz, u, by simpa only [dist_comm] using hd⟩
89
-
90
- /-- Exactly the source middle strips are counted, even if their sausages
91
- also meet other parts of the curve. Spatial disjointness alone suffices. -/
92
- theorem whole_sausage_charge_from_ribbon_steps
93
- (hpublished : PublishedPlanarDiskOpenness)
94
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hiP : InjOn P closedRibbon)
95
- {ε : ℝ} (hε : ε ≤ 1) (I : Finset ℕ)
96
- (κ : ℝ) (γ : ℝ≥0 → ℂ) (s t : ℕ → ℝ≥0) (v b : ℝ) (A : Set ℂ)
97
- (hregions : ∀ i ∈ I, physicalMiddleRegion P closedRibbon i ε ⊆ A)
98
- (hmass : ∀ i ∈ I, ENNReal.ofReal b ≤
99
- segmentSausageCharge κ γ (s i) (t i) v (physicalMiddleRegion P closedRibbon i ε)) :
100
- (I.card : ℝ≥0∞) * ENNReal.ofReal b ≤ wholeSausageCharge κ γ v A := by
101
- let ν := wholeSausageMeasure κ γ v
102
- have hmeas i : MeasurableSet (physicalMiddleRegion P closedRibbon (i : ℕ) ε) :=
103
- (isOpen_embedded_middle_region hpublished P hP hiP (Nat.cast_nonneg _) hε).measurableSet
104
- calc
105
- _ = ∑ _i ∈ I, ENNReal.ofReal b := by rw [Finset.sum_const, nsmul_eq_mul]
106
- _ ≤ ∑ i ∈ I, ν (physicalMiddleRegion P closedRibbon i ε) := by
107
- apply Finset.sum_le_sum
108
- intro i hi
109
- rw [wholeSausageMeasure_apply κ γ v (hmeas i)]
110
- exact (hmass i hi).trans (segmentSausageCharge_le_whole κ γ (s i) (t i) v _)
111
- _ = ν (⋃ i ∈ I, physicalMiddleRegion P closedRibbon i ε) :=
112
- (measure_biUnion_finset
113
- (fun i _ j _ hij => physical_middle_regions_pairwise_disjoint P hiP hε hij)
114
- (fun i _ => hmeas i)).symm
115
- _ ≤ wholeSausageCharge κ γ v A := by
116
- rw [wholeSausageMeasure_apply κ γ v
117
- (I.measurableSet_biUnion (fun i _ => hmeas i))]
118
- apply mul_le_mul' le_rfl
119
- exact measure_mono (inter_subset_inter (iUnion₂_subset hregions) Subset.rfl)
120
-
121
- theorem dense_ribbon_mass_from_steps
122
- (hpublished : PublishedPlanarDiskOpenness)
123
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hiP : InjOn P closedRibbon)
124
- {ε : ℝ} (hε : ε ≤ 1) (I : Finset ℕ)
125
- (κ : ℝ) (γ : ℝ≥0 → ℂ) (s t : ℕ → ℝ≥0) (v c ell : ℝ)
126
- (hell : 0 < ell) (m : ℕ) (hm : 0 < m) (hcard : I.card = m ^ 2)
127
- (A : Set ℂ)
128
- (hregions : ∀ i ∈ I, physicalMiddleRegion P closedRibbon i ε ⊆ A)
129
- (hmass : ∀ i ∈ I, ENNReal.ofReal (c * (ell / (m : ℝ)) ^ dimension κ) ≤
130
- segmentSausageCharge κ γ (s i) (t i) v (physicalMiddleRegion P closedRibbon i ε)) :
131
- ENNReal.ofReal (c * ell ^ dimension κ * (m : ℝ) ^ codimension κ) ≤
132
- wholeSausageCharge κ γ v A := by
133
- have hmR : (0 : ℝ) < m := by exact_mod_cast hm
134
- have he : (m : ℝ) ^ 2 * (c * (ell / (m : ℝ)) ^ dimension κ) =
135
- c * ell ^ dimension κ * (m : ℝ) ^ codimension κ := by
136
- rw [div_eq_mul_one_div, Real.mul_rpow hell.le (one_div_nonneg.mpr hmR.le)]
137
- calc
138
- _ = c * ell ^ dimension κ *
139
- ((m : ℝ) ^ 2 * (1 / (m : ℝ)) ^ dimension κ) := by ring
140
- _ = _ := by rw [ribbon_mass_power_cancellation κ hmR]
141
- have hh := whole_sausage_charge_from_ribbon_steps hpublished P hP hiP hε I κ γ s t v
142
- (c * (ell / (m : ℝ)) ^ dimension κ) A hregions hmass
143
- rw [hcard, ← ENNReal.ofReal_natCast, ← ENNReal.ofReal_mul (Nat.cast_nonneg _),
144
- Nat.cast_pow, he] at hh
145
- exact hh
146
-
147
- end SLEExactGauge.RibbonCoordinates
148
-
149
- end
150
-
151
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonConcatenation
2
+ import OAI.Probability.SLE.Gauge.RibbonCoordinateLimit
3
+ import OAI.Probability.SLE.Gauge.FiniteCoverAssembly
4
+ import OAI.Probability.SLE.Mass.StoppedConformalPassageMass
5
+
6
+ namespace OAI
7
+
8
+ /-! The actual source middle strips of an embedded ribbon are disjoint,
9
+ measurable spatial regions. Their stopped passage masses can therefore be
10
+ charged to one whole-trace sausage at the common prescribed mesh. -/
11
+
12
+ noncomputable section
13
+ open Set Filter MeasureTheory Metric
14
+ open scoped Topology NNReal ENNReal
15
+
16
+ namespace SLEExactGauge.RibbonCoordinates
17
+
18
+ def middleStrip (k ε : ℝ) : Set ℂ :=
19
+ {z | (1 / 3 : ℝ) < z.re - k ∧ z.re - k < 2 / 3 ∧ |z.im| < ε}
20
+
21
+ theorem middleStrip_open (k ε : ℝ) : IsOpen (middleStrip k ε) :=
22
+ (isOpen_lt continuous_const (Complex.continuous_re.sub continuous_const)).inter
23
+ ((isOpen_lt (Complex.continuous_re.sub continuous_const) continuous_const).inter
24
+ (isOpen_lt Complex.continuous_im.abs continuous_const))
25
+
26
+ theorem middleStrip_subset_closedRibbon {k ε : ℝ} (hk : 0 ≤ k) (hε : ε ≤ 1) :
27
+ middleStrip k ε ⊆ closedRibbon := by
28
+ intro z hz
29
+ exact ⟨by linarith [hz.1], hz.2.2.le.trans hε⟩
30
+
31
+ theorem physicalMiddleRegion_eq_image_middleStrip
32
+ (P : ℂ → ℂ) {k ε : ℝ} (hk : 0 ≤ k) (hε : ε ≤ 1) :
33
+ physicalMiddleRegion P closedRibbon k ε = P '' middleStrip k ε := by
34
+ unfold physicalMiddleRegion
35
+ apply congrArg (fun R : Set ℂ => P '' R)
36
+ ext z
37
+ exact ⟨fun hz => hz.2,
38
+ fun hz => ⟨middleStrip_subset_closedRibbon hk hε hz, hz⟩⟩
39
+
40
+ theorem middleStrip_pairwise_disjoint (ε : ℝ) :
41
+ Pairwise (fun i j : ℕ => Disjoint (middleStrip i ε) (middleStrip j ε)) := by
42
+ intro i j hij
43
+ rw [disjoint_left]
44
+ intro z hi hj
45
+ have hh : (i : ℝ) < (j : ℝ) ∨ (j : ℝ) < (i : ℝ) := by
46
+ exact_mod_cast lt_or_gt_of_ne hij
47
+ rcases hh with hh | hh
48
+ · have hn : i + 1 ≤ j := by exact_mod_cast hh
49
+ have hnR : (i : ℝ) + 1 ≤ j := by exact_mod_cast hn
50
+ linarith [hi.2.1, hj.1]
51
+ · have hn : j + 1 ≤ i := by exact_mod_cast hh
52
+ have hnR : (j : ℝ) + 1 ≤ i := by exact_mod_cast hn
53
+ linarith [hi.1, hj.2.1]
54
+
55
+ theorem physical_middle_regions_pairwise_disjoint
56
+ (P : ℂ → ℂ) (hiP : InjOn P closedRibbon) {ε : ℝ} (hε : ε ≤ 1) :
57
+ Pairwise (fun i j : ℕ => Disjoint
58
+ (physicalMiddleRegion P closedRibbon i ε) (physicalMiddleRegion P closedRibbon j ε)) := by
59
+ intro i j hij
60
+ rw [physicalMiddleRegion_eq_image_middleStrip P (Nat.cast_nonneg _) hε,
61
+ physicalMiddleRegion_eq_image_middleStrip P (Nat.cast_nonneg _) hε, disjoint_left]
62
+ rintro z ⟨u, hu, he⟩ ⟨v, hv, hve⟩
63
+ have huv : u = v := hiP
64
+ (middleStrip_subset_closedRibbon (Nat.cast_nonneg _) hε hu)
65
+ (middleStrip_subset_closedRibbon (Nat.cast_nonneg _) hε hv) (he.trans hve.symm)
66
+ exact Set.disjoint_left.mp (middleStrip_pairwise_disjoint ε hij) hu (huv ▸ hv)
67
+
68
+ theorem isOpen_embedded_middle_region
69
+ (hpublished : PublishedPlanarDiskOpenness)
70
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hiP : InjOn P closedRibbon)
71
+ {k ε : ℝ} (hk : 0 ≤ k) (hε : ε ≤ 1) :
72
+ IsOpen (physicalMiddleRegion P closedRibbon k ε) := by
73
+ rw [physicalMiddleRegion_eq_image_middleStrip P hk hε]
74
+ apply isOpen_iff_mem_nhds.mpr
75
+ rintro z ⟨u, hu, rfl⟩
76
+ obtain ⟨r, hr, hball⟩ := Metric.isOpen_iff.mp (middleStrip_open k ε) u hu
77
+ have hclosed := hball.trans (middleStrip_subset_closedRibbon hk hε)
78
+ exact mem_of_superset
79
+ ((hpublished P u r hr (hP.mono hclosed) (hiP.mono hclosed)).mem_nhds
80
+ (mem_image_of_mem P (mem_ball_self hr))) (image_mono hball)
81
+
82
+ theorem segmentSausageCharge_le_whole
83
+ (κ : ℝ) (γ : ℝ≥0 → ℂ) (s t : ℝ≥0) (v : ℝ) (R : Set ℂ) :
84
+ segmentSausageCharge κ γ s t v R ≤ wholeSausageCharge κ γ v R := by
85
+ apply mul_le_mul' le_rfl
86
+ apply measure_mono
87
+ rintro z ⟨hz, u, _, hd⟩
88
+ exact ⟨hz, u, by simpa only [dist_comm] using hd⟩
89
+
90
+ /-- Exactly the source middle strips are counted, even if their sausages
91
+ also meet other parts of the curve. Spatial disjointness alone suffices. -/
92
+ theorem whole_sausage_charge_from_ribbon_steps
93
+ (hpublished : PublishedPlanarDiskOpenness)
94
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hiP : InjOn P closedRibbon)
95
+ {ε : ℝ} (hε : ε ≤ 1) (I : Finset ℕ)
96
+ (κ : ℝ) (γ : ℝ≥0 → ℂ) (s t : ℕ → ℝ≥0) (v b : ℝ) (A : Set ℂ)
97
+ (hregions : ∀ i ∈ I, physicalMiddleRegion P closedRibbon i ε ⊆ A)
98
+ (hmass : ∀ i ∈ I, ENNReal.ofReal b ≤
99
+ segmentSausageCharge κ γ (s i) (t i) v (physicalMiddleRegion P closedRibbon i ε)) :
100
+ (I.card : ℝ≥0∞) * ENNReal.ofReal b ≤ wholeSausageCharge κ γ v A := by
101
+ let ν := wholeSausageMeasure κ γ v
102
+ have hmeas i : MeasurableSet (physicalMiddleRegion P closedRibbon (i : ℕ) ε) :=
103
+ (isOpen_embedded_middle_region hpublished P hP hiP (Nat.cast_nonneg _) hε).measurableSet
104
+ calc
105
+ _ = ∑ _i ∈ I, ENNReal.ofReal b := by rw [Finset.sum_const, nsmul_eq_mul]
106
+ _ ≤ ∑ i ∈ I, ν (physicalMiddleRegion P closedRibbon i ε) := by
107
+ apply Finset.sum_le_sum
108
+ intro i hi
109
+ rw [wholeSausageMeasure_apply κ γ v (hmeas i)]
110
+ exact (hmass i hi).trans (segmentSausageCharge_le_whole κ γ (s i) (t i) v _)
111
+ _ = ν (⋃ i ∈ I, physicalMiddleRegion P closedRibbon i ε) :=
112
+ (measure_biUnion_finset
113
+ (fun i _ j _ hij => physical_middle_regions_pairwise_disjoint P hiP hε hij)
114
+ (fun i _ => hmeas i)).symm
115
+ _ ≤ wholeSausageCharge κ γ v A := by
116
+ rw [wholeSausageMeasure_apply κ γ v
117
+ (I.measurableSet_biUnion (fun i _ => hmeas i))]
118
+ apply mul_le_mul' le_rfl
119
+ exact measure_mono (inter_subset_inter (iUnion₂_subset hregions) Subset.rfl)
120
+
121
+ theorem dense_ribbon_mass_from_steps
122
+ (hpublished : PublishedPlanarDiskOpenness)
123
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hiP : InjOn P closedRibbon)
124
+ {ε : ℝ} (hε : ε ≤ 1) (I : Finset ℕ)
125
+ (κ : ℝ) (γ : ℝ≥0 → ℂ) (s t : ℕ → ℝ≥0) (v c ell : ℝ)
126
+ (hell : 0 < ell) (m : ℕ) (hm : 0 < m) (hcard : I.card = m ^ 2)
127
+ (A : Set ℂ)
128
+ (hregions : ∀ i ∈ I, physicalMiddleRegion P closedRibbon i ε ⊆ A)
129
+ (hmass : ∀ i ∈ I, ENNReal.ofReal (c * (ell / (m : ℝ)) ^ dimension κ) ≤
130
+ segmentSausageCharge κ γ (s i) (t i) v (physicalMiddleRegion P closedRibbon i ε)) :
131
+ ENNReal.ofReal (c * ell ^ dimension κ * (m : ℝ) ^ codimension κ) ≤
132
+ wholeSausageCharge κ γ v A := by
133
+ have hmR : (0 : ℝ) < m := by exact_mod_cast hm
134
+ have he : (m : ℝ) ^ 2 * (c * (ell / (m : ℝ)) ^ dimension κ) =
135
+ c * ell ^ dimension κ * (m : ℝ) ^ codimension κ := by
136
+ rw [div_eq_mul_one_div, Real.mul_rpow hell.le (one_div_nonneg.mpr hmR.le)]
137
+ calc
138
+ _ = c * ell ^ dimension κ *
139
+ ((m : ℝ) ^ 2 * (1 / (m : ℝ)) ^ dimension κ) := by ring
140
+ _ = _ := by rw [ribbon_mass_power_cancellation κ hmR]
141
+ have hh := whole_sausage_charge_from_ribbon_steps hpublished P hP hiP hε I κ γ s t v
142
+ (c * (ell / (m : ℝ)) ^ dimension κ) A hregions hmass
143
+ rw [hcard, ← ENNReal.ofReal_natCast, ← ENNReal.ofReal_mul (Nat.cast_nonneg _),
144
+ Nat.cast_pow, he] at hh
145
+ exact hh
146
+
147
+ end SLEExactGauge.RibbonCoordinates
148
+
149
+ end
150
+
151
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonPassageMass.lean CHANGED
@@ -1,119 +1,119 @@
1
- import OAI.Probability.SLE.SausageSeedAll
2
-
3
- namespace OAI
4
-
5
- /-!
6
- The last probabilistic transfer in the ribbon step: a finite deterministic
7
- list of retained time intervals permits subtracting one unconditional
8
- small-sausage exception from the varying passage events. The sausage
9
- estimate is never conditioned on passage.
10
- -/
11
-
12
- noncomputable section
13
- open Set Filter MeasureTheory
14
- open scoped Topology ENNReal NNReal
15
-
16
- namespace SLEExactGauge
17
-
18
- /-- The finite-list subtraction step of `rc:step`. Passage may select a
19
- different deterministic interval on each sample and at each mesh. -/
20
- theorem ribbon_passage_mass_of_eventually_finite_intervals
21
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
22
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
23
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
24
- (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
25
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
26
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
27
- (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n))
28
- (physicalMass : ℕ → Ω → ℝ≥0∞) (passage : ℕ → Ω → Prop)
29
- (c : ℝ) (hc : 0 < c)
30
- (htransfer : ∀ᶠ n in atTop, ∀ ω, ω ∈ G n → passage n ω ∧
31
- ∃ J ∈ I, ENNReal.ofReal c *
32
- sourceSausageMass κ (γ ω) J.1 J.2 (v n) ≤ physicalMass n ω) :
33
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
34
- ENNReal.ofReal (q / 2) ≤
35
- P {ω | ω ∈ G n ∧ passage n ω ∧ ENNReal.ofReal a ≤ physicalMass n ω} := by
36
- obtain ⟨b, e₀, hb, he₀, hsmall⟩ := sourceSmallSausageMain_proved
37
- Ω inferInstance P inferInstance κ hκ hκ8 γ hSLE I hI (q / 2) (by positivity)
38
- refine ⟨c * b, mul_pos hc hb, ?_⟩
39
- have hevent : ∀ᶠ n in atTop, v n < e₀ :=
40
- (tendsto_order.mp hlim).2 e₀ he₀
41
- filter_upwards [hevent, hG, htransfer] with n hn hGn htransfern
42
- let bad : Set Ω := {ω | ∃ J ∈ I,
43
- sourceSausageMass κ (γ ω) J.1 J.2 (v n) < ENNReal.ofReal b}
44
- let good : Set Ω := {ω | ω ∈ G n ∧ passage n ω ∧
45
- ENNReal.ofReal (c * b) ≤ physicalMass n ω}
46
- have hbad : P bad < ENNReal.ofReal (q / 2) := hsmall (v n) (hv n) hn
47
- have hcover : G n ⊆ good ∪ bad := by
48
- intro ω hω
49
- by_cases hbadω : ω ∈ bad
50
- · exact Or.inr hbadω
51
- · obtain ⟨hpassage, J, hJI, hmass⟩ := htransfern ω hω
52
- left
53
- refine ⟨hω, hpassage, ?_⟩
54
- have hsausage : ENNReal.ofReal b ≤ sourceSausageMass κ (γ ω) J.1 J.2 (v n) := by
55
- by_contra h
56
- exact hbadω ⟨J, hJI, lt_of_not_ge h⟩
57
- rw [ENNReal.ofReal_mul hc.le]
58
- exact (mul_le_mul' le_rfl hsausage).trans hmass
59
- change ENNReal.ofReal (q / 2) ≤ P good
60
- by_contra hgood
61
- have hhalf : ENNReal.ofReal (q / 2) + ENNReal.ofReal (q / 2) =
62
- ENNReal.ofReal q := by
63
- rw [← ENNReal.ofReal_add (by positivity) (by positivity)]
64
- congr 1
65
- ring
66
- have hlt : P good + P bad < ENNReal.ofReal q := by
67
- rw [← hhalf]
68
- exact ENNReal.add_lt_add (lt_of_not_ge hgood) hbad
69
- exact (not_lt_of_ge hGn)
70
- (((measure_mono hcover).trans (measure_union_le good bad)).trans_lt hlt)
71
-
72
- /-- A version with transfer and probability bounds at every index. -/
73
- theorem ribbon_passage_mass_of_finite_intervals
74
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
75
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
76
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
77
- (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
78
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
79
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
80
- (hG : ∀ n, ENNReal.ofReal q ≤ P (G n))
81
- (physicalMass : ℕ → Ω → ℝ≥0∞) (passage : ℕ → Ω → Prop)
82
- (c : ℝ) (hc : 0 < c)
83
- (htransfer : ∀ n ω, ω ∈ G n → passage n ω ∧
84
- ∃ J ∈ I, ENNReal.ofReal c *
85
- sourceSausageMass κ (γ ω) J.1 J.2 (v n) ≤ physicalMass n ω) :
86
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
87
- ENNReal.ofReal (q / 2) ≤
88
- P {ω | ω ∈ G n ∧ passage n ω ∧ ENNReal.ofReal a ≤ physicalMass n ω} :=
89
- ribbon_passage_mass_of_eventually_finite_intervals P κ hκ hκ8 γ hSLE I hI
90
- v hv hlim G q hq (Eventually.of_forall hG) physicalMass passage c hc
91
- (Eventually.of_forall htransfer)
92
-
93
- /-- The same finite-list transfer with passage already included in `G n`. -/
94
- theorem ribbon_mass_of_finite_intervals
95
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
96
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
97
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
98
- (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
99
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
100
- (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
101
- (hG : ∀ n, ENNReal.ofReal q ≤ P (G n))
102
- (physicalMass : ℕ → Ω → ℝ≥0∞) (c : ℝ) (hc : 0 < c)
103
- (htransfer : ∀ n ω, ω ∈ G n →
104
- ∃ J ∈ I, ENNReal.ofReal c *
105
- sourceSausageMass κ (γ ω) J.1 J.2 (v n) ≤ physicalMass n ω) :
106
- ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
107
- ENNReal.ofReal (q / 2) ≤
108
- P {ω | ω ∈ G n ∧ ENNReal.ofReal a ≤ physicalMass n ω} := by
109
- obtain ⟨a, ha, hevent⟩ := ribbon_passage_mass_of_finite_intervals
110
- P κ hκ hκ8 γ hSLE I hI v hv hlim G q hq hG physicalMass
111
- (fun _ _ => True) c hc (fun n ω hω => ⟨trivial, htransfer n ω hω⟩)
112
- refine ⟨a, ha, ?_⟩
113
- simpa only [true_and] using hevent
114
-
115
- end SLEExactGauge
116
-
117
- end
118
-
119
- end OAI
 
1
+ import OAI.Probability.SLE.SausageSeedAll
2
+
3
+ namespace OAI
4
+
5
+ /-!
6
+ The last probabilistic transfer in the ribbon step: a finite deterministic
7
+ list of retained time intervals permits subtracting one unconditional
8
+ small-sausage exception from the varying passage events. The sausage
9
+ estimate is never conditioned on passage.
10
+ -/
11
+
12
+ noncomputable section
13
+ open Set Filter MeasureTheory
14
+ open scoped Topology ENNReal NNReal
15
+
16
+ namespace SLEExactGauge
17
+
18
+ /-- The finite-list subtraction step of `rc:step`. Passage may select a
19
+ different deterministic interval on each sample and at each mesh. -/
20
+ theorem ribbon_passage_mass_of_eventually_finite_intervals
21
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
22
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
23
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
24
+ (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
25
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
26
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
27
+ (hG : ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P (G n))
28
+ (physicalMass : ℕ → Ω → ℝ≥0∞) (passage : ℕ → Ω → Prop)
29
+ (c : ℝ) (hc : 0 < c)
30
+ (htransfer : ∀ᶠ n in atTop, ∀ ω, ω ∈ G n → passage n ω ∧
31
+ ∃ J ∈ I, ENNReal.ofReal c *
32
+ sourceSausageMass κ (γ ω) J.1 J.2 (v n) ≤ physicalMass n ω) :
33
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
34
+ ENNReal.ofReal (q / 2) ≤
35
+ P {ω | ω ∈ G n ∧ passage n ω ∧ ENNReal.ofReal a ≤ physicalMass n ω} := by
36
+ obtain ⟨b, e₀, hb, he₀, hsmall⟩ := sourceSmallSausageMain_proved
37
+ Ω inferInstance P inferInstance κ hκ hκ8 γ hSLE I hI (q / 2) (by positivity)
38
+ refine ⟨c * b, mul_pos hc hb, ?_⟩
39
+ have hevent : ∀ᶠ n in atTop, v n < e₀ :=
40
+ (tendsto_order.mp hlim).2 e₀ he₀
41
+ filter_upwards [hevent, hG, htransfer] with n hn hGn htransfern
42
+ let bad : Set Ω := {ω | ∃ J ∈ I,
43
+ sourceSausageMass κ (γ ω) J.1 J.2 (v n) < ENNReal.ofReal b}
44
+ let good : Set Ω := {ω | ω ∈ G n ∧ passage n ω ∧
45
+ ENNReal.ofReal (c * b) ≤ physicalMass n ω}
46
+ have hbad : P bad < ENNReal.ofReal (q / 2) := hsmall (v n) (hv n) hn
47
+ have hcover : G n ⊆ good ∪ bad := by
48
+ intro ω hω
49
+ by_cases hbadω : ω ∈ bad
50
+ · exact Or.inr hbadω
51
+ · obtain ⟨hpassage, J, hJI, hmass⟩ := htransfern ω hω
52
+ left
53
+ refine ⟨hω, hpassage, ?_⟩
54
+ have hsausage : ENNReal.ofReal b ≤ sourceSausageMass κ (γ ω) J.1 J.2 (v n) := by
55
+ by_contra h
56
+ exact hbadω ⟨J, hJI, lt_of_not_ge h⟩
57
+ rw [ENNReal.ofReal_mul hc.le]
58
+ exact (mul_le_mul' le_rfl hsausage).trans hmass
59
+ change ENNReal.ofReal (q / 2) ≤ P good
60
+ by_contra hgood
61
+ have hhalf : ENNReal.ofReal (q / 2) + ENNReal.ofReal (q / 2) =
62
+ ENNReal.ofReal q := by
63
+ rw [← ENNReal.ofReal_add (by positivity) (by positivity)]
64
+ congr 1
65
+ ring
66
+ have hlt : P good + P bad < ENNReal.ofReal q := by
67
+ rw [← hhalf]
68
+ exact ENNReal.add_lt_add (lt_of_not_ge hgood) hbad
69
+ exact (not_lt_of_ge hGn)
70
+ (((measure_mono hcover).trans (measure_union_le good bad)).trans_lt hlt)
71
+
72
+ /-- A version with transfer and probability bounds at every index. -/
73
+ theorem ribbon_passage_mass_of_finite_intervals
74
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
75
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
76
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
77
+ (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
78
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
79
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
80
+ (hG : ∀ n, ENNReal.ofReal q ≤ P (G n))
81
+ (physicalMass : ℕ → Ω → ℝ≥0∞) (passage : ℕ → Ω → Prop)
82
+ (c : ℝ) (hc : 0 < c)
83
+ (htransfer : ∀ n ω, ω ∈ G n → passage n ω ∧
84
+ ∃ J ∈ I, ENNReal.ofReal c *
85
+ sourceSausageMass κ (γ ω) J.1 J.2 (v n) ≤ physicalMass n ω) :
86
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
87
+ ENNReal.ofReal (q / 2) ≤
88
+ P {ω | ω ∈ G n ∧ passage n ω ∧ ENNReal.ofReal a ≤ physicalMass n ω} :=
89
+ ribbon_passage_mass_of_eventually_finite_intervals P κ hκ hκ8 γ hSLE I hI
90
+ v hv hlim G q hq (Eventually.of_forall hG) physicalMass passage c hc
91
+ (Eventually.of_forall htransfer)
92
+
93
+ /-- The same finite-list transfer with passage already included in `G n`. -/
94
+ theorem ribbon_mass_of_finite_intervals
95
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
96
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
97
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
98
+ (I : Finset (ℝ≥0 × ℝ≥0)) (hI : ∀ J ∈ I, J.1 < J.2)
99
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
100
+ (G : ℕ → Set Ω) (q : ℝ) (hq : 0 < q)
101
+ (hG : ∀ n, ENNReal.ofReal q ≤ P (G n))
102
+ (physicalMass : ℕ → Ω → ℝ≥0∞) (c : ℝ) (hc : 0 < c)
103
+ (htransfer : ∀ n ω, ω ∈ G n →
104
+ ∃ J ∈ I, ENNReal.ofReal c *
105
+ sourceSausageMass κ (γ ω) J.1 J.2 (v n) ≤ physicalMass n ω) :
106
+ ∃ a : ℝ, 0 < a ∧ ∀ᶠ n in atTop,
107
+ ENNReal.ofReal (q / 2) ≤
108
+ P {ω | ω ∈ G n ∧ ENNReal.ofReal a ≤ physicalMass n ω} := by
109
+ obtain ⟨a, ha, hevent⟩ := ribbon_passage_mass_of_finite_intervals
110
+ P κ hκ hκ8 γ hSLE I hI v hv hlim G q hq hG physicalMass
111
+ (fun _ _ => True) c hc (fun n ω hω => ⟨trivial, htransfer n ω hω⟩)
112
+ refine ⟨a, ha, ?_⟩
113
+ simpa only [true_and] using hevent
114
+
115
+ end SLEExactGauge
116
+
117
+ end
118
+
119
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonPassageNeighborhood.lean CHANGED
@@ -1,96 +1,96 @@
1
- import OAI.Probability.SLE.Gauge.RibbonCoordinateLimit
2
-
3
- namespace OAI
4
-
5
- /-! Common physical neighborhoods of compact passage routes. Strict
6
- coordinate margins are retained on the closure before passing to moving
7
- ribbon charts. -/
8
-
9
- noncomputable section
10
- open Set Filter Metric
11
- open scoped Topology NNReal
12
-
13
- namespace SLEExactGauge.RibbonCoordinates
14
-
15
- /-- An embedded coordinate chart maps every open coordinate subset of its
16
- controlled patch to an open physical subset. -/
17
- theorem isOpen_image_coordinate_subset
18
- (hpublished : PublishedPlanarDiskOpenness)
19
- (P : ℂ → ℂ) (K V : Set ℂ) (hP : ContinuousOn P K) (hi : InjOn P K)
20
- (hV : IsOpen V) (hVK : V ⊆ K) : IsOpen (P '' V) := by
21
- apply isOpen_iff_mem_nhds.mpr
22
- rintro z ⟨x, hx, rfl⟩
23
- obtain ⟨r, hr, hball⟩ := Metric.isOpen_iff.mp hV x hx
24
- have hsub : ball x r ⊆ K := hball.trans hVK
25
- have hopen := hpublished P x r hr (hP.mono hsub) (hi.mono hsub)
26
- exact mem_of_superset
27
- (hopen.mem_nhds (mem_image_of_mem P (mem_ball_self hr)))
28
- (image_mono hball)
29
-
30
- /-- A compact route strictly inside a coordinate region admits one open
31
- physical neighborhood whose closure lies in the same region for every
32
- sufficiently late ribbon chart. -/
33
- theorem common_coordinate_region_neighborhood
34
- (hpublished : PublishedPlanarDiskOpenness)
35
- (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K A V : Set ℂ) (L : ℝ≥0)
36
- (hL : 0 < L) (hP : ContinuousOn P K)
37
- (hPn : ∀ n, ContinuousOn (Pₙ n) K)
38
- (hconv : TendstoUniformlyOn Pₙ P atTop K)
39
- (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
40
- (hA : IsCompact A) (hV : IsOpen V)
41
- (hAV : A ⊆ P '' (interior K ∩ V)) :
42
- ∃ U : Set ℂ, IsOpen U ∧ A ⊆ U ∧ IsCompact (closure U) ∧
43
- closure U ⊆ P '' (interior K ∩ V) ∧
44
- (∀ᶠ n in atTop, closure U ⊆ Pₙ n '' (K ∩ V)) ∧
45
- (∀ᶠ n in atTop, closure U ⊆ Pₙ n '' interior K) ∧
46
- TendstoUniformlyOn (fun n => coordinateInverse (Pₙ n) K)
47
- (coordinateInverse P K) atTop (closure U) := by
48
- have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
49
- have hi := lower_lipschitz_injOn P K L hlim
50
- have hopen := isOpen_image_coordinate_subset hpublished P K (interior K ∩ V)
51
- hP hi (isOpen_interior.inter hV) (inter_subset_left.trans interior_subset)
52
- obtain ⟨ρ, hρ, hthick⟩ := hA.exists_cthickening_subset_open hopen hAV
53
- let U := thickening ρ A
54
- have hcl : closure U ⊆ cthickening ρ A := closure_thickening_subset_cthickening ρ A
55
- have hUc : IsCompact (closure U) := hA.cthickening.of_isClosed_subset isClosed_closure hcl
56
- have hUPV : closure U ⊆ P '' (interior K ∩ V) := hcl.trans hthick
57
- have hUP : closure U ⊆ P '' interior K := hUPV.trans (image_mono inter_subset_left)
58
- have hlate := eventual_compact_image_interior hpublished Pₙ P K (closure U) L hL hPn
59
- hconv hlower hUc hUP
60
- have hUV : coordinateInverse P K '' closure U ⊆ V := by
61
- rintro _ ⟨z, hz, rfl⟩
62
- obtain ⟨x, hx, he⟩ := hUPV hz
63
- have heq : coordinateInverse P K z = x := by
64
- rw [← he]
65
- exact coordinateInverse_left hi (interior_subset hx.1)
66
- simpa only [heq] using hx.2
67
- have hcover : ∀ᶠ n in atTop, closure U ⊆ Pₙ n '' K :=
68
- hlate.mono (fun _ h => h.trans (image_mono interior_subset))
69
- have hregions := eventual_compact_coordinate_region Pₙ P K (closure U) V L hconv hlower
70
- hUc (hUP.trans (image_mono interior_subset)) hcover hV hUV
71
- exact ⟨U, isOpen_thickening, self_subset_thickening hρ A, hUc, hUPV, hregions, hlate,
72
- coordinateInverse_uniform_on Pₙ P K (closure U) L hconv hlower
73
- (hUP.trans (image_mono interior_subset)) hcover⟩
74
-
75
- /-- Limiting coordinate guides have exact longitudinal progress and retain
76
- the source transverse margin. -/
77
- theorem limit_guide_coordinates
78
- (P : ℂ → ℂ) (K : Set ℂ) (hi : InjOn P K)
79
- (α : ℝ → ℂ) (x : ℝ)
80
- (hshape : EqOn α (fun t => P (guideCoordinate 0 x t)) (Icc 0 2))
81
- (hmem : ∀ t ∈ Icc (0 : ℝ) 2, guideCoordinate 0 x t ∈ K) :
82
- ∀ t ∈ Icc (0 : ℝ) 2,
83
- longitudinalCoordinate P K 0 (α t) = t ∧
84
- |(coordinateInverse P K (α t)).im| ≤ |x| := by
85
- intro t ht
86
- rw [hshape ht, coordinateInverse_left hi (hmem t ht)]
87
- constructor
88
- · simp only [longitudinalCoordinate, coordinateInverse_left hi (hmem t ht),
89
- guideCoordinate_re, zero_add, sub_zero]
90
- · exact guideCoordinate_im_bound ht.1
91
-
92
- end SLEExactGauge.RibbonCoordinates
93
-
94
- end
95
-
96
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonCoordinateLimit
2
+
3
+ namespace OAI
4
+
5
+ /-! Common physical neighborhoods of compact passage routes. Strict
6
+ coordinate margins are retained on the closure before passing to moving
7
+ ribbon charts. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Metric
11
+ open scoped Topology NNReal
12
+
13
+ namespace SLEExactGauge.RibbonCoordinates
14
+
15
+ /-- An embedded coordinate chart maps every open coordinate subset of its
16
+ controlled patch to an open physical subset. -/
17
+ theorem isOpen_image_coordinate_subset
18
+ (hpublished : PublishedPlanarDiskOpenness)
19
+ (P : ℂ → ℂ) (K V : Set ℂ) (hP : ContinuousOn P K) (hi : InjOn P K)
20
+ (hV : IsOpen V) (hVK : V ⊆ K) : IsOpen (P '' V) := by
21
+ apply isOpen_iff_mem_nhds.mpr
22
+ rintro z ⟨x, hx, rfl⟩
23
+ obtain ⟨r, hr, hball⟩ := Metric.isOpen_iff.mp hV x hx
24
+ have hsub : ball x r ⊆ K := hball.trans hVK
25
+ have hopen := hpublished P x r hr (hP.mono hsub) (hi.mono hsub)
26
+ exact mem_of_superset
27
+ (hopen.mem_nhds (mem_image_of_mem P (mem_ball_self hr)))
28
+ (image_mono hball)
29
+
30
+ /-- A compact route strictly inside a coordinate region admits one open
31
+ physical neighborhood whose closure lies in the same region for every
32
+ sufficiently late ribbon chart. -/
33
+ theorem common_coordinate_region_neighborhood
34
+ (hpublished : PublishedPlanarDiskOpenness)
35
+ (Pₙ : ℕ → ℂ → ℂ) (P : ℂ → ℂ) (K A V : Set ℂ) (L : ℝ≥0)
36
+ (hL : 0 < L) (hP : ContinuousOn P K)
37
+ (hPn : ∀ n, ContinuousOn (Pₙ n) K)
38
+ (hconv : TendstoUniformlyOn Pₙ P atTop K)
39
+ (hlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ L * dist (Pₙ n x) (Pₙ n y))
40
+ (hA : IsCompact A) (hV : IsOpen V)
41
+ (hAV : A ⊆ P '' (interior K ∩ V)) :
42
+ ∃ U : Set ℂ, IsOpen U ∧ A ⊆ U ∧ IsCompact (closure U) ∧
43
+ closure U ⊆ P '' (interior K ∩ V) ∧
44
+ (∀ᶠ n in atTop, closure U ⊆ Pₙ n '' (K ∩ V)) ∧
45
+ (∀ᶠ n in atTop, closure U ⊆ Pₙ n '' interior K) ∧
46
+ TendstoUniformlyOn (fun n => coordinateInverse (Pₙ n) K)
47
+ (coordinateInverse P K) atTop (closure U) := by
48
+ have hlim := lower_lipschitz_uniform_limit Pₙ P K L hconv hlower
49
+ have hi := lower_lipschitz_injOn P K L hlim
50
+ have hopen := isOpen_image_coordinate_subset hpublished P K (interior K ∩ V)
51
+ hP hi (isOpen_interior.inter hV) (inter_subset_left.trans interior_subset)
52
+ obtain ⟨ρ, hρ, hthick⟩ := hA.exists_cthickening_subset_open hopen hAV
53
+ let U := thickening ρ A
54
+ have hcl : closure U ⊆ cthickening ρ A := closure_thickening_subset_cthickening ρ A
55
+ have hUc : IsCompact (closure U) := hA.cthickening.of_isClosed_subset isClosed_closure hcl
56
+ have hUPV : closure U ⊆ P '' (interior K ∩ V) := hcl.trans hthick
57
+ have hUP : closure U ⊆ P '' interior K := hUPV.trans (image_mono inter_subset_left)
58
+ have hlate := eventual_compact_image_interior hpublished Pₙ P K (closure U) L hL hPn
59
+ hconv hlower hUc hUP
60
+ have hUV : coordinateInverse P K '' closure U ⊆ V := by
61
+ rintro _ ⟨z, hz, rfl⟩
62
+ obtain ⟨x, hx, he⟩ := hUPV hz
63
+ have heq : coordinateInverse P K z = x := by
64
+ rw [← he]
65
+ exact coordinateInverse_left hi (interior_subset hx.1)
66
+ simpa only [heq] using hx.2
67
+ have hcover : ∀ᶠ n in atTop, closure U ⊆ Pₙ n '' K :=
68
+ hlate.mono (fun _ h => h.trans (image_mono interior_subset))
69
+ have hregions := eventual_compact_coordinate_region Pₙ P K (closure U) V L hconv hlower
70
+ hUc (hUP.trans (image_mono interior_subset)) hcover hV hUV
71
+ exact ⟨U, isOpen_thickening, self_subset_thickening hρ A, hUc, hUPV, hregions, hlate,
72
+ coordinateInverse_uniform_on Pₙ P K (closure U) L hconv hlower
73
+ (hUP.trans (image_mono interior_subset)) hcover⟩
74
+
75
+ /-- Limiting coordinate guides have exact longitudinal progress and retain
76
+ the source transverse margin. -/
77
+ theorem limit_guide_coordinates
78
+ (P : ℂ → ℂ) (K : Set ℂ) (hi : InjOn P K)
79
+ (α : ℝ → ℂ) (x : ℝ)
80
+ (hshape : EqOn α (fun t => P (guideCoordinate 0 x t)) (Icc 0 2))
81
+ (hmem : ∀ t ∈ Icc (0 : ℝ) 2, guideCoordinate 0 x t ∈ K) :
82
+ ∀ t ∈ Icc (0 : ℝ) 2,
83
+ longitudinalCoordinate P K 0 (α t) = t ∧
84
+ |(coordinateInverse P K (α t)).im| ≤ |x| := by
85
+ intro t ht
86
+ rw [hshape ht, coordinateInverse_left hi (hmem t ht)]
87
+ constructor
88
+ · simp only [longitudinalCoordinate, coordinateInverse_left hi (hmem t ht),
89
+ guideCoordinate_re, zero_add, sub_zero]
90
+ · exact guideCoordinate_im_bound ht.1
91
+
92
+ end SLEExactGauge.RibbonCoordinates
93
+
94
+ end
95
+
96
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonPassageScaling.lean CHANGED
@@ -1,173 +1,173 @@
1
- import OAI.Probability.SLE.Gauge.UniformFrontPassage
2
- import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar
3
-
4
- namespace OAI
5
-
6
- /-! Positive affine rescaling of the physical one-step passage. A mesh
7
- `v` becomes `ell * v`; its normalized sausage mass is multiplied by
8
- `ell ^ dimension κ`, exactly as in the width-rescaled ribbon statement. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory Metric
12
- open scoped Topology NNReal ENNReal Pointwise
13
-
14
- namespace SLEExactGauge.RibbonPassageScaling
15
- open FirstFrontPassage PassageSuccess
16
-
17
- /-- Translate and dilate the physical coordinates without changing the
18
- curve parameter. -/
19
- def affine (a : ℂ) (ell : ℝ) (z : ℂ) : ℂ := a + (ell : ℂ) * z
20
-
21
- theorem affine_dist (a : ℂ) {ell : ℝ} (hell : 0 ≤ ell) (z w : ℂ) :
22
- dist (affine a ell z) (affine a ell w) = ell * dist z w := by
23
- simp only [affine, dist_eq_norm, add_sub_add_left_eq_sub, ← mul_sub, norm_mul,
24
- Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg hell]
25
-
26
- theorem affine_bijective (a : ℂ) {ell : ℝ} (hell : 0 < ell) :
27
- Function.Bijective (affine a ell) := by
28
- have he : (ell : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hell.ne'
29
- constructor
30
- · intro z w h
31
- exact mul_left_cancel₀ he (add_left_cancel h)
32
- · intro z
33
- refine ⟨(z - a) / (ell : ℂ), ?_⟩
34
- dsimp [affine]
35
- field_simp
36
- ring
37
-
38
- /-- Planar area scales by the square of the physical length scale, also
39
- for sets for which no measurability has been assumed. -/
40
- theorem affine_volume (a : ℂ) {ell : ℝ} (hell : 0 ≤ ell) (S : Set ℂ) :
41
- volume (affine a ell '' S) = ENNReal.ofReal (ell ^ 2) * volume S := by
42
- have he : affine a ell '' S = (fun z : ℂ => a + z) '' (ell • S) := by
43
- rw [← image_smul, image_image]
44
- rfl
45
- rw [he, image_add_left, measure_preimage_add, Measure.addHaar_smul_of_nonneg volume hell]
46
- rw [Complex.finrank_real_complex]
47
-
48
- /-- The full sausage, including its intersection with a physical middle
49
- strip, scales exactly under a positive affine map. -/
50
- theorem sourceSausageSet_affine
51
- (a : ℂ) {ell : ℝ} (hell : 0 < ell) (γ : ℝ≥0 → ℂ) (s t : ℝ≥0) (v : ℝ) :
52
- sourceSausageSet (fun u => affine a ell (γ u)) s t (ell * v) =
53
- affine a ell '' sourceSausageSet γ s t v := by
54
- ext z
55
- obtain ⟨w, rfl⟩ := (affine_bijective a hell).2 z
56
- constructor
57
- · rintro ⟨u, hu, hd⟩
58
- rw [affine_dist a hell.le] at hd
59
- exact ⟨w, ⟨u, hu, (mul_lt_mul_iff_right₀ hell).mp hd⟩, rfl⟩
60
- · rintro ⟨w', ⟨u, hu, hd⟩, he⟩
61
- have hw' : w' = w := (affine_bijective a hell).1 he
62
- subst w'
63
- exact ⟨u, hu, by rw [affine_dist a hell.le]; exact mul_lt_mul_of_pos_left hd hell⟩
64
-
65
- theorem segmentSausageCharge_affine
66
- (κ : ℝ) (a : ℂ) {ell : ℝ} (hell : 0 < ell)
67
- (γ : ℝ≥0 → ℂ) (s t : ℝ≥0) {v : ℝ} (hv : 0 < v) (R : Set ℂ) :
68
- segmentSausageCharge κ (fun u => affine a ell (γ u)) s t (ell * v)
69
- (affine a ell '' R) =
70
- ENNReal.ofReal (ell ^ dimension κ) * segmentSausageCharge κ γ s t v R := by
71
- have he : (ell * v) ^ (-codimension κ) * ell ^ 2 =
72
- ell ^ dimension κ * v ^ (-codimension κ) := by
73
- rw [Real.mul_rpow hell.le hv.le]
74
- calc
75
- ell ^ (-codimension κ) * v ^ (-codimension κ) * ell ^ 2 =
76
- (ell ^ (-codimension κ) * ell ^ (2 : ℝ)) * v ^ (-codimension κ) := by
77
- rw [Real.rpow_two]
78
- ring
79
- _ = ell ^ (-codimension κ + 2) * v ^ (-codimension κ) := by
80
- rw [Real.rpow_add hell]
81
- _ = _ := by congr 2; unfold codimension; ring
82
- simp only [segmentSausageCharge, sourceSausageSet_affine a hell]
83
- rw [← image_inter (affine_bijective a hell).1, affine_volume a hell.le]
84
- rw [← mul_assoc, ← ENNReal.ofReal_mul (Real.rpow_nonneg (mul_pos hell hv).le _), he,
85
- ENNReal.ofReal_mul (Real.rpow_nonneg hell.le _), mul_assoc]
86
-
87
- /-- The prescribed mass threshold scales by `ell^d`. -/
88
- theorem affine_mass_threshold_iff
89
- (κ : ℝ) (a : ℂ) {ell : ℝ} (hell : 0 < ell)
90
- (γ : ℝ≥0 → ℂ) (s t : ℝ≥0) {v : ℝ} (hv : 0 < v) (R : Set ℂ) (c : ℝ) :
91
- ENNReal.ofReal (c * ell ^ dimension κ) ≤
92
- segmentSausageCharge κ (fun u => affine a ell (γ u)) s t (ell * v)
93
- (affine a ell '' R) ↔
94
- ENNReal.ofReal c ≤ segmentSausageCharge κ γ s t v R := by
95
- rw [segmentSausageCharge_affine κ a hell γ s t hv R, mul_comm c,
96
- ENNReal.ofReal_mul (Real.rpow_pos_of_pos hell _).le]
97
- exact ENNReal.mul_le_mul_iff_right ((ENNReal.ofReal_pos.mpr (Real.rpow_pos_of_pos hell _)).ne')
98
- ENNReal.ofReal_ne_top
99
-
100
- /-- Pulling back the longitudinal coordinate leaves the actual first-front
101
- clock unchanged. Spatial rescaling does not change curve order. -/
102
- theorem firstFrontTime_affine
103
- (a : ℂ) (ell : ℝ) (γ : ℝ≥0 → ℂ) (p p' : ℂ → ℝ)
104
- (hp : ∀ z, p' (affine a ell z) = p z) :
105
- firstFrontTime (fun t => p' (affine a ell (γ t))) 1 =
106
- firstFrontTime (fun t => p (γ t)) 1 := by
107
- congr 1
108
- funext t
109
- exact hp (γ t)
110
-
111
- /-- Affine scaling preserves all actual front-success conditions, including
112
- whole-prefix containment and the terminal offset. -/
113
- theorem frontSuccess_affine_iff
114
- {Ω : Type*} (η : ℕ → Ω → ℝ≥0 → ℂ) (p p' : ℕ → ℂ → ℝ)
115
- (σ : Ω → ℝ≥0) (V : ℕ → Set ℂ) (b : ℕ → ℂ) (ε : ℝ)
116
- (a : ℂ) {ell : ℝ} (hell : 0 < ell) (n : ℕ)
117
- (hp : ∀ z, p' n (affine a ell z) = p n z) :
118
- FrontSuccess (fun j ω t => affine a ell (η j ω t)) p' σ
119
- (fun j => affine a ell '' V j) (fun j => affine a ell (b j)) (ell * ε) n =
120
- FrontSuccess η p σ V b ε n := by
121
- ext ω
122
- have hmaps (T : ℝ≥0) :
123
- MapsTo (fun t => affine a ell (η n ω t)) (Icc 0 T) (affine a ell '' V n) ↔
124
- MapsTo (η n ω) (Icc 0 T) (V n) := by
125
- constructor
126
- · intro h t ht
127
- obtain ⟨z, hz, he⟩ := h ht
128
- exact (affine_bijective a hell).1 he ▸ hz
129
- · intro h t ht
130
- exact mem_image_of_mem _ (h ht)
131
- have hterminal (T : ℝ≥0) :
132
- ‖affine a ell (η n ω T) - affine a ell (b n)‖ < ell * ε / 4 ↔
133
- ‖η n ω T - b n‖ < ε / 4 := by
134
- have hd := affine_dist a hell.le (η n ω T) (b n)
135
- rw [dist_eq_norm, dist_eq_norm] at hd
136
- rw [hd, mul_div_assoc, mul_lt_mul_iff_right₀ hell]
137
- simp only [FrontSuccess, mem_ofPred_eq, hp, hmaps, hterminal]
138
-
139
- /-- The complete one-step event has the same probability after simultaneous
140
- spatial, mesh and mass rescaling. This is a deterministic event identity;
141
- the trace law need not itself have been scaled. -/
142
- theorem frontSuccess_mass_probability_affine
143
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
144
- (η : ℕ → Ω → ℝ≥0 → ℂ) (p p' : ℕ → ℂ → ℝ)
145
- (σ : Ω → ℝ≥0) (V : ℕ → Set ℂ) (b : ℕ → ℂ) (ε : ℝ)
146
- (a : ℂ) {ell : ℝ} (hell : 0 < ell) (n : ℕ)
147
- (hp : ∀ z, p' n (affine a ell z) = p n z)
148
- (κ : ℝ) (R : Set ℂ) {v : ℝ} (hv : 0 < v) (c : ℝ) :
149
- P {ω | ω ∈ FrontSuccess (fun j ω t => affine a ell (η j ω t)) p' σ
150
- (fun j => affine a ell '' V j) (fun j => affine a ell (b j)) (ell * ε) n ∧
151
- ENNReal.ofReal (c * ell ^ dimension κ) ≤
152
- segmentSausageCharge κ (fun t => affine a ell (η n ω t)) (σ ω)
153
- (frontTime (fun t => p' n (affine a ell (η n ω t))) 1)
154
- (ell * v) (affine a ell '' R)} =
155
- P {ω | ω ∈ FrontSuccess η p σ V b ε n ∧ ENNReal.ofReal c ≤
156
- segmentSausageCharge κ (η n ω) (σ ω)
157
- (frontTime (fun t => p n (η n ω t)) 1) v R} := by
158
- congr 1
159
- ext ω
160
- have hevent := frontSuccess_affine_iff η p p' σ V b ε a hell n hp
161
- have ht : frontTime (fun t => p' n (affine a ell (η n ω t))) 1 =
162
- frontTime (fun t => p n (η n ω t)) 1 := by
163
- congr 1
164
- funext t
165
- exact hp (η n ω t)
166
- simp only [mem_ofPred_eq, hevent, ht,
167
- affine_mass_threshold_iff κ a hell (η n ω) (σ ω) _ hv R c]
168
-
169
- end SLEExactGauge.RibbonPassageScaling
170
-
171
- end
172
-
173
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.UniformFrontPassage
2
+ import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar
3
+
4
+ namespace OAI
5
+
6
+ /-! Positive affine rescaling of the physical one-step passage. A mesh
7
+ `v` becomes `ell * v`; its normalized sausage mass is multiplied by
8
+ `ell ^ dimension κ`, exactly as in the width-rescaled ribbon statement. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory Metric
12
+ open scoped Topology NNReal ENNReal Pointwise
13
+
14
+ namespace SLEExactGauge.RibbonPassageScaling
15
+ open FirstFrontPassage PassageSuccess
16
+
17
+ /-- Translate and dilate the physical coordinates without changing the
18
+ curve parameter. -/
19
+ def affine (a : ℂ) (ell : ℝ) (z : ℂ) : ℂ := a + (ell : ℂ) * z
20
+
21
+ theorem affine_dist (a : ℂ) {ell : ℝ} (hell : 0 ≤ ell) (z w : ℂ) :
22
+ dist (affine a ell z) (affine a ell w) = ell * dist z w := by
23
+ simp only [affine, dist_eq_norm, add_sub_add_left_eq_sub, ← mul_sub, norm_mul,
24
+ Complex.norm_real, Real.norm_eq_abs, abs_of_nonneg hell]
25
+
26
+ theorem affine_bijective (a : ℂ) {ell : ℝ} (hell : 0 < ell) :
27
+ Function.Bijective (affine a ell) := by
28
+ have he : (ell : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr hell.ne'
29
+ constructor
30
+ · intro z w h
31
+ exact mul_left_cancel₀ he (add_left_cancel h)
32
+ · intro z
33
+ refine ⟨(z - a) / (ell : ℂ), ?_⟩
34
+ dsimp [affine]
35
+ field_simp
36
+ ring
37
+
38
+ /-- Planar area scales by the square of the physical length scale, also
39
+ for sets for which no measurability has been assumed. -/
40
+ theorem affine_volume (a : ℂ) {ell : ℝ} (hell : 0 ≤ ell) (S : Set ℂ) :
41
+ volume (affine a ell '' S) = ENNReal.ofReal (ell ^ 2) * volume S := by
42
+ have he : affine a ell '' S = (fun z : ℂ => a + z) '' (ell • S) := by
43
+ rw [← image_smul, image_image]
44
+ rfl
45
+ rw [he, image_add_left, measure_preimage_add, Measure.addHaar_smul_of_nonneg volume hell]
46
+ rw [Complex.finrank_real_complex]
47
+
48
+ /-- The full sausage, including its intersection with a physical middle
49
+ strip, scales exactly under a positive affine map. -/
50
+ theorem sourceSausageSet_affine
51
+ (a : ℂ) {ell : ℝ} (hell : 0 < ell) (γ : ℝ≥0 → ℂ) (s t : ℝ≥0) (v : ℝ) :
52
+ sourceSausageSet (fun u => affine a ell (γ u)) s t (ell * v) =
53
+ affine a ell '' sourceSausageSet γ s t v := by
54
+ ext z
55
+ obtain ⟨w, rfl⟩ := (affine_bijective a hell).2 z
56
+ constructor
57
+ · rintro ⟨u, hu, hd⟩
58
+ rw [affine_dist a hell.le] at hd
59
+ exact ⟨w, ⟨u, hu, (mul_lt_mul_iff_right₀ hell).mp hd⟩, rfl⟩
60
+ · rintro ⟨w', ⟨u, hu, hd⟩, he⟩
61
+ have hw' : w' = w := (affine_bijective a hell).1 he
62
+ subst w'
63
+ exact ⟨u, hu, by rw [affine_dist a hell.le]; exact mul_lt_mul_of_pos_left hd hell⟩
64
+
65
+ theorem segmentSausageCharge_affine
66
+ (κ : ℝ) (a : ℂ) {ell : ℝ} (hell : 0 < ell)
67
+ (γ : ℝ≥0 → ℂ) (s t : ℝ≥0) {v : ℝ} (hv : 0 < v) (R : Set ℂ) :
68
+ segmentSausageCharge κ (fun u => affine a ell (γ u)) s t (ell * v)
69
+ (affine a ell '' R) =
70
+ ENNReal.ofReal (ell ^ dimension κ) * segmentSausageCharge κ γ s t v R := by
71
+ have he : (ell * v) ^ (-codimension κ) * ell ^ 2 =
72
+ ell ^ dimension κ * v ^ (-codimension κ) := by
73
+ rw [Real.mul_rpow hell.le hv.le]
74
+ calc
75
+ ell ^ (-codimension κ) * v ^ (-codimension κ) * ell ^ 2 =
76
+ (ell ^ (-codimension κ) * ell ^ (2 : ℝ)) * v ^ (-codimension κ) := by
77
+ rw [Real.rpow_two]
78
+ ring
79
+ _ = ell ^ (-codimension κ + 2) * v ^ (-codimension κ) := by
80
+ rw [Real.rpow_add hell]
81
+ _ = _ := by congr 2; unfold codimension; ring
82
+ simp only [segmentSausageCharge, sourceSausageSet_affine a hell]
83
+ rw [← image_inter (affine_bijective a hell).1, affine_volume a hell.le]
84
+ rw [← mul_assoc, ← ENNReal.ofReal_mul (Real.rpow_nonneg (mul_pos hell hv).le _), he,
85
+ ENNReal.ofReal_mul (Real.rpow_nonneg hell.le _), mul_assoc]
86
+
87
+ /-- The prescribed mass threshold scales by `ell^d`. -/
88
+ theorem affine_mass_threshold_iff
89
+ (κ : ℝ) (a : ℂ) {ell : ℝ} (hell : 0 < ell)
90
+ (γ : ℝ≥0 → ℂ) (s t : ℝ≥0) {v : ℝ} (hv : 0 < v) (R : Set ℂ) (c : ℝ) :
91
+ ENNReal.ofReal (c * ell ^ dimension κ) ≤
92
+ segmentSausageCharge κ (fun u => affine a ell (γ u)) s t (ell * v)
93
+ (affine a ell '' R) ↔
94
+ ENNReal.ofReal c ≤ segmentSausageCharge κ γ s t v R := by
95
+ rw [segmentSausageCharge_affine κ a hell γ s t hv R, mul_comm c,
96
+ ENNReal.ofReal_mul (Real.rpow_pos_of_pos hell _).le]
97
+ exact ENNReal.mul_le_mul_iff_right ((ENNReal.ofReal_pos.mpr (Real.rpow_pos_of_pos hell _)).ne')
98
+ ENNReal.ofReal_ne_top
99
+
100
+ /-- Pulling back the longitudinal coordinate leaves the actual first-front
101
+ clock unchanged. Spatial rescaling does not change curve order. -/
102
+ theorem firstFrontTime_affine
103
+ (a : ℂ) (ell : ℝ) (γ : ℝ≥0 → ℂ) (p p' : ℂ → ℝ)
104
+ (hp : ∀ z, p' (affine a ell z) = p z) :
105
+ firstFrontTime (fun t => p' (affine a ell (γ t))) 1 =
106
+ firstFrontTime (fun t => p (γ t)) 1 := by
107
+ congr 1
108
+ funext t
109
+ exact hp (γ t)
110
+
111
+ /-- Affine scaling preserves all actual front-success conditions, including
112
+ whole-prefix containment and the terminal offset. -/
113
+ theorem frontSuccess_affine_iff
114
+ {Ω : Type*} (η : ℕ → Ω → ℝ≥0 → ℂ) (p p' : ℕ → ℂ → ℝ)
115
+ (σ : Ω → ℝ≥0) (V : ℕ → Set ℂ) (b : ℕ → ℂ) (ε : ℝ)
116
+ (a : ℂ) {ell : ℝ} (hell : 0 < ell) (n : ℕ)
117
+ (hp : ∀ z, p' n (affine a ell z) = p n z) :
118
+ FrontSuccess (fun j ω t => affine a ell (η j ω t)) p' σ
119
+ (fun j => affine a ell '' V j) (fun j => affine a ell (b j)) (ell * ε) n =
120
+ FrontSuccess η p σ V b ε n := by
121
+ ext ω
122
+ have hmaps (T : ℝ≥0) :
123
+ MapsTo (fun t => affine a ell (η n ω t)) (Icc 0 T) (affine a ell '' V n) ↔
124
+ MapsTo (η n ω) (Icc 0 T) (V n) := by
125
+ constructor
126
+ · intro h t ht
127
+ obtain ⟨z, hz, he⟩ := h ht
128
+ exact (affine_bijective a hell).1 he ▸ hz
129
+ · intro h t ht
130
+ exact mem_image_of_mem _ (h ht)
131
+ have hterminal (T : ℝ≥0) :
132
+ ‖affine a ell (η n ω T) - affine a ell (b n)‖ < ell * ε / 4 ↔
133
+ ‖η n ω T - b n‖ < ε / 4 := by
134
+ have hd := affine_dist a hell.le (η n ω T) (b n)
135
+ rw [dist_eq_norm, dist_eq_norm] at hd
136
+ rw [hd, mul_div_assoc, mul_lt_mul_iff_right₀ hell]
137
+ simp only [FrontSuccess, mem_ofPred_eq, hp, hmaps, hterminal]
138
+
139
+ /-- The complete one-step event has the same probability after simultaneous
140
+ spatial, mesh and mass rescaling. This is a deterministic event identity;
141
+ the trace law need not itself have been scaled. -/
142
+ theorem frontSuccess_mass_probability_affine
143
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
144
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (p p' : ℕ → ℂ → ℝ)
145
+ (σ : Ω → ℝ≥0) (V : ℕ → Set ℂ) (b : ℕ → ℂ) (ε : ℝ)
146
+ (a : ℂ) {ell : ℝ} (hell : 0 < ell) (n : ℕ)
147
+ (hp : ∀ z, p' n (affine a ell z) = p n z)
148
+ (κ : ℝ) (R : Set ℂ) {v : ℝ} (hv : 0 < v) (c : ℝ) :
149
+ P {ω | ω ∈ FrontSuccess (fun j ω t => affine a ell (η j ω t)) p' σ
150
+ (fun j => affine a ell '' V j) (fun j => affine a ell (b j)) (ell * ε) n ∧
151
+ ENNReal.ofReal (c * ell ^ dimension κ) ≤
152
+ segmentSausageCharge κ (fun t => affine a ell (η n ω t)) (σ ω)
153
+ (frontTime (fun t => p' n (affine a ell (η n ω t))) 1)
154
+ (ell * v) (affine a ell '' R)} =
155
+ P {ω | ω ∈ FrontSuccess η p σ V b ε n ∧ ENNReal.ofReal c ≤
156
+ segmentSausageCharge κ (η n ω) (σ ω)
157
+ (frontTime (fun t => p n (η n ω t)) 1) v R} := by
158
+ congr 1
159
+ ext ω
160
+ have hevent := frontSuccess_affine_iff η p p' σ V b ε a hell n hp
161
+ have ht : frontTime (fun t => p' n (affine a ell (η n ω t))) 1 =
162
+ frontTime (fun t => p n (η n ω t)) 1 := by
163
+ congr 1
164
+ funext t
165
+ exact hp (η n ω t)
166
+ simp only [mem_ofPred_eq, hevent, ht,
167
+ affine_mass_threshold_iff κ a hell (η n ω) (σ ω) _ hv R c]
168
+
169
+ end SLEExactGauge.RibbonPassageScaling
170
+
171
+ end
172
+
173
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonPrefixTransport.lean CHANGED
@@ -1,67 +1,67 @@
1
- import OAI.Probability.SLE.Gauge.WholeSausageScaling
2
- import OAI.Probability.SLE.Gauge.RibbonGoodPrefix
3
-
4
- namespace OAI
5
-
6
- /-! A successful narrow physical prefix is preserved by the exact SLE
7
- spatial/capacity scaling. The front is transported as its actual first hit,
8
- not chosen as a separate completion certificate. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge
15
- open RibbonCoordinates FirstFrontPassage FrontClockChange ScaleTraceLaw FrontSuccessMeasurability
16
-
17
- lemma scalePath_at_scaled_time (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (t : ℝ≥0) :
18
- scalePath c p (c ^ 2 * t) = (c : ℂ) * p t := by
19
- change (c : ℂ) * p ((c ^ 2 * t) / c ^ 2) = _
20
- rw [mul_div_cancel_left₀ t (pow_ne_zero 2 hc.ne')]
21
-
22
- theorem goodRibbonPrefix_scalePath
23
- (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (P : ℂ → ℂ)
24
- (g g' : C(ℂ, ℝ)) (hgg' : ∀ z : ℂ, g' ((c : ℂ) * z) = g z)
25
- (k ε : ℝ)
26
- (hpref : () ∈ GoodRibbonPrefix (fun _ : Unit => (p : ℝ≥0 → ℂ))
27
- (fun _ => firstFrontTime (fun t => g (p t)) k) P ε) :
28
- () ∈ GoodRibbonPrefix (fun _ : Unit => (scalePath c p : ℝ≥0 → ℂ))
29
- (fun _ => firstFrontTime (fun t => g' (scalePath c p t)) k)
30
- (fun z => (c : ℂ) * P z) ε := by
31
- cases hτ : firstFrontTime (fun t => g (p t)) k with
32
- | top => exact False.elim (hpref.1 hτ)
33
- | coe T =>
34
- let e := OrderIso.mulLeft₀ (c ^ 2) (pow_pos hc 2)
35
- have heval (t : ℝ≥0) : scalePath c p (e t) = (c : ℂ) * p t :=
36
- scalePath_at_scaled_time c hc p t
37
- have hclock : (fun t => g' (scalePath c p (e t))) = (fun t => g (p t)) := by
38
- funext t
39
- rw [heval, hgg']
40
- have hhit := firstFrontTime_attained _ (g.continuous.comp p.continuous) k T hτ
41
- have hnew := firstFrontTime_of_clock_hit e (fun t => g' (scalePath c p t)) k T
42
- (by rw [hclock]; exact hτ) (by rw [heval, hgg']; exact hhit)
43
- have hprefix : MapsTo p (Icc 0 T) (ribbonCore P ε) := by
44
- simpa only [hτ, WithTop.untopD_coe] using hpref.2.1
45
- have hend : p T ∈ ribbonCore P (ε / 4) := by
46
- simpa only [hτ, WithTop.untopD_coe] using hpref.2.2
47
- change firstFrontTime (fun t => g' (scalePath c p t)) k ≠ ⊤ ∧ _
48
- rw [hnew]
49
- refine ⟨WithTop.coe_ne_top, ?_, ?_⟩
50
- · intro t ht
51
- have htt : t ≤ e T := by simpa only [WithTop.untopD_coe] using ht.2
52
- have hu : e.symm t ∈ Icc 0 T := ⟨bot_le, by
53
- simpa only [e.symm_apply_apply] using e.symm.monotone htt⟩
54
- obtain ⟨z, hz, hez⟩ := hprefix hu
55
- refine ⟨z, hz, ?_⟩
56
- change (c : ℂ) * P z = scalePath c p t
57
- rw [hez, ← heval, e.apply_symm_apply]
58
- · obtain ⟨z, hz, hez⟩ := hend
59
- refine ⟨z, hz, ?_⟩
60
- change (c : ℂ) * P z = scalePath c p (e T)
61
- rw [heval, hez]
62
-
63
- end SLEExactGauge
64
-
65
- end
66
-
67
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.WholeSausageScaling
2
+ import OAI.Probability.SLE.Gauge.RibbonGoodPrefix
3
+
4
+ namespace OAI
5
+
6
+ /-! A successful narrow physical prefix is preserved by the exact SLE
7
+ spatial/capacity scaling. The front is transported as its actual first hit,
8
+ not chosen as a separate completion certificate. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge
15
+ open RibbonCoordinates FirstFrontPassage FrontClockChange ScaleTraceLaw FrontSuccessMeasurability
16
+
17
+ lemma scalePath_at_scaled_time (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (t : ℝ≥0) :
18
+ scalePath c p (c ^ 2 * t) = (c : ℂ) * p t := by
19
+ change (c : ℂ) * p ((c ^ 2 * t) / c ^ 2) = _
20
+ rw [mul_div_cancel_left₀ t (pow_ne_zero 2 hc.ne')]
21
+
22
+ theorem goodRibbonPrefix_scalePath
23
+ (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (P : ℂ → ℂ)
24
+ (g g' : C(ℂ, ℝ)) (hgg' : ∀ z : ℂ, g' ((c : ℂ) * z) = g z)
25
+ (k ε : ℝ)
26
+ (hpref : () ∈ GoodRibbonPrefix (fun _ : Unit => (p : ℝ≥0 → ℂ))
27
+ (fun _ => firstFrontTime (fun t => g (p t)) k) P ε) :
28
+ () ∈ GoodRibbonPrefix (fun _ : Unit => (scalePath c p : ℝ≥0 → ℂ))
29
+ (fun _ => firstFrontTime (fun t => g' (scalePath c p t)) k)
30
+ (fun z => (c : ℂ) * P z) ε := by
31
+ cases hτ : firstFrontTime (fun t => g (p t)) k with
32
+ | top => exact False.elim (hpref.1 hτ)
33
+ | coe T =>
34
+ let e := OrderIso.mulLeft₀ (c ^ 2) (pow_pos hc 2)
35
+ have heval (t : ℝ≥0) : scalePath c p (e t) = (c : ℂ) * p t :=
36
+ scalePath_at_scaled_time c hc p t
37
+ have hclock : (fun t => g' (scalePath c p (e t))) = (fun t => g (p t)) := by
38
+ funext t
39
+ rw [heval, hgg']
40
+ have hhit := firstFrontTime_attained _ (g.continuous.comp p.continuous) k T hτ
41
+ have hnew := firstFrontTime_of_clock_hit e (fun t => g' (scalePath c p t)) k T
42
+ (by rw [hclock]; exact hτ) (by rw [heval, hgg']; exact hhit)
43
+ have hprefix : MapsTo p (Icc 0 T) (ribbonCore P ε) := by
44
+ simpa only [hτ, WithTop.untopD_coe] using hpref.2.1
45
+ have hend : p T ∈ ribbonCore P (ε / 4) := by
46
+ simpa only [hτ, WithTop.untopD_coe] using hpref.2.2
47
+ change firstFrontTime (fun t => g' (scalePath c p t)) k ≠ ⊤ ∧ _
48
+ rw [hnew]
49
+ refine ⟨WithTop.coe_ne_top, ?_, ?_⟩
50
+ · intro t ht
51
+ have htt : t ≤ e T := by simpa only [WithTop.untopD_coe] using ht.2
52
+ have hu : e.symm t ∈ Icc 0 T := ⟨bot_le, by
53
+ simpa only [e.symm_apply_apply] using e.symm.monotone htt⟩
54
+ obtain ⟨z, hz, hez⟩ := hprefix hu
55
+ refine ⟨z, hz, ?_⟩
56
+ change (c : ℂ) * P z = scalePath c p t
57
+ rw [hez, ← heval, e.apply_symm_apply]
58
+ · obtain ⟨z, hz, hez⟩ := hend
59
+ refine ⟨z, hz, ?_⟩
60
+ change (c : ℂ) * P z = scalePath c p (e T)
61
+ rw [heval, hez]
62
+
63
+ end SLEExactGauge
64
+
65
+ end
66
+
67
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonRouteLifting.lean CHANGED
@@ -1,116 +1,116 @@
1
- import OAI.Probability.SLE.Gauge.RibbonCoordinateGeometry
2
- import OAI.Probability.SLE.Geometry.RobustTransverseCrossing
3
-
4
- namespace OAI
5
-
6
- /-! Physical perturbations of a transverse ribbon route admit continuous
7
- coordinate lifts. The fixed inverse Lipschitz bound then turns a physical
8
- tube event into a forced hit of the actual stopped past. -/
9
-
10
- noncomputable section
11
- open Set Metric Function
12
- open scoped Topology NNReal
13
-
14
- namespace SLEExactGauge.RibbonCoordinates
15
- open RectangleCrossing
16
-
17
- theorem inverse_coordinate_lipschitz
18
- (P : ℂ → ℂ) (S : Set ℂ) (K : ℝ≥0)
19
- (hlower : ∀ u ∈ S, ∀ v ∈ S, dist u v ≤ K * dist (P u) (P v)) :
20
- LipschitzOnWith K (invFunOn P S) (P '' S) := by
21
- apply lipschitzOnWith_iff_dist_le_mul.mpr
22
- intro u hu v hv
23
- have hh := hlower _ (invFunOn_mem hu) _ (invFunOn_mem hv)
24
- simpa only [invFunOn_eq hu, invFunOn_eq hv] using hh
25
-
26
- /-- Invariance of domain supplies a physical tube; the patch inverse is
27
- continuous with exactly the given inverse Lipschitz bound. -/
28
- theorem physical_tube_has_coordinate_lift
29
- (hpublished : PublishedPlanarDiskOpenness)
30
- (P : ℂ → ℂ) (S : Set ℂ) (hP : ContinuousOn P S) (hi : InjOn P S)
31
- (K : ℝ≥0) (hK : 0 < (K : ℝ))
32
- (hlower : ∀ u ∈ S, ∀ v ∈ S, dist u v ≤ K * dist (P u) (P v))
33
- (ξ ζ : ℝ → ℂ) (I : Set ℝ) {r : ℝ} (hr : 0 < r)
34
- (hξ : ∀ t ∈ I, closedBall (ξ t) r ⊆ S)
35
- (hζ : ContinuousOn ζ I)
36
- (hnear : ∀ t ∈ I, dist (ζ t) (P (ξ t)) < r / K) :
37
- let q := invFunOn P S ∘ ζ
38
- ContinuousOn q I ∧ MapsTo q I S ∧ EqOn (P ∘ q) ζ I ∧
39
- ∀ t ∈ I, dist (q t) (ξ t) < r := by
40
- have hlift t (ht : t ∈ I) :
41
- ∃ z ∈ ball (ξ t) r, P z = ζ t := by
42
- apply ball_subset_image_ball P (ξ t) hr hK (hP.mono (hξ t ht))
43
- (hpublished P _ _ hr (hP.mono (ball_subset_closedBall.trans (hξ t ht)))
44
- (hi.mono (ball_subset_closedBall.trans (hξ t ht))))
45
- (fun z hz => hlower z (hξ t ht hz) _ (hξ t ht (mem_closedBall_self hr.le)))
46
- exact hnear t ht
47
- have hζS : MapsTo ζ I (P '' S) := by
48
- intro t ht
49
- obtain ⟨z, hz, he⟩ := hlift t ht
50
- exact ⟨z, hξ t ht (ball_subset_closedBall hz), he⟩
51
- dsimp only
52
- refine ⟨(inverse_coordinate_lipschitz P S K hlower).continuousOn.comp hζ hζS,
53
- (fun t ht => invFunOn_mem (hζS ht)), (fun t ht => invFunOn_eq (hζS ht)), ?_⟩
54
- intro t ht
55
- obtain ⟨z, hz, he⟩ := hlift t ht
56
- have hzS := hξ t ht (ball_subset_closedBall hz)
57
- have heq : invFunOn P S (ζ t) = z :=
58
- hi (invFunOn_mem (hζS ht)) hzS ((invFunOn_eq (hζS ht)).trans he.symm)
59
- simpa only [Function.comp_apply, heq, mem_ball] using hz
60
-
61
- def crossingPatch (k : ℝ) : Set ℂ :=
62
- {z | k - 1 ≤ z.re ∧ z.re ≤ k + 1 ∧ |z.im| ≤ 1}
63
-
64
- theorem crossingPatch_subset_closedRibbon {k : ℝ} (hk : 1 ≤ k) :
65
- crossingPatch k ⊆ closedRibbon := by
66
- intro z hz
67
- exact ⟨by linarith [hz.1], hz.2.2⟩
68
-
69
- theorem transverse_template_ball_subset_patch (k : ℝ) {t : ℝ} (ht : t ∈ Icc (0 : ℝ) 1) :
70
- closedBall (transverseTemplate k t) (1 / 8) ⊆ crossingPatch k := by
71
- intro z hz
72
- have hn : ‖z - transverseTemplate k t‖ ≤ 1 / 8 := by
73
- simpa only [mem_closedBall, dist_eq_norm] using hz
74
- have hre := (Complex.abs_re_le_norm (z - transverseTemplate k t)).trans hn
75
- have him := (Complex.abs_im_le_norm (z - transverseTemplate k t)).trans hn
76
- simp only [Complex.sub_re, Complex.sub_im, transverseTemplate, Complex.add_re,
77
- Complex.add_im, Complex.ofReal_re, Complex.ofReal_im, Complex.mul_re,
78
- Complex.mul_im, Complex.I_re, Complex.I_im, mul_zero, mul_one,
79
- add_zero, zero_add, sub_zero] at hre him
80
- have hr := abs_le.mp hre
81
- have hi := abs_le.mp him
82
- refine ⟨by linarith, by linarith, abs_le.mpr ⟨by linarith [ht.1], by linarith [ht.2]⟩⟩
83
-
84
- /-- A single physical tube radius, independent of the past, forces a hit.
85
- Every coordinate and continuity condition for the perturbed route is
86
- derived from the actual patch embedding rather than assumed. -/
87
- theorem physical_transverse_tube_hits_past
88
- (hpublished : PublishedPlanarDiskOpenness)
89
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
90
- (K : ℝ≥0) (hK : 0 < (K : ℝ)) {k ε T : ℝ}
91
- (hk : 1 ≤ k) (hε : 0 < ε) (hεsmall : ε ≤ 1 / 8) (hT : 0 < T)
92
- (hlower : ∀ u ∈ crossingPatch k, ∀ v ∈ crossingPatch k,
93
- dist u v ≤ K * dist (P u) (P v))
94
- (γ xp ζ : ℝ → ℂ) (hxp : ContinuousOn xp (Icc 0 T))
95
- (hγ : EqOn γ (P ∘ xp) (Icc 0 T))
96
- (hxp0 : (xp 0).re = 0) (hxpT : (xp T).re = k)
97
- (hcore : ∀ t ∈ Icc (0 : ℝ) T, |(xp t).im| ≤ ε)
98
- (hζ : ContinuousOn ζ (Icc 0 1))
99
- (hnear : ∀ t ∈ Icc (0 : ℝ) 1,
100
- dist (ζ t) (P (transverseTemplate k t)) < (1 / 8 : ℝ) / K) :
101
- ∃ s ∈ Icc (0 : ℝ) T, ∃ t ∈ Icc (0 : ℝ) 1, γ s = ζ t := by
102
- have hsub := crossingPatch_subset_closedRibbon hk
103
- obtain ⟨hq, _, hmap, hnearq⟩ := physical_tube_has_coordinate_lift hpublished
104
- P (crossingPatch k) (hP.mono hsub) (hi.mono hsub) K hK hlower
105
- (transverseTemplate k) ζ (Icc 0 1) (by norm_num : (0 : ℝ) < 1 / 8)
106
- (fun _ ht => transverse_template_ball_subset_patch k ht) hζ hnear
107
- obtain ⟨s, hs, t, ht, he⟩ := near_transverse_template_hits_past xp
108
- (invFunOn P (crossingPatch k) ∘ ζ) hT hk hε hεsmall le_rfl hxp hq
109
- hxp0 hxpT hcore hnearq
110
- exact ⟨s, hs, t, ht, (hγ hs).trans ((congrArg P he).trans (hmap ht))⟩
111
-
112
- end SLEExactGauge.RibbonCoordinates
113
-
114
- end
115
-
116
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonCoordinateGeometry
2
+ import OAI.Probability.SLE.Geometry.RobustTransverseCrossing
3
+
4
+ namespace OAI
5
+
6
+ /-! Physical perturbations of a transverse ribbon route admit continuous
7
+ coordinate lifts. The fixed inverse Lipschitz bound then turns a physical
8
+ tube event into a forced hit of the actual stopped past. -/
9
+
10
+ noncomputable section
11
+ open Set Metric Function
12
+ open scoped Topology NNReal
13
+
14
+ namespace SLEExactGauge.RibbonCoordinates
15
+ open RectangleCrossing
16
+
17
+ theorem inverse_coordinate_lipschitz
18
+ (P : ℂ → ℂ) (S : Set ℂ) (K : ℝ≥0)
19
+ (hlower : ∀ u ∈ S, ∀ v ∈ S, dist u v ≤ K * dist (P u) (P v)) :
20
+ LipschitzOnWith K (invFunOn P S) (P '' S) := by
21
+ apply lipschitzOnWith_iff_dist_le_mul.mpr
22
+ intro u hu v hv
23
+ have hh := hlower _ (invFunOn_mem hu) _ (invFunOn_mem hv)
24
+ simpa only [invFunOn_eq hu, invFunOn_eq hv] using hh
25
+
26
+ /-- Invariance of domain supplies a physical tube; the patch inverse is
27
+ continuous with exactly the given inverse Lipschitz bound. -/
28
+ theorem physical_tube_has_coordinate_lift
29
+ (hpublished : PublishedPlanarDiskOpenness)
30
+ (P : ℂ → ℂ) (S : Set ℂ) (hP : ContinuousOn P S) (hi : InjOn P S)
31
+ (K : ℝ≥0) (hK : 0 < (K : ℝ))
32
+ (hlower : ∀ u ∈ S, ∀ v ∈ S, dist u v ≤ K * dist (P u) (P v))
33
+ (ξ ζ : ℝ → ℂ) (I : Set ℝ) {r : ℝ} (hr : 0 < r)
34
+ (hξ : ∀ t ∈ I, closedBall (ξ t) r ⊆ S)
35
+ (hζ : ContinuousOn ζ I)
36
+ (hnear : ∀ t ∈ I, dist (ζ t) (P (ξ t)) < r / K) :
37
+ let q := invFunOn P S ∘ ζ
38
+ ContinuousOn q I ∧ MapsTo q I S ∧ EqOn (P ∘ q) ζ I ∧
39
+ ∀ t ∈ I, dist (q t) (ξ t) < r := by
40
+ have hlift t (ht : t ∈ I) :
41
+ ∃ z ∈ ball (ξ t) r, P z = ζ t := by
42
+ apply ball_subset_image_ball P (ξ t) hr hK (hP.mono (hξ t ht))
43
+ (hpublished P _ _ hr (hP.mono (ball_subset_closedBall.trans (hξ t ht)))
44
+ (hi.mono (ball_subset_closedBall.trans (hξ t ht))))
45
+ (fun z hz => hlower z (hξ t ht hz) _ (hξ t ht (mem_closedBall_self hr.le)))
46
+ exact hnear t ht
47
+ have hζS : MapsTo ζ I (P '' S) := by
48
+ intro t ht
49
+ obtain ⟨z, hz, he⟩ := hlift t ht
50
+ exact ⟨z, hξ t ht (ball_subset_closedBall hz), he⟩
51
+ dsimp only
52
+ refine ⟨(inverse_coordinate_lipschitz P S K hlower).continuousOn.comp hζ hζS,
53
+ (fun t ht => invFunOn_mem (hζS ht)), (fun t ht => invFunOn_eq (hζS ht)), ?_⟩
54
+ intro t ht
55
+ obtain ⟨z, hz, he⟩ := hlift t ht
56
+ have hzS := hξ t ht (ball_subset_closedBall hz)
57
+ have heq : invFunOn P S (ζ t) = z :=
58
+ hi (invFunOn_mem (hζS ht)) hzS ((invFunOn_eq (hζS ht)).trans he.symm)
59
+ simpa only [Function.comp_apply, heq, mem_ball] using hz
60
+
61
+ def crossingPatch (k : ℝ) : Set ℂ :=
62
+ {z | k - 1 ≤ z.re ∧ z.re ≤ k + 1 ∧ |z.im| ≤ 1}
63
+
64
+ theorem crossingPatch_subset_closedRibbon {k : ℝ} (hk : 1 ≤ k) :
65
+ crossingPatch k ⊆ closedRibbon := by
66
+ intro z hz
67
+ exact ⟨by linarith [hz.1], hz.2.2⟩
68
+
69
+ theorem transverse_template_ball_subset_patch (k : ℝ) {t : ℝ} (ht : t ∈ Icc (0 : ℝ) 1) :
70
+ closedBall (transverseTemplate k t) (1 / 8) ⊆ crossingPatch k := by
71
+ intro z hz
72
+ have hn : ‖z - transverseTemplate k t‖ ≤ 1 / 8 := by
73
+ simpa only [mem_closedBall, dist_eq_norm] using hz
74
+ have hre := (Complex.abs_re_le_norm (z - transverseTemplate k t)).trans hn
75
+ have him := (Complex.abs_im_le_norm (z - transverseTemplate k t)).trans hn
76
+ simp only [Complex.sub_re, Complex.sub_im, transverseTemplate, Complex.add_re,
77
+ Complex.add_im, Complex.ofReal_re, Complex.ofReal_im, Complex.mul_re,
78
+ Complex.mul_im, Complex.I_re, Complex.I_im, mul_zero, mul_one,
79
+ add_zero, zero_add, sub_zero] at hre him
80
+ have hr := abs_le.mp hre
81
+ have hi := abs_le.mp him
82
+ refine ⟨by linarith, by linarith, abs_le.mpr ⟨by linarith [ht.1], by linarith [ht.2]⟩⟩
83
+
84
+ /-- A single physical tube radius, independent of the past, forces a hit.
85
+ Every coordinate and continuity condition for the perturbed route is
86
+ derived from the actual patch embedding rather than assumed. -/
87
+ theorem physical_transverse_tube_hits_past
88
+ (hpublished : PublishedPlanarDiskOpenness)
89
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
90
+ (K : ℝ≥0) (hK : 0 < (K : ℝ)) {k ε T : ℝ}
91
+ (hk : 1 ≤ k) (hε : 0 < ε) (hεsmall : ε ≤ 1 / 8) (hT : 0 < T)
92
+ (hlower : ∀ u ∈ crossingPatch k, ∀ v ∈ crossingPatch k,
93
+ dist u v ≤ K * dist (P u) (P v))
94
+ (γ xp ζ : ℝ → ℂ) (hxp : ContinuousOn xp (Icc 0 T))
95
+ (hγ : EqOn γ (P ∘ xp) (Icc 0 T))
96
+ (hxp0 : (xp 0).re = 0) (hxpT : (xp T).re = k)
97
+ (hcore : ∀ t ∈ Icc (0 : ℝ) T, |(xp t).im| ≤ ε)
98
+ (hζ : ContinuousOn ζ (Icc 0 1))
99
+ (hnear : ∀ t ∈ Icc (0 : ℝ) 1,
100
+ dist (ζ t) (P (transverseTemplate k t)) < (1 / 8 : ℝ) / K) :
101
+ ∃ s ∈ Icc (0 : ℝ) T, ∃ t ∈ Icc (0 : ℝ) 1, γ s = ζ t := by
102
+ have hsub := crossingPatch_subset_closedRibbon hk
103
+ obtain ⟨hq, _, hmap, hnearq⟩ := physical_tube_has_coordinate_lift hpublished
104
+ P (crossingPatch k) (hP.mono hsub) (hi.mono hsub) K hK hlower
105
+ (transverseTemplate k) ζ (Icc 0 1) (by norm_num : (0 : ℝ) < 1 / 8)
106
+ (fun _ ht => transverse_template_ball_subset_patch k ht) hζ hnear
107
+ obtain ⟨s, hs, t, ht, he⟩ := near_transverse_template_hits_past xp
108
+ (invFunOn P (crossingPatch k) ∘ ζ) hT hk hε hεsmall le_rfl hxp hq
109
+ hxp0 hxpT hcore hnearq
110
+ exact ⟨s, hs, t, ht, (hγ hs).trans ((congrArg P he).trans (hmap ht))⟩
111
+
112
+ end SLEExactGauge.RibbonCoordinates
113
+
114
+ end
115
+
116
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonSequenceCompactness.lean CHANGED
@@ -1,142 +1,142 @@
1
- import OAI.Probability.SLE.Geometry.ActualGuideCompactness
2
- import OAI.Probability.SLE.Gauge.RibbonCoordinateLimit
3
-
4
- namespace OAI
5
-
6
- /-! Joint extraction of normalized Loewner charts, physical and parameter
7
- guides, and local ribbon coordinate maps under a raw waypoint-angle bound. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory Metric
11
- open scoped Topology NNReal
12
-
13
- namespace SLEExactGauge
14
-
15
- private theorem uniform_subsequence {X Y : Type*} [UniformSpace Y]
16
- {f : ℕ → X → Y} {g : X → Y} {S : Set X}
17
- (h : TendstoUniformlyOn f g atTop S) {ψ : ℕ → ℕ} (hψ : StrictMono ψ) :
18
- TendstoUniformlyOn (fun n => f (ψ n)) g atTop S := by
19
- intro u hu
20
- exact hψ.tendsto_atTop.eventually (h u hu)
21
-
22
- private theorem locally_uniform_subsequence {X Y : Type*} [TopologicalSpace X] [UniformSpace Y]
23
- {f : ℕ → X → Y} {g : X → Y} {S : Set X}
24
- (h : TendstoLocallyUniformlyOn f g atTop S) {ψ : ℕ → ℕ} (hψ : StrictMono ψ) :
25
- TendstoLocallyUniformlyOn (fun n => f (ψ n)) g atTop S := by
26
- intro u hu x hx
27
- obtain ⟨V, hV, he⟩ := h u hu x hx
28
- exact ⟨V, hV, hψ.tendsto_atTop.eventually he⟩
29
-
30
- /-- The physical guide in the joint limit is the guide drawn in the
31
- limiting coordinate chart. This uses uniform chart convergence, rather
32
- than assuming the guide identity survives moving evaluation points. -/
33
- theorem coordinate_guide_limit_identity
34
- (Qₙ : ℕ → ℂ → ℂ) (Q : ℂ → ℂ) (K : Set ℂ) (hK : IsClosed K)
35
- (hQ : ContinuousOn Q K) (hQconv : TendstoUniformlyOn Qₙ Q atTop K)
36
- (xₙ : ℕ → ℝ) (x : ℝ) (hx : Tendsto xₙ atTop (𝓝 x))
37
- (αₙ : ℕ → ℝ → ℂ) (α : ℝ → ℂ)
38
- (hαconv : TendstoUniformlyOn αₙ α atTop (Icc 0 2))
39
- (hmem : ∀ n t, t ∈ Icc (0 : ℝ) 2 →
40
- RibbonCoordinates.guideCoordinate 0 (xₙ n) t ∈ K)
41
- (hshape : ∀ n t, t ∈ Icc (0 : ℝ) 2 →
42
- αₙ n t = Qₙ n (RibbonCoordinates.guideCoordinate 0 (xₙ n) t)) :
43
- EqOn α (fun t => Q (RibbonCoordinates.guideCoordinate 0 x t)) (Icc 0 2) := by
44
- intro t ht
45
- have hqc : Continuous (fun y : ℝ => RibbonCoordinates.guideCoordinate 0 y t) := by
46
- unfold RibbonCoordinates.guideCoordinate
47
- fun_prop
48
- have hqt := (hqc.tendsto x).comp hx
49
- have hqK : RibbonCoordinates.guideCoordinate 0 x t ∈ K :=
50
- hK.mem_of_tendsto hqt (Eventually.of_forall (fun n => hmem n t ht))
51
- have hqwithin : Tendsto (fun n => RibbonCoordinates.guideCoordinate 0 (xₙ n) t)
52
- atTop (𝓝[K] (RibbonCoordinates.guideCoordinate 0 x t)) :=
53
- tendsto_nhdsWithin_iff.mpr ⟨hqt, Eventually.of_forall (fun n => hmem n t ht)⟩
54
- have hlim := hQconv.tendsto_comp (hQ _ hqK) hqwithin
55
- have halim : Tendsto (fun n => αₙ n t) atTop
56
- (𝓝 (Q (RibbonCoordinates.guideCoordinate 0 x t))) := by
57
- convert hlim using 1
58
- funext n
59
- exact hshape n t ht
60
- exact tendsto_nhds_unique (hαconv.tendsto_at ht) halim
61
-
62
- /-- The normalized Loewner charts and coordinate charts admit one common
63
- subsequence under the raw waypoint-angle normalization hypothesis. -/
64
- theorem actual_ribbon_joint_compactness
65
- {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
66
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
67
- (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
68
- (hcompact : PublishedHalfPlaneUnivalentCompactness)
69
- (hboundary : PublishedLoewnerBoundaryExtension)
70
- (U : ℕ → ℝ≥0 → ℝ) (γₙ : ℕ → ℝ≥0 → ℂ)
71
- (G F₀ : ℕ → ℝ≥0 → ℂ → ℂ)
72
- (hU : ∀ n, Continuous (U n))
73
- (hw : ∀ n, IsCapacityTwoWitness (U n) (γₙ n) (G n) (F₀ n))
74
- (T : ℕ → ℝ≥0) (hT : ∀ n, 0 < T n)
75
- (hfresh : ∀ n s, s < T n → γₙ n (T n) ∈ survivingDomain (γₙ n) s)
76
- (αₙ : ℕ → ℝ → ℂ) (C : ℝ≥0) (s c A : ℝ)
77
- (hC : 0 < (C : ℝ)) (hs : 0 < s) (hc : 0 < c)
78
- (hαL : ∀ n, LipschitzOnWith C (αₙ n) (Icc 0 2))
79
- (hα0 : ∀ n, αₙ n 0 = γₙ n (T n)) (haBound : ∀ n, ‖γₙ n (T n)‖ ≤ A)
80
- (hchord : ∀ n u, u ∈ Icc (0 : ℝ) 2 → ∀ v, v ∈ Icc (0 : ℝ) 2 →
81
- c * |u - v| ≤ dist (αₙ n u) (αₙ n v))
82
- (hαD : ∀ n, MapsTo (αₙ n) (Ioc 0 2) (survivingDomain (γₙ n) (T n)))
83
- (hclear : ∀ δ : ℝ, 0 < δ → δ ≤ 2 → ∃ r : ℝ, 0 < r ∧
84
- ∀ n t, t ∈ Icc δ 2 → ball (αₙ n t) r ⊆ survivingDomain (γₙ n) (T n))
85
- (Qₙ : ℕ → ℂ → ℂ) (K : Set ℂ) (hK : IsCompact K)
86
- (x₀ : ℂ) (hx₀ : x₀ ∈ K) (Cq Lq : ℝ≥0) (Rq : ℝ)
87
- (hQupper : ∀ n, LipschitzOnWith Cq (Qₙ n) K)
88
- (hQlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ Lq * dist (Qₙ n x) (Qₙ n y))
89
- (hQtip : ∀ n, ‖Qₙ n x₀‖ ≤ Rq)
90
- (hQheight : ∀ n z, z ∈ K → 0 ≤ (Qₙ n z).im)
91
- (hplanar : PublishedPlanarDiskOpenness)
92
- (hangle : ∀ n, s ≤ (G n (T n) (αₙ n (1 / 2)) - (U n (T n) : ℂ)).im /
93
- ‖G n (T n) (αₙ n (1 / 2)) - (U n (T n) : ℂ)‖) :
94
- ∃ (Q : ℂ → ℂ) (b : ℕ → ℝ) (Fb : ℕ → ℂ → OnePoint ℂ) (βₙ : ℕ → ℝ → ℂ)
95
- (φ : ℕ → ℕ) (F : ℂ → ℂ) (α β : ℝ → ℂ),
96
- (∀ n, 0 < b n) ∧
97
- (∀ n, ContinuousOn (Fb n) {z : ℂ | 0 ≤ z.im}) ∧
98
- (∀ n z, z ∈ upperHalfPlane → Fb n z =
99
- (normalizedInverse (F₀ n (T n)) (U n (T n)) (b n) z : OnePoint ℂ)) ∧
100
- (∀ n, ContinuousOn (βₙ n) (Icc 0 2)) ∧
101
- (∀ n, βₙ n 0 = 0) ∧
102
- (∀ n t, t ∈ Icc (0 : ℝ) 2 → 0 ≤ (βₙ n t).im) ∧
103
- (∀ n t, t ∈ Ioc (0 : ℝ) 2 → βₙ n t =
104
- normalizedForward (G n (T n)) (U n (T n)) (b n) (αₙ n t)) ∧
105
- (∀ n t, t ∈ Icc (0 : ℝ) 2 → Fb n (βₙ n t) = (αₙ n t : OnePoint ℂ)) ∧
106
- StrictMono φ ∧ DifferentiableOn ℂ F upperHalfPlane ∧ InjOn F upperHalfPlane ∧
107
- (∀ z ∈ upperHalfPlane, deriv F z ≠ 0) ∧ α 0 ∉ F '' upperHalfPlane ∧
108
- TendstoLocallyUniformlyOn
109
- (fun n => normalizedInverse (F₀ (φ n) (T (φ n))) (U (φ n) (T (φ n))) (b (φ n)))
110
- F atTop upperHalfPlane ∧
111
- TendstoUniformlyOn (fun n => αₙ (φ n)) α atTop (Icc 0 2) ∧
112
- TendstoUniformlyOn (fun n => βₙ (φ n)) β atTop (Icc 0 2) ∧
113
- Tendsto (fun n => γₙ (φ n) (T (φ n))) atTop (𝓝 (α 0)) ∧
114
- LipschitzOnWith C α (Icc 0 2) ∧ ContinuousOn α (Icc 0 2) ∧ InjOn α (Icc 0 2) ∧
115
- β 0 = 0 ∧ ContinuousOn β (Icc 0 2) ∧ InjOn β (Icc 0 2) ∧
116
- MapsTo β (Ioc 0 2) upperHalfPlane ∧ EqOn (F ∘ β) α (Ioc 0 2) ∧
117
- TendstoUniformlyOn (fun n => Qₙ (φ n)) Q atTop K ∧
118
- LipschitzOnWith Cq Q K ∧
119
- (∀ x ∈ K, ∀ y ∈ K, dist x y ≤ Lq * dist (Q x) (Q y)) ∧
120
- InjOn Q K ∧ MapsTo Q (interior K) upperHalfPlane := by
121
- obtain ⟨b, Fb, βₙ, φ, F, α, β, hb, hbar, hext, hβc, hβ0, hβH, hβeq,
122
- hbarα, hφ, hF, hiF, hFne, homitlim, hFconv, hαconv, hβconv, hatip,
123
- hαLlim, hαclim, hαilim, hβlim0, hβlimc, hβlimi, hβlimH, hlimrel⟩ :=
124
- actual_guide_joint_compactness_with_family P κ hκ hκ8 γ hSLE hcompact hboundary
125
- U γₙ G F₀ hU hw T hT hfresh αₙ C s c A hC hs hc hαL hα0 haBound hchord hαD hclear hangle
126
- obtain ⟨Q, ψ, hψ, hQconv, hQu, hQl, hQi, hQH⟩ :=
127
- RibbonCoordinates.exists_bilip_halfPlane_subsequence hplanar (fun n => Qₙ (φ n))
128
- K hK x₀ hx₀ Cq Lq Rq (fun n => hQupper (φ n)) (fun n => hQlower (φ n))
129
- (fun n => hQtip (φ n)) (fun n => hQheight (φ n))
130
- have hFsub := locally_uniform_subsequence hFconv hψ
131
- have hαsub := uniform_subsequence hαconv hψ
132
- have hβsub := uniform_subsequence hβconv hψ
133
- exact ⟨Q, b, Fb, βₙ, φ ∘ ψ, F, α, β, hb, hbar, hext, hβc, hβ0, hβH,
134
- hβeq, hbarα, hφ.comp hψ, hF, hiF, hFne, homitlim, hFsub, hαsub, hβsub,
135
- hatip.comp hψ.tendsto_atTop, hαLlim, hαclim, hαilim, hβlim0, hβlimc, hβlimi,
136
- hβlimH, hlimrel, hQconv, hQu, hQl, hQi, hQH⟩
137
-
138
- end SLEExactGauge
139
-
140
- end
141
-
142
- end OAI
 
1
+ import OAI.Probability.SLE.Geometry.ActualGuideCompactness
2
+ import OAI.Probability.SLE.Gauge.RibbonCoordinateLimit
3
+
4
+ namespace OAI
5
+
6
+ /-! Joint extraction of normalized Loewner charts, physical and parameter
7
+ guides, and local ribbon coordinate maps under a raw waypoint-angle bound. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory Metric
11
+ open scoped Topology NNReal
12
+
13
+ namespace SLEExactGauge
14
+
15
+ private theorem uniform_subsequence {X Y : Type*} [UniformSpace Y]
16
+ {f : ℕ → X → Y} {g : X → Y} {S : Set X}
17
+ (h : TendstoUniformlyOn f g atTop S) {ψ : ℕ → ℕ} (hψ : StrictMono ψ) :
18
+ TendstoUniformlyOn (fun n => f (ψ n)) g atTop S := by
19
+ intro u hu
20
+ exact hψ.tendsto_atTop.eventually (h u hu)
21
+
22
+ private theorem locally_uniform_subsequence {X Y : Type*} [TopologicalSpace X] [UniformSpace Y]
23
+ {f : ℕ → X → Y} {g : X → Y} {S : Set X}
24
+ (h : TendstoLocallyUniformlyOn f g atTop S) {ψ : ℕ → ℕ} (hψ : StrictMono ψ) :
25
+ TendstoLocallyUniformlyOn (fun n => f (ψ n)) g atTop S := by
26
+ intro u hu x hx
27
+ obtain ⟨V, hV, he⟩ := h u hu x hx
28
+ exact ⟨V, hV, hψ.tendsto_atTop.eventually he⟩
29
+
30
+ /-- The physical guide in the joint limit is the guide drawn in the
31
+ limiting coordinate chart. This uses uniform chart convergence, rather
32
+ than assuming the guide identity survives moving evaluation points. -/
33
+ theorem coordinate_guide_limit_identity
34
+ (Qₙ : ℕ → ℂ → ℂ) (Q : ℂ → ℂ) (K : Set ℂ) (hK : IsClosed K)
35
+ (hQ : ContinuousOn Q K) (hQconv : TendstoUniformlyOn Qₙ Q atTop K)
36
+ (xₙ : ℕ → ℝ) (x : ℝ) (hx : Tendsto xₙ atTop (𝓝 x))
37
+ (αₙ : ℕ → ℝ → ℂ) (α : ℝ → ℂ)
38
+ (hαconv : TendstoUniformlyOn αₙ α atTop (Icc 0 2))
39
+ (hmem : ∀ n t, t ∈ Icc (0 : ℝ) 2 →
40
+ RibbonCoordinates.guideCoordinate 0 (xₙ n) t ∈ K)
41
+ (hshape : ∀ n t, t ∈ Icc (0 : ℝ) 2 →
42
+ αₙ n t = Qₙ n (RibbonCoordinates.guideCoordinate 0 (xₙ n) t)) :
43
+ EqOn α (fun t => Q (RibbonCoordinates.guideCoordinate 0 x t)) (Icc 0 2) := by
44
+ intro t ht
45
+ have hqc : Continuous (fun y : ℝ => RibbonCoordinates.guideCoordinate 0 y t) := by
46
+ unfold RibbonCoordinates.guideCoordinate
47
+ fun_prop
48
+ have hqt := (hqc.tendsto x).comp hx
49
+ have hqK : RibbonCoordinates.guideCoordinate 0 x t ∈ K :=
50
+ hK.mem_of_tendsto hqt (Eventually.of_forall (fun n => hmem n t ht))
51
+ have hqwithin : Tendsto (fun n => RibbonCoordinates.guideCoordinate 0 (xₙ n) t)
52
+ atTop (𝓝[K] (RibbonCoordinates.guideCoordinate 0 x t)) :=
53
+ tendsto_nhdsWithin_iff.mpr ⟨hqt, Eventually.of_forall (fun n => hmem n t ht)⟩
54
+ have hlim := hQconv.tendsto_comp (hQ _ hqK) hqwithin
55
+ have halim : Tendsto (fun n => αₙ n t) atTop
56
+ (𝓝 (Q (RibbonCoordinates.guideCoordinate 0 x t))) := by
57
+ convert hlim using 1
58
+ funext n
59
+ exact hshape n t ht
60
+ exact tendsto_nhds_unique (hαconv.tendsto_at ht) halim
61
+
62
+ /-- The normalized Loewner charts and coordinate charts admit one common
63
+ subsequence under the raw waypoint-angle normalization hypothesis. -/
64
+ theorem actual_ribbon_joint_compactness
65
+ {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
66
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
67
+ (γ : Ω → ℝ≥0 → ℂ) (hSLE : IsOrdinaryChordalSLE κ γ P)
68
+ (hcompact : PublishedHalfPlaneUnivalentCompactness)
69
+ (hboundary : PublishedLoewnerBoundaryExtension)
70
+ (U : ℕ → ℝ≥0 → ℝ) (γₙ : ℕ → ℝ≥0 → ℂ)
71
+ (G F₀ : ℕ → ℝ≥0 → ℂ → ℂ)
72
+ (hU : ∀ n, Continuous (U n))
73
+ (hw : ∀ n, IsCapacityTwoWitness (U n) (γₙ n) (G n) (F₀ n))
74
+ (T : ℕ → ℝ≥0) (hT : ∀ n, 0 < T n)
75
+ (hfresh : ∀ n s, s < T n → γₙ n (T n) ∈ survivingDomain (γₙ n) s)
76
+ (αₙ : ℕ → ℝ → ℂ) (C : ℝ≥0) (s c A : ℝ)
77
+ (hC : 0 < (C : ℝ)) (hs : 0 < s) (hc : 0 < c)
78
+ (hαL : ∀ n, LipschitzOnWith C (αₙ n) (Icc 0 2))
79
+ (hα0 : ∀ n, αₙ n 0 = γₙ n (T n)) (haBound : ∀ n, ‖γₙ n (T n)‖ ≤ A)
80
+ (hchord : ∀ n u, u ∈ Icc (0 : ℝ) 2 → ∀ v, v ∈ Icc (0 : ℝ) 2 →
81
+ c * |u - v| ≤ dist (αₙ n u) (αₙ n v))
82
+ (hαD : ∀ n, MapsTo (αₙ n) (Ioc 0 2) (survivingDomain (γₙ n) (T n)))
83
+ (hclear : ∀ δ : ℝ, 0 < δ → δ ≤ 2 → ∃ r : ℝ, 0 < r ∧
84
+ ∀ n t, t ∈ Icc δ 2 → ball (αₙ n t) r ⊆ survivingDomain (γₙ n) (T n))
85
+ (Qₙ : ℕ → ℂ → ℂ) (K : Set ℂ) (hK : IsCompact K)
86
+ (x₀ : ℂ) (hx₀ : x₀ ∈ K) (Cq Lq : ℝ≥0) (Rq : ℝ)
87
+ (hQupper : ∀ n, LipschitzOnWith Cq (Qₙ n) K)
88
+ (hQlower : ∀ n x, x ∈ K → ∀ y, y ∈ K → dist x y ≤ Lq * dist (Qₙ n x) (Qₙ n y))
89
+ (hQtip : ∀ n, ‖Qₙ n x₀‖ ≤ Rq)
90
+ (hQheight : ∀ n z, z ∈ K → 0 ≤ (Qₙ n z).im)
91
+ (hplanar : PublishedPlanarDiskOpenness)
92
+ (hangle : ∀ n, s ≤ (G n (T n) (αₙ n (1 / 2)) - (U n (T n) : ℂ)).im /
93
+ ‖G n (T n) (αₙ n (1 / 2)) - (U n (T n) : ℂ)‖) :
94
+ ∃ (Q : ℂ → ℂ) (b : ℕ → ℝ) (Fb : ℕ → ℂ → OnePoint ℂ) (βₙ : ℕ → ℝ → ℂ)
95
+ (φ : ℕ → ℕ) (F : ℂ → ℂ) (α β : ℝ → ℂ),
96
+ (∀ n, 0 < b n) ∧
97
+ (∀ n, ContinuousOn (Fb n) {z : ℂ | 0 ≤ z.im}) ∧
98
+ (∀ n z, z ∈ upperHalfPlane → Fb n z =
99
+ (normalizedInverse (F₀ n (T n)) (U n (T n)) (b n) z : OnePoint ℂ)) ∧
100
+ (∀ n, ContinuousOn (βₙ n) (Icc 0 2)) ∧
101
+ (∀ n, βₙ n 0 = 0) ∧
102
+ (∀ n t, t ∈ Icc (0 : ℝ) 2 → 0 ≤ (βₙ n t).im) ∧
103
+ (∀ n t, t ∈ Ioc (0 : ℝ) 2 → βₙ n t =
104
+ normalizedForward (G n (T n)) (U n (T n)) (b n) (αₙ n t)) ∧
105
+ (∀ n t, t ∈ Icc (0 : ℝ) 2 → Fb n (βₙ n t) = (αₙ n t : OnePoint ℂ)) ∧
106
+ StrictMono φ ∧ DifferentiableOn ℂ F upperHalfPlane ∧ InjOn F upperHalfPlane ∧
107
+ (∀ z ∈ upperHalfPlane, deriv F z ≠ 0) ∧ α 0 ∉ F '' upperHalfPlane ∧
108
+ TendstoLocallyUniformlyOn
109
+ (fun n => normalizedInverse (F₀ (φ n) (T (φ n))) (U (φ n) (T (φ n))) (b (φ n)))
110
+ F atTop upperHalfPlane ∧
111
+ TendstoUniformlyOn (fun n => αₙ (φ n)) α atTop (Icc 0 2) ∧
112
+ TendstoUniformlyOn (fun n => βₙ (φ n)) β atTop (Icc 0 2) ∧
113
+ Tendsto (fun n => γₙ (φ n) (T (φ n))) atTop (𝓝 (α 0)) ∧
114
+ LipschitzOnWith C α (Icc 0 2) ∧ ContinuousOn α (Icc 0 2) ∧ InjOn α (Icc 0 2) ∧
115
+ β 0 = 0 ∧ ContinuousOn β (Icc 0 2) ∧ InjOn β (Icc 0 2) ∧
116
+ MapsTo β (Ioc 0 2) upperHalfPlane ∧ EqOn (F ∘ β) α (Ioc 0 2) ∧
117
+ TendstoUniformlyOn (fun n => Qₙ (φ n)) Q atTop K ∧
118
+ LipschitzOnWith Cq Q K ∧
119
+ (∀ x ∈ K, ∀ y ∈ K, dist x y ≤ Lq * dist (Q x) (Q y)) ∧
120
+ InjOn Q K ∧ MapsTo Q (interior K) upperHalfPlane := by
121
+ obtain ⟨b, Fb, βₙ, φ, F, α, β, hb, hbar, hext, hβc, hβ0, hβH, hβeq,
122
+ hbarα, hφ, hF, hiF, hFne, homitlim, hFconv, hαconv, hβconv, hatip,
123
+ hαLlim, hαclim, hαilim, hβlim0, hβlimc, hβlimi, hβlimH, hlimrel⟩ :=
124
+ actual_guide_joint_compactness_with_family P κ hκ hκ8 γ hSLE hcompact hboundary
125
+ U γₙ G F₀ hU hw T hT hfresh αₙ C s c A hC hs hc hαL hα0 haBound hchord hαD hclear hangle
126
+ obtain ⟨Q, ψ, hψ, hQconv, hQu, hQl, hQi, hQH⟩ :=
127
+ RibbonCoordinates.exists_bilip_halfPlane_subsequence hplanar (fun n => Qₙ (φ n))
128
+ K hK x₀ hx₀ Cq Lq Rq (fun n => hQupper (φ n)) (fun n => hQlower (φ n))
129
+ (fun n => hQtip (φ n)) (fun n => hQheight (φ n))
130
+ have hFsub := locally_uniform_subsequence hFconv hψ
131
+ have hαsub := uniform_subsequence hαconv hψ
132
+ have hβsub := uniform_subsequence hβconv hψ
133
+ exact ⟨Q, b, Fb, βₙ, φ ∘ ψ, F, α, β, hb, hbar, hext, hβc, hβ0, hβH,
134
+ hβeq, hbarα, hφ.comp hψ, hF, hiF, hFne, homitlim, hFsub, hαsub, hβsub,
135
+ hatip.comp hψ.tendsto_atTop, hαLlim, hαclim, hαilim, hβlim0, hβlimc, hβlimi,
136
+ hβlimH, hlimrel, hQconv, hQu, hQl, hQi, hQH⟩
137
+
138
+ end SLEExactGauge
139
+
140
+ end
141
+
142
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonSideCorridors.lean CHANGED
@@ -1,76 +1,76 @@
1
- import OAI.Probability.SLE.Gauge.RibbonCoordinateGeometry
2
-
3
- namespace OAI
4
-
5
- /-! The two strips outside the narrow core are in the actual surviving
6
- component. Their connection to the unbounded future excludes filled hulls,
7
- even when the stopped past is not simple. -/
8
-
9
- noncomputable section
10
- open Set Filter Metric
11
- open scoped Topology NNReal
12
-
13
- namespace SLEExactGauge.RibbonCoordinates
14
-
15
- def sideCorridor (a b : ℝ) : Set ℂ :=
16
- {z | 0 < z.re ∧ z.im ∈ Ioo a b}
17
-
18
- theorem sideCorridor_convex (a b : ℝ) : Convex ℝ (sideCorridor a b) := by
19
- exact (convex_halfSpace_gt Complex.reLm.isLinear 0).inter
20
- ((convex_Ioo a b).is_linear_preimage Complex.imLm.isLinear)
21
-
22
- /-- A strip strictly outside the past's core connects to the free future
23
- and hence is in the unbounded surviving domain. This covers either side. -/
24
- theorem sideCorridor_survives
25
- (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
26
- (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
27
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0) {k ε a b : ℝ} (hk : 0 ≤ k)
28
- (hab : a < b) (ha : -1 ≤ a) (hb : b ≤ 1)
29
- (hgap : ∀ x ∈ Ioo a b, ε < |x|)
30
- (hpast : γ '' Icc 0 T ⊆
31
- P '' {z ∈ closedRibbon | z.re ≤ k ∧ |z.im| ≤ ε})
32
- (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k)) :
33
- P '' sideCorridor a b ⊆ survivingDomain γ T := by
34
- have hsideSub : sideCorridor a b ⊆ closedRibbon := by
35
- intro z hz
36
- exact ⟨hz.1.le, (abs_lt.mpr ⟨ha.trans_lt hz.2.1, hz.2.2.trans_le hb⟩).le⟩
37
- have hfutureSub := futureRibbon_subset_closedRibbon hk
38
- let S := sideCorridor a b ∪ futureRibbon k
39
- have hSsub : S ⊆ closedRibbon := union_subset hsideSub hfutureSub
40
- let z : ℂ := ((k + 1 : ℝ) : ℂ) + (((a + b) / 2 : ℝ) : ℂ) * Complex.I
41
- have hzre : z.re = k + 1 := by simp [z]
42
- have hzim : z.im = (a + b) / 2 := by simp [z]
43
- have hzm : z.im ∈ Ioo a b := by rw [hzim]; constructor <;> linarith
44
- have hzside : z ∈ sideCorridor a b := ⟨by rw [hzre]; linarith, hzm⟩
45
- have hzfuture : z ∈ futureRibbon k :=
46
- ⟨by rw [hzre]; linarith,
47
- abs_lt.mpr ⟨ha.trans_lt hzm.1, hzm.2.trans_le hb⟩⟩
48
- have hSconn : IsPreconnected S :=
49
- (sideCorridor_convex a b).isPreconnected.union z hzside hzfuture
50
- (futureRibbon_convex k).isPreconnected
51
- have hfree : P '' S ⊆ upperHalfPlane \ (γ '' Icc 0 T) := by
52
- rintro y ⟨u, hu, rfl⟩
53
- have huH : 0 < u.re := by
54
- rcases hu with hu | hu
55
- · exact hu.1
56
- · exact hk.trans_lt hu.1
57
- refine ⟨hH u (hSsub hu) huH, ?_⟩
58
- intro hp
59
- obtain ⟨v, hv, he⟩ := hpast hp
60
- have hvu := hi hv.1 (hSsub hu) he
61
- rw [hvu] at hv
62
- rcases hu with hu | hu
63
- · exact (not_le_of_gt (hgap u.im hu.2)) hv.2.2
64
- · exact (not_le_of_gt hu.1) hv.2.1
65
- have hSunbounded : ¬ Bornology.IsBounded (P '' S) := by
66
- intro hbound
67
- exact hunbounded (hbound.subset (image_mono subset_union_right))
68
- exact (image_mono subset_union_left).trans
69
- (free_preconnected_subset_surviving γ T (P '' S)
70
- (hSconn.image P (hP.mono hSsub)) hfree hSunbounded)
71
-
72
- end SLEExactGauge.RibbonCoordinates
73
-
74
- end
75
-
76
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonCoordinateGeometry
2
+
3
+ namespace OAI
4
+
5
+ /-! The two strips outside the narrow core are in the actual surviving
6
+ component. Their connection to the unbounded future excludes filled hulls,
7
+ even when the stopped past is not simple. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Metric
11
+ open scoped Topology NNReal
12
+
13
+ namespace SLEExactGauge.RibbonCoordinates
14
+
15
+ def sideCorridor (a b : ℝ) : Set ℂ :=
16
+ {z | 0 < z.re ∧ z.im ∈ Ioo a b}
17
+
18
+ theorem sideCorridor_convex (a b : ℝ) : Convex ℝ (sideCorridor a b) := by
19
+ exact (convex_halfSpace_gt Complex.reLm.isLinear 0).inter
20
+ ((convex_Ioo a b).is_linear_preimage Complex.imLm.isLinear)
21
+
22
+ /-- A strip strictly outside the past's core connects to the free future
23
+ and hence is in the unbounded surviving domain. This covers either side. -/
24
+ theorem sideCorridor_survives
25
+ (P : ℂ → ℂ) (hP : ContinuousOn P closedRibbon) (hi : InjOn P closedRibbon)
26
+ (hH : ∀ z ∈ closedRibbon, 0 < z.re → P z ∈ upperHalfPlane)
27
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0) {k ε a b : ℝ} (hk : 0 ≤ k)
28
+ (hab : a < b) (ha : -1 ≤ a) (hb : b ≤ 1)
29
+ (hgap : ∀ x ∈ Ioo a b, ε < |x|)
30
+ (hpast : γ '' Icc 0 T ⊆
31
+ P '' {z ∈ closedRibbon | z.re ≤ k ∧ |z.im| ≤ ε})
32
+ (hunbounded : ¬ Bornology.IsBounded (P '' futureRibbon k)) :
33
+ P '' sideCorridor a b ⊆ survivingDomain γ T := by
34
+ have hsideSub : sideCorridor a b ⊆ closedRibbon := by
35
+ intro z hz
36
+ exact ⟨hz.1.le, (abs_lt.mpr ⟨ha.trans_lt hz.2.1, hz.2.2.trans_le hb⟩).le⟩
37
+ have hfutureSub := futureRibbon_subset_closedRibbon hk
38
+ let S := sideCorridor a b ∪ futureRibbon k
39
+ have hSsub : S ⊆ closedRibbon := union_subset hsideSub hfutureSub
40
+ let z : ℂ := ((k + 1 : ℝ) : ℂ) + (((a + b) / 2 : ℝ) : ℂ) * Complex.I
41
+ have hzre : z.re = k + 1 := by simp [z]
42
+ have hzim : z.im = (a + b) / 2 := by simp [z]
43
+ have hzm : z.im ∈ Ioo a b := by rw [hzim]; constructor <;> linarith
44
+ have hzside : z ∈ sideCorridor a b := ⟨by rw [hzre]; linarith, hzm⟩
45
+ have hzfuture : z ∈ futureRibbon k :=
46
+ ⟨by rw [hzre]; linarith,
47
+ abs_lt.mpr ⟨ha.trans_lt hzm.1, hzm.2.trans_le hb⟩⟩
48
+ have hSconn : IsPreconnected S :=
49
+ (sideCorridor_convex a b).isPreconnected.union z hzside hzfuture
50
+ (futureRibbon_convex k).isPreconnected
51
+ have hfree : P '' S ⊆ upperHalfPlane \ (γ '' Icc 0 T) := by
52
+ rintro y ⟨u, hu, rfl⟩
53
+ have huH : 0 < u.re := by
54
+ rcases hu with hu | hu
55
+ · exact hu.1
56
+ · exact hk.trans_lt hu.1
57
+ refine ⟨hH u (hSsub hu) huH, ?_⟩
58
+ intro hp
59
+ obtain ⟨v, hv, he⟩ := hpast hp
60
+ have hvu := hi hv.1 (hSsub hu) he
61
+ rw [hvu] at hv
62
+ rcases hu with hu | hu
63
+ · exact (not_le_of_gt (hgap u.im hu.2)) hv.2.2
64
+ · exact (not_le_of_gt hu.1) hv.2.1
65
+ have hSunbounded : ¬ Bornology.IsBounded (P '' S) := by
66
+ intro hbound
67
+ exact hunbounded (hbound.subset (image_mono subset_union_right))
68
+ exact (image_mono subset_union_left).trans
69
+ (free_preconnected_subset_surviving γ T (P '' S)
70
+ (hSconn.image P (hP.mono hSsub)) hfree hSunbounded)
71
+
72
+ end SLEExactGauge.RibbonCoordinates
73
+
74
+ end
75
+
76
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonStepPatch.lean CHANGED
@@ -1,90 +1,90 @@
1
- import OAI.Probability.SLE.Gauge.RibbonAccessGuide
2
- import OAI.Probability.SLE.Gauge.RibbonRouteLifting
3
- import OAI.Probability.SLE.Gauge.RibbonLimitPassageGeometry
4
-
5
- namespace OAI
6
-
7
- /-! A fixed compact coordinate patch for the actual one-step ribbon. -/
8
-
9
- noncomputable section
10
- open Set Filter Metric
11
- open scoped Topology NNReal
12
-
13
- namespace SLEExactGauge.RibbonCoordinates
14
-
15
- /-- The length-four patch used for one step and its two-sided waypoint routes. -/
16
- def ribbonStepPatch (k : ℝ) : Set ℂ :=
17
- {z | k - 1 ≤ z.re ∧ z.re ≤ k + 3 ∧ |z.im| ≤ 1}
18
-
19
- /-- A padded compact patch in coordinates relative to the current front. -/
20
- def ribbonStepCompact : Set ℂ :=
21
- {z | -(1 / 2 : ℝ) ≤ z.re ∧ z.re ≤ 5 / 2 ∧ |z.im| ≤ 1 / 2}
22
-
23
- theorem ribbonStepCompact_isCompact : IsCompact ribbonStepCompact := by
24
- have hc : IsClosed ribbonStepCompact :=
25
- (isClosed_le continuous_const Complex.continuous_re).inter
26
- ((isClosed_le Complex.continuous_re continuous_const).inter
27
- (isClosed_le Complex.continuous_im.abs continuous_const))
28
- apply (isCompact_closedBall (0 : ℂ) 4).of_isClosed_subset hc
29
- intro z hz
30
- have hre : |z.re| ≤ 5 / 2 := abs_le.mpr ⟨by linarith [hz.1], hz.2.1⟩
31
- have hn := Complex.norm_le_abs_re_add_abs_im z
32
- simpa only [mem_closedBall, dist_zero_right] using
33
- (show ‖z‖ ≤ 4 by linarith [hz.2.2])
34
-
35
- theorem ribbonStepCompact_interior
36
- {z : ℂ} (hre : -(1 / 2 : ℝ) < z.re ∧ z.re < 5 / 2)
37
- (him : |z.im| < 1 / 2) : z ∈ interior ribbonStepCompact := by
38
- let V : Set ℂ := {z | -(1 / 2 : ℝ) < z.re ∧ z.re < 5 / 2 ∧ |z.im| < 1 / 2}
39
- have hV : IsOpen V := (isOpen_lt continuous_const Complex.continuous_re).inter
40
- ((isOpen_lt Complex.continuous_re continuous_const).inter
41
- (isOpen_lt Complex.continuous_im.abs continuous_const))
42
- have hVK : V ⊆ ribbonStepCompact := by
43
- intro w hw
44
- exact ⟨hw.1.le, hw.2.1.le, hw.2.2.le⟩
45
- exact interior_maximal hVK hV ⟨hre.1, hre.2, him⟩
46
-
47
- theorem ribbonStepCompact_zero : (0 : ℂ) ∈ ribbonStepCompact := by
48
- change -(1 / 2 : ℝ) ≤ 0 ∧ (0 : ℝ) ≤ 5 / 2 ∧ |(0 : ℝ)| ≤ 1 / 2
49
- norm_num
50
-
51
- theorem ribbonStepCompact_core {ε : ℝ} (hε : ε ≤ 1 / 8) :
52
- {z : ℂ | 0 ≤ z.re ∧ z.re ≤ 2 ∧ |z.im| ≤ ε / 4} ⊆
53
- interior ribbonStepCompact := by
54
- intro z hz
55
- apply ribbonStepCompact_interior
56
- · constructor <;> linarith [hz.1, hz.2.1]
57
- · linarith [hz.2.2]
58
-
59
- theorem ribbonStepCompact_passage {ε : ℝ} (hε : ε ≤ 1 / 8)
60
- (C : ℝ≥0) (η : ℝ) :
61
- ribbonStepCompact ∩ passageCoordinateRegion C ε η ⊆ interior ribbonStepCompact := by
62
- intro z hz
63
- apply ribbonStepCompact_interior
64
- · constructor <;> linarith [hz.2.1, hz.2.2.1]
65
- · linarith [hz.2.2.2.1]
66
-
67
- theorem guidePatch_subset_ribbonStepPatch (k : ℝ) :
68
- guidePatch k ⊆ ribbonStepPatch k := by
69
- intro z hz
70
- exact ⟨by linarith [hz.1], hz.2.1, hz.2.2⟩
71
-
72
- theorem crossingPatch_subset_ribbonStepPatch (k : ℝ) :
73
- crossingPatch k ⊆ ribbonStepPatch k := by
74
- intro z hz
75
- exact ⟨hz.1, by linarith [hz.2.1], hz.2.2⟩
76
-
77
- theorem translate_ribbonStepCompact {k : ℝ} {z : ℂ} (hz : z ∈ ribbonStepCompact) :
78
- (k : ℂ) + z ∈ ribbonStepPatch k := by
79
- change k - 1 ≤ k + z.re ∧ k + z.re ≤ k + 3 ∧ |0 + z.im| ≤ 1
80
- exact ⟨by linarith [hz.1], by linarith [hz.2.1], by simpa using hz.2.2.trans (by norm_num)⟩
81
-
82
- theorem guideCoordinate_translate (k x t : ℝ) :
83
- (k : ℂ) + guideCoordinate 0 x t = guideCoordinate k x t := by
84
- apply Complex.ext <;> simp [guideCoordinate]
85
-
86
- end SLEExactGauge.RibbonCoordinates
87
-
88
- end
89
-
90
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonAccessGuide
2
+ import OAI.Probability.SLE.Gauge.RibbonRouteLifting
3
+ import OAI.Probability.SLE.Gauge.RibbonLimitPassageGeometry
4
+
5
+ namespace OAI
6
+
7
+ /-! A fixed compact coordinate patch for the actual one-step ribbon. -/
8
+
9
+ noncomputable section
10
+ open Set Filter Metric
11
+ open scoped Topology NNReal
12
+
13
+ namespace SLEExactGauge.RibbonCoordinates
14
+
15
+ /-- The length-four patch used for one step and its two-sided waypoint routes. -/
16
+ def ribbonStepPatch (k : ℝ) : Set ℂ :=
17
+ {z | k - 1 ≤ z.re ∧ z.re ≤ k + 3 ∧ |z.im| ≤ 1}
18
+
19
+ /-- A padded compact patch in coordinates relative to the current front. -/
20
+ def ribbonStepCompact : Set ℂ :=
21
+ {z | -(1 / 2 : ℝ) ≤ z.re ∧ z.re ≤ 5 / 2 ∧ |z.im| ≤ 1 / 2}
22
+
23
+ theorem ribbonStepCompact_isCompact : IsCompact ribbonStepCompact := by
24
+ have hc : IsClosed ribbonStepCompact :=
25
+ (isClosed_le continuous_const Complex.continuous_re).inter
26
+ ((isClosed_le Complex.continuous_re continuous_const).inter
27
+ (isClosed_le Complex.continuous_im.abs continuous_const))
28
+ apply (isCompact_closedBall (0 : ℂ) 4).of_isClosed_subset hc
29
+ intro z hz
30
+ have hre : |z.re| ≤ 5 / 2 := abs_le.mpr ⟨by linarith [hz.1], hz.2.1⟩
31
+ have hn := Complex.norm_le_abs_re_add_abs_im z
32
+ simpa only [mem_closedBall, dist_zero_right] using
33
+ (show ‖z‖ ≤ 4 by linarith [hz.2.2])
34
+
35
+ theorem ribbonStepCompact_interior
36
+ {z : ℂ} (hre : -(1 / 2 : ℝ) < z.re ∧ z.re < 5 / 2)
37
+ (him : |z.im| < 1 / 2) : z ∈ interior ribbonStepCompact := by
38
+ let V : Set ℂ := {z | -(1 / 2 : ℝ) < z.re ∧ z.re < 5 / 2 ∧ |z.im| < 1 / 2}
39
+ have hV : IsOpen V := (isOpen_lt continuous_const Complex.continuous_re).inter
40
+ ((isOpen_lt Complex.continuous_re continuous_const).inter
41
+ (isOpen_lt Complex.continuous_im.abs continuous_const))
42
+ have hVK : V ⊆ ribbonStepCompact := by
43
+ intro w hw
44
+ exact ⟨hw.1.le, hw.2.1.le, hw.2.2.le⟩
45
+ exact interior_maximal hVK hV ⟨hre.1, hre.2, him⟩
46
+
47
+ theorem ribbonStepCompact_zero : (0 : ℂ) ∈ ribbonStepCompact := by
48
+ change -(1 / 2 : ℝ) ≤ 0 ∧ (0 : ℝ) ≤ 5 / 2 ∧ |(0 : ℝ)| ≤ 1 / 2
49
+ norm_num
50
+
51
+ theorem ribbonStepCompact_core {ε : ℝ} (hε : ε ≤ 1 / 8) :
52
+ {z : ℂ | 0 ≤ z.re ∧ z.re ≤ 2 ∧ |z.im| ≤ ε / 4} ⊆
53
+ interior ribbonStepCompact := by
54
+ intro z hz
55
+ apply ribbonStepCompact_interior
56
+ · constructor <;> linarith [hz.1, hz.2.1]
57
+ · linarith [hz.2.2]
58
+
59
+ theorem ribbonStepCompact_passage {ε : ℝ} (hε : ε ≤ 1 / 8)
60
+ (C : ℝ≥0) (η : ℝ) :
61
+ ribbonStepCompact ∩ passageCoordinateRegion C ε η ⊆ interior ribbonStepCompact := by
62
+ intro z hz
63
+ apply ribbonStepCompact_interior
64
+ · constructor <;> linarith [hz.2.1, hz.2.2.1]
65
+ · linarith [hz.2.2.2.1]
66
+
67
+ theorem guidePatch_subset_ribbonStepPatch (k : ℝ) :
68
+ guidePatch k ⊆ ribbonStepPatch k := by
69
+ intro z hz
70
+ exact ⟨by linarith [hz.1], hz.2.1, hz.2.2⟩
71
+
72
+ theorem crossingPatch_subset_ribbonStepPatch (k : ℝ) :
73
+ crossingPatch k ⊆ ribbonStepPatch k := by
74
+ intro z hz
75
+ exact ⟨hz.1, by linarith [hz.2.1], hz.2.2⟩
76
+
77
+ theorem translate_ribbonStepCompact {k : ℝ} {z : ℂ} (hz : z ∈ ribbonStepCompact) :
78
+ (k : ℂ) + z ∈ ribbonStepPatch k := by
79
+ change k - 1 ≤ k + z.re ∧ k + z.re ≤ k + 3 ∧ |0 + z.im| ≤ 1
80
+ exact ⟨by linarith [hz.1], by linarith [hz.2.1], by simpa using hz.2.2.trans (by norm_num)⟩
81
+
82
+ theorem guideCoordinate_translate (k x t : ℝ) :
83
+ (k : ℂ) + guideCoordinate 0 x t = guideCoordinate k x t := by
84
+ apply Complex.ext <;> simp [guideCoordinate]
85
+
86
+ end SLEExactGauge.RibbonCoordinates
87
+
88
+ end
89
+
90
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonStepSuccess.lean CHANGED
@@ -1,85 +1,85 @@
1
- import OAI.Probability.SLE.Gauge.RibbonGoodPrefix
2
-
3
- namespace OAI
4
-
5
- /-! Actual passage-and-mass successes are measured in the next global
6
- front past, with the earlier global front as the mass window's start. -/
7
-
8
- noncomputable section
9
- open Set Filter MeasureTheory ProbabilityTheory Metric
10
- open scoped Topology NNReal ENNReal
11
-
12
- namespace SLEExactGauge
13
- open RibbonCoordinates FirstFrontPassage FrontSuccessMeasurability
14
-
15
- local instance stepSuccessPathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
16
- local instance stepSuccessPathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
17
-
18
- def RibbonStepSuccess {Ω : Type*} (γ : Ω → ℝ≥0 → ℂ)
19
- (σ τ : Ω → WithTop ℝ≥0) (P : ℂ → ℂ) (ε κ v c : ℝ) (R : Set ℂ) : Set Ω :=
20
- GoodRibbonPrefix γ τ P ε ∩ {ω | ENNReal.ofReal c ≤
21
- segmentSausageCharge κ (γ ω) ((σ ω).untopD 0) ((τ ω).untopD 0) v R}
22
-
23
- lemma stoppedAtPath_eq_on_prefix (f : C(ℝ≥0, ℂ)) (t : ℝ≥0) :
24
- EqOn (stoppedAtPath f (t : WithTop ℝ≥0)) f (Icc 0 t) := by
25
- intro u hu
26
- simp only [stoppedAtPath, WithTop.coe_ne_top, ite_false, WithTop.untopD_coe,
27
- clampedPath, ContinuousMap.comp_apply, ContinuousMap.coe_mk, min_eq_left hu.2,
28
- max_eq_right hu.1]
29
-
30
- lemma segmentSausageCharge_shift
31
- (κ : ℝ) (γ : ℝ≥0 → ℂ) (T S : ℝ≥0) (v : ℝ) (R : Set ℂ) :
32
- segmentSausageCharge κ (fun t => γ (T + t)) 0 S v R =
33
- segmentSausageCharge κ γ T (T + S) v R := by
34
- have hs : sourceSausageSet (fun t => γ (T + t)) 0 S v =
35
- sourceSausageSet γ T (T + S) v := by
36
- ext z
37
- constructor
38
- · rintro ⟨t, ht, hd⟩
39
- exact ⟨T + t, ⟨le_add_of_nonneg_right bot_le, add_le_add le_rfl ht.2⟩, hd⟩
40
- · rintro ⟨t, ht, hd⟩
41
- refine ⟨t - T, ⟨bot_le, ?_⟩, ?_⟩
42
- · exact (tsub_le_iff_right).mpr (by simpa only [add_comm] using ht.2)
43
- · simpa only [add_tsub_cancel_of_le ht.1] using hd
44
- simp only [segmentSausageCharge, hs]
45
-
46
- /-- The whole actual step and its sausage lower bound are adapted to the
47
- next front. Both global front times may be infinite off success. -/
48
- theorem ribbonStepSuccess_measurable
49
- {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
50
- (γ : Ω → ℝ≥0 → ℂ) (ha : Adapted ℱ (fun t ω => γ ω t))
51
- (hc : ∀ ω, Continuous (γ ω))
52
- (σ τ : Ω → WithTop ℝ≥0) (hσ : IsStoppingTime ℱ σ) (hτ : IsStoppingTime ℱ τ)
53
- (hστ : σ ≤ τ) (P : ℂ → ℂ)
54
- (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z))
55
- (ε κ v c : ℝ) (R : Set ℂ) :
56
- MeasurableSet[hτ.measurableSpace] (RibbonStepSuccess γ σ τ P ε κ v c R) := by
57
- let f := fun ω => stoppedAtPath (sourceTracePath γ hc ω) (τ ω)
58
- have hfm : Measurable[hτ.measurableSpace] f := stoppedAtPath_measurable ℱ γ ha hc τ hτ
59
- have htm : Measurable[hτ.measurableSpace] (fun ω => (τ ω).untopD 0) := hτ.measurable.untopD 0
60
- have hsm : Measurable[hτ.measurableSpace] (fun ω => (σ ω).untopD 0) :=
61
- (hσ.measurable.mono (IsStoppingTime.measurableSpace_mono hσ hτ hστ) le_rfl).untopD 0
62
- have hgood := goodRibbonPrefix_measurable ℱ γ ha hc τ hτ P he ε
63
- let : MeasurableSpace Ω := hτ.measurableSpace
64
- have hm := hgood.inter
65
- (measurableSet_le (measurable_const : Measurable (fun _ : Ω => ENNReal.ofReal c))
66
- (segmentSausageCharge_measurable f hfm _ _ hsm htm κ v R))
67
- convert hm using 1
68
- ext ω
69
- by_cases hω : ω ∈ GoodRibbonPrefix γ τ P ε
70
- · have ht := hω.1
71
- lift τ ω to ℝ≥0 using ht with t hτt
72
- have hs := sourceSausageSet_congr_interval
73
- (s := (σ ω).untopD 0) (t := t)
74
- (fun u hu => stoppedAtPath_eq_on_prefix (sourceTracePath γ hc ω) t
75
- ⟨bot_le, hu.2⟩) v
76
- simp only [RibbonStepSuccess, mem_inter_iff, mem_ofPred_eq, hω, true_and,
77
- f, ← hτt, WithTop.untopD_coe, segmentSausageCharge, hs]
78
- rfl
79
- · simp only [RibbonStepSuccess, mem_inter_iff, mem_ofPred_eq, hω, false_and]
80
-
81
- end SLEExactGauge
82
-
83
- end
84
-
85
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonGoodPrefix
2
+
3
+ namespace OAI
4
+
5
+ /-! Actual passage-and-mass successes are measured in the next global
6
+ front past, with the earlier global front as the mass window's start. -/
7
+
8
+ noncomputable section
9
+ open Set Filter MeasureTheory ProbabilityTheory Metric
10
+ open scoped Topology NNReal ENNReal
11
+
12
+ namespace SLEExactGauge
13
+ open RibbonCoordinates FirstFrontPassage FrontSuccessMeasurability
14
+
15
+ local instance stepSuccessPathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
16
+ local instance stepSuccessPathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
17
+
18
+ def RibbonStepSuccess {Ω : Type*} (γ : Ω → ℝ≥0 → ℂ)
19
+ (σ τ : Ω → WithTop ℝ≥0) (P : ℂ → ℂ) (ε κ v c : ℝ) (R : Set ℂ) : Set Ω :=
20
+ GoodRibbonPrefix γ τ P ε ∩ {ω | ENNReal.ofReal c ≤
21
+ segmentSausageCharge κ (γ ω) ((σ ω).untopD 0) ((τ ω).untopD 0) v R}
22
+
23
+ lemma stoppedAtPath_eq_on_prefix (f : C(ℝ≥0, ℂ)) (t : ℝ≥0) :
24
+ EqOn (stoppedAtPath f (t : WithTop ℝ≥0)) f (Icc 0 t) := by
25
+ intro u hu
26
+ simp only [stoppedAtPath, WithTop.coe_ne_top, ite_false, WithTop.untopD_coe,
27
+ clampedPath, ContinuousMap.comp_apply, ContinuousMap.coe_mk, min_eq_left hu.2,
28
+ max_eq_right hu.1]
29
+
30
+ lemma segmentSausageCharge_shift
31
+ (κ : ℝ) (γ : ℝ≥0 → ℂ) (T S : ℝ≥0) (v : ℝ) (R : Set ℂ) :
32
+ segmentSausageCharge κ (fun t => γ (T + t)) 0 S v R =
33
+ segmentSausageCharge κ γ T (T + S) v R := by
34
+ have hs : sourceSausageSet (fun t => γ (T + t)) 0 S v =
35
+ sourceSausageSet γ T (T + S) v := by
36
+ ext z
37
+ constructor
38
+ · rintro ⟨t, ht, hd⟩
39
+ exact ⟨T + t, ⟨le_add_of_nonneg_right bot_le, add_le_add le_rfl ht.2⟩, hd⟩
40
+ · rintro ⟨t, ht, hd⟩
41
+ refine ⟨t - T, ⟨bot_le, ?_⟩, ?_⟩
42
+ · exact (tsub_le_iff_right).mpr (by simpa only [add_comm] using ht.2)
43
+ · simpa only [add_tsub_cancel_of_le ht.1] using hd
44
+ simp only [segmentSausageCharge, hs]
45
+
46
+ /-- The whole actual step and its sausage lower bound are adapted to the
47
+ next front. Both global front times may be infinite off success. -/
48
+ theorem ribbonStepSuccess_measurable
49
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] (ℱ : Filtration ℝ≥0 mΩ)
50
+ (γ : Ω → ℝ≥0 → ℂ) (ha : Adapted ℱ (fun t ω => γ ω t))
51
+ (hc : ∀ ω, Continuous (γ ω))
52
+ (σ τ : Ω → WithTop ℝ≥0) (hσ : IsStoppingTime ℱ σ) (hτ : IsStoppingTime ℱ τ)
53
+ (hστ : σ ≤ τ) (P : ℂ → ℂ)
54
+ (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z))
55
+ (ε κ v c : ℝ) (R : Set ℂ) :
56
+ MeasurableSet[hτ.measurableSpace] (RibbonStepSuccess γ σ τ P ε κ v c R) := by
57
+ let f := fun ω => stoppedAtPath (sourceTracePath γ hc ω) (τ ω)
58
+ have hfm : Measurable[hτ.measurableSpace] f := stoppedAtPath_measurable ℱ γ ha hc τ hτ
59
+ have htm : Measurable[hτ.measurableSpace] (fun ω => (τ ω).untopD 0) := hτ.measurable.untopD 0
60
+ have hsm : Measurable[hτ.measurableSpace] (fun ω => (σ ω).untopD 0) :=
61
+ (hσ.measurable.mono (IsStoppingTime.measurableSpace_mono hσ hτ hστ) le_rfl).untopD 0
62
+ have hgood := goodRibbonPrefix_measurable ℱ γ ha hc τ hτ P he ε
63
+ let : MeasurableSpace Ω := hτ.measurableSpace
64
+ have hm := hgood.inter
65
+ (measurableSet_le (measurable_const : Measurable (fun _ : Ω => ENNReal.ofReal c))
66
+ (segmentSausageCharge_measurable f hfm _ _ hsm htm κ v R))
67
+ convert hm using 1
68
+ ext ω
69
+ by_cases hω : ω ∈ GoodRibbonPrefix γ τ P ε
70
+ · have ht := hω.1
71
+ lift τ ω to ℝ≥0 using ht with t hτt
72
+ have hs := sourceSausageSet_congr_interval
73
+ (s := (σ ω).untopD 0) (t := t)
74
+ (fun u hu => stoppedAtPath_eq_on_prefix (sourceTracePath γ hc ω) t
75
+ ⟨bot_le, hu.2⟩) v
76
+ simp only [RibbonStepSuccess, mem_inter_iff, mem_ofPred_eq, hω, true_and,
77
+ f, ← hτt, WithTop.untopD_coe, segmentSausageCharge, hs]
78
+ rfl
79
+ · simp only [RibbonStepSuccess, mem_inter_iff, mem_ofPred_eq, hω, false_and]
80
+
81
+ end SLEExactGauge
82
+
83
+ end
84
+
85
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonStepTranslation.lean CHANGED
@@ -1,134 +1,134 @@
1
- import OAI.Probability.SLE.Gauge.UniformActualRibbonPassage
2
- import OAI.Probability.SLE.Gauge.LocalAffinePassage
3
- import OAI.Probability.SLE.Gauge.RibbonMiddleMass
4
-
5
- namespace OAI
6
-
7
- /-! The recentered passage uses precisely the original ribbon coordinate
8
- and original middle strip after translating back by the actual tip. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge
15
- open RibbonCoordinates RibbonPassageScaling BoundaryScaleLaw
16
-
17
- def RibbonHistory.stepChart {C L : ℝ≥0} {ε : ℝ}
18
- (d : RibbonHistory C L ε) (z : ℂ) : ℂ := d.chart ((d.front : ℂ) + z)
19
-
20
- lemma RibbonHistory.stepCompact_maps {C L : ℝ≥0} {ε : ℝ}
21
- (d : RibbonHistory C L ε) :
22
- MapsTo (fun z : ℂ => (d.front : ℂ) + z) ribbonStepCompact closedRibbon := by
23
- intro z hz
24
- change 0 ≤ d.front + z.re ∧ |0 + z.im| ≤ 1
25
- exact ⟨by linarith [d.front_ge_one, hz.1], by simpa using hz.2.2.trans (by norm_num)⟩
26
-
27
- lemma RibbonHistory.recenteredChart_injOn {C L : ℝ≥0} {ε : ℝ}
28
- (d : RibbonHistory C L ε) : InjOn d.recenteredChart ribbonStepCompact := by
29
- intro u hu v hv huv
30
- have he := d.chart_injective (d.stepCompact_maps hu) (d.stepCompact_maps hv)
31
- (sub_left_inj.mp huv)
32
- exact add_left_cancel he
33
-
34
- lemma RibbonHistory.step_progress_agrees {C L : ℝ≥0} {ε : ℝ}
35
- (d : RibbonHistory C L ε) :
36
- ∀ z ∈ d.recenteredChart '' ribbonStepCompact,
37
- longitudinalCoordinate d.chart closedRibbon d.front (affine (d.trace d.time) 1 z) =
38
- longitudinalCoordinate d.recenteredChart ribbonStepCompact 0 z := by
39
- rintro z ⟨w, hw, rfl⟩
40
- have he : affine (d.trace d.time) 1 (d.recenteredChart w) =
41
- d.chart ((d.front : ℂ) + w) := by
42
- simp only [affine, Complex.ofReal_one, one_mul, RibbonHistory.recenteredChart]
43
- abel
44
- rw [he]
45
- simp only [longitudinalCoordinate,
46
- coordinateInverse_left d.chart_injective (d.stepCompact_maps hw),
47
- coordinateInverse_left d.recenteredChart_injOn hw, Complex.add_re,
48
- Complex.ofReal_re, add_sub_cancel_left, sub_zero]
49
-
50
- lemma RibbonHistory.affine_recentered {C L : ℝ≥0} {ε : ℝ}
51
- (d : RibbonHistory C L ε) :
52
- (fun z => affine (d.trace d.time) 1 (d.recenteredChart z)) = d.stepChart := by
53
- funext z
54
- simp only [affine, Complex.ofReal_one, one_mul, RibbonHistory.recenteredChart,
55
- RibbonHistory.stepChart]
56
- abel
57
-
58
- lemma RibbonHistory.passage_translate {C L : ℝ≥0} {ε : ℝ}
59
- (d : RibbonHistory C L ε) :
60
- affine (d.trace d.time) 1 ''
61
- physicalPassageRegion d.recenteredChart ribbonStepCompact C ε (ε / L) =
62
- physicalPassageRegion d.stepChart ribbonStepCompact C ε (ε / L) := by
63
- unfold physicalPassageRegion
64
- rw [← image_comp]
65
- exact congrArg (fun f : ℂ → ℂ => f '' _) d.affine_recentered
66
-
67
- lemma RibbonHistory.middle_translate {C L : ℝ≥0} {ε : ℝ}
68
- (d : RibbonHistory C L ε) (hε : ε ≤ 1 / 8) :
69
- affine (d.trace d.time) 1 ''
70
- physicalMiddleRegion d.recenteredChart ribbonStepCompact 0 ε =
71
- physicalMiddleRegion d.chart closedRibbon d.front ε := by
72
- unfold physicalMiddleRegion
73
- rw [← image_comp]
74
- rw [show affine (d.trace d.time) 1 ∘ d.recenteredChart = d.stepChart from
75
- d.affine_recentered]
76
- ext z
77
- constructor
78
- · rintro ⟨w, ⟨hw, hwl, hwu, hwi⟩, rfl⟩
79
- refine ⟨(d.front : ℂ) + w, ⟨d.stepCompact_maps hw, ?_, ?_, ?_⟩, rfl⟩
80
- · simpa only [Complex.add_re, Complex.ofReal_re, add_sub_cancel_left, sub_zero] using hwl
81
- · simpa only [Complex.add_re, Complex.ofReal_re, add_sub_cancel_left, sub_zero] using hwu
82
- · simpa only [Complex.add_im, Complex.ofReal_im, zero_add] using hwi
83
- · rintro ⟨w, ⟨_, hwl, hwu, hwi⟩, rfl⟩
84
- refine ⟨w - (d.front : ℂ), ⟨?_, ?_, ?_, ?_⟩, ?_⟩
85
- · change -(1 / 2 : ℝ) ≤ w.re - d.front ∧ w.re - d.front ≤ 5 / 2 ∧
86
- |w.im - 0| ≤ 1 / 2
87
- exact ⟨by linarith, by linarith, by simpa using hwi.le.trans (by linarith)⟩
88
- · simpa only [Complex.sub_re, Complex.ofReal_re, sub_zero] using hwl
89
- · simpa only [Complex.sub_re, Complex.ofReal_re, sub_zero] using hwu
90
- · simpa only [Complex.sub_im, Complex.ofReal_im, sub_zero] using hwi
91
- · simp only [RibbonHistory.stepChart, add_sub_cancel]
92
-
93
- /-- Translating the actual finite boundary image back to its original tip
94
- preserves the full probability, including the original middle-strip mass. -/
95
- theorem RibbonHistory.frontMass_probability_translate
96
- {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
97
- {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε) (hε : ε ≤ 1 / 8)
98
- (η : Ω → ℝ≥0 → ℂ) (κ v c : ℝ) (hv : 0 < v) :
99
- P {ω | (fun t => affine (d.trace d.time) 1 (η ω t)) ∈
100
- {f : ℝ≥0 → ℂ | f ∈ PassageSuccess.FrontSuccess
101
- (fun _ (f : ℝ≥0 → ℂ) => f)
102
- (fun _ => longitudinalCoordinate d.chart closedRibbon d.front) (fun _ => 0)
103
- (fun _ => physicalPassageRegion d.stepChart ribbonStepCompact C ε (ε / L))
104
- (fun _ => d.chart ((d.front : ℂ) + 1)) (ε / L) 0 ∧
105
- ENNReal.ofReal c ≤ segmentSausageCharge κ f 0
106
- (FirstFrontPassage.frontTime
107
- (fun t => longitudinalCoordinate d.chart closedRibbon d.front (f t)) 1)
108
- v (physicalMiddleRegion d.chart closedRibbon d.front ε)}} =
109
- P {ω | η ω ∈ PassageSuccess.FrontSuccess
110
- (fun _ (f : ℝ≥0 → ℂ) => f)
111
- (fun _ => longitudinalCoordinate d.recenteredChart ribbonStepCompact 0) (fun _ => 0)
112
- (fun _ => physicalPassageRegion d.recenteredChart ribbonStepCompact C ε (ε / L))
113
- (fun _ => d.recenteredChart 1) (ε / L) 0 ∧
114
- ENNReal.ofReal c ≤ segmentSausageCharge κ (η ω) 0
115
- (FirstFrontPassage.frontTime
116
- (fun t => longitudinalCoordinate d.recenteredChart ribbonStepCompact 0 (η ω t)) 1)
117
- v (physicalMiddleRegion d.recenteredChart ribbonStepCompact 0 ε)} := by
118
- have hh := frontSuccess_mass_probability_affine_local P
119
- (fun _ => η) (fun _ => longitudinalCoordinate d.recenteredChart ribbonStepCompact 0)
120
- (fun _ => longitudinalCoordinate d.chart closedRibbon d.front) (fun _ => 0)
121
- (fun _ => physicalPassageRegion d.recenteredChart ribbonStepCompact C ε (ε / L))
122
- (fun _ => d.recenteredChart 1) (ε / L) (d.trace d.time) (by norm_num : (0 : ℝ) < 1) 0
123
- (fun z hz => d.step_progress_agrees z (image_mono inter_subset_left hz))
124
- κ (physicalMiddleRegion d.recenteredChart ribbonStepCompact 0 ε) hv c
125
- have htarget : affine (d.trace d.time) 1 (d.recenteredChart 1) =
126
- d.chart ((d.front : ℂ) + 1) := congrFun d.affine_recentered 1
127
- simpa only [d.passage_translate, d.middle_translate hε, htarget, one_mul,
128
- Real.one_rpow, mul_one, mem_ofPred_eq, PassageSuccess.FrontSuccess] using hh
129
-
130
- end SLEExactGauge
131
-
132
- end
133
-
134
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.UniformActualRibbonPassage
2
+ import OAI.Probability.SLE.Gauge.LocalAffinePassage
3
+ import OAI.Probability.SLE.Gauge.RibbonMiddleMass
4
+
5
+ namespace OAI
6
+
7
+ /-! The recentered passage uses precisely the original ribbon coordinate
8
+ and original middle strip after translating back by the actual tip. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge
15
+ open RibbonCoordinates RibbonPassageScaling BoundaryScaleLaw
16
+
17
+ def RibbonHistory.stepChart {C L : ℝ≥0} {ε : ℝ}
18
+ (d : RibbonHistory C L ε) (z : ℂ) : ℂ := d.chart ((d.front : ℂ) + z)
19
+
20
+ lemma RibbonHistory.stepCompact_maps {C L : ℝ≥0} {ε : ℝ}
21
+ (d : RibbonHistory C L ε) :
22
+ MapsTo (fun z : ℂ => (d.front : ℂ) + z) ribbonStepCompact closedRibbon := by
23
+ intro z hz
24
+ change 0 ≤ d.front + z.re ∧ |0 + z.im| ≤ 1
25
+ exact ⟨by linarith [d.front_ge_one, hz.1], by simpa using hz.2.2.trans (by norm_num)⟩
26
+
27
+ lemma RibbonHistory.recenteredChart_injOn {C L : ℝ≥0} {ε : ℝ}
28
+ (d : RibbonHistory C L ε) : InjOn d.recenteredChart ribbonStepCompact := by
29
+ intro u hu v hv huv
30
+ have he := d.chart_injective (d.stepCompact_maps hu) (d.stepCompact_maps hv)
31
+ (sub_left_inj.mp huv)
32
+ exact add_left_cancel he
33
+
34
+ lemma RibbonHistory.step_progress_agrees {C L : ℝ≥0} {ε : ℝ}
35
+ (d : RibbonHistory C L ε) :
36
+ ∀ z ∈ d.recenteredChart '' ribbonStepCompact,
37
+ longitudinalCoordinate d.chart closedRibbon d.front (affine (d.trace d.time) 1 z) =
38
+ longitudinalCoordinate d.recenteredChart ribbonStepCompact 0 z := by
39
+ rintro z ⟨w, hw, rfl⟩
40
+ have he : affine (d.trace d.time) 1 (d.recenteredChart w) =
41
+ d.chart ((d.front : ℂ) + w) := by
42
+ simp only [affine, Complex.ofReal_one, one_mul, RibbonHistory.recenteredChart]
43
+ abel
44
+ rw [he]
45
+ simp only [longitudinalCoordinate,
46
+ coordinateInverse_left d.chart_injective (d.stepCompact_maps hw),
47
+ coordinateInverse_left d.recenteredChart_injOn hw, Complex.add_re,
48
+ Complex.ofReal_re, add_sub_cancel_left, sub_zero]
49
+
50
+ lemma RibbonHistory.affine_recentered {C L : ℝ≥0} {ε : ℝ}
51
+ (d : RibbonHistory C L ε) :
52
+ (fun z => affine (d.trace d.time) 1 (d.recenteredChart z)) = d.stepChart := by
53
+ funext z
54
+ simp only [affine, Complex.ofReal_one, one_mul, RibbonHistory.recenteredChart,
55
+ RibbonHistory.stepChart]
56
+ abel
57
+
58
+ lemma RibbonHistory.passage_translate {C L : ℝ≥0} {ε : ℝ}
59
+ (d : RibbonHistory C L ε) :
60
+ affine (d.trace d.time) 1 ''
61
+ physicalPassageRegion d.recenteredChart ribbonStepCompact C ε (ε / L) =
62
+ physicalPassageRegion d.stepChart ribbonStepCompact C ε (ε / L) := by
63
+ unfold physicalPassageRegion
64
+ rw [← image_comp]
65
+ exact congrArg (fun f : ℂ → ℂ => f '' _) d.affine_recentered
66
+
67
+ lemma RibbonHistory.middle_translate {C L : ℝ≥0} {ε : ℝ}
68
+ (d : RibbonHistory C L ε) (hε : ε ≤ 1 / 8) :
69
+ affine (d.trace d.time) 1 ''
70
+ physicalMiddleRegion d.recenteredChart ribbonStepCompact 0 ε =
71
+ physicalMiddleRegion d.chart closedRibbon d.front ε := by
72
+ unfold physicalMiddleRegion
73
+ rw [← image_comp]
74
+ rw [show affine (d.trace d.time) 1 ∘ d.recenteredChart = d.stepChart from
75
+ d.affine_recentered]
76
+ ext z
77
+ constructor
78
+ · rintro ⟨w, ⟨hw, hwl, hwu, hwi⟩, rfl⟩
79
+ refine ⟨(d.front : ℂ) + w, ⟨d.stepCompact_maps hw, ?_, ?_, ?_⟩, rfl⟩
80
+ · simpa only [Complex.add_re, Complex.ofReal_re, add_sub_cancel_left, sub_zero] using hwl
81
+ · simpa only [Complex.add_re, Complex.ofReal_re, add_sub_cancel_left, sub_zero] using hwu
82
+ · simpa only [Complex.add_im, Complex.ofReal_im, zero_add] using hwi
83
+ · rintro ⟨w, ⟨_, hwl, hwu, hwi⟩, rfl⟩
84
+ refine ⟨w - (d.front : ℂ), ⟨?_, ?_, ?_, ?_⟩, ?_⟩
85
+ · change -(1 / 2 : ℝ) ≤ w.re - d.front ∧ w.re - d.front ≤ 5 / 2 ∧
86
+ |w.im - 0| ≤ 1 / 2
87
+ exact ⟨by linarith, by linarith, by simpa using hwi.le.trans (by linarith)⟩
88
+ · simpa only [Complex.sub_re, Complex.ofReal_re, sub_zero] using hwl
89
+ · simpa only [Complex.sub_re, Complex.ofReal_re, sub_zero] using hwu
90
+ · simpa only [Complex.sub_im, Complex.ofReal_im, sub_zero] using hwi
91
+ · simp only [RibbonHistory.stepChart, add_sub_cancel]
92
+
93
+ /-- Translating the actual finite boundary image back to its original tip
94
+ preserves the full probability, including the original middle-strip mass. -/
95
+ theorem RibbonHistory.frontMass_probability_translate
96
+ {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
97
+ {C L : ℝ≥0} {ε : ℝ} (d : RibbonHistory C L ε) (hε : ε ≤ 1 / 8)
98
+ (η : Ω → ℝ≥0 → ℂ) (κ v c : ℝ) (hv : 0 < v) :
99
+ P {ω | (fun t => affine (d.trace d.time) 1 (η ω t)) ∈
100
+ {f : ℝ≥0 → ℂ | f ∈ PassageSuccess.FrontSuccess
101
+ (fun _ (f : ℝ≥0 → ℂ) => f)
102
+ (fun _ => longitudinalCoordinate d.chart closedRibbon d.front) (fun _ => 0)
103
+ (fun _ => physicalPassageRegion d.stepChart ribbonStepCompact C ε (ε / L))
104
+ (fun _ => d.chart ((d.front : ℂ) + 1)) (ε / L) 0 ∧
105
+ ENNReal.ofReal c ≤ segmentSausageCharge κ f 0
106
+ (FirstFrontPassage.frontTime
107
+ (fun t => longitudinalCoordinate d.chart closedRibbon d.front (f t)) 1)
108
+ v (physicalMiddleRegion d.chart closedRibbon d.front ε)}} =
109
+ P {ω | η ω ∈ PassageSuccess.FrontSuccess
110
+ (fun _ (f : ℝ≥0 → ℂ) => f)
111
+ (fun _ => longitudinalCoordinate d.recenteredChart ribbonStepCompact 0) (fun _ => 0)
112
+ (fun _ => physicalPassageRegion d.recenteredChart ribbonStepCompact C ε (ε / L))
113
+ (fun _ => d.recenteredChart 1) (ε / L) 0 ∧
114
+ ENNReal.ofReal c ≤ segmentSausageCharge κ (η ω) 0
115
+ (FirstFrontPassage.frontTime
116
+ (fun t => longitudinalCoordinate d.recenteredChart ribbonStepCompact 0 (η ω t)) 1)
117
+ v (physicalMiddleRegion d.recenteredChart ribbonStepCompact 0 ε)} := by
118
+ have hh := frontSuccess_mass_probability_affine_local P
119
+ (fun _ => η) (fun _ => longitudinalCoordinate d.recenteredChart ribbonStepCompact 0)
120
+ (fun _ => longitudinalCoordinate d.chart closedRibbon d.front) (fun _ => 0)
121
+ (fun _ => physicalPassageRegion d.recenteredChart ribbonStepCompact C ε (ε / L))
122
+ (fun _ => d.recenteredChart 1) (ε / L) (d.trace d.time) (by norm_num : (0 : ℝ) < 1) 0
123
+ (fun z hz => d.step_progress_agrees z (image_mono inter_subset_left hz))
124
+ κ (physicalMiddleRegion d.recenteredChart ribbonStepCompact 0 ε) hv c
125
+ have htarget : affine (d.trace d.time) 1 (d.recenteredChart 1) =
126
+ d.chart ((d.front : ℂ) + 1) := congrFun d.affine_recentered 1
127
+ simpa only [d.passage_translate, d.middle_translate hε, htarget, one_mul,
128
+ Real.one_rpow, mul_one, mem_ofPred_eq, PassageSuccess.FrontSuccess] using hh
129
+
130
+ end SLEExactGauge
131
+
132
+ end
133
+
134
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonStoppedMassLaw.lean CHANGED
@@ -1,46 +1,46 @@
1
- import OAI.Probability.SLE.Gauge.RibbonStoppedMassTransport
2
-
3
- namespace OAI
4
-
5
- /-! Transfer a completed-ribbon experiment through the actual SLE scaling
6
- law on continuous traces. No uniform step estimate is reapplied to a chart
7
- whose spatial scale varies with the number of strips. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge
14
- open RibbonCoordinates ScaleTraceLaw RibbonPassageScaling
15
-
16
- local instance : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
- local instance : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
-
19
- lemma ribbonStoppedMass_scale_probability
20
- {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω)
21
- (f : Ω → C(ℝ≥0, ℂ)) (hf : Measurable f)
22
- (c : ℝ≥0) (hc : 0 < c)
23
- (hlaw : μ.map (fun ω => scalePath c (f ω)) = μ.map f)
24
- (P : ℂ → ℂ)
25
- (he : Topology.IsClosedEmbedding (fun z : closedRibbon => (c : ℂ) * P z))
26
- (g g' : C(ℂ, ℝ)) (hgg' : ∀ z : ℂ, g' ((c : ℂ) * z) = g z)
27
- (k ε κ : ℝ) {v : ℝ} (hv : 0 < v) (D : Set ℂ) (b : ℝ≥0∞) :
28
- μ {ω | f ω ∈ ribbonStoppedMassEvent P g k ε κ v D b} ≤
29
- μ {ω | f ω ∈ ribbonStoppedMassEvent (fun z => (c : ℂ) * P z) g' k ε κ
30
- ((c : ℝ) * v) (affine 0 c '' D) (ENNReal.ofReal ((c : ℝ) ^ dimension κ) * b)} := by
31
- let E := ribbonStoppedMassEvent (fun z => (c : ℂ) * P z) g' k ε κ
32
- ((c : ℝ) * v) (affine 0 c '' D) (ENNReal.ofReal ((c : ℝ) ^ dimension κ) * b)
33
- have hE : MeasurableSet E := measurableSet_ribbonStoppedMassEvent _ he g' k ε κ _ _ _
34
- calc
35
- _ ≤ μ {ω | scalePath c (f ω) ∈ E} := measure_mono (fun ω hω =>
36
- mem_ribbonStoppedMassEvent_scalePath c hc (f ω) P g g' hgg' k ε κ hv D b hω)
37
- _ = (μ.map (fun ω => scalePath c (f ω))) E :=
38
- (Measure.map_apply ((measurable_scalePath c).comp hf) hE).symm
39
- _ = (μ.map f) E := by rw [hlaw]
40
- _ = _ := Measure.map_apply hf hE
41
-
42
- end SLEExactGauge
43
-
44
- end
45
-
46
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonStoppedMassTransport
2
+
3
+ namespace OAI
4
+
5
+ /-! Transfer a completed-ribbon experiment through the actual SLE scaling
6
+ law on continuous traces. No uniform step estimate is reapplied to a chart
7
+ whose spatial scale varies with the number of strips. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge
14
+ open RibbonCoordinates ScaleTraceLaw RibbonPassageScaling
15
+
16
+ local instance : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
+ local instance : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
+
19
+ lemma ribbonStoppedMass_scale_probability
20
+ {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω)
21
+ (f : Ω → C(ℝ≥0, ℂ)) (hf : Measurable f)
22
+ (c : ℝ≥0) (hc : 0 < c)
23
+ (hlaw : μ.map (fun ω => scalePath c (f ω)) = μ.map f)
24
+ (P : ℂ → ℂ)
25
+ (he : Topology.IsClosedEmbedding (fun z : closedRibbon => (c : ℂ) * P z))
26
+ (g g' : C(ℂ, ℝ)) (hgg' : ∀ z : ℂ, g' ((c : ℂ) * z) = g z)
27
+ (k ε κ : ℝ) {v : ℝ} (hv : 0 < v) (D : Set ℂ) (b : ℝ≥0∞) :
28
+ μ {ω | f ω ∈ ribbonStoppedMassEvent P g k ε κ v D b} ≤
29
+ μ {ω | f ω ∈ ribbonStoppedMassEvent (fun z => (c : ℂ) * P z) g' k ε κ
30
+ ((c : ℝ) * v) (affine 0 c '' D) (ENNReal.ofReal ((c : ℝ) ^ dimension κ) * b)} := by
31
+ let E := ribbonStoppedMassEvent (fun z => (c : ℂ) * P z) g' k ε κ
32
+ ((c : ℝ) * v) (affine 0 c '' D) (ENNReal.ofReal ((c : ℝ) ^ dimension κ) * b)
33
+ have hE : MeasurableSet E := measurableSet_ribbonStoppedMassEvent _ he g' k ε κ _ _ _
34
+ calc
35
+ _ ≤ μ {ω | scalePath c (f ω) ∈ E} := measure_mono (fun ω hω =>
36
+ mem_ribbonStoppedMassEvent_scalePath c hc (f ω) P g g' hgg' k ε κ hv D b hω)
37
+ _ = (μ.map (fun ω => scalePath c (f ω))) E :=
38
+ (Measure.map_apply ((measurable_scalePath c).comp hf) hE).symm
39
+ _ = (μ.map f) E := by rw [hlaw]
40
+ _ = _ := Measure.map_apply hf hE
41
+
42
+ end SLEExactGauge
43
+
44
+ end
45
+
46
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonStoppedMassTransport.lean CHANGED
@@ -1,105 +1,105 @@
1
- import OAI.Probability.SLE.Gauge.RibbonPrefixTransport
2
- import OAI.Probability.SLE.Gauge.RibbonStepSuccess
3
-
4
- namespace OAI
5
-
6
- /-! Exact spatial and capacity transport of a completed ribbon's stopped
7
- mass. The completion is the actual first front of the transported trace. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory ProbabilityTheory
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge
14
- open RibbonCoordinates FirstFrontPassage FrontClockChange ScaleTraceLaw
15
- open FrontSuccessMeasurability RibbonPassageScaling
16
-
17
- local instance : MeasurableSpace C(ℝ≥0, ℂ) := borel _
18
- local instance : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
19
-
20
- lemma firstFrontTime_scalePath_of_finite
21
- (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (g g' : C(ℂ, ℝ))
22
- (hgg' : ∀ z : ℂ, g' ((c : ℂ) * z) = g z) (k : ℝ) (T : ℝ≥0)
23
- (hT : firstFrontTime (fun t => g (p t)) k = (T : WithTop ℝ≥0)) :
24
- firstFrontTime (fun t => g' (scalePath c p t)) k = ((c ^ 2 * T : ℝ≥0) : WithTop ℝ≥0) := by
25
- let e := OrderIso.mulLeft₀ (c ^ 2) (pow_pos hc 2)
26
- have heval (t : ℝ≥0) : scalePath c p (e t) = (c : ℂ) * p t :=
27
- scalePath_at_scaled_time c hc p t
28
- have hclock : (fun t => g' (scalePath c p (e t))) = (fun t => g (p t)) := by
29
- funext t
30
- rw [heval, hgg']
31
- have hhit := firstFrontTime_attained _ (g.continuous.comp p.continuous) k T hT
32
- exact firstFrontTime_of_clock_hit e (fun t => g' (scalePath c p t)) k T
33
- (by rw [hclock]; exact hT) (by rw [heval, hgg']; exact hhit)
34
-
35
- lemma segmentSausageCharge_scalePath
36
- (κ : ℝ) (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (T : ℝ≥0)
37
- {v : ℝ} (hv : 0 < v) (D : Set ℂ) :
38
- segmentSausageCharge κ (scalePath c p) 0 (c ^ 2 * T) ((c : ℝ) * v) (affine 0 c '' D) =
39
- ENNReal.ofReal ((c : ℝ) ^ dimension κ) * segmentSausageCharge κ p 0 T v D := by
40
- let e := OrderIso.mulLeft₀ (c ^ 2) (pow_pos hc 2)
41
- have he0 : e 0 = 0 := by change c ^ 2 * 0 = 0; exact mul_zero _
42
- have hpath : (fun t => scalePath c p (e t)) = (fun t => affine 0 c (p t)) := by
43
- funext t
44
- change scalePath c p (c ^ 2 * t) = affine 0 c (p t)
45
- simpa only [affine, zero_add] using scalePath_at_scaled_time c hc p t
46
- calc
47
- _ = segmentSausageCharge κ (fun t => scalePath c p (e t)) 0 T ((c : ℝ) * v)
48
- (affine 0 c '' D) := by rw [segmentSausageCharge_clock, he0]; rfl
49
- _ = segmentSausageCharge κ (fun t => affine 0 c (p t)) 0 T ((c : ℝ) * v)
50
- (affine 0 c '' D) := by rw [hpath]
51
- _ = _ := segmentSausageCharge_affine κ 0 (show 0 < (c : ℝ) from hc) p 0 T hv D
52
-
53
- def ribbonStoppedMassEvent (P : ℂ → ℂ) (g : C(ℂ, ℝ)) (k ε κ v : ℝ)
54
- (D : Set ℂ) (b : ℝ≥0∞) : Set C(ℝ≥0, ℂ) :=
55
- {p | p ∈ GoodRibbonPrefix (fun p : C(ℝ≥0, ℂ) => (p : ℝ≥0 → ℂ))
56
- (ribbonFrontStop g (fun p : C(ℝ≥0, ℂ) => (p : ℝ≥0 → ℂ)) k) P ε ∧
57
- b ≤ segmentSausageCharge κ p 0 ((firstFrontTime (fun t => g (p t)) k).untopD 0) v D}
58
-
59
- lemma measurableSet_ribbonStoppedMassEvent
60
- (P : ℂ → ℂ) (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z))
61
- (g : C(ℂ, ℝ)) (k ε κ v : ℝ) (D : Set ℂ) (b : ℝ≥0∞) :
62
- MeasurableSet (ribbonStoppedMassEvent P g k ε κ v D b) := by
63
- let ℱ : Filtration ℝ≥0 (borel C(ℝ≥0, ℂ)) :=
64
- Filtration.const ℝ≥0 (borel C(ℝ≥0, ℂ)) le_rfl
65
- let γ := fun p : C(ℝ≥0, ℂ) => (p : ℝ≥0 → ℂ)
66
- have ha : Adapted ℱ (fun t p => γ p t) := by
67
- intro t
68
- change @Measurable C(ℝ≥0, ℂ) ℂ (borel C(ℝ≥0, ℂ)) _ (fun p => p t)
69
- exact (continuous_eval_const t).measurable
70
- have hτ := ribbonFrontStop_stopping ℱ g γ ha (fun p => p.continuous) k
71
- have hg : MeasurableSet (GoodRibbonPrefix γ (ribbonFrontStop g γ k) P ε) :=
72
- hτ.measurableSpace_le _ (goodRibbonPrefix_measurable ℱ γ ha (fun p => p.continuous) _ hτ P he ε)
73
- exact hg.inter (measurableSet_le measurable_const
74
- (segmentSausageCharge_measurable id measurable_id (fun _ => 0)
75
- (fun p => (firstFrontTime (fun t => g (p t)) k).untopD 0)
76
- measurable_const (hτ.measurable'.untopD 0) κ v D))
77
-
78
- /-- Transport uses the same actual completed prefix and a deterministically
79
- scaled mesh, region and mass threshold. -/
80
- theorem mem_ribbonStoppedMassEvent_scalePath
81
- (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (P : ℂ → ℂ)
82
- (g g' : C(ℂ, ℝ)) (hgg' : ∀ z : ℂ, g' ((c : ℂ) * z) = g z)
83
- (k ε κ : ℝ) {v : ℝ} (hv : 0 < v) (D : Set ℂ) (b : ℝ≥0∞)
84
- (hp : p ∈ ribbonStoppedMassEvent P g k ε κ v D b) :
85
- scalePath c p ∈ ribbonStoppedMassEvent (fun z => (c : ℂ) * P z) g' k ε κ
86
- ((c : ℝ) * v) (affine 0 c '' D) (ENNReal.ofReal ((c : ℝ) ^ dimension κ) * b) := by
87
- have hpref : () ∈ GoodRibbonPrefix (fun _ : Unit => (p : ℝ≥0 → ℂ))
88
- (fun _ => firstFrontTime (fun t => g (p t)) k) P ε := hp.1
89
- have hnew := goodRibbonPrefix_scalePath c hc p P g g' hgg' k ε hpref
90
- refine ⟨hnew, ?_⟩
91
- cases hT : firstFrontTime (fun t => g (p t)) k with
92
- | top => exact False.elim (hpref.1 hT)
93
- | coe T =>
94
- have ht := firstFrontTime_scalePath_of_finite c hc p g g' hgg' k T hT
95
- change _ ≤ segmentSausageCharge κ (scalePath c p) 0
96
- ((firstFrontTime (fun t => g' (scalePath c p t)) k).untopD 0) _ _
97
- rw [ht, WithTop.untopD_coe, segmentSausageCharge_scalePath κ c hc p T hv]
98
- apply mul_le_mul' le_rfl
99
- simpa only [hT, WithTop.untopD_coe] using hp.2
100
-
101
- end SLEExactGauge
102
-
103
- end
104
-
105
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.RibbonPrefixTransport
2
+ import OAI.Probability.SLE.Gauge.RibbonStepSuccess
3
+
4
+ namespace OAI
5
+
6
+ /-! Exact spatial and capacity transport of a completed ribbon's stopped
7
+ mass. The completion is the actual first front of the transported trace. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory ProbabilityTheory
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge
14
+ open RibbonCoordinates FirstFrontPassage FrontClockChange ScaleTraceLaw
15
+ open FrontSuccessMeasurability RibbonPassageScaling
16
+
17
+ local instance : MeasurableSpace C(ℝ≥0, ℂ) := borel _
18
+ local instance : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
19
+
20
+ lemma firstFrontTime_scalePath_of_finite
21
+ (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (g g' : C(ℂ, ℝ))
22
+ (hgg' : ∀ z : ℂ, g' ((c : ℂ) * z) = g z) (k : ℝ) (T : ℝ≥0)
23
+ (hT : firstFrontTime (fun t => g (p t)) k = (T : WithTop ℝ≥0)) :
24
+ firstFrontTime (fun t => g' (scalePath c p t)) k = ((c ^ 2 * T : ℝ≥0) : WithTop ℝ≥0) := by
25
+ let e := OrderIso.mulLeft₀ (c ^ 2) (pow_pos hc 2)
26
+ have heval (t : ℝ≥0) : scalePath c p (e t) = (c : ℂ) * p t :=
27
+ scalePath_at_scaled_time c hc p t
28
+ have hclock : (fun t => g' (scalePath c p (e t))) = (fun t => g (p t)) := by
29
+ funext t
30
+ rw [heval, hgg']
31
+ have hhit := firstFrontTime_attained _ (g.continuous.comp p.continuous) k T hT
32
+ exact firstFrontTime_of_clock_hit e (fun t => g' (scalePath c p t)) k T
33
+ (by rw [hclock]; exact hT) (by rw [heval, hgg']; exact hhit)
34
+
35
+ lemma segmentSausageCharge_scalePath
36
+ (κ : ℝ) (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (T : ℝ≥0)
37
+ {v : ℝ} (hv : 0 < v) (D : Set ℂ) :
38
+ segmentSausageCharge κ (scalePath c p) 0 (c ^ 2 * T) ((c : ℝ) * v) (affine 0 c '' D) =
39
+ ENNReal.ofReal ((c : ℝ) ^ dimension κ) * segmentSausageCharge κ p 0 T v D := by
40
+ let e := OrderIso.mulLeft₀ (c ^ 2) (pow_pos hc 2)
41
+ have he0 : e 0 = 0 := by change c ^ 2 * 0 = 0; exact mul_zero _
42
+ have hpath : (fun t => scalePath c p (e t)) = (fun t => affine 0 c (p t)) := by
43
+ funext t
44
+ change scalePath c p (c ^ 2 * t) = affine 0 c (p t)
45
+ simpa only [affine, zero_add] using scalePath_at_scaled_time c hc p t
46
+ calc
47
+ _ = segmentSausageCharge κ (fun t => scalePath c p (e t)) 0 T ((c : ℝ) * v)
48
+ (affine 0 c '' D) := by rw [segmentSausageCharge_clock, he0]; rfl
49
+ _ = segmentSausageCharge κ (fun t => affine 0 c (p t)) 0 T ((c : ℝ) * v)
50
+ (affine 0 c '' D) := by rw [hpath]
51
+ _ = _ := segmentSausageCharge_affine κ 0 (show 0 < (c : ℝ) from hc) p 0 T hv D
52
+
53
+ def ribbonStoppedMassEvent (P : ℂ → ℂ) (g : C(ℂ, ℝ)) (k ε κ v : ℝ)
54
+ (D : Set ℂ) (b : ℝ≥0∞) : Set C(ℝ≥0, ℂ) :=
55
+ {p | p ∈ GoodRibbonPrefix (fun p : C(ℝ≥0, ℂ) => (p : ℝ≥0 → ℂ))
56
+ (ribbonFrontStop g (fun p : C(ℝ≥0, ℂ) => (p : ℝ≥0 → ℂ)) k) P ε ∧
57
+ b ≤ segmentSausageCharge κ p 0 ((firstFrontTime (fun t => g (p t)) k).untopD 0) v D}
58
+
59
+ lemma measurableSet_ribbonStoppedMassEvent
60
+ (P : ℂ → ℂ) (he : Topology.IsClosedEmbedding (fun z : closedRibbon => P z))
61
+ (g : C(ℂ, ℝ)) (k ε κ v : ℝ) (D : Set ℂ) (b : ℝ≥0∞) :
62
+ MeasurableSet (ribbonStoppedMassEvent P g k ε κ v D b) := by
63
+ let ℱ : Filtration ℝ≥0 (borel C(ℝ≥0, ℂ)) :=
64
+ Filtration.const ℝ≥0 (borel C(ℝ≥0, ℂ)) le_rfl
65
+ let γ := fun p : C(ℝ≥0, ℂ) => (p : ℝ≥0 → ℂ)
66
+ have ha : Adapted ℱ (fun t p => γ p t) := by
67
+ intro t
68
+ change @Measurable C(ℝ≥0, ℂ) ℂ (borel C(ℝ≥0, ℂ)) _ (fun p => p t)
69
+ exact (continuous_eval_const t).measurable
70
+ have hτ := ribbonFrontStop_stopping ℱ g γ ha (fun p => p.continuous) k
71
+ have hg : MeasurableSet (GoodRibbonPrefix γ (ribbonFrontStop g γ k) P ε) :=
72
+ hτ.measurableSpace_le _ (goodRibbonPrefix_measurable ℱ γ ha (fun p => p.continuous) _ hτ P he ε)
73
+ exact hg.inter (measurableSet_le measurable_const
74
+ (segmentSausageCharge_measurable id measurable_id (fun _ => 0)
75
+ (fun p => (firstFrontTime (fun t => g (p t)) k).untopD 0)
76
+ measurable_const (hτ.measurable'.untopD 0) κ v D))
77
+
78
+ /-- Transport uses the same actual completed prefix and a deterministically
79
+ scaled mesh, region and mass threshold. -/
80
+ theorem mem_ribbonStoppedMassEvent_scalePath
81
+ (c : ℝ≥0) (hc : 0 < c) (p : C(ℝ≥0, ℂ)) (P : ℂ → ℂ)
82
+ (g g' : C(ℂ, ℝ)) (hgg' : ∀ z : ℂ, g' ((c : ℂ) * z) = g z)
83
+ (k ε κ : ℝ) {v : ℝ} (hv : 0 < v) (D : Set ℂ) (b : ℝ≥0∞)
84
+ (hp : p ∈ ribbonStoppedMassEvent P g k ε κ v D b) :
85
+ scalePath c p ∈ ribbonStoppedMassEvent (fun z => (c : ℂ) * P z) g' k ε κ
86
+ ((c : ℝ) * v) (affine 0 c '' D) (ENNReal.ofReal ((c : ℝ) ^ dimension κ) * b) := by
87
+ have hpref : () ∈ GoodRibbonPrefix (fun _ : Unit => (p : ℝ≥0 → ℂ))
88
+ (fun _ => firstFrontTime (fun t => g (p t)) k) P ε := hp.1
89
+ have hnew := goodRibbonPrefix_scalePath c hc p P g g' hgg' k ε hpref
90
+ refine ⟨hnew, ?_⟩
91
+ cases hT : firstFrontTime (fun t => g (p t)) k with
92
+ | top => exact False.elim (hpref.1 hT)
93
+ | coe T =>
94
+ have ht := firstFrontTime_scalePath_of_finite c hc p g g' hgg' k T hT
95
+ change _ ≤ segmentSausageCharge κ (scalePath c p) 0
96
+ ((firstFrontTime (fun t => g' (scalePath c p t)) k).untopD 0) _ _
97
+ rw [ht, WithTop.untopD_coe, segmentSausageCharge_scalePath κ c hc p T hv]
98
+ apply mul_le_mul' le_rfl
99
+ simpa only [hT, WithTop.untopD_coe] using hp.2
100
+
101
+ end SLEExactGauge
102
+
103
+ end
104
+
105
+ end OAI
lean/OAI/Probability/SLE/Gauge/RibbonSurvival.lean CHANGED
@@ -1,81 +1,81 @@
1
- import OAI.Probability.SLE.Geometry.GuideTube
2
- import OAI.Probability.SLE.NearRealContraction
3
-
4
- namespace OAI
5
-
6
- /-! Actual surviving-component assertions for access rays and the splice.
7
- Containment of the past in the initial rectangle implies that every point
8
- above or beside it belongs to the unbounded surviving component. -/
9
-
10
- noncomputable section
11
- open Set Filter MeasureTheory Metric
12
- open scoped Topology NNReal
13
-
14
- namespace SLEExactGauge
15
-
16
- theorem survives_of_unbounded_free_curve
17
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0) (α : ℝ≥0 → ℂ) (hα : Continuous α)
18
- (hfree : range α ⊆ upperHalfPlane \ (γ '' Icc 0 T))
19
- (hunbounded : ¬ Bornology.IsBounded (range α)) :
20
- range α ⊆ survivingDomain γ T := by
21
- rintro z ⟨u, rfl⟩
22
- refine ⟨hfree (mem_range_self u), ?_⟩
23
- intro hb
24
- apply hunbounded
25
- exact hb.subset ((isPreconnected_range hα).subset_connectedComponentIn
26
- (mem_range_self u) hfree)
27
-
28
- def upwardRay (z : ℂ) (u : ℝ≥0) : ℂ := z + (u : ℝ) * Complex.I
29
-
30
- theorem upwardRay_continuous (z : ℂ) : Continuous (upwardRay z) :=
31
- continuous_const.add ((Complex.continuous_ofReal.comp NNReal.continuous_coe).mul continuous_const)
32
-
33
- theorem upwardRay_unbounded (z : ℂ) : ¬ Bornology.IsBounded (range (upwardRay z)) := by
34
- intro hb
35
- obtain ⟨R, hR, hbound⟩ := hb.exists_pos_norm_lt
36
- let u : ℝ≥0 := ⟨R + |z.im| + 1, by positivity⟩
37
- have hu := hbound (upwardRay z u) (mem_range_self u)
38
- have hi := Complex.im_le_norm (upwardRay z u)
39
- simp only [upwardRay, Complex.add_im, Complex.mul_im, Complex.ofReal_re,
40
- Complex.I_im, mul_one, Complex.ofReal_im, Complex.I_re, mul_zero, add_zero] at hi
41
- change z.im + (R + |z.im| + 1) ≤ ‖upwardRay z u‖ at hi
42
- linarith [neg_le_abs z.im]
43
-
44
- theorem outside_initial_rectangle_survives
45
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0) (B : ℝ)
46
- (hpast : γ '' Icc 0 T ⊆ GuideSplice.closedInitialRectangle B) :
47
- upperHalfPlane \ GuideSplice.closedInitialRectangle B ⊆ survivingDomain γ T := by
48
- intro z hz
49
- have hfree : range (upwardRay z) ⊆ upperHalfPlane \ (γ '' Icc 0 T) := by
50
- rintro w ⟨u, rfl⟩
51
- have him : (upwardRay z u).im = z.im + (u : ℝ) := by simp [upwardRay]
52
- have hre : (upwardRay z u).re = z.re := by simp [upwardRay]
53
- refine ⟨by change 0 < (upwardRay z u).im; rw [him]; exact add_pos_of_pos_of_nonneg hz.1 u.coe_nonneg, ?_⟩
54
- intro hp
55
- have hrect := hpast hp
56
- change |(upwardRay z u).re| ≤ B / 16 ∧
57
- 0 ≤ (upwardRay z u).im ∧ (upwardRay z u).im ≤ B / 4 at hrect
58
- apply hz.2
59
- change |z.re| ≤ B / 16 ∧ 0 ≤ z.im ∧ z.im ≤ B / 4
60
- refine ⟨by simpa only [hre] using hrect.1, hz.1.le, ?_⟩
61
- rw [him] at hrect
62
- linarith [u.coe_nonneg, hrect.2.2]
63
- have hs := survives_of_unbounded_free_curve γ T (upwardRay z)
64
- (upwardRay_continuous z) hfree (upwardRay_unbounded z) (mem_range_self 0)
65
- simpa only [upwardRay, NNReal.coe_zero, Complex.ofReal_zero, zero_mul, add_zero] using hs
66
-
67
- /-- The open continuation tube avoids the actual filled hull whenever the
68
- past lies in the containing rectangle; no filled-hull containment is assumed. -/
69
- theorem continuationTube_subset_survivingDomain
70
- (γ : ℝ≥0 → ℂ) (T : ℝ≥0) (B : ℝ)
71
- (hpast : γ '' Icc 0 T ⊆ GuideSplice.closedInitialRectangle B)
72
- (F : ℂ → ℂ) (a : ℂ) (r : ℝ) (O : Set ℂ) :
73
- GuideSplice.continuationTube F a r B O ⊆ survivingDomain γ T := by
74
- intro z hz
75
- exact outside_initial_rectangle_survives γ T B hpast ⟨hz.1.1, hz.2⟩
76
-
77
- end SLEExactGauge
78
-
79
- end
80
-
81
- end OAI
 
1
+ import OAI.Probability.SLE.Geometry.GuideTube
2
+ import OAI.Probability.SLE.NearRealContraction
3
+
4
+ namespace OAI
5
+
6
+ /-! Actual surviving-component assertions for access rays and the splice.
7
+ Containment of the past in the initial rectangle implies that every point
8
+ above or beside it belongs to the unbounded surviving component. -/
9
+
10
+ noncomputable section
11
+ open Set Filter MeasureTheory Metric
12
+ open scoped Topology NNReal
13
+
14
+ namespace SLEExactGauge
15
+
16
+ theorem survives_of_unbounded_free_curve
17
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0) (α : ℝ≥0 → ℂ) (hα : Continuous α)
18
+ (hfree : range α ⊆ upperHalfPlane \ (γ '' Icc 0 T))
19
+ (hunbounded : ¬ Bornology.IsBounded (range α)) :
20
+ range α ⊆ survivingDomain γ T := by
21
+ rintro z ⟨u, rfl⟩
22
+ refine ⟨hfree (mem_range_self u), ?_⟩
23
+ intro hb
24
+ apply hunbounded
25
+ exact hb.subset ((isPreconnected_range hα).subset_connectedComponentIn
26
+ (mem_range_self u) hfree)
27
+
28
+ def upwardRay (z : ℂ) (u : ℝ≥0) : ℂ := z + (u : ℝ) * Complex.I
29
+
30
+ theorem upwardRay_continuous (z : ℂ) : Continuous (upwardRay z) :=
31
+ continuous_const.add ((Complex.continuous_ofReal.comp NNReal.continuous_coe).mul continuous_const)
32
+
33
+ theorem upwardRay_unbounded (z : ℂ) : ¬ Bornology.IsBounded (range (upwardRay z)) := by
34
+ intro hb
35
+ obtain ⟨R, hR, hbound⟩ := hb.exists_pos_norm_lt
36
+ let u : ℝ≥0 := ⟨R + |z.im| + 1, by positivity⟩
37
+ have hu := hbound (upwardRay z u) (mem_range_self u)
38
+ have hi := Complex.im_le_norm (upwardRay z u)
39
+ simp only [upwardRay, Complex.add_im, Complex.mul_im, Complex.ofReal_re,
40
+ Complex.I_im, mul_one, Complex.ofReal_im, Complex.I_re, mul_zero, add_zero] at hi
41
+ change z.im + (R + |z.im| + 1) ≤ ‖upwardRay z u‖ at hi
42
+ linarith [neg_le_abs z.im]
43
+
44
+ theorem outside_initial_rectangle_survives
45
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0) (B : ℝ)
46
+ (hpast : γ '' Icc 0 T ⊆ GuideSplice.closedInitialRectangle B) :
47
+ upperHalfPlane \ GuideSplice.closedInitialRectangle B ⊆ survivingDomain γ T := by
48
+ intro z hz
49
+ have hfree : range (upwardRay z) ⊆ upperHalfPlane \ (γ '' Icc 0 T) := by
50
+ rintro w ⟨u, rfl⟩
51
+ have him : (upwardRay z u).im = z.im + (u : ℝ) := by simp [upwardRay]
52
+ have hre : (upwardRay z u).re = z.re := by simp [upwardRay]
53
+ refine ⟨by change 0 < (upwardRay z u).im; rw [him]; exact add_pos_of_pos_of_nonneg hz.1 u.coe_nonneg, ?_⟩
54
+ intro hp
55
+ have hrect := hpast hp
56
+ change |(upwardRay z u).re| ≤ B / 16 ∧
57
+ 0 ≤ (upwardRay z u).im ∧ (upwardRay z u).im ≤ B / 4 at hrect
58
+ apply hz.2
59
+ change |z.re| ≤ B / 16 ∧ 0 ≤ z.im ∧ z.im ≤ B / 4
60
+ refine ⟨by simpa only [hre] using hrect.1, hz.1.le, ?_⟩
61
+ rw [him] at hrect
62
+ linarith [u.coe_nonneg, hrect.2.2]
63
+ have hs := survives_of_unbounded_free_curve γ T (upwardRay z)
64
+ (upwardRay_continuous z) hfree (upwardRay_unbounded z) (mem_range_self 0)
65
+ simpa only [upwardRay, NNReal.coe_zero, Complex.ofReal_zero, zero_mul, add_zero] using hs
66
+
67
+ /-- The open continuation tube avoids the actual filled hull whenever the
68
+ past lies in the containing rectangle; no filled-hull containment is assumed. -/
69
+ theorem continuationTube_subset_survivingDomain
70
+ (γ : ℝ≥0 → ℂ) (T : ℝ≥0) (B : ℝ)
71
+ (hpast : γ '' Icc 0 T ⊆ GuideSplice.closedInitialRectangle B)
72
+ (F : ℂ → ℂ) (a : ℂ) (r : ℝ) (O : Set ℂ) :
73
+ GuideSplice.continuationTube F a r B O ⊆ survivingDomain γ T := by
74
+ intro z hz
75
+ exact outside_initial_rectangle_survives γ T B hpast ⟨hz.1.1, hz.2⟩
76
+
77
+ end SLEExactGauge
78
+
79
+ end
80
+
81
+ end OAI
lean/OAI/Probability/SLE/Gauge/SequencePassage.lean CHANGED
@@ -1,124 +1,124 @@
1
- import OAI.Probability.SLE.Geometry.BoundedSpliceProbability
2
- import OAI.Probability.SLE.Gauge.FirstFrontPassage
3
- import OAI.Probability.SLE.Geometry.UniformAccessLocalization
4
-
5
- namespace OAI
6
-
7
- /-! Sequencewise ribbon passage from the actual bounded first-height event.
8
- The early event is stopped-image containment, and the retained mass window is
9
- the actual first front crossing constructed from the continuation. -/
10
-
11
- noncomputable section
12
- open Set Filter MeasureTheory ProbabilityTheory Metric
13
- open scoped Topology NNReal ENNReal
14
-
15
- namespace SLEExactGauge.SequencePassage
16
- open FirstHeightSupport EarlyPassageLocalization FirstFrontPassage
17
-
18
- /-- The actual stopped-image events give one positive splice probability.
19
- The finite initial part of the sequence does not need an early-loss estimate. -/
20
- theorem eventual_bounded_splice_probability
21
- {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
22
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
23
- (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
24
- (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
25
- (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
26
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
27
- (γ ω) (G ω) (F₀ ω))
28
- (hboundary : PublishedLoewnerBoundaryExtension)
29
- (hsupport : PublishedGeometricTubeSupport P γ)
30
- (B r : ℝ) (hB : 0 < B) (hr : 0 < r) (Tc : ℝ≥0)
31
- (F : ℂ → ℂ) (hF : ContinuousOn F upperHalfPlane) (a : ℂ)
32
- (O W : Set ℂ) (hO : IsOpen O) (hW : IsOpen W)
33
- (β : ℝ → ℂ) (tB T : ℝ) (htB : 0 < tB) (htBT : tB < T)
34
- (hβ : ContinuousOn β (Icc 0 T)) (hi : InjOn β (Icc 0 T))
35
- (hβH : ∀ t ∈ Ioc 0 T, 0 < (β t).im)
36
- (hcross : ‖β tB‖ = B) (hafter : ∀ t ∈ Ioc tB T, B < ‖β t‖)
37
- (hcircle : ∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4)
38
- (hsector : ∀ z : ℂ, B / 8 ≤ ‖z‖ → ‖z‖ ≤ B → ‖z‖ / 2 ≤ z.im →
39
- ‖F z - a‖ < r / 4)
40
- (htail : F '' (β '' Icc tB T) ⊆ O) (hend : β T ∈ W)
41
- (Fbar : ℕ → ℂ → OnePoint ℂ)
42
- (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
43
- (aₙ : ℕ → ℂ) (ρ : ℝ)
44
- (hpositive : 0 < P (stoppedNarrowCertificate γ
45
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc))
46
- (hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
47
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
48
- stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
49
- (Fbar n) (aₙ n) ρ) ≤
50
- P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2) :
51
- ∃ q : ℝ, 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P
52
- (stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
53
- (Fbar n) (aₙ n) ρ ∩
54
- (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc ∩
55
- stoppedPhysicalTube γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
56
- (parameterContinuationRegion F a r O) W)) := by
57
- classical
58
- let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
59
- let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
60
- let σ := fun ω => boundedFirstHeightTime (γ ω) B Tc
61
- have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
62
- have hσ := boundedFirstHeightTime_isStoppingTime ℱ γ ha (fun ω => (hw ω).1) B Tc
63
- let E := stoppedNarrowCertificate γ σ B Tc
64
- let H : ℕ → Set Ω := fun n => stoppedImageEvent γ σ (Fbar n) (aₙ n) ρ
65
- let C := stoppedPhysicalTube γ σ (parameterContinuationRegion F a r O) W
66
- have hH : ∀ n, MeasurableSet[hσ.measurableSpace] (H n) := fun n =>
67
- stoppedImageEvent_measurable ℱ γ ha (fun ω => (hw ω).1)
68
- (fun ω t => (hw ω).2.2.1 t) σ hσ Tc
69
- (fun ω => boundedFirstHeightTime_le (γ ω) B Tc) (Fbar n) (hbar n) (aₙ n) ρ
70
- let H' : ℕ → Set Ω := fun n => if P (E \ H n) ≤ P E / 2 then H n else univ
71
- have hH' : ∀ n, MeasurableSet[hσ.measurableSpace] (H' n) := by
72
- intro n
73
- dsimp only [H']
74
- split_ifs
75
- · exact hH n
76
- · exact MeasurableSet.univ
77
- have hmiss : ∀ n, P (E \ H' n) ≤ P E / 2 := by
78
- intro n
79
- dsimp only [H']
80
- split_ifs with hn
81
- · exact hn
82
- · simp only [sdiff_univ, measure_empty, zero_le]
83
- obtain ⟨q, hq, hqH⟩ := bounded_firstHeight_splice_varying_probability
84
- κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hboundary hsupport B r hB hr Tc
85
- F hF a O W hO hW β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector htail hend
86
- H' hH' hpositive hmiss
87
- have hqtop : q ≠ ⊤ := ne_top_of_le_ne_top (measure_ne_top P _) (hqH 0)
88
- refine ⟨q.toReal, ENNReal.toReal_pos hq.ne' hqtop, ?_⟩
89
- filter_upwards [hmissing] with n hn
90
- have heq : H' n = H n := ite_eq_left hn
91
- rw [ENNReal.ofReal_toReal hqtop]
92
- have hh := hqH n
93
- rw [heq] at hh
94
- exact hh.trans (measure_mono (fun _ hω => ⟨hω.1.2, hω.1.1, hω.2⟩))
95
-
96
- /-- The published support input and proved scaling law give a real positive
97
- lower probability, uniformly in the first-height scale. -/
98
- theorem uniform_bounded_firstHeight_real_probability
99
- {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
100
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
101
- (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
102
- (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
103
- (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
104
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
105
- (γ ω) (G ω) (F₀ ω))
106
- (hsupport : PublishedGeometricTubeSupport P γ) :
107
- ∃ T₀ : ℝ≥0, 0 < T₀ ∧ ∃ q : ℝ, 0 < q ∧ ∀ B : ℝ, 0 < B →
108
- ENNReal.ofReal q ≤ P (stoppedNarrowCertificate γ
109
- (fun ω => boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2))
110
- B (T₀ * (Real.toNNReal B) ^ 2)) := by
111
- let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
112
- obtain ⟨T₀, hT₀, q, hq, hprob⟩ := uniform_boundedFirstHeight_probability
113
- κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hsupport
114
- have hqtop : q ≠ ⊤ := ne_top_of_le_ne_top (measure_ne_top P _) (hprob 1 zero_lt_one)
115
- refine ⟨T₀, hT₀, q.toReal, ENNReal.toReal_pos hq.ne' hqtop, ?_⟩
116
- intro B hB
117
- have hh := hprob (Real.toNNReal B) (Real.toNNReal_pos.mpr hB)
118
- simpa only [ENNReal.ofReal_toReal hqtop, Real.coe_toNNReal B hB.le] using hh
119
-
120
- end SLEExactGauge.SequencePassage
121
-
122
- end
123
-
124
- end OAI
 
1
+ import OAI.Probability.SLE.Geometry.BoundedSpliceProbability
2
+ import OAI.Probability.SLE.Gauge.FirstFrontPassage
3
+ import OAI.Probability.SLE.Geometry.UniformAccessLocalization
4
+
5
+ namespace OAI
6
+
7
+ /-! Sequencewise ribbon passage from the actual bounded first-height event.
8
+ The early event is stopped-image containment, and the retained mass window is
9
+ the actual first front crossing constructed from the continuation. -/
10
+
11
+ noncomputable section
12
+ open Set Filter MeasureTheory ProbabilityTheory Metric
13
+ open scoped Topology NNReal ENNReal
14
+
15
+ namespace SLEExactGauge.SequencePassage
16
+ open FirstHeightSupport EarlyPassageLocalization FirstFrontPassage
17
+
18
+ /-- The actual stopped-image events give one positive splice probability.
19
+ The finite initial part of the sequence does not need an early-loss estimate. -/
20
+ theorem eventual_bounded_splice_probability
21
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
22
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
23
+ (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
24
+ (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
25
+ (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
26
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
27
+ (γ ω) (G ω) (F₀ ω))
28
+ (hboundary : PublishedLoewnerBoundaryExtension)
29
+ (hsupport : PublishedGeometricTubeSupport P γ)
30
+ (B r : ℝ) (hB : 0 < B) (hr : 0 < r) (Tc : ℝ≥0)
31
+ (F : ℂ → ℂ) (hF : ContinuousOn F upperHalfPlane) (a : ℂ)
32
+ (O W : Set ℂ) (hO : IsOpen O) (hW : IsOpen W)
33
+ (β : ℝ → ℂ) (tB T : ℝ) (htB : 0 < tB) (htBT : tB < T)
34
+ (hβ : ContinuousOn β (Icc 0 T)) (hi : InjOn β (Icc 0 T))
35
+ (hβH : ∀ t ∈ Ioc 0 T, 0 < (β t).im)
36
+ (hcross : ‖β tB‖ = B) (hafter : ∀ t ∈ Ioc tB T, B < ‖β t‖)
37
+ (hcircle : ∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4)
38
+ (hsector : ∀ z : ℂ, B / 8 ≤ ‖z‖ → ‖z‖ ≤ B → ‖z‖ / 2 ≤ z.im →
39
+ ‖F z - a‖ < r / 4)
40
+ (htail : F '' (β '' Icc tB T) ⊆ O) (hend : β T ∈ W)
41
+ (Fbar : ℕ → ℂ → OnePoint ℂ)
42
+ (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
43
+ (aₙ : ℕ → ℂ) (ρ : ℝ)
44
+ (hpositive : 0 < P (stoppedNarrowCertificate γ
45
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc))
46
+ (hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
47
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
48
+ stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
49
+ (Fbar n) (aₙ n) ρ) ≤
50
+ P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2) :
51
+ ∃ q : ℝ, 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P
52
+ (stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
53
+ (Fbar n) (aₙ n) ρ ∩
54
+ (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc ∩
55
+ stoppedPhysicalTube γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
56
+ (parameterContinuationRegion F a r O) W)) := by
57
+ classical
58
+ let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
59
+ let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
60
+ let σ := fun ω => boundedFirstHeightTime (γ ω) B Tc
61
+ have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
62
+ have hσ := boundedFirstHeightTime_isStoppingTime ℱ γ ha (fun ω => (hw ω).1) B Tc
63
+ let E := stoppedNarrowCertificate γ σ B Tc
64
+ let H : ℕ → Set Ω := fun n => stoppedImageEvent γ σ (Fbar n) (aₙ n) ρ
65
+ let C := stoppedPhysicalTube γ σ (parameterContinuationRegion F a r O) W
66
+ have hH : ∀ n, MeasurableSet[hσ.measurableSpace] (H n) := fun n =>
67
+ stoppedImageEvent_measurable ℱ γ ha (fun ω => (hw ω).1)
68
+ (fun ω t => (hw ω).2.2.1 t) σ hσ Tc
69
+ (fun ω => boundedFirstHeightTime_le (γ ω) B Tc) (Fbar n) (hbar n) (aₙ n) ρ
70
+ let H' : ℕ → Set Ω := fun n => if P (E \ H n) ≤ P E / 2 then H n else univ
71
+ have hH' : ∀ n, MeasurableSet[hσ.measurableSpace] (H' n) := by
72
+ intro n
73
+ dsimp only [H']
74
+ split_ifs
75
+ · exact hH n
76
+ · exact MeasurableSet.univ
77
+ have hmiss : ∀ n, P (E \ H' n) ≤ P E / 2 := by
78
+ intro n
79
+ dsimp only [H']
80
+ split_ifs with hn
81
+ · exact hn
82
+ · simp only [sdiff_univ, measure_empty, zero_le]
83
+ obtain ⟨q, hq, hqH⟩ := bounded_firstHeight_splice_varying_probability
84
+ κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hboundary hsupport B r hB hr Tc
85
+ F hF a O W hO hW β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector htail hend
86
+ H' hH' hpositive hmiss
87
+ have hqtop : q ≠ ⊤ := ne_top_of_le_ne_top (measure_ne_top P _) (hqH 0)
88
+ refine ⟨q.toReal, ENNReal.toReal_pos hq.ne' hqtop, ?_⟩
89
+ filter_upwards [hmissing] with n hn
90
+ have heq : H' n = H n := ite_eq_left hn
91
+ rw [ENNReal.ofReal_toReal hqtop]
92
+ have hh := hqH n
93
+ rw [heq] at hh
94
+ exact hh.trans (measure_mono (fun _ hω => ⟨hω.1.2, hω.1.1, hω.2⟩))
95
+
96
+ /-- The published support input and proved scaling law give a real positive
97
+ lower probability, uniformly in the first-height scale. -/
98
+ theorem uniform_bounded_firstHeight_real_probability
99
+ {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
100
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
101
+ (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
102
+ (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
103
+ (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
104
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
105
+ (γ ω) (G ω) (F₀ ω))
106
+ (hsupport : PublishedGeometricTubeSupport P γ) :
107
+ ∃ T₀ : ℝ≥0, 0 < T₀ ∧ ∃ q : ℝ, 0 < q ∧ ∀ B : ℝ, 0 < B →
108
+ ENNReal.ofReal q ≤ P (stoppedNarrowCertificate γ
109
+ (fun ω => boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2))
110
+ B (T₀ * (Real.toNNReal B) ^ 2)) := by
111
+ let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
112
+ obtain ⟨T₀, hT₀, q, hq, hprob⟩ := uniform_boundedFirstHeight_probability
113
+ κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hsupport
114
+ have hqtop : q ≠ ⊤ := ne_top_of_le_ne_top (measure_ne_top P _) (hprob 1 zero_lt_one)
115
+ refine ⟨T₀, hT₀, q.toReal, ENNReal.toReal_pos hq.ne' hqtop, ?_⟩
116
+ intro B hB
117
+ have hh := hprob (Real.toNNReal B) (Real.toNNReal_pos.mpr hB)
118
+ simpa only [ENNReal.ofReal_toReal hqtop, Real.coe_toNNReal B hB.le] using hh
119
+
120
+ end SLEExactGauge.SequencePassage
121
+
122
+ end
123
+
124
+ end OAI
lean/OAI/Probability/SLE/Gauge/SequencePassageRegions.lean CHANGED
@@ -1,253 +1,253 @@
1
- import OAI.Probability.SLE.Gauge.SequencePassage
2
- import OAI.Probability.SLE.Gauge.PassageSuccessRegions
3
-
4
- namespace OAI
5
-
6
- /-! Sequence passage with compact-dependent moving middle-strip margins.
7
- No inclusion of the entire limiting open middle strip is required. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory ProbabilityTheory Metric
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge.SequencePassage
14
- open FirstHeightSupport EarlyPassageLocalization FirstFrontPassage PassageSuccess
15
-
16
- local instance regionSequencePathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
- local instance regionSequencePathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
-
19
- theorem bounded_splice_sequence_success_middle_regions
20
- {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
21
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
22
- (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
23
- (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
24
- (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
25
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
26
- (γ ω) (G ω) (F₀ ω))
27
- (hboundary : PublishedLoewnerBoundaryExtension)
28
- (hsupport : PublishedGeometricTubeSupport P γ)
29
- (B r : ℝ) (hB : 0 < B) (hr : 0 < r) (Tc : ℝ≥0)
30
- (F : ℂ → ℂ) (hF : DifferentiableOn ℂ F upperHalfPlane) (a : ℂ)
31
- (O W : Set ℂ) (hO : IsOpen O) (hW : IsOpen W)
32
- (β : ℝ → ℂ) (tB T : ℝ) (htB : 0 < tB) (htBT : tB < T)
33
- (hβ : ContinuousOn β (Icc 0 T)) (hi : InjOn β (Icc 0 T))
34
- (hβH : ∀ t ∈ Ioc 0 T, 0 < (β t).im)
35
- (hcross : ‖β tB‖ = B) (hafter : ∀ t ∈ Ioc tB T, B < ‖β t‖)
36
- (hcircle : ∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4)
37
- (hsector : ∀ z : ℂ, B / 8 ≤ ‖z‖ → ‖z‖ ≤ B → ‖z‖ / 2 ≤ z.im →
38
- ‖F z - a‖ < r / 4)
39
- (htail : F '' (β '' Icc tB T) ⊆ O) (hend : β T ∈ W)
40
- (Fbar : ℕ → ℂ → OnePoint ℂ)
41
- (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
42
- (aₙ : ℕ → ℂ) (ρ : ℝ)
43
- (Fₙ : ℕ → ℂ → ℂ)
44
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
45
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
46
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
47
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
48
- (hext : ∀ n z, z ∈ upperHalfPlane → Fbar n z = (Fₙ n z : OnePoint ℂ))
49
- (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
50
- (hp : ContinuousOn p U) (hpn : ∀ᶠ n in atTop, ContinuousOn (pₙ n) U)
51
- (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
52
- (hOU : ball a (r / 2) ∪ O ⊆ U)
53
- (hWfront : ∀ z ∈ W, 1 < p (F z))
54
- (hstartBall : ∀ z ∈ ball a (r / 4), p z < 1 / 3)
55
- (hearlyBall : ∀ᶠ n in atTop, ball (aₙ n) ρ ⊆ U ∩ {z | pₙ n z < 1})
56
- (V : Set ℂ) (hV : IsOpen V) (hOV : ball a (r / 2) ∪ O ⊆ V)
57
- (Vₙ : ℕ → Set ℂ) (hVVₙ : ∀ᶠ n in atTop, V ⊆ Vₙ n)
58
- (bₙ : ℕ → ℂ) (ε : ℝ)
59
- (hterminal : ∀ n z, z ∈ Vₙ n → pₙ n z = 1 → ‖z - bₙ n‖ < ε / 4)
60
- (hearlyAllowed : ∀ᶠ n in atTop, ball (aₙ n) ρ ⊆ Vₙ n)
61
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
62
- (η : ℕ → Ω → ℝ≥0 → ℂ) (hηc : ∀ n, ∀ᵐ ω ∂P, Continuous (η n ω))
63
- (hηbar : ∀ n, ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ))
64
- (Rₙ : ℕ → Set ℂ) (hregion : ∀ᶠ n in atTop, U ∩ {z | (1 / 3 : ℝ) < pₙ n z ∧ pₙ n z < 2 / 3} ⊆ Rₙ n)
65
- (hpositive : 0 < P (stoppedNarrowCertificate γ
66
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc))
67
- (hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
68
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
69
- stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
70
- (Fbar n) (aₙ n) ρ) ≤
71
- P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2) :
72
- ∃ c q : ℝ, 0 < c ∧ 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P {ω |
73
- ω ∈ FrontSuccess η pₙ (fun ω => boundedFirstHeightTime (γ ω) B Tc) Vₙ bₙ ε n ∧
74
- ENNReal.ofReal c ≤ segmentSausageCharge κ (η n ω)
75
- (boundedFirstHeightTime (γ ω) B Tc)
76
- (frontTime (fun t => pₙ n (η n ω t)) 1) (v n) (Rₙ n)} := by
77
- let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
78
- let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
79
- let σ := fun ω => boundedFirstHeightTime (γ ω) B Tc
80
- have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
81
- have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) := (ha t).mono (ℱ.le t) le_rfl
82
- have hSLE : IsOrdinaryChordalSLE κ γ P :=
83
- ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨G ω, F₀ ω, hw ω⟩)⟩
84
- have hσ := boundedFirstHeightTime_isStoppingTime ℱ γ ha (fun ω => (hw ω).1) B Tc
85
- have hσm : Measurable σ := stopping_time_measurable_nnreal hσ
86
- let f := sourceTracePath γ (fun ω => (hw ω).1)
87
- have hfm : Measurable f := source_path_measurable f hγm
88
- let Uparam := parameterContinuationRegion F a r O
89
- have hUparam : IsOpen Uparam := parameterContinuationRegion_isOpen hF.continuousOn a r hO
90
- let C := stoppedPhysicalTube γ σ Uparam W
91
- let E := stoppedNarrowCertificate γ σ B Tc ∩ C
92
- let H : ℕ → Set Ω := fun n => stoppedImageEvent γ σ (Fbar n) (aₙ n) ρ
93
- have hEm : MeasurableSet E := by
94
- apply MeasurableSet.inter
95
- · exact hσ.measurableSpace_le _
96
- (boundedFirstHeight_certificate_measurable ℱ γ ha (fun ω => (hw ω).1) B Tc)
97
- · exact measurableSet_stoppedPhysicalTube γ (fun ω => (hw ω).1) hγm σ hσm Uparam W hUparam hW
98
- have hstart : ∀ ω ∈ E, p (F (γ ω (σ ω))) < 1 / 3 := by
99
- intro ω hω
100
- have hnorm := bounded_firstHeight_norm (f ω) (hw ω).2.1 (hw ω).2.2.1
101
- hB Tc hω.1 (σ ω) ⟨bot_le, le_rfl⟩
102
- change ‖γ ω (σ ω)‖ < B / 2 at hnorm
103
- have hheight : (γ ω (σ ω)).im = B / 4 := hω.1.2.1
104
- have him := Complex.im_le_norm (γ ω (σ ω))
105
- have hsmall := hsector (γ ω (σ ω)) (by linarith) (by linarith)
106
- (by rw [hheight]; linarith)
107
- exact hstartBall _ (by simpa only [mem_ball, dist_eq_norm] using hsmall)
108
- obtain ⟨q, hq, hprob⟩ := eventual_bounded_splice_probability κ hκ hκ8 B₀ hB₀ hm hc
109
- γ G F₀ hw hboundary hsupport B r hB hr Tc F hF.continuousOn a O W hO hW
110
- β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector htail hend Fbar hbar aₙ ρ
111
- hpositive hmissing
112
- have hη : ∀ n, ∀ᵐ ω ∂P, ∀ t : ℝ≥0, σ ω ≤ t → γ ω t ∈ upperHalfPlane →
113
- η n ω t = Fₙ n (γ ω t) := by
114
- intro n
115
- filter_upwards [hηbar n] with ω hω
116
- intro t _ ht
117
- exact OnePoint.coe_injective ((hω t).symm.trans (hext n _ ht))
118
- have hearly : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n ∩ E →
119
- MapsTo (η n ω) (Icc 0 (σ ω)) U ∧
120
- ∀ t ∈ Icc 0 (σ ω), pₙ n (η n ω t) < 1 := by
121
- filter_upwards [hearlyBall] with n hn
122
- filter_upwards [hηbar n] with ω hω
123
- intro hmem
124
- have himage : MapsTo (η n ω) (Icc 0 (σ ω)) (ball (aₙ n) ρ) := by
125
- intro t ht
126
- obtain ⟨z, hz, he⟩ := hmem.1 t ht
127
- have heq : z = η n ω t := OnePoint.coe_injective (he.trans (hω t))
128
- exact heq ▸ hz
129
- exact ⟨fun _ ht => (hn (himage ht)).1, fun _ ht => (hn (himage ht)).2⟩
130
- have hearlyV : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n ∩ E →
131
- MapsTo (η n ω) (Icc 0 (σ ω)) (Vₙ n) := by
132
- filter_upwards [hearlyAllowed] with n hn
133
- filter_upwards [hηbar n] with ω hω
134
- intro hmem t ht
135
- obtain ⟨z, hz, he⟩ := hmem.1 t ht
136
- have heq : z = η n ω t := OnePoint.coe_injective (he.trans (hω t))
137
- exact hn (heq ▸ hz)
138
- obtain ⟨c, hcpos, hmass⟩ := retained_tube_firstFront_success_mass_middle_regions P κ hκ hκ8
139
- f hfm hSLE σ hσm Fₙ F hFn hinj hF hne hconv Uparam W hUparam inter_subset_left
140
- pₙ p U hU hp hpn hpconv (fun _ hz => hOU hz.2) hWfront E hEm inter_subset_right
141
- hstart V hV (fun _ hz => hOV hz.2) Vₙ hVVₙ bₙ ε hterminal
142
- v hv hlim η Rₙ hregion H q hq hprob hη hηc hearly hearlyV
143
- exact ⟨c, q / 8, hcpos, by positivity, hmass⟩
144
-
145
-
146
- theorem localized_sequence_passage_success_middle_regions
147
- {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
148
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
149
- (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
150
- (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
151
- (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
152
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
153
- (γ ω) (G ω) (F₀ ω))
154
- (hboundary : PublishedLoewnerBoundaryExtension)
155
- (hsupport : PublishedGeometricTubeSupport P γ)
156
- (Fₙ : ℕ → ℂ → ℂ) (Fbar : ℕ → ℂ → OnePoint ℂ)
157
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
158
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
159
- (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
160
- (hext : ∀ n z, z ∈ upperHalfPlane → Fbar n z = (Fₙ n z : OnePoint ℂ))
161
- (δ : ℝ) (hδ : 0 < δ) (βₙ : ℕ → ℝ → ℂ)
162
- (hβc : ∀ n, ContinuousOn (βₙ n) (Icc 0 δ)) (hβ0 : ∀ n, βₙ n 0 = 0)
163
- (hβHn : ∀ n t, t ∈ Icc 0 δ → 0 ≤ (βₙ n t).im)
164
- (z : ℂ) (hz : z ≠ 0) (hβconv : Tendsto (fun n => βₙ n δ) atTop (𝓝 z))
165
- (αₙ : ℕ → ℝ → ℂ) (aₙ : ℕ → ℂ) (Cg : ℝ≥0)
166
- (hα : ∀ n, LipschitzOnWith Cg (αₙ n) (Icc 0 δ)) (hα0 : ∀ n, αₙ n 0 = aₙ n)
167
- (hmap : ∀ n t, t ∈ Icc 0 δ → Fbar n (βₙ n t) = (αₙ n t : OnePoint ℂ))
168
- (r₀ : ℝ) (hr₀ : 0 < r₀) (hsmallGuide : (Cg : ℝ) * δ ≤ r₀) :
169
- ∃ T₀ : ℝ≥0, 0 < T₀ ∧ ∃ q₀ b₀ b A d L₀ : ℝ,
170
- 0 < q₀ ∧ 0 < b₀ ∧ 0 < b ∧ 0 < A ∧ 0 < d ∧ 1 < L₀ ∧
171
- ∀ (L : ℝ), L₀ ≤ L → A * L ^ (-d) ≤ q₀ / 2 →
172
- ∀ (B r : ℝ), 0 < B → 0 < r → B / 2 ≤ b₀ * L ^ b →
173
- ∀ (F : ℂ → ℂ), DifferentiableOn ℂ F upperHalfPlane →
174
- ∀ (a : ℂ) (O W : Set ℂ), IsOpen O → IsOpen W →
175
- ∀ (β : ℝ → ℂ) (tB T : ℝ), 0 < tB → tB < T →
176
- ContinuousOn β (Icc 0 T) → InjOn β (Icc 0 T) →
177
- (∀ t ∈ Ioc 0 T, 0 < (β t).im) → ‖β tB‖ = B →
178
- (∀ t ∈ Ioc tB T, B < ‖β t‖) →
179
- (∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4) →
180
- (∀ w : ℂ, B / 8 ≤ ‖w‖ → ‖w‖ ≤ B → ‖w‖ / 2 ≤ w.im → ‖F w - a‖ < r / 4) →
181
- F '' (β '' Icc tB T) ⊆ O → β T ∈ W →
182
- (∀ w ∈ upperHalfPlane, deriv F w ≠ 0) →
183
- TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane →
184
- ∀ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ), IsOpen U →
185
- ContinuousOn p U → (∀ᶠ n in atTop, ContinuousOn (pₙ n) U) →
186
- TendstoLocallyUniformlyOn pₙ p atTop U →
187
- ball a (r / 2) ∪ O ⊆ U → (∀ w ∈ W, 1 < p (F w)) →
188
- (∀ w ∈ ball a (r / 4), p w < 1 / 3) →
189
- (∀ᶠ n in atTop, ball (aₙ n) (L * r₀) ⊆ U ∩ {w | pₙ n w < 1}) →
190
- ∀ (V : Set ℂ), IsOpen V → ball a (r / 2) ∪ O ⊆ V →
191
- ∀ (Vₙ : ℕ → Set ℂ), (∀ᶠ n in atTop, V ⊆ Vₙ n) →
192
- ∀ (bₙ : ℕ → ℂ) (ε : ℝ),
193
- (∀ n w, w ∈ Vₙ n → pₙ n w = 1 → ‖w - bₙ n‖ < ε / 4) →
194
- (∀ᶠ n in atTop, ball (aₙ n) (L * r₀) ⊆ Vₙ n) →
195
- ∀ (v : ℕ → ℝ), (∀ n, 0 < v n) → Tendsto v atTop (𝓝 0) →
196
- ∀ (η : ℕ → Ω → ℝ≥0 → ℂ), (∀ n, ∀ᵐ ω ∂P, Continuous (η n ω)) →
197
- (∀ n, ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ)) →
198
- ∀ (Rₙ : ℕ → Set ℂ),
199
- (∀ᶠ n in atTop, U ∩ {w | (1 / 3 : ℝ) < pₙ n w ∧ pₙ n w < 2 / 3} ⊆ Rₙ n) →
200
- ∃ c q : ℝ, 0 < c ∧ 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P {ω |
201
- ω ∈ FrontSuccess η pₙ
202
- (fun ω => boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2)) Vₙ bₙ ε n ∧
203
- ENNReal.ofReal c ≤ segmentSausageCharge κ (η n ω)
204
- (boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2))
205
- (frontTime (fun t => pₙ n (η n ω t)) 1) (v n) (Rₙ n)} := by
206
- let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
207
- let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
208
- have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
209
- have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) := (ha t).mono (ℱ.le t) le_rfl
210
- have hSLE : IsOrdinaryChordalSLE κ γ P :=
211
- ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨G ω, F₀ ω, hw ω⟩)⟩
212
- obtain ⟨T₀, hT₀, q₀, hq₀, hheight⟩ := uniform_bounded_firstHeight_real_probability
213
- κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hsupport
214
- obtain ⟨b, A, d, L₀, hb, hA, hd, hL₀, hloc⟩ :=
215
- common_access_gives_firstHeight_localization κ hκ hκ8
216
- obtain ⟨b₀, hb₀, hlocseq⟩ := hloc Ω P γ hSLE (fun ω => (hw ω).1)
217
- (fun ω => (hw ω).2.1) (fun ω t => (hw ω).2.2.1 t)
218
- Fₙ Fbar hFn hinj hbar hext δ hδ βₙ hβc hβ0 hβHn z hz hβconv
219
- αₙ aₙ Cg hα hα0 hmap r₀ hr₀ hsmallGuide
220
- refine ⟨T₀, hT₀, q₀, b₀, b, A, d, L₀, hq₀, hb₀, hb, hA, hd, hL₀, ?_⟩
221
- intro L hL hsmall B r hB hr hBL F hF a O W hO hW β tB T htB htBT hβ hi hβH
222
- hcross hafter hcircle hsector htail hend hne hconv pₙ p U hU hp hpn hpconv hOU
223
- hWfront hstartBall hearlyBall V hV hOV Vₙ hVVₙ bₙ ε hterminal hearlyAllowed
224
- v hv hlim η hηc hηbar Rₙ hregion
225
- let Tc := T₀ * (Real.toNNReal B) ^ 2
226
- have hheightB := hheight B hB
227
- have hpositive : 0 < P (stoppedNarrowCertificate γ
228
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) :=
229
- (ENNReal.ofReal_pos.mpr hq₀).trans_le hheightB
230
- have hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
231
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
232
- stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
233
- (Fbar n) (aₙ n) (L * r₀)) ≤
234
- P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2 := by
235
- filter_upwards [hlocseq] with n hn
236
- calc
237
- _ ≤ ENNReal.ofReal (A * L ^ (-d)) := hn L hL B hB hBL Tc
238
- _ ≤ ENNReal.ofReal (q₀ / 2) := ENNReal.ofReal_le_ofReal hsmall
239
- _ = ENNReal.ofReal q₀ / 2 := by
240
- rw [ENNReal.ofReal_div_of_pos (by norm_num : (0 : ℝ) < 2)]
241
- norm_num
242
- _ ≤ _ := ENNReal.div_le_div_right hheightB 2
243
- exact bounded_splice_sequence_success_middle_regions κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hboundary hsupport
244
- B r hB hr Tc F hF a O W hO hW β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector
245
- htail hend Fbar hbar aₙ (L * r₀) Fₙ hFn hinj hne hconv hext pₙ p U hU hp hpn hpconv
246
- hOU hWfront hstartBall hearlyBall V hV hOV Vₙ hVVₙ bₙ ε hterminal hearlyAllowed
247
- v hv hlim η hηc hηbar Rₙ hregion hpositive hmissing
248
-
249
- end SLEExactGauge.SequencePassage
250
-
251
- end
252
-
253
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.SequencePassage
2
+ import OAI.Probability.SLE.Gauge.PassageSuccessRegions
3
+
4
+ namespace OAI
5
+
6
+ /-! Sequence passage with compact-dependent moving middle-strip margins.
7
+ No inclusion of the entire limiting open middle strip is required. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory ProbabilityTheory Metric
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge.SequencePassage
14
+ open FirstHeightSupport EarlyPassageLocalization FirstFrontPassage PassageSuccess
15
+
16
+ local instance regionSequencePathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
+ local instance regionSequencePathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
+
19
+ theorem bounded_splice_sequence_success_middle_regions
20
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
21
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
22
+ (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
23
+ (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
24
+ (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
25
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
26
+ (γ ω) (G ω) (F₀ ω))
27
+ (hboundary : PublishedLoewnerBoundaryExtension)
28
+ (hsupport : PublishedGeometricTubeSupport P γ)
29
+ (B r : ℝ) (hB : 0 < B) (hr : 0 < r) (Tc : ℝ≥0)
30
+ (F : ℂ → ℂ) (hF : DifferentiableOn ℂ F upperHalfPlane) (a : ℂ)
31
+ (O W : Set ℂ) (hO : IsOpen O) (hW : IsOpen W)
32
+ (β : ℝ → ℂ) (tB T : ℝ) (htB : 0 < tB) (htBT : tB < T)
33
+ (hβ : ContinuousOn β (Icc 0 T)) (hi : InjOn β (Icc 0 T))
34
+ (hβH : ∀ t ∈ Ioc 0 T, 0 < (β t).im)
35
+ (hcross : ‖β tB‖ = B) (hafter : ∀ t ∈ Ioc tB T, B < ‖β t‖)
36
+ (hcircle : ∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4)
37
+ (hsector : ∀ z : ℂ, B / 8 ≤ ‖z‖ → ‖z‖ ≤ B → ‖z‖ / 2 ≤ z.im →
38
+ ‖F z - a‖ < r / 4)
39
+ (htail : F '' (β '' Icc tB T) ⊆ O) (hend : β T ∈ W)
40
+ (Fbar : ℕ → ℂ → OnePoint ℂ)
41
+ (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
42
+ (aₙ : ℕ → ℂ) (ρ : ℝ)
43
+ (Fₙ : ℕ → ℂ → ℂ)
44
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
45
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
46
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
47
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
48
+ (hext : ∀ n z, z ∈ upperHalfPlane → Fbar n z = (Fₙ n z : OnePoint ℂ))
49
+ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
50
+ (hp : ContinuousOn p U) (hpn : ∀ᶠ n in atTop, ContinuousOn (pₙ n) U)
51
+ (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
52
+ (hOU : ball a (r / 2) ∪ O ⊆ U)
53
+ (hWfront : ∀ z ∈ W, 1 < p (F z))
54
+ (hstartBall : ∀ z ∈ ball a (r / 4), p z < 1 / 3)
55
+ (hearlyBall : ∀ᶠ n in atTop, ball (aₙ n) ρ ⊆ U ∩ {z | pₙ n z < 1})
56
+ (V : Set ℂ) (hV : IsOpen V) (hOV : ball a (r / 2) ∪ O ⊆ V)
57
+ (Vₙ : ℕ → Set ℂ) (hVVₙ : ∀ᶠ n in atTop, V ⊆ Vₙ n)
58
+ (bₙ : ℕ → ℂ) (ε : ℝ)
59
+ (hterminal : ∀ n z, z ∈ Vₙ n → pₙ n z = 1 → ‖z - bₙ n‖ < ε / 4)
60
+ (hearlyAllowed : ∀ᶠ n in atTop, ball (aₙ n) ρ ⊆ Vₙ n)
61
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
62
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (hηc : ∀ n, ∀ᵐ ω ∂P, Continuous (η n ω))
63
+ (hηbar : ∀ n, ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ))
64
+ (Rₙ : ℕ → Set ℂ) (hregion : ∀ᶠ n in atTop, U ∩ {z | (1 / 3 : ℝ) < pₙ n z ∧ pₙ n z < 2 / 3} ⊆ Rₙ n)
65
+ (hpositive : 0 < P (stoppedNarrowCertificate γ
66
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc))
67
+ (hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
68
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
69
+ stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
70
+ (Fbar n) (aₙ n) ρ) ≤
71
+ P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2) :
72
+ ∃ c q : ℝ, 0 < c ∧ 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P {ω |
73
+ ω ∈ FrontSuccess η pₙ (fun ω => boundedFirstHeightTime (γ ω) B Tc) Vₙ bₙ ε n ∧
74
+ ENNReal.ofReal c ≤ segmentSausageCharge κ (η n ω)
75
+ (boundedFirstHeightTime (γ ω) B Tc)
76
+ (frontTime (fun t => pₙ n (η n ω t)) 1) (v n) (Rₙ n)} := by
77
+ let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
78
+ let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
79
+ let σ := fun ω => boundedFirstHeightTime (γ ω) B Tc
80
+ have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
81
+ have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) := (ha t).mono (ℱ.le t) le_rfl
82
+ have hSLE : IsOrdinaryChordalSLE κ γ P :=
83
+ ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨G ω, F₀ ω, hw ω⟩)⟩
84
+ have hσ := boundedFirstHeightTime_isStoppingTime ℱ γ ha (fun ω => (hw ω).1) B Tc
85
+ have hσm : Measurable σ := stopping_time_measurable_nnreal hσ
86
+ let f := sourceTracePath γ (fun ω => (hw ω).1)
87
+ have hfm : Measurable f := source_path_measurable f hγm
88
+ let Uparam := parameterContinuationRegion F a r O
89
+ have hUparam : IsOpen Uparam := parameterContinuationRegion_isOpen hF.continuousOn a r hO
90
+ let C := stoppedPhysicalTube γ σ Uparam W
91
+ let E := stoppedNarrowCertificate γ σ B Tc ∩ C
92
+ let H : ℕ → Set Ω := fun n => stoppedImageEvent γ σ (Fbar n) (aₙ n) ρ
93
+ have hEm : MeasurableSet E := by
94
+ apply MeasurableSet.inter
95
+ · exact hσ.measurableSpace_le _
96
+ (boundedFirstHeight_certificate_measurable ℱ γ ha (fun ω => (hw ω).1) B Tc)
97
+ · exact measurableSet_stoppedPhysicalTube γ (fun ω => (hw ω).1) hγm σ hσm Uparam W hUparam hW
98
+ have hstart : ∀ ω ∈ E, p (F (γ ω (σ ω))) < 1 / 3 := by
99
+ intro ω hω
100
+ have hnorm := bounded_firstHeight_norm (f ω) (hw ω).2.1 (hw ω).2.2.1
101
+ hB Tc hω.1 (σ ω) ⟨bot_le, le_rfl⟩
102
+ change ‖γ ω (σ ω)‖ < B / 2 at hnorm
103
+ have hheight : (γ ω (σ ω)).im = B / 4 := hω.1.2.1
104
+ have him := Complex.im_le_norm (γ ω (σ ω))
105
+ have hsmall := hsector (γ ω (σ ω)) (by linarith) (by linarith)
106
+ (by rw [hheight]; linarith)
107
+ exact hstartBall _ (by simpa only [mem_ball, dist_eq_norm] using hsmall)
108
+ obtain ⟨q, hq, hprob⟩ := eventual_bounded_splice_probability κ hκ hκ8 B₀ hB₀ hm hc
109
+ γ G F₀ hw hboundary hsupport B r hB hr Tc F hF.continuousOn a O W hO hW
110
+ β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector htail hend Fbar hbar aₙ ρ
111
+ hpositive hmissing
112
+ have hη : ∀ n, ∀ᵐ ω ∂P, ∀ t : ℝ≥0, σ ω ≤ t → γ ω t ∈ upperHalfPlane →
113
+ η n ω t = Fₙ n (γ ω t) := by
114
+ intro n
115
+ filter_upwards [hηbar n] with ω hω
116
+ intro t _ ht
117
+ exact OnePoint.coe_injective ((hω t).symm.trans (hext n _ ht))
118
+ have hearly : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n ∩ E →
119
+ MapsTo (η n ω) (Icc 0 (σ ω)) U ∧
120
+ ∀ t ∈ Icc 0 (σ ω), pₙ n (η n ω t) < 1 := by
121
+ filter_upwards [hearlyBall] with n hn
122
+ filter_upwards [hηbar n] with ω hω
123
+ intro hmem
124
+ have himage : MapsTo (η n ω) (Icc 0 (σ ω)) (ball (aₙ n) ρ) := by
125
+ intro t ht
126
+ obtain ⟨z, hz, he⟩ := hmem.1 t ht
127
+ have heq : z = η n ω t := OnePoint.coe_injective (he.trans (hω t))
128
+ exact heq ▸ hz
129
+ exact ⟨fun _ ht => (hn (himage ht)).1, fun _ ht => (hn (himage ht)).2⟩
130
+ have hearlyV : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n ∩ E →
131
+ MapsTo (η n ω) (Icc 0 (σ ω)) (Vₙ n) := by
132
+ filter_upwards [hearlyAllowed] with n hn
133
+ filter_upwards [hηbar n] with ω hω
134
+ intro hmem t ht
135
+ obtain ⟨z, hz, he⟩ := hmem.1 t ht
136
+ have heq : z = η n ω t := OnePoint.coe_injective (he.trans (hω t))
137
+ exact hn (heq ▸ hz)
138
+ obtain ⟨c, hcpos, hmass⟩ := retained_tube_firstFront_success_mass_middle_regions P κ hκ hκ8
139
+ f hfm hSLE σ hσm Fₙ F hFn hinj hF hne hconv Uparam W hUparam inter_subset_left
140
+ pₙ p U hU hp hpn hpconv (fun _ hz => hOU hz.2) hWfront E hEm inter_subset_right
141
+ hstart V hV (fun _ hz => hOV hz.2) Vₙ hVVₙ bₙ ε hterminal
142
+ v hv hlim η Rₙ hregion H q hq hprob hη hηc hearly hearlyV
143
+ exact ⟨c, q / 8, hcpos, by positivity, hmass⟩
144
+
145
+
146
+ theorem localized_sequence_passage_success_middle_regions
147
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
148
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
149
+ (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
150
+ (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
151
+ (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
152
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
153
+ (γ ω) (G ω) (F₀ ω))
154
+ (hboundary : PublishedLoewnerBoundaryExtension)
155
+ (hsupport : PublishedGeometricTubeSupport P γ)
156
+ (Fₙ : ℕ → ℂ → ℂ) (Fbar : ℕ → ℂ → OnePoint ℂ)
157
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
158
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
159
+ (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
160
+ (hext : ∀ n z, z ∈ upperHalfPlane → Fbar n z = (Fₙ n z : OnePoint ℂ))
161
+ (δ : ℝ) (hδ : 0 < δ) (βₙ : ℕ → ℝ → ℂ)
162
+ (hβc : ∀ n, ContinuousOn (βₙ n) (Icc 0 δ)) (hβ0 : ∀ n, βₙ n 0 = 0)
163
+ (hβHn : ∀ n t, t ∈ Icc 0 δ → 0 ≤ (βₙ n t).im)
164
+ (z : ℂ) (hz : z ≠ 0) (hβconv : Tendsto (fun n => βₙ n δ) atTop (𝓝 z))
165
+ (αₙ : ℕ → ℝ → ℂ) (aₙ : ℕ → ℂ) (Cg : ℝ≥0)
166
+ (hα : ∀ n, LipschitzOnWith Cg (αₙ n) (Icc 0 δ)) (hα0 : ∀ n, αₙ n 0 = aₙ n)
167
+ (hmap : ∀ n t, t ∈ Icc 0 δ → Fbar n (βₙ n t) = (αₙ n t : OnePoint ℂ))
168
+ (r₀ : ℝ) (hr₀ : 0 < r₀) (hsmallGuide : (Cg : ℝ) * δ ≤ r₀) :
169
+ ∃ T₀ : ℝ≥0, 0 < T₀ ∧ ∃ q₀ b₀ b A d L₀ : ℝ,
170
+ 0 < q₀ ∧ 0 < b₀ ∧ 0 < b ∧ 0 < A ∧ 0 < d ∧ 1 < L₀ ∧
171
+ ∀ (L : ℝ), L₀ ≤ L → A * L ^ (-d) ≤ q₀ / 2 →
172
+ ∀ (B r : ℝ), 0 < B → 0 < r → B / 2 ≤ b₀ * L ^ b →
173
+ ∀ (F : ℂ → ℂ), DifferentiableOn ℂ F upperHalfPlane →
174
+ ∀ (a : ℂ) (O W : Set ℂ), IsOpen O → IsOpen W →
175
+ ∀ (β : ℝ → ℂ) (tB T : ℝ), 0 < tB → tB < T →
176
+ ContinuousOn β (Icc 0 T) → InjOn β (Icc 0 T) →
177
+ (∀ t ∈ Ioc 0 T, 0 < (β t).im) → ‖β tB‖ = B →
178
+ (∀ t ∈ Ioc tB T, B < ‖β t‖) →
179
+ (∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4) →
180
+ (∀ w : ℂ, B / 8 ≤ ‖w‖ → ‖w‖ ≤ B → ‖w‖ / 2 ≤ w.im → ‖F w - a‖ < r / 4) →
181
+ F '' (β '' Icc tB T) ⊆ O → β T ∈ W →
182
+ (∀ w ∈ upperHalfPlane, deriv F w ≠ 0) →
183
+ TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane →
184
+ ∀ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ), IsOpen U →
185
+ ContinuousOn p U → (∀ᶠ n in atTop, ContinuousOn (pₙ n) U) →
186
+ TendstoLocallyUniformlyOn pₙ p atTop U →
187
+ ball a (r / 2) ∪ O ⊆ U → (∀ w ∈ W, 1 < p (F w)) →
188
+ (∀ w ∈ ball a (r / 4), p w < 1 / 3) →
189
+ (∀ᶠ n in atTop, ball (aₙ n) (L * r₀) ⊆ U ∩ {w | pₙ n w < 1}) →
190
+ ∀ (V : Set ℂ), IsOpen V → ball a (r / 2) ∪ O ⊆ V →
191
+ ∀ (Vₙ : ℕ → Set ℂ), (∀ᶠ n in atTop, V ⊆ Vₙ n) →
192
+ ∀ (bₙ : ℕ → ℂ) (ε : ℝ),
193
+ (∀ n w, w ∈ Vₙ n → pₙ n w = 1 → ‖w - bₙ n‖ < ε / 4) →
194
+ (∀ᶠ n in atTop, ball (aₙ n) (L * r₀) ⊆ Vₙ n) →
195
+ ∀ (v : ℕ → ℝ), (∀ n, 0 < v n) → Tendsto v atTop (𝓝 0) →
196
+ ∀ (η : ℕ → Ω → ℝ≥0 → ℂ), (∀ n, ∀ᵐ ω ∂P, Continuous (η n ω)) →
197
+ (∀ n, ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ)) →
198
+ ∀ (Rₙ : ℕ → Set ℂ),
199
+ (∀ᶠ n in atTop, U ∩ {w | (1 / 3 : ℝ) < pₙ n w ∧ pₙ n w < 2 / 3} ⊆ Rₙ n) →
200
+ ∃ c q : ℝ, 0 < c ∧ 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P {ω |
201
+ ω ∈ FrontSuccess η pₙ
202
+ (fun ω => boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2)) Vₙ bₙ ε n ∧
203
+ ENNReal.ofReal c ≤ segmentSausageCharge κ (η n ω)
204
+ (boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2))
205
+ (frontTime (fun t => pₙ n (η n ω t)) 1) (v n) (Rₙ n)} := by
206
+ let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
207
+ let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
208
+ have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
209
+ have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) := (ha t).mono (ℱ.le t) le_rfl
210
+ have hSLE : IsOrdinaryChordalSLE κ γ P :=
211
+ ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨G ω, F₀ ω, hw ω⟩)⟩
212
+ obtain ⟨T₀, hT₀, q₀, hq₀, hheight⟩ := uniform_bounded_firstHeight_real_probability
213
+ κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hsupport
214
+ obtain ⟨b, A, d, L₀, hb, hA, hd, hL₀, hloc⟩ :=
215
+ common_access_gives_firstHeight_localization κ hκ hκ8
216
+ obtain ⟨b₀, hb₀, hlocseq⟩ := hloc Ω P γ hSLE (fun ω => (hw ω).1)
217
+ (fun ω => (hw ω).2.1) (fun ω t => (hw ω).2.2.1 t)
218
+ Fₙ Fbar hFn hinj hbar hext δ hδ βₙ hβc hβ0 hβHn z hz hβconv
219
+ αₙ aₙ Cg hα hα0 hmap r₀ hr₀ hsmallGuide
220
+ refine ⟨T₀, hT₀, q₀, b₀, b, A, d, L₀, hq₀, hb₀, hb, hA, hd, hL₀, ?_⟩
221
+ intro L hL hsmall B r hB hr hBL F hF a O W hO hW β tB T htB htBT hβ hi hβH
222
+ hcross hafter hcircle hsector htail hend hne hconv pₙ p U hU hp hpn hpconv hOU
223
+ hWfront hstartBall hearlyBall V hV hOV Vₙ hVVₙ bₙ ε hterminal hearlyAllowed
224
+ v hv hlim η hηc hηbar Rₙ hregion
225
+ let Tc := T₀ * (Real.toNNReal B) ^ 2
226
+ have hheightB := hheight B hB
227
+ have hpositive : 0 < P (stoppedNarrowCertificate γ
228
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) :=
229
+ (ENNReal.ofReal_pos.mpr hq₀).trans_le hheightB
230
+ have hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
231
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
232
+ stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
233
+ (Fbar n) (aₙ n) (L * r₀)) ≤
234
+ P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2 := by
235
+ filter_upwards [hlocseq] with n hn
236
+ calc
237
+ _ ≤ ENNReal.ofReal (A * L ^ (-d)) := hn L hL B hB hBL Tc
238
+ _ ≤ ENNReal.ofReal (q₀ / 2) := ENNReal.ofReal_le_ofReal hsmall
239
+ _ = ENNReal.ofReal q₀ / 2 := by
240
+ rw [ENNReal.ofReal_div_of_pos (by norm_num : (0 : ℝ) < 2)]
241
+ norm_num
242
+ _ ≤ _ := ENNReal.div_le_div_right hheightB 2
243
+ exact bounded_splice_sequence_success_middle_regions κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hboundary hsupport
244
+ B r hB hr Tc F hF a O W hO hW β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector
245
+ htail hend Fbar hbar aₙ (L * r₀) Fₙ hFn hinj hne hconv hext pₙ p U hU hp hpn hpconv
246
+ hOU hWfront hstartBall hearlyBall V hV hOV Vₙ hVVₙ bₙ ε hterminal hearlyAllowed
247
+ v hv hlim η hηc hηbar Rₙ hregion hpositive hmissing
248
+
249
+ end SLEExactGauge.SequencePassage
250
+
251
+ end
252
+
253
+ end OAI
lean/OAI/Probability/SLE/Gauge/SequencePassageSuccess.lean CHANGED
@@ -1,256 +1,256 @@
1
- import OAI.Probability.SLE.Gauge.SequencePassage
2
- import OAI.Probability.SLE.Gauge.PassageSuccess
3
-
4
- namespace OAI
5
-
6
- /-! Successful sequence passage: full allowed-ribbon containment and the
7
- terminal tip offset accompany the actual stopped sausage lower bound. -/
8
-
9
- noncomputable section
10
- open Set Filter MeasureTheory ProbabilityTheory Metric
11
- open scoped Topology NNReal ENNReal
12
-
13
- namespace SLEExactGauge.SequencePassage
14
- open FirstHeightSupport EarlyPassageLocalization FirstFrontPassage PassageSuccess
15
-
16
- local instance successSequencePathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
- local instance successSequencePathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
-
19
- theorem bounded_splice_sequence_success
20
- {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
21
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
22
- (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
23
- (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
24
- (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
25
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
26
- (γ ω) (G ω) (F₀ ω))
27
- (hboundary : PublishedLoewnerBoundaryExtension)
28
- (hsupport : PublishedGeometricTubeSupport P γ)
29
- (B r : ℝ) (hB : 0 < B) (hr : 0 < r) (Tc : ℝ≥0)
30
- (F : ℂ → ℂ) (hF : DifferentiableOn ℂ F upperHalfPlane) (a : ℂ)
31
- (O W : Set ℂ) (hO : IsOpen O) (hW : IsOpen W)
32
- (β : ℝ → ℂ) (tB T : ℝ) (htB : 0 < tB) (htBT : tB < T)
33
- (hβ : ContinuousOn β (Icc 0 T)) (hi : InjOn β (Icc 0 T))
34
- (hβH : ∀ t ∈ Ioc 0 T, 0 < (β t).im)
35
- (hcross : ‖β tB‖ = B) (hafter : ∀ t ∈ Ioc tB T, B < ‖β t‖)
36
- (hcircle : ∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4)
37
- (hsector : ∀ z : ℂ, B / 8 ≤ ‖z‖ → ‖z‖ ≤ B → ‖z‖ / 2 ≤ z.im →
38
- ‖F z - a‖ < r / 4)
39
- (htail : F '' (β '' Icc tB T) ⊆ O) (hend : β T ∈ W)
40
- (Fbar : ℕ → ℂ → OnePoint ℂ)
41
- (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
42
- (aₙ : ℕ → ℂ) (ρ : ℝ)
43
- (Fₙ : ℕ → ℂ → ℂ)
44
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
45
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
46
- (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
47
- (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
48
- (hext : ∀ n z, z ∈ upperHalfPlane → Fbar n z = (Fₙ n z : OnePoint ℂ))
49
- (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
50
- (hp : ContinuousOn p U) (hpn : ∀ n, ContinuousOn (pₙ n) U)
51
- (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
52
- (hOU : ball a (r / 2) ∪ O ⊆ U)
53
- (hWfront : ∀ z ∈ W, 1 < p (F z))
54
- (hstartBall : ∀ z ∈ ball a (r / 4), p z < 1 / 3)
55
- (hearlyBall : ∀ᶠ n in atTop, ball (aₙ n) ρ ⊆ U ∩ {z | pₙ n z < 1})
56
- (V : Set ℂ) (hV : IsOpen V) (hOV : ball a (r / 2) ∪ O ⊆ V)
57
- (Vₙ : ℕ → Set ℂ) (hVVₙ : ∀ᶠ n in atTop, V ⊆ Vₙ n)
58
- (bₙ : ℕ → ℂ) (ε : ℝ)
59
- (hterminal : ∀ n z, z ∈ Vₙ n → pₙ n z = 1 → ‖z - bₙ n‖ < ε / 4)
60
- (hearlyAllowed : ∀ᶠ n in atTop, ball (aₙ n) ρ ⊆ Vₙ n)
61
- (R : Set ℂ) (hR : IsOpen R)
62
- (hmiddle : ∀ z ∈ ball a (r / 2) ∪ O, 1 / 3 < p z → p z < 2 / 3 → z ∈ R)
63
- (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
64
- (η : ℕ → Ω → ℝ≥0 → ℂ) (hηc : ∀ n, ∀ᵐ ω ∂P, Continuous (η n ω))
65
- (hηbar : ∀ n, ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ))
66
- (Rₙ : ℕ → Set ℂ) (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
67
- (hpositive : 0 < P (stoppedNarrowCertificate γ
68
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc))
69
- (hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
70
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
71
- stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
72
- (Fbar n) (aₙ n) ρ) ≤
73
- P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2) :
74
- ∃ c q : ℝ, 0 < c ∧ 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P {ω |
75
- ω ∈ FrontSuccess η pₙ (fun ω => boundedFirstHeightTime (γ ω) B Tc) Vₙ bₙ ε n ∧
76
- ENNReal.ofReal c ≤ segmentSausageCharge κ (η n ω)
77
- (boundedFirstHeightTime (γ ω) B Tc)
78
- (frontTime (fun t => pₙ n (η n ω t)) 1) (v n) (Rₙ n)} := by
79
- let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
80
- let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
81
- let σ := fun ω => boundedFirstHeightTime (γ ω) B Tc
82
- have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
83
- have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) := (ha t).mono (ℱ.le t) le_rfl
84
- have hSLE : IsOrdinaryChordalSLE κ γ P :=
85
- ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨G ω, F₀ ω, hw ω⟩)⟩
86
- have hσ := boundedFirstHeightTime_isStoppingTime ℱ γ ha (fun ω => (hw ω).1) B Tc
87
- have hσm : Measurable σ := stopping_time_measurable_nnreal hσ
88
- let f := sourceTracePath γ (fun ω => (hw ω).1)
89
- have hfm : Measurable f := source_path_measurable f hγm
90
- let Uparam := parameterContinuationRegion F a r O
91
- have hUparam : IsOpen Uparam := parameterContinuationRegion_isOpen hF.continuousOn a r hO
92
- let C := stoppedPhysicalTube γ σ Uparam W
93
- let E := stoppedNarrowCertificate γ σ B Tc ∩ C
94
- let H : ℕ → Set Ω := fun n => stoppedImageEvent γ σ (Fbar n) (aₙ n) ρ
95
- have hEm : MeasurableSet E := by
96
- apply MeasurableSet.inter
97
- · exact hσ.measurableSpace_le _
98
- (boundedFirstHeight_certificate_measurable ℱ γ ha (fun ω => (hw ω).1) B Tc)
99
- · exact measurableSet_stoppedPhysicalTube γ (fun ω => (hw ω).1) hγm σ hσm Uparam W hUparam hW
100
- have hstart : ∀ ω ∈ E, p (F (γ ω (σ ω))) < 1 / 3 := by
101
- intro ω hω
102
- have hnorm := bounded_firstHeight_norm (f ω) (hw ω).2.1 (hw ω).2.2.1
103
- hB Tc hω.1 (σ ω) ⟨bot_le, le_rfl⟩
104
- change ‖γ ω (σ ω)‖ < B / 2 at hnorm
105
- have hheight : (γ ω (σ ω)).im = B / 4 := hω.1.2.1
106
- have him := Complex.im_le_norm (γ ω (σ ω))
107
- have hsmall := hsector (γ ω (σ ω)) (by linarith) (by linarith)
108
- (by rw [hheight]; linarith)
109
- exact hstartBall _ (by simpa only [mem_ball, dist_eq_norm] using hsmall)
110
- obtain ⟨q, hq, hprob⟩ := eventual_bounded_splice_probability κ hκ hκ8 B₀ hB₀ hm hc
111
- γ G F₀ hw hboundary hsupport B r hB hr Tc F hF.continuousOn a O W hO hW
112
- β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector htail hend Fbar hbar aₙ ρ
113
- hpositive hmissing
114
- have hη : ∀ n, ∀ᵐ ω ∂P, ∀ t : ℝ≥0, σ ω ≤ t → γ ω t ∈ upperHalfPlane →
115
- η n ω t = Fₙ n (γ ω t) := by
116
- intro n
117
- filter_upwards [hηbar n] with ω hω
118
- intro t _ ht
119
- exact OnePoint.coe_injective ((hω t).symm.trans (hext n _ ht))
120
- have hearly : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n ∩ E →
121
- MapsTo (η n ω) (Icc 0 (σ ω)) U ∧
122
- ∀ t ∈ Icc 0 (σ ω), pₙ n (η n ω t) < 1 := by
123
- filter_upwards [hearlyBall] with n hn
124
- filter_upwards [hηbar n] with ω hω
125
- intro hmem
126
- have himage : MapsTo (η n ω) (Icc 0 (σ ω)) (ball (aₙ n) ρ) := by
127
- intro t ht
128
- obtain ⟨z, hz, he⟩ := hmem.1 t ht
129
- have heq : z = η n ω t := OnePoint.coe_injective (he.trans (hω t))
130
- exact heq ▸ hz
131
- exact ⟨fun _ ht => (hn (himage ht)).1, fun _ ht => (hn (himage ht)).2⟩
132
- have hearlyV : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n ∩ E →
133
- MapsTo (η n ω) (Icc 0 (σ ω)) (Vₙ n) := by
134
- filter_upwards [hearlyAllowed] with n hn
135
- filter_upwards [hηbar n] with ω hω
136
- intro hmem t ht
137
- obtain ⟨z, hz, he⟩ := hmem.1 t ht
138
- have heq : z = η n ω t := OnePoint.coe_injective (he.trans (hω t))
139
- exact hn (heq ▸ hz)
140
- obtain ⟨c, hcpos, hmass⟩ := retained_tube_firstFront_success_mass P κ hκ hκ8
141
- f hfm hSLE σ hσm Fₙ F hFn hinj hF hne hconv Uparam W hUparam inter_subset_left
142
- pₙ p U hU hp hpn hpconv (fun _ hz => hOU hz.2) hWfront E hEm inter_subset_right
143
- hstart V hV (fun _ hz => hOV hz.2) Vₙ hVVₙ bₙ ε hterminal
144
- R hR (fun _ hz => hmiddle _ hz.2) v hv hlim η Rₙ hregion H q hq hprob hη hηc hearly hearlyV
145
- exact ⟨c, q / 8, hcpos, by positivity, hmass⟩
146
-
147
-
148
- theorem localized_sequence_passage_success
149
- {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
150
- (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
151
- (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
152
- (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
153
- (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
154
- (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
155
- (γ ω) (G ω) (F₀ ω))
156
- (hboundary : PublishedLoewnerBoundaryExtension)
157
- (hsupport : PublishedGeometricTubeSupport P γ)
158
- (Fₙ : ℕ → ℂ → ℂ) (Fbar : ℕ → ℂ → OnePoint ℂ)
159
- (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
160
- (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
161
- (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
162
- (hext : ∀ n z, z ∈ upperHalfPlane → Fbar n z = (Fₙ n z : OnePoint ℂ))
163
- (δ : ℝ) (hδ : 0 < δ) (βₙ : ℕ → ℝ → ℂ)
164
- (hβc : ∀ n, ContinuousOn (βₙ n) (Icc 0 δ)) (hβ0 : ∀ n, βₙ n 0 = 0)
165
- (hβHn : ∀ n t, t ∈ Icc 0 δ → 0 ≤ (βₙ n t).im)
166
- (z : ℂ) (hz : z ≠ 0) (hβconv : Tendsto (fun n => βₙ n δ) atTop (𝓝 z))
167
- (αₙ : ℕ → ℝ → ℂ) (aₙ : ℕ → ℂ) (Cg : ℝ≥0)
168
- (hα : ∀ n, LipschitzOnWith Cg (αₙ n) (Icc 0 δ)) (hα0 : ∀ n, αₙ n 0 = aₙ n)
169
- (hmap : ∀ n t, t ∈ Icc 0 δ → Fbar n (βₙ n t) = (αₙ n t : OnePoint ℂ))
170
- (r₀ : ℝ) (hr₀ : 0 < r₀) (hsmallGuide : (Cg : ℝ) * δ ≤ r₀) :
171
- ∃ T₀ : ℝ≥0, 0 < T₀ ∧ ∃ q₀ b₀ b A d L₀ : ℝ,
172
- 0 < q₀ ∧ 0 < b₀ ∧ 0 < b ∧ 0 < A ∧ 0 < d ∧ 1 < L₀ ∧
173
- ∀ (L : ℝ), L₀ ≤ L → A * L ^ (-d) ≤ q₀ / 2 →
174
- ∀ (B r : ℝ), 0 < B → 0 < r → B / 2 ≤ b₀ * L ^ b →
175
- ∀ (F : ℂ → ℂ), DifferentiableOn ℂ F upperHalfPlane →
176
- ∀ (a : ℂ) (O W : Set ℂ), IsOpen O → IsOpen W →
177
- ∀ (β : ℝ → ℂ) (tB T : ℝ), 0 < tB → tB < T →
178
- ContinuousOn β (Icc 0 T) → InjOn β (Icc 0 T) →
179
- (∀ t ∈ Ioc 0 T, 0 < (β t).im) → ‖β tB‖ = B →
180
- (∀ t ∈ Ioc tB T, B < ‖β t‖) →
181
- (∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4) →
182
- (∀ w : ℂ, B / 8 ≤ ‖w‖ → ‖w‖ ≤ B → ‖w‖ / 2 ≤ w.im → ‖F w - a‖ < r / 4) →
183
- F '' (β '' Icc tB T) ⊆ O → β T ∈ W →
184
- (∀ w ∈ upperHalfPlane, deriv F w ≠ 0) →
185
- TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane →
186
- ∀ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ), IsOpen U →
187
- ContinuousOn p U → (∀ n, ContinuousOn (pₙ n) U) →
188
- TendstoLocallyUniformlyOn pₙ p atTop U →
189
- ball a (r / 2) ∪ O ⊆ U → (∀ w ∈ W, 1 < p (F w)) →
190
- (∀ w ∈ ball a (r / 4), p w < 1 / 3) →
191
- (∀ᶠ n in atTop, ball (aₙ n) (L * r₀) ⊆ U ∩ {w | pₙ n w < 1}) →
192
- ∀ (V : Set ℂ), IsOpen V → ball a (r / 2) ∪ O ⊆ V →
193
- ∀ (Vₙ : ℕ → Set ℂ), (∀ᶠ n in atTop, V ⊆ Vₙ n) →
194
- ∀ (bₙ : ℕ → ℂ) (ε : ℝ),
195
- (∀ n w, w ∈ Vₙ n → pₙ n w = 1 → ‖w - bₙ n‖ < ε / 4) →
196
- (∀ᶠ n in atTop, ball (aₙ n) (L * r₀) ⊆ Vₙ n) →
197
- ∀ (R : Set ℂ), IsOpen R →
198
- (∀ w ∈ ball a (r / 2) ∪ O, 1 / 3 < p w → p w < 2 / 3 → w ∈ R) →
199
- ∀ (v : ℕ → ℝ), (∀ n, 0 < v n) → Tendsto v atTop (𝓝 0) →
200
- ∀ (η : ℕ → Ω → ℝ≥0 → ℂ), (∀ n, ∀ᵐ ω ∂P, Continuous (η n ω)) →
201
- (∀ n, ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ)) →
202
- ∀ (Rₙ : ℕ → Set ℂ), (∀ᶠ n in atTop, R ⊆ Rₙ n) →
203
- ∃ c q : ℝ, 0 < c ∧ 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P {ω |
204
- ω ∈ FrontSuccess η pₙ
205
- (fun ω => boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2)) Vₙ bₙ ε n ∧
206
- ENNReal.ofReal c ≤ segmentSausageCharge κ (η n ω)
207
- (boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2))
208
- (frontTime (fun t => pₙ n (η n ω t)) 1) (v n) (Rₙ n)} := by
209
- let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
210
- let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
211
- have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
212
- have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) := (ha t).mono (ℱ.le t) le_rfl
213
- have hSLE : IsOrdinaryChordalSLE κ γ P :=
214
- ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨G ω, F₀ ω, hw ω⟩)⟩
215
- obtain ⟨T₀, hT₀, q₀, hq₀, hheight⟩ := uniform_bounded_firstHeight_real_probability
216
- κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hsupport
217
- obtain ⟨b, A, d, L₀, hb, hA, hd, hL₀, hloc⟩ :=
218
- common_access_gives_firstHeight_localization κ hκ hκ8
219
- obtain ⟨b₀, hb₀, hlocseq⟩ := hloc Ω P γ hSLE (fun ω => (hw ω).1)
220
- (fun ω => (hw ω).2.1) (fun ω t => (hw ω).2.2.1 t)
221
- Fₙ Fbar hFn hinj hbar hext δ hδ βₙ hβc hβ0 hβHn z hz hβconv
222
- αₙ aₙ Cg hα hα0 hmap r₀ hr₀ hsmallGuide
223
- refine ⟨T₀, hT₀, q₀, b₀, b, A, d, L₀, hq₀, hb₀, hb, hA, hd, hL₀, ?_⟩
224
- intro L hL hsmall B r hB hr hBL F hF a O W hO hW β tB T htB htBT hβ hi hβH
225
- hcross hafter hcircle hsector htail hend hne hconv pₙ p U hU hp hpn hpconv hOU
226
- hWfront hstartBall hearlyBall V hV hOV Vₙ hVVₙ bₙ ε hterminal hearlyAllowed
227
- R hR hmiddle v hv hlim η hηc hηbar Rₙ hregion
228
- let Tc := T₀ * (Real.toNNReal B) ^ 2
229
- have hheightB := hheight B hB
230
- have hpositive : 0 < P (stoppedNarrowCertificate γ
231
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) :=
232
- (ENNReal.ofReal_pos.mpr hq₀).trans_le hheightB
233
- have hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
234
- (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
235
- stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
236
- (Fbar n) (aₙ n) (L * r₀)) ≤
237
- P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2 := by
238
- filter_upwards [hlocseq] with n hn
239
- calc
240
- _ ≤ ENNReal.ofReal (A * L ^ (-d)) := hn L hL B hB hBL Tc
241
- _ ≤ ENNReal.ofReal (q₀ / 2) := ENNReal.ofReal_le_ofReal hsmall
242
- _ = ENNReal.ofReal q₀ / 2 := by
243
- rw [ENNReal.ofReal_div_of_pos (by norm_num : (0 : ℝ) < 2)]
244
- norm_num
245
- _ ≤ _ := ENNReal.div_le_div_right hheightB 2
246
- exact bounded_splice_sequence_success κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hboundary hsupport
247
- B r hB hr Tc F hF a O W hO hW β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector
248
- htail hend Fbar hbar aₙ (L * r₀) Fₙ hFn hinj hne hconv hext pₙ p U hU hp hpn hpconv
249
- hOU hWfront hstartBall hearlyBall V hV hOV Vₙ hVVₙ bₙ ε hterminal hearlyAllowed
250
- R hR hmiddle v hv hlim η hηc hηbar Rₙ hregion hpositive hmissing
251
-
252
- end SLEExactGauge.SequencePassage
253
-
254
- end
255
-
256
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.SequencePassage
2
+ import OAI.Probability.SLE.Gauge.PassageSuccess
3
+
4
+ namespace OAI
5
+
6
+ /-! Successful sequence passage: full allowed-ribbon containment and the
7
+ terminal tip offset accompany the actual stopped sausage lower bound. -/
8
+
9
+ noncomputable section
10
+ open Set Filter MeasureTheory ProbabilityTheory Metric
11
+ open scoped Topology NNReal ENNReal
12
+
13
+ namespace SLEExactGauge.SequencePassage
14
+ open FirstHeightSupport EarlyPassageLocalization FirstFrontPassage PassageSuccess
15
+
16
+ local instance successSequencePathMeasurable : MeasurableSpace C(ℝ≥0, ℂ) := borel _
17
+ local instance successSequencePathBorel : BorelSpace C(ℝ≥0, ℂ) := ⟨rfl⟩
18
+
19
+ theorem bounded_splice_sequence_success
20
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
21
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
22
+ (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
23
+ (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
24
+ (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
25
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
26
+ (γ ω) (G ω) (F₀ ω))
27
+ (hboundary : PublishedLoewnerBoundaryExtension)
28
+ (hsupport : PublishedGeometricTubeSupport P γ)
29
+ (B r : ℝ) (hB : 0 < B) (hr : 0 < r) (Tc : ℝ≥0)
30
+ (F : ℂ → ℂ) (hF : DifferentiableOn ℂ F upperHalfPlane) (a : ℂ)
31
+ (O W : Set ℂ) (hO : IsOpen O) (hW : IsOpen W)
32
+ (β : ℝ → ℂ) (tB T : ℝ) (htB : 0 < tB) (htBT : tB < T)
33
+ (hβ : ContinuousOn β (Icc 0 T)) (hi : InjOn β (Icc 0 T))
34
+ (hβH : ∀ t ∈ Ioc 0 T, 0 < (β t).im)
35
+ (hcross : ‖β tB‖ = B) (hafter : ∀ t ∈ Ioc tB T, B < ‖β t‖)
36
+ (hcircle : ∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4)
37
+ (hsector : ∀ z : ℂ, B / 8 ≤ ‖z‖ → ‖z‖ ≤ B → ‖z‖ / 2 ≤ z.im →
38
+ ‖F z - a‖ < r / 4)
39
+ (htail : F '' (β '' Icc tB T) ⊆ O) (hend : β T ∈ W)
40
+ (Fbar : ℕ → ℂ → OnePoint ℂ)
41
+ (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
42
+ (aₙ : ℕ → ℂ) (ρ : ℝ)
43
+ (Fₙ : ℕ → ℂ → ℂ)
44
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
45
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
46
+ (hne : ∀ z ∈ upperHalfPlane, deriv F z ≠ 0)
47
+ (hconv : TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane)
48
+ (hext : ∀ n z, z ∈ upperHalfPlane → Fbar n z = (Fₙ n z : OnePoint ℂ))
49
+ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ) (hU : IsOpen U)
50
+ (hp : ContinuousOn p U) (hpn : ∀ n, ContinuousOn (pₙ n) U)
51
+ (hpconv : TendstoLocallyUniformlyOn pₙ p atTop U)
52
+ (hOU : ball a (r / 2) ∪ O ⊆ U)
53
+ (hWfront : ∀ z ∈ W, 1 < p (F z))
54
+ (hstartBall : ∀ z ∈ ball a (r / 4), p z < 1 / 3)
55
+ (hearlyBall : ∀ᶠ n in atTop, ball (aₙ n) ρ ⊆ U ∩ {z | pₙ n z < 1})
56
+ (V : Set ℂ) (hV : IsOpen V) (hOV : ball a (r / 2) ∪ O ⊆ V)
57
+ (Vₙ : ℕ → Set ℂ) (hVVₙ : ∀ᶠ n in atTop, V ⊆ Vₙ n)
58
+ (bₙ : ℕ → ℂ) (ε : ℝ)
59
+ (hterminal : ∀ n z, z ∈ Vₙ n → pₙ n z = 1 → ‖z - bₙ n‖ < ε / 4)
60
+ (hearlyAllowed : ∀ᶠ n in atTop, ball (aₙ n) ρ ⊆ Vₙ n)
61
+ (R : Set ℂ) (hR : IsOpen R)
62
+ (hmiddle : ∀ z ∈ ball a (r / 2) ∪ O, 1 / 3 < p z → p z < 2 / 3 → z ∈ R)
63
+ (v : ℕ → ℝ) (hv : ∀ n, 0 < v n) (hlim : Tendsto v atTop (𝓝 0))
64
+ (η : ℕ → Ω → ℝ≥0 → ℂ) (hηc : ∀ n, ∀ᵐ ω ∂P, Continuous (η n ω))
65
+ (hηbar : ∀ n, ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ))
66
+ (Rₙ : ℕ → Set ℂ) (hregion : ∀ᶠ n in atTop, R ⊆ Rₙ n)
67
+ (hpositive : 0 < P (stoppedNarrowCertificate γ
68
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc))
69
+ (hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
70
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
71
+ stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
72
+ (Fbar n) (aₙ n) ρ) ≤
73
+ P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2) :
74
+ ∃ c q : ℝ, 0 < c ∧ 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P {ω |
75
+ ω ∈ FrontSuccess η pₙ (fun ω => boundedFirstHeightTime (γ ω) B Tc) Vₙ bₙ ε n ∧
76
+ ENNReal.ofReal c ≤ segmentSausageCharge κ (η n ω)
77
+ (boundedFirstHeightTime (γ ω) B Tc)
78
+ (frontTime (fun t => pₙ n (η n ω t)) 1) (v n) (Rₙ n)} := by
79
+ let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
80
+ let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
81
+ let σ := fun ω => boundedFirstHeightTime (γ ω) B Tc
82
+ have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
83
+ have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) := (ha t).mono (ℱ.le t) le_rfl
84
+ have hSLE : IsOrdinaryChordalSLE κ γ P :=
85
+ ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨G ω, F₀ ω, hw ω⟩)⟩
86
+ have hσ := boundedFirstHeightTime_isStoppingTime ℱ γ ha (fun ω => (hw ω).1) B Tc
87
+ have hσm : Measurable σ := stopping_time_measurable_nnreal hσ
88
+ let f := sourceTracePath γ (fun ω => (hw ω).1)
89
+ have hfm : Measurable f := source_path_measurable f hγm
90
+ let Uparam := parameterContinuationRegion F a r O
91
+ have hUparam : IsOpen Uparam := parameterContinuationRegion_isOpen hF.continuousOn a r hO
92
+ let C := stoppedPhysicalTube γ σ Uparam W
93
+ let E := stoppedNarrowCertificate γ σ B Tc ∩ C
94
+ let H : ℕ → Set Ω := fun n => stoppedImageEvent γ σ (Fbar n) (aₙ n) ρ
95
+ have hEm : MeasurableSet E := by
96
+ apply MeasurableSet.inter
97
+ · exact hσ.measurableSpace_le _
98
+ (boundedFirstHeight_certificate_measurable ℱ γ ha (fun ω => (hw ω).1) B Tc)
99
+ · exact measurableSet_stoppedPhysicalTube γ (fun ω => (hw ω).1) hγm σ hσm Uparam W hUparam hW
100
+ have hstart : ∀ ω ∈ E, p (F (γ ω (σ ω))) < 1 / 3 := by
101
+ intro ω hω
102
+ have hnorm := bounded_firstHeight_norm (f ω) (hw ω).2.1 (hw ω).2.2.1
103
+ hB Tc hω.1 (σ ω) ⟨bot_le, le_rfl⟩
104
+ change ‖γ ω (σ ω)‖ < B / 2 at hnorm
105
+ have hheight : (γ ω (σ ω)).im = B / 4 := hω.1.2.1
106
+ have him := Complex.im_le_norm (γ ω (σ ω))
107
+ have hsmall := hsector (γ ω (σ ω)) (by linarith) (by linarith)
108
+ (by rw [hheight]; linarith)
109
+ exact hstartBall _ (by simpa only [mem_ball, dist_eq_norm] using hsmall)
110
+ obtain ⟨q, hq, hprob⟩ := eventual_bounded_splice_probability κ hκ hκ8 B₀ hB₀ hm hc
111
+ γ G F₀ hw hboundary hsupport B r hB hr Tc F hF.continuousOn a O W hO hW
112
+ β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector htail hend Fbar hbar aₙ ρ
113
+ hpositive hmissing
114
+ have hη : ∀ n, ∀ᵐ ω ∂P, ∀ t : ℝ≥0, σ ω ≤ t → γ ω t ∈ upperHalfPlane →
115
+ η n ω t = Fₙ n (γ ω t) := by
116
+ intro n
117
+ filter_upwards [hηbar n] with ω hω
118
+ intro t _ ht
119
+ exact OnePoint.coe_injective ((hω t).symm.trans (hext n _ ht))
120
+ have hearly : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n ∩ E →
121
+ MapsTo (η n ω) (Icc 0 (σ ω)) U ∧
122
+ ∀ t ∈ Icc 0 (σ ω), pₙ n (η n ω t) < 1 := by
123
+ filter_upwards [hearlyBall] with n hn
124
+ filter_upwards [hηbar n] with ω hω
125
+ intro hmem
126
+ have himage : MapsTo (η n ω) (Icc 0 (σ ω)) (ball (aₙ n) ρ) := by
127
+ intro t ht
128
+ obtain ⟨z, hz, he⟩ := hmem.1 t ht
129
+ have heq : z = η n ω t := OnePoint.coe_injective (he.trans (hω t))
130
+ exact heq ▸ hz
131
+ exact ⟨fun _ ht => (hn (himage ht)).1, fun _ ht => (hn (himage ht)).2⟩
132
+ have hearlyV : ∀ᶠ n in atTop, ∀ᵐ ω ∂P, ω ∈ H n ∩ E →
133
+ MapsTo (η n ω) (Icc 0 (σ ω)) (Vₙ n) := by
134
+ filter_upwards [hearlyAllowed] with n hn
135
+ filter_upwards [hηbar n] with ω hω
136
+ intro hmem t ht
137
+ obtain ⟨z, hz, he⟩ := hmem.1 t ht
138
+ have heq : z = η n ω t := OnePoint.coe_injective (he.trans (hω t))
139
+ exact hn (heq ▸ hz)
140
+ obtain ⟨c, hcpos, hmass⟩ := retained_tube_firstFront_success_mass P κ hκ hκ8
141
+ f hfm hSLE σ hσm Fₙ F hFn hinj hF hne hconv Uparam W hUparam inter_subset_left
142
+ pₙ p U hU hp hpn hpconv (fun _ hz => hOU hz.2) hWfront E hEm inter_subset_right
143
+ hstart V hV (fun _ hz => hOV hz.2) Vₙ hVVₙ bₙ ε hterminal
144
+ R hR (fun _ hz => hmiddle _ hz.2) v hv hlim η Rₙ hregion H q hq hprob hη hηc hearly hearlyV
145
+ exact ⟨c, q / 8, hcpos, by positivity, hmass⟩
146
+
147
+
148
+ theorem localized_sequence_passage_success
149
+ {Ω : Type*} [mΩ : MeasurableSpace Ω] {P : Measure Ω}
150
+ (κ : ℝ) (hκ : 0 < κ) (hκ8 : κ < 8)
151
+ (B₀ : ℝ≥0 → Ω → ℝ) (hB₀ : IsBrownianReal B₀ P)
152
+ (hm : ∀ t, Measurable (B₀ t)) (hc : ∀ ω, Continuous (fun t => B₀ t ω))
153
+ (γ : Ω → ℝ≥0 → ℂ) (G F₀ : Ω → ℝ≥0 → ℂ → ℂ)
154
+ (hw : ∀ ω, IsCapacityTwoWitness (fun t => Real.sqrt κ * B₀ t ω)
155
+ (γ ω) (G ω) (F₀ ω))
156
+ (hboundary : PublishedLoewnerBoundaryExtension)
157
+ (hsupport : PublishedGeometricTubeSupport P γ)
158
+ (Fₙ : ℕ → ℂ → ℂ) (Fbar : ℕ → ℂ → OnePoint ℂ)
159
+ (hFn : ∀ n, DifferentiableOn ℂ (Fₙ n) upperHalfPlane)
160
+ (hinj : ∀ n, InjOn (Fₙ n) upperHalfPlane)
161
+ (hbar : ∀ n, ContinuousOn (Fbar n) closedHalfPlane)
162
+ (hext : ∀ n z, z ∈ upperHalfPlane → Fbar n z = (Fₙ n z : OnePoint ℂ))
163
+ (δ : ℝ) (hδ : 0 < δ) (βₙ : ℕ → ℝ → ℂ)
164
+ (hβc : ∀ n, ContinuousOn (βₙ n) (Icc 0 δ)) (hβ0 : ∀ n, βₙ n 0 = 0)
165
+ (hβHn : ∀ n t, t ∈ Icc 0 δ → 0 ≤ (βₙ n t).im)
166
+ (z : ℂ) (hz : z ≠ 0) (hβconv : Tendsto (fun n => βₙ n δ) atTop (𝓝 z))
167
+ (αₙ : ℕ → ℝ → ℂ) (aₙ : ℕ → ℂ) (Cg : ℝ≥0)
168
+ (hα : ∀ n, LipschitzOnWith Cg (αₙ n) (Icc 0 δ)) (hα0 : ∀ n, αₙ n 0 = aₙ n)
169
+ (hmap : ∀ n t, t ∈ Icc 0 δ → Fbar n (βₙ n t) = (αₙ n t : OnePoint ℂ))
170
+ (r₀ : ℝ) (hr₀ : 0 < r₀) (hsmallGuide : (Cg : ℝ) * δ ≤ r₀) :
171
+ ∃ T₀ : ℝ≥0, 0 < T₀ ∧ ∃ q₀ b₀ b A d L₀ : ℝ,
172
+ 0 < q₀ ∧ 0 < b₀ ∧ 0 < b ∧ 0 < A ∧ 0 < d ∧ 1 < L₀ ∧
173
+ ∀ (L : ℝ), L₀ ≤ L → A * L ^ (-d) ≤ q₀ / 2 →
174
+ ∀ (B r : ℝ), 0 < B → 0 < r → B / 2 ≤ b₀ * L ^ b →
175
+ ∀ (F : ℂ → ℂ), DifferentiableOn ℂ F upperHalfPlane →
176
+ ∀ (a : ℂ) (O W : Set ℂ), IsOpen O → IsOpen W →
177
+ ∀ (β : ℝ → ℂ) (tB T : ℝ), 0 < tB → tB < T →
178
+ ContinuousOn β (Icc 0 T) → InjOn β (Icc 0 T) →
179
+ (∀ t ∈ Ioc 0 T, 0 < (β t).im) → ‖β tB‖ = B →
180
+ (∀ t ∈ Ioc tB T, B < ‖β t‖) →
181
+ (∀ θ ∈ Ioo 0 Real.pi, ‖F (GuideSplice.circlePoint B θ) - a‖ < r / 4) →
182
+ (∀ w : ℂ, B / 8 ≤ ‖w‖ → ‖w‖ ≤ B → ‖w‖ / 2 ≤ w.im → ‖F w - a‖ < r / 4) →
183
+ F '' (β '' Icc tB T) ⊆ O → β T ∈ W →
184
+ (∀ w ∈ upperHalfPlane, deriv F w ≠ 0) →
185
+ TendstoLocallyUniformlyOn Fₙ F atTop upperHalfPlane →
186
+ ∀ (pₙ : ℕ → ℂ → ℝ) (p : ℂ → ℝ) (U : Set ℂ), IsOpen U →
187
+ ContinuousOn p U → (∀ n, ContinuousOn (pₙ n) U) →
188
+ TendstoLocallyUniformlyOn pₙ p atTop U →
189
+ ball a (r / 2) ∪ O ⊆ U → (∀ w ∈ W, 1 < p (F w)) →
190
+ (∀ w ∈ ball a (r / 4), p w < 1 / 3) →
191
+ (∀ᶠ n in atTop, ball (aₙ n) (L * r₀) ⊆ U ∩ {w | pₙ n w < 1}) →
192
+ ∀ (V : Set ℂ), IsOpen V → ball a (r / 2) ∪ O ⊆ V →
193
+ ∀ (Vₙ : ℕ → Set ℂ), (∀ᶠ n in atTop, V ⊆ Vₙ n) →
194
+ ∀ (bₙ : ℕ → ℂ) (ε : ℝ),
195
+ (∀ n w, w ∈ Vₙ n → pₙ n w = 1 → ‖w - bₙ n‖ < ε / 4) →
196
+ (∀ᶠ n in atTop, ball (aₙ n) (L * r₀) ⊆ Vₙ n) →
197
+ ∀ (R : Set ℂ), IsOpen R →
198
+ (∀ w ∈ ball a (r / 2) ∪ O, 1 / 3 < p w → p w < 2 / 3 → w ∈ R) →
199
+ ∀ (v : ℕ → ℝ), (∀ n, 0 < v n) → Tendsto v atTop (𝓝 0) →
200
+ ∀ (η : ℕ → Ω → ℝ≥0 → ℂ), (∀ n, ∀ᵐ ω ∂P, Continuous (η n ω)) →
201
+ (∀ n, ∀ᵐ ω ∂P, ∀ t, Fbar n (γ ω t) = (η n ω t : OnePoint ℂ)) →
202
+ ∀ (Rₙ : ℕ → Set ℂ), (∀ᶠ n in atTop, R ⊆ Rₙ n) →
203
+ ∃ c q : ℝ, 0 < c ∧ 0 < q ∧ ∀ᶠ n in atTop, ENNReal.ofReal q ≤ P {ω |
204
+ ω ∈ FrontSuccess η pₙ
205
+ (fun ω => boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2)) Vₙ bₙ ε n ∧
206
+ ENNReal.ofReal c ≤ segmentSausageCharge κ (η n ω)
207
+ (boundedFirstHeightTime (γ ω) B (T₀ * (Real.toNNReal B) ^ 2))
208
+ (frontTime (fun t => pₙ n (η n ω t)) 1) (v n) (Rₙ n)} := by
209
+ let : IsProbabilityMeasure P := hB₀.isGaussianProcess.isProbabilityMeasure
210
+ let ℱ := Filtration.natural B₀ (fun t => (hm t).stronglyMeasurable)
211
+ have ha := brownian_capacity_trace_adapted B₀ hm hc κ γ G F₀ hw
212
+ have hγm (t : ℝ≥0) : Measurable (fun ω => γ ω t) := (ha t).mono (ℱ.le t) le_rfl
213
+ have hSLE : IsOrdinaryChordalSLE κ γ P :=
214
+ ⟨hγm, B₀, hB₀, Eventually.of_forall (fun ω => ⟨G ω, F₀ ω, hw ω⟩)⟩
215
+ obtain ⟨T₀, hT₀, q₀, hq₀, hheight⟩ := uniform_bounded_firstHeight_real_probability
216
+ κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hsupport
217
+ obtain ⟨b, A, d, L₀, hb, hA, hd, hL₀, hloc⟩ :=
218
+ common_access_gives_firstHeight_localization κ hκ hκ8
219
+ obtain ⟨b₀, hb₀, hlocseq⟩ := hloc Ω P γ hSLE (fun ω => (hw ω).1)
220
+ (fun ω => (hw ω).2.1) (fun ω t => (hw ω).2.2.1 t)
221
+ Fₙ Fbar hFn hinj hbar hext δ hδ βₙ hβc hβ0 hβHn z hz hβconv
222
+ αₙ aₙ Cg hα hα0 hmap r₀ hr₀ hsmallGuide
223
+ refine ⟨T₀, hT₀, q₀, b₀, b, A, d, L₀, hq₀, hb₀, hb, hA, hd, hL₀, ?_⟩
224
+ intro L hL hsmall B r hB hr hBL F hF a O W hO hW β tB T htB htBT hβ hi hβH
225
+ hcross hafter hcircle hsector htail hend hne hconv pₙ p U hU hp hpn hpconv hOU
226
+ hWfront hstartBall hearlyBall V hV hOV Vₙ hVVₙ bₙ ε hterminal hearlyAllowed
227
+ R hR hmiddle v hv hlim η hηc hηbar Rₙ hregion
228
+ let Tc := T₀ * (Real.toNNReal B) ^ 2
229
+ have hheightB := hheight B hB
230
+ have hpositive : 0 < P (stoppedNarrowCertificate γ
231
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) :=
232
+ (ENNReal.ofReal_pos.mpr hq₀).trans_le hheightB
233
+ have hmissing : ∀ᶠ n in atTop, P (stoppedNarrowCertificate γ
234
+ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc \
235
+ stoppedImageEvent γ (fun ω => boundedFirstHeightTime (γ ω) B Tc)
236
+ (Fbar n) (aₙ n) (L * r₀)) ≤
237
+ P (stoppedNarrowCertificate γ (fun ω => boundedFirstHeightTime (γ ω) B Tc) B Tc) / 2 := by
238
+ filter_upwards [hlocseq] with n hn
239
+ calc
240
+ _ ≤ ENNReal.ofReal (A * L ^ (-d)) := hn L hL B hB hBL Tc
241
+ _ ≤ ENNReal.ofReal (q₀ / 2) := ENNReal.ofReal_le_ofReal hsmall
242
+ _ = ENNReal.ofReal q₀ / 2 := by
243
+ rw [ENNReal.ofReal_div_of_pos (by norm_num : (0 : ℝ) < 2)]
244
+ norm_num
245
+ _ ≤ _ := ENNReal.div_le_div_right hheightB 2
246
+ exact bounded_splice_sequence_success κ hκ hκ8 B₀ hB₀ hm hc γ G F₀ hw hboundary hsupport
247
+ B r hB hr Tc F hF a O W hO hW β tB T htB htBT hβ hi hβH hcross hafter hcircle hsector
248
+ htail hend Fbar hbar aₙ (L * r₀) Fₙ hFn hinj hne hconv hext pₙ p U hU hp hpn hpconv
249
+ hOU hWfront hstartBall hearlyBall V hV hOV Vₙ hVVₙ bₙ ε hterminal hearlyAllowed
250
+ R hR hmiddle v hv hlim η hηc hηbar Rₙ hregion hpositive hmissing
251
+
252
+ end SLEExactGauge.SequencePassage
253
+
254
+ end
255
+
256
+ end OAI
lean/OAI/Probability/SLE/Gauge/SerpentineActualAngle.lean CHANGED
@@ -1,103 +1,103 @@
1
- import OAI.Probability.SLE.Gauge.SerpentineActualGuide
2
- import OAI.Probability.SLE.Geometry.GoodPrefixCoordinates
3
- import OAI.Probability.SLE.Geometry.MarkedAccessAngle
4
-
5
- namespace OAI
6
-
7
- /-! Successful actual serpentine completion gives the marked-point angle
8
- uniformly in the number of retained strips and in the trace history. -/
9
-
10
- noncomputable section
11
- open Set Filter Metric
12
- open scoped Topology NNReal ENNReal
13
-
14
- namespace SLEExactGauge.Serpentine
15
- open RibbonCoordinates FirstFrontPassage Target
16
-
17
- theorem uniform_serpentine_actual_angle_nonneg
18
- (hopen : PublishedPlanarDiskOpenness)
19
- (hstraight : PublishedHalfPlaneCrosscutStraightening)
20
- (hexit : PublishedHalfPlaneConformalExitLaw)
21
- (hsupport : PublishedPlanarWienerUnitSupport) (W : WienerLaw) (hW : IsWiener W)
22
- {s : ℝ} (hs : 0 < s) (hs1 : s ≤ 1) :
23
- ∃ s₀ : ℝ, 0 < s₀ ∧ ∀ (U : ℝ≥0 → ℝ) (γ : ℝ≥0 → ℂ)
24
- (G F : ℝ≥0 → ℂ → ℂ), IsCapacityTwoWitness U γ G F → Continuous U →
25
- ∀ w : ℂ, ‖w‖ ≤ 1 → s ≤ w.im → 0 ≤ w.re →
26
- ∀ m : ℕ, 0 < m → ∀ g : C(ℂ, ℝ),
27
- (∀ z ∈ closedRibbon, g (physicalFitChart s w m z) = z.re) →
28
- ∀ ε : ℝ, ε ≤ 1 / 8 →
29
- () ∈ GoodRibbonPrefix (fun _ : Unit => γ)
30
- (fun _ => firstFrontTime (fun t => g (γ t)) (fitCompletion s w m))
31
- (physicalFitChart s w m) ε →
32
- let T := (firstFrontTime (fun t => g (γ t)) (fitCompletion s w m)).untopD 0
33
- s₀ ≤ (G T w - (U T : ℂ)).im / ‖G T w - (U T : ℂ)‖ := by
34
- obtain ⟨s₀, hs₀, hangle⟩ := uniform_marked_access_angle hopen hstraight hexit hsupport W hW
35
- (show 0 < s / 20 by positivity) (show s / 20 ≤ 1 by linarith)
36
- refine ⟨s₀, hs₀, ?_⟩
37
- intro U γ G F hw hU w hwn hwy hwr m hm g hg ε hε hpref
38
- have hchart : physicalExperimentChart s w m = physicalFitChart s w m := by
39
- funext z
40
- simp only [physicalExperimentChart, ite_eq_left hwr]
41
- have hemb : Topology.IsClosedEmbedding (fun z : closedRibbon => physicalFitChart s w m z) := by
42
- simpa only [hchart] using physicalExperimentChart_closedEmbedding hs w hwy hm
43
- obtain ⟨hP, hi, hH, hescape⟩ := physicalFitChart_geometry hs w hwy hm
44
- have hg0 : g (γ 0) = 0 := by
45
- rw [hw.2.1, ← physicalFitChart_zero hs w hwy hm]
46
- exact hg 0 (by simp [closedRibbon])
47
- have hk : 0 < (fitCompletion s w m : ℝ) := by
48
- have hbound := (fitCompletion_bounds hs w hwy hm).1
49
- have hEntry : 0 ≤ fitEntry s w m :=
50
- (by unfold fitHeight; positivity : (0 : ℝ) ≤ fitHeight m).trans (fit_entry_lower hs w hwy hm)
51
- have hcol : 0 ≤ columnEntry 0 m (2 * m) := columnEntry_nonneg le_rfl _ _
52
- have hmR : (0 : ℝ) < m := by exact_mod_cast hm
53
- linarith
54
- obtain ⟨T, x, xp, hfirst, hT, hx, hxpc, hγeq, hxp0, htip, hcoords, hcore, hstrict⟩ :=
55
- goodRibbonPrefix_coordinates γ hw.1 _ hemb hi g hg hg0 hk hpref
56
- have hxq : |x| ≤ 1 / 4 := hx.trans (by linarith)
57
- have hx1 : |x| ≤ 1 := hxq.trans (by norm_num)
58
- have htipre : (xp T).re = fitCompletion s w m := by simp [htip]
59
- have htipim : (xp T).im = x := by simp [htip]
60
- have hfresh := ribbon_front_tip_survives_prior _ hP.continuousOn hi hH hescape γ xp T
61
- hxpc hxp0 hcoords hγeq (fun t ht => by rw [htipre]; exact hstrict t ht)
62
- (by rw [htipim]; exact hxq.trans_lt (by norm_num))
63
- have htipphysical : physicalFitChart s w m ((fitCompletion s w m : ℂ) + (x : ℂ) * Complex.I) = γ T := by
64
- push_cast at htip
65
- rw [← htip]
66
- exact (hγeq ⟨bot_le, le_rfl⟩).symm
67
- let α := fun u : ℝ≥0 => completeMarkedAccess s w m x u
68
- have hαc : Continuous α :=
69
- (completeMarkedAccess_continuous hs hs1 w hwy hwn hwr hm x).comp NNReal.continuous_coe
70
- have hαi : Function.Injective α := by
71
- intro t u he
72
- apply NNReal.coe_injective
73
- exact completeMarkedAccess_injective hs hs1 w hwy hwn hwr hm hx1 t.coe_nonneg u.coe_nonneg he
74
- have hα0 : α 0 = γ T := by
75
- change completeMarkedAccess s w m x (0 : ℝ) = γ T
76
- rw [completeMarkedAccess_zero hs hs1 w hwy hwn hm x, htipphysical]
77
- have hαD := completeMarkedAccess_survives hs hs1 w hwy hwn hwr hm hxq γ xp T hcoords hγeq
78
- (fun t ht => (hcore t ht).1)
79
- have hαescape : Tendsto α atTop (cocompact ℂ) := by
80
- apply tendsto_cocompact_of_tendsto_dist_comp_atTop 0
81
- simp only [dist_zero_right]
82
- exact (completeMarkedAccess_norm_tendsto hs w hwn hwr m x).comp
83
- (NNReal.tendsto_coe_atTop.mpr tendsto_id)
84
- have hlocus (z : ℂ) (hz : z ∈ ball (0 : ℂ) ((s / 20) / 12)) :
85
- (∃ u : ℝ≥0, 0 < u ∧ α u = markedCornerChart w z) ↔ z.im = 0 :=
86
- completeMarkedAccess_corner_nnreal_iff hs hs1 w hwy hwn hwr hm hx1 hz
87
- have hclear (right : Bool) (t : ℝ) (ht : t ∈ Icc (1 / 64 : ℝ) 3) (u : ℝ≥0) (_hu : 0 < u) :
88
- (s / 20) / 1000 ≤ dist (markedWindowRoute right w (s / 20) t) (α u) := by
89
- have hh := completeMarkedAccess_route_clearance hs hs1 w hwy hwn hwr hm hx1
90
- (show 1 / 64 ≤ 4 / 3 * t by linarith [ht.1]) u.coe_nonneg
91
- cases right
92
- · exact hh.1
93
- · exact hh.2
94
- have hpast := physicalFit_prefix_low_right hs w hwy hwr hm γ xp T hcoords hγeq
95
- have hh := hangle U γ G F hw hU T hT hfresh w hwn (show 2 * (s / 20) < w.im by linarith)
96
- hpast α hαc hαi hα0 hαD hαescape hlocus hclear
97
- simpa only [hfirst, WithTop.untopD_coe] using hh
98
-
99
- end SLEExactGauge.Serpentine
100
-
101
- end
102
-
103
- end OAI
 
1
+ import OAI.Probability.SLE.Gauge.SerpentineActualGuide
2
+ import OAI.Probability.SLE.Geometry.GoodPrefixCoordinates
3
+ import OAI.Probability.SLE.Geometry.MarkedAccessAngle
4
+
5
+ namespace OAI
6
+
7
+ /-! Successful actual serpentine completion gives the marked-point angle
8
+ uniformly in the number of retained strips and in the trace history. -/
9
+
10
+ noncomputable section
11
+ open Set Filter Metric
12
+ open scoped Topology NNReal ENNReal
13
+
14
+ namespace SLEExactGauge.Serpentine
15
+ open RibbonCoordinates FirstFrontPassage Target
16
+
17
+ theorem uniform_serpentine_actual_angle_nonneg
18
+ (hopen : PublishedPlanarDiskOpenness)
19
+ (hstraight : PublishedHalfPlaneCrosscutStraightening)
20
+ (hexit : PublishedHalfPlaneConformalExitLaw)
21
+ (hsupport : PublishedPlanarWienerUnitSupport) (W : WienerLaw) (hW : IsWiener W)
22
+ {s : ℝ} (hs : 0 < s) (hs1 : s ≤ 1) :
23
+ ∃ s₀ : ℝ, 0 < s₀ ∧ ∀ (U : ℝ≥0 → ℝ) (γ : ℝ≥0 → ℂ)
24
+ (G F : ℝ≥0 → ℂ → ℂ), IsCapacityTwoWitness U γ G F → Continuous U →
25
+ ∀ w : ℂ, ‖w‖ ≤ 1 → s ≤ w.im → 0 ≤ w.re →
26
+ ∀ m : ℕ, 0 < m → ∀ g : C(ℂ, ℝ),
27
+ (∀ z ∈ closedRibbon, g (physicalFitChart s w m z) = z.re) →
28
+ ∀ ε : ℝ, ε ≤ 1 / 8 →
29
+ () ∈ GoodRibbonPrefix (fun _ : Unit => γ)
30
+ (fun _ => firstFrontTime (fun t => g (γ t)) (fitCompletion s w m))
31
+ (physicalFitChart s w m) ε →
32
+ let T := (firstFrontTime (fun t => g (γ t)) (fitCompletion s w m)).untopD 0
33
+ s₀ ≤ (G T w - (U T : ℂ)).im / ‖G T w - (U T : ℂ)‖ := by
34
+ obtain ⟨s₀, hs₀, hangle⟩ := uniform_marked_access_angle hopen hstraight hexit hsupport W hW
35
+ (show 0 < s / 20 by positivity) (show s / 20 ≤ 1 by linarith)
36
+ refine ⟨s₀, hs₀, ?_⟩
37
+ intro U γ G F hw hU w hwn hwy hwr m hm g hg ε hε hpref
38
+ have hchart : physicalExperimentChart s w m = physicalFitChart s w m := by
39
+ funext z
40
+ simp only [physicalExperimentChart, ite_eq_left hwr]
41
+ have hemb : Topology.IsClosedEmbedding (fun z : closedRibbon => physicalFitChart s w m z) := by
42
+ simpa only [hchart] using physicalExperimentChart_closedEmbedding hs w hwy hm
43
+ obtain ⟨hP, hi, hH, hescape⟩ := physicalFitChart_geometry hs w hwy hm
44
+ have hg0 : g (γ 0) = 0 := by
45
+ rw [hw.2.1, ← physicalFitChart_zero hs w hwy hm]
46
+ exact hg 0 (by simp [closedRibbon])
47
+ have hk : 0 < (fitCompletion s w m : ℝ) := by
48
+ have hbound := (fitCompletion_bounds hs w hwy hm).1
49
+ have hEntry : 0 ≤ fitEntry s w m :=
50
+ (by unfold fitHeight; positivity : (0 : ℝ) ≤ fitHeight m).trans (fit_entry_lower hs w hwy hm)
51
+ have hcol : 0 ≤ columnEntry 0 m (2 * m) := columnEntry_nonneg le_rfl _ _
52
+ have hmR : (0 : ℝ) < m := by exact_mod_cast hm
53
+ linarith
54
+ obtain ⟨T, x, xp, hfirst, hT, hx, hxpc, hγeq, hxp0, htip, hcoords, hcore, hstrict⟩ :=
55
+ goodRibbonPrefix_coordinates γ hw.1 _ hemb hi g hg hg0 hk hpref
56
+ have hxq : |x| ≤ 1 / 4 := hx.trans (by linarith)
57
+ have hx1 : |x| ≤ 1 := hxq.trans (by norm_num)
58
+ have htipre : (xp T).re = fitCompletion s w m := by simp [htip]
59
+ have htipim : (xp T).im = x := by simp [htip]
60
+ have hfresh := ribbon_front_tip_survives_prior _ hP.continuousOn hi hH hescape γ xp T
61
+ hxpc hxp0 hcoords hγeq (fun t ht => by rw [htipre]; exact hstrict t ht)
62
+ (by rw [htipim]; exact hxq.trans_lt (by norm_num))
63
+ have htipphysical : physicalFitChart s w m ((fitCompletion s w m : ℂ) + (x : ℂ) * Complex.I) = γ T := by
64
+ push_cast at htip
65
+ rw [← htip]
66
+ exact (hγeq ⟨bot_le, le_rfl⟩).symm
67
+ let α := fun u : ℝ≥0 => completeMarkedAccess s w m x u
68
+ have hαc : Continuous α :=
69
+ (completeMarkedAccess_continuous hs hs1 w hwy hwn hwr hm x).comp NNReal.continuous_coe
70
+ have hαi : Function.Injective α := by
71
+ intro t u he
72
+ apply NNReal.coe_injective
73
+ exact completeMarkedAccess_injective hs hs1 w hwy hwn hwr hm hx1 t.coe_nonneg u.coe_nonneg he
74
+ have hα0 : α 0 = γ T := by
75
+ change completeMarkedAccess s w m x (0 : ℝ) = γ T
76
+ rw [completeMarkedAccess_zero hs hs1 w hwy hwn hm x, htipphysical]
77
+ have hαD := completeMarkedAccess_survives hs hs1 w hwy hwn hwr hm hxq γ xp T hcoords hγeq
78
+ (fun t ht => (hcore t ht).1)
79
+ have hαescape : Tendsto α atTop (cocompact ℂ) := by
80
+ apply tendsto_cocompact_of_tendsto_dist_comp_atTop 0
81
+ simp only [dist_zero_right]
82
+ exact (completeMarkedAccess_norm_tendsto hs w hwn hwr m x).comp
83
+ (NNReal.tendsto_coe_atTop.mpr tendsto_id)
84
+ have hlocus (z : ℂ) (hz : z ∈ ball (0 : ℂ) ((s / 20) / 12)) :
85
+ (∃ u : ℝ≥0, 0 < u ∧ α u = markedCornerChart w z) ↔ z.im = 0 :=
86
+ completeMarkedAccess_corner_nnreal_iff hs hs1 w hwy hwn hwr hm hx1 hz
87
+ have hclear (right : Bool) (t : ℝ) (ht : t ∈ Icc (1 / 64 : ℝ) 3) (u : ℝ≥0) (_hu : 0 < u) :
88
+ (s / 20) / 1000 ≤ dist (markedWindowRoute right w (s / 20) t) (α u) := by
89
+ have hh := completeMarkedAccess_route_clearance hs hs1 w hwy hwn hwr hm hx1
90
+ (show 1 / 64 ≤ 4 / 3 * t by linarith [ht.1]) u.coe_nonneg
91
+ cases right
92
+ · exact hh.1
93
+ · exact hh.2
94
+ have hpast := physicalFit_prefix_low_right hs w hwy hwr hm γ xp T hcoords hγeq
95
+ have hh := hangle U γ G F hw hU T hT hfresh w hwn (show 2 * (s / 20) < w.im by linarith)
96
+ hpast α hαc hαi hα0 hαD hαescape hlocus hclear
97
+ simpa only [hfirst, WithTop.untopD_coe] using hh
98
+
99
+ end SLEExactGauge.Serpentine
100
+
101
+ end
102
+
103
+ end OAI