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.ReachD |
| 2 | |
| 3 | /-! |
| 4 | # Point cost of D. Both weighted index and stencil incidence. |
| 5 | |
| 6 | Uniform in *arbitrary* V. `P.width` of the top path price. All post-L |
| 7 | costs earned before any F/window. Extensive factors deliberately not |
| 8 | used here. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.AnalyticNext.ConnectedActivity.Aff |
| 13 | open Function Lattice RG Precision Wilson Pressure Pressure.Stores Exterior |
| 14 | open Turn Work.F03 Progress.StationaryScenes Push.AbsoluteSums |
| 15 | open Green |
| 16 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 17 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 18 | |
| 19 | lemma lie_basis_cost (i : Vars G n) (z : Bond n) : ‖lie (Pi.single i (1:ℝ)) z‖ ≤ 1 := by |
| 20 | by_cases h : i.1=z |
| 21 | · subst z |
| 22 | rcases i with ⟨p,l⟩ |
| 23 | have he : lie (Pi.single (p,l) (1:ℝ)) p = EuclideanSpace.basisFun _ ℝ l := by |
| 24 | ext j |
| 25 | change (Pi.single (p,l) 1 : ArrayR G n) (p,j) = _; simp [Pi.single_apply,EuclideanSpace.basisFun_apply] |
| 26 | rw [he]; exact (OrthonormalBasis.norm_eq_one ..).le |
| 27 | rw [lie_basis i z h]; simp |
| 28 | |
| 29 | lemma piece_cost (x : G.Color) (i : G.ColorIndex) : |x i| ≤ ‖x‖ := calc |
| 30 | _ = |inner ℝ ((EuclideanSpace.basisFun G.ColorIndex ℝ) i) x| := by simp only [EuclideanSpace.basisFun_inner] |
| 31 | _ ≤ _ := (abs_real_inner_le_norm ..).trans_eq (by simp only [OrthonormalBasis.norm_eq_one,one_mul]) |
| 32 | |
| 33 | lemma curl_cost (p : Cell f) (x : Directions G f) (B : ℝ) (h : ∀ i, ‖x i‖ ≤ B) : |
| 34 | ‖curl p x‖ ≤ 4*B := by |
| 35 | rw [curl_chain]; unfold chain |
| 36 | refine (norm_sub_le _ _).trans ?_ |
| 37 | apply le_trans (add_le_add (norm_sub_le _ _) (norm_sub_le _ _)); exact |
| 38 | (add_le_add (add_le_add (h _) (h _)) (add_le_add (h _) (h _))).trans_eq (by ring) |
| 39 | |
| 40 | lemma level_power (T : Tube G S) {P : Teller G} (h : P.Funds S T) (s : Signed) (V : Config G c) (R : ℕ) |
| 41 | (α : ℝ) (ha : 0<α) (hh : α ≤ P.top.width) (i : Twin f) (j : Vars G f) : |
| 42 | let p : Pos S := (s,.inl i) |
| 43 | wt α (base S p) (home S j.1) * ‖level T R i (untwine S p V (lie (Pi.single j 1)))‖ ≤ |
| 44 | (4*Real.exp (α*2)*Real.sqrt P.top.clip.direct + P.top.paths*4) := by |
| 45 | intro p |
| 46 | let x := untwine S p V (lie (Pi.single j 1)); let y := untwine S p V (0:Directions G f) |
| 47 | have he m : ‖x m‖ ≤ 1 := by unfold x; rw [pull_cost]; exact lie_basis_cost .. |
| 48 | have hy : y=0 := by funext; simp [y,untwine, rotateG] |
| 49 | let w := wt α (base S p) (home S j.1) |
| 50 | have hw : 0 < w := wt_pos .. |
| 51 | have hv := P.top.paths_pos |
| 52 | have hL := P.top.clip.quadratic_pos |
| 53 | have hm (l : ℕ) : (w*‖bandTerm T R i.1 l x‖) ≤ |(T.up.row i.1.2 l).1| * Real.exp (P.top.width * (T.up.row i.1.2 l).2.length)*4 := by |
| 54 | by_cases hz : separation (base S p) (home S j.1) ≤ (T.up.row i.1.2 l).2.length |
| 55 | · have ht : w ≤ Real.exp (P.top.width * (T.up.row i.1.2 l).2.length) := by |
| 56 | unfold w wt; have h := P.top.width_pos; gcongr |
| 57 | unfold bandTerm; split |
| 58 | next h => |
| 59 | have hr := curl_cost (slotFace (T.up.row i.1.2 l).2 i.1.1) x 1 he |
| 60 | rw [mul_one] at hr |
| 61 | rw [norm_smul]; refine (mul_le_mul ht (mul_le_mul_of_nonneg_left hr (norm_nonneg _)) (by positivity) (by positivity)).trans_eq ?_ |
| 62 | rw [Real.norm_eq_abs]; ring |
| 63 | next h => rw [norm_zero,mul_zero]; positivity |
| 64 | have h := slot_range T R p i rfl V l (lie (Pi.single j 1)) 0 (by |
| 65 | intro j' hj'; apply lie_basis j j' |
| 66 | rintro he; rw [← he] at hj'; contradiction) |
| 67 | change bandTerm T _ _ _ x=bandTerm T _ _ _ y at h |
| 68 | rw [h,hy]; unfold bandTerm; split |
| 69 | next h => simp only [curl_chain,chain, Pi.zero_apply,sub_zero,smul_zero,norm_zero,mul_zero]; positivity |
| 70 | next h => rw [norm_zero,mul_zero]; positivity |
| 71 | have hi := h.feeds; obtain ⟨L,A,h1,h2⟩ := hi |
| 72 | unfold level; split |
| 73 | next hx => |
| 74 | change w * ‖∑' l, bandTerm T R i.1 l x‖ ≤ _ |
| 75 | let b l := |(T.up.row i.1.2 l).1| * Real.exp (P.top.width * (T.up.row i.1.2 l).2.length) |
| 76 | have hs : SumBudget b P.top.paths := h1.rows _ |
| 77 | have hg := (hs.2.1.mul_right 4).of_nonneg_of_le (fun l => mul_nonneg hw.le (norm_nonneg (bandTerm T R _ l x))) hm |
| 78 | have hx : Summable (fun l => ‖bandTerm T R i.1 l x‖) := by |
| 79 | have hh := hg.mul_left w⁻¹ |
| 80 | simpa only [inv_mul_cancel_left₀ hw.ne'] using! hh |
| 81 | calc |
| 82 | _ ≤ w * ∑' l, ‖bandTerm T R i.1 l x‖ := mul_le_mul_of_nonneg_left (norm_tsum_le_tsum_norm hx) hw.le |
| 83 | _ ≤ (∑' l, b l)*4 := by |
| 84 | rw [← tsum_mul_left, ← tsum_mul_right]; exact hg.tsum_le_tsum hm (hs.2.1.mul_right 4) |
| 85 | _ ≤ P.top.paths*4 := by gcongr; exact hs.2.2 |
| 86 | _ ≤ _ := le_add_of_nonneg_left (by positivity) |
| 87 | next hx => |
| 88 | change w * ‖Real.sqrt T.high.direct • curl i.1 x‖ ≤ _; rw [h.high, norm_smul] |
| 89 | by_cases hs : separation (base S p) (home S j.1) ≤ 2 |
| 90 | · have hm : w ≤ Real.exp (α*2) := by unfold w wt; gcongr; exact_mod_cast hs |
| 91 | rw [Real.norm_of_nonneg (by positivity)] |
| 92 | have ht := curl_cost i.1 x 1 he; rw [mul_one] at ht |
| 93 | calc |
| 94 | _ ≤ Real.exp (α*2) * (Real.sqrt P.top.clip.direct*4) := by gcongr |
| 95 | _ = 4*Real.exp (α*2)*Real.sqrt P.top.clip.direct := by ring |
| 96 | _ ≤ _ := le_add_of_nonneg_right (by positivity) |
| 97 | have hi : curl i.1 x=curl i.1 y := by |
| 98 | apply curl_range S; intro z hz; apply pull_dep |
| 99 | apply lie_basis j (edgeP s z); intro hg; apply hs; rw [hg] |
| 100 | have h := along_home s (S.ratio.parent i.1.1) S z |
| 101 | exact h.trans (by omega) |
| 102 | rw [hi,hy,curl_chain]; simp only [chain,Pi.zero_apply,sub_zero,norm_zero,mul_zero]; positivity |
| 103 | |
| 104 | /-- I row rooted predictor reads, keep locality even if tag |
| 105 | families in the inputs vary. Post at this patch shape. -/ |
| 106 | lemma noise_power (D : Patch) (K : KernelChoices) (G : Gauge) (hb : D.Branches K G) (α : ℝ) (ha : 0<α) : |
| 107 | ∃ C : ℝ, 0<C ∧ ∀ (c f : Side) (S : StepData c f) (T : Tube G S), S.kernel=K → S.patch=D → |
| 108 | ∀ (s : Signed) (V : Config G c) (R : ℕ) (i : Bond c) (j : Vars G f), |
| 109 | let p : Pos S := (s,.inr i) |
| 110 | wt α (base S p) (home S j.1) * ‖derivative T R p V (lie (Pi.single j 1))‖ ≤ C := by |
| 111 | obtain ⟨E,r,hE,-,hx⟩ := Next.Fluctuations.z_chart_cost D K G hb |
| 112 | refine ⟨Real.exp (α*(Next.Fluctuations.predReach D+1:ℕ))*E,by positivity,?_⟩ |
| 113 | intro c f S T hK hD s V R i j p |
| 114 | let x := untwine S p V (lie (Pi.single j 1)) |
| 115 | have hi m : ‖x m‖ ≤ 1 := by unfold x; rw [pull_cost]; exact lie_basis_cost .. |
| 116 | change _ * ‖Next.Fluctuations.zLin S (form x) 0 i‖ ≤ _ |
| 117 | by_cases hl : separation (base S p) (home S j.1) ≤ Next.Fluctuations.predReach S.patch+1 |
| 118 | · have hm : ‖(form x, (0:fieldDir G c 1))‖ ≤ 1 := by |
| 119 | change max _ _ ≤ _; rw [norm_zero]; refine max_le ?_ zero_le_one |
| 120 | apply (pi_norm_le_iff_of_nonneg zero_le_one).mpr |
| 121 | exact fun _ => hi _ |
| 122 | obtain ⟨q,-⟩ := hx c f S hD hK (Classical.ofNonempty:S.Choices) i (form x,0) |
| 123 | apply mul_le_mul _ (q.trans (mul_le_of_le_one_right hE.le hm)) (by positivity) (Real.exp_pos _).le |
| 124 | unfold wt; rw [hD] at hl; gcongr |
| 125 | have hz : Next.Fluctuations.zLin S (form x) 0 i = Next.Fluctuations.zLin S (form (0:Directions G f)) 0 i := by |
| 126 | apply z_range (by rw [hK,hD]; exact hb); intro z hz |
| 127 | have he := along_home s i.1 S z |
| 128 | have ht : edgeP s z≠j.1 := fun e => hl (le_trans (show separation _ _ ≤ _ from e ▸ he) (by omega)) |
| 129 | apply norm_eq_zero.mp |
| 130 | unfold x; rw [pull_cost, lie_basis j _ ht.symm]; simp |
| 131 | have he : Next.Fluctuations.zLin S (form (0:Directions G f)) 0 i=(0:G.Color) := by |
| 132 | ext u |
| 133 | simp only [Next.Fluctuations.zLin,PiLp.smul_apply,PiLp.sub_apply,Pi.zero_apply,PiLp.zero_apply]; |
| 134 | rw [show parts G 1 (form (0:Directions G f)) u = 0 from rfl]; simp |
| 135 | rw [hz,he,norm_zero,mul_zero]; positivity |
| 136 | |
| 137 | -- point exp uses even for unfolded operations. α/width paid by any top. |
| 138 | theorem received (P : Teller G) (D : Patch) (hm : D.Branches P.bind G) : |
| 139 | ∃ C : ℝ, 0 < C ∧ |
| 140 | ∀ (c f : Side) (S : StepData c f) (T : Tube G S), P.Funds S T → S.patch=D → |
| 141 | ∀ (x : ℝ) (V : Config G c) (i : Ix G S) (j : Vars G f), |
| 142 | wt P.top.width (base S i.1) (home S j.1) * |scale T x V i j| ≤ C := by |
| 143 | obtain ⟨C,hc,he⟩ := noise_power D P.bind G hm P.top.width P.top.width_pos |
| 144 | let A := (4*Real.exp (P.top.width*2)*Real.sqrt P.top.clip.direct + P.top.paths*4) |
| 145 | refine ⟨Real.sqrt weight*max C A, mul_pos (Real.sqrt_pos.mpr weight_pos) (hc.trans_le (le_max_left ..)),?_⟩ |
| 146 | intro c f S T h hD x V i j |
| 147 | let v := derivative T (till x) i.1 V (lie (Pi.single j 1)); let w := wt P.top.width (base S i.1) (home S j.1) |
| 148 | have hp : w*‖v‖ ≤ max C A := by |
| 149 | rcases i with ⟨⟨s,i|i⟩,k⟩ |
| 150 | · exact le_trans (level_power T h s V _ _ P.top.width_pos le_rfl _ j) (le_max_right ..) |
| 151 | exact (he c f S T h.knobs hD s V _ i j).trans (le_max_left ..) |
| 152 | change w*|Real.sqrt weight * v i.2| ≤ _ |
| 153 | rw [abs_mul, abs_of_nonneg (Real.sqrt_nonneg _),mul_left_comm] |
| 154 | exact mul_le_mul_of_nonneg_left |
| 155 | ((mul_le_mul_of_nonneg_left (piece_cost ..) (wt_pos ..).le).trans hp) (by positivity) |
| 156 | |
| 157 | end YM.AnalyticNext.ConnectedActivity.Aff |