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 YM.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Tablets |
| 2 | import YM.Push.RELAY_DIFFERENCE.TwoSided |
| 3 | |
| 4 | /-! |
| 5 | # Within-step derivative by two actual transactions |
| 6 | |
| 7 | Interpolation specialized for the true `beta` experiment, not analytic continuation of |
| 8 | field direction/masks. No premise of any analyticity of indicator gates. `polar` |
| 9 | here may see ANY sign for constant payloads. Extent estimates at radius s later with Mark. |
| 10 | Determining complex ledger from the *two real scenes* also for Borel with hard gates. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticNext.ConnectedActivity.Plotter |
| 15 | open Filter MeasureTheory Complex |
| 16 | open scoped Topology BigOperators Classical |
| 17 | |
| 18 | def pit : ℝ := -(1/4) |
| 19 | def ridge : ℝ := 1/4 |
| 20 | |
| 21 | def hour (t : ℝ) := (1+t)^2 |
| 22 | |
| 23 | def zone (t : ℂ) := (1+t)^2 - ↑(hour pit) |
| 24 | |
| 25 | lemma distance' {t : ℂ} (h : ‖t‖≤1/16) : ‖(1+t)^2-1‖ ≤ 3*‖t‖ := by |
| 26 | calc |
| 27 | _ = ‖2*t+t^2‖ := by congr 1; ring |
| 28 | _ ≤ ‖(2:ℂ)‖*‖t‖+‖t‖^2 := by rw [← _root_.norm_pow t 2, ← norm_mul]; exact norm_add_le _ _ |
| 29 | _ ≤ _ := by norm_num; nlinarith [norm_nonneg t] |
| 30 | |
| 31 | lemma limits {t : ℂ} (h : ‖t‖≤1/16) : ‖zone t‖≤1 ∧ ‖1-zone t‖≤1 := by |
| 32 | have hv := distance' h |
| 33 | have ht : zone t = ((1+t)^2-1)+(1-↑(hour pit)) := by unfold zone; abel |
| 34 | have hs : (1-(1-↑(hour pit)):ℂ)=(↑(hour pit):ℂ) := by ring |
| 35 | have hx := norm_add_le ((1+t)^2-1) (1-(↑(hour pit):ℂ)) |
| 36 | have hy := norm_sub_le (↑(hour pit):ℂ) ((1+t)^2-1) |
| 37 | rw [ht,show 1-(((1+t)^2-1)+(1-↑(hour pit)))=(↑(hour pit):ℂ)-((1+t)^2-1) by abel] |
| 38 | have he : ‖(1-↑(hour pit):ℂ)‖=7/16 := by rw [← ofReal_one, ← ofReal_sub,norm_real,Real.norm_eq_abs]; norm_num [hour,pit] |
| 39 | have hW : ‖(↑(hour pit):ℂ)‖=9/16 := by rw [norm_real,Real.norm_eq_abs]; norm_num [hour,pit] |
| 40 | exact ⟨hx.trans (by rw [he]; linarith),hy.trans (by rw [hW]; linarith)⟩ |
| 41 | |
| 42 | lemma polarPeak (r s : ℝ) {t : ℂ} (h : ‖t‖≤1/16) : |
| 43 | ‖Complex.exp ((1-zone t)*↑r + zone t*↑s)‖ ≤ Real.exp (max r s) := by |
| 44 | obtain ⟨hv,hb⟩ := limits h |
| 45 | have h₁ : (zone t).re ≤ 1 := (Complex.re_le_norm _).trans hv |
| 46 | have h₂ := (Complex.re_le_norm (1-zone t)).trans hb |
| 47 | rw [Complex.norm_exp, Real.exp_le_exp] |
| 48 | simp only [Complex.add_re,Complex.mul_re,Complex.one_re,Complex.sub_re,Complex.ofReal_re,ofReal_im,mul_zero,sub_zero] at h₂ ⊢ |
| 49 | rcases le_total r s with hh|hh |
| 50 | · rw [max_eq_right hh]; nlinarith |
| 51 | rw [max_eq_left hh]; nlinarith |
| 52 | |
| 53 | def Fractional (f : ℝ → ℝ) := (∃ r : ℝ, ∀ t, 0 < 1+t → f t=r) ∨ |
| 54 | (∃ A B : ℝ, ∀ t, 0<1+t → f t=Real.exp (A+B*hour t)-1) |
| 55 | |
| 56 | def Voyage (m : ℕ) (f : ℝ→ℝ) := ∃ D A B : ℝ, ∀ t, 0<1+t → f t=(1+t)^m * D * Real.exp (A+B*hour t) |
| 57 | |
| 58 | def coin (x y : ℝ) (t : ℂ) := if x=y then (x:ℂ) else |
| 59 | Complex.exp ((1-zone t)*↑(Real.log (1+x))+zone t*↑(Real.log (1+y))) - 1 |
| 60 | |
| 61 | |
| 62 | |
| 63 | lemma lode (x : ℝ) (he : |x|≤1/4) : |Real.log (1+x)|≤ 2*|x| := by |
| 64 | let y := Real.log (1+x) |
| 65 | have hz : 0 < 1+x := by linarith [neg_le_of_abs_le he] |
| 66 | have hx := Real.add_one_le_exp y |
| 67 | have hs : Real.exp y=1+x := Real.exp_log hz |
| 68 | have hY := Real.add_one_le_exp (-y) |
| 69 | rw [hs] at hx; rw [Real.exp_neg,hs] at hY |
| 70 | have hk := mul_le_mul_of_nonneg_right hY hz.le; rw [inv_mul_cancel₀ hz.ne'] at hk |
| 71 | refine abs_le.mpr ⟨?_,by linarith [le_abs_self x,abs_nonneg x]⟩; change _ ≤ y |
| 72 | by_contra! h |
| 73 | nlinarith [abs_nonneg x,le_abs_self x, neg_le_of_abs_le he,neg_abs_le x] |
| 74 | |
| 75 | lemma coinPrice (x y : ℝ) (hx : 0<1+x) (hy : 0<1+y) {t : ℂ} (h : ‖t‖≤1/16) : |
| 76 | ‖coin x y t‖ ≤ 10*(|x|+|y|) := by |
| 77 | unfold coin; split |
| 78 | next => rw [norm_real,Real.norm_eq_abs]; linarith [abs_nonneg y,abs_nonneg x] |
| 79 | next => |
| 80 | let f := Real.log (1+x); let g := Real.log (1+y); let z := zone t |
| 81 | let U : ℂ := (1-z)*↑f + z*↑g |
| 82 | by_cases hn : |x|+|y|≤1/4 |
| 83 | · obtain ⟨h₁,h₂⟩ := limits h |
| 84 | have hF := lode x (by linarith [abs_nonneg y]); have hG := lode y (by linarith [abs_nonneg x]) |
| 85 | have hu : ‖U‖≤2*(|x|+|y|) := by |
| 86 | refine (norm_add_le _ _).trans ?_; rw [norm_mul,norm_mul,norm_real,norm_real] |
| 87 | have hs := mul_le_of_le_one_left (norm_nonneg f) (show ‖1-z‖≤1 from h₂) |
| 88 | have ht := mul_le_of_le_one_left (norm_nonneg g) (show ‖z‖≤1 from h₁) |
| 89 | simp_rw [Real.norm_eq_abs,f,g] at hs ht ⊢; linarith |
| 90 | exact (Complex.norm_exp_sub_one_le (show ‖U‖≤1 by linarith)).trans (by linarith [abs_nonneg y,abs_nonneg x]) |
| 91 | have hp := polarPeak f g h |
| 92 | apply (norm_sub_le (Complex.exp U) 1).trans; rw [norm_one] |
| 93 | change ‖Complex.exp U‖ ≤ _ at hp |
| 94 | rcases le_total f g with H|H |
| 95 | · rw [max_eq_right H,show Real.exp g=1+y from Real.exp_log hy] at hp; linarith [le_abs_self y,abs_nonneg x] |
| 96 | rw [max_eq_left H,show Real.exp f=1+x from Real.exp_log hx] at hp; linarith [le_abs_self x,abs_nonneg y] |
| 97 | |
| 98 | lemma counted (f : ℝ→ℝ) (he : Fractional f) {t : ℂ} (h : ‖t‖≤1/16) : |
| 99 | ‖coin (f pit) (f ridge) t‖ ≤ 10*(|f pit|+|f ridge|) := by |
| 100 | have h₁ : 0<1+pit := by norm_num [pit] |
| 101 | have h₂ : 0<1+ridge := by norm_num [ridge] |
| 102 | rcases he with ⟨A,H⟩|⟨A,B,H⟩ |
| 103 | · rw [H pit h₁,H ridge h₂,coin,if_pos rfl,norm_real,Real.norm_eq_abs]; linarith [abs_nonneg A] |
| 104 | apply coinPrice _ _ _ _ h |
| 105 | · rw [H pit h₁]; linarith [Real.exp_pos (A+B*hour pit)] |
| 106 | rw [H ridge h₂]; linarith [Real.exp_pos (A+B*hour ridge)] |
| 107 | |
| 108 | -- a slightly simpler signed ratio interpolation |
| 109 | |
| 110 | def holm (m : ℕ) (x y : ℝ) (t : ℂ) := |
| 111 | let L := x/(1+pit)^m; let H := y/(1+ridge)^m |
| 112 | (1+t)^m * ↑L * Complex.exp (zone t*(Real.log (H/L))) |
| 113 | |
| 114 | lemma emergent {m : ℕ} {f : ℝ → ℝ} {A B D : ℝ} (hd : D≠0) (hf : ∀ t,0<1+t → f t=(1+t)^m*D * Real.exp (A+B*hour t)) (t : ℂ) : |
| 115 | holm m (f pit) (f ridge) t=(1+t)^m*↑D *Complex.exp ((1-zone t)*↑(A+B*hour pit)+zone t*↑(A+B*hour ridge)) := by |
| 116 | unfold holm; dsimp only |
| 117 | have he t (ht : 0<1+t) : f t/(1+t)^m=D*Real.exp (A+B*hour t) := by rw [hf _ ht]; field_simp |
| 118 | rw [he _ (by norm_num [pit]),he _ (by norm_num [ridge]),mul_div_mul_left _ _ hd, ← Real.exp_sub,Real.log_exp, |
| 119 | ofReal_mul,ofReal_exp,← mul_assoc (a:=(1+t)^m),mul_assoc (a:= (1+t)^m*(↑D:ℂ)), ← Complex.exp_add] |
| 120 | congr 2; push_cast; ring |
| 121 | |
| 122 | |
| 123 | |
| 124 | lemma massFare {m : ℕ} (f : ℝ→ℝ) (hc : Voyage m f) {t : ℂ} (h : ‖t‖≤1/16) : |
| 125 | ‖holm m (f pit) (f ridge) t‖ ≤ 4^m*(|f pit|+|f ridge|) := by |
| 126 | obtain ⟨D,A,B,hD⟩ := hc |
| 127 | have ht (y : ℝ) (hy : 1/2≤1+y) : ‖1+t‖^m*|D| * Real.exp (A+B*hour y) ≤ 4^m*|f y| := by |
| 128 | rw [hD y (by linarith),abs_mul,abs_mul,abs_of_pos (Real.exp_pos _),abs_of_pos (pow_pos (show 0<1+y by linarith) m)] |
| 129 | rw [show (4:ℝ)^m*((1+y)^m*|D| * Real.exp _)= (4*(1+y))^m*|D| * Real.exp (A+B*hour y) by rw [mul_pow]; ring] |
| 130 | have hh := norm_add_le (1:ℂ) t; rw [norm_one] at hh; gcongr; linarith |
| 131 | rcases eq_or_ne D 0 with rfl|hd |
| 132 | · simp only [holm,hD pit (by norm_num [pit]),hD ridge (by norm_num [ridge]),mul_zero,zero_mul,zero_div,ofReal_zero,norm_zero, |
| 133 | abs_zero,add_zero,le_refl] |
| 134 | rw [emergent hd hD,norm_mul,norm_mul,_root_.norm_pow,norm_real,Real.norm_eq_abs] |
| 135 | apply (mul_le_mul_of_nonneg_left (polarPeak _ _ h) (by positivity)).trans |
| 136 | rcases le_total (A+B*hour pit) (A+B*hour ridge) with H|H |
| 137 | · rw [max_eq_right H]; exact (ht ridge (by norm_num [ridge])).trans (mul_le_mul_of_nonneg_left |
| 138 | (le_add_of_nonneg_left (abs_nonneg _)) (by positivity)) |
| 139 | rw [max_eq_left H]; exact (ht pit (by norm_num [pit])).trans (mul_le_mul_of_nonneg_left |
| 140 | (le_add_of_nonneg_right (abs_nonneg _)) (by positivity)) |
| 141 | end YM.AnalyticNext.ConnectedActivity.Plotter |