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.Ceils |
| 2 | |
| 3 | /-! |
| 4 | # Principal windows (track geometry at both endpoints) |
| 5 | |
| 6 | Use parametric stencil, principal compressed inverse inside each (NOT |
| 7 | recomputing Gram). Symmetric placement inherited (must choose invariantly); |
| 8 | separate start-address and support of local stencil. Ein variant we'll |
| 9 | also use on interpolation for logdet. No INR exact near-singular dependencies. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.ConnectedActivityE6 |
| 14 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 15 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 16 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Green Census Work.F03 Animals |
| 17 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 18 | variable {ι κ ν : Type*} {c f : Side} |
| 19 | |
| 20 | structure Window {ι : Type*} {c : Side} (a : ι → Site c) (B : ℕ) where |
| 21 | take : ι → Finset ι |
| 22 | here : ∀ i, i∈take i |
| 23 | low : ∀ i j, separation (a i) (a j) ≤ B → i∈take j |
| 24 | high : ∀ i j, i∈take j → separation (a i) (a j) ≤ B+2 |
| 25 | |
| 26 | namespace Window |
| 27 | variable {a : ι→Site c} {B : ℕ} (D : Window a B) [DecidableEq ι] [Fintype ι] |
| 28 | variable (A : Matrix ι ι ℝ) |
| 29 | |
| 30 | /-- Principal submatrix. -/ |
| 31 | def principal (i : ι) := A.submatrix (Function.Embedding.subtype (· ∈ D.take i)) (Function.Embedding.subtype (· ∈ D.take i)) |
| 32 | |
| 33 | /-- extend columns by zero, don't infer theoremhood from the nonsingular inverse default. -/ |
| 34 | def pad : Matrix ι ι ℝ := Matrix.of (fun i j => if h : i∈D.take j then |
| 35 | (D.principal A j)⁻¹ ⟨i,h⟩ ⟨j,D.here j⟩ else 0) |
| 36 | |
| 37 | def error := A * D.pad A - 1 |
| 38 | |
| 39 | omit [Fintype ι] in |
| 40 | lemma inside (j : ι) (i : ↥(D.take j)) : D.pad A i j = (D.principal A j)⁻¹ i ⟨j,D.here j⟩ := by |
| 41 | rw [pad,of_apply, dif_pos i.property] |
| 42 | omit [Fintype ι] in |
| 43 | lemma outside (i j : ι) (h : i∉D.take j) : D.pad A i j=0 := by rw [pad,of_apply,dif_neg h] |
| 44 | omit [Fintype ι] in |
| 45 | lemma thin : Thin a a (D.pad A) (B+2) := fun _ _ hij => D.outside _ _ _ (fun H => hij.not_ge (D.high _ _ H)) |
| 46 | lemma stencil {w : ℕ} (h : Thin a a A w) : Thin a a (D.error A) (w+(B+2)) := by |
| 47 | intro i j hij |
| 48 | have he : i ≠ j := by intro hi; subst i; simp at hij |
| 49 | rw [error,Matrix.sub_apply, h.mul (D.thin A) i j hij]; simp [he] |
| 50 | |
| 51 | /-- No inner error even under derivative along an invertible-window curve. -/ |
| 52 | lemma mileage (i j : ι) (h : i∈D.take j) (he : (D.principal A j)*(D.principal A j)⁻¹=1) : D.error A i j = 0 := by |
| 53 | let p : ↥(D.take j) := ⟨i,h⟩; let k : ↥(D.take j) := ⟨j,D.here j⟩ |
| 54 | let R := D.principal A j |
| 55 | have hx : (∑ m ∈ D.take j,A i m*D.pad A m j)=∑ m : ι,A i m*D.pad A m j := by |
| 56 | apply Finset.sum_subset (Finset.subset_univ _); intro m _ hm; rw [D.outside _ _ _ hm,mul_zero] |
| 57 | rw [error, Matrix.sub_apply, sub_eq_zero, Matrix.mul_apply,← hx,← sum_attach] |
| 58 | calc |
| 59 | _ = (R*R⁻¹) p k := by rw [Matrix.mul_apply]; apply sum_congr rfl; intro m _; rw [D.inside]; rfl |
| 60 | _ = _ := by |
| 61 | rw [he] |
| 62 | by_cases h : i=j |
| 63 | · have hp : p=k := Subtype.ext h; rw [hp,h]; simp |
| 64 | have hp : p≠k := fun H => h (Subtype.ext_iff.mp H); simp [hp,h] |
| 65 | |
| 66 | end Window |
| 67 | namespace Coat |
| 68 | |
| 69 | variable {G : Gauge} {S : StepData c f} |
| 70 | /-- color-blind block windows with distance from either endpoint; E variant. -/ |
| 71 | def frames (G : Gauge) (S : StepData c f) (B : ℕ) : Window (along (G:=G) S) B where |
| 72 | take j := univ.filter (fun i => ∃ x∈ends S i.1, ∃ y∈ends S j.1, separation x y ≤ B) |
| 73 | here i := mem_filter.mpr ⟨mem_univ _, _, center_end _,_, center_end _,by simp⟩ |
| 74 | low i j hij := mem_filter.mpr ⟨mem_univ _,_, center_end _,_, center_end _,hij⟩ |
| 75 | high i j hij := by |
| 76 | obtain ⟨x,hx,y,hy,he⟩ := (mem_filter.mp hij).2 |
| 77 | have hp : separation (atEdge S i.1) x ≤ 1 := by rw [separation_comm]; exact stride _ hx |
| 78 | have hk : separation y (atEdge S j.1) ≤ 1 := stride _ hy |
| 79 | exact (separation_triangle (atEdge S i.1) x (atEdge S j.1)).trans ((add_le_add hp |
| 80 | ((separation_triangle x y _).trans (add_le_add he hk))).trans (by omega)) |
| 81 | |
| 82 | lemma in_frame (i j : Tubular f G) {B : ℕ} : i∈(frames G S B).take j ↔ |
| 83 | ∃ x∈ends S i.1, ∃ y∈ends S j.1, separation x y ≤ B := by simp [frames] |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | end Coat |
| 89 | end YM.ConnectedActivityE6 |