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.Pert.Bulk.Atlas |
| 2 | import YM.Next.FREE_KERNELS.Curl |
| 3 | |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Pert.Bulk |
| 7 | open Lattice Stationary Laurent RG Bloch Precision |
| 8 | open scoped Topology BigOperators Classical ENNReal |
| 9 | variable {α β:Type} {L:Side} |
| 10 | |
| 11 | def install (S : Cross L α β) : Kernel α β := fun v w => S (wrap L v.1,v.2) w.2 (w.1 - rent L v.1) |
| 12 | lemma mixed_sep (x y : Cover) : delta L x y ≤ sep y (rent L x)+4 := by |
| 13 | apply (delta_coarse L x (rent L x) y).trans |
| 14 | rw [show delta L x (rent L x) = length (lift (wrap L x))/(L.val:ℝ) from (by change length _/_=_; congr 2; rw [sub_eq_iff_eq_add,← rent_balance L x]),sep_comm (rent L x) y] |
| 15 | linarith [length_lift L (wrap L x)] |
| 16 | lemma strip_cost {σ C:ℝ} {S : Cross L α β} (h:S.strip σ C) (x:Site L) (i:α) (j:β) (z:Cover) : ∑' y, bill (S (x,i) j (y-z)) (σ*sep y z) ≤ ENNReal.ofReal C := by |
| 17 | let e : Cover ≃ Cover := (Equiv.addRight z).symm |
| 18 | rw [show ∑' y, bill (S (x,i) j (y-z)) (σ*sep y z) = ∑' y,bill (S (x,i) j (e y)) (σ*length (e y)) from by simp_rw [sub_eq_add_neg]; rfl,Equiv.tsum_eq (f:= fun y => bill (S (x,i) j y) (σ*length y))] |
| 19 | apply bill_width_sum |
| 20 | convert h (x,i) j using 2 |
| 21 | dsimp [Width] |
| 22 | simp_rw [mul_comm |S _ _ _| _] |
| 23 | lemma strip_centre {θ σ C:ℝ} {S : Cross L α β} (h:S.strip σ C) (x:Site L) (i:α) (j:β) (f:Cover→ℝ) (hf:∀ y,f y≤length y+4) (hσ:0≤θ) (hmono:θ≤σ) : ∑' y, bill (S (x,i) j y) (θ*f y) ≤ ENNReal.ofReal (Real.exp (4*θ) * C) := by |
| 24 | calc ∑' y,bill _ _ ≤ ∑' y,bill (S (x,i) j y) (θ*length y+4*θ) := |
| 25 | ENNReal.tsum_le_tsum fun y => bill_mono le_rfl (by nlinarith only [mul_le_mul_of_nonneg_left (hf y) hσ]) |
| 26 | _ ≤ (∑' y,bill (S (x,i) j y) (σ*length y)) * ENNReal.ofReal (Real.exp (4*θ)) := by |
| 27 | rw [← ENNReal.tsum_mul_right] |
| 28 | refine ENNReal.tsum_le_tsum fun y => ?_ |
| 29 | rw [bill_add] |
| 30 | exact mul_le_mul_right' (bill_mono le_rfl (mul_le_mul_of_nonneg_right hmono (by positivity))) _ |
| 31 | _ ≤ _ := by rw [mul_comm,ENNReal.ofReal_mul (by positivity : 0≤Real.exp (4*θ))]; refine mul_le_mul_left' ?_ _; convert strip_cost h x i j 0 using 1; congr 2; ext1 y; simp [sep] |
| 32 | def colony (L : Side) : Site L × Cover ≃ Cover where |
| 33 | toFun p := lift p.1+L.val • p.2 |
| 34 | invFun z := (wrap L z,rent L z) |
| 35 | left_inv := fun p => by obtain ⟨a,b⟩ := @rent_raw L p.2 _ p.1 rfl; simp_rw [a,b] |
| 36 | right_inv := fun x => (rent_balance L x).symm |
| 37 | |
| 38 | lemma cross_row {S : Cross L α β} {σ θ C : ℝ} (hs:S.strip σ C) (hp:0≤θ) (ha:θ≤σ) : RowCost θ L (install S) (Real.exp (4*θ)*C) := by |
| 39 | intro u j |
| 40 | rw [← (Equiv.tsum_eq (Equiv.addRight (rent L u.1)) (fun y => bill (install S u (y,j)) (θ*delta L u.1 y)))] |
| 41 | convert strip_centre hs (wrap L u.1) u.2 j (fun y=>delta L u.1 (y+rent L u.1)) ?_ hp ha using 1 |
| 42 | · congr 2; ext1 y; change bill (S (wrap L u.1,u.2) j (_ - _)) _ = _; simp |
| 43 | intro y; apply (mixed_sep _ _).trans_eq; simp [sep] |
| 44 | lemma cross_col {S : Cross L α β} {σ θ C : ℝ} (hs:S.strip σ C) (hC:0≤C) (hp:0≤θ) (ha:θ≤σ) : ColCost θ L (install S) ((L.val:ℝ)^4*(Real.exp (4*θ)*C)) := by |
| 45 | intro i u |
| 46 | rw [← (colony L).tsum_eq _,ENNReal.tsum_prod (f:=fun z v=>bill (install S (colony L (z,v),i) u) (θ*delta L (colony L (z,v)) u.1))] |
| 47 | apply (ENNReal.tsum_le_tsum (g:=fun _ => ENNReal.ofReal (Real.exp (4*θ)*C)) ?_).trans_eq |
| 48 | · simp [site_card, nsmul_eq_mul, ENNReal.ofReal_mul (by positivity : 0≤(L.val:ℝ)^4)] |
| 49 | intro z |
| 50 | let e : Cover ≃ Cover := Equiv.trans (Equiv.neg _) (Equiv.addRight u.1) |
| 51 | rw [← e.tsum_eq _] |
| 52 | have he v : e v = u.1-v := by change -v+_= _; abel |
| 53 | have ht (v:Cover) := @rent_raw L (e v) _ z (show colony L (z,e v)=_ from rfl) |
| 54 | change ∑' v, bill ((install S) (_,_) _) _ ≤ _ |
| 55 | convert strip_centre hs z i u.2 (fun v=>delta L (colony L (z,e v)) u.1) ?_ hp ha using 1 |
| 56 | · congr 2; ext1 v |
| 57 | rw [install, (ht v).1,(ht v).2,he,sub_sub_cancel] |
| 58 | intro v; apply (mixed_sep _ _).trans_eq; rw [(ht _).2,he,sep,sub_sub_cancel] |
| 59 | lemma install_step (h:Odd L.val) (s:Axis) (T : Cross L α β) : foot s (install T)=install (forwardC L T s) := by |
| 60 | funext ⟨u,i⟩ ⟨v,j⟩ |
| 61 | have hh := Next.Free.cover_step h s ((wrap L) u) |
| 62 | have he : u+step s=lift (wrap L u+step s)+L.val • (rent L u+Next.Free.carryStep s (wrap L u)) := by rw [smul_add,add_comm (L.val • rent L u),← add_assoc,hh,add_right_comm,← rent_balance] |
| 63 | have ⟨hw,hk⟩ := Stationary.rent_raw _ _ _ he |
| 64 | dsimp only [foot,install,hw,hk,forwardC] |
| 65 | rw [hw,hk] |
| 66 | congr 2 |
| 67 | change v-(rent _ _+_) = v-rent _ _- Next.Free.carryStep _ _ |
| 68 | abel |
| 69 | |
| 70 | lemma cross_atlas {m:ℕ} {T : Cross L α β} {σ p:ℝ} (h: Odd L.val) (he:T.strip σ (p/(L.val:ℝ)^m)) (hk: ∀ s,(forwardC L T s).strip σ (p/(L.val:ℝ)^(m+1))) |
| 71 | {θ:ℝ} (hθ:θ≤σ) (hp : 0≤θ) (hg :0≤p) : Atlas θ L m (install T) (Real.exp (4*θ)*p) := |
| 72 | by |
| 73 | refine ⟨hp,by positivity,?_,?_,fun i=>?_⟩ |
| 74 | · rw [mul_div_assoc]; exact cross_row he hp hθ |
| 75 | · convert cross_col he (by positivity) hp hθ using 1 |
| 76 | ring |
| 77 | rw [mul_div_assoc,install_step h i T]; exact cross_row (hk i) hp hθ |
| 78 | end YM.Pert.Bulk |