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.ProjectorNext.PROJECTOR_CALIBRATION.Equation |
| 2 | |
| 3 | /-! # Gauge, locality and Along checks on our stencils |
| 4 | |
| 5 | Advance physical applicability one step further. For every potential Campaign |
| 6 | using our `.weights` prove even some of the required `ComesFrom` data directly. |
| 7 | They need not be supplied in setting up such a Packet. No Woke or even IBP |
| 8 | needed to check gauge invariance of J, but include the potentially dangerous |
| 9 | divergence contribution (how Σ components derivative transforms, not |
| 10 | equality of components of course). -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.ProjectorNext.Calibration |
| 14 | open Lattice Wilson RG Source Source.Drops Function Filter Labels Next.Foundations Push Push.CutoffProjectors Tensor |
| 15 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff InnerProductSpace |
| 16 | variable {G : Gauge} {H : Hol G} {d : ℕ} |
| 17 | |
| 18 | lemma curve_turn (u : G.El) (v : G.Color) : G.lieExp (G.adjoint u v) = u * G.lieExp v * u⁻¹ := by |
| 19 | apply G.mat_injective |
| 20 | rw [G.mat_lieExp,G.mat_adjoint,G.mat_mul,G.mat_mul,G.mat_lieExp,G.exp_conjugate,G.mat_inv]; rfl |
| 21 | |
| 22 | /-- Varying just e doesn't change how the tangent is conjugated at its |
| 23 | positive base. -/ |
| 24 | theorem native_turn (t : Cover → G.El) (U : CoverConfig G) (e : Edge Cover) (c : G.Color) (v : ℝ) : |
| 25 | pushLink (gauge t U) (Pi.single e (G.adjoint (t e.1) c)) v = |
| 26 | gauge t (pushLink U (Pi.single e c) v) := by |
| 27 | funext i; unfold pushLink Lattice.gauge |
| 28 | by_cases h : i=e |
| 29 | · subst i; simp only [Pi.single_eq_same]; rw [← map_smul,curve_turn]; group |
| 30 | apply G.mat_injective |
| 31 | simp [Pi.single_eq_of_ne h] |
| 32 | |
| 33 | /-- Trace over physical real colors. Invariant also for a complex-valued |
| 34 | bilinear with neither component conjugated. -/ |
| 35 | lemma spinbill (L : G.Color → G.Color → ℂ) |
| 36 | (h1 : IsLinearMap ℝ L) (h2 : ∀ v, IsLinearMap ℝ (L v)) |
| 37 | (u : G.El) : |
| 38 | ∑ j : G.ColorIndex, L (G.adjoint u (colors G j)) (G.adjoint u (colors G j)) = |
| 39 | ∑ j : G.ColorIndex, L (colors G j) (colors G j) := by |
| 40 | let Q : G.Color →ₗᵢ[ℝ] G.Color := {G.adjoint u with norm_map' := G.norm_adjoint u} |
| 41 | let b := colors G |
| 42 | let a (i j : G.ColorIndex) := inner ℝ (b i) (Q (b j)) |
| 43 | have he (i j : G.ColorIndex) : a i j = inner ℝ (G.adjoint u⁻¹ (b i)) (b j) := calc |
| 44 | _ = inner ℝ (Q (G.adjoint u⁻¹ (b i))) (Q (b j)) := by rw [show Q (G.adjoint u⁻¹ (b i)) = b i by change G.adjoint u _ = _; rw [← G.adjoint_mul,mul_inv_cancel,G.adjoint_one]] |
| 45 | _ = _ := Q.inner_map_map _ _ |
| 46 | have hh (i : G.ColorIndex) : G.adjoint u⁻¹ (b i)=∑ j,a i j • b j := by |
| 47 | have hw (j : G.ColorIndex) : inner ℝ (G.adjoint u⁻¹ (b i)) (b j)=inner ℝ (b j) (G.adjoint u⁻¹ (b i)):=real_inner_comm _ _ |
| 48 | simp_rw [he,hw]; exact (b.sum_repr' _).symm |
| 49 | have hz (i j : G.ColorIndex) : ∑ k,a i k*a j k=if i=j then 1 else 0 := by |
| 50 | have hs : inner ℝ (G.adjoint u⁻¹ (b i)) (G.adjoint u⁻¹ (b j)) = inner ℝ (b i) (b j) := |
| 51 | (show G.Color →ₗᵢ[ℝ] G.Color from {G.adjoint u⁻¹ with norm_map' := G.norm_adjoint u⁻¹}).inner_map_map _ _ |
| 52 | nth_rw 1 [hh i] at hs |
| 53 | rw [sum_inner] at hs |
| 54 | have hx (k) : inner ℝ (b k) (G.adjoint u⁻¹ (b j))=a j k := by rw [he,real_inner_comm] |
| 55 | simp_rw [real_inner_smul_left,hx] at hs |
| 56 | rw [hs] |
| 57 | simp only [b,colors,EuclideanSpace.basisFun_inner]; rw [EuclideanSpace.basisFun_apply]; by_cases h : i=j <;> simp [h] |
| 58 | let P := IsLinearMap.mk' _ h1 |
| 59 | let R (x : G.Color) := IsLinearMap.mk' _ (h2 x) |
| 60 | have hv (j : G.ColorIndex) : L (Q (b j)) (Q (b j)) = ∑ i, ∑ l, (a i j*a l j) • L (b i) (b l) := by |
| 61 | have hk : Q (b j)=∑ i,a i j • b i := (b.sum_repr' _).symm |
| 62 | nth_rw 1 [hk] |
| 63 | change P _ _ = _; rw [_root_.map_sum,Finset.sum_apply]; refine Finset.sum_congr rfl fun i _ => ?_ |
| 64 | rw [map_smul,Pi.smul_apply] |
| 65 | change a i j • R (b i) _ = _; rw [hk,_root_.map_sum,Finset.smul_sum]; simp_rw [map_smul,smul_smul]; rfl |
| 66 | change ∑ j, L (Q (b j)) (Q (b j)) = _ |
| 67 | simp_rw [hv]; rw [Finset.sum_comm] |
| 68 | refine Finset.sum_congr rfl fun j _ => ?_ |
| 69 | rw [Finset.sum_comm]; simp_rw [← Finset.sum_smul, hz]; simp [b,ite_smul] |
| 70 | |
| 71 | namespace Machine |
| 72 | variable (M : Machine H d) (F : Labels.Frame G d) |
| 73 | |
| 74 | /-- Conjugating weights and derivative directions together is needed to use |
| 75 | the unweighted Haar divergence. -/ |
| 76 | lemma invariant_div (m : F.Index) : GaugeInvariant (M.divLeg F m) := by |
| 77 | intro t U |
| 78 | let L (V : CoverConfig G) (i : M.Outlet) (a b : G.Color) := left (M.valve F m i a) (M.address i) b V |
| 79 | change (∑ i, ∑ j,L (gauge t U) i (colors G j) (colors G j)) = ∑ i, ∑ j,L U i (colors G j) (colors G j) |
| 80 | refine Finset.sum_congr rfl fun i _ => ?_ |
| 81 | let u := t (M.address i).1 |
| 82 | have ht (a b : G.Color) : L (gauge t U) i (G.adjoint u a) (G.adjoint u b) = L U i a b := by |
| 83 | unfold L left; apply congr_arg (fun f : ℝ → ℂ => deriv f 0); funext v |
| 84 | rw [native_turn t U (M.address i) b v,M.valve_gauge] |
| 85 | have hh (V : CoverConfig G) (a b : G.Color) : HasDerivAt (fun z => M.valve F m i a (pushLink V (Pi.single (M.address i) b) z)) (L V i a b) 0 := by |
| 86 | obtain ⟨s,h⟩ := M.small_valve F m i a; exact h.authentic _ _ _ |
| 87 | have h₁ (V : CoverConfig G) : IsLinearMap ℝ (L V i) := by |
| 88 | constructor |
| 89 | · intro a b; funext c; change deriv _ _ = L V i a c + L V i b c |
| 90 | simp_rw [← M.valveL_apply,map_add,M.valveL_apply]; exact ((hh V a c).add (hh V b c)).deriv |
| 91 | intro a b; funext c; change deriv _ _ = a • L V i b c |
| 92 | simp_rw [← M.valveL_apply,map_smul,M.valveL_apply]; exact ((hh V b c).const_smul a).deriv |
| 93 | have h₂ (V : CoverConfig G) (a : G.Color) : IsLinearMap ℝ (L V i a) := by |
| 94 | obtain ⟨s,h⟩ := M.small_valve F m i a; exact h.linear _ _ |
| 95 | rw [← spinbill _ (h₁ _) (h₂ _) u]; exact Finset.sum_congr rfl fun j _ => ht .. |
| 96 | |
| 97 | lemma invariant_energy (m : F.Index) : GaugeInvariant (M.energyLeg F m) := by |
| 98 | intro t U |
| 99 | unfold energyLeg; simp_rw [gradient_gauge,M.valve_gauge] |
| 100 | |
| 101 | variable {C : Family G} (M₀ : Machine C.params d) {N p : ℕ} (E : Packet C d N p) |
| 102 | |
| 103 | section Auth |
| 104 | variable {s : Finset Cover} (he : M₀.Release s) (hs : Machine.Opened s (C.side N p)) (ht : M₀.lined E) |
| 105 | include he hs ht |
| 106 | |
| 107 | lemma colored_J (x : equationSpace (C.labels.level d)) : GaugeInvariant (E.Jorigin x) := by |
| 108 | intro t U |
| 109 | refine mul_left_cancel₀ (b:=(_ : ℂ)) (c:= _) (pow_ne_zero d (Complex.ofReal_ne_zero.mpr (C.S.a_pos N).ne')) ?_ |
| 110 | simp_rw [M₀.undressed E he hs ht,expandAt_gauge] |
| 111 | let F := C.labels.level d |
| 112 | exact Finset.sum_congr rfl fun i _ => by rw [M₀.invariant_energy F i,M₀.invariant_div F i] |
| 113 | |
| 114 | lemma supported_J (x : equationSpace (C.labels.level d)) : LocalOn (Packet.sites (C.side N p) s) (E.Jorigin x) := by |
| 115 | intro U V h |
| 116 | refine mul_left_cancel₀ (b:=(_ : ℂ)) (c:= _) (pow_ne_zero d (Complex.ofReal_ne_zero.mpr (C.S.a_pos N).ne')) ?_ |
| 117 | simp_rw [M₀.undressed E he hs ht] |
| 118 | have hx (f : CoverConfig G → ℂ) (hg : LocalOn s f) : f (expandAt 0 U)=f (expandAt 0 V) := by |
| 119 | apply hg; intro e he hf |
| 120 | unfold expandAt; simp only [add_zero] |
| 121 | refine h _ (Finset.mem_image.mpr ⟨_,he,rfl⟩) (Finset.mem_image.mpr ⟨_,hf,?_⟩); simp |
| 122 | exact Finset.sum_congr rfl fun i _ => by rw [hx (M₀.energyLeg (C.labels.level d) i) (M₀.release_energy _ he i).supported,hx (M₀.divLeg (C.labels.level d) i) (M₀.release_div _ he i).supported] |
| 123 | |
| 124 | end Auth |
| 125 | |
| 126 | end Machine |
| 127 | end YM.ProjectorNext.Calibration |