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.DataKernel |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Rod |
| 3 | |
| 4 | /-! |
| 5 | # Per-row price of V response on a clean patch |
| 6 | |
| 7 | Keep the paths even at zero entries. For linear comparison, arbitrary |
| 8 | bounded *sup* log extension on a given orientation's patch of V. Local |
| 9 | V curvature need be healthy. Compare only near the selected gap/row; |
| 10 | no stationarity of whole Step (yet). Uniform post-L. At supplied |
| 11 | horizons and their `Bed` the linear N comparator is zero by Roll |
| 12 | including zero harmonic modes (not assuming scalar phase value). |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.ConnectedActivityE6 |
| 17 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 18 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations Work.E03 |
| 19 | open Bloch Laurent |
| 20 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 21 | variable {G : Gauge} {P : Teller G} {L : Side} {c f n : Side} {S : StepData c f} {T : Tube G S} |
| 22 | |
| 23 | lemma Rate.broadens {w : ℝ → ℝ} {e τ : ℝ} (h : Rate G L e w) (ht : 0<τ) (hf : ∀ᶠ x in atTop,0 ≤ w x) : |
| 24 | Rate G L e (fun x => widen (till x) (w x) τ) := by |
| 25 | refine (Rate.weaken (a:=0+e) ?_ (by simp)) |
| 26 | have he := ((Rate.const 1 |>.add (Rate.radius_price (G:=G) (L:=L))).mul h).add |
| 27 | (Rate.cutoff ht) |
| 28 | refine he.compare ?_ |
| 29 | filter_upwards [hf] with x hx |
| 30 | have hw : 0 ≤ widen (till x) (w x) τ := widen_nonneg _ hx |
| 31 | rw [abs_of_nonneg hw]; apply le_trans _ (le_abs_self _) |
| 32 | unfold widen; gcongr; exact Nat.div_le_self _ _ |
| 33 | |
| 34 | namespace SliceRows |
| 35 | open DataKernel |
| 36 | |
| 37 | def guide (T : Tube G S) (x : ℝ) (V : Config G c) : Rod c f → G.Color := |
| 38 | Sum.elim (T.Mv (till x) (Pressure.temp x) V) (T.Mw (till x) (Pressure.temp x) V) |
| 39 | |
| 40 | def linearGuide (T : Tube G S) (b : LogField G c) : Rod c f → G.Color := |
| 41 | Sum.elim (zip (flatF T) (xLin T.low T.down b)) (zip (flatI T) (xLin T.low T.down b)) |
| 42 | |
| 43 | lemma guide_gauge (h : P.Funds S T) (x : ℝ) (V : Config G c) (z : Site c → G.El) (p : Rod c f) : |
| 44 | guide T x (gauge z V) p=G.adjoint (z (focus S p)) (guide T x V p) := by |
| 45 | rcases p with p|b |
| 46 | · exact mvg h .. |
| 47 | exact mwg h .. |
| 48 | |
| 49 | lemma zip_zero_N (hP : P.Funds S T) (b : LogField G c) (i : Co c Gain) : |
| 50 | zip (flatN T) (xLin T.low T.down b) i=0 := by |
| 51 | obtain ⟨B,D,-,he,hR⟩ := hP.tilts |
| 52 | obtain ⟨a,b',-,hp⟩ := hP.feeds |
| 53 | rw [← hP.low] at hp |
| 54 | let s := Work.E03.meshEquiv c |
| 55 | let X := D.full T.low c*d 1 c |
| 56 | ext j |
| 57 | have he (i): (xLin T.low T.down b (s.symm i)) j= (X *ᵥ parts G 1 b j) i := by |
| 58 | rw [xLin_component T.low T.down D hp he] |
| 59 | change (_ *ᵥ _) (s (s.symm i))=_; rw [Equiv.apply_symm_apply] |
| 60 | refine Eq.trans (scalar_zip (T.R.o.acts c) (Equiv.refl _) s (xLin T.low T.down b) i j) ?_ |
| 61 | simp_rw [he]; change (T.R.o.acts c*ᵥ(X*ᵥparts _ _ _ j)) i=0 |
| 62 | rw [Matrix.mulVec_mulVec,show T.R.o.acts c*X=0 from by rw [show X=D.full T.low c*d 1 c from rfl,← Matrix.mul_assoc,hR.oPart]] |
| 63 | simp |
| 64 | |
| 65 | section vector |
| 66 | variable {ι : Type*} [Fintype ι] (Q : Config G c → ι → Twin c → Pay G) (D : ι → Twin c → Pay G) |
| 67 | (v : ι → Site c) |
| 68 | |
| 69 | lemma complete_vision {x} (hr : Room P S T x) (V : Config G c) (o : Site c) (U : Config G c) |
| 70 | (hv : AgreeNear id o (radiusB x/4) V U) (hV : Clean V x o (radiusB x/4)) |
| 71 | (i : Twin c) (hx : separation o i.1.1 ≤ till x) : T.vision (till x) (Pressure.temp x) V i = |
| 72 | T.Xn (till x) U i := by |
| 73 | have he := hr.sight.1 |
| 74 | have hh (i : Twin c) (hx : separation o i.1.1 ≤ till x) : T.Xn (till x) U i=T.Xn (till x) V i := |
| 75 | (plotted_near id (sep_step (c:=c)) V U T.low T.down (till x) S.patch.L.val i S.patch.L.property |
| 76 | (hv.shrink (by change separation o i.1.1 + (till x+4) ≤ _; unfold till at *; omega))).symm |
| 77 | rw [hh _ hx] |
| 78 | unfold Tube.vision Tube.Xn thinned plotted; split |
| 79 | next hm => |
| 80 | rw [if_pos (hV.kept hr _ (by unfold till at hx; omega))] |
| 81 | next hn => |
| 82 | split |
| 83 | next he => rw [one_smul] |
| 84 | next hn => |
| 85 | rw [min_eq_left (by |
| 86 | have hp : 0 < toll V i.1 := lt_of_le_of_ne (G.chord_nonneg _) (Ne.symm hn) |
| 87 | rw [le_div_iff₀ hp,one_mul] |
| 88 | exact hV.toll (b:=i.1) (by unfold till at hx; omega)), one_smul] |
| 89 | |
| 90 | lemma zip_guide (i : ι) (s : ℝ) (V : Config G c) (b : LogField G c) {X Z U W : ℝ} (_hW : 0 ≤ W) |
| 91 | (hV : Clean V s (v i) (radiusB s/4)) (h : AgreeNear id (v i) (radiusB s/4) V (represent b)) |
| 92 | (hR : Room P S T s) (hq : Rule (till s) Q v (fun i => i.1.1)) |
| 93 | (hd : NearFlat (Q (represent b)) D X W) (_hX : 0 ≤ X) (hZ : 0 ≤ Z) (hU : 0 ≤ U) |
| 94 | (hp : ∀ i, ‖xLin T.low T.down b i‖ ≤ Z) |
| 95 | (hu : ∀ i, ‖plotted T.down T.low (till s) S.patch.L.val (represent b) i-xLin T.low T.down b i‖ ≤ U) : |
| 96 | ‖zip (Q V) (T.vision (till s) (Pressure.temp s) V) i-zip D (xLin T.low T.down b) i‖ ≤ |
| 97 | X*U+X*W*Z := by |
| 98 | have he : zip (Q V) (T.vision (till s) (Pressure.temp s) V) i=zip (Q (represent b)) (T.Xn (till s) (represent b)) i := by |
| 99 | unfold zip; apply sum_congr rfl; intro j _ |
| 100 | rw [hq.stencil i V (represent b) (h.shrink (by rw [separation_self,zero_add]; unfold till; omega)) j] |
| 101 | by_cases hn : Q (represent b) i j=0 |
| 102 | · rw [hn, _root_.zero_apply, _root_.zero_apply] |
| 103 | rw [complete_vision hR V _ _ h hV _ (hq.reach _ _ _ hn)] |
| 104 | let f := T.Xn (till s) (represent b) |
| 105 | let g := xLin T.low T.down b |
| 106 | let B := Q (represent b) |
| 107 | rw [he]; change ‖zip B f i-zip D g i‖ ≤ _ |
| 108 | have hz : zip B f i-zip D g i=zip B (f-g) i+zip (B-D) g i := by |
| 109 | unfold zip; simp only [Pi.sub_apply,map_sub,_root_.sub_apply,sum_sub_distrib]; abel |
| 110 | rw [hz]; exact (norm_add_le _ _).trans (add_le_add (Work.E07.zip_uniform B _ i (hd.cut.rows _) hU hu) |
| 111 | (Work.E07.zip_uniform (B-D) g i (hd.close.rows _) hZ hp)) |
| 112 | end vector |
| 113 | |
| 114 | /-- Physical linear response of target V costs on any log comparison in a clean hull. -/ |
| 115 | theorem read_guides (P : Teller G) (L : Side) {H : ℝ → ℝ} (h : Rate G L (-(1/2)) H) (hp : ∀ᶠ x in atTop,0 ≤ H x) : |
| 116 | ∃ e : ℝ → ℝ, Rate G L (-1) e ∧ ∀ᶠ x in atTop, 0 ≤ e x ∧ ∀ (c f : Side) (S : StepData c f) (T : Tube G S), |
| 117 | S.patch.L = L → Room P S T x → ∀ (V : Config G c) (b : LogField G c), ‖b‖ ≤ H x → |
| 118 | let B := radiusB x; let R := till x; let y := Pressure.temp x |
| 119 | (∀ p : Rod c f, Clean V x (focus S p) (B/4) → AgreeNear id (focus S p) (B/4) V (represent b) → |
| 120 | ‖guide T x V p - linearGuide T b p‖ ≤ e x) ∧ |
| 121 | ∀ i : Co c Gain, Clean V x i.1 (B/4) → AgreeNear id i.1 (B/4) V (represent b) → |
| 122 | ‖zip (T.N R V) (T.vision R y V) i‖ ≤ e x := by |
| 123 | obtain ⟨X,s,r,hX,hs,hr,hg⟩ := kernel_chart_cost G L P.η P.C P.width |
| 124 | obtain ⟨Z,r',hZ,hr',hz⟩ := x_chart_cost G P.below L.val L.property |
| 125 | let t := P.below.width/L.val |
| 126 | have ht : 0 < t := div_pos P.below.width_pos (side_pos L) |
| 127 | let M x := Z*H x |
| 128 | let U x := M x*widen (till x) (H x) t |
| 129 | let e x := X*U x + X*widen (till x) (H x) s*M x |
| 130 | have hm := h.mul_left Z |
| 131 | have hd := h.broadens ht hp; have hi := h.broadens hs hp |
| 132 | have he : Rate G L (-1) e := by |
| 133 | have hf := ((hm.mul hd).mul_left X).add ((hi.mul_left X).mul hm) |
| 134 | convert hf using 1; norm_num |
| 135 | refine ⟨e,he,?_⟩ |
| 136 | filter_upwards [h.below (by norm_num) (min r r') (lt_min hr hr'),hp] with x hh hH |
| 137 | let u := H x; let W := widen (till x) u s; let Z' := M x |
| 138 | have hw := widen_nonneg (τ:=t) (till x) hH |
| 139 | have hU : 0 ≤ U x := mul_nonneg (mul_nonneg hZ.le hH) hw |
| 140 | have hw' : 0 ≤ W := widen_nonneg _ hH |
| 141 | have he' : 0 ≤ e x := add_nonneg (mul_nonneg hX.le hU) (mul_nonneg (mul_nonneg hX.le hw') |
| 142 | (mul_nonneg hZ.le hH)) |
| 143 | refine ⟨he',?_⟩ |
| 144 | intro c f S T hL hR V b hb B R y |
| 145 | have hP := hR.accepted |
| 146 | have hv : u ≤ min r r' := (le_abs_self _).trans hh |
| 147 | obtain ⟨hF,hI,hN⟩ := hg S T hL ⟨_,hP.crosses⟩ R b u hb (hv.trans (min_le_left ..)) |
| 148 | obtain ⟨a₁,a₂,-,hi⟩ := hP.feeds |
| 149 | have hy (i : Twin c) : ‖xLin T.low T.down b i‖ ≤ Z' ∧ |
| 150 | ‖plotted T.down T.low R S.patch.L.val (represent b) i - xLin T.low T.down b i‖ ≤ U x := by |
| 151 | rw [hP.low,hL]; exact hz c T.down a₂ hi R b u hb (hv.trans (min_le_right ..)) i |
| 152 | constructor |
| 153 | · intro p hy' hb'; rcases p with p|b' |
| 154 | · exact zip_guide (T.Φ R) (flatF T) (fun i => focus S (.inl i)) p x V b hw' hy' hb' hR (crosses R T P hP) hF hX.le (show 0 ≤ Z' from mul_nonneg hZ.le hH) |
| 155 | hU (fun i => (hy i).1) (fun i => (hy i).2) |
| 156 | exact zip_guide (T.Φ' R) (flatI T) (fun i => focus S (.inr i)) b' x V b hw' hy' hb' hR (sameLevel R S.patch.L.val S.patch.L.property T.R.mn |
| 157 | (Row.rights _ _ hP.crosses.1 P.width.le) pole mesh) hI hX.le (show 0 ≤ Z' from mul_nonneg hZ.le hH) |
| 158 | hU (fun i => (hy i).1) (fun i => (hy i).2) |
| 159 | intro i h1 h2 |
| 160 | have he := zip_guide (T.N R) (flatN T) Prod.fst i x V b hw' h1 h2 hR |
| 161 | (sameLevel R S.patch.L.val S.patch.L.property T.R.o (Row.rights _ _ hP.crosses.2.1 P.width.le) id mesh) |
| 162 | hN hX.le (show 0 ≤ Z' by unfold Z' M; positivity) hU (fun i => (hy i).1) (fun i => (hy i).2) |
| 163 | rw [zip_zero_N hP,sub_zero] at he; exact he |
| 164 | end SliceRows |
| 165 | end YM.ConnectedActivityE6 |