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.Shutter |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Trail |
| 3 | |
| 4 | /-! |
| 5 | # Block gauges for precision and local logs |
| 6 | |
| 7 | Use ONLY for estimates: transform the stored real V, never branch |
| 8 | reset. The plate is independent of Y,k,width, except stencil predicates |
| 9 | on seeds. Other quantities (b,C,V) might need genuine Y transformed. |
| 10 | Do not treat this as transporting all integrand legs via `rinse`; the |
| 11 | row transforms use transported D constitutive law. Frame G verified. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.ConnectedActivityE6 |
| 16 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 17 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 18 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Green Census Work.F03 Animals Control Window Coat |
| 19 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 20 | variable {G : Gauge} {P : Teller G} {c f : Side} {S : StepData c f} {T : Tube G S} {F : Forest S.ratio} |
| 21 | |
| 22 | namespace Rotation |
| 23 | variable {ι : Type*} [DecidableEq ι] [Fintype ι] |
| 24 | |
| 25 | def shade (z : ι→G.El) (v : ι × G.ColorIndex → ℝ) : ι × G.ColorIndex → ℝ := |
| 26 | stand fun i => G.adjoint (z i) (erect G v i) |
| 27 | def colorwise (z : ι→G.El) : Matrix (ι × G.ColorIndex) (ι × G.ColorIndex) ℝ := Matrix.of (fun i j => |
| 28 | shade z (stand (sing j)) i) |
| 29 | |
| 30 | omit [Fintype ι] in |
| 31 | lemma off (z : ι → G.El) (i j : ι×G.ColorIndex) (hi : i.1 ≠ j.1) : colorwise z i j=0 := by |
| 32 | simp only [colorwise,of_apply,shade,rises,stand,sing,Pi.single_eq_of_ne hi,map_zero]; rfl |
| 33 | lemma shade_act (z : ι→G.El) (u : ι × G.ColorIndex → ℝ) : colorwise z *ᵥ u=shade z u := by |
| 34 | funext p |
| 35 | let U := erect G u |
| 36 | let x : G.Color →ₗ[ℝ] ℝ := LinearMap.comp (LinearMap.proj p.2) (WithLp.linearEquiv 2 ℝ _).toLinearMap |
| 37 | let L : (ι → G.Color) →ₗ[ℝ] ℝ := x.comp ((G.adjoint (z p.1)).comp (LinearMap.proj p.1)) |
| 38 | have he (v : ι → G.Color) : L (∑ i, stand v i • sing i) = L v := congr_arg L (stand_spanned v) |
| 39 | change _ = L U; rw [← he,map_sum]; simp_rw [map_smul] |
| 40 | unfold Matrix.mulVec dotProduct; refine sum_congr rfl fun q _ => ?_ |
| 41 | change L (sing q)*u q = u q * L (sing q) |
| 42 | ring |
| 43 | lemma shade_pair (z : ι→G.El) (v w : ι × G.ColorIndex → ℝ) : dotProduct (colorwise z *ᵥ v) (colorwise z *ᵥ w)=dotProduct v w := by |
| 44 | let A := colorwise z |
| 45 | have he (u) : dotProduct (A *ᵥ u) (A *ᵥ u)=dotProduct u u := by |
| 46 | unfold A; rw [shade_act]; unfold shade |
| 47 | change dotProduct _ _ = dotProduct (stand (erect G u)) (stand (erect G u)); rw [← stand_squared,← stand_squared]; simp |
| 48 | change dotProduct (A *ᵥ v) (A *ᵥ w)=dotProduct v w |
| 49 | have hv := he (v+w); simp only [Matrix.mulVec_add,dotProduct_add,add_dotProduct,he] at hv |
| 50 | rw [dotProduct_comm (A *ᵥ w) (A *ᵥ v),dotProduct_comm w v] at hv; nlinarith |
| 51 | lemma inverse_up (z : ι→G.El) : (colorwise z).transpose * colorwise z=1 := by |
| 52 | refine Matrix.ext_iff_mulVec.mpr ?_; intro v; let K := colorwise z |
| 53 | rw [← Matrix.mulVec_mulVec, Matrix.one_mulVec]; funext i |
| 54 | let u : ι × G.ColorIndex → ℝ := Pi.single i 1 |
| 55 | have hp (g : ι × G.ColorIndex → ℝ) : dotProduct u g=g i := by |
| 56 | unfold dotProduct |
| 57 | rw [Finset.sum_eq_single i] |
| 58 | · unfold u; simp |
| 59 | · intro j _ he; unfold u; rw [Pi.single_eq_of_ne he,zero_mul] |
| 60 | simp |
| 61 | rw [← hp (K.transpose *ᵥ (K *ᵥ v)), ← hp v] |
| 62 | change dotProduct u (K.transpose *ᵥ (K *ᵥ v)) = dotProduct u v |
| 63 | rw [Matrix.dotProduct_mulVec, Matrix.vecMul_transpose]; exact shade_pair .. |
| 64 | lemma upside (z : ι→G.El) : colorwise z * (colorwise z).transpose = 1 := mul_eq_one_comm.mp (inverse_up z) |
| 65 | end Rotation |
| 66 | |
| 67 | namespace Coat |
| 68 | open Rotation |
| 69 | variable (X : Coat T F) |
| 70 | |
| 71 | def rinse (z : Site c→G.El) : Coat T F := { X with V := gauge z X.V } |
| 72 | |
| 73 | lemma retains (z : Site c→G.El) (h : X.manifest) : (X.rinse z).manifest := by |
| 74 | unfold manifest rinse; rw [RG.gauge_flags]; exact h |
| 75 | |
| 76 | lemma lenses (z : Site c→G.El) (v : Directions G f) : |
| 77 | X.lens (spinRow S z v) = spinRow S z (X.lens v) := by |
| 78 | funext i; unfold lens spinRow; by_cases he : X.Hot i <;> simp [he] |
| 79 | lemma contract_step (z : Site c→G.El) (h : P.Funds S T) : |
| 80 | (X.rinse z).form * colorwise (z ∘ atEdge S) = colorwise (z ∘ root S) * X.form := by |
| 81 | obtain ⟨K,C,H,-⟩ := h.feeds |
| 82 | refine Matrix.ext_iff_mulVec.mpr ?_; intro v |
| 83 | let W := spinRow S z (erect G v) |
| 84 | have he : colorwise (z ∘ atEdge S) *ᵥ v=stand W := shade_act .. |
| 85 | rw [← Matrix.mulVec_mulVec, ← Matrix.mulVec_mulVec, he,shade_act] |
| 86 | have hh : X.form *ᵥ v=stand (fun p => scale • X.motion (erect G v) p) := by |
| 87 | funext p; exact (X.charged_for H (erect G v) p).symm |
| 88 | rw [hh]; unfold shade; rw [rises]; funext i |
| 89 | rw [← (X.rinse z).charged_for H]; unfold motion stand |
| 90 | let a := i.1 |
| 91 | change scale* (if X.selected i.1.1 (spot S i.1.2) then orientedRow T X.R i.1.1 i.1.2 (gauge z X.V) (X.lens W) else 0) i.2 = |
| 92 | G.adjoint (z (root S i.1)) (scale • (_:G.Color)) i.2 |
| 93 | split |
| 94 | next he => unfold W; rw [X.lenses,oriented_under T H, map_smul]; rfl |
| 95 | next hz => simp |
| 96 | |
| 97 | lemma sleepy_commute (z : Site c→G.El) : X.sleepy * colorwise (z ∘ atEdge S) = colorwise (z ∘ atEdge S)*X.sleepy := by |
| 98 | ext i j; rw [sleepy,diagonal_mul,mul_diagonal] |
| 99 | by_cases he : i.1=j.1 |
| 100 | · rw [he]; ring |
| 101 | rw [off (z ∘ atEdge S) i j he,mul_zero,zero_mul] |
| 102 | |
| 103 | lemma rinse_invar (z : Site c→G.El) (h : P.Funds S T) : |
| 104 | (X.rinse z).plate * colorwise (z ∘ atEdge S) = colorwise (z ∘ atEdge S) * X.plate := by |
| 105 | let a := colorwise (z ∘ atEdge S); let b := colorwise (z ∘ root S) |
| 106 | let W := (X.rinse z).form |
| 107 | have hy : W*a=b*X.form := X.contract_step z h |
| 108 | have he : aᵀ*Wᵀ=X.form.transpose*bᵀ := by rw [← transpose_mul,hy,transpose_mul] |
| 109 | have ht : Wᵀ*b=a * X.form.transpose := by |
| 110 | rw [← Matrix.one_mul (Wᵀ), show (1:Matrix ..)=a*a.transpose from (upside _).symm, Matrix.mul_assoc a a.transpose W.transpose, he, Matrix.mul_assoc a, Matrix.mul_assoc X.form.transpose,show b.transpose*b=1 from inverse_up _, Matrix.mul_one] |
| 111 | change (Wᵀ*W+X.sleepy)*a = a*(X.form.transpose * X.form+X.sleepy) |
| 112 | rw [add_mul,mul_add,Matrix.mul_assoc Wᵀ,hy, ← Matrix.mul_assoc Wᵀ b,ht, Matrix.mul_assoc a,X.sleepy_commute z] |
| 113 | end Coat |
| 114 | end YM.ConnectedActivityE6 |