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_JETS_E6.Rod |
| 2 | import YM.Work.A05 |
| 3 | |
| 4 | /-! |
| 5 | # Cut vs full and locality for the extracted rows |
| 6 | |
| 7 | Both at physical orthonormal color frame (sup for arrays, real Hilbert |
| 8 | for components). Getting an off-diagonal price does not require small |
| 9 | globally tested chart *derivatives*; exploit the actual approximation |
| 10 | by the linear family at every cut. Pre-L use of the unmasked bounds on |
| 11 | Atoms. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.ConnectedActivityE6.SliceRows |
| 17 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory |
| 18 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations Matrix |
| 19 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 20 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 21 | open Work.F03 Work.E04 |
| 22 | |
| 23 | section cut |
| 24 | variable {A : PathData G} {p : Clip} {σ C Λ : ℝ} |
| 25 | |
| 26 | lemma linear_charge (h : A.Bounds p σ C Λ) (x : Directions G f) (i : Cell f) : |
| 27 | ‖ellLine A i (toLog x)‖ ≤ C*(4*‖x‖) := by |
| 28 | let u j := A.row i.2 j |
| 29 | let T j := (u j).1 • faceCurl (slotFace (u j).2 i.1) (toLog x) |
| 30 | have hh : SumBudget (rich A σ i.2) C := h.rows _ |
| 31 | have he j : ‖T j‖ ≤ (4*‖x‖)*rich A σ i.2 j := by |
| 32 | dsimp only [T]; unfold rich |
| 33 | rw [norm_smul,Real.norm_eq_abs] |
| 34 | apply (mul_le_mul_of_nonneg_left (phi_linear x _) (abs_nonneg _)).trans |
| 35 | have hx := h.width |
| 36 | rw [mul_comm (4 * ‖x‖)] |
| 37 | exact mul_le_mul_of_nonneg_right (le_mul_of_one_le_right (abs_nonneg _) (Real.one_le_exp (by positivity))) |
| 38 | (by positivity) |
| 39 | have ht := budget_mono (budget_scale (by positivity : 0 ≤ 4*‖x‖) hh) (fun _ => norm_nonneg _) he |
| 40 | exact (norm_tsum_le_tsum_norm ht.2.1).trans (ht.2.2.trans_eq (mul_comm ..)) |
| 41 | |
| 42 | lemma line_cut (h : A.Bounds p σ C Λ) (R : ℕ) (x : Directions G f) (i : Cell f) : |
| 43 | ‖ellLine A i (toLog x)-ellCut A R (toLog x) i‖ ≤ C*(4*‖x‖)*Real.exp (-σ*R) := by |
| 44 | let u j := A.row i.2 j |
| 45 | let T j := (u j).1 • faceCurl (slotFace (u j).2 i.1) (toLog x) |
| 46 | let Q j := if (u j).2.length≤R then T j else 0 |
| 47 | have hh : SumBudget (rich A σ i.2) C := h.rows _ |
| 48 | let M := 4*‖x‖*Real.exp (-σ*R) |
| 49 | have hM : 0 ≤ M := by unfold M; positivity |
| 50 | have he j : ‖T j-Q j‖ ≤ M*rich A σ i.2 j := by |
| 51 | unfold Q; split |
| 52 | next ht => rw [sub_self,norm_zero]; exact mul_nonneg hM (hh.1 _) |
| 53 | next ht => |
| 54 | rw [sub_zero]; dsimp only [T]; unfold rich M |
| 55 | rw [norm_smul,Real.norm_eq_abs] |
| 56 | apply (mul_le_mul_of_nonneg_left (phi_linear x _) (abs_nonneg _)).trans |
| 57 | have he : ∀ v w : ℝ, v*(4*‖x‖) * Real.exp (-σ*R+w)= 4*‖x‖*Real.exp (-σ*R)*(v*Real.exp w) := by |
| 58 | intro v w; rw [Real.exp_add]; ring |
| 59 | rw [← he] |
| 60 | apply le_mul_of_one_le_right (by positivity); apply Real.one_le_exp |
| 61 | have hh : (R:ℝ) ≤ (u j).2.length := by exact_mod_cast le_of_lt (Nat.lt_of_not_ge ht) |
| 62 | unfold u at hh; linarith [mul_le_mul_of_nonneg_left hh h.width.le] |
| 63 | have ht := budget_mono (budget_scale hM hh) (fun _ => norm_nonneg _) he |
| 64 | unfold ellLine ellCut |
| 65 | rw [← Summable.tsum_sub (ellLine_summable A h ..) (ecut_sum h ..)] |
| 66 | exact (norm_tsum_le_tsum_norm ht.2.1).trans (ht.2.2.trans_eq (by unfold M; ring)) |
| 67 | |
| 68 | /-- Full operator comparison in the bar leg (Z linearization unchanged). -/ |
| 69 | def uncutField (T : Tube G S) (x : Directions G f) : Rod c f → G.Color := |
| 70 | Sum.elim (xLin T.high T.up (toLog x)) (zLin S (toLog x) 0) |
| 71 | |
| 72 | lemma difference (T : Tube G S) (h : T.up.Bounds p σ C Λ) (R : ℕ) (x : Directions G f) (i : Rod c f) : |
| 73 | ‖uncutField T x i - barField T R x i‖ ≤ C*(4*‖x‖)*Real.exp (-σ*R) := by |
| 74 | rcases i with p|b |
| 75 | · have hC : 0 ≤ C := budget_nonneg (h.rows p.1.2) |
| 76 | dsimp only [uncutField,barField,Sum.elim,bareCut,xLin]; split |
| 77 | next hi => exact line_cut h .. |
| 78 | next hi => rw [sub_self,norm_zero]; positivity |
| 79 | have hn : 0 < Fintype.card PlaqAxes := by decide |
| 80 | letI : Nonempty PlaqAxes := Fintype.card_pos_iff.mp hn |
| 81 | have hC : 0 ≤ C := budget_nonneg (h.rows (Classical.arbitrary _)) |
| 82 | rw [show uncutField T x (.inr b) = barField T R x (.inr b) from rfl,sub_self,norm_zero]; positivity |
| 83 | end cut |
| 84 | |
| 85 | /-- Cut-linear operator estimates at every cut, not just R=till. Crystal |
| 86 | recipe estimates are different. -/ |
| 87 | structure Bounded (T : Tube G S) (σ C : ℝ) : Prop where |
| 88 | full (x : Directions G f) (i : Rod c f) : ‖uncutField T x i‖ ≤ C*‖x‖ |
| 89 | short (x : Directions G f) (R : ℕ) (i : Rod c f) : ‖barField T R x i‖ ≤ C*‖x‖ |
| 90 | tail (x : Directions G f) (R : ℕ) (i : Rod c f) : |
| 91 | ‖uncutField T x i - barField T R x i‖ ≤ C*‖x‖*Real.exp (-σ*R) |
| 92 | |
| 93 | lemma bounded_stencils (P : Teller G) (D : Patch) (hd : D.Branches P.bind G) : |
| 94 | ∃ C : ℝ, 0<C ∧ ∀ (c f : Side) (S : StepData c f) (T : Tube G S), S.patch=D → P.Funds S T → |
| 95 | Bounded T P.top.width C := by |
| 96 | obtain ⟨Y,r,hY,hr,H⟩ := z_chart_cost D P.bind G hd |
| 97 | let U := 4*(P.top.paths+Real.sqrt P.top.clip.direct) + Y |
| 98 | let C := U+P.top.paths*4 |
| 99 | have hp := P.top.paths_pos |
| 100 | have ht := Real.sqrt_pos.mpr P.top.clip.quadratic_pos |
| 101 | have hu : 0<U := by unfold U; positivity |
| 102 | have hc : P.top.paths*4 ≤ C := le_add_of_nonneg_left hu.le |
| 103 | have hy : U ≤ C := le_add_of_nonneg_right (by positivity) |
| 104 | refine ⟨C,hu.trans_le hy,fun c f S T hS h => ?_⟩ |
| 105 | obtain ⟨a,b,hm,_⟩ := h.feeds |
| 106 | let k : S.Choices := Classical.arbitrary _ |
| 107 | have hh (x : Directions G f) (i : Rod c f) : ‖uncutField T x i‖ ≤ U * ‖x‖ := by |
| 108 | rcases i with p|i |
| 109 | · dsimp only [uncutField, Sum.elim, xLin]; split |
| 110 | next => |
| 111 | refine (linear_charge hm ..).trans ?_ |
| 112 | rw [← mul_assoc]; apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) |
| 113 | unfold U; linarith |
| 114 | next => |
| 115 | rw [h.high, norm_smul,Real.norm_of_nonneg ht.le]; |
| 116 | apply (mul_le_mul_of_nonneg_left (phi_linear _ _) ht.le).trans |
| 117 | rw [← mul_assoc]; apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) |
| 118 | unfold U; linarith |
| 119 | have he := (H c f S hS h.knobs k i (toLog x,0)).1 |
| 120 | simp only [Prod.norm_def,norm_zero, max_eq_left (norm_nonneg _),counted] at he |
| 121 | exact he.trans (mul_le_mul_of_nonneg_right (by unfold U; linarith) (norm_nonneg _)) |
| 122 | refine ⟨fun x i => (hh x i).trans (mul_le_mul_of_nonneg_right hy (norm_nonneg _)),?_,?_⟩ |
| 123 | · intro x R i |
| 124 | have he := difference T hm R x i |
| 125 | have hp := norm_sub_le_norm_sub_add_norm_sub (barField T R x i) (uncutField T x i) 0 |
| 126 | rw [sub_zero,sub_zero,norm_sub_rev (barField ..)] at hp |
| 127 | have hv : Real.exp (-P.top.width*R) ≤ 1 := Real.exp_le_one_iff.mpr (by have := P.top.width_pos; exact mul_nonpos_of_nonpos_of_nonneg (by linarith) (Nat.cast_nonneg _)) |
| 128 | refine hp.trans ((add_le_add (he.trans (mul_le_of_le_one_right ?_ hv)) (hh x i)).trans_eq ?_) |
| 129 | · have hh := P.top.paths_pos; positivity |
| 130 | unfold C; ring |
| 131 | intro x R i |
| 132 | apply (difference T hm ..).trans; rw [← mul_assoc] |
| 133 | gcongr |
| 134 | |
| 135 | /-- A cut cost for a single impulse at true `distAt`; no path analytic |
| 136 | width or size in volume assumed after projection. -/ |
| 137 | lemma input_decays {P : Teller G} {T : Tube G S} (hT : P.Funds S T) {C : ℝ} (hC : 0<C) (h : Bounded T P.top.width C) |
| 138 | (i : Rod c f) (e : Bond f) (a : G.Color) (R : ℕ) : |
| 139 | Real.exp (P.top.width * distAt S e (focus S i)) * ‖barField T R (Pi.single e a) i‖ ≤ |
| 140 | (2*C*Real.exp (P.top.width*(predReach S.patch+6:ℝ))) * ‖a‖ := by |
| 141 | let g := distAt S e (focus S i) |
| 142 | let w := P.top.width |
| 143 | let p := predReach S.patch |
| 144 | have hw : 0 < w := P.top.width_pos |
| 145 | let v : Directions G f := Pi.single e a |
| 146 | have hh : ‖v‖ ≤ ‖a‖ := (pi_norm_le_iff_of_nonneg (norm_nonneg _)).2 (fun i => by |
| 147 | by_cases H : i=e |
| 148 | · subst i; simp [v] |
| 149 | unfold v; rw [Pi.single_eq_of_ne H,norm_zero]; exact norm_nonneg _) |
| 150 | have he s (he : s+p+4 < g) : barField T s v i=0 := by |
| 151 | obtain ⟨X,Y,hv,-⟩ := hT.feeds |
| 152 | rw [← bar_zero T hv s i]; apply tangent_local T (SectorMeasure.funds_branch hT) s v 0 i |
| 153 | intro j hj |
| 154 | have hy : j ≠ e := fun hx => he.not_ge (show distAt S e (focus S i) ≤ s+p+4 from hx ▸ hj) |
| 155 | unfold v; rw [Pi.single_eq_of_ne hy]; rfl |
| 156 | change Real.exp (w*g) * _ ≤ (2*C*Real.exp (w*(p+6:ℝ))) * ‖a‖ |
| 157 | by_cases ht : R+p+4<g |
| 158 | · rw [he _ ht,norm_zero,mul_zero]; positivity |
| 159 | by_cases hp : g ≤ p+5 |
| 160 | · have H : (g:ℝ) ≤ (p:ℝ)+5 := by exact_mod_cast hp |
| 161 | have hz : ‖barField T R v i‖ ≤ (2*C)*‖a‖ := |
| 162 | (h.short v ..).trans (mul_le_mul (by linarith) hh (norm_nonneg v) (by positivity)) |
| 163 | exact (mul_le_mul (Real.exp_monotone (mul_le_mul_of_nonneg_left |
| 164 | (show (g:ℝ) ≤ (p:ℝ)+6 by linarith) hw.le)) hz (norm_nonneg _) (Real.exp_pos _).le).trans_eq (by ring) |
| 165 | let s := g-(p+5) |
| 166 | have hi : s+p+4 < g := by unfold s; omega |
| 167 | have hs : s ≤ R := by omega |
| 168 | have hb : ‖barField T R v i‖ ≤ C * ‖a‖ * Real.exp (-w*s) + C*‖a‖*Real.exp (-w*s) := by |
| 169 | have he' := norm_sub_le_norm_sub_add_norm_sub (barField T R v i) (uncutField T v i) 0 |
| 170 | rw [sub_zero,sub_zero,norm_sub_rev] at he' |
| 171 | have h1 := h.tail v R i; have h2 := h.tail v s i; rw [he _ hi,sub_zero] at h2 |
| 172 | apply he'.trans |
| 173 | have h3 : C*‖v‖ ≤ C*‖a‖ := mul_le_mul_of_nonneg_left hh hC.le |
| 174 | exact add_le_add (h1.trans (mul_le_mul h3 (Real.exp_monotone (mul_le_mul_of_nonpos_left |
| 175 | (by exact_mod_cast hs) (neg_nonpos.mpr hw.le))) (Real.exp_pos _).le (by positivity))) |
| 176 | (h2.trans (mul_le_mul_of_nonneg_right h3 (Real.exp_pos _).le)) |
| 177 | have hy : (g:ℝ) ≤ (s:ℝ)+(p:ℝ)+6 := by exact_mod_cast (show g≤s+p+6 by unfold s; omega) |
| 178 | apply (mul_le_mul_of_nonneg_left hb (Real.exp_pos _).le).trans |
| 179 | calc |
| 180 | _ = (2*C* (Real.exp (w*g)*Real.exp (-w*s))) * ‖a‖ := by ring |
| 181 | _ ≤ _ := by rw [← Real.exp_add]; gcongr; nlinarith |
| 182 | end YM.ConnectedActivityE6.SliceRows |