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.TraceExtension.Perfect.Plot |
| 2 | |
| 3 | /-! # Unified forecast budget. pre-L on literacy rows. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Trace.Perfect |
| 7 | open Function Filter Matrix Lattice Precision Laurent Stationary Bloch Exterior Tree RG Wilson Finset |
| 8 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 9 | variable {c f:Side}{G:Gauge} |
| 10 | def palest (A: Matrix (Body 1 f) (Body 1 c) ℝ)(j:Lines G f 1)(i:Lines G c 1):= uniformM A (desk i) j |
| 11 | lemma pale_const (S:StepData c f)(j:Lines G f 1)(i:Lines G c 1): uniformM (Precision.mean S) (desk j) i=palest (mean S).transpose j i:=by |
| 12 | unfold palest; rcases i with ⟨a,i,m⟩; rcases j with ⟨b,j,k⟩ |
| 13 | rw [show uniformM (mean S) (desk (b,j,k)) (a,i,m)=_ from gate_f _ (a,i) m (b,j) k, show uniformM _ _ _ =_ from gate_f (mean S).transpose (b,j) k (a,i) m]; simp only [transpose_apply]; by_cases h:m=k <;> simp [*,eq_comm] |
| 14 | lemma palest_price (V:Matrix (Body 1 f) (Body 1 c) ℝ)(j:Lines G f 1)(Q:Site c→ℕ)(a b r): |
| 15 | sh (fun i:Lines G c 1=> Q i.1) a b r (palest V j)= sh (fun i:Body 1 c=> Q i.1) a b r (V (j.1,j.2.1)):=star_mesh V (j.1,j.2.1) j.2.2 Q _ _ _ |
| 16 | lemma palest_sub (V W:Matrix (Body 1 f) (Body 1 c) ℝ)(j:Lines G f 1): palest (V-W) j = palest V j-palest W j:=by |
| 17 | funext i; change ((V-W)*ᵥ parts G 1 (arm _ _ _ (desk i)) j.2.2) _=_; rw [Matrix.sub_mulVec]; rfl |
| 18 | lemma skin_total {A P Q:Matrix (Body 1 f) (Body 1 c) ℝ}(v: Site c →ℕ)(x:Site f)(a t L C) |
| 19 | (h:Settle (fun y:Body 1 c=> v y.1) (fun y:Body 1 f=> separation y.1 x) A P Q a t L C): Settle (fun y:Lines G c 1=>v y.1) (arrange x) (palest A) (palest P) (palest Q) a t L C:=by |
| 20 | refine ⟨fun j=>?_,fun j=> ?_,fun j=> ?_,fun j hj=> ?_⟩ |
| 21 | · rw [palest_price]; exact h.total (j.1,j.2.1) |
| 22 | · rw [palest_price]; exact h.p (j.1,j.2.1) |
| 23 | · rw [palest_price]; exact h.q (j.1,j.2.1) |
| 24 | rw [← palest_sub,← palest_sub,palest_price]; exact h.near (j.1,j.2.1) hj |
| 25 | section box |
| 26 | variable {I H J W:Type}[Fintype I][Fintype H][Fintype J][Fintype W] |
| 27 | {L C α:ℝ}{b:ℕ} |
| 28 | def doubling (A:I→H→ℝ)(B:J→W→ℝ) : I⊕J→H⊕W →ℝ:= Sum.elim (fun i=>Sum.elim (A i) 0) (fun j=>Sum.elim 0 (B j)) |
| 29 | lemma dock (A:H→ℝ)(B D t c r): sh (Sum.elim B D) t c r (Sum.elim A (0:W→ℝ))=sh B t c r A:=by simp [sh,Fintype.sum_sum_type] |
| 30 | lemma doug (A:H→ℝ)(B D t c r): sh (Sum.elim D B) t c r (Sum.elim (0:W→ℝ) A)=sh B t c r A:=by simp [sh,Fintype.sum_sum_type] |
| 31 | lemma doubling_pay {A P Q:I→H→ℝ}{B S R:J→W→ℝ}(e:H→ℕ)(g:W→ℕ)(u:I→ℕ)(v:J→ℕ)(hL:0<L) {C':ℝ} |
| 32 | (h:Settle e u A P Q α b L C)(hk:Settle g v B S R α b L C'): Settle (Sum.elim e g) (Sum.elim u v) (doubling A B) (doubling P S) (doubling Q R) α b L (max C C'):=by |
| 33 | refine ⟨?_,?_,?_,?_⟩ |
| 34 | · rintro (i|i) |
| 35 | · change _≤_*rush L (u i); rw [show doubling A B (Sum.inl i)=_ from rfl]; change sh _ _ _ _ (Sum.elim (A i) 0) ≤_; rw [dock]; exact (h.total i).trans (mul_le_mul_of_nonneg_right (le_max_left ..) (rush_nn hL _)) |
| 36 | change sh _ _ _ _ (Sum.elim 0 (B i)) ≤_;rw [doug]; exact (hk.total i).trans (mul_le_mul_of_nonneg_right (le_max_right ..) (rush_nn hL _)) |
| 37 | · rintro (i|i) |
| 38 | · change sh _ _ _ _ (Sum.elim (P i) 0) ≤ _; rw [dock]; exact (h.p _).trans (mul_le_mul_of_nonneg_right (le_max_left ..) (by positivity)) |
| 39 | change sh _ _ _ _ (Sum.elim 0 (S i)) ≤ _; rw [doug]; exact (hk.p _).trans (mul_le_mul_of_nonneg_right (le_max_right ..) (by positivity)) |
| 40 | · rintro (i|i) |
| 41 | · change sh _ _ _ _ (Sum.elim (Q i) 0) ≤ _; rw [dock]; exact (h.q _).trans (mul_le_mul_of_nonneg_right (le_max_left ..) (by positivity)) |
| 42 | change sh _ _ _ _ (Sum.elim 0 (R i)) ≤ _; rw [doug]; exact (hk.q _).trans (mul_le_mul_of_nonneg_right (le_max_right ..) (by positivity)) |
| 43 | rintro (i|i) hi |
| 44 | · rw [show doubling A B (.inl i)-doubling P S (.inl i)-doubling Q R (.inl i)=Sum.elim (A i-P i-Q i) 0 from funext fun j=>by cases j<;> simp [doubling],dock]; exact (h.near _ hi).trans (mul_le_mul_of_nonneg_right (le_max_left ..) (by positivity)) |
| 45 | rw [show doubling A B (.inr i)-doubling P S (.inr i)-doubling Q R (.inr i)=Sum.elim (0:H→ℝ) (B i-S i-R i) from funext fun j=>by cases j<;> simp [doubling],doug]; exact (hk.near _ hi).trans (mul_le_mul_of_nonneg_right (le_max_right ..) (by positivity)) |
| 46 | end box |
| 47 | |
| 48 | variable {g:StepData c f}{p : Clip} {M:PathData G} |
| 49 | variable {F: Forest g.ratio}{ρ : Bid.Dir G c→AxisChart G F} |
| 50 | variable (T:Matrix (Body 1 f) (Body 1 c) ℝ) |
| 51 | |
| 52 | def quilt (g:StepData c f)(T:Matrix (Body 1 f) (Body 1 c) ℝ): pairA G f→ pairA G c→ℝ:= doubling (palest T) (palest (Precision.mean g).transpose) |
| 53 | |
| 54 | lemma knit (Z: Link G c→ Stationary.Joint G c f)(i:g.Choices)(x:pairA G f)(y:pairA G c) |
| 55 | (h:g.patch.Branches g.kernel G)(he: Thaw Z 0)(hz:Z 0=1)(hp:Teller g i p M 1 (1:Stationary.Joint G c f))(hu:fderiv ℝ (fun x=> content (Z x).1) 0=uniformM T): |
| 56 | fderiv ℝ (stampA g i Z) 0 (desk y) x=quilt g T x y:=by |
| 57 | rw [dot_predict g M i h he hz hp,hu] |
| 58 | cases x with |
| 59 | | inl x=> cases y with |
| 60 | | inl y=> rw [show ∀ y:Lines G c 1, (bite G c (desk (.inl y))).1=desk y from ?_]; rfl |
| 61 | intro y; funext i; change desk (I:=pairA G c) (Sum.inl y) (Sum.inl i)= desk y i; simp [desk,Pi.single_apply] |
| 62 | | inr y=> rw [show (bite G c (desk (Sum.inr y))).1=0 from funext (fun i=> by change desk (Sum.inr y) (Sum.inl i)=(0:Link G c) i; simp [desk]),map_zero]; rfl |
| 63 | | inr x=> cases y with |
| 64 | | inl y=> simp [desk,quilt,doubling] |
| 65 | | inr y=> change ∑ i:Lines G c 1,_= palest _ x y; rw [sum_eq_single y]; rotate_left |
| 66 | · intro b _ h; rw [show desk (I:=pairA G c) (Sum.inr y) (.inr b)= 0 from (by simp [desk,Pi.single_apply,h]),mul_zero] |
| 67 | · simp |
| 68 | rw [show desk (I:=pairA G c) (.inr y) (.inr y)= 1 from Pi.single_eq_same ..,mul_one,pale_const] |
| 69 | end YM.Trace.Perfect |