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.Compass |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Mat terms of `noiseTaylor`, on their chosen references |
| 7 | |
| 8 | Literal compensation as from the chart-tree proof. Read `S.patch`, root |
| 9 | shift and all weights and all colors. Sum at compatible widths. Repeated |
| 10 | periods/windings, no choosing s-dependent heads. No analytic through Plot. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.CubicMatch |
| 15 | open Function Filter Lattice Laurent RG Wilson Precision Exterior Tree Tensor Bid Push Branch |
| 16 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators |
| 17 | attribute [local instance] Gauge.frobInner |
| 18 | |
| 19 | variable {G : Gauge} {μ : Type*} {c f : μ → Side} |
| 20 | {θ C B : ℝ} {P : Patch} {K : KernelChoices} {V : ∀ p, Dir G (c p) → Dir G (f p)} |
| 21 | |
| 22 | section simple |
| 23 | variable {F : GermRead G c G.Mat} |
| 24 | |
| 25 | lemma shiftsTerm (h : RayReceipt c θ B C F) (d : Axis) : RayReceipt c θ (Real.exp θ*B) (Real.exp (θ*2)*C) |
| 26 | (fun p x a v => F p (x+step d) a v) := by |
| 27 | have hz (k : ℕ) (A : ℝ) (h : LocalRep c k θ A (makesTerm F k)) := h.translateSite (step d) |
| 28 | simp only [Nat.cast_one,size_unit,mul_one,wrap_step] at hz |
| 29 | refine ⟨fun _ _ _ => h.smooth ..,fun _ _ _ => h.initial .., ?_,?_⟩ |
| 30 | · have hx := hz 1 B h.first; rw [Nat.cast_one,mul_one] at hx |
| 31 | refine hx.fits (fun p x a => ?_); unfold makesTerm; rw [add_comm] |
| 32 | have hx := hz 2 C h.second; push_cast at hx; refine hx.fits (fun p x a => ?_); unfold makesTerm; rw [add_comm] |
| 33 | |
| 34 | end simple |
| 35 | |
| 36 | def bondFirst (T θ : ℝ) := hatOne T+T+Real.exp θ*hatOne T |
| 37 | |
| 38 | def bondSecond (G : Gauge) (T θ : ℝ) := hatTwo G T+hatOne T*T+T^2+(hatOne T+T)*(Real.exp θ*hatOne T)+Real.exp (θ*2)*hatTwo G T |
| 39 | |
| 40 | def receiveOne (G : Gauge) (T θ : ℝ) := aimSlope G*bondFirst T θ |
| 41 | def receiveTwo (G : Gauge) (T θ : ℝ) := aimSec G*bondFirst T θ*bondFirst T θ+aimSlope G*bondSecond G T θ |
| 42 | |
| 43 | variable (eqs : ∀ p : μ,(f p).val=(c p).val*P.L.val) |
| 44 | (t : ∀ p,(perform P K eqs p).Choices) |
| 45 | (h : ScaleRead c f P.L (mainRoot eqs) V θ C) (he : P.Branches K G) |
| 46 | include h he |
| 47 | |
| 48 | |
| 49 | |
| 50 | /-- Cost of compensating ray at one coarse edge. -/ |
| 51 | def gaugeHop (G : Gauge) (T : ℝ) := 2 * G.colorScale⁻¹*T |
| 52 | def bearing (G : Gauge) := (Fintype.card G.ColorIndex : ℝ) |
| 53 | def expLin (G : Gauge) (A : ℝ) := G.colorScale*A |
| 54 | def expSquare (G : Gauge) (A : ℝ) := ‖sec (fun u => G.mat (G.lieExp u)) 0‖*A*A |
| 55 | |
| 56 | def outerOne (G : Gauge) (T θ : ℝ) := |
| 57 | let A := expLin G (gaugeHop G T); |
| 58 | A + expLin G (bearing G) + Real.exp θ*A |
| 59 | def outerTwo (G : Gauge) (T θ : ℝ) := |
| 60 | let A := expLin G (gaugeHop G T) |
| 61 | let B := expSquare G (gaugeHop G T) |
| 62 | let C := expLin G (bearing G) |
| 63 | B+A*C+expSquare G (bearing G)+(A+C)*(Real.exp θ*A)+Real.exp (θ*2)*B |
| 64 | |
| 65 | omit he in |
| 66 | lemma balancePayment (d : Axis) : RayReceipt c θ (outerOne G (journey G P.J C θ) θ) (outerTwo G (journey G P.J C θ) θ) |
| 67 | (fun p x a v => G.mat (compensation (perform P K eqs p) a (V p a) v (x,d))) := by |
| 68 | let T := journey G P.J C θ; let M p := perform P K eqs p |
| 69 | let U := fun p (x : Site (c p)) (a : Dir G (c p)) (v : ℝ) => G.mat (rootTurn (psi (M p) (V p a)) v x) |
| 70 | have he : RayReceipt c θ (expLin G (gaugeHop G T)) (expSquare G (gaugeHop G T)) U := by |
| 71 | unfold U rootTurn; exact receiptExp (h.rootMotion eqs K).negative |
| 72 | have hh : RayReceipt c θ (expLin G (bearing G)) (expSquare G (bearing G)) |
| 73 | (fun p x (a : Dir G (c p)) (v : ℝ) => G.mat (represent (v • a) (x,d))) := by |
| 74 | simp_rw [Work.F03.represent_link, Pi.smul_apply]; exact receiptExp (one_address h.rate _) |
| 75 | unfold compensation Lattice.gauge; simp_rw [G.mat_mul,G.mat_inv]; exact (he.mul hh).mul (shiftsTerm he d).back |
| 76 | |
| 77 | def balanceOne (G : Gauge) (T θ : ℝ) := outerOne G T θ+receiveOne G T θ |
| 78 | |
| 79 | def balanceTwo (G : Gauge) (T θ : ℝ) := outerTwo G T θ+outerOne G T θ*receiveOne G T θ+receiveTwo G T θ |
| 80 | |
| 81 | def subsidy (G : Gauge) (T θ v : ℝ) := (Fintype.card Axis:ℝ)*v*(G.colorScale^2)⁻¹*(balanceOne G T θ * balanceTwo G T θ) |
| 82 | |
| 83 | omit h he in |
| 84 | lemma subsidy_pos (hT : 0 ≤ C) {a : ℝ} (hv : 0≤a) : 0 ≤ subsidy G C θ a := by |
| 85 | have hS := G.colorScale_pos.le; have hh := hatTwo_nonneg G hT |
| 86 | have hm := aimSlope_nonneg G; have ha := aimSec_nonneg G |
| 87 | unfold subsidy balanceOne balanceTwo outerOne outerTwo receiveOne receiveTwo bondFirst bondSecond expLin expSquare bearing gaugeHop hatOne |
| 88 | dsimp only; positivity |
| 89 | |
| 90 | |
| 91 | end YM.CubicMatch |