Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import Mathlib.Analysis.Complex.HasPrimitives |
| 2 | import Mathlib.Topology.Baire.Lemmas |
| 3 | |
| 4 | /-! |
| 5 | One-variable weak-boundary uniqueness. We only use it AFTER smearing horizontally; |
| 6 | strict values need not be bounded before smearing. The sequence of vertical boundary |
| 7 | values after smearing need only tend to a number (as in the Opens property). We use |
| 8 | Baire to bound intermediate strict values on some spatial interval (here the real part |
| 9 | of the complex coordinate). No continuation of a perturbative remainder to the |
| 10 | Lorentzian boundary is presumed. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | namespace YM.Trace |
| 15 | open Function Filter MeasureTheory Complex Set |
| 16 | open scoped Topology ContDiff Interval |
| 17 | set_option autoImplicit false |
| 18 | set_option linter.unusedSectionVars false |
| 19 | |
| 20 | def upper : Set ℂ := {z|0<z.im} |
| 21 | lemma upper_open : IsOpen upper := isOpen_lt continuous_const continuous_im |
| 22 | lemma upper_connected : IsPreconnected upper := by |
| 23 | suffices h : Convex ℝ upper from h.isPreconnected |
| 24 | intro x hx y hy a b ha hb hab; unfold upper at * |
| 25 | simp only [mem_setOf_eq,Complex.real_smul, Complex.add_im,mul_im,ofReal_re,ofReal_im,zero_mul,add_zero] at * |
| 26 | change a*x.im + b*y.im > 0; change 0<x.im at hx; change 0<y.im at hy |
| 27 | rcases le_total a b with _|_ <;> nlinarith |
| 28 | |
| 29 | def upperStrip (a b h : ℝ) := Ioo a b ×ℂ Ioo 0 h |
| 30 | def midStrip (a b h : ℝ) := Ioo a b ×ℂ Ioo (-h) h |
| 31 | lemma strips_open (a b h : ℝ) : IsOpen (upperStrip a b h) ∧ IsOpen (midStrip a b h) := by |
| 32 | exact ⟨.inter (isOpen_Ioo.preimage continuous_re) (isOpen_Ioo.preimage continuous_im), |
| 33 | .inter (isOpen_Ioo.preimage continuous_re) (isOpen_Ioo.preimage continuous_im)⟩ |
| 34 | lemma pack_strip {a b h : ℝ} (hh:0<h) : upperStrip a b h ⊆ midStrip a b h := by |
| 35 | intro x hx; obtain ⟨he,hp⟩ := mem_reProdIm.mp hx |
| 36 | exact mem_reProdIm.mpr ⟨he,neg_lt.mpr (by have hpx : 0<x.im := hp.1; linarith),hp.2⟩ -- wrong |
| 37 | |
| 38 | private lemma pack (x y : ℝ) (s t : Set ℝ) : (x+y*I) ∈ s ×ℂ t ↔ x∈s ∧ y∈t := by |
| 39 | rw [mem_reProdIm]; simp |
| 40 | |
| 41 | variable {a b h C x l y t : ℝ} {F : ℂ→ℂ} |
| 42 | |
| 43 | omit C F in |
| 44 | private lemma mixed_rectangle (hx : x ∈ Ioo a b) (hu : l ∈ Ioo a b) |
| 45 | (hy : y ∈ Ioo 0 h) (ht : t ∈ Ioo 0 h) : Rectangle (x+t*I) (l+y*I) ⊆ upperStrip a b h := by |
| 46 | simp_rw [Rectangle,upperStrip] |
| 47 | intro p hp; obtain ⟨hr,hi⟩ := mem_reProdIm.mp hp |
| 48 | have h1 {a b u v s : ℝ} (h : s ∈ [[u,v]]) (hu : u∈ Ioo a b) (hv : v∈Ioo a b) : s∈Ioo a b := by |
| 49 | simp only [mem_uIcc] at h |
| 50 | obtain ⟨ha,hb⟩ := hu; obtain ⟨hc,hd⟩ := hv |
| 51 | rcases h with ⟨h1,h2⟩|⟨h3,h4⟩ <;> exact ⟨by linarith, by linarith⟩ |
| 52 | exact mem_reProdIm.mpr ⟨h1 (by simpa using! hr) hx hu,h1 (by simpa using! hi) ht hy⟩ |
| 53 | |
| 54 | def liftFromZero (F : ℂ→ℂ) (w : ℂ) : ℂ := if 0 < w.im then |
| 55 | I * ∫ v in (0:ℝ)..w.im, F (w.re + v*I) else 0 |
| 56 | |
| 57 | variable (HF : DifferentiableOn ℂ F (upperStrip a b h)) (hc : ∀ z ∈ upperStrip a b h, ‖F z‖ ≤ C) |
| 58 | (Hlim : ∀ x ∈ Ioo a b, Tendsto (fun (y : ℝ) => F (x+y*I)) (𝓝[>] 0) (𝓝 0)) |
| 59 | include HF |
| 60 | lemma hCuts (hx : x ∈ Ioo a b) (hu : l ∈ Ioo a b) (hy : y ∈ Ioo 0 h) (ht : t ∈ Ioo 0 h) : |
| 61 | (∫ r in x..l, F (r + t*I)) + I * (∫ r in t..y, F (l+r*I)) = |
| 62 | (∫ r in x..l, F (r + y*I)) + I * (∫ r in t..y, F (x+r*I)) := by |
| 63 | have := HF.isConservativeOn _ _ (mixed_rectangle hx hu hy ht) |
| 64 | simp only [wedgeIntegral,add_re, add_im,ofReal_im,ofReal_re, mul_I_re,mul_I_im, |
| 65 | neg_zero,add_zero,zero_add,smul_eq_mul] at this |
| 66 | rw [intervalIntegral.integral_symm x, intervalIntegral.integral_symm t] at this; linear_combination this |
| 67 | |
| 68 | lemma horizontal_open_continuous (hy : y ∈ Ioo 0 h) : |
| 69 | ContinuousOn (fun (x : ℝ) => F (x+y*I)) (Ioo a b) := by |
| 70 | apply ContinuousOn.comp (g:=F) (f:=fun q : ℝ => (q:ℂ)+y*I) HF.continuousOn |
| 71 | · fun_prop |
| 72 | exact fun x hx => (pack ..).mpr ⟨hx,hy⟩ |
| 73 | |
| 74 | lemma vertical_open_continuous (hx : x ∈ Ioo a b) : |
| 75 | ContinuousOn (fun (t : ℝ) => F (x+t*I)) (Ioo 0 h) := by |
| 76 | apply ContinuousOn.comp (g:=F) (f:=fun q : ℝ => (x:ℂ)+q*I) HF.continuousOn |
| 77 | · fun_prop |
| 78 | exact fun y hy => (pack ..).mpr ⟨hx,hy⟩ |
| 79 | |
| 80 | include hc |
| 81 | lemma vertical_integrable (hx : x ∈ Ioo a b) (hy : y ∈ Ioo 0 h) : |
| 82 | IntervalIntegrable (fun r : ℝ => F (x+r*I)) volume 0 y := by |
| 83 | have hp : Ioc 0 y ⊆ Ioo 0 h := fun u hu => ⟨hu.1,hu.2.trans_lt hy.2⟩ |
| 84 | refine ⟨IntegrableOn.of_bound (Real.volume_Ioc (a:=0) (b:=y) ▸ ENNReal.ofReal_lt_top) |
| 85 | (((vertical_open_continuous HF hx).mono hp).aestronglyMeasurable measurableSet_Ioc) C |
| 86 | ((ae_restrict_mem measurableSet_Ioc).mono fun u hu => hc _ ((pack ..).mpr ⟨hx,hp hu⟩)),?_⟩ |
| 87 | rw [show Ioc y 0=∅ from Set.Ioc_eq_empty_of_le hy.1.le]; exact integrableOn_empty |
| 88 | |
| 89 | lemma lift_at (x y : ℝ) (hy : 0<y) : liftFromZero F (x+y*I)=I*(∫ v in (0:ℝ)..y, F (x + v*I)) := by simp [liftFromZero,hy] |
| 90 | include hc |
| 91 | lemma lift_norm (hx : x ∈ Ioo a b) (hy : y ∈ Ioo 0 h) : |
| 92 | ‖liftFromZero F (x+y*I)‖ ≤ max 0 C * |y| := by |
| 93 | rw [liftFromZero] |
| 94 | simp only [add_im,ofReal_im,mul_I_im,ofReal_re,zero_add,if_pos hy.1,add_re,mul_I_re, neg_zero,add_zero,norm_mul,norm_I,one_mul] |
| 95 | refine intervalIntegral.norm_integral_le_of_norm_le_const (C:=max 0 C) ?_ |>.trans_eq (by rw [sub_zero]) |
| 96 | intro k hk |
| 97 | rw [uIoc_of_le hy.1.le] at hk |
| 98 | exact le_trans (hc _ ((pack ..).mpr ⟨hx,hk.1,hk.2.trans_lt hy.2⟩)) (le_max_right ..) |
| 99 | |
| 100 | lemma vertical_tendsto (hh : 0 < h) (hx : x ∈ Ioo a b) : Tendsto (fun (t : ℝ) => liftFromZero F (x+t*I)) (𝓝[>] 0) (𝓝 0) := by |
| 101 | apply tendsto_zero_iff_norm_tendsto_zero.mpr |
| 102 | have H : Tendsto (fun t : ℝ => max 0 C * |t|) (𝓝[>] 0) (𝓝 0) := by |
| 103 | simpa only [abs_zero,mul_zero] using! (ContinuousAt.tendsto (show ContinuousAt (fun t : ℝ => max 0 C * |t|) 0 by fun_prop)).mono_left |
| 104 | nhdsWithin_le_nhds |
| 105 | have hE : Ioo 0 h ∈ 𝓝[>] (0:ℝ) := mem_nhdsWithin.mpr ⟨Iio h,isOpen_Iio,hh,fun _ hx => ⟨hx.2,hx.1⟩⟩ |
| 106 | exact squeeze_zero' (.of_forall fun _ => norm_nonneg _) (hft:= (show ∀ᶠ (t : ℝ) in 𝓝[>] 0, _ from hE).mono (fun r hr => lift_norm HF hc hx hr)) H |
| 107 | |
| 108 | include Hlim |
| 109 | lemma horizontal_tendsto (hh : 0<h) (hx : x ∈ Ioo a b) (hu : l ∈ Ioo a b) : |
| 110 | Tendsto (fun t : ℝ => ∫ r in x..l, F (r+t*I)) (𝓝[>] 0) (𝓝 0) := by |
| 111 | have ht : Ι x l ⊆ Ioo a b := fun r hr => by |
| 112 | simp only [mem_uIoc] at hr |
| 113 | obtain ⟨ha,hb⟩ := hx; obtain ⟨hd,he⟩ := hu |
| 114 | rcases hr with ⟨_,h2⟩|⟨h3,h4⟩ <;> exact ⟨by linarith, by linarith⟩ |
| 115 | have hE : Ioo 0 h ∈ 𝓝[>] (0:ℝ) := mem_nhdsWithin.mpr ⟨Iio h,isOpen_Iio,hh,fun _ hx => ⟨hx.2,hx.1⟩⟩ |
| 116 | rw [← intervalIntegral.integral_zero (E:=ℂ) (a:=x) (b:=l) (μ:=volume)]; apply intervalIntegral.tendsto_integral_filter_of_dominated_convergence (fun _ : ℝ => max 0 C) ?_ ?_ intervalIntegrable_const ?_ |
| 117 | · filter_upwards [hE] with t ht' |
| 118 | exact ((horizontal_open_continuous HF ht').mono ht).aestronglyMeasurable measurableSet_uIoc |
| 119 | · filter_upwards [hE] with t ht' |
| 120 | filter_upwards with r hr |
| 121 | exact le_trans (hc _ ((pack ..).mpr ⟨ht hr,ht'⟩)) (le_max_right ..) |
| 122 | exact ae_of_all _ fun r hr => Hlim _ (ht hr) |
| 123 | |
| 124 | lemma lift_horizontal (hx : x ∈ Ioo a b) (hu : l ∈ Ioo a b) (hy : y ∈ Ioo 0 h) : |
| 125 | liftFromZero F (l + y*I) - liftFromZero F (x+y*I) = ∫ r in x..l, F (r+y*I) := by |
| 126 | have hh := hy.1.trans hy.2 |
| 127 | have hz := horizontal_tendsto HF hc Hlim hh hx hu |>.sub (vertical_tendsto HF hc hh hu) |>.add |
| 128 | (vertical_tendsto HF hc hh hx) |
| 129 | have he : ∀ᶠ (t:ℝ) in 𝓝[>] 0, |
| 130 | (((∫ (r : ℝ) in x..l, F (r+t*I)) - liftFromZero F (l+t*I)) + liftFromZero F (x+t*I)) = |
| 131 | (∫ r in x..l, F (r+y*I)) - (liftFromZero F (l+y*I)-liftFromZero F (x+y*I)) := by |
| 132 | filter_upwards [nhdsWithin_le_nhds (gt_mem_nhds hh), self_mem_nhdsWithin] with t ht htp |
| 133 | have htv : t ∈ Ioo 0 h := ⟨htp,ht⟩ |
| 134 | have hi x (hu' : x ∈ Ioo a b) := intervalIntegral.integral_add_adjacent_intervals |
| 135 | (vertical_integrable HF hc (x:=x) hu' htv) ((vertical_integrable HF hc hu' htv).symm.trans (vertical_integrable HF hc hu' hy)) |
| 136 | have hs := hCuts HF hx hu hy htv |
| 137 | rw [lift_at HF hc l y hy.1,lift_at HF hc x y hy.1,lift_at HF hc l t htv.1,lift_at HF hc x t htv.1] |
| 138 | linear_combination hs - I*hi l hu + I*hi x hx |
| 139 | simp only [sub_zero,add_zero] at hz |
| 140 | have h0 := tendsto_nhds_unique hz (show Tendsto _ _ (𝓝 _) from tendsto_const_nhds.congr' (Filter.EventuallyEq.symm he)) |
| 141 | linear_combination h0 |
| 142 | |
| 143 | lemma lift_wedge {z w : ℂ} (hz : z ∈ upperStrip a b h) (hw : w∈upperStrip a b h) : |
| 144 | liftFromZero F w - liftFromZero F z = wedgeIntegral z w F := by |
| 145 | rcases mem_reProdIm.mp hz with ⟨hx,hy⟩; rcases mem_reProdIm.mp hw with ⟨hl,hk⟩ |
| 146 | have H := lift_horizontal HF hc Hlim hx hl hy |
| 147 | simp only [re_add_im] at H |
| 148 | rw [wedgeIntegral,smul_eq_mul,← H] -- then vertical term |
| 149 | have hi :=(vertical_integrable HF hc hl hy).symm.trans (vertical_integrable HF hc hl hk) |
| 150 | unfold liftFromZero; simp only [add_re,ofReal_re,mul_I_re,ofReal_im,neg_zero,add_zero,add_im,mul_I_im, |
| 151 | zero_add,if_pos hy.1, if_pos hk.1] |
| 152 | linear_combination -I * intervalIntegral.integral_add_adjacent_intervals (vertical_integrable HF hc hl hy) hi |
| 153 | lemma lift_deriv {z : ℂ} (hz : z ∈ upperStrip a b h) : HasDerivAt (liftFromZero F) (F z) z := by |
| 154 | obtain ⟨r,hr,hR⟩ := Metric.mem_nhds_iff.mp ((strips_open a b h).1.mem_nhds hz) |
| 155 | have hQ : liftFromZero F =ᶠ[𝓝 z] fun w=> wedgeIntegral z w F + liftFromZero F z := |
| 156 | Filter.Eventually.mono (Metric.ball_mem_nhds z hr) (fun w hw => eq_add_of_sub_eq (lift_wedge HF hc Hlim hz (hR hw))) |
| 157 | have ht := (HF.mono hR).isConservativeOn.hasDerivAt_wedgeIntegral (HF.continuousOn.mono hR) (Metric.mem_ball_self hr) |
| 158 | simpa using! (ht.add_const (liftFromZero F z)).congr_of_eventuallyEq hQ |
| 159 | lemma lift_diff : DifferentiableOn ℂ (liftFromZero F) (upperStrip a b h) := fun _ hz => |
| 160 | (lift_deriv HF hc Hlim hz).differentiableAt.differentiableWithinAt |
| 161 | lemma lift_continuous : ContinuousOn (liftFromZero F) (midStrip a b h) := by |
| 162 | apply (strips_open ..).2.continuousOn_iff.mpr |
| 163 | intro z hz |
| 164 | obtain ⟨hx,hy⟩ := mem_reProdIm.mp hz |
| 165 | by_cases hp : z.im > 0 |
| 166 | · exact (lift_deriv HF hc Hlim (mem_reProdIm.mpr ⟨hx,hp,hy.2⟩)).continuousAt |
| 167 | by_cases hm : z.im < 0 |
| 168 | · apply (continuousAt_const (y:=(0:ℂ))).congr_of_eventuallyEq |
| 169 | filter_upwards [(continuous_im.tendsto z).eventually (gt_mem_nhds hm)] with w hw |
| 170 | dsimp [liftFromZero]; rw [if_neg (show ¬ 0 < w.im from (show w.im<0 from hw).le.not_gt)] |
| 171 | have hi : z.im=0 := (le_of_not_gt hp).antisymm (le_of_not_gt hm) |
| 172 | have hv : liftFromZero F z=0 := by simp [liftFromZero,hi] |
| 173 | have ht : Tendsto (fun w : ℂ => (max 0 C) * |w.im|) (𝓝 z) (𝓝 0) := by |
| 174 | have := (continuousAt_const (y:=max 0 C)|>.mul continuous_im.continuousAt.abs).tendsto (x:=z) |
| 175 | simpa only [Pi.mul_apply,hi, abs_zero,mul_zero] using! this |
| 176 | have hbound : ∀ᶠ (w : ℂ) in 𝓝 z, ‖liftFromZero F w‖ ≤ max 0 C * |w.im| := Filter.Eventually.mono ((strips_open a b h).2.mem_nhds hz) |
| 177 | (fun w hw => by |
| 178 | obtain ⟨hx',hy'⟩ := mem_reProdIm.mp hw |
| 179 | by_cases hy'' : w.im>0 |
| 180 | · have := lift_norm HF hc hx' ⟨hy'',hy'.2⟩; simpa only [re_add_im] using this |
| 181 | simp only [liftFromZero,if_neg hy'',norm_zero]; positivity) |
| 182 | unfold ContinuousAt; rw [hv] |
| 183 | exact tendsto_zero_iff_norm_tendsto_zero.mpr (squeeze_zero' (.of_forall fun _=>norm_nonneg _) hbound ht) |
| 184 | |
| 185 | lemma wedge_mid {z w : ℂ} (hz : z ∈ midStrip a b h) (hw : w ∈ midStrip a b h) : |
| 186 | liftFromZero (liftFromZero F) w - liftFromZero (liftFromZero F) z = wedgeIntegral z w (liftFromZero F) := by |
| 187 | let K := liftFromZero F; change liftFromZero K w - liftFromZero K z = _ |
| 188 | obtain ⟨hx,hy⟩ := mem_reProdIm.mp hz; obtain ⟨hl,hy'⟩ := mem_reProdIm.mp hw |
| 189 | have horizontal : liftFromZero K (w.re + z.im*I)-liftFromZero K z = ∫ r in z.re..w.re, K (r+z.im*I) := by |
| 190 | by_cases ht : z.im > 0 |
| 191 | · have hK (p) (hp:p∈upperStrip a b h) : ‖K p‖ ≤ max 0 C * h := by |
| 192 | obtain ⟨hr,hi⟩ := mem_reProdIm.mp hp |
| 193 | refine le_trans (b:=max 0 C * |p.im|) (show _ from ?_) (mul_le_mul_of_nonneg_left (abs_le.mpr ?_) (le_max_left 0 C)) |
| 194 | · simpa only [re_add_im,K] using lift_norm HF hc hr hi |
| 195 | exact ⟨neg_lt.mpr ((neg_lt_zero.mpr hi.1).trans (hi.1.trans hi.2)) |>.le,hi.2.le⟩ |
| 196 | have hk := lift_horizontal (lift_diff HF hc Hlim) hK (fun o ho => vertical_tendsto HF hc (ht.trans hy.2) (x:=o) ho) hx hl ⟨ht,hy.2⟩ |
| 197 | simpa only [re_add_im] using hk |
| 198 | simp only [liftFromZero,add_im,ofReal_im,mul_I_im,ofReal_re,zero_add,ht,if_false,sub_self (0:ℂ),K,intervalIntegral.integral_zero] |
| 199 | rw [wedgeIntegral,smul_eq_mul,← horizontal] |
| 200 | suffices ∀ y : ℝ, I * (∫ v in 0..y, K (w.re+v*I)) = liftFromZero K (w.re+y*I) from ?_ |
| 201 | · have hi (y : ℝ) (hy : y ∈ Ioo (-h) h) : IntervalIntegrable (fun v : ℝ => K (w.re+v*I)) volume 0 y := by |
| 202 | apply ContinuousOn.intervalIntegrable |
| 203 | refine (lift_continuous HF hc Hlim).comp (f:=fun v : ℝ=> (w.re : ℂ)+v*I) (by fun_prop) |
| 204 | (fun x hu => (pack ..).mpr ⟨hl,?_⟩) |
| 205 | rcases mem_uIcc.mp hu with he|he <;> obtain ⟨he1,he2⟩ := he |
| 206 | all_goals change -h<x ∧ x<h; obtain ⟨hy1,hy2⟩ := hy; exact ⟨by linarith,by linarith⟩ |
| 207 | have hv := intervalIntegral.integral_add_adjacent_intervals (hi z.im hy) |
| 208 | ((hi z.im hy).symm.trans (hi w.im hy')) |
| 209 | have h1 := this w.im; rw [re_add_im] at h1 |
| 210 | have h2 := this z.im |
| 211 | linear_combination -h1 + h2 - I * hv |
| 212 | intro u |
| 213 | by_cases hu : 0<u |
| 214 | · simp [liftFromZero,hu] |
| 215 | rw [liftFromZero]; simp only [add_im,ofReal_im,mul_I_im,ofReal_re,zero_add,if_neg hu] |
| 216 | -- integrand identically zero in interval |
| 217 | rw [(by |
| 218 | refine Eq.trans (intervalIntegral.integral_congr (g := fun _ => (0:ℂ)) ?_) intervalIntegral.integral_zero |
| 219 | intro z hz; change liftFromZero F _=0; rw [liftFromZero]; simp_rw [add_im,ofReal_im,mul_I_im,ofReal_re,zero_add] |
| 220 | rw [uIcc_comm,uIcc_of_le (le_of_not_gt hu)] at hz |
| 221 | exact if_neg (show ¬ z>0 from hz.2.not_gt) : (∫ v in (0:ℝ)..u, K (w.re+(v:ℂ)*I)) = 0)]; ring |
| 222 | |
| 223 | lemma lift_holo : DifferentiableOn ℂ (liftFromZero F) (midStrip a b h) := by |
| 224 | apply (isConservativeOn_and_continuousOn_iff_isDifferentiableOn (U:=midStrip a b h) (strips_open ..).2).mp |
| 225 | refine ⟨fun z w hw => ?_,lift_continuous HF hc Hlim⟩ |
| 226 | have h1 := hw (mem_reProdIm.mpr ⟨Set.left_mem_uIcc,Set.left_mem_uIcc⟩ : z∈Rectangle z w) |
| 227 | have h2 := hw (mem_reProdIm.mpr ⟨Set.right_mem_uIcc,Set.right_mem_uIcc⟩ : w∈Rectangle z w) |
| 228 | rw [← wedge_mid HF hc Hlim h1 h2,← wedge_mid HF hc Hlim h2 h1]; ring |
| 229 | |
| 230 | lemma boundary_window (ha : a<b) (hh : 0<h) : EqOn F 0 (upperStrip a b h) := by |
| 231 | let m := (((a+b)/2:ℝ):ℂ); let D := midStrip a b h |
| 232 | have hm : m ∈ D := mem_reProdIm.mpr (by simp only [m, ofReal_re, ofReal_im,mem_Ioo]; exact ⟨⟨by linarith,by linarith⟩,by linarith,by linarith⟩) |
| 233 | obtain ⟨r, hr, hR⟩ := Metric.mem_nhds_iff.mp ((strips_open a b h).2.mem_nhds hm) |
| 234 | have hI : m-(r/2:ℝ)*I ∈ Metric.ball m r := Metric.mem_ball.mpr (by simp [abs_of_pos,hr]) |
| 235 | have hB : liftFromZero F =ᶠ[𝓝 (m-(r/2:ℝ)*I)] 0 := by |
| 236 | filter_upwards [(continuous_im.tendsto _).eventually (gt_mem_nhds (by simp [m,hr] : (m-(r/2:ℝ)*I).im<0))] |
| 237 | with w (hw : w.im < 0) |
| 238 | rw [liftFromZero,if_neg (by linarith)]; rfl |
| 239 | have he := ((lift_holo HF hc Hlim).mono hR).analyticOnNhd Metric.isOpen_ball |
| 240 | |>.eqOn_of_preconnected_of_eventuallyEq analyticOnNhd_const (convex_ball .. |>.isPreconnected) hI hB |
| 241 | have hI' : (m+(r/2:ℝ)*I) ∈ Metric.ball m r := Metric.mem_ball.mpr (by simp [hr,abs_of_pos]) |
| 242 | have hi' : (m+ (r/2:ℝ)*I).im ∈ Ioi (0:ℝ) := by simp [m,hr] |
| 243 | have hv : (m+(r/2:ℝ)*I) ∈ upperStrip a b h := mem_reProdIm.mpr ⟨(mem_reProdIm.mp (hR hI')).1, |
| 244 | hi', (mem_reProdIm.mp (hR hI')).2.2⟩ |
| 245 | have H : F =ᶠ[𝓝 (m+(r/2:ℝ)*I)] 0 := by |
| 246 | filter_upwards [Metric.isOpen_ball.mem_nhds hI',(strips_open ..).1.mem_nhds hv] with w hw hg |
| 247 | have hy : liftFromZero F =ᶠ[𝓝 w] fun _ => 0 := (he.mono ?_).eventuallyEq.filter_mono (Filter.le_principal_iff.mpr (Metric.isOpen_ball.mem_nhds hw)) |
| 248 | · have ht := (hy.hasDerivAt_iff).mpr (hasDerivAt_const w 0) |
| 249 | exact (lift_deriv HF hc Hlim hg).unique ht |
| 250 | exact Subset.rfl |
| 251 | have Hc : IsPreconnected (upperStrip a b h) := (Convex.inter ((convex_Ioo a b).linear_preimage Complex.reCLM.toLinearMap) |
| 252 | ((convex_Ioo 0 h).linear_preimage Complex.imCLM.toLinearMap)).isPreconnected |
| 253 | exact HF.analyticOnNhd (strips_open ..).1 |>.eqOn_of_preconnected_of_eventuallyEq analyticOnNhd_const Hc hv H |
| 254 | omit HF hc Hlim |
| 255 | /-- Uniqueness when the holomorphic function has tested horizontal slices with zero limit - |
| 256 | proof on the resulting scalar function. Only asks pointwise (not uniform tempered order). -/ |
| 257 | theorem vanishes_of_vertical_limit (h : DifferentiableOn ℂ F upper) |
| 258 | (e : ∀ x : ℝ, Tendsto (fun (y:ℝ) => F (x + y*I)) (𝓝[>] 0) (𝓝 0)) : EqOn F 0 upper := by |
| 259 | let k (n : ℕ) := ((n:ℝ)+1)⁻¹ |
| 260 | let D (n) := {x : ℝ | ∀ y∈Ioo 0 (k n), ‖F (x + y*I)‖ ≤ n} |
| 261 | have he (n : ℕ) : IsClosed (D n) := by |
| 262 | simp only [D,setOf_forall] |
| 263 | refine isClosed_iInter fun y => isClosed_iInter fun hy => isClosed_le ?_ continuous_const |
| 264 | have ht : ∀ x ∈ upper, ContinuousAt F x := upper_open.continuousOn_iff.mp h.continuousOn |
| 265 | exact continuous_iff_continuousAt.mpr (fun x=> ((ht _ (by unfold upper; simpa using hy.1)).comp (by fun_prop)).norm) |
| 266 | have hd : ⋃ n, D n=univ := iUnion_eq_univ_iff.mpr fun x => by |
| 267 | obtain ⟨δ,hδ,hx⟩ := (Metric.tendsto_nhdsWithin_nhds (a:=0) (b:=0)).mp (e x) 1 one_pos |
| 268 | have hh : Tendsto k atTop (𝓝 0) := tendsto_inv_atTop_zero.comp (tendsto_atTop_add_const_right _ 1 |
| 269 | (tendsto_natCast_atTop_atTop (R:=ℝ))) |
| 270 | obtain ⟨n,hk,hn⟩ := ((hh.eventually (gt_mem_nhds hδ)).and (eventually_ge_atTop 1)).exists |
| 271 | refine ⟨n,fun y hy => le_trans (show _≤1 from ?_) (mod_cast hn)⟩ |
| 272 | have h := abs_of_pos hy.1 |
| 273 | simpa [dist_eq,h] using (hx hy.1 (by simpa [Real.dist_eq,abs_of_pos hy.1] using hy.2.trans hk)).le |
| 274 | obtain ⟨n,x,hx⟩ := nonempty_interior_of_iUnion_of_closed he hd |
| 275 | obtain ⟨s,hs,hS⟩ := Metric.mem_nhds_iff.mp (isOpen_interior.mem_nhds hx) |
| 276 | have hp := boundary_window (F:=F) (a:=x-s) (b:=x+s) (h:=k n) |
| 277 | (h.mono (fun z hz => (mem_reProdIm.mp hz).2.1)) (C:=(n:ℝ)) (fun z hz => by |
| 278 | obtain ⟨⟨hv,hv'⟩,hy⟩:=mem_reProdIm.mp hz |
| 279 | have ht : z.re∈D n := interior_subset (hS (Metric.mem_ball.mpr (by rw [Real.dist_eq]; exact abs_lt.mpr (by constructor <;> linarith)))) |
| 280 | simpa only [re_add_im] using! ht z.im hy) |
| 281 | (fun u _ => e u) (show x-s<x+s by linarith) (by dsimp only [k]; positivity) |
| 282 | let z := (x:ℂ)+(k n/2:ℝ)*I |
| 283 | have hk : 0<k n := by dsimp only [k]; positivity |
| 284 | have hz : z∈upperStrip (x-s) (x+s) (k n) := (pack ..).mpr ⟨⟨by linarith,by linarith⟩,⟨by positivity,by linarith⟩⟩ |
| 285 | have hz' : z∈upper := (mem_reProdIm.mp hz).2.1 |
| 286 | exact h.analyticOnNhd upper_open |>.eqOn_of_preconnected_of_eventuallyEq analyticOnNhd_const upper_connected hz' |
| 287 | (hp.eventuallyEq.filter_mono (le_principal_iff.mpr ((strips_open ..).1.mem_nhds hz))) |
| 288 | end YM.Trace |