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.Push.FREE_RESOLVENT.Windows |
| 2 | |
| 3 | /-! |
| 4 | # Single window with arbitrary numbering |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.FreeResolvent |
| 9 | open Matrix |
| 10 | open scoped BigOperators |
| 11 | variable {ι κ : Type*} |
| 12 | variable [Fintype ι] [DecidableEq ι] [Fintype κ] [DecidableEq κ] |
| 13 | |
| 14 | lemma resolve_equiv (e : κ ≃ ι) (A : Matrix ι ι ℝ) (u : ℝ) : |
| 15 | resolve (A.submatrix e e) u = (resolve A u).submatrix e e := by |
| 16 | unfold resolve |
| 17 | rw [← shift_compress _ A u e.injective] |
| 18 | generalize A + u • 1 = B |
| 19 | by_cases h : IsUnit B.det |
| 20 | · let F := (B.submatrix e e)⁻¹ |
| 21 | have ha : IsUnit (B.submatrix e e).det := by rw [Matrix.det_submatrix_equiv_self]; exact h |
| 22 | calc |
| 23 | F = F * ((B.submatrix e e)*(B⁻¹.submatrix e e)) := by |
| 24 | rw [Matrix.submatrix_mul_equiv, Matrix.mul_nonsing_inv B h, submatrix_one_equiv, Matrix.mul_one] |
| 25 | _ = _ := by unfold F; rw [← Matrix.mul_assoc, Matrix.nonsing_inv_mul _ ha, Matrix.one_mul] |
| 26 | have ha : ¬ IsUnit (B.submatrix e e).det := by rw [Matrix.det_submatrix_equiv_self]; exact h |
| 27 | rw [Matrix.nonsing_inv_apply_not_isUnit B h, Matrix.nonsing_inv_apply_not_isUnit _ ha]; rfl |
| 28 | |
| 29 | variable {X : Type*} |
| 30 | namespace Pane |
| 31 | variable (e : κ ↪ ι) (i : κ) |
| 32 | |
| 33 | def spots (k : ι) : Finset ι := if k=e i then Finset.univ.map e else Finset.univ |
| 34 | omit [DecidableEq κ] in |
| 35 | lemma covers (k : ι) : k ∈ spots e i k := by unfold spots; split <;> simp_all |
| 36 | |
| 37 | def focus : Window.Survey (fun k => ↥(spots e i k)) where |
| 38 | loc _ := Function.Embedding.subtype _ |
| 39 | root k := ⟨k,covers e i k⟩ |
| 40 | atRoot _ := rfl |
| 41 | |
| 42 | omit [DecidableEq κ] in |
| 43 | lemma focus_near (D : Cost X) (a : ι → X) (R : ℝ) |
| 44 | (H : ∀ j : ι, j ∉ Set.range e → R ≤ D.d (a (e i)) (a j)) : |
| 45 | (focus e i).Near D a R := by |
| 46 | intro k j hj |
| 47 | have ht : j ∉ spots e i k := fun h => hj ⟨⟨j,h⟩,rfl⟩ |
| 48 | unfold spots at ht; split at ht <;> rename_i h |
| 49 | · rw [h] |
| 50 | apply H j; rintro ⟨l,rfl⟩; simp at ht |
| 51 | exact False.elim (by simp at ht) |
| 52 | |
| 53 | def mapHere (x : κ) : spots e i (e i) := ⟨e x,by simp [spots]⟩ |
| 54 | omit [DecidableEq κ] in |
| 55 | lemma here_bijective : Function.Bijective (mapHere e i) := by |
| 56 | constructor |
| 57 | · intro j k he; exact e.injective (congrArg Subtype.val he) |
| 58 | intro j |
| 59 | have hx := j.property |
| 60 | simp only [spots,if_true, Finset.mem_map, Finset.mem_univ, true_and] at hx |
| 61 | obtain ⟨b,hb⟩ := hx |
| 62 | exact ⟨b,Subtype.ext hb⟩ |
| 63 | |
| 64 | lemma sees (A : Matrix ι ι ℝ) (u : ℝ) (j : κ) : |
| 65 | (focus e i).inspect A u (e j) (e i) = Pane.thin A e u j i := by |
| 66 | let T := focus e i |
| 67 | let E := Equiv.ofBijective (mapHere e i) (here_bijective e i) |
| 68 | have hi : T.root (e i) = E i := Subtype.ext rfl |
| 69 | change Pane.column _ _ _ (T.root (e i)) (T.loc (e i) (E j)) = _ |
| 70 | rw [hi,Pane.local_entry _ _ _ (T.loc (e i)).injective] |
| 71 | have hh := resolve_equiv E (A.submatrix (T.loc (e i)) (T.loc (e i))) u |
| 72 | exact congr_fun (congr_fun hh j) i |>.symm |
| 73 | end Pane |
| 74 | |
| 75 | def windowPrice (M V r u μ γ R : ℝ) := (V*(r/2+u)⁻¹)*(Real.exp (-(μ-γ)*R)*(M*(V*(r/2+u)⁻¹))) |
| 76 | |
| 77 | /-- Bound against any given principal window at one column. Price decays |
| 78 | exponentially in R at any fixed μ>γ, and integrably in u. Exposed up to |
| 79 | each entry inside that window with its smaller exponent payment still included. -/ |
| 80 | theorem focus_price (e : κ ↪ ι) (i : κ) {D : Cost X} {a : ι → X} {R u r σ μ γ V M : ℝ} |
| 81 | {A : Matrix ι ι ℝ} (H : ∀ j : ι, j ∉ Set.range e → R ≤ D.d (a (e i)) (a j)) |
| 82 | (hu : 0 ≤ u) (hr : 0 < r) (hs : 0 < σ) (hm : 0 ≤ M) (hγ : 0 ≤ γ) (hg : γ ≤ μ) |
| 83 | (hx : μ ≤ σ) (hV : 0 ≤ V) (h : D.Schur a a σ M A) (hA : Gap A r) |
| 84 | (hv : D.Volume a (safeRate σ M r-μ) V) (j : κ) : |
| 85 | D.weight γ (a (e i)) (a (e j)) * |Pane.thin A e u j i-resolve A u (e j) (e i)| ≤ |
| 86 | windowPrice M V r u μ γ R := by |
| 87 | have ht := (Window.Survey.difference (Pane.focus_near e i D a R H) |
| 88 | hu hr hs hm hγ hg hx hV h hA hv).cols.weighted (e i) (e j) |
| 89 | rw [Matrix.transpose_apply, Matrix.sub_apply, Pane.sees] at ht |
| 90 | exact ht |
| 91 | end YM.FreeResolvent |