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.Next.EXTRACTION.Tails |
| 2 | import YM.Next.FOUNDATIONS.SU2 |
| 3 | import YM.Work.B06 |
| 4 | |
| 5 | /-! |
| 6 | # Replacing arrays on a single aligned tiling |
| 7 | |
| 8 | elementary but conditional on actual full root estimates. We'll |
| 9 | use it to relate the Grill supplier's problem in transport to one other |
| 10 | quantitative per-field problem in *centred* cells. No normalizing with a |
| 11 | product of independent-cell measures; the root is already for the full |
| 12 | copies with the same Wilson law. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Push.Common |
| 17 | open Function Filter Set Extraction Cells Table Lattice MeasureTheory Next.Extract Wilson OS |
| 18 | open scoped Topology BigOperators ContDiff |
| 19 | |
| 20 | variable {G : Gauge} {m : Side} (T : Tiling m) {ι : Type*} [Fintype ι] |
| 21 | variable (c : ι → T.Cell) |
| 22 | |
| 23 | /-- Send initial-cell entries to each required address. -/ |
| 24 | def stageProduct (F : ι → Config G m → ℂ) (U : Config G m) := ∏ i, T.copy (c i) (F i) U |
| 25 | |
| 26 | lemma lawful {β : ℝ} (F : ι → Config G m → ℂ) (hF : ∀ i, Interior (T.chamber 0) (F i)) : |
| 27 | Integrable (stageProduct T c F) (law G _ β) := by |
| 28 | have h : Interior univ (stageProduct T c F) := Interior.combines _ _ fun i _ => |
| 29 | (T.copies (c i) (hF i)).enlarges (subset_univ _) |
| 30 | exact h.integrable _ |
| 31 | |
| 32 | lemma less_f {K : Set (Site m)} {F P : Config G m → ℂ} (h : Interior K F) (he : Interior K P) : Interior K (F-P) := by |
| 33 | have hx : F-P = fun U => F U + (-1:ℂ)*P U := by funext x; simp [sub_eq_add_neg] |
| 34 | rw [hx]; exact h.plus (he.scale _) |
| 35 | |
| 36 | /-- Quantitative comparison before sending hierarchy/Grill questions to |
| 37 | further orders. Hypothesis at *one* cutoff. Use a spare factor of B≥1 to |
| 38 | cover the empty product case without denominator. -/ |
| 39 | theorem replacing {β : ℝ} (H : Seam G m β) (hc : Injective c) (F P : ι → Config G m → ℂ) |
| 40 | (B δ : ℝ) (hb : 1 ≤ B) (hδ : 0 ≤ δ) (hi : ∀ i, Interior (T.chamber 0) (F i) ∧ Interior (T.chamber 0) (P i) ∧ |
| 41 | T.rootTest β (F i) ≤ B ∧ T.rootTest β (P i) ≤ B ∧ T.rootTest β (P i-F i) ≤ δ) : |
| 42 | ‖moment β (stageProduct T c P) - moment β (stageProduct T c F)‖ ≤ Fintype.card ι * (δ * B ^ Fintype.card ι) := by |
| 43 | classical |
| 44 | let e (s : Finset ι) i := if i∈s then P i else F i |
| 45 | let u := Finset.univ (α:=ι) |
| 46 | have he (s i) : Interior (T.chamber 0) (e s i) ∧ T.rootTest β (e s i)≤B := by |
| 47 | unfold e; split; exact ⟨(hi _).2.1,(hi _).2.2.2.1⟩; exact ⟨(hi _).1,(hi _).2.2.1⟩ |
| 48 | let L (s : Finset ι) := moment β (stageProduct T c (e s)) |
| 49 | have h1 (s : Finset ι) (i : ι) (h : i ∉ s) : ‖L (insert i s)-L s‖ ≤ δ*B^Fintype.card ι := by |
| 50 | let p := update (e s) i (P i - F i) |
| 51 | have hP (j : ι) : Interior (T.chamber 0) (p j) := by |
| 52 | by_cases hv : j=i |
| 53 | · subst j; unfold p; rw [update_self]; exact less_f (hi i).2.1 (hi i).1 |
| 54 | unfold p; rw [update_of_ne hv]; exact (he _ _).1 |
| 55 | have ht (U : Config G m) : stageProduct T c p U = stageProduct T c (e (insert i s)) U - stageProduct T c (e s) U := by |
| 56 | let M (Q : ι → Config G m → ℂ) := ∏ j ∈ u.erase i, T.copy (c j) (Q j) U |
| 57 | have hW (Q : ι → Config G m → ℂ) : stageProduct T c Q U = T.copy (c i) (Q i) U * M Q := |
| 58 | (Finset.mul_prod_erase _ _ (Finset.mem_univ _)).symm |
| 59 | have hu : M (e s)=M p := Finset.prod_congr rfl fun j hj => by rw [show p j=e s j from update_of_ne (Finset.mem_erase.mp hj).1 ..] |
| 60 | have hZ : M (e (insert i s))=M (e s) := Finset.prod_congr rfl fun j hj => by simp [e,(Finset.mem_erase.mp hj).1] |
| 61 | rw [hW,hW,hW,hZ,hu, ← sub_mul] |
| 62 | dsimp only [p,e]; rw [update_self, if_pos (Finset.mem_insert_self ..), if_neg h]; unfold Tiling.copy |
| 63 | split_ifs <;> simp |
| 64 | unfold L moment; rw [← integral_sub (lawful T c _ fun i => (he _ i).1) (lawful T c _ fun i => (he _ i).1)] |
| 65 | simp_rw [← ht] |
| 66 | apply le_trans (T.planted H c hc p hP) |
| 67 | rw [← Finset.mul_prod_erase u (fun j => T.rootTest β (p j)) (Finset.mem_univ i)] |
| 68 | have h0 : 0≤T.rootTest β (p i) := T.root_nonneg .. |
| 69 | have h2 : T.rootTest β (p i) ≤ δ := by unfold p; rw [update_self]; exact (hi i).2.2.2.2 |
| 70 | apply mul_le_mul h2 _ (Finset.prod_nonneg fun j _ => T.root_nonneg ..) hδ |
| 71 | calc |
| 72 | _ ≤ ∏ _ ∈ u.erase i, B := Finset.prod_le_prod (fun j _ => T.root_nonneg ..) (fun j hj => by |
| 73 | rw [show p j=e s j from update_of_ne (Finset.mem_erase.mp hj).1 ..]; exact (he _ _).2) |
| 74 | _ ≤ _ := by |
| 75 | rw [Finset.prod_const]; exact pow_le_pow_right₀ hb (Finset.card_le_univ _) |
| 76 | have hyp (s : Finset ι) : ‖L s-L ∅‖ ≤ s.card * (δ*B^Fintype.card ι) := by |
| 77 | induction s using Finset.induction_on with |
| 78 | | empty => simp only [sub_self,norm_zero,Finset.card_empty, Nat.cast_zero, zero_mul, le_refl] |
| 79 | | insert i s hx ih => |
| 80 | refine (norm_sub_le_norm_sub_add_norm_sub _ (L s) _).trans ((add_le_add (h1 s i hx) ih).trans_eq ?_) |
| 81 | rw [Finset.card_insert_of_notMem hx,Nat.cast_add]; ring |
| 82 | simpa only [L,e,u,Finset.mem_univ,Finset.notMem_empty,↓reduceIte,Finset.card_univ] using hyp u |
| 83 | end YM.Push.Common |