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.AnalyticBridge.VERIFIED_RESET_STEP.Spin |
| 2 | import YM.Push.PRICE_COMPILER.Builders |
| 3 | |
| 4 | /-! E:eq:FQaff--FDkin bilinear coefficients and prices on the actual germs. |
| 5 | Single-color charges normalized with a unit vector in the nonabelian Gauge. |
| 6 | No period-limit Fourier replacement. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.AnalyticBridge.VerifiedReset |
| 10 | open Function Filter Set Lattice Wilson RG StressFlux |
| 11 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace Classical |
| 12 | variable {G : Gauge} {n : Side} {p : BudgetPoint} {X : Support n} |
| 13 | |
| 14 | def spike (G : Gauge) : G.Color := if _h : Nontrivial G.Color then (exists_norm_eq G.Color zero_le_one).choose else 0 |
| 15 | @[simp] lemma spike_norm (hG : G.Simple) : ‖spike G‖ = 1 := by |
| 16 | haveI := hG.nontrivial_color; rw [spike,dif_pos hG.nontrivial_color]; exact (exists_norm_eq G.Color zero_le_one).choose_spec |
| 17 | |
| 18 | private lemma wedge_add (o : Site n) (b : PlaqAxes) (x y : G.Color) : |
| 19 | (wedge b (x+y)).field o = (wedge b x).field o + (wedge b y).field o := by funext e; simp [wedge_field,smul_add,ite_add_zero] |
| 20 | private lemma wedge_smul (o : Site n) (b : PlaqAxes) (r : ℝ) (x : G.Color) : |
| 21 | (wedge b (r • x)).field o = r • (wedge b x).field o := by |
| 22 | funext e; simp only [wedge_field,Pi.smul_apply]; split <;> first | exact smul_comm _ _ x | simp |
| 23 | private lemma wedge_adj (o : Site n) (b : PlaqAxes) (k : G.El) (x : G.Color) : |
| 24 | (wedge b (G.adjoint k x)).field o = colorMove k ((wedge b x).field o) := by |
| 25 | funext e; change _ = G.adjoint k _; simp [wedge_field,apply_ite (G.adjoint k)] |
| 26 | |
| 27 | private def labelForm (f : Pot G n) (o : Site n) (b c : PlaqAxes) : G.Color →ₗ[ℝ] G.Color →ₗ[ℝ] ℝ := |
| 28 | LinearMap.mk₂ ℝ (fun x y => logHessian f ((wedge b x).field o) ((wedge c y).field o)) |
| 29 | (by intros; simp only [hessian_eq,wedge_add,map_add,add_apply]) (by intros; simp only [hessian_eq,wedge_smul,map_smul,smul_apply]) |
| 30 | (by intros; simp only [hessian_eq,wedge_add,map_add]) (by intros; simp only [hessian_eq,wedge_smul,map_smul]) |
| 31 | |
| 32 | def coeff (f : Pot G n) (o : Site n) (b c : PlaqAxes) := labelForm f o b c (spike G) (spike G) |
| 33 | |
| 34 | lemma label_color {f : Pot G n} (o : Site n) (hG : G.Simple) (hf : p.Regular X f) (b c : PlaqAxes) (x y : G.Color) : |
| 35 | logHessian f ((wedge b x).field o) ((wedge c y).field o) = coeff f o b c * inner ℝ x y := by |
| 36 | let M := labelForm f o b c |
| 37 | have h (g : G.El) (x y : G.Color) : M (G.adjoint g x) (G.adjoint g y) = M x y := by |
| 38 | change logHessian f _ _ = _; rw [wedge_adj,wedge_adj,hessian_color hG hf]; rfl |
| 39 | obtain ⟨t,ht⟩ := bilinear_real hG M (bilinear_infinitesimal M h) |
| 40 | change M x y = M (spike G) (spike G) * _; simp_rw [ht,real_inner_self_eq_norm_sq,spike_norm hG]; ring |
| 41 | |
| 42 | lemma flux_formula (o : Site n) {f : Pot G n} (hG : G.Simple) (hf : p.Regular X f) (w z : Flux G) : |
| 43 | logHessian f ((primitive w).field o) ((primitive z).field o) = |
| 44 | ∑ i, ∑ j, coeff f o i j * inner ℝ (w i) (z j) := by |
| 45 | rw [hessian_eq,primitive_field,map_sum,_root_.sum_apply] |
| 46 | exact Finset.sum_congr rfl fun i _ => by |
| 47 | rw [primitive_field,map_sum]; simp_rw [← hessian_eq]; exact Finset.sum_congr rfl fun j _ => label_color o hG hf i j .. |
| 48 | |
| 49 | |
| 50 | private lemma coeff_diag (hG : G.Simple) (o : Site n) {f : Pot G n} (hf : p.Regular X f) (b : PlaqAxes) : |
| 51 | let u := p.threshold • (wedge b (spike G)).field o |
| 52 | p.threshold^2 * coeff f o b b = leftDerivs f [u,u] 1 := by |
| 53 | intro u; rw [← hessian_diag hG hf u]; simp only [u,hessian_eq,map_smul,smul_apply,smul_eq_mul] |
| 54 | unfold coeff; change _ * logHessian _ _ _ = _; rw [hessian_eq]; ring |
| 55 | lemma coeff_diagonal (hG : G.Simple) {o : Site n} {f : Pot G n} (hf : p.Regular X f) {a : ℝ} |
| 56 | (ha : p.supBounds o X f a) (b : PlaqAxes) : p.threshold^2 * |coeff f o b b| ≤ a := by |
| 57 | have ho := p.order_ge |
| 58 | let u := p.threshold • (wedge b (spike G)).field o |
| 59 | rw [← abs_of_nonneg (sq_nonneg p.threshold),← abs_mul,coeff_diag hG o hf b]; apply ha.2 1 (flat_ok p X) [u,u] (by simp; omega) |
| 60 | simp only [List.mem_cons,List.not_mem_nil,or_false,or_self,forall_eq] |
| 61 | exact wedge_dir o p _ _ (spike_norm hG).le |
| 62 | |
| 63 | private lemma coeff_avg (hG : G.Simple) (o : Site n) {f : Pot G n} (hf : p.Regular X f) (b c : PlaqAxes) : |
| 64 | let w i := (wedge i (spike G)).field o |
| 65 | let u := (p.threshold/2) • (w b + w c) |
| 66 | 4 * leftDerivs f [u,u] 1 = p.threshold^2 * (coeff f o b b + coeff f o c c + 2*coeff f o b c) := by |
| 67 | intro w u |
| 68 | rw [← hessian_diag hG hf u] |
| 69 | simp only [u,hessian_eq,map_add,map_smul,add_apply,smul_apply,smul_eq_mul] |
| 70 | change _ = _ * (logHessian f (w b) (w b) + logHessian f (w c) (w c) + 2*logHessian f (w b) (w c)) |
| 71 | simp_rw [← hessian_eq,hessian_symm hf (w c) (w b)]; ring |
| 72 | |
| 73 | lemma coeff_bound (hG : G.Simple) {o : Site n} {f : Pot G n} (hf : p.Regular X f) {a : ℝ} |
| 74 | (ha : p.supBounds o X f a) (b c : PlaqAxes) : p.threshold^2 * |coeff f o b c| ≤ 3*a := by |
| 75 | have h := coeff_avg hG o hf b c |
| 76 | dsimp only [] at h |
| 77 | have ho := p.order_ge; let w i := (wedge i (spike G)).field o |
| 78 | let u := (p.threshold/2) • (w b + w c) |
| 79 | obtain ⟨hl,hr⟩ := abs_le.mp (ha.2 1 (flat_ok p X) [u,u] (by simp; omega) (by |
| 80 | simp only [List.mem_cons,List.not_mem_nil,or_false,or_self,forall_eq]; exact wedge_avg o p b c _ (spike_norm hG).le)) |
| 81 | rw [← abs_of_nonneg (sq_nonneg p.threshold),← abs_mul] |
| 82 | change 4*leftDerivs f [u,u] 1 = _ at h |
| 83 | have hd (i) := abs_le.mp (show |p.threshold^2 * coeff f o i i| ≤ a by |
| 84 | rw [abs_mul,abs_of_nonneg (sq_nonneg p.threshold)]; exact coeff_diagonal hG hf ha i) |
| 85 | exact abs_le.mpr ⟨by linarith [(hd b).2,(hd c).2],by linarith [(hd b).1,(hd c).1]⟩ |
| 86 | |
| 87 | def expand (a : RegularAddress n) := a.support ∪ halo 2 {a.site} |
| 88 | def enlarges (a : RegularAddress n) : RegularAddress n := ⟨a.site,expand a,Finset.mem_union_left _ a.anchor⟩ |
| 89 | def projection (a : RegularAddress n) (f : Pot G n) (i j : PlaqAxes) := |
| 90 | if Nonwrapping (expand a) a.site then coeff f a.site i j else 0 |
| 91 | |
| 92 | def quad (q : PlaqAxes → PlaqAxes → ℝ) (w z : Flux G) := ∑ i, ∑ j, q i j * inner ℝ (w i) (z j) |
| 93 | lemma projection_eq {a : RegularAddress n} {f : Pot G n} (hG : G.Simple) (hf : p.Regular a.support f) |
| 94 | (ha : Nonwrapping (expand a) a.site) (w z : Flux G) : |
| 95 | quad (projection a f) w z = logHessian f ((primitive w).field a.site) ((primitive z).field a.site) := by |
| 96 | rw [flux_formula a.site hG hf]; simp only [quad, projection,if_pos ha] |
| 97 | lemma projection_bound (a : RegularAddress n) {f : Pot G n} (hG : G.Simple) (hf : p.Regular a.support f) |
| 98 | {c : ℝ} (h : p.supBounds a.site a.support f c) (i j : PlaqAxes) : |
| 99 | p.threshold^2 * |projection a f i j| ≤ 3*c := by |
| 100 | unfold projection; split |
| 101 | · exact coeff_bound hG hf h i j |
| 102 | simp only [abs_zero,mul_zero]; linarith only [h.1] |
| 103 | lemma projection_diag (a : RegularAddress n) {f : Pot G n} (hG : G.Simple) (hf : p.Regular a.support f) |
| 104 | {c : ℝ} (h : p.supBounds a.site a.support f c) (i : PlaqAxes) : |
| 105 | p.threshold^2 * |projection a f i i| ≤ c := by |
| 106 | unfold projection; split |
| 107 | · exact coeff_diagonal hG hf h i |
| 108 | simpa using h.1 |
| 109 | |
| 110 | private lemma halo_image (s : Signed) (b x : Site n) (j : ℕ) : halo j {affine s b x} = (halo j {x}).image (affine s b) := by |
| 111 | ext y; obtain ⟨z,rfl⟩ := (Finite.injective_iff_surjective (f:=affine s b) |>.mp (fun q r (h : affine s b q = affine s b r) => s.act_injective (add_right_cancel h))) y |
| 112 | simp only [Finset.mem_image,halo_spec,Finset.mem_singleton,exists_eq_left,affine,add_left_inj,s.act_injective.eq_iff] |
| 113 | simp |
| 114 | lemma expand_moves (a d : RegularAddress n) (s : Signed) (b : Site n) (hd : d.support = a.support.image (affine s b)) |
| 115 | (h : d.site = affine s b a.site) : expand d = (expand a).image (affine s b) := by |
| 116 | rw [expand, expand, Finset.image_union, hd,h,halo_image] |
| 117 | lemma quad_moves (s : Signed) (b : Site n) (hn : 4 ≤ n.val) {a d : RegularAddress n} (hd : d.support = a.support.image (affine s b)) |
| 118 | (h : d.site = affine s b a.site) {f g : Pot G n} (hG : G.Simple) (hf : p.Regular a.support f) (hg : p.Regular d.support g) |
| 119 | (he : g = f ∘ pull s b) (w z : Flux G) : quad (projection d g) w z = quad (projection a f) (reframe w s) (reframe z s) := by |
| 120 | have ha : Nonwrapping (expand d) d.site ↔ Nonwrapping (expand a) a.site := expand_moves a d s b hd h ▸ h ▸ spin_wrap .. |
| 121 | by_cases hr : Nonwrapping (expand a) a.site |
| 122 | · rw [projection_eq hG hf hr,projection_eq hG hg (ha.mpr hr), h, he] |
| 123 | exact flux_hessian_pull s b _ hG hf (fun x hx => hr x (Finset.mem_union_left _ hx)) hn w z |
| 124 | simp [quad,projection,hr, ha] |
| 125 | end YM.AnalyticBridge.VerifiedReset |