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.CUBIC_MATCH.Region.GermCost |
| 2 | import YM.AnalyticNext.CUBIC_MATCH.Region.Scale |
| 3 | |
| 4 | |
| 5 | set_option warningAsError false |
| 6 | |
| 7 | /-! |
| 8 | # Costs of the native walks in an oriented channel |
| 9 | |
| 10 | Spend at most path length per factor, including windings through L-cell |
| 11 | seams. On the plaquette, `gain` not the naive bound gives the extra L power |
| 12 | (down to μ² for the first term, as for the two-link term). |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.CubicMatch |
| 17 | open Function Filter Lattice Laurent RG Wilson Precision Exterior Tree Tensor Bid |
| 18 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators |
| 19 | |
| 20 | variable {G : Gauge} {μ : Type*} {n L : Side} |
| 21 | {c f : μ → Side} {η θ C : ℝ} |
| 22 | {V : ∀ p, Dir G (c p) → Dir G (f p)} {r : ShiftRoot c f} |
| 23 | |
| 24 | /-- Each represented-FINE link cost. Uniformly in L and inputs. -/ |
| 25 | def tileFee (G : Gauge) (C : ℝ) := (G.colorScale + ‖sec (fun u => G.mat (G.lieExp u)) 0‖+1)*C |
| 26 | lemma tileFee_nonneg (h : 0 ≤ C) : 0 ≤ tileFee G C := by |
| 27 | unfold tileFee; have hx := G.colorScale_pos; positivity |
| 28 | |
| 29 | def visitRead (V : ∀ p, Dir G (c p) → Dir G (f p)) (r : ShiftRoot c f) (i : Cover) (w : Walk) : GermRead G c G.El := fun p x a u => |
| 30 | travel (represent (u • V p a)) (wrap (f p) i+r p x) w |
| 31 | abbrev walkMat (V : ∀ p, Dir G (c p) → Dir G (f p)) (r : ShiftRoot c f) (i : Cover) (w : Walk) : GermRead G c G.Mat := |
| 32 | fun p x a t => G.mat (visitRead V r i w p x a t) |
| 33 | |
| 34 | def hopSign (d : Step) (y : Site n) (a : Dir G n) := if d.neg then -collect G a (d.used y) else collect G a (d.used y) |
| 35 | lemma hop_read (d : Step) (a : Dir G n) (y : Site n) (t : ℝ) : |
| 36 | d.read (represent (t • a)) y=G.lieExp (t • hopSign d y a) := by |
| 37 | unfold hopSign Step.read; simp only [Work.F03.represent_link,Pi.smul_apply]; split <;> rename_i h |
| 38 | · rw [smul_neg,Work.F03.exp_neg_color]; rfl |
| 39 | rfl |
| 40 | |
| 41 | namespace ScaleRead |
| 42 | |
| 43 | lemma hop (h : ScaleRead c f L r V θ C) (d : Step) (u : Cover) (b : ℕ) (hp : size u+1≤b) : LocalRep c 1 θ |
| 44 | (C*tilt L*phaseCost L θ b) (fun p x a => hopSign d (wrap (f p) u+r p x) (V p a)) := by |
| 45 | rcases d with ⟨i,s|s⟩ |
| 46 | · exact (h.link u (coord i)).raisePrice (mul_le_mul_of_nonneg_left (phase_mono h.rate.le (by omega)) (mul_nonneg h.fee tilt_pos.le)) |
| 47 | have he := h.link (u - step i) (coord i) |
| 48 | refine (he.negative.raisePrice ?_).fits fun p x a => ?_ |
| 49 | · have hh : size (u-step i) ≤ size u+1 := by simpa only [sub_eq_add_neg,size_reverse_step] using size_add u (-step i) |
| 50 | exact mul_le_mul_of_nonneg_left (phase_mono h.rate.le (hh.trans hp)) (mul_nonneg h.fee tilt_pos.le) |
| 51 | have hx : wrap (f p) (u-step i)+r p x=wrap (f p) u+r p x-step i := by rw [map_sub,wrap_step]; abel |
| 52 | change -(V ..)=-(V p a (wrap _ _+r p x-step i,_)); rw [hx]; rfl |
| 53 | |
| 54 | /-- Bound transported factors individually -- no secondary moment assumption. -/ |
| 55 | lemma perLink (h : ScaleRead c f L r V θ C) (d : Step) (u : Cover) (b : ℕ) (hp : size u+1≤b) : |
| 56 | let D := tileFee G C*tilt L*phaseCost L θ b |
| 57 | RayReceipt c θ D (D^2) (fun p x a t => G.mat (d.read (represent (t • V p a)) (wrap (f p) u+r p x))) := by |
| 58 | intro D |
| 59 | let P := phaseCost L θ b |
| 60 | have hh := h.hop d u b hp |
| 61 | have hg := G.colorScale_pos |
| 62 | let E := ‖sec (fun u => G.mat (G.lieExp u)) 0‖ |
| 63 | have hE : 0 ≤ E := norm_nonneg (sec _ (0:G.Color) (F:=G.Mat)) |
| 64 | have h₁ : G.colorScale*(C*tilt L*P) ≤ D := calc |
| 65 | _ ≤ (G.colorScale + E+1)*(C*tilt L*P) := mul_le_mul_of_nonneg_right (by linarith) hh.cash |
| 66 | _ = _ := by unfold D tileFee E P; ring |
| 67 | have he : E ≤ (G.colorScale+E+1)^2 := by nlinarith |
| 68 | have h₂ : E*(C*tilt L*P)*(C*tilt L*P) ≤ D^2 := calc |
| 69 | _ = E*(C*tilt L*P)^2 := by ring |
| 70 | _ ≤ (G.colorScale+E+1)^2*(C*tilt L*P)^2 := mul_le_mul_of_nonneg_right he (sq_nonneg _) |
| 71 | _ = _ := by unfold D tileFee E P; ring |
| 72 | simp_rw [hop_read]; exact (receiptExp hh).raisePrice h₁ h₂ |
| 73 | |
| 74 | lemma along (h : ScaleRead c f L r V θ C) (u : Cover) (w : Walk) (b : ℕ) (hp : size u+w.length ≤ b) : |
| 75 | let D := (w.length:ℝ)*(tileFee G C*tilt L*phaseCost L θ b) |
| 76 | RayReceipt c θ D (D^2) (walkMat V r u w) := by |
| 77 | let Y := tileFee G C*tilt L*phaseCost L θ b |
| 78 | induction w generalizing u with |
| 79 | | nil => |
| 80 | simp only [List.length_nil,Nat.cast_zero,zero_mul, ne_eq, OfNat.ofNat_ne_zero,not_false_eq_true,zero_pow] |
| 81 | refine ⟨fun _ _ _ => contDiffAt_const, fun _ _ _ => rfl, ?_,?_⟩ |
| 82 | · exact (LocalRep.none (E:=G.Mat) h.rate).fits (fun _ _ _ => Eq.symm (positive_nil (g:=(1:G.Mat)) (k:=1) (by omega))) |
| 83 | exact (LocalRep.none (E:=G.Mat) h.rate).fits (fun _ _ _ => Eq.symm (positive_nil (g:=(1:G.Mat)) (k:=2) (by omega))) |
| 84 | | cons d w ih => |
| 85 | have hu : size (u+d.vec) ≤ size u+1 := by simpa only [size_native] using size_add u (d.vec:Cover) |
| 86 | rw [List.length_cons] at hp |
| 87 | let n := w.length |
| 88 | have hf := h.perLink d u b (by omega) |
| 89 | have hm : RayReceipt c θ Y (Y^2) (fun p x a t => G.mat (d.read (represent (t • V p a)) (wrap (f p) u+r p x))) := hf |
| 90 | have ht := hm.mul (ih (u+d.vec) (by omega)) |
| 91 | simp only [walkMat,visitRead,map_add,wrap_vec,add_right_comm (wrap _ u)] at ht |
| 92 | unfold walkMat visitRead; simp only [travel,G.mat_mul] |
| 93 | refine ht.raisePrice ?_ ?_ |
| 94 | · change Y + n * Y ≤ ((w.length+1:ℕ):ℝ)*Y; unfold n; push_cast; linarith |
| 95 | change Y^2+Y*(n*Y)+(n*Y)^2 ≤ (((n+1:ℕ):ℝ)*Y)^2; push_cast |
| 96 | nlinarith [sq_nonneg Y,mul_nonneg (show 0 ≤ (n:ℝ) by positivity) (sq_nonneg Y)] |
| 97 | |
| 98 | |
| 99 | |
| 100 | end ScaleRead |
| 101 | |
| 102 | def faceFirst (G : Gauge) (C : ℝ) := G.colorScale*(2*C) |
| 103 | |
| 104 | |
| 105 | def faceSecond (G : Gauge) (C θ : ℝ) := (4*tileFee G C*Real.exp (θ*4))^2 |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | end YM.CubicMatch |